A method for identifying folding of a digestive tract physiological data collection catheter
The automatic recognition of catheter folding during the collection of digestive tract physiological data through the deep learning network model solves the problem of difficult timely recognition of catheter folding, improves data collection efficiency, and reduces the reliance on manual recognition.
Patent Information
- Application Number
- CN202111325632.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-07-27
- Filing Date
- 2021-11-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-11-10
AI Technical Summary
In the existing process of collecting digestive tract physiological data, it is difficult to identify catheter folding in a timely manner, which affects data analysis and diagnosis. Relying on manual identification may lead to delayed identification and extend the data collection time.
A deep learning network model is used to automatically identify the folding status of the catheter in real time. Through data preparation, deep learning model training and catheter folding identification steps, the training set and verification set are used to determine whether the catheter is folded, and the preset value, standard deviation, and correlation are used to determine whether the catheter is folded. Coefficients and other indicators are used to judge.
It achieves timely recognition of catheter folding, reduces the burden on operators, saves data collection time, and improves data collection efficiency.
Smart Images

Figure CN113822376B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of medical devices, and in particular to a method for identifying the folding of a digestive tract physiological data acquisition catheter. Background Art
[0002] Digestive tract physiological data can effectively reflect changes in gastrointestinal physiology and pathology, and accurate diagnosis is based on the norms of data collection. Most digestive tract physiological data are collected by intubation, and the catheter may fold during the intubation process, affecting the collection results of physiological data and further affecting the subsequent data analysis and disease diagnosis. At present, in the process of collecting digestive tract physiological data, operators rely entirely on their personal data analysis experience to determine whether the catheter has folded. Operators are required to have strong data analysis capabilities, be able to detect catheter folding in a timely manner, and take some treatment measures in a timely manner.
[0003] Taking the collection of esophageal pressure data as an example, the most widely used method is high-resolution pressure measurement, which uses a catheter to collect the pressure from the pharynx to the stomach and converts it into intuitive cloud maps and curve graphs. Clinically, based on the collected pressure data and its converted graphs, some diagnostic systems are used to quantify and evaluate esophageal motility, thereby guiding clinical diagnosis and treatment. The inserted pressure measuring catheter may fold during the data collection process, affecting the data results. The operator needs to detect the folding of the catheter in time and perform some processing, such as pulling the catheter back, straightening it and adjusting the angle before trying to insert it again.
[0004] The current method that relies on operators to manually identify catheter folding often results in untimely identification, which will affect data analysis or prolong data collection time.
[0005] Therefore, those skilled in the art are committed to developing a method for identifying catheter folding for collecting digestive tract physiological data, which can automatically identify catheter folding in real time. Summary of the invention
[0006] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is to provide a method for identifying the folding of a digestive tract physiological data collection catheter, which can automatically identify the folding of the catheter in real time.
[0007] To achieve the above object, the present invention provides a method for identifying the folding of a digestive tract physiological data collection catheter, comprising the following steps:
[0008] 1) Data preparation: evaluate the folding state of T seconds of data, and divide the catheter folding state and the position data of the standard folding data frame into a training set and a validation set for offline training and offline validation of the deep learning network model;
[0009] 2) Deep learning model data processing: The data to be identified is brought into the offline trained and verified deep learning model to obtain the catheter folding probability state2 and the automatic folding data frame position;
[0010] 3) Catheter folding identification: Determine whether the catheter is folded based on the catheter folding probability state2 and the position of the automatic folding data frame.
[0011] Preferably, the step 1) specifically comprises the following steps:
[0012] 11) Determine the data analysis length T seconds, and the T second length can ensure at least one complete peristaltic swallowing;
[0013] 12) intercepting the collected data according to the data analysis length T seconds, and evaluating the catheter folding state state1 for the intercepted length of T seconds, if the catheter is evaluated as a folded state, state1 is recorded as 1, and if the catheter is evaluated as an unfolded state, state1 is recorded as 0;
[0014] 13) Record the position coordinates of the data frame where the folding occurs, that is, the position coordinates of the standard folding data frame, and divide the marked catheter folding state and the position data of the standard folding data frame into a training set and a validation set.
[0015] Preferably, the step 2) specifically comprises the following steps:
[0016] 21) Selecting a deep learning network model, using the training set and the validation set obtained in step 1) to perform offline training and offline validation on the deep learning network model, respectively, to obtain deep learning model parameters;
[0017] 22) The data of length T seconds is brought into the deep learning model that has been trained and verified offline in step 21) to obtain the catheter folding probability state2 and the automatic folding data frame position.
[0018] Preferably, the step 3) specifically comprises the following steps:
[0019] 31) Determine whether the catheter folding probability state2 is greater than the first folding preset value state0, if so, the catheter is folded and the catheter folding identification of the T-second data is exited, if not, enter step 32);
[0020] The value range of the first folding preset value state0 is 0.9≤state0≤1;
[0021] 32) Determine whether the catheter folding probability state2 is less than the second folding preset value state3 or whether the longitudinal length of the automatic folding data frame is less than the length preset value. If so, exit the T-second data catheter folding recognition without any prompt or mark. If not, enter step 33);
[0022] The value range of the second folding preset value state3 is state3≤0.5;
[0023] The preset length value is greater than or equal to 5 channel length values;
[0024] 33) Determine whether folding occurs based on the data in the automatic folding data frame.
[0025] Preferably, the step 33) specifically includes the following steps:
[0026] 33a) Normalize the values of each channel in the automatic folding data frame respectively, calculate the standard deviation Si of each channel value, where i is the data channel, take the middle channel of the automatic folding data frame as the symmetrical position, and calculate the relative value Smn of the standard deviation between the channels with the same length on both sides of the symmetrical position by the following formula:
[0027] Smn = (Sm-Sn) / Sn;
[0028] Where m is the channel above the symmetrical position, Sm is the numerical standard deviation of channel m, n is the channel below the symmetrical position, Sn is the numerical standard deviation of channel n; determine whether the absolute values of the relative values of the standard deviations Smn are all less than the first preset value S0, if so, proceed to step 33b), if not, exit the T-second data catheter folding identification without any prompt or mark;
[0029] Wherein, the first preset value S0 is the mean value of the relative standard deviation values Smn of at least 30 folded catheters;
[0030] 33b) Normalize the values of each channel in the automatic folding data frame respectively, take the preset step value step0 as the step length, calculate the value histogram distribution Fij on each channel, where i is the data channel, j is the histogram division interval, take the middle channel of the automatic folding data frame as the symmetric position, calculate the correlation coefficient F_Rk between the channel histogram distributions with the same length on both sides of the symmetric position, where k=1, 2, ..., n / 2, an integer; n is the number of data channels in the automatic folding data frame, if the correlation coefficient F_Rk is greater than the preset correlation coefficient F_R0, then enter step 233c), otherwise no prompt or mark is made and the T-second data catheter folding recognition is exited;
[0031] Wherein, the preset value of the correlation coefficient F_R0 is greater than or equal to 0.9;
[0032] The preset step size value step0 is determined according to the interval divided by the histogram, and its value is 1 / j.
[0033] 33c) Calculate the position of the maximum or minimum value of each channel respectively, take the middle channel of the automatic folding data frame as the symmetrical position, use straight lines to fit the maximum or minimum position values on both sides of the symmetrical position respectively, obtain the slopes of the fitting lines on both sides of the symmetrical position, i.e., the first fitting line slope Slope1 and the first fitting line slope Slope2, calculate the slope relative value Slope by the following formula, Slope = (Slope1-Slope2) / Slope2, and judge whether the absolute value of the slope relative value Slope is less than the slope preset value Slope0 and Slope1 and Slope2 have different signs. If so, the catheter is folded, and the catheter folding recognition of this T-second data is exited. Otherwise, no prompt or mark is given and the catheter folding recognition of this T-second data is exited;
[0034] The preset slope value Slope0 is an average of slope values of at least 30 folded catheters.
[0035] Preferably, the method further comprises the steps of:
[0036] 4) Using the model to identify catheter folding
[0037] Sequentially, at intervals of ΔT seconds, intercept T seconds of data length and proceed to step 2);
[0038] Where △T>10.
[0039] Preferably, after identifying that the catheter is folded, the method further includes marking a data frame position where the fold occurs, and the data frame is the data frame automatically folded at that position.
[0040] Preferably, after recognizing that the catheter is folded, the method further includes providing a folding prompt by voice, text or graphics.
[0041] Preferably, the time length of T seconds is at least a length that ensures that human eyes can recognize whether the catheter is folded.
[0042] Preferably, the normalization in step 33) refers to unifying the data of each channel to between 0 and 1. The normalization method is to subtract the minimum value from all the data and then divide them by the difference between the maximum value and the minimum value to obtain the normalized value.
[0043] The beneficial effects of the present invention are as follows: the present invention improves the current technical status that catheter folding can only be identified manually, can identify catheter folding in time, reduces the burden of operators reading data and saves data collection time. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1It is a schematic diagram of folding an esophageal manometry catheter for data preparation application according to a specific embodiment of the present invention.
[0045] Figure 2 It is a schematic diagram of a specific implementation method of the present invention. DETAILED DESCRIPTION
[0046] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0047] A method for identifying folding of a digestive tract physiological data collection catheter comprises the following steps:
[0048] 1) Data preparation: evaluate the folding state of data of T seconds in length, and divide the catheter folding state and the position data of the standard folding data frame into a training set and a validation set for offline training and offline validation of the deep learning network model.
[0049] Step 1) specifically includes the following steps:
[0050] 11) Determine the data analysis length T seconds, and the T second duration should be sufficient to ensure at least one complete peristaltic swallowing and at least sufficient for the human eye to identify whether the catheter is folded. T seconds is generally required to be greater than or equal to 20 seconds.
[0051] 12) The collected data is intercepted according to the data analysis length T seconds, and the catheter folding state state1 is evaluated for the intercepted length of T seconds. If it is evaluated as a folded state, state1 is recorded as 1, and if it is evaluated as an unfolded state, state1 is recorded as 0; this step is data preparation and manual evaluation is used.
[0052] 13) Record the data frame position coordinates where folding can be determined, that is, the position coordinates of the standard folding data frame, and divide the marked catheter folding state and the position data of the standard folding data frame into a training set and a validation set.
[0053] like Figure 1 As shown in FIG. 4 , a schematic diagram of the folding of a high-resolution esophageal manometry catheter is shown. From the data in the black frame shown in frame 4 in the figure (the upper left corner coordinates are (x1, y1), and the lower right corner coordinates are (x2, y2)), it can be clearly seen that the catheter is folded near the LES. Frame 4 is a standard folding data frame.
[0054] 2) Deep learning model data processing: The data to be identified is brought into the deep learning model that has been trained and verified offline to obtain the catheter folding probability state2 and the automatic folding data frame position.
[0055] like Figure 2 As shown, step 2) specifically includes the following steps:
[0056] 21) Selecting a deep learning network model, using the training set and the validation set obtained in step 1) to perform offline training and offline validation on the deep learning network model, respectively, to obtain deep learning model parameters;
[0057] 22) The data of length T seconds is brought into the deep learning model that has been trained and verified offline in step 21) to obtain the catheter folding probability state2 and the automatic folding data frame position.
[0058] 3) Catheter folding identification: Determine whether the catheter is folded based on the catheter folding probability state2 and the position of the automatic folding data frame.
[0059] Step 3) specifically includes the following steps:
[0060] 31) Determine whether the catheter folding probability state2 is greater than the first folding preset value state0, if so, the catheter is folded and the catheter folding identification of the T-second data is exited, if not, enter step 32);
[0061] The value range of the first folding preset value state0 is 0.9≤state0≤1;
[0062] 32) Determine whether the catheter folding probability state2 is less than the second folding preset value state3 or whether the longitudinal length of the automatic folding data frame is less than the length preset value. If so, exit the T-second data catheter folding recognition without any prompt or mark. If not, enter step 33);
[0063] The value range of the second folding preset value state3 is state3≤0.5;
[0064] The preset length value is greater than or equal to 5 channel length values;
[0065] 33) Determine whether folding occurs based on the data in the automatic folding data frame.
[0066] Step 33) specifically comprises the following steps:
[0067] 33a) Normalize the values of each channel in the automatic folding data frame respectively, calculate the standard deviation Si of each channel value, where i is the data channel, take the middle channel of the automatic folding data frame as the symmetrical position, and calculate the relative value Smn of the standard deviation between the channels with the same length on both sides of the symmetrical position by the following formula:
[0068] Smn = (Sm-Sn) / Sn;
[0069] Where m is the channel above the symmetrical position, Sm is the numerical standard deviation of channel m, n is the channel below the symmetrical position, Sn is the numerical standard deviation of channel n; determine whether the absolute values of the relative values of the standard deviations Smn are all less than the first preset value S0, if so, proceed to step 33b), if not, exit the T-second data catheter folding identification without any prompt or mark;
[0070] Wherein, the first preset value S0 is the mean value of the relative standard deviation values Smn of at least 30 folded catheters;
[0071] 33b) Normalize the values of each channel in the automatic folding data frame respectively, take the preset step value step0 as the step length, calculate the value histogram distribution Fij on each channel, where i is the data channel, j is the histogram division interval, take the middle channel of the automatic folding data frame as the symmetric position, calculate the correlation coefficient F_Rk between the channel histogram distributions with the same length on both sides of the symmetric position, where k=1, 2, ..., n / 2, an integer; n is the number of data channels in the automatic folding data frame, if the correlation coefficient F_Rk is greater than the preset correlation coefficient F_R0, then enter step 233c), otherwise no prompt or mark is made and the T-second data catheter folding recognition is exited;
[0072] Wherein, the preset value of the correlation coefficient F_R0 is greater than or equal to 0.9;
[0073] The preset step size value step0 is determined according to the interval divided by the histogram, and its value is 1 / j.
[0074] 33c) Calculate the position of the maximum or minimum value of each channel respectively, take the middle channel of the automatically folded data frame as the symmetrical position, use straight lines to fit the maximum or minimum position values on both sides of the symmetrical position respectively, and obtain the slopes of the fitting lines on both sides of the symmetrical position, namely the first fitting line slope Slope1 and the first fitting line slope Slope2, and calculate the relative slope value Slope by the following formula:
[0075] Slope=(Slope1-Slope2) / Slope2, determine whether the absolute value of the slope relative value Slope is less than the slope preset value Slope0 and Slope1 and Slope2 have different signs. If so, the catheter is folded and the catheter folding recognition of the T-second data is exited. If not, no prompt or mark is given and the catheter folding recognition of the T-second data is exited.
[0076] The preset slope value Slope0 is an average of slope values of at least 30 folded catheters.
[0077] Normalization in this step refers to unifying the data of each channel to between 0 and 1. In this embodiment, the normalization method is to subtract the minimum value from all the data and then divide them by the difference between the maximum value and the minimum value to obtain the normalized value.
[0078] 4) Using the model to identify catheter folding
[0079] At intervals of ΔT seconds, the data length of T seconds is intercepted and the process goes to step 2), i.e., identification is performed on whether the data is folded within the next T seconds.
[0080] Where △T>10.
[0081] In this embodiment, after recognizing that the catheter is folded, voice, text or graphics can be used to provide a folding prompt, and the data box position where the folding occurs is marked, and the data box is the data box that automatically folds at that location. The above describes in detail the preferred specific embodiments of the present invention. It should be understood that ordinary technicians in this field can make many modifications and changes based on the concept of the present invention without creative work. Therefore, all technical solutions that can be obtained by technicians in this technical field based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for identifying folding of a digestive tract physiological data collection catheter, characterized in that: The following steps are involved: 1) Data preparation: evaluate the folding state of T seconds of data, and divide the catheter folding state and the position data of the standard folding data frame into a training set and a validation set for offline training and offline validation of the deep learning network model; 2) Deep learning model data processing: The data to be identified is brought into the offline trained and verified deep learning model to obtain the catheter folding probability state2 and the automatic folding data frame position; 3) Catheter folding identification: Determine whether the catheter is folded according to the catheter folding probability state2 and the position of the automatic folding data frame; The step 3) includes: 33) judging whether folding occurs according to the data in the automatic folding data frame; the step 33) includes: 33a) Normalize the values of each channel in the automatic folding data frame respectively, calculate the standard deviation Si of each channel value, where i is the data channel, take the middle channel of the automatic folding data frame as the symmetrical position, and calculate the relative value Smn of the standard deviation between the channels with the same length on both sides of the symmetrical position by the following formula: Smn = (Sm-Sn) / Sn; Where m is the channel above the symmetrical position, Sm is the numerical standard deviation of channel m, n is the channel below the symmetrical position, Sn is the numerical standard deviation of channel n; determine whether the absolute values of the relative values of the standard deviations Smn are all less than the first preset value S0, if so, proceed to step 33b), if not, exit the T-second data catheter folding identification without any prompt or mark; Wherein, the first preset value S0 is the mean value of the relative standard deviation values Smn of at least 30 folded catheters; 33b) Normalize the values of each channel in the automatic folding data frame respectively, take the preset step value step0 as the step length, calculate the value histogram distribution Fij on each channel, where i is the data channel, j is the histogram division interval, take the middle channel of the automatic folding data frame as the symmetric position, calculate the correlation coefficient F_Rk between the channel histogram distributions with the same length on both sides of the symmetric position, where k=1, 2, ..., n / 2, an integer; n is the number of data channels in the automatic folding data frame, if the correlation coefficient F_Rk is greater than the preset correlation coefficient F_R0, then enter step 33c), otherwise no prompt or mark is given and the T-second data catheter folding recognition is exited; Wherein, the preset value of the correlation coefficient F_R0 is greater than or equal to 0.9; The step size preset value step0 is determined according to the interval divided by the histogram, and the value is 1 / j; 33c) Calculate the position of the maximum or minimum value of each channel respectively, take the middle channel of the automatic folding data frame as the symmetrical position, use straight lines to fit the maximum or minimum position values on both sides of the symmetrical position respectively, obtain the slopes of the fitting lines on both sides of the symmetrical position, i.e., the first fitting line slope Slope1 and the second fitting line slope Slope2, calculate the slope relative value Slope by the following formula, Slope = (Slope1-Slope2) / Slope2, and judge whether the absolute value of the slope relative value Slope is less than the slope preset value Slope0 and Slope1 and Slope2 have different signs. If so, the catheter is folded and the T-second data catheter folding recognition is exited. Otherwise, no prompt or mark is given and the T-second data catheter folding recognition is exited; The preset slope value Slope0 is an average of slope values of at least 30 folded catheters.
2. The digestive tract physiological data collection catheter folding identification method according to claim 1, characterized in that: The step 1) specifically comprises the following steps: 11) Determine the data analysis length T seconds, and the T second length can ensure at least one complete peristaltic swallowing; 12) intercepting the collected data according to the data analysis length T seconds, and evaluating the catheter folding state state1 for the intercepted length of T seconds, if the catheter is evaluated as a folded state, state1 is recorded as 1, and if the catheter is evaluated as an unfolded state, state1 is recorded as 0; 13) Record the position coordinates of the data frame that can determine the occurrence of folding, that is, the position coordinates of the standard folding data frame, and divide the marked catheter folding state and the position data of the standard folding data frame into a training set and a validation set.
3. The digestive tract physiological data acquisition catheter folding identification method according to claim 1, characterized in that: The step 2) specifically comprises the following steps: 21) Selecting a deep learning network model, using the training set and the validation set obtained in step 1) to perform offline training and offline validation on the deep learning network model, respectively, to obtain deep learning model parameters; 22) The data of length T seconds is brought into the deep learning model that has been trained and verified offline in step 21) to obtain the catheter folding probability state2 and the automatic folding data frame position.
4. The digestive tract physiological data acquisition catheter folding identification method according to claim 1, characterized in that: The step 3) specifically comprises the following steps: 31) Determine whether the catheter folding probability state2 is greater than the first folding preset value state0, if so, the catheter is folded and the catheter folding identification is exited, if not, enter step 32); The value range of the first folding preset value state0 is 0.9≤state0≤1; 32) Determine whether the catheter folding probability state2 is less than the second folding preset value state3 or whether the longitudinal length of the automatic folding data frame is less than the length preset value. If so, exit the T-second data catheter folding recognition without any prompt or mark. If not, enter step 33); The value range of the second folding preset value state3 is state3≤0.5; The preset length value is greater than or equal to 5 channel length values.
5. The digestive tract physiological data collection catheter folding identification method according to claim 1, characterized in that: Also includes the steps, 4) Using the model to identify catheter folding Sequentially, at intervals of ΔT seconds, intercept T seconds of data length and proceed to step 2); Where △T>10.
6. The digestive tract physiological data collection catheter folding identification method according to any one of claims 1 to 5, characterized in that: After recognizing that the catheter is folded, the method further includes the step of marking the location of a data frame where the fold occurs, and the data frame is the automatic folding data frame.
7. The digestive tract physiological data collection catheter folding identification method according to any one of claims 1 to 5, characterized in that: After recognizing that the catheter is folded, the method further includes providing a folding prompt by voice, text or graphics.
8. The digestive tract physiological data acquisition catheter folding identification method according to claim 1, characterized in that: In step 1), the time length of T seconds is at least a length that ensures that the human eye can identify whether the catheter is folded.
9. The digestive tract physiological data collection catheter folding identification method according to claim 1, characterized in that: The normalization in step 33) refers to unifying the data of each channel to between 0 and 1. The normalization method is to subtract the minimum value from all the data and then divide it by the difference between the maximum value and the minimum value to obtain the normalized value.
