Electrical stimulation device for task-based acquisition of electrical stimulation sequences for intercortical evoked potentials

By constructing functionally related channel sets and sorting brain electrical activations to generate electrical stimulation sequences, we solve the problems of quickly obtaining electrical stimulation results and managing stimulation artifacts in intercortical evoked electrical stimulation technology, and achieve efficient electrical stimulation in lesion resection surgery. Stimulate data acquisition and progress assessment.

CN118356202BActive Publication Date: 2024-08-27MORMA MEDICAL SCI & TECH (SHANGHAI) LTD CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410796432.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-08-27
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

The existing intercortical evoked electrical stimulation technology is difficult to quickly obtain the electrical stimulation results of the area of ​​interest during lesion resection, and the electrical stimulation sequence setting method is difficult to apply to small-scale intercortical evoked electrical stimulation, especially when determining whether the brain functional area There are time constraints and stimulation artifact issues when resection is allowed.

Method used

By constructing a functionally related channel set, sorting channels according to the brain electrical activation of the task, generating a preset electrical stimulation sequence, and adjusting the electrical stimulation sequence according to the stimulation artifact status during the operation, ensuring that key channels are given priority to complete electrical stimulation and reducing operation time .

Benefits of technology

It achieves the acquisition of more useful electrical stimulation data in a shorter period of time, determines whether the location of the channel affects function and whether resection is allowed, saves surgical time, and optimizes electrical stimulation progress assessment and artifact management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118356202B
    Figure CN118356202B
Patent Text Reader

Abstract

The present invention belongs to the field of physiological electrical signal technology processing, and specifically relates to an electrical stimulation device for cortical evoked electricity based on task acquisition of electrical stimulation sequences, constructing a plurality of functionally related different channel set sorting, that is, the channels in any channel set that have not performed electrical stimulation obtain the candidate values ​​of the channel set according to the EEG activation of the task, sorting the candidate values ​​corresponding to different channel sets, and obtaining the sequence of the channel sets to which they belong; sorting the channels according to the EEG activation of the task; and using the sorted channel sequence as a preset electrical stimulation sequence for cortical evoked electricity. It can not only characterize the correlation of channels in different functional areas, but also display the importance of channels in functional areas, and more objectively guide doctors to obtain more useful electrical stimulation data in a shorter surgical time to determine whether the location of the channel affects the function and whether resection is allowed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of physiological electrical signal technology processing, and in particular relates to an electrical stimulation device for obtaining intercortical induced electricity based on a task-based electrical stimulation sequence. Background Art

[0002] Cortico-cortical evoked potentials (CCEP, referred to as cortical evoked potentials) can verify the coverage area of ​​the epileptogenic network, especially in lesion resection surgery to avoid miscutting brain tissue that affects function in functional areas. Doctors generally traverse each pair of adjacent electrodes on the electrode sheet (corresponding to the channel in this case) and apply repeated current stimulation to obtain the overall results to determine the relationship between the stimulation site (cortex) and the recording site (cortex). The specific stimulation scheme is as follows: for example, a single pulse stimulation of 10mA is used, and the number of repetitions = 20. Step 1: Apply current to a certain electrode (pair) on the cortical electrode sheet for stimulation; Step 2: Record the signal of the electrode on the cortical electrode sheet; Step 3: Each electrode superimposes and averages the waveforms of multiple stimulations; Step 4: Calculate the Z score of the waveform of each electrode on the cortical electrode sheet after superimposing and averaging; Step 5: Display the network composed of electrodes with Z scores > 6 and stimulating electrodes; Step 6: Apply current to other electrodes (pairs) on the cortical electrode sheet for stimulation, and repeat steps 1 to 5, and display different networks in the results in different colors on the same brain model to form a brain network.

[0003] Doctors hope to get the results of electrical stimulation of the area of ​​interest quickly in a short time so as to carry out the subsequent surgery. However, in the intraoperative scenario, time is tight and it is difficult to traverse every pair of adjacent electrodes on the electrode sheet. Therefore, it is particularly important to preset the electrical stimulation sequence according to the surgical requirements before the operation or to adaptively adjust the electrical stimulation sequence according to the progress of the operation during the operation.

[0004] For example, patent number CN104978035B discloses a brain-computer interface system and implementation method thereof based on somatosensory electrical stimulation to induce P300, which discloses encoding and generating an electrical stimulation sequence according to stimulation at different positions on the human body surface, and controlling the output of electrical stimulation to the array-type electrical stimulation electrodes according to the electrical stimulation sequence, and the electrical stimulation is transmitted to different positions on the human body via the array-type electrical stimulation electrodes. Although this method involves a method for setting an electrical stimulation sequence, it does not mention the problem of stimulation artifacts. For example, in segment 0049, the electrical stimulation intensity is 1.4±0.1mA and the duration is 1ms. There are 4 stimulation coding sequences, each sequence includes 6 rounds, each round has 4 trials, the stimulation interval is 800ms, the stimulation sequence is random, and the user is required to pay attention to the target stimulation before the stimulation starts. For example, in case of A, the user pays attention to the electrical stimulation transmitted to the little finger of the left hand and ignores the stimulation of the other three fingers. The four types A, B, C, and D each serve as a target stimulus once. The main reason is that electrical stimulation is transmitted to different parts of the human body via array electrical stimulation electrodes, including the hands, feet, upper limbs, lower limbs, and other parts of the trunk. However, these parts are far away, and there is basically no functional correlation, and there is no need to perform the task. The importance of the EEG activation to determine the channel position is not important. Therefore, this method of setting the stimulation sequence is difficult to apply to a small range of cortical evoked potentials, especially in lesion resection surgery, to determine whether important parts of the brain functional area are allowed to be resected by channel position. Summary of the invention

[0005] The present invention provides an electrical stimulation device for obtaining intercortical evoked electricity based on a task-based electrical stimulation sequence.

