Self-adaptive stimulation device and system based on gastrointestinal electrical signal monitoring
Through multi-channel gastrointestinal electrical signal monitoring, combined with waveform and frequency domain feature analysis, the real abnormal segment is determined and adaptive gastrointestinal electrical stimulation is achieved, which solves the problem of inaccurate interference identification in existing technologies and improves the accuracy of gastrointestinal electrical signal monitoring and treatment effects.
Patent Information
- Application Number
- CN202511243156.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-02
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2045-09-02
AI Technical Summary
Existing gastrointestinal electrical signal monitoring methods are difficult to accurately eliminate interference from occasional factors, resulting in the inability to accurately identify abnormal signals and the inability to perform adaptive stimulation adjustments.
Gastrointestinal electrical signals are acquired in multi-channel mode, and abnormal segments are screened using waveform differences and frequency domain feature difference analysis. The true abnormal segments are determined based on the physiological transmission direction of gastrointestinal electrical signals, and the electrical stimulation intensity is adjusted according to the recovery period and response degree.
Accurately identify the real abnormal segment, eliminate the interference of occasional factors, and achieve adaptive gastrointestinal electrical stimulation adjustment, thereby improving the accuracy of monitoring and treatment effect.
Smart Images

Figure CN120733265A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gastrointestinal electrical signal monitoring, and in particular to an adaptive stimulation device and system based on gastrointestinal electrical signal monitoring. Background Art
[0002] Gastrointestinal electrical signal monitoring usually records and analyzes the bioelectrical signals of the human gastrointestinal smooth muscle to evaluate its gastrointestinal motility rhythm and dynamic state. It is usually necessary to perform gastrointestinal electrical signal monitoring on patients with functional gastrointestinal diseases (such as gastrointestinal motility disorders or patients with delayed recovery of gastrointestinal motility after gastrointestinal function-related surgery), and use electrical stimulation to "drive" the gastrointestinal pacemaker to restore normal rhythm.
[0003] In related technologies, when monitoring a patient's gastrointestinal electrical signals, data is usually acquired using non-invasive wearable body devices (such as surface electrode arrays). However, occasional factors (such as changes in the patient's body position or coughing) may cause abnormal signals in a single or a small number of channels. Furthermore, due to the different pacemaker locations and inherent frequencies in different gastrointestinal regions, existing methods are difficult to accurately eliminate the above-mentioned interference, resulting in the inability to accurately identify abnormal gastrointestinal signals and the inability to perform targeted adaptive stimulation adjustments. Summary of the Invention
[0004] In order to address the technical issues of being unable to accurately eliminate interference caused by incidental factors and the different pacemaker locations and natural frequencies in different gastrointestinal regions, resulting in the inability to accurately identify abnormal gastrointestinal signals and to perform targeted adaptive stimulation adjustments, the present invention provides an adaptive stimulation device and system based on gastrointestinal electrical signal monitoring. The technical solutions adopted are as follows: The present invention proposes an adaptive stimulation system based on gastrointestinal electrical signal monitoring, comprising: An acquisition module is used to acquire, in a multi-channel mode, the gastrointestinal electrical signals of the person to be tested before and after a meal as a detection signal, and the gastrointestinal electrical signals before and after a standard meal as a comparison signal; The anomaly detection module is used to segment the gastrointestinal electrical signals at the minimum value to obtain signal segments. Based on the waveform differences and frequency domain feature differences between the detection signals and the comparison signals of each channel under each signal segment, the abnormal signal segments in a single channel are screened out. An abnormality analysis module is used to determine the real possibility that the abnormal segment is a true abnormality based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group; and determine the real abnormal segments under different channels based on the real possibility; The electrical stimulation analysis module is used to determine the recovery period after a meal based on the stability of the detection signals of different channels in the signal segments before and after a meal; and to determine the response degree of gastrointestinal electrical stimulation of different channels based on the duration of the recovery period, the extreme difference of the electrical signal, and the number of true abnormal segments; The adjustment module is used to obtain the intervention degree of the channel where each electrode is located according to the response degree of all gastrointestinal electrical stimulations in different channels in history; and to perform intervention adjustment on different electrodes according to the intervention degree.
[0005] Furthermore, based on the waveform differences and frequency domain feature differences between the detection signals and the comparison signals of each channel under each signal segment, the abnormal signal segments in a single channel are screened, including: Calculate the dtw value of the detection signal and the comparison signal in the same channel as the waveform difference index; Perform Fourier transform on any signal segment to obtain the frequency domain power spectrum corresponding to the signal segment, mark the point with the largest power value as the main peak point of the signal segment, and determine the power value at the main peak point; The average power value of the main peak point of the signal segment of all comparison signals is used as the standard power; the absolute value of the difference between the power value at the main peak point of each signal segment of the detection signal and the standard power is calculated as the power anomaly indicator; Calculating the product of the waveform difference index of the detection signal and the power abnormality index of the signal segment, and normalizing the product to use as an abnormality judgment factor; The signal segment whose abnormality judgment factor is greater than the preset abnormality threshold is regarded as an abnormal segment.
[0006] Furthermore, each electrode corresponds to a channel, and the direction in which the electrodes are arranged in the order of gastric pacemaker → gastric body → gastric antrum → pylorus → duodenum serves as the physiological transmission direction of gastrointestinal electrical signals.
[0007] Furthermore, based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group, the real possibility of the abnormal segment being a true abnormality is determined, including: Take any abnormal segment as the reference segment, and determine the other abnormal segments closest to the reference segment in time sequence as analysis segments under different channels; take the analysis segment before the reference segment in the physiological transmission direction as the front analysis segment, and take the analysis segment after the reference segment in the physiological transmission direction as the back analysis segment; Determine the starting time points of the reference segment and the analysis segment; determine a first number of the first analysis segment whose starting time point is earlier than that of the reference segment, and a second number of the second analysis segment whose starting time point is later than that of the reference segment, and use the sum of the first number and the second number as the true number of anomalies; The proportion of the actual number of anomalies in all analysis segments is determined as the actual probability.
[0008] Furthermore, according to the true possibility, determining the true abnormal segments under different channels includes: The abnormal segment whose true possibility is greater than the preset possibility threshold is regarded as the true abnormal segment.
[0009] Furthermore, the recovery period after the meal is determined based on the stability of the detection signals of different channels in the signal segments before and after the meal, including: The mean of the abnormal judgment factors of all signal segments except the abnormal segment before the meal was calculated as the abnormal coefficient; The signal segment where the abnormal judgment factor after a meal is greater than the abnormal coefficient is regarded as the recovery segment; all the recovery segments of each channel constitute the recovery period of the corresponding channel.
[0010] Furthermore, the response degree of gastrointestinal electrical stimulation of different channels is determined based on the duration of the recovery period, the extreme difference of the electrical signal, and the number of true abnormal segments, including: The duration of the recovery period, the extreme difference of the electrical signal, and the number of true abnormal segments are all negatively correlated with the response degree, and the value of the response degree is a normalized value.
[0011] Furthermore, based on the response levels of all gastrointestinal electrical stimulations in different channels, the intervention level of the channel where each electrode is located is obtained, including: The response levels of all gastrointestinal electrical stimulations of the same channel are sorted in time sequence to obtain a response sequence, the first-order difference sequence of the response sequence is determined, and the proportion of elements with positive values in the first-order difference sequence is counted as the effective response proportion; The sum of the effective response ratios of all channels is used as the response index; The ratio of the effective response proportion of any channel to the response index is normalized and the inverse of the ratio is used as the intervention degree of the corresponding channel.
[0012] Furthermore, intervention adjustment is performed on different electrodes according to the intervention degree, including: The electrical stimulation intensity of the channel electrodes whose intervention degree is greater than a preset intervention threshold is increased.
[0013] On the other hand, an adaptive stimulation device based on gastrointestinal electrical signal monitoring is also provided, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of the system as described in any one of the above items are implemented.
[0014] The present invention has the following beneficial effects: The present invention obtains the gastrointestinal electrical signals of the person to be tested before and after a meal as detection signals in a multi-channel mode, and the gastrointestinal electrical signals before and after a standard meal as comparison signals; screens the abnormal segments of the signal segments in a single channel by analyzing the waveform differences and frequency domain feature differences between the detection signals and the comparison signals; then, determines the real possibility that the abnormal segment is a real abnormality based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signals in the analysis group; determines the real abnormal segments under different channels based on the real possibility; eliminates the interference of accidental factors on the identification of real abnormal gastrointestinal signals through the spatiotemporal characteristics of the multi-channel gastrointestinal electrical signals, and determines a more accurate real abnormal segment; then, determines the real abnormal segment based on the distribution of the detection signals of different channels in the signal segments before and after a meal. The degree of stability is used to determine the recovery period after a meal; the degree of response of gastrointestinal electrical stimulation of different channels is determined according to the length of the recovery period, the extreme difference of the electrical signal, and the number of real abnormal segments; the degree of intervention of the channel where each electrode is located is obtained according to the degree of response of all historical gastrointestinal electrical stimulations of different channels; the degree of intervention required for the corresponding gastrointestinal area is obtained by analyzing the response conditions of different positions, so as to provide a reference for adjusting the stimulation frequency of different positions. In summary, the present invention can eliminate the interference of occasional factors through multi-channel and multi-dimensional analysis, effectively determine the changing characteristics of gastrointestinal electrical signals, thereby accurately obtaining the abnormal conditions of the gastrointestinal electrical signals themselves, determining the degree of intervention in the gastrointestinal area, and making targeted adaptive stimulation adjustments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 A structural diagram of an adaptive stimulation system based on gastrointestinal electrical signal monitoring provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0017] To further illustrate the technical means and effects employed by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, describes in detail the specific implementation, structure, features, and effects of an adaptive stimulation device and system based on gastrointestinal electrical signal monitoring proposed by the present invention. In the following description, references to different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
[0018] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0019] The following describes in detail a specific solution of an adaptive stimulation system based on gastrointestinal electrical signal monitoring provided by the present invention with reference to the accompanying drawings.
[0020] See also Figure 1 , which shows a structural diagram of an adaptive stimulation system based on gastrointestinal electrical signal monitoring provided by an embodiment of the present invention, including: an acquisition module 101, an abnormality detection module 102, an abnormality analysis module 103, an electrical stimulation analysis module 104 and an adjustment module 105.
[0021] The acquisition module 101 is used to acquire the gastrointestinal electrical signals of the person to be detected before and after a meal as a detection signal, and the gastrointestinal electrical signals before and after a standard meal as a comparison signal in a multi-channel mode.
[0022] In this embodiment of the present invention, each electrode corresponds to a channel. Specifically, effective electrodes are applied to the projected area of the stomach and intestines in the abdomen. Specifically, eight electrodes can be applied to obtain eight-channel analysis, capturing changes in electrical rhythms through the electrodes (obtaining multi-channel gastrointestinal electrical waveforms). The captured signals are connected to an amplifier to output gastrointestinal electrical signals.
[0023] For example, 4–5 electrodes are placed along the midline of the abdomen (xiphoid process–umbilicus) to cover the antrum and body of the stomach, 1 electrode is placed on each side for symmetry analysis, and 1 electrode is placed at or below the umbilicus for small bowel monitoring or reference (whichever is appropriate).
[0024] It should be noted that the person to be tested can be a patient, for example. A single gastrointestinal monitoring session is performed after the patient has fasted for at least 6 hours and has stopped taking medication for gastric myoelectric activity for 2 days. The patient's gastrointestinal electrical signals are obtained within a preset time period (e.g., 15 minutes) through surface electrodes. Then, after the patient eats a fixed amount according to the doctor's instructions, the patient's gastrointestinal electrical signals are obtained again (for 15 minutes). The above operation constitutes a complete gastrointestinal electrical signal acquisition. The patient is monitored once each time they receive gastrointestinal electrical stimulation treatment to obtain a detection signal.
[0025] In addition, in the embodiment of the present invention, a control group (at least ten reference persons with normal gastrointestinal function) is set up to obtain their gastrointestinal electrical signals according to the above method as comparison signals before and after a standard meal.
[0026] The anomaly detection module 102 is used to segment the gastrointestinal electrical signal at the minimum value to obtain signal segments, and screen the abnormal segments of the signal segments in a single channel based on the waveform differences and frequency domain feature differences between the detection signals of each channel and the comparison signals under each signal segment.
[0027] The gastrointestinal electrical signals of each channel are segmented at the minimum value to obtain different signal segments. The division of signal segments facilitates the subsequent frequency domain feature analysis.
[0028] Since the comparison signal represents the gastrointestinal electrical signal fluctuations under normal conditions, a preliminary analysis can be performed based on the waveform differences between the detection signal of each channel and the comparison signal. Further analysis can then be performed in combination with frequency domain features to screen out abnormal signal segments within a single channel. These abnormal segments are signal segments that exhibit abnormalities.
[0029] Furthermore, in some embodiments of the present invention, based on the waveform differences and frequency domain feature differences between the detection signals of each channel and the comparison signals under each signal segment, abnormal segments of the signal segments in a single channel are screened, including calculating the dtw values of the detection signals and the comparison signals in the same channel as waveform difference indicators; performing Fourier transform on any signal segment to obtain the frequency domain power spectrum corresponding to the signal segment, and marking the point with the largest power value as the main peak point of the signal segment, and determining the power value at the main peak point; using the average of the power values of the main peak points of the signal segments of all comparison signals as the standard power; calculating the absolute value of the difference between the power value at the main peak point of each signal segment of the detection signal and the standard power as a power anomaly indicator; calculating the product value of the waveform difference index of the detection signal and the power anomaly index of the signal segment, and normalizing it as an anomaly judgment factor; and treating the signal segment whose anomaly judgment factor is greater than the preset anomaly threshold as an abnormal segment.
[0030] The embodiment of the present invention performs abnormal segment analysis through two dimensions. The first dimension is the waveform difference dimension. Since normal gastrointestinal electrical signals show a high similarity, the DTW value of the detection signal and the comparison signal in the same channel is calculated as the waveform difference index. The DTW value is obtained through the dynamic time warping algorithm, which is an algorithm well known to relevant technical personnel in this field. The larger the DTW value, the greater the difference between the corresponding two waveforms. Therefore, the DTW value is directly used as the waveform difference index.
[0031] The second dimension is the power dimension of the frequency domain feature. Fourier transform is performed on any signal segment to obtain the frequency domain power spectrum corresponding to the signal segment, and the point with the largest power value is marked as the main peak point of the signal segment. The main peak point represents the corresponding frequency domain feature. Then, the average of the power values of the main peak points of the signal segments of all comparison signals is used as the standard power. The absolute value of the difference between the power value at the main peak point of each signal segment of the detection signal and the standard power is calculated as the power anomaly index. That is, the larger the parameter value of the power anomaly index, the more abnormal the power performance in the corresponding signal segment of the detection signal is.
[0032] Based on the above two-dimensional analysis, the product of the waveform difference index of the detection signal and the power anomaly index of the signal segment is calculated and normalized to serve as the anomaly judgment factor. Signal segments with an anomaly judgment factor greater than a preset anomaly threshold are considered an abnormal segment. The normalization process in this embodiment of the present invention can specifically be, for example, maximum and minimum value normalization.
[0033] Among them, the abnormal judgment factor is a parameter indicator used to perform abnormal analysis on the signal segment. The larger the value of the abnormal judgment factor, the more abnormal the corresponding signal segment is in terms of waveform performance and power performance. Therefore, a preset abnormal threshold is set to screen abnormal segments.
[0034] The preset abnormality threshold is a threshold value of the abnormality judgment factor. In the embodiment of the present invention, the preset abnormality threshold may be specifically, for example, 0.5.
[0035] The abnormality analysis module 103 is used to determine the real possibility that the abnormal segment is a real abnormality based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group; and determine the real abnormal segments under different channels based on the real possibility.
[0036] Abnormalities can be divided into occasional abnormalities and real abnormalities. When occasional factors (such as patient breathing, limb movement, electrode detachment, etc.) cause abnormal gastrointestinal electrical signals in a certain channel, it usually does not affect the monitoring results of other channels. For example, when the patient's posture changes, occasional interference (usually transient abnormalities) may occur in a single channel, but the adjacent channels still maintain normal electrical activity. When the gastrointestinal electrical signal is abnormal due to real pathological factors, the abnormal signal is usually transmitted along the normal physiological conduction direction of gastrointestinal electricity in space.
[0037] Therefore, the embodiments of the present invention analyze abnormalities in the physiological transmission direction of gastrointestinal electrical signals, thereby distinguishing between incidental abnormalities and true abnormalities and determining the true abnormal segment. Gastric electrical signals propagate from the gastric pacemaker toward the pylorus. Intestinal electrical signals travel from the intestinal pacemaker down the small intestine, with each electrode corresponding to a pathway. The direction in which the electrodes are arranged in the order of gastric pacemaker → gastric body → gastric antrum → pylorus → duodenum serves as the physiological transmission direction of gastrointestinal electrical signals.
[0038] Furthermore, in some embodiments of the present invention, the real possibility that the abnormal segment is a real abnormality is determined based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group, including: taking any abnormal segment as a reference segment, and determining other abnormal segments that are closest to the reference segment in time sequence under different channels as analysis segments; taking the analysis segment before the physiological transmission direction of the reference segment as the front analysis segment, and taking the analysis segment after the physiological transmission direction of the reference segment as the post-analysis segment; determining the starting time points of the reference segment and the analysis segment; determining a first number of the front analysis segments whose starting time points are earlier than the reference segment, and a second number of the post-analysis segments whose starting time points are later than the reference segment, and taking the sum of the first number and the second number as the real abnormality number; determining the proportion of the real abnormality number in the number of all analysis segments as the real possibility.
[0039] Considering the physiological transmission direction, abnormalities propagate across different channels along this direction. Therefore, determining whether an abnormal segment and abnormalities in other channels align with this physiological transmission direction can be used to characterize authenticity. If the start time of the pre-analysis segment is earlier than that of the reference segment, and the start time of the post-analysis segment is later than that of the reference segment, both scenarios indicate a realistic transmission effect. In contrast, if the start time of the pre-analysis segment is later than that of the reference segment, and the start time of the post-analysis segment is earlier than that of the reference segment, both scenarios indicate that the abnormality is not propagating along this physiological transmission direction, indicating that the abnormality in the reference segment itself is a rare occurrence.
[0040] Furthermore, in some embodiments of the present invention, determining the true abnormal segments under different channels according to the true likelihood includes: taking the abnormal segments whose true likelihood is greater than a preset likelihood threshold as the true abnormal segments.
[0041] The preset probability threshold is a threshold value of the true probability, and the preset probability threshold can be specifically 0.8, for example. That is, an abnormal segment with a true probability greater than 0.8 is regarded as a true abnormal segment. A true abnormal segment represents a signal segment whose abnormal performance is consistent with a true abnormality.
[0042] The electrical stimulation analysis module 104 is used to determine the recovery period after a meal based on the stability of the detection signals of different channels in the signal segment before and after a meal; and to determine the response degree of gastrointestinal electrical stimulation of different channels based on the length of the recovery period, the extreme difference of the electrical signal, and the number of real abnormal segments.
[0043] After a meal, food stimulation will trigger physiological fluctuations in gastrointestinal electrical signals, causing them to fluctuate somewhat compared to before the meal. Under normal circumstances, the gastrointestinal electrical stability before the meal can be restored within a relatively short period of time. If the patient has abnormal gastrointestinal function, it may take longer to restore the gastrointestinal electrical stability after a meal, and the gastrointestinal electrical signals during the recovery process may be unstable. With gastrointestinal electrical stimulation treatment, the incidence of real gastrointestinal electrical abnormalities in patients may decrease, and the ability to restore gastrointestinal electrical stability after a meal may be improved.
[0044] Therefore, based on the comparison of the changes in the patient's gastrointestinal electrical signals before and after meals with the patient's historical gastrointestinal electrical signals, the response degree of a single electrode location after a single gastrointestinal electrical stimulation is analyzed to obtain the effectiveness of the gastrointestinal electrical stimulation.
[0045] Furthermore, in some embodiments of the present invention, the recovery period after a meal is determined based on the stability of the detection signals of different channels in the signal segments before and after a meal, including: calculating the mean of the abnormal judgment factors of all signal segments except the abnormal segment before the meal as the abnormal coefficient; taking the signal segment after the meal in which the abnormal judgment factor is greater than the abnormal coefficient as the recovery segment; and combining all the recovery segments of each channel to form the recovery period of the corresponding channel.
[0046] The recovery segment represents the signal segment corresponding to the recovery of gastrointestinal electrical stability after a meal, and all recovery segments constitute the recovery period.
[0047] It can be understood that in other embodiments of the present invention, the abnormality coefficient can be determined, and the abnormal judgment factor after the meal is less than or equal to the abnormality coefficient, which is regarded as a normal segment. Then, the first three consecutive normal segments after the meal are regarded as having reached a stable characteristic analysis, that is, the starting moment of the first normal segment among the three consecutive normal segments is regarded as the stable moment, and then, the time from the end of the meal to the stable moment is regarded as the recovery period.
[0048] Furthermore, in some embodiments of the present invention, the degree of response to gastrointestinal electrical stimulation of different channels is determined based on the length of the recovery period, the extreme difference of the electrical signal, and the number of real abnormal segments, including: the length of the recovery period, the extreme difference of the electrical signal, and the number of real abnormal segments are all negatively correlated with the degree of response, and the value of the degree of response is a normalized value.
[0049] Among them, the fewer real gastrointestinal electrical abnormalities occur in the gastrointestinal electrical signals of the channel during the entire monitoring process, the shorter the post-meal recovery period in the channel, and the more stable the gastrointestinal electrical signals during the recovery period, the better the response to electrical stimulation. In other words, the longer the recovery period, the worse the effect of the corresponding gastrointestinal electrical stimulation, the lower the response level, the larger the value of the electrical signal extreme difference, and the number of real abnormal segments, the more abnormal the gastrointestinal electrical signal performance, that is, the lower the response level in the corresponding channel. In an embodiment of the present invention, the product value of the recovery period, the electrical signal extreme difference and the number of real abnormal segments can be directly calculated, and the maximum and minimum values of the opposite of the product value can be normalized as the response level.
[0050] The adjustment module 105 is used to obtain the intervention degree of the channel where each electrode is located according to the response degree of all gastrointestinal electrical stimulations in different channels in history; and perform intervention adjustment on different electrodes according to the intervention degree.
[0051] Different gastrointestinal locations have different responses to gastrointestinal electrical stimulation. If, during a certain test, the effectiveness of a certain electrode location in responding to gastrointestinal electrical stimulation is poorer than that of the other electrode locations, and during the current test, the effectiveness of the gastrointestinal electrical stimulation responses corresponding to all electrode locations of the patient is unstable, then the electrode location needs intervention more. Therefore, the degree of intervention should be analyzed first.
[0052] Furthermore, in some embodiments of the present invention, the intervention degree of the channel where each electrode is located is obtained based on the response degree of all historical gastrointestinal electrical stimulations of different channels, including: sorting the response degrees of all gastrointestinal electrical stimulations of the same channel in time series to obtain a response sequence, determining the first-order difference sequence of the response sequence, and counting the proportion of elements with positive values in the first-order difference sequence as the effective response proportion; taking the sum of the effective response proportions of all channels as the response index; taking the ratio of the effective response proportion of any channel to the response index, and normalizing the inverse of the ratio as the intervention degree of the corresponding channel.
[0053] Among them, the first-order difference sequence is the difference between the latter element and the previous element in the response sequence, and the sequence is obtained by arrangement. The elements with positive values in the first-order difference sequence indicate that the latter element is greater than the previous element, which means that the response effect of gastrointestinal electrical stimulation is more obvious. The proportion of elements with positive values in the first-order difference sequence is counted as the effective response proportion. The larger the value of the effective response proportion, the more effective responses there are, which means that the effect of electrical stimulation is better, and the need for subsequent continued intervention is reduced.
[0054] Therefore, in the embodiment of the present invention, the sum of the effective response ratios of all channels is counted as the response index, and the ratio of the effective response ratio of any channel to the response index is calculated. The larger the ratio, the more normal the corresponding effect under the electrical stimulation of the corresponding electrode, and the need to reduce the intervention effect. The smaller the ratio, the more unstable the gastrointestinal electrical stimulation response corresponding to all electrode locations of the patient, and the more intervention is needed at the electrode location. The inverse of the ratio is normalized and used as the intervention level of the corresponding channel.
[0055] Since a greater degree of intervention indicates a less obvious electrical stimulation effect, in an embodiment of the present invention, electrical stimulation can be enhanced, that is, the electrical stimulation intensity of the channel electrodes whose degree of intervention is greater than a preset intervention threshold is enhanced.
[0056] The preset intervention threshold is a threshold value for the degree of intervention. In the embodiment of the present invention, the preset intervention threshold can be, for example, 0.7. That is, when the degree of intervention is greater than 0.7, the electrical stimulation intensity of the corresponding channel electrode is increased. Specifically, in the embodiment of the present invention, increasing the electrical stimulation intensity mainly means increasing the stimulation frequency of the electrode.
[0057] The present invention obtains the gastrointestinal electrical signals of the person to be tested before and after a meal as the detection signal in a multi-channel mode, and the gastrointestinal electrical signals before and after a standard meal as the comparison signal; screens the abnormal segments of the signal segments in a single channel by analyzing the waveform difference and frequency domain feature difference between the detection signal and the comparison signal; then, determines the real possibility that the abnormal segment is a real abnormality based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signals in the analysis group; determines the real abnormal segments under different channels based on the real possibility; eliminates the interference of accidental factors on the identification of real abnormal gastrointestinal signals through the spatiotemporal characteristics of the multi-channel gastrointestinal electrical signals, and determines a more accurate real abnormal segment; then, determines the real abnormal segment based on the distribution of the detection signals of different channels before and after a meal in the signal The stability of the gastrointestinal segment is used to determine the recovery period after a meal; the response degree of gastrointestinal electrical stimulation of different channels is determined according to the length of the recovery period, the extreme difference of the electrical signal, and the number of real abnormal segments; the intervention degree of the channel where each electrode is located is obtained according to the response degree of all historical gastrointestinal electrical stimulations of different channels; the response situation of different positions is analyzed to obtain the degree of intervention required for the corresponding gastrointestinal area, which is convenient for providing a reference for adjusting the stimulation frequency of different positions. In summary, the present invention can accurately determine the changing characteristics of gastrointestinal electrical signals through multi-channel and multi-dimensional analysis, thereby accurately obtaining the abnormal situation of the gastrointestinal electrical signal itself, determining the intervention degree of the gastrointestinal area, and making adaptive stimulation adjustments for different people.
[0058] On the other hand, an adaptive stimulation device based on gastrointestinal electrical signal monitoring is also provided, which includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps of an adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in any of the above items.
[0059] It should be noted that the order in which the embodiments of the present invention are described above is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0060] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
Claims
1. An adaptive stimulation system based on gastrointestinal electrical signal monitoring, characterized in that: include: An acquisition module is used to acquire, in a multi-channel mode, the gastrointestinal electrical signals of the person to be tested before and after a meal as a detection signal, and the gastrointestinal electrical signals before and after a standard meal as a comparison signal; The anomaly detection module is used to segment the gastrointestinal electrical signals at the minimum value to obtain signal segments. Based on the waveform differences and frequency domain feature differences between the detection signals and the comparison signals of each channel under each signal segment, the abnormal signal segments in a single channel are screened out. An abnormality analysis module, used to determine the real possibility that the abnormal segment is a true abnormality based on the distribution of the starting time points along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group; Determining the actual abnormal segments under different channels according to the actual possibility; The electrical stimulation analysis module is used to determine the recovery period after a meal based on the stability of the detection signals of different channels in the signal segments before and after a meal; and to determine the response degree of gastrointestinal electrical stimulation of different channels based on the duration of the recovery period, the extreme difference of the electrical signal, and the number of true abnormal segments; The adjustment module is used to obtain the intervention degree of the channel where each electrode is located according to the response degree of all gastrointestinal electrical stimulations in different channels in history; and to perform intervention adjustment on different electrodes according to the intervention degree.
2. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: Based on the waveform differences and frequency domain feature differences between the detection signal and the comparison signal of each channel in each signal segment, the abnormal signal segments in a single channel are screened, including: Calculate the dtw value of the detection signal and the comparison signal in the same channel as the waveform difference index; Perform Fourier transform on any signal segment to obtain the frequency domain power spectrum corresponding to the signal segment, mark the point with the largest power value as the main peak point of the signal segment, and determine the power value at the main peak point; The average power value of the main peak point of the signal segment of all comparison signals is used as the standard power; the absolute value of the difference between the power value at the main peak point of each signal segment of the detection signal and the standard power is calculated as the power anomaly indicator; Calculating the product of the waveform difference index of the detection signal and the power abnormality index of the signal segment, and normalizing the product to use as an abnormality judgment factor; The signal segment whose abnormality judgment factor is greater than the preset abnormality threshold is regarded as an abnormal segment.
3. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: Each electrode corresponds to a channel, and the direction in which the electrodes are arranged in the order of gastric pacemaker → gastric body → gastric antrum → pylorus → duodenum serves as the physiological transmission direction of gastrointestinal electrical signals.
4. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: Based on the distribution of the starting time points along the physiological transmission direction of gastrointestinal electrical signals in the analysis group, the possibility that the abnormal segment is a true abnormality is determined, including: Take any abnormal segment as the reference segment, and determine the other abnormal segments closest to the reference segment in time sequence as analysis segments under different channels; take the analysis segment before the reference segment in the physiological transmission direction as the front analysis segment, and take the analysis segment after the reference segment in the physiological transmission direction as the back analysis segment; Determine the starting time points of the reference segment and the analysis segment; determine a first number of the first analysis segment whose starting time point is earlier than that of the reference segment, and a second number of the second analysis segment whose starting time point is later than that of the reference segment, and use the sum of the first number and the second number as the true number of anomalies; The proportion of the actual number of anomalies in all analysis segments is determined as the actual probability.
5. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: According to the true possibility, the true abnormal segments under different channels are determined, including: The abnormal segment whose true possibility is greater than the preset possibility threshold is regarded as the true abnormal segment.
6. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 2, characterized in that: The recovery period after a meal is determined based on the stability of the detection signals of different channels in the signal segment before and after a meal, including: The mean of the abnormal judgment factors of all signal segments except the abnormal segment before the meal was calculated as the abnormal coefficient; The signal segment where the abnormal judgment factor after a meal is greater than the abnormal coefficient is regarded as the recovery segment; all the recovery segments of each channel constitute the recovery period of the corresponding channel.
7. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: The response to gastrointestinal electrical stimulation of different channels is determined based on the duration of the recovery period, the extreme electrical signal, and the number of true abnormal segments, including: The duration of the recovery period, the extreme difference of the electrical signal, and the number of true abnormal segments are all negatively correlated with the response degree, and the value of the response degree is a normalized value.
8. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: According to the response degree of all gastrointestinal electrical stimulations in different channels, the intervention degree of each electrode channel is obtained, including: The response levels of all gastrointestinal electrical stimulations of the same channel are sorted in time sequence to obtain a response sequence, the first-order difference sequence of the response sequence is determined, and the proportion of elements with positive values in the first-order difference sequence is counted as the effective response proportion; The sum of the effective response ratios of all channels is used as the response index; The ratio of the effective response proportion of any channel to the response index is normalized and the inverse of the ratio is used as the intervention degree of the corresponding channel.
9. The adaptive stimulation system based on gastrointestinal electrical signal monitoring according to claim 1, characterized in that: The intervention adjustment is performed on different electrodes according to the intervention degree, including: The electrical stimulation intensity of the channel electrodes whose intervention degree is greater than a preset intervention threshold is increased.
10. An adaptive stimulation device based on gastrointestinal electrical signal monitoring, the device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the system according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Independent feedback type stomach pace-making device
CN102049096A
Digital gastrointestinal pacemaker
CN105617530A
Detection method and device for gastrointestinal electrical signals and detection equipment and storage medium
CN108634948A
System and method for automatically judging eating
CN110037694A
Method, device, computer equipment and storage medium for electrocardiogram signal type detection
CN110226919A
Cited By
Gastrointestinal pacemaker testing method and system based on biological feedback
CN121371476A