An adaptive stimulation device and system based on gastrointestinal electrical signal monitoring
By monitoring gastrointestinal electrical signals through multiple channels and combining waveform and frequency domain feature analysis, the true abnormal segments can be identified, enabling accurate identification and adaptive stimulation adjustment of gastrointestinal electrical signals. This solves the problem of interference that is difficult to eliminate in existing technologies and improves the accuracy of monitoring and treatment.
Patent Information
- Application Number
- CN202511243156.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-02
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-09-02
AI Technical Summary
Existing technologies struggle to accurately identify abnormal signals and adaptively adjust stimulation in gastrointestinal electrical signal monitoring, primarily due to the difficulty in eliminating interference from occasional factors and the differences in pacemaker location and inherent frequency across different regions of the gastrointestinal tract.
Gastrointestinal electrical signals are acquired in a multi-channel mode. Abnormal segments are screened by analyzing waveform differences and frequency domain characteristics. The true abnormal segments are determined by combining the physiological transmission direction of the gastrointestinal electrical signals. Electrical stimulation is adjusted according to the recovery time and response level.
Accurate identification of abnormal gastrointestinal electrical signals, elimination of interference from occasional factors, and adaptive targeted stimulation adjustment improve the accuracy of gastrointestinal electrical signal monitoring and treatment efficacy.
Smart Images