[0006] In order to solve the above technical problems, the present invention provides an electrical stimulation device for cortical evoked electricity, including: a processor, used to obtain a preset electrical stimulation sequence for cortical evoked electricity; a human-computer interaction module, used to set the electrical stimulation sequence for cortical evoked electricity; an electrical stimulation module, which performs electrical stimulation on a channel through an electrical stimulation switching switch; wherein obtaining the preset electrical stimulation sequence for cortical evoked electricity includes: constructing a plurality of different functionally related channel sets; sorting the channel sets, that is, for a channel in any channel set that has not been electrically stimulated, obtaining alternative values ​​of the channel set according to the EEG activation degree of the task, sorting the alternative values ​​corresponding to different channel sets, and obtaining a sequence of the channel sets to which they belong; sorting the channels according to the EEG activation degree of the task; and using the sorted channel order as the preset electrical stimulation sequence for cortical evoked electricity.

[0007] Furthermore, constructing different channel sets related to multiple functions includes: obtaining an initial channel set related to any function; comparing multiple initial channel sets related to multiple functions; avoiding duplicate channels, that is, selecting one of the duplicate channels and incorporating it into the initial channel set to which it belongs, to obtain different channel sets related to multiple functions, so that there are no duplicate channels between the channel sets.

[0008] Furthermore, the preset electrical stimulation sequence for obtaining intercortical evoked electricity also includes adjusting the preset electrical stimulation sequence according to the stimulation artifact state of the channel after the electrical stimulation; the adjustment of the preset electrical stimulation sequence includes: step S1, selecting the electrical stimulation channel to perform the initial electrical stimulation; step S2, detecting in sequence according to the channel set sorting whether the channels in each channel set meet the stimulation artifact state requirements; if the requirements are met, selecting the channel in the channel set according to the channel sorting to perform electrical stimulation; if the requirements are not met, leaving it vacant; repeating step S2 until the channel reaches the set number of electrical stimulations.

[0009] Furthermore, the channel sorting also includes: the physical distance of the channel from the lesion area, that is, the channel sets related to the same function are sorted in sequence according to the inside, boundary, and outside of the lesion area as the second channel subset>the third channel subset>the first channel subset.

[0010] Furthermore, the method for acquiring the EEG activation degree includes: dividing the EEG signal segments, that is, dividing the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; acquiring data features, that is, calculating the data features of the baseline segment and the task segment respectively; testing the difference in the distribution of the data features of the task segment and the baseline segment, forming a test matrix whose dimensions respectively represent the channel and the task time, so as to characterize the EEG activation degree of each channel when performing the same task.

[0011] Furthermore, it also includes a progress evaluation module, which evaluates the progress of electrical stimulation according to the EEG activation degree of the channel that has not been electrically stimulated.

[0012] Furthermore, it also includes a prompt module for prompting the channel for performing the next electrical stimulation.

[0013] In a second aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to obtain a preset electrical stimulation sequence for cortical evoked electricity; obtaining the preset electrical stimulation sequence for cortical evoked electricity comprises: constructing a plurality of different functionally related channel sets; sorting the channel sets, i.e., obtaining alternative values ​​of the channel set for channels in any channel set that have not been electrically stimulated according to the EEG activation of the task, sorting the alternative values ​​corresponding to different channel sets to obtain a sequence of the channel sets to which they belong; sorting the channels according to the EEG activation of the task; and using the sorted channel order as the preset electrical stimulation sequence for cortical evoked electricity.

[0014] In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer program, when executed by a processor, obtains a preset electrical stimulation sequence for cortical evoked electricity; obtaining the preset electrical stimulation sequence for cortical evoked electricity includes: constructing a plurality of different functionally related channel sets; sorting the channel sets, i.e., obtaining alternative values ​​of the channel set for the channels in any channel set that have not performed electrical stimulation according to the EEG activation degree of the task, sorting the alternative values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; sorting the channels according to the EEG activation degree of the task; and using the sorted channel order as the preset electrical stimulation sequence for cortical evoked electricity.

[0015] In a fourth aspect, the present invention provides a computer program product, which, when executed by a processor, obtains a preset electrical stimulation sequence for cortical evoked electricity; obtaining the preset electrical stimulation sequence for cortical evoked electricity includes: constructing a plurality of different functionally related channel sets; sorting the channel sets, that is, obtaining alternative values ​​of the channel set for channels in any channel set that have not performed electrical stimulation according to the EEG activation of the task, sorting the alternative values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; sorting the channels according to the EEG activation of the task; and using the sorted channel order as the preset electrical stimulation sequence for cortical evoked electricity.

[0016] The beneficial effect of the present invention is that the electrical stimulation device of the present invention first establishes a set of function-related channels, and then sorts the channels in the channel set according to the EEG activation of the task being performed; the sorted channel order is used as a preset electrical stimulation sequence before surgery. The electrical stimulation sequence of the channels is formed using the EEG activation of the task being performed, which can display the importance of the channels in the functional areas, and more objectively guide doctors to obtain more useful electrical stimulation data within a shorter surgical time, so as to determine whether the location of the channel affects the function and whether resection is allowed. It is even possible to evaluate the progress of electrical stimulation of the functional areas based on the EEG activation before or during surgery, terminate or adjust the channels in certain functional areas, and adjust the preset electrical stimulation sequence to save surgical time.

[0017] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the present invention. The objects and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings. In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the following is a detailed description of the preferred embodiments in conjunction with the attached drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 It is a flow chart of the single function acquisition electrical stimulation sequence of the present invention.

[0020] Figure 2 It is a flow chart of the multifunctional acquisition electrical stimulation sequence of the present invention.

[0021] Figure 3 It is a CCEP waveform diagram of stimulation electrode i when other stimulation electrodes of the present invention perform electrical stimulation.

[0022] Figure 4 It is a CCEP waveform diagram of stimulation electrode j when other stimulation electrodes of the present invention perform electrical stimulation.

[0023] Figure 5 It is a schematic diagram of the position of the electrodes in the lesion area of ​​the present invention.

[0024] Figure 6 Schematic diagram of the electrical stimulation device of the present invention.

[0025] Figure 5 middle:

[0026] Electrode sheet 1, first channel subset 11, second channel subset 12, third channel subset 13;

[0027] Lesion area 2. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] Example 1.

[0030] In epilepsy lesion resection surgery, brain functional areas can be located through existing methods such as diffusion tensor imaging (DTI), electrical stimulation (ESM), and online spatial-temporal functional mapping. Then, cortical-cortical evoked potentials (CCEP, referred to as cortical-cortical evoked potentials) can be used to study the epileptogenic network or avoid miscutting brain tissue that affects function in functional areas. However, there has been no unified standard for how to determine the electrical stimulation sequence of channels (also called electrodes in this case) in cortical-cortical evoked potentials, and it often depends on the doctor's own experience. As mentioned earlier, in order to avoid miscutting, all electrodes on the electrical stimulation electrode sheet are generally traversed. In view of this, see Figure 1-Figure 5 , this embodiment 1 provides a method for obtaining an electrical stimulation sequence based on a task, so as to obtain a preset electrical stimulation sequence for cortical evoked electricity. Specifically, it includes: constructing a set of function-related channels; sorting the channels according to the EEG activation of the task; and using the sorted channel order as the preset electrical stimulation sequence for cortical evoked electricity. Generally, there is only one channel set for a single function-related channel by default. A channel set can be determined by executing a task, and then the channel set can be sorted forward or reversely according to the EEG activation of the task. The most important or most relevant channel in the function is determined, and electrical stimulation is performed first; its essence is to comprehensively consider the dual combination of functional importance and channel importance. In actual operation, the operation time can also be set according to the preset electrical stimulation sequence, or during the operation, the electrical stimulation related to a certain function can be terminated at any time according to the EEG activation.

[0031] Optionally, the channel sorting includes: sorting the EEG activation of each channel in the same channel set when performing the same task to obtain a sequence of corresponding channels. For example, the channel sorting of channel set A related to function A is set to A. 1 >A 2 >A 3 >A n , first in channel A 1 Perform the first electrical stimulation A 1 , according to the channel sorting, channel A is preferred 1 Perform the second electrical stimulation A 1 , instead of in channel A 2 or Channel A 3 or Channel A n When performing the first electrical stimulation, only when channel A 1 Electrical stimulation A 1 Channel A will be selected only when the number of electrical stimulations reaches the set number. 2 Perform the first electrical stimulation A 2This ensures that the key channels related to the function are electrically stimulated first, and ensures the effectiveness of the electrical stimulation data in determining whether the function-related parts should be removed.

[0032] Usually, doctors are more concerned about what functions the brain tissue near the lesion is responsible for, and combine the results of cortical evoked electricity to confirm whether to remove part of the current non-severely diseased brain tissue to prevent postoperative recurrence. Therefore, on the basis of the above sorting, the channels can also be sorted according to the physical distance from the lesion area, or separately, with the lesion as the center. First, determine the center of the lesion or the range of the lesion, and then calculate the physical distance from each channel to the center of the lesion, and generate an electrical stimulation sequence from near to far. For details, see Figure 5 , the electrode sheet 1 covers the lesion area 2, and the channel set related to the same task is divided into the first channel subset 11, the second channel subset 12, and the third channel subset 13 according to the inside, boundary, and outside of the lesion area. Since the distance between the channel falling in the lesion area and the lesion is considered to be a negative number and does not participate in electrical stimulation, which can save surgical time, the sorting standard is configured as the second channel subset> the third channel subset> the first channel subset, and then the channels in each channel subset are sorted according to the distance to the lesion area or the EEG activation degree of the task.

[0033] As an optional implementation of the EEG activation of the task.

[0034] The method of obtaining the EEG activation degree of the task includes: dividing the EEG signal segments, that is, dividing the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; obtaining data features, that is, calculating the data features of the baseline segment and the task segment respectively; testing the difference in the distribution of the data features of the task segment and the baseline segment, forming a test matrix whose dimensions represent the channel and task time respectively, so as to characterize the EEG activation degree of each channel when performing the same task.

[0035] Optionally, the set task is configured as at least one of an initial electrical stimulation, a preset task, and a historical task. Preferably, the channel position of the initial electrical stimulation is configured to be outside the lesion area and close to the boundary between the lesion area and the functional area, which may be the brain tissue closest to the center of the lesion and which must be determined whether to be removed.

[0036] Optionally, in this case, the EEG activation of the channel is, for example, but not limited to, the high gamma activation level. First, the doctor locates the high-frequency brain functional area online in the time and space domains for the patient, obtains the high gamma activation level of the electrodes and sorts them, and uses them as the stimulation sequence of CCEP. Since high gamma and CCEP are reused on the device, and the two have similar functions (it can be intuitively understood that the channels that are ranked at the front in the high gamma activation level are also the parts that doctors need to pay attention to in CCEP), each has its own advantages and disadvantages in details. Therefore, the high gamma activation level is used to guide the electrical stimulation sequence in the functional positioning results. The weighted results of the two are closer to the gold standard ESM, and also avoid long-term task requirements. Since the task relevance is used to determine whether the channel needs to be electrically stimulated, it is allowed to stimulate only some electrode pairs or terminate the CCEP process in advance, which can save surgical time while also obtaining the position results that doctors are more concerned about.

[0037] Of course, the high gamma activation degree ranking can also be the high gamma result of known conditions, which can be the result of performing tasks on each stimulation electrode, or the doctor's judgment based on experience. For example, patent number CN117952195A-Brain network construction method and display device based on task-related EEG activation degree discloses a method for constructing a test matrix, which characterizes the EEG activation degree of each channel during the task time through the test matrix or the spatial matrix obtained therefrom.

[0038] Figure 2 It is a flow chart of the multifunctional acquisition electrical stimulation sequence of the present invention.

[0039] As an optional implementation of multi-channel set sorting.

[0040] Firstly, a plurality of different function-related channel sets are constructed, including: obtaining an initial channel set related to any function; comparing a plurality of function-related initial channel sets; avoiding duplicate channels, that is, including duplicate channels into their corresponding initial channel sets according to their EEG activation levels when performing different functions, to obtain a plurality of channel sets related to different functions, so that there are no duplicate channels between the channel sets.

[0041] Optionally, the initial channel set related to any function can be obtained before surgery through a variety of brain function localization technologies, such as diffusion tensor imaging (DTI), electrical stimulation (ESM), online high-frequency brain functional area localization in time and space (Online Spatial-Temporal Functional Mapping), cortical-cortical evoked potential (CCEP, referred to as cortical evoked potential), etc. to locate the brain functional area, and then different electrical stimulation channels are regarded as or divided into the same functionally related initial channel set according to the brain functional area or functional correlation, as shown in Table 1.

[0042] Table 1 Comparison of existing positioning technologies

[0043] .

[0044] Of course, the initial set of channels related to the same function can also be deleted or added through the doctor's experience settings (such as the desired focus location, lesion area or lesion adjacent area, etc.) or other methods (such as known brain functions) to obtain multiple channel sets related to different functions. In addition, the initial set of functionally related channels can also be obtained during electrical stimulation during surgery, that is, the EEG activation of each channel is obtained through the initial electrical stimulation, and the functional relevance of the channel is obtained by using the EEG activation, or the functional area where the channel is located is combined to form a set of channels related to the functional task. In the actual surgical process, the initial electrical stimulation may not necessarily obtain the EEG activation of all channels. Doctors usually stimulate a series or part of the points according to the situation and ask the patient to do simple tasks (such as counting) at the same time to obtain the initial effective electrical stimulation results and their corresponding EEG activation.

[0045] Secondly, since intercortical evoked electrical stimulation is to apply multiple repeated electrical stimulations to the channels but no tasks are required, there are often duplicate channels between the initial channel sets related to different functions, which is not suitable for intercortical evoked electrical stimulation. Therefore, it is necessary to further process the initial channel set. First, the channel sets related to different functions must be determined and it must be ensured that there are no duplicate channels in each channel set. In the actual processing process, there are many ways to avoid duplicate channels. For example, the initial channel sets related to different functions can be compared upwards according to the sorting method of the channel sets. First, obtain the initial channel set A′={A 1 , A 2 , A 3 ,..A n}, the initial channel set B′ connected by function B = { B 1 , B 2 , B 3 .. B m}, the initial channel set C′ connected by function C = { C 1 , C 2, C 3 , .. C x}, and the order of the channel sets is set to be initial channel set A′>initial channel set B′>initial channel set C′. When comparing multiple functionally related initial channel sets, for example, using a pairwise comparison method, taking initial channel set A′ as a reference, assuming that channel A 1 With channel B 2 If there are duplicates, take the difference between the initial channel set B′ and the initial channel set A′ (if there are duplicate channels, they can be placed in channel set A or channel set B), and get the channel set A associated with function A = {A 1 , A 2 , A 3 ,..A n}, the channel set B associated with function B = { B 1 , B 3 .. B m},; Assume that channel C 1 With channel A 1 Repeat, Channel C 2 With channel B 1 Repeat, then take the difference between the initial channel set C′ and (the union of the initial channel set A′ and the initial channel set B′), then the channel set C associated with function C = {C 3 , .. C x}, and so on, to construct a set of channels related to all functions. If the difference between the initial channel set C′ and (the union of the initial channel set A′ and the initial channel set B′) is zero, then the channels associated with function C are included in other channel sets or as channel set C, and then it is necessary to delete duplicate channels in other channel sets. It is also possible to compare all the channel sets related to different functions, and then divide the initial channel set into single-function channel subsets (i.e., a channel set related only to a single function) and multi-function channel subsets (i.e., a channel set related to multiple functions at the same time, which is part of the repeated channels in the pairwise comparison) according to the functional relevance of the channels, sort the single-function channel subsets according to the channel sets to form a sequence of channel sets, and select one of the multi-function channel subsets to be included in the corresponding single-function channel subsets (belonging to the same channel set). For example, the initial channel set A′ is divided into single-function channel subsets A′′={A 1 , A 2 , A 3} and the multifunctional channel subset A′′′={A 4 , A 5 ,..A n}; Divide the initial channel set B′ into single-function channel subsets B′′={B 1 , B 2 , B 3} and the multifunctional channel subset B′′′={B 4 , B 5 , .. B n}; Divide the initial channel set C′ into single-function channel subsets C′′={C 1 , C 2 , C 3} and the multifunctional channel subset C′′′={C 4 , C 5 , .. C n}; Then sort the channel sets of single-function channel subset A′′, single-function channel subset B′′, and single-function channel subset C′′, and then select one of the repeated channels in multi-function channel subset A′′′, multi-function channel subset B′′′, and multi-function channel subset C′′′ to be included in the corresponding channel set (that is, the multi-function channel subset and the single-function channel subset belong to the same initial channel set). For example, the single-function channel subset A′′ is included in the channel set A, the single-function channel subset B′′ is included in the channel set B, and the repeated channels of the multi-function channel subset B′′ and the multi-function channel subset A′′ are included in the channel set A or the channel set B. If the multi-function channel subset does not have a corresponding single-function channel subset, it can be independently set as a function-related channel set by pairwise comparison. For the channels in the multi-function channel subset, according to the EEG activation corresponding to the execution of different tasks, according to the function corresponding to the highest EEG activation value, the channel can be classified or independently set in the function-related channel set.

[0046] Finally, when there are multiple different function-related channel sets, the channel sets are sorted. The channel set sorting includes: obtaining candidate values ​​of the channel set according to the EEG activation of the task for the channels that have not been electrically stimulated in any channel set, such as but not limited to the proportion of the number of channels that have not been electrically stimulated in the channel set related to the same function or the maximum EEG activation of the channels that have not been electrically stimulated when performing the same task as the candidate value; sorting the candidate values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong.

[0047] When the operation time is sufficient, each channel will eventually repeat the set number of electrical stimulations. However, when the operation time is tight or temporarily interrupted, the overall progress of the operation or the determination of the brain tissue that needs to be removed for each function must be considered. Therefore, the set of channels that are prioritized for electrical stimulation can be adjusted according to the situation of the channels that have not been electrically stimulated. For example, if the EEG activation of the channels that have not been electrically stimulated is high, it means that the important tissues in this functional area have not been confirmed whether they can be removed and need to be confirmed first. For another example, if the number of channels that have not been electrically stimulated accounts for a high proportion of the set of channels related to the same function, it means that the progress of the tissue resection surgery in this functional area is slow and it also needs to be prioritized to ensure that each functional area can meet the basic resection requirements to meet the requirements for lesion resection.

[0048] Generally speaking, before the operation, the doctor will sort the channel set according to the purpose of the operation or the importance of the functional area, so that the more important brain functional areas can be located preferentially during the operation. Since the task is set according to the required function, in order to determine whether the function is allowed to be removed at the electrode position, since it is impossible to verify one by one whether the position is also related to other functions, the electrical stimulation results are generally only verified for the electrodes and nearby positions that cannot be removed. Although individuals are different, the approximate range of brain functional areas is basically determined. For example, the purpose of the task is to determine the unresectable parts related to language function, and most of the channel positions related to the task will fall into the language functional area, and it is also possible to partially fall into the motor imagination functional area. At this time, when performing electrical stimulation, the channel located in the language functional area is preferred because the channel is theoretically more related to the language function. Therefore, in addition to considering the EEG activation of the channel that has not been electrically stimulated, the criteria for sorting the channel set also include but are not limited to the importance of the functional area, the core area of ​​the doctor's attention, the physical distance of the channel position from the center of the lesion, the functional area where the channel position is located, the number of channels involved in the stimulation or the proportion of channels, and the specification of certain rules. It is usually related to the physical position and number of the channels on the electrode sheet, which can be common orders such as clockwise, counterclockwise, row order, column order, etc. Before the stimulation begins, the doctor manually sets the number of channels involved in the stimulation or the channel ratio, or specifies a certain rule so that some channels do not participate in the electrical stimulation, forming a specific channel set sorting scheme. No matter which scheme is chosen, the actual surgical time will be shortened.

[0049] In addition, the electrical stimulation order of the channels is set using a multi-level sorting method in combination with function-related channels to generate a preset electrical stimulation sequence. The default priority of the channel for executing electrical stimulation is channel set sorting > channel sorting, but there is no absolute relationship between the priorities. The human-computer interaction module can be used to turn off or adjust the priority of any sorting before or during surgery. Of course, during the electrical stimulation process, the doctor can also manually stop electrical stimulation for any channel according to the function or task-related channel situation, and only obtain the results of the channel that has currently executed electrical stimulation, further reducing the operation time.

[0050] To summarize, in this case, the associated channels corresponding to the functions were first determined through the same functions, the channel set was sorted according to the maximum values ​​of the EEG activation levels of different tasks, the channel sorting was formed according to the EEG activation levels of the same tasks, the electrical stimulation order of the channels in each channel set was determined, and finally a preset electrical stimulation sequence for intercortical evoked potential was formed.

[0051] As an optional implementation of adjusting the preset electrical stimulation sequence.

[0052] In cortical evoked electrical activity, electrical stimulation often needs to be repeated multiple times on a certain channel (such as repeating the operation 20 times). After electrical stimulation is performed on a certain channel, there are different degrees of stimulation artifacts on the channel and other functionally related channels (which may belong to the same channel set or different channel sets). Because the effective component of the post-stimulation signal to be observed has a short duration and weak signal amplitude, and the stimulation artifact has a long duration, strong artifact degree, and large amplitude, it has a great impact on the overall signal. At the same time, there is no more effective method for removing stimulation artifacts. For example, it is difficult to fit the stimulation artifact by grasping the law of the stimulation artifact, or it is difficult to remove the stimulation artifact without affecting the effective component after the stimulation to be observed. If electrical stimulation is continued, it will affect the judgment of the cortical evoked electrical signal on the brain functional area, which can easily lead to misjudgment. Therefore, it is generally necessary to wait for the stimulation artifact to be eliminated before the next stimulation, and then observe and obtain the effective component after the next stimulation. For example, stimulating electrode 1 and repeating the electrical stimulation 20 times, waiting for the stimulation artifact to be eliminated; stimulating electrode 2 and repeating the electrical stimulation 20 times, waiting for the stimulation artifact to be eliminated; stimulating electrode 3 and repeating the electrical stimulation 20 times, waiting for the stimulation artifact to be eliminated; stimulating electrode 4 and repeating the electrical stimulation 20 times, waiting for the stimulation artifact to be eliminated…, which seriously wastes the surgical time.

[0053] Therefore, the preset electrical stimulation sequence can be adjusted according to the stimulation artifact state of the channel after electrical stimulation. Specifically, the adjustment of the preset electrical stimulation sequence includes: step S1, selecting the electrical stimulation channel to perform the initial electrical stimulation; step S2, sequentially detecting whether the channels in each channel set meet the stimulation artifact state requirements according to the channel set sorting; if the requirements are met, selecting the channels in the channel set according to the channel sorting to perform electrical stimulation; if the requirements are not met, leaving them vacant; repeating step S2 until the channel reaches the set number of electrical stimulations.

[0054] Optionally, the stimulation artifact state includes at least one of stimulation artifact duration and stimulation artifact intensity.

[0055] In this case, the duration of the stimulation artifact and the intensity of the stimulation artifact are generally set with corresponding thresholds based on the empirical values ​​of electrical stimulation, and can be used alone or in combination as detection criteria for the state of the stimulation artifact. For example, it is possible to compare whether the baseline of the current signal returns to a known baseline level when no stimulation is applied. Similarly, the use of indicators such as mean, volatility, difference between maximum and minimum values, and spectrum can be similarly achieved. In particular, the stimulation artifact in CCEP is generated by hardware (related devices on the stimulator used to apply stimulation current), so the duration is usually relatively fixed, and the guidance value of the stimulation artifact duration can also be measured in advance before the equipment is produced. Usually, this parameter will not change in clinical scenarios.

[0056] For example, see Figure 3 and Figure 4 (In the two figures, the horizontal axis is the time dimension, and the vertical axis is the waveform amplitude). It is judged through known conditions that when the stimulation electrode i (which can be understood as a single-channel electrode or a channel in a multi-channel electrode) and the stimulation electrode j perform the same electrical stimulation on other stimulation electrodes, their CCEP waveforms are not at the same time in the time dimension. The stimulation artifacts between the two will not cause cross-influence on the data processing results. It can be considered to perform electrical stimulation on the stimulation electrode i and the stimulation electrode j alternately and repeat 20 times to save time waiting for the elimination of the stimulation artifacts. Specifically, when other stimulations perform electrical stimulation, if the waveforms induced by the two stimulation electrode pairs (assuming that the electrodes appear in pairs, one positive and one negative) (i.e., CCEP waveforms) are linearly related in the time dimension, that is, the time difference between the two waveforms after the nth stimulation is still equal to the time difference between the two waveforms after the first stimulation. The results will not affect each other because the CCEP waveform can basically be considered to appear fixedly within a certain period of time after the stimulation, and the shape of the wave is also basically fixed. Therefore, as long as the CCEP waveforms of the two electrode pairs are not at the same time in the time dimension, but in a sequence, then the CCEP waveform can be judged based on the time period after the stimulation to determine which pair of electrodes induced the waveform, and the stimulation artifact will not affect the processing and judgment of the CCEP waveform. If the duration of the stimulation artifact is greater than the time interval between the alternating electrical stimulations between different electrodes, the intensity threshold of the stimulation artifact can be used to determine whether to continue waiting, or to allow more CCEP waveforms that are not at the same time in the time dimension to cross-stimulate the electrodes, so that the time interval between the alternating electrical stimulations is not less than the time to wait for the elimination of the stimulation artifact.

[0057] For example, the duration of the stimulation artifact is used as the detection standard of the stimulation artifact state. Taking the channel set A related to function A as the benchmark, 1 Perform the first electrical stimulation A 1; Since all channels in channel set A are associated with function A, it can be determined that all channels in channel set A have electrical stimulation A at the same time. 1 Stimulus artifact A 1 , the CCEP waveforms of the channels in channel set A are at the same time in the time dimension, and they all do not meet the requirements of the stimulation artifact state. If the channel set B related to function B contains a single-function channel subset B′′, then since the single-function channel subset B′′ is irrelevant to function A, it is assumed that the CCEP waveforms of the channels in the single-function channel subset B′′ and the channels in the channel set A are not at the same time in the time dimension. At this time, for channel B on the single-function channel subset B′′ 1 Cross-over electrical stimulation B 1 After that, the time interval of equal cross-electric stimulation is greater than the stimulation artifact A 1 After the duration of 1 Perform the second electrical stimulation A 1 When channel A 1 Perform electrical stimulation A 1 After the number of electrical stimulations reaches the set number, channel A 2 Perform the first electrical stimulation A 2 .

[0058] Of course, if the channel set B related to function B contains the multifunctional channel subset B''', for example, there is a channel in the multifunctional channel subset B''' that is related to both function A and function B, but because the EEG activation of this channel is greater when performing task B than when performing task A, it is considered that this channel is more related to function B and is therefore included in the channel set B. At this time, the CCEP waveform of this channel is the same as that of channel A. 1 In the time dimension, at the same moment, the next electrical stimulation can be skipped by detecting the state of the stimulation artifact. For another example, the intensity of the stimulation artifact is used as the detection standard of the state of the stimulation artifact. Taking channel set A as the reference, 1 Perform the first electrical stimulation A 1 ; Since all channels in channel set A are associated with function A, it can be determined that all channels in channel set A have some effect on the electrical stimulation A. 1 Stimulus artifact A 1 However, due to the different stimulus artifact intensities of each channel in channel set A, some channels may be less than the stimulus artifact intensity threshold, such as channel A 2 Meet the requirements of the stimulation artifact state. At this time, channel A can be sorted first according to the channel set. 2 Perform the first electrical stimulation A 2 , instead of channel B on channel set B 1 Cross-over electrical stimulation B 1 , and there is no need to wait for the stimulation artifact duration.

[0059] By sorting the channels according to the state of the stimulation artifact, it can be ensured that the channel of the next electrical stimulation is not at the same time as the CCEP waveform of the previous electrical stimulation in the time dimension, which can avoid the stimulation artifact from misjudging the data processing and results of the CCEP waveform. However, as the operation progresses, the number of electrical stimulations performed on each channel may be inconsistent. For example, as mentioned above, the channels are sorted according to the functionally related sets, that is, channel set A>channel set B>channel set C. In the first cycle of electrical stimulation, channel A is stimulated. 1 , Channel B 1 , Channel C 3 Each of them performs electrical stimulation once; in the second cycle, channel A may 1 Electrical stimulation cannot be performed yet. At this time, channel B 1 Perform the second electrical stimulation; or if the first cycle has not yet stimulated channel C 3 Perform electrical stimulation while channel A 1 The stimulation artifact state requirements have been met, and channel A is executed first 1 The electrical stimulation of the channels that have not been stimulated leads to different times of electrical stimulation for each channel, that is, the confirmation progress of the pre-resection tissues related to different functions is inconsistent. Therefore, it is particularly important to evaluate the progress of electrical stimulation according to the EEG activation of the channels that have not been stimulated during the operation, so as to dynamically adjust the channel set to ensure the overall completion of the operation.

[0060] Of course, no matter whether the function-related channel set contains a single-function channel or a multi-function channel, the stimulation artifact state detection can be used to determine whether the channel executes or skips the next electrical stimulation. It is just that in principle it can be expressed as a single-function channel subset or a multi-function channel subset. Preferably, the channel set can also be divided into a single-function channel subset and a multi-function channel subset in advance, and during the operation, the stimulation artifact state is detected for the channels in the multi-function channel subset, and the next electrical stimulation is directly performed for the channels in the single-function channel subset without detecting the stimulation artifact state.

[0061] Example 2.

[0062] Based on Example 1, this Example 2 provides an electrical stimulation device for cortical evoked electricity, including: a processor for obtaining an electrical stimulation sequence for cortical evoked electricity; a human-computer interaction module for setting an electrical stimulation sequence for cortical evoked electricity; and an electrical stimulation module for performing electrical stimulation on corresponding channels through an electrical stimulation switching switch.

[0063] Optional, see Figure 6, the electrical stimulation device for cortical inter-evoked electricity mainly includes three parts: the host computer, the slave computer, and the hardware (i.e., the cortical electrical stimulator). The sending of the electrical stimulation sequence includes the entire process from the operation interface of the host computer software to the analog switch of each electrode in the cortical electrical stimulator. The specific working principle is as follows: the user selects or sets the priority of electrical stimulation on the operation interface of the host computer software, such as the channel set sorting and the specific method of channel sorting, and generates a preset electrical stimulation sequence for cortical inter-evoked electricity through the processor of the host computer, and sends the electrical stimulation parameters to the slave computer through commands, so that the slave computer adjusts the working mode (normal acquisition mode or electrical stimulation output mode) of each electrode (including positive and negative electrodes) in the electrical stimulation mode. The slave computer will generate the expected stimulation waveform according to the set electrical stimulation parameters and channel configuration. The stimulation current flows into the cortex from the stimulation electrode, and is transmitted to other parts of the cortex through the electrophysiologically effective connection pathway in the human brain, and induces a CCEP waveform. Part of the CCEP waveform is recorded by the non-stimulating electrode (or recording electrode) on the cortical electrode patch. After the lower computer digital-to-analog conversion processing, the signal is input into the upper computer software, and the waveform is processed according to CCEP and displayed on the upper computer interface. After the lower computer stimulation is completed, the electrodes involved in the stimulation are connected to the discharge switch for a period of time to complete the charge balance and artifact removal processing, and then these electrodes are restored to the normal acquisition mode.

[0064] Optionally, the electrical stimulation switching switch includes a collection head box needle plate and a connection switch located on the collection head box needle plate; the two ends of the connection switch are respectively connected to all electrodes and the collection probe, and provide four working modes for all electrodes: ① normal collection mode (no stimulation current output), ② used as positive output for electrical stimulation, ③ used as negative output for electrical stimulation, and ④ connected to the discharge switch to remove stimulation artifacts. The collection head box needle plate mainly connects all electrodes (including collection channels and stimulation channels) through electrode lines. The collection probe is used to amplify and collect weak electrophysiological signals, and the data will be processed by the lower computer and transmitted to the upper computer in real time.

[0065] Furthermore, it also includes a surgery progress evaluation module, which evaluates the progress of electrical stimulation according to the EEG activation degree of the channel where electrical stimulation is not performed.

[0066] Furthermore, it also includes a prompt module for prompting the channel for performing the next electrical stimulation.

[0067] Example 3.

[0068] Based on Example 1, this Example 3 provides a computer device system, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to obtain a preset electrical stimulation sequence of intercortical evoked electricity.

[0069] Example 4.

[0070] On the basis of Example 1, this Example 4 provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, a preset electrical stimulation sequence of intercortical evoked potential is obtained.

[0071] Example 5.

[0072] Based on Example 1, this Example 5 provides a computer program product, including a computer program, which acquires a preset electrical stimulation sequence of intercortical evoked potential when executed by a processor.

[0073] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0074] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0075] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0076] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. An electrical stimulation device for cortical induced electricity, characterized in that: include: a processor for acquiring a preset electrical stimulation sequence of intercortical evoked potentials; A human-computer interaction module for setting the electrical stimulation sequence of intercortical evoked potentials; An electrical stimulation module performs electrical stimulation on the channel through an electrical stimulation switching switch; in The preset electrical stimulation sequence for obtaining intercortical evoked potentials includes: Construct multiple sets of different functionally related channels; Sorting the channel sets, that is, obtaining candidate values ​​of the channel sets according to the EEG activation degree of the task for the channels that have not been electrically stimulated in any channel set, and sorting the candidate values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; Sort channels according to the EEG activation of the task; The sorted channel sequence is used as the preset electrical stimulation sequence for cortical evoked potential; The method for obtaining the EEG activation degree includes: Divide the EEG signal segments, that is, divide the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; obtain data features, that is, calculate the data features of the baseline segment and the task segment respectively; test the difference in the distribution of the data features of the task segment and the baseline segment, and form a test matrix whose dimensions represent the channel and task time respectively, so as to characterize the EEG activation degree of each channel when performing the same task.

2. The electrical stimulation device according to claim 1, characterized in that Constructing multiple functionally related sets of different channels includes: Get the initial channel set related to any function; comparing multiple functionally related initial channel sets; Channel duplicate avoidance is to select one of the duplicate channels and incorporate it into the initial channel set to which it belongs, so as to obtain multiple functionally related different channel sets, so that there are no duplicate channels between the channel sets.

3. The electrical stimulation device according to claim 1, characterized in that The preset electrical stimulation sequence for obtaining intercortical evoked potential further includes adjusting the preset electrical stimulation sequence according to the state of stimulation artifact of the channel after the electrical stimulation; The adjusting of the preset electrical stimulation sequence comprises: Step S1, selecting an electrical stimulation channel to perform initial electrical stimulation; Step S2, detecting in sequence whether the channels in each channel set meet the stimulation artifact state requirement according to the channel set sorting; If the requirements are met, a channel in the channel set is selected according to the channel sorting to perform electrical stimulation; If the requirements are not met, it will be left vacant; Repeat step S2 until the channel reaches the set number of electrical stimulations.

4. The electrical stimulation device according to claim 1, characterized in that The channel sorting also includes: the physical distance between the channel and the lesion area, that is, The channel sets related to the same function are sorted in the order of the inside, boundary, and outside of the lesion area as the second channel subset > the third channel subset > the first channel subset.

5. The electrical stimulation device according to claim 1, characterized in that The method also includes a progress evaluation module for evaluating the progress of electrical stimulation according to the EEG activation degree of the channel where electrical stimulation is not performed.

6. The electrical stimulation device according to claim 1, characterized in that The system also includes a prompt module, which is used to prompt a channel for performing the next electrical stimulation.

7. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to obtain a preset electrical stimulation sequence of intercortical evoked potential; The preset electrical stimulation sequence for obtaining intercortical evoked potentials includes: Construct multiple sets of different functionally related channels; Sorting the channel sets, that is, obtaining candidate values ​​of the channel sets according to the EEG activation degree of the task for the channels that have not been electrically stimulated in any channel set, and sorting the candidate values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; Sort channels according to the EEG activation of the task; The sorted channel sequence is used as the preset electrical stimulation sequence for cortical evoked potential; The method for obtaining the EEG activation degree includes: Divide the EEG signal segments, that is, divide the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; obtain data features, that is, calculate the data features of the baseline segment and the task segment respectively; test the difference in the distribution of the data features of the task segment and the baseline segment, and form a test matrix whose dimensions represent the channel and task time respectively, so as to characterize the EEG activation degree of each channel when performing the same task.

8. The computer device according to claim 7, characterized in that: Constructing multiple functionally related sets of different channels includes: Get the initial channel set related to any function; comparing multiple functionally related initial channel sets; Channel duplicate avoidance is to select one of the duplicate channels and incorporate it into the initial channel set to which it belongs, so as to obtain multiple functionally related different channel sets, so that there are no duplicate channels between the channel sets.

9. The computer device according to claim 7, characterized in that: The preset electrical stimulation sequence for obtaining intercortical evoked potential further includes adjusting the preset electrical stimulation sequence according to the state of stimulation artifact of the channel after the electrical stimulation; The adjusting of the preset electrical stimulation sequence comprises: Step S1, selecting an electrical stimulation channel to perform initial electrical stimulation; Step S2, detecting in sequence whether the channels in each channel set meet the stimulation artifact state requirement according to the channel set sorting; If the requirements are met, a channel in the channel set is selected according to the channel sorting to perform electrical stimulation; If the requirements are not met, it will be left vacant; Repeat step S2 until the channel reaches the set number of electrical stimulations.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program, when executed by the processor, acquires a preset electrical stimulation sequence of intercortical evoked electrical potential; The preset electrical stimulation sequence for obtaining intercortical evoked potentials includes: Construct multiple sets of different functionally related channels; Sorting the channel sets, that is, obtaining candidate values ​​of the channel sets according to the EEG activation degree of the task for the channels that have not been electrically stimulated in any channel set, and sorting the candidate values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; Sort channels according to the EEG activation of the task; The sorted channel sequence is used as the preset electrical stimulation sequence for cortical evoked potential; The method for obtaining the EEG activation degree includes: Divide the EEG signal segments, that is, divide the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; obtain data features, that is, calculate the data features of the baseline segment and the task segment respectively; test the difference in the distribution of the data features of the task segment and the baseline segment, and form a test matrix whose dimensions represent the channel and task time respectively, so as to characterize the EEG activation degree of each channel when performing the same task.

11. The computer-readable storage medium according to claim 10, wherein: Constructing multiple functionally related sets of different channels includes: Get the initial channel set related to any function; comparing multiple functionally related initial channel sets; Channel duplicate avoidance is to select one of the duplicate channels and incorporate it into the initial channel set to which it belongs, so as to obtain multiple functionally related different channel sets, so that there are no duplicate channels between the channel sets.

12. The computer-readable storage medium according to claim 10, wherein: The preset electrical stimulation sequence for obtaining intercortical evoked potential further includes adjusting the preset electrical stimulation sequence according to the state of stimulation artifact of the channel after the electrical stimulation; The adjusting of the preset electrical stimulation sequence comprises: Step S1, selecting an electrical stimulation channel to perform initial electrical stimulation; Step S2, detecting in sequence whether the channels in each channel set meet the stimulation artifact state requirement according to the channel set sorting; If the requirements are met, a channel in the channel set is selected according to the channel sorting to perform electrical stimulation; If the requirements are not met, it will be left vacant; Repeat step S2 until the channel reaches the set number of electrical stimulations.

13. A computer program product, comprising a computer program, characterized in that The computer program, when executed by the processor, acquires a preset electrical stimulation sequence of intercortical evoked electrical potential; The preset electrical stimulation sequence for obtaining intercortical evoked potentials includes: Construct multiple sets of different functionally related channels; Sorting the channel sets, that is, obtaining candidate values ​​of the channel sets according to the EEG activation degree of the task for the channels that have not been electrically stimulated in any channel set, and sorting the candidate values ​​corresponding to different channel sets to obtain the sequence of the channel sets to which they belong; Sort channels according to the EEG activation of the task; The sorted channel sequence is used as the preset electrical stimulation sequence for cortical evoked potential; The method for obtaining the EEG activation degree includes: Divide the EEG signal segments, that is, divide the EEG signal segments corresponding to the task time into baseline segments and task segments according to the start node before and after the set task; obtain data features, that is, calculate the data features of the baseline segment and the task segment respectively; test the difference in the distribution of the data features of the task segment and the baseline segment, and form a test matrix whose dimensions represent the channel and task time respectively, so as to characterize the EEG activation degree of each channel when performing the same task.

14. The computer program product according to claim 13, characterized in that Constructing multiple functionally related sets of different channels includes: Get the initial channel set related to any function; comparing multiple functionally related initial channel sets; Channel duplicate avoidance is to select one of the duplicate channels and incorporate it into the initial channel set to which it belongs, so as to obtain multiple functionally related different channel sets, so that there are no duplicate channels between the channel sets.

15. The computer program product according to claim 13, characterized in that The preset electrical stimulation sequence for obtaining intercortical evoked potential further includes adjusting the preset electrical stimulation sequence according to the state of stimulation artifact of the channel after the electrical stimulation; The adjusting of the preset electrical stimulation sequence comprises: Step S1, selecting an electrical stimulation channel to perform initial electrical stimulation; Step S2, detecting in sequence whether the channels in each channel set meet the stimulation artifact state requirement according to the channel set sorting; If the requirements are met, a channel in the channel set is selected according to the channel sorting to perform electrical stimulation; If the requirements are not met, it will be left vacant; Repeat step S2 until the channel reaches the set number of electrical stimulations.