Gastroesophageal junction contraction integral acquisition method, device, equipment and medium
By automatically determining the boundary of the gastroesophageal junction and forming the contraction product calculation region, the problem of low efficiency in traditional methods is solved, and the contraction integral of the gastroesophageal junction is obtained efficiently.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING JINSHAN SCI & TECH GRP
- Filing Date
- 2024-02-18
- Publication Date
- 2026-07-14
AI Technical Summary
The traditional process of obtaining the contraction integral at the gastroesophageal junction is complex and time-consuming, resulting in low efficiency.
The upper, lower, left, and right boundaries of the gastroesophageal junction are automatically determined to form a contraction product calculation area, and the contraction integral is obtained based on the pressure cloud map.
It enables automated calculation of the contraction integral at the gastroesophageal junction, improving efficiency and ease of acquisition and reducing the need for manual analysis.
Smart Images

Figure CN117934446B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, equipment, and medium for obtaining the contraction integral at the gastroesophageal junction. Background Technology
[0002] The gastroesophageal junction-contractile integral (EGJ-CI) is an indicator for assessing EGJ barrier function. It is used to predict abnormal acid exposure and acid reflux in the distal esophagus and can identify GERD (gastroesophageal reflux disease) patients among those with heartburn. Calculating the EGJ-CI requires determining the calculation region. Traditionally, obtaining the EGJ-CI involves manual calculation and analysis to determine this region, which is complex and time-consuming, making it difficult and inefficient.
[0003] In summary, improving the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction is a problem that needs to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide a method, apparatus, device, and medium for obtaining the contraction integral at the gastroesophageal junction, thereby improving the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction. The specific solution is as follows:
[0005] In a first aspect, this application discloses a method for obtaining the contraction integral at the gastroesophageal junction, comprising:
[0006] The target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter are respectively defined as the left boundary and the upper boundary of the target.
[0007] Obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, and determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm;
[0008] Determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times; determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures; and determine the right boundary of the target based on the respiratory cycle and the left boundary of the target.
[0009] The region formed by the left boundary, the upper boundary, the lower boundary, and the right boundary of the target is defined as the region for calculating the contraction volume at the gastroesophageal junction.
[0010] The contraction integral at the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map is obtained based on the contraction volume calculation region at the gastroesophageal junction.
[0011] Optionally, before determining the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and target upper boundary, respectively, the method further includes:
[0012] Obtain a gastroesophageal pressure cloud map; wherein the gastroesophageal pressure cloud map includes the upper esophageal sphincter, lower esophageal sphincter, diaphragm, stomach, and esophageal body.
[0013] Optionally, determining the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and target upper boundary, respectively, includes:
[0014] Receive the target location of the esophageal manometry resting frame sent by the user;
[0015] The target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter are respectively defined as the left boundary and the upper boundary of the target.
[0016] Optionally, determining the respiratory cycle based on the first pressure and the second pressure, and determining the target right boundary based on the respiratory cycle and the target left boundary, includes:
[0017] The first pressure and the second pressure are normalized to obtain the first normalized pressure and the second normalized pressure.
[0018] Each time interval is determined by increasing the step size based on a preset time interval, and the average correlation coefficient between the first normalized pressure and the second normalized pressure corresponding to each of the time intervals is determined.
[0019] The minimum target correlation coefficient mean is determined from all the mean correlation coefficients, and the target time interval corresponding to the mean target correlation coefficient is determined as the respiratory cycle;
[0020] The left boundary of the target is determined as the starting time, and the time corresponding to the starting time after a preset number of breathing cycles is determined as the right boundary of the target.
[0021] Optionally, determining the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm includes:
[0022] The sum of the diaphragm and the preset offset is determined as the first target position, the lower edge of the lower esophageal sphincter is determined as the second target position, and the pressure value of each fourth channel between the first target position and the second target position is determined. Then it is determined whether the distance between the second target position and the diaphragm is less than the preset distance.
[0023] If the distance between the second target position and the diaphragm is less than the preset distance, then the target position with the largest position is determined from the first target position and the second target position, and the target position with the largest position is determined as the lower boundary of the target;
[0024] If the distance between the second target position and the diaphragm is not less than the preset distance, then it is determined whether there is a target pressure value lower than the intragastric pressure among all the pressure values of the fourth channel. If the target pressure value exists, then the second target position is determined as the target lower boundary. If the target pressure value does not exist, then the first target position is determined as the target lower boundary.
[0025] Optionally, obtaining the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure contour map based on the contraction volume calculation region at the gastroesophageal junction includes:
[0026] The pressure values of each fifth channel in the gastroesophageal junction contraction volume calculation area are updated to obtain the first updated pressure value;
[0027] The first updated pressure value is interpolated based on the preset anatomical length accuracy to obtain the pressure value of each discrete point in the gastroesophageal junction contraction volume calculation area.
[0028] The pressure values of the discrete points that are less than 0 are determined as the first discrete point pressure values, and the pressure values of the discrete points that are not less than 0 are determined as the second discrete point pressure values. The first discrete point pressure values are updated to 0 to obtain the second updated pressure values. The target pressure values of each discrete point are obtained based on the second discrete point pressure values and the second updated pressure values.
[0029] The sum of the target pressure values at each discrete point is multiplied by the area of the region represented by a single discrete point, and the quotient between the product and the calculation frame duration is determined as the contraction integral at the gastroesophageal junction; wherein, the calculation frame duration is the time interval between the right boundary and the left boundary of the target.
[0030] Optionally, updating the pressure values of each fifth channel in the gastroesophageal junction contraction volume calculation area to obtain a first updated pressure value includes:
[0031] The pressure value of each fifth channel in the gastroesophageal junction contraction volume calculation area is calculated as the difference between the pressure value of each fifth channel and the intragastric pressure, and the difference is determined as the first updated pressure value.
[0032] Secondly, this application discloses a device for obtaining the contraction integral at the gastroesophageal junction, comprising:
[0033] The first boundary determination module is used to determine the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the left boundary and the upper boundary of the target, respectively.
[0034] The second boundary determination module is used to obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm.
[0035] The third boundary determination module is used to determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times, determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures, and determine the target right boundary based on the respiratory cycle and the target left boundary.
[0036] The calculation region determination module is used to determine the region composed of the left boundary of the target, the upper boundary of the target, the lower boundary of the target, and the right boundary of the target as the calculation region of the contraction volume at the gastroesophageal junction;
[0037] The contraction integral acquisition module is used to acquire the contraction integral of the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the contraction integral calculation region of the gastroesophageal junction.
[0038] Thirdly, this application discloses an electronic device, including:
[0039] Memory, used to store computer programs;
[0040] A processor is configured to execute the computer program to implement the steps of the aforementioned method for obtaining the contraction integral at the gastroesophageal junction.
[0041] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned method for obtaining the contraction integral at the gastroesophageal junction.
[0042] The beneficial effects of this application are as follows: This application determines the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and the target upper boundary, respectively; obtains the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, and determines the position corresponding to the largest pressure amplitude value as the diaphragm, and determines the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm; determines the first pressure sum of each second channel above the diaphragm at different times and the second pressure sum of each third channel below the diaphragm at different times, determines the respiratory cycle based on the first pressure sum and the second pressure sum, and determines the target right boundary based on the respiratory cycle and the target left boundary; determines the area composed of the target left boundary, the target upper boundary, the target lower boundary, and the target right boundary as the gastroesophageal junction contraction product calculation area; and obtains the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure cloud map based on the gastroesophageal junction contraction product calculation area. Therefore, this application automatically determines the upper boundary, lower boundary, left boundary, and right boundary of the target, thereby obtaining the calculation area of the contraction volume at the gastroesophageal junction bounded by the upper boundary, lower boundary, left boundary, and right boundary of the target. In other words, it realizes the automatic determination of the calculation area of the contraction volume at the gastroesophageal junction, and obtains the contraction integral at the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the calculation area of the contraction volume at the gastroesophageal junction, without the need for manual data analysis. In this way, the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction are improved. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0044] Figure 1 This is a flowchart of a method for obtaining the contraction integral at the gastroesophageal junction disclosed in this application;
[0045] Figure 2 This is a schematic diagram of a specific gastroesophageal junction contraction volume calculation region disclosed in this application;
[0046] Figure 3 This is a schematic diagram of a device for obtaining the contraction integral at the gastroesophageal junction disclosed in this application.
[0047] Figure 4 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0048] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0049] The gastroesophageal junction contraction integral (GEJ) is an indicator for assessing EGJ barrier function, used to predict abnormal acid exposure and acid reflux in the distal esophagus, and can distinguish GERD patients from those with heartburn. Calculating the GEJ requires determining the calculation region. Traditionally, obtaining the GEJ involves manual calculation and analysis to determine this region, which is complex and time-consuming, making it difficult and inefficient.
[0050] Therefore, this application provides a corresponding scheme for obtaining the contraction integral at the gastroesophageal junction, which improves the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction.
[0051] See Figure 1 As shown in the figure, this application discloses a method for obtaining the contraction integral at the gastroesophageal junction, including:
[0052] Step S11: Determine the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the left boundary and the upper boundary of the target, respectively.
[0053] In this embodiment, before determining the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and target upper boundary, respectively, the method further includes: acquiring the gastroesophageal pressure cloud map; wherein the gastroesophageal pressure cloud map includes the upper esophageal sphincter, lower esophageal sphincter, diaphragm, stomach, and esophageal body. The gastroesophageal pressure cloud map is acquired with time on the horizontal axis and various locations on the vertical axis, increasing in size from top to bottom. These locations include the upper esophageal sphincter (UES), lower esophageal sphincter (LES), diaphragm, stomach, and esophageal body. The diaphragm and lower esophageal sphincter may overlap; therefore, this embodiment requires determining the diaphragm location in the gastroesophageal pressure cloud map.
[0054] In this embodiment, determining the target position of the esophageal manometry resting frame and the upper edge of the lower esophageal sphincter in the gastroesophageal pressure cloud map as the target left boundary and target upper boundary, respectively, includes: receiving the target position of the esophageal manometry resting frame sent by the user; and determining the target position of the esophageal manometry resting frame and the upper edge of the lower esophageal sphincter in the gastroesophageal pressure cloud map as the target left boundary and target upper boundary, respectively. The user can determine any position in the esophageal manometry resting frame as the target position, that is, it can be fixed as any position in the high-resolution esophageal manometry resting frame. The user specifies the target left boundary, and the upper edge of the lower esophageal sphincter in the gastroesophageal pressure cloud map is determined as the target upper boundary.
[0055] Step S12: Obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm.
[0056] In this embodiment, determining the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm includes: determining the sum of the diaphragm and a preset offset as a first target position, determining the lower edge of the lower esophageal sphincter as a second target position, and determining the pressure values of each fourth channel between the first target position and the second target position. Then, it is determined whether the distance between the second target position and the diaphragm is less than a preset distance. If the distance between the second target position and the diaphragm is less than the preset distance, the target position with the largest position is determined from the first target position and the second target position, and the target position with the largest position is determined as the target lower boundary. If the distance between the second target position and the diaphragm is not less than the preset distance, it is determined whether there is a target pressure value lower than the intragastric pressure among all the pressure values of the fourth channels. If the target pressure value exists, the second target position is determined as the target lower boundary; if the target pressure value does not exist, the first target position is determined as the target lower boundary. The specific process for determining the target lower boundary is as follows:
[0057] 1) The sum of the diaphragm and the preset offset can be used to determine the first target position, and the lower edge of the lower esophageal sphincter can be used to determine the second target position. The preset offset is generally set to one channel.
[0058] 2) Determine the pressure values of each fourth channel between the first target position and the second target position at each time point;
[0059] 3) Determine whether the distance between the second target location and the diaphragm is less than the preset distance, that is, determine whether the distance between the diaphragm and the lower edge of the lower esophageal sphincter is less than the preset distance, which can be 2 cm;
[0060] 4.1) If the distance between the second target position and the diaphragm is less than a preset distance, then compare the first position with the second position. If the first position is greater than or equal to the second position, then the first position is determined as the lower boundary of the target; otherwise, the second position is determined as the lower boundary of the target.
[0061] 4.2) If the distance between the second target position and the diaphragm is not less than the preset distance, then determine whether there is a target pressure value lower than the intragastric pressure among all the pressure values of the fourth channel. If there is a target pressure value, then the second target position is determined as the target lower boundary. If there is no target pressure value, then the first target position is determined as the target lower boundary.
[0062] It is important to note that intragastric pressure also needs to be determined. Because the diaphragm and the lower esophageal sphincter intersect, the location with the lowest average pressure across all channels below the diaphragm and the second target location is identified as the intragastric pressure channel. The pressure in this channel is the intragastric pressure. In other words, the target location with the largest vertical coordinate is selected from the diaphragm and the second target location. For example, if the diaphragm has the largest vertical coordinate, then the location with the lowest average pressure across all channels below the diaphragm is identified as the intragastric pressure channel. Similarly, if the second target location has the largest vertical coordinate, then the location with the lowest average pressure across all channels below the second target location is identified as the intragastric pressure channel.
[0063] Step S13: Determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times. Determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures, and determine the right boundary of the target based on the respiratory cycle and the left boundary of the target.
[0064] In this embodiment, determining the respiratory cycle based on the first pressure sum and the second pressure sum, and determining the target right boundary based on the respiratory cycle and the target left boundary, includes: normalizing the first pressure sum and the second pressure sum to obtain a first normalized pressure sum and a second normalized pressure sum; determining each time interval by increasing the step size based on a preset time interval, and determining the average correlation coefficient between the first normalized pressure sum and the second normalized pressure sum corresponding to each of the time intervals; determining the minimum target correlation coefficient average from the average correlation coefficients, and determining the target time interval corresponding to the target correlation coefficient average as the respiratory cycle; determining the target left boundary as the starting time, and determining the time corresponding to the starting time after a preset number of respiratory cycles as the target right boundary. The specific process for determining the target right boundary is as follows:
[0065] 1) The first pressure and channel_sum1 of each second channel above the diaphragm at different times, and the second pressure and channel_sum2 of each third channel below the diaphragm at different times;
[0066] 2) Normalize the first pressure and the second pressure to obtain the first normalized pressure and the second normalized pressure.
[0067] 3) Determine each time interval by increasing the step size ΔT based on the preset time interval, and determine the average correlation coefficient between the first normalized pressure and the second normalized pressure corresponding to each time interval; for example, if the preset time interval increases by 1 second, then the corresponding time intervals are 1 second, 2 seconds, 3 seconds, 4 seconds, and 5 seconds. If the starting time is 0 seconds, then the corresponding times are the 1st second, 3rd second, 6th second, 10th second, and 15th second. Determine the average correlation coefficient between the first normalized pressure and the second normalized pressure corresponding to each time interval, that is, determine the average correlation coefficient between the first normalized pressure and the second normalized pressure corresponding to each time interval;
[0068] 4) Determine the minimum target correlation coefficient from the mean values of all correlation coefficients, and define the target time interval corresponding to the mean target correlation coefficient as the respiratory cycle; for example, if the target time interval corresponding to the minimum target correlation coefficient is 5 seconds, then the respiratory cycle is 5 seconds.
[0069] 5) Determine the left boundary of the target as the starting time, and determine the time corresponding to the starting time after a preset number of breathing cycles as the right boundary of the target; for example, if the time corresponding to the left boundary of the target is the 0th second, the breathing cycle is 5 seconds, and the preset number is 3, then the 15th second is the right boundary of the target.
[0070] Step S14: The region formed by the left boundary of the target, the upper boundary of the target, the lower boundary of the target, and the right boundary of the target is determined as the calculation region of the contraction volume at the gastroesophageal junction.
[0071] For example Figure 2 The diagram shows a specific calculation area for the contraction volume at the gastroesophageal junction. The small rectangular box in the gastroesophageal pressure cloud map is the calculation area for the contraction volume at the gastroesophageal junction, which is composed of the left boundary, the upper boundary, the lower boundary, and the right boundary of the target.
[0072] Step S15: Obtain the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure cloud map based on the contraction volume calculation region of the gastroesophageal junction.
[0073] In this embodiment, obtaining the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure cloud map based on the contraction volume calculation region of the gastroesophageal junction includes: updating the pressure values of each fifth channel in the contraction volume calculation region of the gastroesophageal junction to obtain a first updated pressure value; interpolating the first updated pressure value based on a preset anatomical length precision to obtain the pressure value of each discrete point in the contraction volume calculation region of the gastroesophageal junction; determining the pressure values of the discrete points less than 0 as the first discrete point pressure value, determining the pressure values of the discrete points not less than 0 as the second discrete point pressure value, updating the first discrete point pressure value to 0 to obtain a second updated pressure value; obtaining the target pressure value of each discrete point based on the second discrete point pressure value and the second updated pressure value; obtaining the product of the sum of the target pressure values of each discrete point and the area of the region represented by a single discrete point, and determining the quotient between the product and the calculation frame duration as the contraction integral of the gastroesophageal junction; wherein, the calculation frame duration is the time interval between the right boundary and the left boundary of the target.
[0074] It is important to note that the pressure values of each fifth channel in the gastroesophageal junction contraction volume calculation area are updated twice. After the first update, bilinear interpolation is performed on the pressure values after the first update based on the preset anatomical length accuracy to obtain the pressure values of each discrete point pointij in the gastroesophageal junction contraction volume calculation area, where i represents the channel number, including the interpolation channel, j = 0, 1, ..., n, 0 is the time position corresponding to the left boundary of the target, and n is the time position corresponding to the right boundary of the target. The pressure values of each discrete point are updated a second time, that is, the pressure values less than 0 are updated to 0, thus obtaining the target pressure value of each discrete point. The product P of the sum of the target pressure values of each discrete point and the area S represented by a single discrete point is obtained, and the quotient Q between the product P and the calculation frame duration is determined as the gastroesophageal junction contraction integral EGJ-CI. Here, the calculation frame duration is the time interval between the right boundary and the left boundary of the target, that is, the preset number of respiratory cycles, and the area S is the product of the channel interval length (including the interpolation channel) and the pressure data sampling period.
[0075] In this embodiment, updating the pressure values of each fifth channel in the gastroesophageal junction contraction integral calculation region to obtain a first updated pressure value includes: calculating the difference between the pressure values of each fifth channel in the gastroesophageal junction contraction integral calculation region and the intragastric pressure, and determining the difference as the first updated pressure value. In other words, subtracting the corresponding intragastric pressure channel pressure value from the pressure values of all channels in the EGJ-CI calculation region, the resulting reduced pressure value is the first updated pressure value. This update significantly reduces the computational load and improves the calculation efficiency of the gastroesophageal junction contraction integral.
[0076] The beneficial effects of this application are as follows: This application determines the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and the target upper boundary, respectively; obtains the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, and determines the position corresponding to the largest pressure amplitude value as the diaphragm, and determines the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm; determines the first pressure sum of each second channel above the diaphragm at different times and the second pressure sum of each third channel below the diaphragm at different times, determines the respiratory cycle based on the first pressure sum and the second pressure sum, and determines the target right boundary based on the respiratory cycle and the target left boundary; determines the area composed of the target left boundary, the target upper boundary, the target lower boundary, and the target right boundary as the gastroesophageal junction contraction product calculation area; and obtains the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure cloud map based on the gastroesophageal junction contraction product calculation area. Therefore, this application automatically determines the upper boundary, lower boundary, left boundary, and right boundary of the target, thereby obtaining the calculation area of the contraction volume at the gastroesophageal junction bounded by the upper boundary, lower boundary, left boundary, and right boundary of the target. In other words, it realizes the automatic determination of the calculation area of the contraction volume at the gastroesophageal junction, and obtains the contraction integral at the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the calculation area of the contraction volume at the gastroesophageal junction, without the need for manual data analysis. In this way, the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction are improved.
[0077] See Figure 3 As shown in the figure, this application discloses a device for obtaining the contraction integral at the gastroesophageal junction, comprising:
[0078] The first boundary determination module 11 is used to determine the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and the target upper boundary, respectively.
[0079] The second boundary determination module 12 is used to obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm.
[0080] The third boundary determination module 13 is used to determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times, determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures, and determine the target right boundary based on the respiratory cycle and the target left boundary.
[0081] The calculation region determination module 14 is used to determine the region composed of the left boundary of the target, the upper boundary of the target, the lower boundary of the target, and the right boundary of the target as the calculation region of the contraction volume at the gastroesophageal junction;
[0082] The contraction integral acquisition module 15 is used to acquire the contraction integral of the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the contraction integral calculation region of the gastroesophageal junction.
[0083] The beneficial effects of this application are as follows: This application determines the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and the target upper boundary, respectively; obtains the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, and determines the position corresponding to the largest pressure amplitude value as the diaphragm, and determines the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm; determines the first pressure sum of each second channel above the diaphragm at different times and the second pressure sum of each third channel below the diaphragm at different times, determines the respiratory cycle based on the first pressure sum and the second pressure sum, and determines the target right boundary based on the respiratory cycle and the target left boundary; determines the area composed of the target left boundary, the target upper boundary, the target lower boundary, and the target right boundary as the gastroesophageal junction contraction product calculation area; and obtains the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure cloud map based on the gastroesophageal junction contraction product calculation area. Therefore, this application automatically determines the upper boundary, lower boundary, left boundary, and right boundary of the target, thereby obtaining the calculation area of the contraction volume at the gastroesophageal junction bounded by the upper boundary, lower boundary, left boundary, and right boundary of the target. In other words, it realizes the automatic determination of the calculation area of the contraction volume at the gastroesophageal junction, and obtains the contraction integral at the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the calculation area of the contraction volume at the gastroesophageal junction, without the need for manual data analysis. In this way, the efficiency and ease of obtaining the contraction integral at the gastroesophageal junction are improved.
[0084] Furthermore, embodiments of this application also provide an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.
[0085] Figure 4This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for obtaining the contraction integral at the gastroesophageal junction, as disclosed in any of the foregoing embodiments, performed by the electronic device.
[0086] In this embodiment, the power supply 23 is used to provide operating voltage for various hardware devices on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0087] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0088] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored on it include operating system 221, computer program 222 and data 223, etc., and the storage method can be temporary storage or permanent storage.
[0089] The operating system 221 manages and controls the various hardware devices and computer programs 222 on the electronic device to enable the processor 21 to perform calculations and processing on the massive amounts of data 223 in the memory 22. The operating system can be Windows, Unix, Linux, etc. The computer program 222, in addition to including a computer program capable of performing the gastroesophageal junction contraction integral acquisition method executed by the electronic device as disclosed in any of the foregoing embodiments, may further include computer programs capable of performing other specific tasks. The data 223 may include data received by the electronic device from external devices, as well as data collected by its own input / output interface 25.
[0090] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned method for obtaining the contraction integral at the gastroesophageal junction. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0091] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0092] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those 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 this application. The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly in hardware, software modules executed by a processor, or a combination of both. The software module may be located in random access memory (RAM), memory, read-only memory (ROM), electrically programmable EPROM (EPROM), electrically erasable programmable read-only memory (EEPROM), register, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the art.
[0093] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0094] The foregoing has provided a detailed description of the method, apparatus, device, and medium for obtaining the contraction integral at the gastroesophageal junction provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for obtaining the integral of contraction at the gastroesophageal junction, characterized in that, include: The target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter are respectively defined as the left boundary and the upper boundary of the target. Obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, and determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm; Determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times; determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures; and determine the right boundary of the target based on the respiratory cycle and the left boundary of the target. The region formed by the left boundary, the upper boundary, the lower boundary, and the right boundary of the target is defined as the region for calculating the contraction volume at the gastroesophageal junction. The contraction integral at the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map is obtained based on the contraction volume calculation region at the gastroesophageal junction.
2. The method for obtaining the contraction integral at the gastroesophageal junction according to claim 1, characterized in that, Before determining the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and target upper boundary, respectively, the method further includes: Obtain a gastroesophageal pressure cloud map; wherein the gastroesophageal pressure cloud map includes the upper esophageal sphincter, lower esophageal sphincter, diaphragm, stomach, and esophageal body.
3. The method for obtaining the contraction integral at the gastroesophageal junction according to claim 1, characterized in that, The step of defining the target location of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the target left boundary and target upper boundary, respectively, includes: Receive the target location of the esophageal manometry resting frame sent by the user; The target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter are respectively defined as the left boundary and the upper boundary of the target.
4. The method for obtaining the contraction integral at the gastroesophageal junction according to claim 1, characterized in that, The step of determining the respiratory cycle based on the first pressure and the second pressure, and determining the target right boundary based on the respiratory cycle and the target left boundary, includes: The first pressure and the second pressure are normalized to obtain the first normalized pressure and the second normalized pressure. Each time interval is determined by increasing the step size based on a preset time interval, and the average correlation coefficient between the first normalized pressure and the second normalized pressure corresponding to each of the time intervals is determined. The minimum target correlation coefficient mean is determined from all the mean correlation coefficients, and the target time interval corresponding to the mean target correlation coefficient is determined as the respiratory cycle; The left boundary of the target is determined as the starting time, and the time corresponding to the starting time after a preset number of breathing cycles is determined as the right boundary of the target.
5. The method for obtaining the contraction integral at the gastroesophageal junction according to any one of claims 1 to 4, characterized in that, The determination of the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm includes: The sum of the diaphragm and the preset offset is determined as the first target position, the lower edge of the lower esophageal sphincter is determined as the second target position, and the pressure value of each fourth channel between the first target position and the second target position is determined. Then it is determined whether the distance between the second target position and the diaphragm is less than the preset distance. If the distance between the second target position and the diaphragm is less than the preset distance, then the target position with the largest position is determined from the first target position and the second target position, and the target position with the largest position is determined as the lower boundary of the target; If the distance between the second target position and the diaphragm is not less than the preset distance, then it is determined whether there is a target pressure value lower than the intragastric pressure among all the pressure values of the fourth channel. If the target pressure value exists, then the second target position is determined as the target lower boundary. If the target pressure value does not exist, then the first target position is determined as the target lower boundary.
6. The method for obtaining the contraction integral at the gastroesophageal junction according to claim 5, characterized in that, The step of obtaining the gastroesophageal junction contraction integral corresponding to the gastroesophageal pressure contour map based on the contraction product calculation region at the gastroesophageal junction includes: The pressure values of each fifth channel in the gastroesophageal junction contraction volume calculation area are updated to obtain the first updated pressure value; The first updated pressure value is interpolated based on the preset anatomical length accuracy to obtain the pressure value of each discrete point in the gastroesophageal junction contraction volume calculation area. The pressure values of the discrete points that are less than 0 are determined as the first discrete point pressure values, and the pressure values of the discrete points that are not less than 0 are determined as the second discrete point pressure values. The first discrete point pressure values are updated to 0 to obtain the second updated pressure values. The target pressure values of each discrete point are obtained based on the second discrete point pressure values and the second updated pressure values. The sum of the target pressure values at each discrete point is multiplied by the area of the region represented by a single discrete point, and the quotient between the product and the calculation frame duration is determined as the contraction integral at the gastroesophageal junction; wherein, the calculation frame duration is the time interval between the right boundary and the left boundary of the target.
7. The method for obtaining the contraction integral at the gastroesophageal junction according to claim 6, characterized in that, The step of updating the pressure values of each fifth channel in the gastroesophageal junction contraction volume calculation area to obtain the first updated pressure value includes: The pressure value of each fifth channel in the gastroesophageal junction contraction volume calculation area is calculated as the difference between the pressure value of each fifth channel and the intragastric pressure, and the difference is determined as the first updated pressure value.
8. A device for obtaining the integral of contraction at the gastroesophageal junction, characterized in that, include: The first boundary determination module is used to determine the target position of the esophageal manometry resting frame in the gastroesophageal pressure cloud map and the upper edge of the lower esophageal sphincter as the left boundary and the upper boundary of the target, respectively. The second boundary determination module is used to obtain the pressure amplitude values of each first channel below the upper edge of the lower esophageal sphincter, determine the position corresponding to the largest pressure amplitude value as the diaphragm, and determine the target lower boundary based on the lower edge of the lower esophageal sphincter and the diaphragm. The third boundary determination module is used to determine the sum of the first pressures of each second channel above the diaphragm at different times and the sum of the second pressures of each third channel below the diaphragm at different times, determine the respiratory cycle based on the sum of the first pressures and the sum of the second pressures, and determine the target right boundary based on the respiratory cycle and the target left boundary. The calculation region determination module is used to determine the region composed of the left boundary of the target, the upper boundary of the target, the lower boundary of the target, and the right boundary of the target as the calculation region of the contraction volume at the gastroesophageal junction; The contraction integral acquisition module is used to acquire the contraction integral of the gastroesophageal junction corresponding to the gastroesophageal pressure cloud map based on the contraction integral calculation region of the gastroesophageal junction.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the method for obtaining the contraction integral at the gastroesophageal junction as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the method for obtaining the contraction integral at the gastroesophageal junction as described in any one of claims 1 to 7.