Figure CN120733265B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application 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
[0002] Gastrointestinal electrical signal monitoring is usually performed by recording and analyzing the bioelectric signals of the gastrointestinal smooth muscle of the human body to evaluate the gastrointestinal peristalsis rhythm and motility state thereof, and is usually performed on patients with functional gastrointestinal diseases (for example, patients with gastrointestinal motility disorders or patients with delayed recovery of gastrointestinal peristalsis ability after gastrointestinal function-related surgery) to recover the normal rhythm of the gastrointestinal pacemaker through electrical stimulation.
[0003] In the related art, when monitoring the gastrointestinal electrical signals of a patient, a non-invasive body surface wearable device (for example, a body surface electrode array) is usually used to obtain data, wherein, due to occasional factors (for example, changes in the body position of the patient or coughing), the signals of a single or a small number of channels are abnormal, and since the pacemaker positions and intrinsic frequencies of different regions of the gastrointestinal tract are different, the existing method cannot accurately exclude the above interference, thereby failing to accurately identify abnormal gastrointestinal signals and failing to perform targeted adaptive stimulation adjustment. SUMMARY
[0004] In order to solve the technical problems that due to the interference of occasional factors and the like, the existing method cannot accurately exclude the above interference since the pacemaker positions and intrinsic frequencies of different regions of the gastrointestinal tract are different, thereby failing to accurately identify abnormal gastrointestinal signals and failing to perform targeted adaptive stimulation adjustment, the present application provides an adaptive stimulation device and system based on gastrointestinal electrical signal monitoring, and the technical solutions adopted are as follows:
[0005] The present application provides an adaptive stimulation system based on gastrointestinal electrical signal monitoring, comprising:
[0006] An acquisition module is configured to acquire, in a multi-channel mode, the gastrointestinal electrical signals of a person to be detected before and after a meal as detection signals and the gastrointestinal electrical signals before and after a standard meal as comparison signals;
[0007] An abnormality detection module is configured to segment the gastrointestinal electrical signals at extreme values to obtain signal segments, and to filter abnormal segments of the signal segments in a single channel according to the waveform differences and frequency domain feature differences of the detection signals and the comparison signals in each signal segment;
[0008] An abnormality analysis module is configured to determine the real possibility of real abnormal segments according to the distribution of the starting time points in the analysis group along the physiological transmission direction of the gastrointestinal electrical signals, and to determine the real abnormal segments in different channels according to the real possibility;
[0009] an electrical stimulation analysis module configured to determine a recovery period after the meal according to a stability degree of the signal segment of the detection signal in different channels before and after the meal; and determine a response degree of the gastrointestinal electrical stimulation in different channels according to a length of the recovery period, an electrical signal range, and a number of real abnormal segments;
[0010] an adjustment module configured to obtain an intervention degree of the channel where each electrode is located according to the response degrees of all previous gastrointestinal electrical stimulations in different channels; and adjust different electrodes according to the intervention degree.
[0011] Further, the abnormal segment in each channel is screened according to waveform difference and frequency domain feature difference between the detection signal and the comparison signal in each signal segment, including:
[0012] a dtw value of the detection signal and the comparison signal in the same channel is calculated as a waveform difference index;
[0013] a Fourier transform is performed on any signal segment to obtain a frequency domain power spectrum corresponding to the signal segment, and a point with a maximum power value in the frequency domain power spectrum is marked as a main peak point of the signal segment, and a power value at the main peak point is determined;
[0014] an average of the main peak point power values of all signal segments of the comparison signal is taken as a standard power, and an absolute value of a 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 a power abnormality index;
[0015] a product value of the waveform difference index of the detection signal and the power abnormality index of the signal segment is calculated and normalized as an abnormality judgment factor;
[0016] a signal segment with an abnormality judgment factor greater than a preset abnormality threshold is taken as an abnormal segment.
[0017] Further, each electrode corresponds to a channel, and an order of the electrodes from a gastric pacemaker to a gastric body, a gastric antrum, a pylorus, and a duodenum is taken as a physiological transmission direction of the gastrointestinal electrical signal.
[0018] Further, a real possibility that the abnormal segment is a real abnormality is determined according to a distribution of the starting time point in the analysis group along the physiological transmission direction of the gastrointestinal electrical signal, including:
[0019] any abnormal segment is taken as a reference segment, and other abnormal segments closest to the reference segment in time sequence in different channels are determined as analysis segments; an analysis segment before the physiological transmission direction of the reference segment is taken as a front analysis segment, and an analysis segment after the physiological transmission direction of the reference segment is taken as a rear analysis segment;
[0020] determining a starting time point of the reference segment and the analysis segment; determining a first quantity of the starting time point in the previous analysis segment being earlier than the reference segment, and a second quantity of the starting time point in the later analysis segment being later than the reference segment, and taking a sum value of the first quantity and the second quantity as a real abnormal quantity;
[0021] determining a proportion of the real abnormal quantity in the number of all analysis segments as a real possibility.
[0022] Further, according to the real possibility, determining real abnormal segments under different channels, comprising:
[0023] taking an abnormal segment with the real possibility greater than a preset possibility threshold as a real abnormal segment.
[0024] Further, according to the stability of the detection signal in the signal segment before and after the meal under different channels, determining a recovery period after the meal, comprising:
[0025] calculating a mean value of the abnormality judgment factor of all signal segments except the abnormal segment before the meal as an abnormality coefficient;
[0026] taking a signal segment with the abnormality judgment factor greater than the abnormality coefficient after the meal as a recovery segment; and taking all recovery segments of each channel to form a recovery period of the corresponding channel.
[0027] Further, according to the length of the recovery period, the electrical signal range, and the number of real abnormal segments, determining a response degree of gastrointestinal electrical stimulation under different channels, comprising:
[0028] The length of the recovery period, the electrical signal range, and the number of real abnormal segments are all negatively correlated with the response degree, and the response degree is a normalized value.
[0029] Further, according to the response degree of all historical gastrointestinal electrical stimulations under different channels, obtaining an intervention degree of each channel where the electrode is located, comprising:
[0030] sequencing the response degrees of all gastrointestinal electrical stimulations under the same channel in time sequence to obtain a response sequence, determining a first-order difference sequence of the response sequence, and taking a proportion of the number of elements with positive values in the first-order difference sequence as an effective response proportion;
[0031] taking a sum value of the effective response proportions of all channels as a response index;
[0032] taking a ratio of the effective response proportion of any channel to the response index, and taking an inverse of the ratio as an intervention degree of the corresponding channel after normalization processing.
[0033] Further, according to the intervention degree, intervening and adjusting different electrodes, comprising:
[0034] Increase the electrical stimulation intensity of the channel electrode whose intervention degree is greater than a preset intervention threshold.
[0035] In another aspect, there is also provided an adaptive stimulation device based on gastrointestinal electrical signal monitoring, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the system according to any one of the preceding aspects when executing the computer program.
[0036] The present application has the following advantages:
[0037] The present application obtains the gastrointestinal electrical signals of the person to be detected before and after eating as the detection signal and the standard gastrointestinal electrical signals before and after eating as the comparison signal in the multi-channel mode, analyzes the waveform difference and frequency domain feature difference between the detection signal and the comparison signal, and screens the abnormal segments in the signal segment of the single channel. Then, the distribution of the starting time point along the physiological transmission direction of the gastrointestinal electrical signal in the analysis group is determined to determine the real possibility of the abnormal segment being a real abnormality. According to the real possibility, the real abnormal segments in different channels are determined. The temporal and spatial characteristics of the multi-channel gastrointestinal electrical signal are used to exclude the interference of incidental factors on the identification of real abnormal gastrointestinal signals, so as to determine more accurate real abnormal segments. Then, the recovery period after eating is determined according to the stability of the detection signal in the signal segment in different channels before and after eating. The response degree of the gastrointestinal electrical stimulation in different channels is determined according to the length of the recovery period, the electrical signal range, 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 the previous gastrointestinal electrical stimulations in different channels. The response of different positions is analyzed to obtain the degree of intervention required for the corresponding gastrointestinal region, so as to provide a reference for adjusting the stimulation frequency of different positions. In summary, the present application can eliminate incidental factor interference and effectively determine the change characteristics of the gastrointestinal electrical signal, so as to accurately obtain the abnormality of the gastrointestinal electrical signal itself and determine the intervention degree of the gastrointestinal region, so as to perform targeted adaptive stimulation adjustment. BRIEF DESCRIPTION OF DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art and the advantages thereof, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without any creative effort.
[0039] Figure 1 A structure diagram of an adaptive stimulation system based on gastrointestinal electrical signal monitoring is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to further illustrate the technical means and effects taken by the present application to achieve the predetermined inventive objectives, the specific implementation, structure, features and effects of the adaptive stimulation device and system based on gastrointestinal electrical signal monitoring according to the present application are described in detail below in combination with the drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs.
[0042] The specific scheme of the adaptive stimulation system based on gastrointestinal electrical signal monitoring provided by the present application is specifically described below in combination with the drawings.
[0043] Please refer to Figure 1 which shows the structure diagram of the adaptive stimulation system based on gastrointestinal electrical signal monitoring provided by one embodiment of the present application, comprising 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.
[0044] The acquisition module 101 is used to acquire the gastrointestinal electrical signals of the person to be detected before and after meals as detection signals and the standard gastrointestinal electrical signals before and after meals as comparison signals in a multi-channel mode.
[0045] In the embodiment of the present application, each electrode corresponds to one channel. Specifically, effective electrodes are attached to the abdominal stomach and intestinal projection area. Specifically, 8 electrodes can be attached to obtain 8-channel analysis. The electrode captures the electrical rhythm change (acquires the gastrointestinal electrical waveform of multiple channels). The captured signal is connected to an amplifier to output the gastrointestinal electrical signal.
[0046] For example, 4-5 electrodes are placed along the abdominal midline (xiphoid-umbilicus) to cover the gastric antrum and gastric body, 1 electrode is placed on each side for symmetry analysis, and 1 electrode is placed at the umbilicus or below the umbilicus for small intestine monitoring or reference (according to the actual situation).
[0047] It should be noted that the person to be detected can be specifically, for example, a patient. Single gastrointestinal monitoring is performed after the patient has fasted for at least 6 hours, and it is ensured that the patient has stopped using gastric myoelectric activity drugs for 2 days. The gastrointestinal electrical signals of the patient within a preset time period (such as 15 minutes) are acquired through the body surface electrodes. Then, after eating according to the doctor's advice, the gastrointestinal electrical signals of the patient (15 minutes) are acquired again. The above operation is a complete gastrointestinal electrical signal acquisition. The patient is monitored once after receiving gastrointestinal electrical stimulation treatment each time to obtain the detection signal.
[0048] In addition, in the embodiment of the present application, a control group (at least ten reference persons with normal gastrointestinal function) is set, and gastrointestinal electrical signals of the control group are obtained according to the above method, as standard pre-meal and post-meal comparison signals.
[0049] The abnormality detection module 102 is configured to segment the gastrointestinal electrical signals at the extreme minimum value to obtain signal segments, and screen abnormal segments of the signal segments in a single channel according to waveform differences and frequency domain feature differences of the detection signals and the comparison signals in each channel under each signal segment.
[0050] The gastrointestinal electrical signals in each channel are segmented at the extreme minimum value to obtain different signal segments, and the segmentation of the signal segments facilitates subsequent frequency domain feature analysis.
[0051] Since the comparison signals are gastrointestinal electrical signal fluctuations in a normal condition, the waveform differences between the detection signals and the comparison signals in each channel can be analyzed first, and then further analysis is performed in combination with the frequency domain features to screen the abnormal segments of the signal segments in a single channel. The abnormal segments are signal segments that exhibit abnormalities.
[0052] Further, in some embodiments of the present application, the abnormal segments of the signal segments in a single channel are screened according to the waveform differences and the frequency domain feature differences of the detection signals and the comparison signals in each channel under each signal segment, which includes calculating a dtw value of the detection signals and the comparison signals in the same channel as a waveform difference index; performing Fourier transform on any signal segment to obtain a frequency domain power spectrum corresponding to the signal segment, marking a point with the largest power value in the frequency domain power spectrum as a main peak point of the signal segment, and determining a power value at the main peak point; taking an average of main peak point power values of signal segments of all comparison signals as a standard power; calculating an absolute value of a difference between the power value at the main peak point of each signal segment of the detection signals and the standard power as a power abnormality index; calculating a product value of the waveform difference index of the detection signals and the power abnormality index of the signal segment, and normalizing the product value as an abnormality judgment factor; and taking a signal segment with an abnormality judgment factor greater than a preset abnormality threshold as an abnormal segment.
[0053] In the embodiment of the present application, two dimensions are used for abnormal segment analysis. The first dimension is a waveform difference dimension. Since normal gastrointestinal electrical signals exhibit high similarity, the dtw value of the detection signals and the comparison signals in the same channel is calculated as a waveform difference index. The dtw value is obtained by a dynamic time warping algorithm, which is an algorithm known to those skilled in the art. The greater the dtw value, the greater the difference between the corresponding two waveforms. Therefore, the dtw value is directly used as the waveform difference index.
[0054] The second dimension is a power dimension of the frequency domain feature. Fourier transform is performed on any signal segment to obtain a frequency domain power spectrum corresponding to the signal segment, and a point with a maximum power value in the frequency domain power spectrum is marked as a main peak point of the signal segment, and the main peak point represents the corresponding frequency domain feature. Then, an average of power values of main peak points of all signal segments of the comparison signal is taken as a standard power. An absolute value of a difference between a power value of a main peak point of each signal segment of the detection signal and the standard power is taken as a power abnormality index, that is, the greater the parameter value of the power abnormality index, the more abnormal the power performance in the corresponding signal segment of the detection signal.
[0055] For the above two dimension analyses, a product value of the waveform difference index of the detection signal and the power abnormality index of the signal segment is calculated, and normalization processing is taken as an abnormality judgment factor. The signal segment with an abnormality judgment factor greater than a preset abnormality threshold is taken as an abnormal segment. The normalization processing in the embodiment of the present application can be specifically, for example, maximum-minimum value normalization processing.
[0056] The abnormality judgment factor is a parameter index for abnormality analysis of the signal segment, and the greater the value of the abnormality judgment factor, the more abnormal the corresponding signal segment in waveform performance and power performance, so the preset abnormality threshold is set to screen the abnormal segment.
[0057] The preset abnormality threshold is a threshold value of the abnormality judgment factor, and in the embodiment of the present application, the preset abnormality threshold can be specifically, for example, 0.5.
[0058] The abnormality analysis module 103 is configured to determine a real possibility that the abnormal segment is a real abnormality according to a 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 segment under different channels according to the real possibility.
[0059] The abnormality is also divided into an occasional abnormality and a real abnormality. When the gastrointestinal electrical signal of a certain channel is abnormal due to an occasional factor (for example, patient breathing, limb movement, electrode falling off, etc.), it usually does not affect the monitoring results of the remaining channels. For example, when the patient's posture changes, occasional interference (usually transient abnormality) may exist in a single channel, but the adjacent channel still maintains normal electrical activity. When the gastrointestinal electrical signal is abnormal due to a pathological factor, the abnormal signal usually transmits along the normal physiological transmission direction of the gastrointestinal electrical signal.
[0060] Therefore, in the embodiment of the present application, the abnormality is analyzed in combination with the physiological transmission direction of the gastrointestinal electrical signal, so as to distinguish the occasional abnormality and the real abnormality, and determine the real abnormal segment. The gastric electrical signal propagates from the gastric pacemaker to the pylorus, and the intestinal electrical signal starts from the intestinal pacemaker and transmits downward along the small intestine. Each electrode corresponds to a channel, and the order of the electrodes from the gastric pacemaker to the stomach, the antrum, the pylorus and the duodenum is taken as the physiological transmission direction of the gastrointestinal electrical signal.
[0061] Further, in some embodiments of the application, according to the distribution of the starting time points of the analysis group along the physiological transmission direction of the gastrointestinal electrical signal, the true possibility of determining the abnormal segment as a true abnormality includes: taking any abnormal segment as a reference segment, and determining the other abnormal segment closest to the reference segment in time in different channels as an analysis segment; the analysis segment before the physiological transmission direction of the reference segment is determined as a front analysis segment, and the analysis segment after the physiological transmission direction of the reference segment is determined as a rear analysis segment; determining the starting time points of the reference segment and the analysis segment; determining the first number of the starting time points earlier than the reference segment in the front analysis segment, and the second number of the starting time points later than the reference segment in the rear analysis segment, and taking the sum of the first number and the second number as the number of true abnormalities; determining the proportion of the number of true abnormalities in the number of all analysis segments as the true possibility.
[0062] Among them, combined with the physiological transmission direction, the abnormal phenomenon will be transmitted between different channels along the physiological transmission direction, therefore, determining whether a certain abnormal segment and other channel abnormal performance are along the physiological transmission direction can represent the authenticity. The starting time point earlier than the reference segment in the front analysis segment, and the starting time point later than the reference segment in the rear analysis segment, both of which represent the transmission effect in accordance with the true; in contrast, the starting time point later than the reference segment in the front analysis segment, and the starting time point earlier than the reference segment in the rear analysis segment, both of which represent that the abnormality of the reference segment itself is an occasional abnormality.
[0063] Further, in some embodiments of the application, according to the true possibility, the true abnormal segment in different channels is determined, including: taking the abnormal segment with a true possibility greater than a preset possibility threshold as a true abnormal segment.
[0064] Among them, the preset possibility threshold is a threshold value of the true possibility, and the preset possibility threshold can be specifically, for example, 0.8, that is, taking the abnormal segment with a true possibility greater than 0.8 as a true abnormal segment. The true abnormal segment represents the abnormal performance in accordance with the signal segment of the true abnormality.
[0065] The electrical stimulation analysis module 104 is used to determine the recovery period after eating according to the stability of the different channel detection signals in the signal segment before and after eating; and determine the response degree of the gastrointestinal electrical stimulation in different channels according to the length of the recovery period, the electrical signal range, and the number of true abnormal segments.
[0066] After a meal, food stimulation can cause physiological fluctuations in gastrointestinal electrical signals, which will fluctuate compared to before a meal, and under normal circumstances, the gastrointestinal electrical signals can return to the stable state before a meal within a short period of time. If the patient has abnormal gastrointestinal function, the time for the gastrointestinal electrical signals to return to the stable state after a meal can be longer, and the gastrointestinal electrical signals during the recovery process can be unstable. With the gastrointestinal electrical stimulation treatment, the patient's true gastrointestinal electrical abnormality can be reduced, and the ability to recover the gastrointestinal electrical stable state after a meal can be improved to a certain extent.
[0067] Therefore, based on the comparison between the changes of the pre-meal and post-meal gastrointestinal electrical signals of the patient and the historical gastrointestinal electrical signals of the patient, the response degree of the position of the single electrode after a single gastrointestinal electrical stimulation is analyzed, and the effectiveness of the gastrointestinal electrical stimulation is obtained.
[0068] Further, in some embodiments of the present application, the recovery period after a meal is determined according to the stability of the signals in different channels before and after a meal, including: calculating the mean value of the abnormality judgment factors of all signal segments except the abnormal segments before a meal as an abnormality coefficient; regarding the signal segments with the abnormality judgment factors greater than the abnormality coefficient after a meal as recovery segments; and regarding all recovery segments of each channel as the recovery period of the corresponding channel.
[0069] Among them, the recovery segment represents the signal segment corresponding to the recovery of the gastrointestinal electrical stable state after a meal, and all recovery segments constitute the recovery period.
[0070] It can be understood that in another embodiment of the present application, the abnormality coefficient can be determined, and the first three consecutive normal segments after a meal are regarded as the stable feature analysis that has been reached, that is, the starting time of the first normal segment in the three consecutive normal segments is regarded as the stable time, and then the recovery period is regarded as the time from the end of the meal to the stable time.
[0071] Further, in some embodiments of the present application, the response degree of the gastrointestinal electrical stimulation of different channels is determined according to the length of the recovery period, the electrical signal range, and the number of true abnormal segments, including: the length of the recovery period, the electrical signal range, 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.
[0072] The less the real gastrointestinal electrical anomaly occurs in the gastrointestinal electrical signal of the channel during the whole monitoring process, the shorter the length of the postprandial recovery period in the channel, and the more stable the gastrointestinal electrical signal in the recovery period, all of which can represent that the response of the electrical stimulation is better, that is, the longer the length of the recovery period, the worse the effect of the corresponding gastrointestinal electrical stimulation, the lower the response degree, and the greater the value of the electrical signal range, and the number of real anomaly segments, which represents that the gastrointestinal electrical signal is more abnormal, that is, the lower the response degree in the corresponding channel, in the embodiment of the application, the product value of the length of the recovery period, the electrical signal range and the number of real anomaly segments can be directly calculated, and the maximum and minimum values of the inverse of the product value are normalized to be the response degree.
[0073] The adjusting module 105 is configured to obtain an intervention degree of each channel according to the response degrees of all the gastrointestinal electrical stimulations in the history of different channels, and to intervene and adjust different electrodes according to the intervention degrees.
[0074] Different positions of the gastrointestinal tract have different response degrees to the gastrointestinal electrical stimulation, if the effective degree of the response of the position of an electrode to the gastrointestinal electrical stimulation is poorer than that of the positions of the other electrodes in a detection, and the effective degrees of the responses of the positions of all the electrodes of the patient to the gastrointestinal electrical stimulation are unstable in the current detection, the position of the electrode needs to be intervened more, and therefore, the intervention degree is analyzed first.
[0075] Further, in some embodiments of the application, the intervention degree of each electrode channel is obtained according to the response degrees of all the gastrointestinal electrical stimulations in the history of different channels, which includes: arranging the response degrees of all the gastrointestinal electrical stimulations in the same channel in time sequence to obtain a response sequence, determining a first-order difference sequence of the response sequence, counting the proportion of the number of elements with positive values in the first-order difference sequence as an effective response proportion, summing the effective response proportions of all the channels as a response index, and normalizing the inverse of the ratio of the effective response proportion of any channel to the response index as the intervention degree of the corresponding channel.
[0076] The first-order difference sequence is the difference between the latter element and the former element in the response sequence, the arranged sequence, the element with a positive value in the first-order difference sequence represents that the latter element is greater than the former element, that is, the response effect of the gastrointestinal electrical stimulation is more obvious, and the greater the value of the effective response proportion counted from the number of elements with positive values in the first-order difference sequence, the more the number of effective responses, and the better the effect of the electrical stimulation, thereby reducing the subsequent intervention.
[0077] Therefore, in the embodiment of the present application, the sum of the effective response proportions of all channels is taken as a response index, and the ratio of the effective response proportion 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 intervention effect needs to be reduced, and the smaller the ratio, the more unstable the response of the patient to the gastrointestinal electrical stimulation at the positions of all electrodes, and the more the positions need to be intervened. The inverse of the ratio is normalized as the intervention degree of the corresponding channel.
[0078] Since the greater the intervention degree, the less obvious the electrical stimulation effect, in the embodiment of the present application, the electrical stimulation intensity of the channel electrode with the intervention degree greater than the preset intervention threshold can be improved.
[0079] The preset intervention threshold is a threshold value of the intervention degree, and in the embodiment of the present application, the preset intervention threshold can be specifically, for example, 0.7, that is, when the intervention degree is greater than 0.7, the electrical stimulation intensity of the corresponding channel electrode is improved. Specifically, in the embodiment of the present application, the electrical stimulation intensity is mainly improved by improving the stimulation frequency of the electrode.
[0080] In the present application, the gastrointestinal electrical signals of the person to be detected before and after eating are obtained as detection signals, and the standard gastrointestinal electrical signals before and after eating are obtained as comparison signals in the multi-channel mode; the abnormal segments of the signal segments in a single channel are screened through waveform difference and frequency domain feature difference analysis between the detection signals and the comparison signals; then, the real possibility of the abnormal segments being real abnormalities is determined according to the distribution of the starting time points in the analysis group along the physiological transmission direction of the gastrointestinal electrical signals; the real abnormal segments under different channels are determined according to the real possibility; the interference of incidental factors on the identification of real abnormal gastrointestinal signals is excluded through the time-space characteristics of the multi-channel gastrointestinal electrical signals, and more accurate real abnormal segments are determined; then, the recovery period after eating is determined according to the stability of the detection signals in the signal segments before and after eating in different channels; the response degree of the gastrointestinal electrical stimulation in different channels is determined according to the length of the recovery period, the electrical signal range, 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 the previous gastrointestinal electrical stimulations in different channels; the response of different positions is analyzed to obtain the degree of intervention required for the corresponding gastrointestinal region, which provides a reference for adjusting the stimulation frequency of different positions. In summary, through multi-channel and multi-dimensional analysis, the present application can accurately determine the change characteristics of the gastrointestinal electrical signals, accurately obtain the abnormal conditions of the gastrointestinal electrical signals themselves, determine the intervention degree of the gastrointestinal region, and adaptively adjust the stimulation for different persons.
[0081] In another aspect, there is also provided 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, the processor implementing the steps of the adaptive stimulation system based on gastrointestinal electrical signal monitoring when running the computer program.
[0082] It should be noted that the foregoing merely illustrates some embodiments of the application and that not all of the contemplated embodiments are to be described in detail herein. It will be apparent to those having ordinary skill in the art that various changes and modifications can be made thereto without departing from the true spirit and scope of the application. It is to be understood that the foregoing description is by way of example only, and that other embodiments are intended to fall within the scope of the invention.
[0083] The various embodiments in the specification are described in progressive manner, and the same or similar parts between the embodiments can be mutually referred to, and each embodiment mainly explains the difference from other embodiments.
Claims
1. An adaptive stimulation system based on gastrointestinal electrical signal monitoring, characterized in that, include: The acquisition module is used to acquire gastrointestinal electrical signals of the person being tested before and after meals as detection signals in multi-channel mode, and standard gastrointestinal electrical signals before and after meals as comparison signals. The anomaly detection module is used to segment the gastrointestinal electrical signal at the minimum value to obtain signal segments. Based on the waveform differences and frequency domain characteristic differences between the detected signal and the comparison signal in each channel under each signal segment, the abnormal segments in the signal segment of a single channel are screened. The anomaly analysis module is used to determine the true probability that an abnormal segment is a real anomaly based on the distribution of the starting time points along the physiological transmission direction of gastrointestinal electrical signals in the analysis group. Based on the stated probability, determine the actual abnormal segments under different channels; The electrical stimulation analysis module is used to determine the recovery period after a meal based on the stability of the signal segments detected in different channels before and after a meal; and to determine the response degree of gastrointestinal electrical stimulation in different channels based on the duration of the recovery period, the electrical signal range, and the number of true abnormal segments. The adjustment module is used to obtain the intervention level of each electrode channel based on the response level of all previous gastrointestinal electrical stimulations in different channels; and to adjust the intervention of different electrodes according to the intervention level. Specifically, the anomaly analysis module is used for: Using any abnormal segment as a reference segment, other abnormal segments that are closest in time to the reference segment are identified as analysis segments under different channels; the analysis segments before the physiological transmission direction of the reference segment are designated as pre-analysis segments, and the analysis segments after the physiological transmission direction of the reference segment are designated as post-analysis segments. Determine the start time points of the reference segment and the analysis segment; determine the first number of start time points in the preceding analysis segment that are earlier than the reference segment, and the second number of start time points in the following analysis segment that are later than the reference segment, and take the sum of the first number and the second number as the true number of anomalies; The percentage of the actual anomalies in all analysis segments is determined as the true probability. Anomalies with a true probability greater than a preset probability threshold are considered true anomalies.
2. The adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in claim 1, characterized in that, Based on the waveform differences and frequency domain characteristic differences between the detected signal and the comparison signal in each channel of each signal segment, abnormal segments in a single channel are screened, including: Calculate the dtw value of the detected signal and the comparison signal within the same channel as an index of waveform difference; Perform a Fourier transform on any signal segment to obtain the frequency domain power spectrum corresponding to the signal segment, and mark the point with the largest power value as the main peak point of the signal segment to determine the power value at the main peak point; The average power value of the main peak point of the signal segment of all the 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. Calculate the product of the waveform difference index of the detected signal and the power anomaly index of the signal segment, and normalize it as an anomaly judgment factor. Signal segments whose anomaly judgment factor is greater than a preset anomaly threshold are considered as anomaly segments.
3. The adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in claim 1, characterized in that, Each electrode corresponds to a channel. 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 as described in claim 2, characterized in that, Based on the stability of the signal detected by different channels before and after the meal, the recovery period after the meal is determined, including: The mean of the anomaly judgment factors for all signal segments except the abnormal segment before the meal is calculated as the anomaly coefficient. Signal segments whose post-meal anomaly judgment factor is greater than the anomaly coefficient are designated as recovery segments; all recovery segments of each channel are combined to form the recovery time period of the corresponding channel.
5. The adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in claim 1, characterized in that, The response level of gastrointestinal electrical stimulation in different channels was determined based on the duration of the recovery period, the electrical signal range, and the number of true abnormal segments, including: The duration of the recovery period, the electrical signal range, and the number of actual abnormal segments are all negatively correlated with the response level, and the response level is a normalized value.
6. The adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in claim 1, characterized in that, Based on the response levels of all previous gastrointestinal electrical stimulations in different channels, the intervention level of each electrode channel is obtained, including: The response levels of all gastrointestinal electrical stimulations in the same channel are sorted in time sequence to obtain the 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 percentages of effective responses from all channels is used as the response metric. The ratio of the effective response percentage to the response index for any channel is normalized by taking the negative of the ratio as the intervention level for the corresponding channel.
7. The adaptive stimulation system based on gastrointestinal electrical signal monitoring as described in claim 1, characterized in that, The intervention is adjusted for different electrodes according to the degree of intervention, including: Increase the electrical stimulation intensity of the channel electrode when the intervention level exceeds a preset intervention threshold.
8. 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, it implements the steps of the system as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Abnormal time sequence segment determination method and apparatus, and electronic device
CN117272088A
Data processing method and device, computer readable storage medium and computer equipment
CN117457024A