CN117056554A - Music configuration method, device, terminal and medium for brain stem pre-stimulation - Google Patents

Music configuration method, device, terminal and medium for brain stem pre-stimulation Download PDF

Info

Publication number
CN117056554A
CN117056554A CN202311317422.7A CN202311317422A CN117056554A CN 117056554 A CN117056554 A CN 117056554A CN 202311317422 A CN202311317422 A CN 202311317422A CN 117056554 A CN117056554 A CN 117056554A
Authority
CN
China
Prior art keywords
music
stimulation
target
intervention
electroencephalogram signal
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.)
Granted
Application number
CN202311317422.7A
Other languages
Chinese (zh)
Other versions
CN117056554B (en
Inventor
姚乃琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Banyi Technology Co ltd
Original Assignee
Hangzhou Boyi Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Boyi Technology Co ltd filed Critical Hangzhou Boyi Technology Co ltd
Priority to CN202311317422.7A priority Critical patent/CN117056554B/en
Publication of CN117056554A publication Critical patent/CN117056554A/en
Application granted granted Critical
Publication of CN117056554B publication Critical patent/CN117056554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • G06F16/636Filtering based on additional data, e.g. user or group profiles by using biological or physiological data
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/372Analysis of electroencephalograms
    • A61B5/374Detecting the frequency distribution of signals, e.g. detecting delta, theta, alpha, beta or gamma waves
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • A61B5/377Electroencephalography [EEG] using evoked responses
    • A61B5/38Acoustic or auditory stimuli
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4836Diagnosis combined with treatment in closed-loop systems or methods
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/61Indexing; Data structures therefor; Storage structures
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M2230/00Measuring parameters of the user
    • A61M2230/08Other bio-electrical signals
    • A61M2230/10Electroencephalographic signals

Abstract

The invention discloses a music configuration method, a device, a terminal and a medium for brain stem pre-stimulation, wherein the method comprises the following steps: acquiring an intervention stimulation stage corresponding to the current moment, wherein the intervention stimulation stage is used for representing the state of stimulation current; screening music in a music library according to a target scene and the intervention stimulation stage to obtain target music, wherein the target music is used for being played when the brainstem is pre-stimulated; and when the intervention stimulation stage is a constant current stage, detecting an electroencephalogram signal during intervention stimulation in real time, eliminating an interference signal generated by stimulation current in the electroencephalogram signal, obtaining a first electroencephalogram signal, and updating the target music according to the first electroencephalogram signal. The target music can be dynamically updated, so that the music played during the intervention stimulation is matched with the brain stem pre-stimulation process, and the brain electrical stimulation effect is promoted and enhanced.

Description

Music configuration method, device, terminal and medium for brain stem pre-stimulation
Technical Field
The invention relates to the technical field of brain electrical stimulation, in particular to a music configuration method, device, terminal and medium for brain stem pre-stimulation.
Background
Different types of music may produce different effects. For example, relaxed music may promote relaxation and meditation states, while fast-paced music may improve attention and concentration. Therefore, in brain stem pre-stimulation, selecting appropriate music can promote and enhance the effect of brain electrical stimulation.
At present, when the brain is subjected to intervention stimulation, single white noise or preselected music is mainly adopted as brain wave music played during the intervention stimulation, and the brain wave music is not matched with the brain stem pre-stimulation process, so that the effect of promoting and enhancing the brain electric stimulation effect is difficult to achieve.
Accordingly, there is a need for improvement and advancement in the art.
Disclosure of Invention
The invention mainly aims to provide a music configuration method, a device, an intelligent terminal and a computer readable storage medium for brain stem pre-stimulation, and aims to solve the problems that music played during intervention stimulation is not matched with a brain stem pre-stimulation process and is difficult to promote and enhance an electroencephalogram stimulation effect.
To achieve the above object, a first aspect of the present invention provides a music configuration method for brain stem pre-stimulation, the method comprising:
acquiring an intervention stimulation stage corresponding to the current moment, wherein the intervention stimulation stage is used for representing the state of stimulation current;
screening music in a music library according to a target scene and the intervention stimulation stage to obtain target music, wherein the target music is used for being played when the brainstem is pre-stimulated;
and when the intervention stimulation stage is a constant current stage, detecting an electroencephalogram signal during intervention stimulation in real time, eliminating an interference signal generated by stimulation current in the electroencephalogram signal, obtaining a first electroencephalogram signal, and updating the target music according to the first electroencephalogram signal.
Optionally, the screening the music in the music library according to the target scene and the intervention stimulation stage to obtain target music includes:
when the intervention stimulation stage is a current rising stage or a current falling stage, screening soothing music from the music library to obtain the target music;
and when the intervention stimulation stage is a constant current stage, screening the music in the music library according to the target scene to obtain the target music.
Optionally, the updating the target music according to the first electroencephalogram signal includes:
calculating the ratio of beta waves to alpha waves in the first electroencephalogram signals to obtain an excitability level value;
and when the excitability level value exceeds a preset threshold value, screening out soothing music from the music library, and setting the soothing music as the target music.
Optionally, the updating the target music according to the first electroencephalogram signal includes:
acquiring a second electroencephalogram signal corresponding to a target scene, wherein the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene;
calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene;
and updating the target music according to the similarity.
Optionally, the updating the target music according to the similarity includes:
calculating a beat proportion according to the similarity, wherein the beat proportion is inversely proportional to the similarity;
and updating the beat of the target music according to the beat proportion.
Optionally, after updating the beat of the target music according to the beat proportion, the method further includes:
determining the frequency of the stimulation current when the brainstem is pre-stimulated according to the updated beat number of the target music;
the brain stem pre-stimulation is controlled according to the frequency.
A second aspect of the present invention provides a musical configuration apparatus for brain stem pre-stimulation, comprising:
the intervention stimulation phase module is used for acquiring an intervention stimulation phase corresponding to the current moment, and the intervention stimulation phase is used for representing the state of stimulation current;
the target music acquisition module is used for screening the music in the music library according to a target scene and the intervention stimulation stage to acquire target music, wherein the target music is used for playing the target music when prestimulating the brainstem;
and the target music updating module is used for detecting the electroencephalogram signals during the intervention stimulation in real time when the intervention stimulation stage is a constant current stage, eliminating interference signals generated by the stimulation current in the electroencephalogram signals, obtaining a first electroencephalogram signal and updating the target music according to the first electroencephalogram signal.
Optionally, the target music updating module further includes a second electroencephalogram signal obtaining unit and a similarity calculating unit, where the second electroencephalogram signal obtaining unit is used to obtain a second electroencephalogram signal corresponding to a target scene, and the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene; the similarity calculation unit is used for calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene; and the target music updating module updates the target music according to the similarity.
A third aspect of the present invention provides an intelligent terminal, the intelligent terminal including a memory, a processor, and a music configuration program for brain stem pre-stimulation stored on the memory and executable on the processor, the music configuration program for brain stem pre-stimulation implementing any one of the steps of the music configuration method for brain stem pre-stimulation when executed by the processor.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon a music configuration program for brain stem pre-stimulation, which when executed by a processor, implements the steps of any one of the above-described music configuration methods for brain stem pre-stimulation.
From the above, the invention firstly obtains the intervention stimulation stage corresponding to the current moment, and selects different target music according to the intervention stimulation stage and different target scenes; and then when the intervention stimulation stage is a constant current stage, dynamically updating target music according to the brain electrical signal detected during the intervention stimulation, so that the music played during the intervention stimulation is matched with the brain stem pre-stimulation process, and the brain electrical stimulation effect can be promoted and enhanced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a music configuration method for brain stem pre-stimulation according to an embodiment of the present invention;
FIG. 2 is a flow diagram of one embodiment of updating target music based on a first electroencephalogram signal;
FIG. 3 is a flow chart of another embodiment of updating target music based on a first electroencephalogram signal;
FIG. 4 is a flow chart of step B330 in the embodiment of FIG. 3;
FIG. 5 is a functional block diagram of a music configuration device for brain stem pre-stimulation according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention 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 invention with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted in context as "when …" or "upon" or "in response to a determination" or "in response to detection. Similarly, the phrase "if a condition or event described is determined" or "if a condition or event described is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a condition or event described" or "in response to detection of a condition or event described".
The following description of the embodiments of the present invention will be made more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown, it being evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
At present, when the brain is subjected to intervention stimulation, the played brain wave music is preset white noise or preset music, cannot be dynamically changed along with the scene and effect during the intervention stimulation, and is difficult to play a role in promoting and enhancing the brain electric stimulation effect.
In order to solve the problems, the invention provides a music configuration method for brain stem pre-stimulation, which can dynamically change played music in the brain stem pre-stimulation process and promote and enhance the brain electrical stimulation effect by utilizing the played music.
The embodiment of the invention provides a music configuration method for brain stem pre-stimulation, which is deployed on a control chip of transcranial direct current stimulation equipment provided with a detection electrode and a stimulation electrode, wherein the detection electrode is used for collecting brain electrical signals of left forehead and right forehead, and the stimulation electrode is used for introducing weak current to stimulate anterior temporal lobes and forehead lobes of the brain so as to perform intervention stimulation on the brain. During the intervention stimulation of the brain, the steps shown in fig. 1 are performed:
step S100: acquiring an intervention stimulation stage corresponding to the current moment;
different intervening stimulation phases are divided according to the state of the stimulation current. The intervention stimulation phase specifically comprises: a current rising phase, a constant current phase and a current falling phase. The current rising stage is the initial stage of intervention stimulation to the brain, and slowly increases the current value of the current input into the stimulation electrode until reaching a preset target current value; the constant current stage is the middle stage of intervening stimulation to the brain, and the current value of the current input into the stimulation electrode is kept constant at the moment; the current drop stage refers to the later stage of intervention stimulation to brain, and slowly reduces the current value of the current input to the stimulation electrode until the current input to the stimulation electrode is cut off. Therefore, by comparing the current values of the current input to the stimulation electrode at the current moment and the current value of the current input to the stimulation electrode at the previous moment, the intervention stimulation stage corresponding to the current moment can be judged.
Studies have shown that different types of music can produce different effects on brain electrical stimulation. For example, relaxed music may promote relaxation and meditation states, while fast-paced music may improve attention and concentration. Therefore, in the electroencephalogram stimulation, the effect of stimulation can be enhanced by selecting proper music, so that the electroencephalogram stimulation is more effective.
Therefore, in the process of brain stem pre-stimulation, the stage of intervention stimulation at the current moment needs to be detected in real time, and then different music is played in different intervention stimulation stages, so that the effect of intervention stimulation is enhanced.
In this embodiment, the current value of the current input to the stimulation electrode is detected every 1 minute, the current value at the current time and the current value at the previous time are compared, and the intervention stimulation phase corresponding to the current time is determined. Optionally, if the current value mode is preset by the control program running on the control chip of the stimulation electrode, the intervention stimulation stage corresponding to the current moment can also be directly obtained from the control chip.
In one example, when the playing of the current track is completed, an intervention stimulation stage corresponding to the current moment is acquired, and then the next played music is determined according to the intervention stimulation stage.
Step S200: screening music in a music library according to a target scene and an intervention stimulation stage to obtain target music;
the target music refers to music played at the time of brain stem pre-stimulation. Various kinds of music which can be used for prestimulation of brains are stored in the music library, and are classified according to the rhythm of the music, such as rock music, popular music, dance music and the like with cheerful rhythm; light music with a relaxed rhythm, jazz, etc.; heavy metal music with high rhythm, symphony, and the like; sad tempo blue music, country music, etc. Obviously, the manner of music classification is not limited, and may be set accordingly according to the actual scene, for example, music classified into α -wave music, β -wave music, δ -wave music, θ -wave music.
The target scenario is related to the purpose, time and environment of the intervention stimulus, and is commonly: improving concentration scenes, improving memory scenes, enhancing brain excitability scenes, and the like. For example: the intervention stimulation is performed in the office at the afternoon, at this time, the purpose of the intervention stimulation is to improve the concentration of the brain, and then the target scene is to enhance the brain excitability scene. A target scene can be preset on transcranial direct current stimulation equipment; the target scene can also be set on an applet on a mobile terminal communicatively connected to the transcranial direct current stimulation device; the target scene may also be determined by intervening in the planning of the stimulus to obtain the target scene or detecting parameters related to the target scene.
The intervening stimulation phases include a current rise phase, a current fall phase, and a constant current phase, the current rise phase and the current fall phase also being referred to as a varying current phase. In the current change phase, the time is generally short (90 seconds in this embodiment), and the current rise phase causes the brain to gradually enter a state adapting to the intervention, and the current fall phase causes the brain to gradually exit the state of the intervention; in the constant current phase, the time is generally longer (15 minutes in this example), and in the constant current phase the brain has been adapted to the intervention stimulus. Therefore, the invention adopts different music configuration strategies for the variable current stage and the constant current stage according to the difference of the variable current stage and the constant current stage.
Specifically, when the intervention stimulation phase is a current rising phase or a current falling phase, the embodiment directly screens out music with a relaxed rhythm from the music library, that is, the target music is a relaxed music. That is, a specific soothing music is selected from the music library in the phase of changing the current, so that the user feels more comfortable in the early and late stages of the intervention stimulus, and the experience is better. It should be noted that the target music is not limited to the relaxation type music, and other types of music, such as nature music, country songs, etc., may be selected according to different personal preference and feeling levels of music.
When the intervention stimulation stage is a constant current stage, the music in the music library is required to be screened according to the target scene, so as to obtain target music. That is, in the constant current stage, the music is not fixed, but proper music is required to be selected according to specific target scenes, for example, when the target scenes are the attention improving scenes, alpha wave music is selected as target music; when the target scene is a scene free from anxiety, selecting the theta wave music as target music; music with obvious and stable rhythm, such as light dance music, electronic music and the like, can also be selected. The music can help the brain to keep rhythmic sense, promote synchronization among neurons, and improve concentration and memory.
It should be noted that: since the time of the intervention stimulus phase is generally long, the target music is not limited to one piece of music, but may be a plurality of pieces of music.
Step S300: when the intervention stimulation stage is a constant current stage, detecting an electroencephalogram signal during intervention stimulation in real time, eliminating an interference signal generated by stimulation current in the electroencephalogram signal, obtaining a first electroencephalogram signal, and updating target music according to the first electroencephalogram signal.
When the intervention stimulation stage is a constant current stage, the invention not only selects target music matched with the target scene, but also updates the target music according to the detected electroencephalogram signal, and under the premise of ensuring that the target music is matched with the target scene, the invention can update the target music according to the stimulation effect reflected by the electroencephalogram signal so as to further enhance the effect of the intervention stimulation. Specifically, the brain electrical signals during interference stimulation are detected in real time through the detection electrode, interference caused by stimulation current in the brain electrical signals is eliminated, the brain electrical signals corresponding to the brain electrical waves are reserved, and a first brain electrical signal is obtained. And updating the target music according to the first electroencephalogram signal. For example: in the scene of improving brain excitability, when the difference between the first brain electrical signal and the brain electrical signal corresponding to the pre-calibrated current scene is large, the music with stronger rhythm and faster beat can be selected as target music, so that the brain excitability is quickly improved together with the stimulating electrode. The method for eliminating the interference caused by the stimulation current in the electroencephalogram signal is not limited, and various existing signal processing methods such as a filtering method, a deep learning method and the like can be adopted.
Specifically, the target music may be updated by selecting new music, changing the tempo, frequency, and the like of the target music.
In one embodiment, the specific steps of updating the target music according to the first electroencephalogram signal are as shown in fig. 2, including:
step a310: calculating the ratio of beta waves to alpha waves in the first electroencephalogram signals to obtain an excitability level value;
step A320: and when the excitement level value exceeds a preset threshold value, screening the soothing music from the music library, and updating the target music into the soothing music.
Considering that each person has different sensitivity to the prestimulation of the brainstem, the same intervention stimulation duration and current value have larger intensity and obvious effect of intervention stimulation for some people, and the brain excitation value is too high when the intervention stimulation duration is not finished, similar to the excitation. Instead, the brain is prone to fatigue. Therefore, the present embodiment obtains the level of excitability for measuring the level of brain excitation by calculating the ratio of the β wave to the α wave in the first electroencephalogram signal. When the excitement level value exceeds a preset threshold value, the brain excitement degree is too high, at the moment, soothing music is screened out from a music library, the soothing music is used as target music to be played, and the brain excitement degree is regulated.
Therefore, the target music is changed according to the excitability level value, and the use comfort of the user can be improved according to different sensitivity of different individuals to the brain electrical stimulation.
In one embodiment, according to the first electroencephalogram signal, the specific steps of updating the target music are as shown in fig. 3, including:
step B310: acquiring a second electroencephalogram signal corresponding to a target scene, wherein the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene;
step B320: according to the target scene, calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal;
step B330: and updating the target music according to the similarity.
The method comprises the steps of detecting the electroencephalogram signals of different people after intervention stimulation in a target scene in advance, manually analyzing all the electroencephalogram signals, selecting the electroencephalogram signal detected by a user with the best intervention stimulation effect, calibrating the electroencephalogram signal to serve as a second electroencephalogram signal corresponding to the target scene, comparing the first electroencephalogram signal with the second electroencephalogram signal, calculating the similarity according to the target scene, and indicating that the closer the first electroencephalogram signal is to the second electroencephalogram signal, the better the intervention stimulation effect is. Thus, the target music can be updated according to the similarity. For example: when the similarity is not high, music with strong rhythm is selected to strengthen the stimulation effect, otherwise music with relaxed rhythm is selected to keep the stimulation effect.
The change of different wave bands can reflect different brain electrical activity states. For example, an increase in alpha wave may reflect a state of concentration; while an increase in beta waves may reflect an excited state. Therefore, in this embodiment, a corresponding waveform is selected from the electroencephalogram signals according to the target scene, for example, a scene of improving concentration is selected, and a waveform of an α wave in the electroencephalogram signals is selected; and (3) improving the excitation scene, selecting a waveform of beta waves in the electroencephalogram signals, and then analyzing the time domain and frequency domain characteristics of the waveform. The time domain and frequency domain features can reflect different brain electrical activity states, waveforms between the first brain electrical signal and the second brain electrical signal are compared, the similarity between the first brain electrical signal and the second brain electrical signal is calculated, when the similarity is lower than 50%, the speed and the beat of target music are improved by 30%, and when the similarity is lower than 80% and higher than 50%, the speed and the beat of the target music are improved by 10%.
Optionally, a brain region with the highest relevance can be determined according to the target scene, and the similarity between waveforms of the first electroencephalogram signal and the second electroencephalogram signal acquired in the brain region can be directly calculated. For example: in the target scene of improving the attention, the first electroencephalogram signal and the second electroencephalogram signal acquired at the forehead lobe and the top lobe can be directly compared.
By the method, the target music is dynamically updated through the similarity, so that the intervention stimulation effect of each individual can be improved, and individuation of the intervention stimulation process of each individual is realized.
In one embodiment, the specific steps for updating the beat of the target music according to the similarity are as shown in fig. 4, and include:
step B331: calculating the beat proportion according to the similarity;
step B332: and updating the beat of the target music according to the beat proportion.
In this embodiment, after obtaining the similarity between the first electroencephalogram signal and the second electroencephalogram signal, the number of beats of the music is determined according to the similarity, and then the beats of the target music are adjusted according to the beat proportion. Specifically, the number of beats is inversely proportional to the similarity, for example: the similarity is 0.8, the beat ratio is 1.25, and assuming that the original beat of the target music is 120BPM (beats per minute), the beat of the updated target music is 120×1.25. I.e. the higher the similarity, the fewer beats, i.e. the tempo of the music is relaxed; the lower the similarity, the more the number of beats of the music becomes, and the faster the beat of the music becomes. Wherein the BPM of the music can be calculated by a BPM detector.
The individuation of the intervention stimulation process is realized by changing the beat number of the target music, and the effect of the intervention stimulation is enhanced.
The synchronization and coordination of the brain can be facilitated when the tempo and beat of the music are matched to the frequency (Hz) of the intervening stimulus. On the basis of the above embodiment, in one example, after the target music is selected, the frequency of pre-stimulation to the brain stem is also determined according to the updated beat number; the brain stem pre-stimulation is controlled according to the frequency. That is, the frequency of the brain stem pre-stimulus is correlated with the number of beats, and the greater the number of beats, the higher the frequency of the brain stem pre-stimulus. By controlling the rhythm of music and adjusting the frequency of brain electrical stimulation, the cooperative reaction of the body and the brain can be promoted, and the effect of intervention stimulation can be improved. For example, if music with a tempo of 100BPM is selected, the frequency of the brain electrical stimulation is controlled to be 10Hz, so that 10 beats per minute are synchronized with the brain electrical stimulation.
As described above, the music configuration method for brain stem pre-stimulation according to the embodiment adopts different music configuration strategies for different intervention stimulation phases, and dynamically updates the target music according to the brain electrical signal in the constant current phase, so that the music played during intervention stimulation can be matched with the brain stem pre-stimulation process, thereby enhancing the effect of brain electrical stimulation.
The present invention also provides a transcranial direct current stimulation device, as shown in fig. 5, comprising:
an intervention stimulation phase module 600, configured to obtain an intervention stimulation phase corresponding to the current moment, where the intervention stimulation phase is used to characterize a state of a stimulation current;
the target music obtaining module 610 is configured to screen music in a music library according to a target scene and the intervention stimulation stage, and obtain target music, where the target music is used for playing when prestimulating the brainstem;
and the target music updating module 620 is configured to detect an electroencephalogram signal during the intervention stimulation in real time when the intervention stimulation stage is a constant current stage, reject an interference signal generated by the stimulation current in the electroencephalogram signal, obtain a first electroencephalogram signal, and update the target music according to the first electroencephalogram signal.
Optionally, the target music updating module further includes a second electroencephalogram signal obtaining unit and a similarity calculating unit, where the second electroencephalogram signal obtaining unit is used to obtain a second electroencephalogram signal corresponding to a target scene, and the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene; the similarity calculation unit is used for calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene; and the target music updating module updates the target music according to the similarity.
In particular, in this embodiment, the specific function of the above-mentioned music configuration device for brain stem pre-stimulation may refer to the corresponding description in the above-mentioned music configuration method for brain stem pre-stimulation, which is not described herein again.
Based on the above embodiment, the present invention also provides an intelligent terminal, and a functional block diagram thereof may be shown in fig. 6. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. The processor of the intelligent terminal is used for providing computing and control capabilities. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a music configuration program for brain stem pre-stimulation. The internal memory provides an environment for the operation of an operating system and a music configuration program for brain stem pre-stimulation in a non-volatile storage medium. The network interface of the intelligent terminal is used for communicating with an external terminal through network connection. The method comprises the steps of implementing any one of the above-described music configuration methods for brain stem pre-stimulation when the music configuration program for brain stem pre-stimulation is executed by a processor. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the schematic block diagram shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the smart terminal to which the present inventive arrangements are applied, and that a particular smart terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a smart terminal is provided, the smart terminal including a memory, a processor, and a music configuration program for brain stem pre-stimulation stored on the memory and executable on the processor, the music configuration program for brain stem pre-stimulation, when executed by the processor, performing the following operation instructions:
acquiring an intervention stimulation stage corresponding to the current moment, wherein the intervention stimulation stage is used for representing the state of stimulation current;
screening music in a music library according to a target scene and the intervention stimulation stage to obtain target music, wherein the target music is used for being played when the brainstem is pre-stimulated;
and when the intervention stimulation stage is a constant current stage, detecting an electroencephalogram signal during intervention stimulation in real time, eliminating an interference signal generated by stimulation current in the electroencephalogram signal, obtaining a first electroencephalogram signal, and updating the target music according to the first electroencephalogram signal.
Optionally, the screening the music in the music library according to the target scene and the intervention stimulation stage to obtain target music includes:
when the intervention stimulation stage is a current rising stage or a current falling stage, screening soothing music from the music library to obtain the target music;
and when the intervention stimulation stage is a constant current stage, screening the music in the music library according to the target scene to obtain the target music.
Optionally, the updating the target music according to the first electroencephalogram signal includes:
calculating the ratio of beta waves to alpha waves in the first electroencephalogram signals to obtain an excitability level value;
and when the excitability level value exceeds a preset threshold value, screening out soothing music from the music library, and setting the soothing music as the target music.
Optionally, the updating the target music according to the first electroencephalogram signal includes:
acquiring a second electroencephalogram signal corresponding to a target scene, wherein the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene;
calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene;
and updating the target music according to the similarity.
Optionally, the updating the target music according to the similarity includes:
calculating a beat proportion according to the similarity, wherein the beat proportion is inversely proportional to the similarity;
and updating the beat of the target music according to the beat proportion.
Optionally, after updating the beat of the target music according to the beat proportion, the method further includes:
determining the frequency of the stimulation current when the brainstem is pre-stimulated according to the updated beat number of the target music;
the brain stem pre-stimulation is controlled according to the frequency.
The embodiment of the invention also provides a computer readable storage medium, on which a music configuration cutting program for brain stem pre-stimulation is stored, which implements any one of the steps of the music configuration method for brain stem pre-stimulation provided by the embodiment of the invention when the music configuration program for brain stem pre-stimulation is executed by a processor.
It should be understood that the sequence number of each step in the above embodiment does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiment of the present invention.
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, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present invention. 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 elements and algorithm steps of the examples 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 invention.
In the embodiments provided in the present invention, 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 described above is merely a logical function division, and may be implemented in other manners, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The integrated modules/units described above, 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 invention 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 steps of each method embodiment may be implemented. The computer program comprises computer program code, and the computer program code can be in a source code form, an object code form, an executable file or some intermediate form and the like. The computer readable medium may include: any entity or device capable of carrying the computer program code described above, 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. The content of the computer readable storage medium can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand 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 are not intended to depart from the spirit and scope of the various embodiments of the invention, which are also within the spirit and scope of the invention.

Claims (10)

1. A music configuration method for brain stem pre-stimulation, the method comprising:
acquiring an intervention stimulation stage corresponding to the current moment, wherein the intervention stimulation stage is used for representing the state of stimulation current;
screening music in a music library according to a target scene and the intervention stimulation stage to obtain target music, wherein the target music is used for being played when the brainstem is pre-stimulated;
and when the intervention stimulation stage is a constant current stage, detecting an electroencephalogram signal during intervention stimulation in real time, eliminating an interference signal generated by stimulation current in the electroencephalogram signal, obtaining a first electroencephalogram signal, and updating the target music according to the first electroencephalogram signal.
2. The method for configuring music for brain stem pre-stimulation according to claim 1, wherein the screening music in a music library according to a target scene and the intervention stimulation phase to obtain target music comprises:
when the intervention stimulation stage is a current rising stage or a current falling stage, screening soothing music from the music library to obtain the target music;
and when the intervention stimulation stage is a constant current stage, screening the music in the music library according to the target scene to obtain the target music.
3. The music configuration method for brain stem pre-stimulation according to claim 1, wherein the updating the target music from the first brain electrical signal comprises:
calculating the ratio of beta waves to alpha waves in the first electroencephalogram signals to obtain an excitability level value;
and when the excitability level value exceeds a preset threshold value, screening out soothing music from the music library, and setting the soothing music as the target music.
4. The music configuration method for brain stem pre-stimulation according to claim 1, wherein the updating the target music from the first brain electrical signal comprises:
acquiring a second electroencephalogram signal corresponding to a target scene, wherein the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene;
calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene;
and updating the target music according to the similarity.
5. The music configuration method for brain stem pre-stimulation according to claim 4, wherein said updating the target music according to the similarity comprises:
calculating a beat proportion according to the similarity, wherein the beat proportion is inversely proportional to the similarity;
and updating the beat of the target music according to the beat proportion.
6. The music configuration method for brain stem pre-stimulation according to claim 5, further comprising, after updating the beat of the target music according to the beat ratio:
determining the frequency of the stimulation current when the brainstem is pre-stimulated according to the updated beat number of the target music;
the brain stem pre-stimulation is controlled according to the frequency.
7. A musical configuration apparatus for brain stem pre-stimulation, comprising:
the intervention stimulation phase module is used for acquiring an intervention stimulation phase corresponding to the current moment, and the intervention stimulation phase is used for representing the state of stimulation current;
the target music acquisition module is used for screening the music in the music library according to a target scene and the intervention stimulation stage to acquire target music, wherein the target music is used for playing the target music when prestimulating the brainstem;
and the target music updating module is used for detecting the electroencephalogram signals during the intervention stimulation in real time when the intervention stimulation stage is a constant current stage, eliminating interference signals generated by the stimulation current in the electroencephalogram signals, obtaining a first electroencephalogram signal and updating the target music according to the first electroencephalogram signal.
8. The music configuration device for brain stem pre-stimulation according to claim 7, wherein the target music update module further comprises a second electroencephalogram signal acquisition unit and a similarity calculation unit, the second electroencephalogram signal acquisition unit is used for acquiring a second electroencephalogram signal corresponding to a target scene, and the second electroencephalogram signal is an electroencephalogram signal calibrated in advance according to the target scene; the similarity calculation unit is used for calculating the similarity between the first electroencephalogram signal and the second electroencephalogram signal according to the target scene; and the target music updating module updates the target music according to the similarity.
9. A smart terminal comprising a memory, a processor and a music configuration program for brain stem pre-stimulation stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the music configuration method for brain stem pre-stimulation as claimed in any one of claims 1-6.
10. Computer readable storage medium, characterized in that it has stored thereon a music configuration program for brain stem pre-stimulation, which when executed by a processor, implements the steps of the music configuration method for brain stem pre-stimulation according to any one of claims 1-6.
CN202311317422.7A 2023-10-12 2023-10-12 Music configuration method, device, terminal and medium for brain stem pre-stimulation Active CN117056554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311317422.7A CN117056554B (en) 2023-10-12 2023-10-12 Music configuration method, device, terminal and medium for brain stem pre-stimulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311317422.7A CN117056554B (en) 2023-10-12 2023-10-12 Music configuration method, device, terminal and medium for brain stem pre-stimulation

Publications (2)

Publication Number Publication Date
CN117056554A true CN117056554A (en) 2023-11-14
CN117056554B CN117056554B (en) 2024-01-30

Family

ID=88655808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311317422.7A Active CN117056554B (en) 2023-10-12 2023-10-12 Music configuration method, device, terminal and medium for brain stem pre-stimulation

Country Status (1)

Country Link
CN (1) CN117056554B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105891151A (en) * 2016-04-21 2016-08-24 中国科学院长春光学精密机械与物理研究所 Single-light-source laser drive system for reflection type laser drunk driving detection
CN106933348A (en) * 2017-01-24 2017-07-07 武汉黑金科技有限公司 A kind of brain electric nerve feedback interventions system and method based on virtual reality
CN107126615A (en) * 2017-04-20 2017-09-05 重庆邮电大学 Music induced hypnotic method and system based on EEG signals
US20190090749A1 (en) * 2017-09-26 2019-03-28 Washington University Supervised classifier for optimizing target for neuromodulation, implant localization, and ablation
US20190344042A1 (en) * 2018-05-10 2019-11-14 Koninklijke Philips N.V. System and method for enhancing sensory stimulation delivered to a user using neural networks
CN112023263A (en) * 2020-09-15 2020-12-04 天津大学 Remote monitoring household high-precision transcranial current stimulation system
CN113171534A (en) * 2021-04-21 2021-07-27 浙江柔灵科技有限公司 Superposition enhanced nerve modulation method and device based on music and energy wave function
CN115644890A (en) * 2022-11-15 2023-01-31 南京左右脑医疗科技集团有限公司 Brain state recognition method, device and storage medium
CN115645707A (en) * 2022-12-26 2023-01-31 深圳市心流科技有限公司 Sleep mode-based sleep stimulation control method and related equipment
CN115721310A (en) * 2022-12-02 2023-03-03 酒泉钢铁(集团)有限责任公司 Driving fatigue detection and mitigation method and system based on electroencephalogram
CN115778388A (en) * 2022-12-01 2023-03-14 苏州聆慧尔科技有限公司 Mental stress evaluation and relieving system and method based on music synergistic electrical stimulation
CN116013228A (en) * 2022-12-28 2023-04-25 深圳大学 Music generation method and device, electronic equipment and storage medium thereof
CN116570834A (en) * 2023-07-12 2023-08-11 杭州般意科技有限公司 Transcranial direct current stimulation method, device, terminal and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105891151A (en) * 2016-04-21 2016-08-24 中国科学院长春光学精密机械与物理研究所 Single-light-source laser drive system for reflection type laser drunk driving detection
CN106933348A (en) * 2017-01-24 2017-07-07 武汉黑金科技有限公司 A kind of brain electric nerve feedback interventions system and method based on virtual reality
CN107126615A (en) * 2017-04-20 2017-09-05 重庆邮电大学 Music induced hypnotic method and system based on EEG signals
US20190090749A1 (en) * 2017-09-26 2019-03-28 Washington University Supervised classifier for optimizing target for neuromodulation, implant localization, and ablation
US20190344042A1 (en) * 2018-05-10 2019-11-14 Koninklijke Philips N.V. System and method for enhancing sensory stimulation delivered to a user using neural networks
CN112023263A (en) * 2020-09-15 2020-12-04 天津大学 Remote monitoring household high-precision transcranial current stimulation system
CN113171534A (en) * 2021-04-21 2021-07-27 浙江柔灵科技有限公司 Superposition enhanced nerve modulation method and device based on music and energy wave function
CN115644890A (en) * 2022-11-15 2023-01-31 南京左右脑医疗科技集团有限公司 Brain state recognition method, device and storage medium
CN115778388A (en) * 2022-12-01 2023-03-14 苏州聆慧尔科技有限公司 Mental stress evaluation and relieving system and method based on music synergistic electrical stimulation
CN115721310A (en) * 2022-12-02 2023-03-03 酒泉钢铁(集团)有限责任公司 Driving fatigue detection and mitigation method and system based on electroencephalogram
CN115645707A (en) * 2022-12-26 2023-01-31 深圳市心流科技有限公司 Sleep mode-based sleep stimulation control method and related equipment
CN116013228A (en) * 2022-12-28 2023-04-25 深圳大学 Music generation method and device, electronic equipment and storage medium thereof
CN116570834A (en) * 2023-07-12 2023-08-11 杭州般意科技有限公司 Transcranial direct current stimulation method, device, terminal and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘虔铖等: "基于数字音频技术设计的便携式音乐电疗仪", 中国组织工程研究与临床康复, vol. 15, no. 30 *
梁博;倪原;刘朝辉;: "用于音乐治疗的人体脑电检测系统设计", 生命科学仪器, no. 04 *

Also Published As

Publication number Publication date
CN117056554B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
Wang et al. Separation of speech from interfering sounds based on oscillatory correlation
US20220249017A1 (en) Deep sound stimulation system and method for sleep regulation
Norman-Haignere et al. Cortical pitch regions in humans respond primarily to resolved harmonics and are located in specific tonotopic regions of anterior auditory cortex
Brosch et al. Time course of forward masking tuning curves in cat primary auditory cortex
Kiang et al. Tails of tuning curves of auditory‐nerve fibers
Wang Cortical coding of auditory features
Edwards et al. Syllabic (∼ 2–5 Hz) and fluctuation (∼ 1–10 Hz) ranges in speech and auditory processing
US9999743B2 (en) Sound-induced sleep method and a system therefor
Zhang et al. Changes across time in spike rate and spike amplitude of auditory nerve fibers stimulated by electric pulse trains
US20070129772A1 (en) Cochlear Implant Fitting
CN116570834B (en) Transcranial direct current stimulation method, device, terminal and medium
CN108543193A (en) A kind of User Status interference method and device
White et al. Temporal processing of the pitch of complex tones
Brown et al. Modelling the perceptual segregation of double vowels with a network of neural oscillators
CN115171850A (en) Sleep scheme generation method and device, terminal equipment and storage medium
CN117056554B (en) Music configuration method, device, terminal and medium for brain stem pre-stimulation
Seither-Preisler et al. From noise to pitch: transient and sustained responses of the auditory evoked field
CN110960351B (en) Tinnitus treatment music generation method, medium, equipment and tinnitus treatment instrument
Ping et al. Musical pitch discrimination by cochlear implant users
Cariani A temporal model for pitch multiplicity and tonal consonance
Wiegrebe et al. Temporal resolution and temporal masking properties of transient stimuli: Data and an auditory model
Martens et al. Separating burst from background spikes in multichannel neuronal recordings using return map analysis
CN115708689A (en) Method for verifying influence of different pre-sleep music on sleep effect based on closed-loop intervention
Lütkenhöner et al. Disruption of the auditory response to a regular click train by a single, extra click
McLachlan A computational model of human pitch strength and height judgments

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
TA01 Transfer of patent application right

Effective date of registration: 20240104

Address after: 518000 Nanshan Software Park A2801, Liancheng Community, Nantou Street, Nanshan District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Banyi Technology Co.,Ltd.

Address before: Room 103-1, Block D, No. 79, Jinyi Road, Economic and Technological Development Zone, Xiaoshan District, Hangzhou, Zhejiang 311215

Applicant before: Hangzhou Boyi Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant