CN110152190B - Brain electrical stimulation device, system, terminal equipment and storage medium - Google Patents
Brain electrical stimulation device, system, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN110152190B CN110152190B CN201910273050.XA CN201910273050A CN110152190B CN 110152190 B CN110152190 B CN 110152190B CN 201910273050 A CN201910273050 A CN 201910273050A CN 110152190 B CN110152190 B CN 110152190B
- Authority
- CN
- China
- Prior art keywords
- stimulation
- target
- waveform
- preset
- electroencephalogram
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
- A61B5/316—Modalities, i.e. specific diagnostic methods
- A61B5/369—Electroencephalography [EEG]
- A61B5/377—Electroencephalography [EEG] using evoked responses
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61N—ELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
- A61N1/00—Electrotherapy; Circuits therefor
- A61N1/18—Applying electric currents by contact electrodes
- A61N1/32—Applying electric currents by contact electrodes alternating or intermittent currents
- A61N1/36—Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
- A61N1/36014—External stimulators, e.g. with patch electrodes
- A61N1/3603—Control systems
- A61N1/36031—Control systems using physiological parameters for adjustment
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Veterinary Medicine (AREA)
- Heart & Thoracic Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- Radiology & Medical Imaging (AREA)
- Physiology (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Psychiatry (AREA)
- Psychology (AREA)
- Physics & Mathematics (AREA)
- Pathology (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The embodiment of the application is suitable for the technical field of brain electricity, and discloses a brain electricity stimulation method, a device, a system, terminal equipment and a computer-readable storage medium, wherein the method comprises the following steps: acquiring brain waves; matching the current brain wave oscillation waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance respectively, and judging whether a target preset waveform consistent with the current brain wave oscillation waveform exists or not; when the target preset waveform exists, judging whether the next electroencephalogram vibration waveform accords with the target preset waveform or not; when the next electroencephalogram oscillation waveform accords with the target preset waveform, calculating the time of the stimulation target point based on the preset stimulation target point in the stimulation scheme corresponding to the target preset waveform; subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time; and executing the stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform. The embodiment of the application can improve the instantaneity of the brain electrical stimulation.
Description
Technical Field
The application belongs to the technical field of electroencephalogram, and particularly relates to an electroencephalogram stimulation method, device, system, terminal equipment and computer readable storage medium.
Background
With the continuous progress of the electroencephalogram technology, the connection between the electroencephalogram and the physiological health of people is also more and more tight.
At present, the rhythmic external stimulus is used for enabling the brain waves of a user to vibrate synchronously, so that the effects of enhancing the amplitude of the brain waves, prolonging the same-frequency brain wave vibration duration and the like can be achieved, and further physiological health of people is affected, for example, drowsiness, deep sleep enhancement, arousal, excitation and the like of the people are achieved. In the existing stage, the electroencephalogram synchronous stimulation process generally collects electroencephalogram signals, and then determines the collected stimulation intensity, time and the like according to the electroencephalogram signals. In the process, the processes of physical acquisition, analog signal processing, digital-to-analog conversion, digital signal packaging, transmission, unpacking, filtering, application processing and the like of the brain electricity all need to consume a certain time, so that the real-time performance of synchronous stimulation is poor. In addition, the stimulation scheme may have a certain influence on the instantaneity of the brain electrical synchronous stimulation due to the loading and control delay of the computer system. In conclusion, the existing brain electrical stimulation method has poor real-time performance.
Disclosure of Invention
In view of this, the embodiments of the present application provide an electroencephalogram stimulation method, device, system, terminal equipment, and computer-readable storage medium, so as to solve the problem that the existing electroencephalogram stimulation method is poor in real-time performance.
A first aspect of an embodiment of the present application provides an electroencephalogram stimulation method, including:
acquiring brain waves;
matching the current brain wave oscillation waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance respectively, and judging whether a target preset waveform consistent with the current brain wave oscillation waveform exists or not;
when the target preset waveform which is consistent with the current electroencephalogram vibration waveform exists, judging whether the next electroencephalogram vibration waveform is consistent with the target preset waveform or not;
when the next electroencephalogram oscillation waveform accords with the target preset waveform, calculating the time of a stimulation target point based on a preset stimulation target point in a stimulation scheme corresponding to the target preset waveform;
subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time;
and executing the stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
With reference to the first aspect, in a possible implementation manner, after the performing a stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform, the method further includes:
based on brain waves obtained after the stimulation operation, judging whether the stimulation effect accords with a preset stimulation effect in a stimulation scheme corresponding to the target preset waveform;
when the stimulation effect accords with the preset stimulation effect, repeatedly executing a stimulation scheme corresponding to the target preset waveform;
and stopping executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect does not accord with the preset stimulation effect, and returning to the step of acquiring brain waves.
With reference to the first aspect, in a possible implementation manner, the performing a stimulation operation according to the target stimulation time and a stimulation scheme corresponding to the target preset waveform includes:
according to a preset stimulation means, preset stimulation parameters and the preset stimulation targets in a stimulation scheme corresponding to the target preset waveform, a control instruction is sent to a stimulation operation execution device when the target stimulation time is reached, so that the stimulation operation execution device outputs a stimulation signal according to the control instruction.
With reference to the first aspect, in a possible implementation manner, the method further includes:
acquiring stimulation scheme adding and deleting information transmitted by a cloud;
and adding and deleting information according to the stimulation scheme, and executing corresponding adding and deleting operation.
With reference to the first aspect, in a possible implementation manner, after the performing a stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform, the method further includes:
recording relevant information of the brain electrical stimulation process;
and uploading the related information to a cloud end, so that the cloud end optimizes parameters in the at least one stimulation scheme according to the related information.
A second aspect of embodiments of the present application provides an electroencephalogram stimulation device, including:
the acquisition module is used for acquiring brain waves;
the first judging module is used for respectively matching the current brain wave vibration waveform of the brain wave with each preset waveform in at least one pre-stored stimulation scheme and judging whether a target preset waveform which is consistent with the current brain wave vibration waveform exists or not;
the second judging module is used for judging whether the next electroencephalogram vibration waveform accords with the target preset waveform or not when the target preset waveform which accords with the current electroencephalogram vibration waveform exists;
the first calculation module is used for calculating the time of the stimulation target point based on a preset stimulation target point in a stimulation scheme corresponding to the target preset waveform when the next electroencephalogram oscillation waveform accords with the target preset waveform;
the second calculation module is used for subtracting the preset stimulation delay time from the stimulation target point time to obtain target stimulation time;
and the stimulation module is used for executing stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
A third aspect of the embodiments of the present application provides an electroencephalogram stimulation system, which includes an electroencephalogram signal acquisition device, a terminal device communicatively connected to the electroencephalogram signal acquisition device, and a stimulation operation execution device communicatively connected to the terminal device;
the terminal equipment is used for acquiring brain waves; matching the current brain wave oscillation waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance respectively, and judging whether a target preset waveform consistent with the current brain wave oscillation waveform exists or not; when the target preset waveform which is consistent with the current electroencephalogram vibration waveform exists, judging whether the next electroencephalogram vibration waveform is consistent with the target preset waveform or not; when the next electroencephalogram oscillation waveform accords with the target preset waveform, calculating the time of a stimulation target point based on a preset stimulation target point in a stimulation scheme corresponding to the target preset waveform; subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time; and executing the stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
With reference to the third aspect, in a possible implementation manner, the method further includes a cloud end that is communicatively connected to the terminal device and is configured to optimize parameters of the at least one stimulation scheme based on information related to the historical electroencephalogram stimulation process.
A fourth aspect of the embodiments of the present application provides a terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspects above when the computer program is executed.
A fifth aspect of the embodiments of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to any one of the first aspects above.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the method and the device, when the current electroencephalogram oscillation waveform is judged to be matched with the target preset waveform in the preset stimulation scheme, and the next electroencephalogram oscillation waveform still accords with the target preset waveform, the next electroencephalogram oscillation waveform is predicted to be the same waveform, then the stimulation operation is executed in advance according to the stimulation scheme corresponding to the target preset waveform and the preset stimulation delay time, so that stimulation signals and stimulation objects are completely overlapped, stimulation delay caused by factors such as data processing is avoided, and the instantaneity of electroencephalogram synchronous stimulation is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic block diagram of an architecture of an electroencephalogram stimulation system according to an embodiment of the present application;
fig. 2 is a schematic block flow diagram of an electroencephalogram stimulation method according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a brain electrical stimulation device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical solutions described in the present application, the following description is made by specific examples.
Example 1
Referring to fig. 1, a schematic block diagram of an electroencephalogram stimulation system according to an embodiment of the present application may include an electroencephalogram signal acquisition device 11, a terminal device 12 communicatively connected to the electroencephalogram signal acquisition device, and a stimulation operation execution device 13 communicatively connected to the terminal device; in some embodiments, the system may further include a cloud 14 communicatively coupled to the terminal device.
The electroencephalogram signal acquisition equipment can acquire electroencephalogram signals and transmit the acquired electroencephalogram signals to the terminal equipment. The specific appearance form of the electroencephalogram signal acquisition equipment can be arbitrary as long as the electroencephalogram signal acquisition equipment can realize the functions of electroencephalogram signal acquisition, real-time transmission, and the like. For example, the electroencephalogram signal acquisition device may be a wearable electroencephalogram acquisition device.
The terminal device is typically a computer terminal, but may be other types of terminals, such as a mobile phone, a tablet, etc. The terminal equipment can receive brain waves transmitted by the brain electricity acquisition equipment; matching the current brain wave oscillation waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance respectively, and judging whether a target preset waveform consistent with the current brain wave oscillation waveform exists or not; when a target preset waveform which is consistent with the current brain wave shape exists, judging whether the next brain wave shape is consistent with the target preset waveform or not; when the next electroencephalogram oscillation waveform accords with the target preset waveform, calculating the time of the stimulation target point based on the preset stimulation target point in the stimulation scheme corresponding to the target preset waveform; subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time; and executing the stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
Optionally, the terminal device may further add or delete the stimulation plan according to the adding or deleting operation of the user; after the stimulation operation is carried out, judging whether the stimulation effect can reach the expected effect based on the stimulated brain electrical signals, and determining whether to repeatedly execute the stimulation scheme or stop executing the stimulation scheme according to the stimulation effect; and recording related information in the stimulation process, such as a stimulation target point, a stimulation effect, a stimulation means and the like in the stimulation scheme, and uploading the related information to a cloud server so as to enable the cloud server to perform big data analysis to optimize parameters of the stimulation scheme and the like.
The stimulation operation execution device refers to a device for outputting a stimulation signal to act on a user according to a control instruction of the terminal device. The stimulation operation execution device may be correspondingly different according to the stimulation means, wherein the stimulation means may be any one of specific sound stimulation, electrical stimulation, magnetic stimulation, and the like. The cloud end can comprise one or more cloud end servers, can be used for optimizing parameters of at least one stimulation scheme based on related information of a historical brain electrical stimulation process, and can also realize functions of data storage, stimulation scheme addition and deletion and the like.
The cloud may receive information related to each electroencephalogram stimulation, where the related information may include, for example, an electroencephalogram stimulation scheme, an electroencephalogram waveform after stimulation, and the like. After collecting a large amount of brain electrical stimulation related data, the parameters in each stimulation protocol may be optimally enhanced based on the analysis of the large data. For example, in order to improve the stimulation effect, through big data analysis, whether the target position in a certain stimulation scheme is advanced or delayed, whether the stimulation intensity is increased or reduced, whether the preset delay time is increased or reduced, etc. are determined, so that the related parameters of the stimulation intensity, the stimulation target information, the preset delay time, etc. in the stimulation scheme are optimized, and the stimulation effect is improved.
Of course, the cloud end can also automatically generate a stimulation scheme template based on a large amount of collected data, namely, automatically determine relevant parameters in the stimulation scheme, then automatically adjust the relevant parameters in the generated stimulation scheme through comparison test of historical stimulation data corresponding to each stimulation scheme, and determine the stimulation effect corresponding to the generated stimulation scheme.
The application scene of the brain electrical stimulation system and the brain electrical stimulation method provided by the embodiment of the application can be a sleep scene, namely, the brain waves and the external stimulation signals vibrate synchronously according to different stages of sleep by adding the same-frequency stimulation signals, so that the effects of adjusting sleep, making people fall asleep, strengthening deep sleep and the like are achieved; of course, the method can also be applied to other brain electrical stimulation scenes, and is not limited herein.
Therefore, by the brain electrical stimulation system, the instantaneity of brain electrical stimulation can be effectively improved.
Example two
After the system architecture of the embodiment of the present application is described, a description will be given below of a related procedure of the brain electrical stimulation method from the terminal device side.
Referring to fig. 2, a schematic flow chart of a brain electrical stimulation method according to an embodiment of the present application is provided, and the method may include the following steps:
step S201, acquiring brain waves.
Step S202, matching the current brain wave vibration waveform of the brain wave with each preset waveform in at least one pre-stored stimulation scheme respectively, and judging whether a target preset waveform consistent with the current brain wave vibration waveform exists or not. When there is a target preset waveform conforming to the current brain wave shape, the process proceeds to step S203, otherwise, when there is no target preset waveform conforming to the current brain wave shape, the process returns to step S202.
It should be noted that the above-mentioned stimulation scheme includes, but is not limited to, preset waveforms, stimulation target information, stimulation means, stimulation parameters, stimulation effects, and the like. The preset waveform may include information such as an electroencephalogram frequency, an amplitude, and the number of occurrences of the preset wave, which may be, for example, the number of occurrences of the α wave in the oscillating waveform. The stimulation target information can include phase (positive wave, negative wave, rising, falling, etc.), angle, etc., and the stimulation target position corresponding to the preset waveform in the stimulation scheme can be known through the stimulation target information. The stimulation means may be, but not limited to, one of acoustic stimulation, electrical stimulation, magnetic stimulation, and the stimulation means may be different, and the stimulation signal and the stimulation operation performing device may be different. The stimulation parameters may include, but are not limited to, information such as a stimulation duration, a stimulation intensity, and a preset delay amount, which refers to a preset delay time, and the preset delay time may be a delay time corresponding to each system by test calculation based on hardware of each system in advance. The stimulation effect refers to a corresponding expected effect after each stimulation scheme is executed, for example, vibration energy is enhanced, the same frequency vibration frequency is increased, and the like.
The preset waveforms in each stimulation scheme may be different, and by performing a comparison and matching between the current brain wave oscillation waveform of the acquired brain wave and the preset waveforms in each stimulation scheme, whether the current brain wave oscillation waveform is consistent with a target preset waveform is judged, when the current brain wave oscillation waveform is judged to be consistent with the target preset waveform, the next brain wave oscillation waveform is predicted to be consistent with the preset waveform, and in order to verify whether the prediction is accurate or not, whether the next brain wave oscillation waveform is consistent with the target preset waveform is further judged.
Step S203, judging whether the next brain wave waveform accords with the target preset waveform. When the next electroencephalogram oscillation waveform is in accordance with the target preset waveform, the step S204 is entered, whereas when the next electroencephalogram oscillation waveform is not in accordance with the target preset waveform, the step S202 is returned.
It should be noted that when the next electroencephalogram oscillation waveform also accords with the target preset waveform, the system considers that the prediction is correct, and predicts that the next waveform still accords with the target preset waveform, so that the stimulation is performed by adopting the stimulation scheme corresponding to the target preset waveform.
Step S204, calculating the time of the stimulation target point based on the preset stimulation target point in the stimulation scheme corresponding to the target preset waveform.
It can be understood that the position of the corresponding preset stimulation target point can be obtained through the stimulation scheme, and the predicted next electroencephalogram oscillation waveform still accords with the target preset waveform, which is equivalent to obtaining the next electroencephalogram waveform after the current time, and the time of the target point position corresponding to the next electroencephalogram waveform is calculated based on the preset stimulation target point position, and is the stimulation target point time.
Step S205, subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time.
It should be noted that, because the processes of data processing, scheme loading and the like need to consume a certain time, if the time to reach the stimulation target point is in the process of executing the stimulation operation, the action position of the stimulation signal is later than the position of the preset stimulation target point due to the stimulation delay, the stimulation signal and the stimulation target point cannot be completely overlapped, and the real-time performance is poor. In order to enable the action point of the stimulation signal and the preset stimulation target point to be completely overlapped, the instantaneity of the brain electrical stimulation is improved, the system can execute stimulation operation in advance for a certain time, and therefore the stimulation and the prediction object can be completely overlapped even if the system has a certain delay.
The predetermined stimulation delay time may be pre-calculated and stored in the corresponding stimulation protocol. In general, the corresponding preset stimulation delay time will be different for each set of system due to different factors such as hardware.
Step S206, executing the stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
Based on the parameters of stimulation means, stimulation intensity, time and the like in the stimulation scheme, the execution time of the stimulation action is advanced to the target stimulation time, so that after the preset stimulation delay time, the time of the stimulation signal acting on the user coincides with the preset stimulation target point time, and the real-time performance is high. The terminal equipment generates a control instruction according to the parameters in the corresponding stimulation scheme, and sends the control instruction to the stimulation operation execution equipment so that the stimulation operation execution equipment generates a stimulation signal with corresponding intensity according to the control instruction and continuously acts on the brain position of the user.
In some embodiments, the specific process of performing the stimulation operation according to the stimulation scheme corresponding to the target stimulation time and the target preset waveform may include: according to a preset stimulation means, preset stimulation parameters and preset stimulation targets in a stimulation scheme corresponding to a target preset waveform, a control instruction is sent to the stimulation operation execution device when the target stimulation time is reached, so that the stimulation operation execution device outputs a stimulation signal according to the control instruction.
For example, when the stimulation means is magnetic stimulation, the terminal device may determine the voltage or current according to the stimulation intensity, then generate a control instruction in combination with the stimulation target information, and send the control instruction to the stimulation operation performing device, where the stimulation operation performing device may include an electromagnetic coil to generate a magnetic field of a corresponding intensity by applying an external voltage or current. The stimulation operation execution device generates a magnetic field with corresponding intensity according to the voltage or current, and outputs corresponding magnetic field signals to act on the head position of the user based on the information such as the stimulation duration, the stimulation target point and the like.
After performing the stimulation operation, the stimulation effect can be known based on the brain waves after the stimulation. Thus, in some embodiments, after performing the stimulation operation according to the stimulation scheme corresponding to the target stimulation time and the target preset waveform, the method may further include the following steps: based on brain waves obtained after the stimulation operation, judging whether the stimulation effect accords with a preset stimulation effect in a stimulation scheme corresponding to a target preset waveform; when the stimulation effect accords with the preset stimulation effect, repeatedly executing a stimulation scheme corresponding to the target preset waveform; and stopping executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect does not accord with the preset stimulation effect, and returning to the step of acquiring brain waves.
Specifically, brain waves in a certain period of time after stimulation are analyzed, whether the brain waves still accord with the target preset waveform or accord with preset waveforms in other stimulation schemes or whether the oscillation energy of the brain waves is enhanced and the same-frequency oscillation frequency is increased is judged, so that the stimulation effect corresponding to the stimulation operation is obtained. Comparing the stimulation effect with the corresponding stimulation effect in the stimulation scheme, if the stimulation effect is consistent with the corresponding stimulation effect in the stimulation scheme, namely the brain wave vibration amplitude is enhanced or the same-frequency vibration frequency is increased, or the brain wave shape after stimulation still accords with the target preset waveform, the stimulation operation is indicated to have a good effect, and the corresponding stimulation scheme can be repeatedly executed; otherwise, if not, execution of the currently executing stimulation protocol may be stopped and brain waves may be re-analyzed for the next stimulation.
One or more stimulation schemes are stored in the terminal equipment, and each stimulation scheme corresponds to stimulation of different waveforms and different targets. In some cases, the stimulation protocol within the terminal device is fixed, cannot be increased or decreased. However, in some embodiments, the stimulation scheme in the terminal device may be increased or decreased in an internet manner, that is, data interaction is performed through the terminal device and the cloud, and the increase or decrease operation is performed on the stimulation scheme in the terminal device through the cloud, so that flexibility is greatly increased. The method may further comprise the steps of: acquiring stimulation scheme adding and deleting information transmitted by a cloud; and adding and deleting information according to the stimulation scheme, and executing corresponding adding and deleting operation.
It should be noted that the above-mentioned stimulation scheme adding and deleting information may include information of a stimulation scheme to be deleted or information of a stimulation scheme to be added, and in the adding operation, the information of a stimulation scheme to be added is also included. The stimulation scheme adding and deleting information can be input by a user through an interactive interface provided by the server. If the operation is deleting, the terminal device can find out the corresponding stimulation scheme based on the adding and deleting information and delete the stimulation scheme from the memory. If the operation is the adding operation, the received new adding stimulation scheme is stored in a memory, and the related information of the new adding scheme is recorded.
In some embodiments, the terminal device may record relevant information of each brain electrical stimulation, and upload the relevant information to the cloud, so that the cloud automatically performs parameter optimization on the stimulation scheme based on the relevant information. Therefore, after the stimulation operation is performed according to the stimulation scheme corresponding to the target stimulation time and the target preset waveform, the method may further include: recording relevant information of the brain electrical stimulation process; and uploading the related information to the cloud so that the cloud optimizes parameters in at least one stimulation scheme according to the related information.
The cloud may receive information related to each electroencephalogram stimulation, where the related information may include, for example, an electroencephalogram stimulation scheme, an electroencephalogram waveform, and an electroencephalogram waveform after stimulation. After collecting a large amount of brain electrical stimulation related data, the parameters in each stimulation protocol may be optimally enhanced based on the analysis of the large data. For example, in order to improve the stimulation effect, through big data analysis, whether the target position in a certain stimulation scheme is advanced or delayed, whether the stimulation intensity is increased or reduced, whether the preset delay time is increased or reduced, etc. are determined, so that the related parameters of the stimulation intensity, the stimulation target information, the preset delay time, etc. in the stimulation scheme are optimized, and the stimulation effect is improved.
Of course, the cloud end can also automatically generate a stimulation scheme template based on a large amount of collected data, namely, automatically determine relevant parameters in the stimulation scheme, then automatically adjust the relevant parameters in the generated stimulation scheme through comparison test of historical stimulation data corresponding to each stimulation scheme, and determine the stimulation effect corresponding to the generated stimulation scheme.
Therefore, in this embodiment, by judging that the current electroencephalogram oscillation waveform is matched with the target preset waveform in the preset stimulation scheme, and the next electroencephalogram oscillation waveform still accords with the target preset waveform, the next electroencephalogram oscillation waveform is predicted to be still the same waveform, and then the stimulation operation is executed in advance according to the stimulation scheme corresponding to the target preset waveform and the preset stimulation delay time, that is, the stimulation operation is executed in advance based on the waveform prediction and the preset stimulation scheme, so that the stimulation signal and the stimulation object are completely overlapped, the stimulation delay caused by factors such as data processing is avoided, and the instantaneity of electroencephalogram synchronous stimulation is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Example III
Referring to fig. 3, a schematic block diagram of an electroencephalogram stimulation device according to an embodiment of the present application may include:
an acquisition module 31 for acquiring brain waves;
a first judging module 32, configured to match a current brain wave oscillation waveform of the brain wave with each preset waveform in at least one pre-stored stimulation scheme, and judge whether a target preset waveform consistent with the current brain wave oscillation waveform exists;
a second judging module 33, configured to judge whether the next electroencephalogram oscillation waveform matches the target preset waveform when there is a target preset waveform that matches the current electroencephalogram oscillation waveform;
a first calculation module 34, configured to calculate a stimulation target time based on a preset stimulation target in a stimulation scheme corresponding to a target preset waveform when the next electroencephalogram oscillation waveform matches the target preset waveform;
a second calculation module 35, configured to subtract the preset stimulation delay time from the stimulation target time to obtain a target stimulation time;
the stimulation module 36 is configured to perform a stimulation operation according to the target stimulation time and a stimulation scheme corresponding to the target preset waveform.
In a possible implementation manner, the apparatus may further include:
the third judging module is used for judging whether the stimulation effect accords with a preset stimulation effect in a stimulation scheme corresponding to the target preset waveform or not based on brain waves obtained after the stimulation operation;
the execution module is used for repeatedly executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect accords with the preset stimulation effect;
and the stopping module is used for stopping executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect does not accord with the preset stimulation effect, and returning to the step of acquiring the brain waves.
In one possible implementation, the stimulation module includes:
the control unit is used for sending a control instruction to the stimulation operation execution device when the target stimulation time is reached according to a preset stimulation means, preset stimulation parameters and preset stimulation targets in a stimulation scheme corresponding to the target preset waveform, so that the stimulation operation execution device outputs a stimulation signal according to the control instruction.
In a possible implementation manner, the apparatus may further include:
the adding and deleting information acquisition module is used for acquiring the adding and deleting information of the stimulation scheme transmitted by the cloud;
and the adding and deleting module is used for adding and deleting information according to the stimulation scheme and executing corresponding adding and deleting operation.
In a possible implementation manner, the apparatus may further include:
the recording module is used for recording the related information of the brain electrical stimulation process;
and the uploading module is used for uploading the related information to the cloud end so that the cloud end optimizes parameters in at least one stimulation scheme according to the related information.
It should be noted that, the same or similar features as those of the above embodiments may be referred to each other, and will not be described herein.
Therefore, the embodiment can improve the instantaneity of the brain electrical stimulation.
Example IV
Fig. 4 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in the memory 41 and executable on the processor 40. The steps of the above-described embodiments of the method of brain electrical stimulation are implemented by the processor 40 when executing the computer program 42, such as steps S201 to S206 shown in fig. 2. Alternatively, the processor 40, when executing the computer program 42, performs the functions of the modules or units of the apparatus embodiments described above, such as the functions of the modules 31 to 36 shown in fig. 3.
By way of example, the computer program 42 may be divided into one or more modules or units, which are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules or units may be a series of computer program instruction segments capable of performing specific functions describing the execution of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into an acquisition module, a first judgment module, a second judgment module, a first calculation module, a second calculation module, and a stimulation module, where each module specifically functions as follows:
the acquisition module is used for acquiring brain waves; the first judging module is used for respectively matching the current brain wave vibration waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance and judging whether a target preset waveform consistent with the current brain wave vibration waveform exists or not; the second judging module is used for judging whether the next brain wave form accords with the target preset wave form or not when the target preset wave form which accords with the current brain wave form exists; the first calculation module is used for calculating the time of the stimulation target point based on the preset stimulation target point in the stimulation scheme corresponding to the target preset waveform when the next electroencephalogram oscillation waveform accords with the target preset waveform; the second calculation module is used for subtracting the preset stimulation delay time from the stimulation target point time to obtain target stimulation time; and the stimulation module is used for executing stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
The terminal device 4 may be a computing device such as a desktop computer, a notebook computer, or a palm computer. The terminal device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal device 4 and does not constitute a limitation of the terminal device 4, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing the computer program as well as other programs and data required by the terminal device. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal device and method may be implemented in other manners. For example, the apparatus, terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules or units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each method embodiment described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (10)
1. The electroencephalogram stimulation system is characterized by comprising an electroencephalogram signal acquisition device, a terminal device in communication connection with the electroencephalogram signal acquisition device, and a stimulation operation execution device in communication connection with the terminal device:
the electroencephalogram signal acquisition equipment is used for acquiring electroencephalogram waves;
the terminal equipment is used for acquiring the brain waves; matching the current brain wave oscillation waveform of the brain wave with each preset waveform in at least one stimulation scheme stored in advance respectively, and judging whether a target preset waveform consistent with the current brain wave oscillation waveform exists or not; when the target preset waveform which is consistent with the current electroencephalogram vibration waveform exists, judging whether the next electroencephalogram vibration waveform is consistent with the target preset waveform or not; when the next electroencephalogram oscillation waveform accords with the target preset waveform, calculating the time of a stimulation target point based on a preset stimulation target point in a stimulation scheme corresponding to the target preset waveform; subtracting a preset stimulation delay time from the stimulation target point time to obtain target stimulation time; and controlling the stimulation operation executing equipment to execute stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
2. The system of claim 1, wherein the terminal device is further configured to:
based on brain waves obtained after the stimulation operation, judging whether the stimulation effect accords with a preset stimulation effect in a stimulation scheme corresponding to the target preset waveform;
when the stimulation effect accords with the preset stimulation effect, repeatedly executing a stimulation scheme corresponding to the target preset waveform;
and stopping executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect does not accord with the preset stimulation effect, and returning to the step of acquiring brain waves.
3. The system of claim 1, wherein the terminal device is specifically configured to: according to a preset stimulation means, preset stimulation parameters and the preset stimulation targets in a stimulation scheme corresponding to the target preset waveform, a control instruction is sent to stimulation operation execution equipment at the target stimulation time;
the stimulation operation execution device is specifically used for: and outputting a stimulation signal according to the control instruction.
4. The system of claim 1, wherein the terminal device is further configured to: acquiring stimulation scheme adding and deleting information transmitted by a cloud; and adding and deleting information according to the stimulation scheme, and executing corresponding adding and deleting operation.
5. The system of any one of claims 1 to 4, further comprising a cloud communicatively coupled to the terminal device; the terminal device is further configured to: recording relevant information of the brain electrical stimulation process; uploading the related information to a cloud;
the cloud end is used for: and optimizing parameters in the at least one stimulation scheme according to the related information.
6. An electroencephalogram stimulation device, comprising:
the acquisition module is used for acquiring brain waves;
the first judging module is used for respectively matching the current brain wave vibration waveform of the brain wave with each preset waveform in at least one pre-stored stimulation scheme and judging whether a target preset waveform which is consistent with the current brain wave vibration waveform exists or not;
the second judging module is used for judging whether the next electroencephalogram vibration waveform accords with the target preset waveform or not when the target preset waveform which accords with the current electroencephalogram vibration waveform exists;
the first calculation module is used for calculating the time of the stimulation target point based on a preset stimulation target point in a stimulation scheme corresponding to the target preset waveform when the next electroencephalogram oscillation waveform accords with the target preset waveform;
the second calculation module is used for subtracting the preset stimulation delay time from the stimulation target point time to obtain target stimulation time;
and the stimulation module is used for executing stimulation operation according to the target stimulation time and the stimulation scheme corresponding to the target preset waveform.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the second judging module is used for judging whether the stimulation effect accords with a preset stimulation effect in a stimulation scheme corresponding to the target preset waveform or not based on brain waves obtained after stimulation operation;
the execution module is used for repeatedly executing the stimulation scheme corresponding to the target preset waveform when the stimulation effect accords with the preset stimulation effect;
and the stopping module is used for stopping executing the stimulation scheme corresponding to the target preset waveform and returning to the step of acquiring the brain waves when the stimulation effect does not accord with the preset stimulation effect.
8. The apparatus of claim 6, wherein the stimulation module comprises:
and the control unit is used for sending a control instruction to the stimulation operation execution equipment when the target stimulation time is reached according to a preset stimulation means, preset stimulation parameters and the preset stimulation target points in a stimulation scheme corresponding to the target preset waveform, so that the stimulation operation execution equipment outputs a stimulation signal according to the control instruction.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the adding and deleting information acquisition module is used for acquiring the adding and deleting information of the stimulation scheme transmitted by the cloud;
and the adding and deleting module is used for adding and deleting information according to the stimulation scheme and executing corresponding adding and deleting operation.
10. The apparatus according to any one of claims 6 to 9, wherein the apparatus further comprises:
the recording module is used for recording the related information of the brain electrical stimulation process;
and the uploading module is used for uploading the related information to the cloud end so that the cloud end optimizes parameters in the at least one stimulation scheme according to the related information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910273050.XA CN110152190B (en) | 2019-04-04 | 2019-04-04 | Brain electrical stimulation device, system, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910273050.XA CN110152190B (en) | 2019-04-04 | 2019-04-04 | Brain electrical stimulation device, system, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110152190A CN110152190A (en) | 2019-08-23 |
CN110152190B true CN110152190B (en) | 2023-07-14 |
Family
ID=67639093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910273050.XA Active CN110152190B (en) | 2019-04-04 | 2019-04-04 | Brain electrical stimulation device, system, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110152190B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110742604B (en) * | 2019-09-20 | 2022-04-01 | 复旦大学附属华山医院 | Cortical electroencephalogram-based brain function positioning method under electrical stimulation of median nerve |
CN110811613B (en) * | 2019-11-22 | 2022-09-27 | 河北工业大学 | Method for improving event-related potential signal-to-noise ratio based on European Debao and DMST paradigm fusion |
CN111031057B (en) * | 2019-12-21 | 2020-10-09 | 北京理工大学 | Information transmission method for inducing brain waves based on stimulation signals |
CN113426015A (en) * | 2021-06-30 | 2021-09-24 | 北京脑陆科技有限公司 | Intervention method and device for deep intracerebral stimulation, electronic equipment and storage medium |
CN117095808B (en) * | 2023-10-18 | 2024-02-20 | 杭州般意科技有限公司 | Mode recommendation method and device based on terminal operation, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108065932A (en) * | 2017-09-13 | 2018-05-25 | 中科搏锐(北京)科技有限公司 | Brain function activity detects and regulation and control integrated processes, apparatus and system |
CN108078565A (en) * | 2017-12-14 | 2018-05-29 | 上海惠诚科教器械股份有限公司 | A kind of sleep monitor feedback and the automatic improvement device of sleep |
JP3217412U (en) * | 2018-03-14 | 2018-08-09 | クァン プイトンKwan,Pui Tong | Smart composite waveform transcranial electrical stimulation system |
CN108837272A (en) * | 2018-03-30 | 2018-11-20 | 广东欧珀移动通信有限公司 | Stimulating method and related product |
CN109260591A (en) * | 2018-08-02 | 2019-01-25 | 中国科学院深圳先进技术研究院 | Through cranium stimulating method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9669227B2 (en) * | 2015-06-09 | 2017-06-06 | Nuvectra Corporation | Systems, methods, and devices for generating arbitrary stimulation waveforms |
WO2017053340A1 (en) * | 2015-09-21 | 2017-03-30 | Boston Scientific Neuromodulation Corporation | Method and apparatus for comparing neurostimulation patterns |
-
2019
- 2019-04-04 CN CN201910273050.XA patent/CN110152190B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108065932A (en) * | 2017-09-13 | 2018-05-25 | 中科搏锐(北京)科技有限公司 | Brain function activity detects and regulation and control integrated processes, apparatus and system |
CN108078565A (en) * | 2017-12-14 | 2018-05-29 | 上海惠诚科教器械股份有限公司 | A kind of sleep monitor feedback and the automatic improvement device of sleep |
JP3217412U (en) * | 2018-03-14 | 2018-08-09 | クァン プイトンKwan,Pui Tong | Smart composite waveform transcranial electrical stimulation system |
CN108837272A (en) * | 2018-03-30 | 2018-11-20 | 广东欧珀移动通信有限公司 | Stimulating method and related product |
CN109260591A (en) * | 2018-08-02 | 2019-01-25 | 中国科学院深圳先进技术研究院 | Through cranium stimulating method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110152190A (en) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110152190B (en) | Brain electrical stimulation device, system, terminal equipment and storage medium | |
CN107438832B (en) | Data refreshing method and device and computer readable storage medium | |
CN106560800A (en) | Scaling Fixed-point Fast Fourier Transforms In Radar And Sonar Applications | |
CN110428835B (en) | Voice equipment adjusting method and device, storage medium and voice equipment | |
CN110021792B (en) | Charging control method and device, terminal equipment and computer storage medium | |
CN108234793B (en) | Communication method, communication device, electronic equipment and storage medium | |
CN111831114B (en) | Driving voltage generation method and device, storage medium and electronic equipment | |
CN112818619A (en) | Earphone active noise reduction simulation method and device | |
CN110931035A (en) | Audio processing method, device, equipment and storage medium | |
CN108415564B (en) | Electronic device, equipment control method and related product | |
CN112971809A (en) | Brain rhythm information detection method and device and electronic equipment | |
CN110751045B (en) | Fault recording method, system and terminal equipment | |
CN115300798A (en) | Transcranial magnetic stimulation pulse signal control method, device, equipment and medium | |
CN110365598B (en) | Heartbeat message sending method, device, server, terminal and storage medium | |
CN113486861A (en) | Moire pattern picture generation method and device | |
CN116754850A (en) | Medical instrument electromagnetic compatibility evaluation method, device, terminal and storage medium | |
CN111027435A (en) | Identification system, device and method based on gradient lifting decision tree | |
CN111968620A (en) | Algorithm testing method and device, electronic equipment and storage medium | |
Sethi et al. | Real time algorithms for sharp wave ripple detection | |
CN112002339B (en) | Speech noise reduction method and device, computer-readable storage medium and electronic device | |
CN110989363B (en) | Electric energy quality control method and device based on deep learning | |
CN114547093A (en) | Cache control method, device, equipment and storage medium | |
CN114595146A (en) | AB test method, device, system, electronic equipment and medium | |
CN111145770B (en) | Audio processing method and device | |
CN115564055A (en) | Asynchronous joint learning training method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |