CN113952582B - Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals - Google Patents
Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals Download PDFInfo
- Publication number
- CN113952582B CN113952582B CN202111562776.9A CN202111562776A CN113952582B CN 113952582 B CN113952582 B CN 113952582B CN 202111562776 A CN202111562776 A CN 202111562776A CN 113952582 B CN113952582 B CN 113952582B
- Authority
- CN
- China
- Prior art keywords
- electroencephalogram
- meditation
- sound effect
- interruption
- state
- 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
- A61M—DEVICES 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/00—Other 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
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES 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/00—Other 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
- A61M21/02—Other 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 for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES 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/00—Other 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/0005—Other 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/0027—Other 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
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES 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/00—Measuring parameters of the user
- A61M2230/08—Other bio-electrical signals
- A61M2230/10—Electroencephalographic signals
Landscapes
- Health & Medical Sciences (AREA)
- Anesthesiology (AREA)
- Hematology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Psychology (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Pain & Pain Management (AREA)
- Electrically Operated Instructional Devices (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
- Rehabilitation Tools (AREA)
Abstract
The invention relates to the technical field of meditation training, in particular to a meditation sound effect interruption control method and device based on electroencephalogram signals. The invention firstly records the meditation state corresponding to the interrupted meditation training of the user, and sends out the guiding sound effect corresponding to the meditation state when the user continues the meditation training again, and the guiding sound effect can inform the user of the meditation state corresponding to the interrupted meditation training on one hand, and can help the user to quickly enter the meditation state before the interruption on the other hand, so as to smoothly complete the whole meditation training, thereby improving the effect of the meditation training.
Description
Technical Field
The invention relates to the technical field of meditation training, in particular to a meditation sound effect interruption control method and device based on electroencephalogram signals.
Background
Meditation training comprises four phases which are performed in sequence, namely four states: active state, quiet state, relaxed state, and fixed state. The meditation degree corresponding to the active state to the entering state gradually increases. However, when the user performs the meditation training, it is difficult to perform four states at a time, that is, when the user performs the meditation training, the meditation training is interrupted by other things, and then when the user continues the meditation training again, the user often cannot know which state the user should start from, and thus cannot continue the interrupted meditation training.
In summary, the meditation training cannot be continued once the meditation training is interrupted in the prior art.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a device for controlling interrupted meditation sound effect based on electroencephalogram signals, which solve the problem that meditation training cannot be continued once meditation training is interrupted in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the invention provides a method for controlling interrupted meditation sound effect based on electroencephalogram signals, which comprises the following steps:
acquiring a meditation state corresponding to the beginning of the meditation training interruption of the user and the interruption time for the meditation training interruption;
when the user continues to perform meditation, obtaining a guiding sound effect corresponding to the meditation state according to the meditation state;
obtaining playing time corresponding to the playing of the guide sound effect according to the interruption time;
collecting the electroencephalogram signals of the user after the playing time, and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
and obtaining a prompt sound effect matched with the electroencephalogram signals after interruption according to the electroencephalogram signals after interruption, wherein the prompt sound effect is used for meditation training.
In one implementation, the obtaining, according to the electroencephalogram signal after interruption, a prompt sound effect matched with the electroencephalogram signal after interruption, wherein the prompt sound effect is used for meditation training, and the method includes:
acquiring an electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal;
and obtaining a prompt sound effect matched with the electroencephalogram signal after interruption according to the electroencephalogram standard signal of the next section and the electroencephalogram signal after interruption.
In one implementation manner, the obtaining, according to the electroencephalogram standard signal of the next section and the electroencephalogram signal after interruption, a prompt sound effect matched with the electroencephalogram signal after interruption includes:
when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal at the next section is larger than a first set value, obtaining a first prompt sound effect in the prompt sound effects;
and when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal at the next section is smaller than a second set value, obtaining a second prompt sound effect in the prompt sound effects.
In one implementation, the obtaining, according to the electroencephalogram signal after interruption, a prompt sound effect matched with the electroencephalogram signal after interruption, wherein the prompt sound effect is used for meditation training, and the method includes:
acquiring an electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal;
drawing a curve corresponding to the time of the electroencephalogram standard signal of the next section and the time of the electroencephalogram standard signal of the next section, and recording the curve as the electroencephalogram standard curve of the next section;
drawing a curve of the electroencephalogram signal after interruption and the time corresponding to the electroencephalogram signal after interruption, and recording the curve as an electroencephalogram curve;
and obtaining a prompt sound effect according to the matching degree between the electroencephalogram curve and the electroencephalogram standard curve of the later section.
In one implementation, the obtaining of the guidance sound effect corresponding to the meditation state according to the meditation state when the user continues to perform the meditation includes:
according to the meditation states, obtaining an active state, a calm state, a relax state and an entrance state in the meditation states, wherein the meditation degrees corresponding to the active state, the calm state, the relax state and the entrance state are sequentially deepened;
when the user continues to perform meditation, obtaining a first guiding sound effect corresponding to the active state according to the active state;
or when the user continues to perform meditation, obtaining a second guide sound effect corresponding to the calm state according to the calm state;
or when the user continues to perform meditation, obtaining a third guide sound effect corresponding to the relaxation state according to the relaxation state;
or when the user continues to perform meditation, obtaining a fourth guide sound effect corresponding to the entrance state according to the entrance state.
In one implementation, the method further comprises:
acquiring electroencephalogram signals of the user before interruption of meditation training, and recording the electroencephalogram signals as the electroencephalogram signals before interruption;
and obtaining an evaluation sound effect according to the electroencephalogram signals after interruption and the electroencephalogram signals before interruption, wherein the evaluation sound effect is used for reflecting the training effect corresponding to the whole meditation training process of the user.
In one implementation, the obtaining, according to the electroencephalogram signal after the interruption and the electroencephalogram signal before the interruption, an evaluation sound effect for reflecting a training effect corresponding to the entire meditation training process of the user includes:
acquiring an electroencephalogram standard signal corresponding to the time before interruption of meditation training, and recording the electroencephalogram standard signal as a previous section of electroencephalogram standard signal;
acquiring an electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal;
calculating the difference between the electroencephalogram signal before interruption and the electroencephalogram standard signal of the previous section, and recording as a first difference;
calculating the difference between the electroencephalogram signal after interruption and the electroencephalogram standard signal of the next section, and recording the difference as a second difference;
and obtaining an evaluation sound effect according to the first difference value and the second difference value.
In a second aspect, an embodiment of the present invention further provides a device for interrupting a meditation sound effect control method based on electroencephalogram signals, wherein the device includes the following components:
the time acquisition module is used for acquiring the corresponding meditation state when the user starts to interrupt the meditation training and the interruption time for interrupting the meditation training;
the guiding sound effect playing module is used for obtaining a guiding sound effect corresponding to the meditation state according to the meditation state when the user continues to perform meditation;
the playing time calculation module is used for obtaining the playing time corresponding to the playing of the guide sound effect according to the interruption time;
the signal acquisition module is used for acquiring the electroencephalogram signals of the user after the playing time and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
and the prompt sound effect playing module is used for obtaining a prompt sound effect matched with the electroencephalogram signal after interruption according to the electroencephalogram signal after interruption, and the prompt sound effect is used for meditation training.
In a third aspect, the embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and an interrupted meditation sound effect control program based on electroencephalogram signals, which is stored in the memory and can be run on the processor, and when the processor executes the interrupted meditation sound effect control program based on electroencephalogram signals, the steps of the interrupted meditation sound effect control method based on electroencephalogram signals are implemented.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores therein an interrupted meditation sound effect control program based on an electroencephalogram signal, and when the interrupted meditation sound effect control program based on the electroencephalogram signal is executed by a processor, the steps of the method for controlling interrupted meditation sound effect based on an electroencephalogram signal are implemented.
Has the advantages that: the invention firstly records the meditation state corresponding to the interrupted meditation training of the user, and sends out the guiding sound effect corresponding to the meditation state when the user continues the meditation training again, and the guiding sound effect can inform the user of the meditation state corresponding to the interrupted meditation training on one hand, and can help the user to quickly enter the meditation state before the interruption on the other hand, so as to smoothly complete the whole meditation training, thereby improving the effect of the meditation training.
In addition, the invention collects the electroencephalogram signals of the interrupted users after the users continue to carry out meditation training, and sends out prompt sound effects according to the intensity of the electroencephalogram signals, wherein the prompt sound effects are used for informing the users about the meditation training, so that the users can know the meditation training effect of the users, and if the meditation training effect does not meet the requirements, the users can adjust the users according to the prompt sound effects to improve the meditation training effect.
Drawings
FIG. 1 is an overall flow chart of the present invention;
FIG. 2 is a schematic diagram of a curve corresponding to an electroencephalogram signal in an embodiment;
fig. 3 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is clearly and completely described below by combining the embodiment and the attached drawings of the specification. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It has been found that meditation training comprises four sequential phases, namely four states: active state, quiet state, relaxed state, and fixed state. The meditation degree corresponding to the active state to the entering state gradually increases. However, when the user performs the meditation training, it is difficult to perform four states at a time, that is, when the user performs the meditation training, the meditation training is interrupted by other things, and then when the user continues the meditation training again, the user often cannot know which state the user should start from, and thus cannot continue the interrupted meditation training.
In order to solve the technical problems, the invention provides a method and a device for controlling interrupted meditation sound effect based on electroencephalogram signals, which solve the problem that meditation training cannot be continued once meditation training is interrupted in the prior art. In the specific implementation, the meditation state and the interruption time corresponding to the meditation training interruption of the user are recorded, and when the user continues the meditation training again, the guidance sound effect corresponding to the meditation state at the time of interruption is played. And then recording the electroencephalogram signals when the user continues to perform meditation training, and sending out a prompt sound effect according to the electroencephalogram signals. The present invention can help the user to quickly enter the meditation state before interruption to smoothly complete the whole meditation training, thereby improving the effect of the meditation training.
For example, as shown in fig. 2, the abscissa of the rectangular coordinate system is the time corresponding to the user performing meditation training, the ordinate is the intensity of the electroencephalogram signal generated when the user performs meditation training, the time corresponding to the origin of coordinates is 0, and the intensity of the electroencephalogram signal is also 0. As shown in fig. 2, when the user interrupts the meditation training at time N, the meditation state of the user is a calm state, and the period T0-N is interrupted. When the user continues the meditation training again, the guide sound effect corresponding to the calm state is played to guide the user to rapidly enter the calm state, and the time for playing the guide sound effect is T0-N. And then stopping playing the guiding sound effect, and leading the user to independently perform meditation training. And acquiring the electroencephalogram signals after the interruption of the user after T0 time, and sending out a prompting sound effect for judging whether the meditation training meets the standard or not according to the electroencephalogram signals.
Exemplary method
The method for controlling interrupted meditation sound effect based on electroencephalogram signals can be applied to terminal equipment, and the terminal equipment can be terminal products with video or audio playing functions, such as televisions, computers, mobile phones and the like. In this embodiment, as shown in fig. 1, the method for controlling interrupted meditation sound effect based on electroencephalogram specifically includes the following steps:
s100, the corresponding meditation state when the user starts to interrupt the meditation training and the interrupt time for interrupting the meditation training are obtained.
The meditation states in this embodiment include an active state, a calm state, a relaxed state, and an entry state, and the meditation degrees corresponding to the active state, the calm state, the relaxed state, and the entry state are sequentially increased.
As shown in fig. 2, the user interrupts the meditation from time N and continues the meditation again at time T0, which is the time T0-N.
S200, when the user continues to perform the meditation, obtaining a guiding sound effect corresponding to the meditation state according to the meditation state.
S300, obtaining playing time corresponding to the playing of the guide sound effect according to the interruption time.
The guidance sound effect in steps S200 and S300 corresponds to the meditation state before the interruption, and in the present embodiment, when the meditation state at the time of the interruption is the active state, the first guidance sound effect corresponding to the active state is played when the meditation training is performed again to guide the user to the extent of the active state that should be reached if the interruption is not made. For example, if the user does not interrupt the meditation training, the intensity of the electroencephalogram signal at time T0 should be a, and now the user interrupts the meditation training, so it is necessary to play the first guidance sound effect during the time T0-N to make the intensity of the electroencephalogram signal of the user reach a (if the degree of the active state that should be reached is not interrupted) during the time T0.
Similarly, when the meditation state at the time of interruption is a calm state, the second guide sound effect corresponding to the calm state is played when the meditation training is performed again; when the interrupted meditation state is a relaxation state, playing a third guide sound effect corresponding to the relaxation state when the meditation training is performed again; when the interrupted meditation state is the entering-timing state, the fourth guidance sound corresponding to the relaxation state is played when the meditation training is performed again.
In this embodiment, the volumes corresponding to the first guiding sound effect, the second guiding sound effect, the third guiding sound effect and the fourth guiding sound effect are gradually reduced, and gradually favor to light music, so that the purpose of guiding is to avoid the situation that the too large volume interferes with the quiet environment required for the meditation of the user.
In this embodiment, the playing time may be equal to the interruption time, and the playing time may also be greater than the interruption time. When the playing time is equal to the interruption time, the user can just be guided to the meditation state that should be reached if not interrupted. When the playing time is longer than the interruption time, the effect of the whole meditation training process can be improved.
In order to correctly identify whether the meditation training users before and after interruption are the same person and only the same person plays the guidance sound effect corresponding to the meditation state before interruption, the method for identifying whether the acquired electroencephalogram signals are the same meditation training user comprises the following steps:
acquiring an electroencephalogram signal of a meditation training user.
And (II) denoising the electroencephalogram signal to obtain a denoised electroencephalogram signal.
And (III) screening the de-noised electroencephalogram signal according to a preset band-pass filter algorithm to obtain a filtered electroencephalogram signal.
And (IV) learning the filtering electroencephalogram signal according to a preset convolutional neural network algorithm, and extracting a spatial filtering characteristic data set of the filtering electroencephalogram signal.
And (V) extracting the brain print characteristics of the meditation training user according to the spatial filtering characteristic data set of the filtering electroencephalogram signals.
And (VI) identifying the meditation training users according to the brain print characteristics.
And S400, collecting the electroencephalogram signals of the user after the playing time, and recording the electroencephalogram signals as the electroencephalogram signals after interruption.
As shown in fig. 2, the time after T is the time after the playing time, that is, the electroencephalogram signal after T is the electroencephalogram signal after interruption. In the embodiment, the electroencephalogram signals of the user are acquired through the device worn on the head, the electroencephalogram signals in the embodiment are the electroencephalogram signals after noise is removed, and only the electroencephalogram signals after the noise is removed can really reflect the meditation state of the user.
S500, obtaining a prompt sound effect matched with the electroencephalogram signals after interruption according to the electroencephalogram signals after interruption, wherein the prompt sound effect is used for meditation training.
In the embodiment, the electroencephalogram signal after interruption is compared with the electroencephalogram standard signal, and a prompt sound effect is obtained according to the difference between the electroencephalogram signal and the electroencephalogram standard signal.
Step S500 includes steps S501, S502, and S503 as follows:
and S501, acquiring the electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as the electroencephalogram standard signal of the next section.
In this embodiment, the electroencephalogram standard signal in the latter period is the electroencephalogram standard signal after T time as shown in fig. 2.
S502, when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal at the next section is larger than a first set value, a first prompt sound effect in the prompt sound effects is obtained.
S503, when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal of the next section is smaller than a second set value, obtaining a second prompt sound effect in the prompt sound effects.
Whether the electroencephalogram signal after interruption exceeds a certain range when being larger than the electroencephalogram standard signal or exceeds a certain range when being smaller than the electroencephalogram standard signal, the meditation effect of the user who carries out meditation training at the moment is not ideal, and corresponding prompt sound effect needs to be sent out to inform the user of the training effect at the moment, so that the user can adjust himself in time.
The step 500 not only can reflect the meditation training effect of the user according to the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal, but also can send out a prompt sound effect according to the curves corresponding to the two signals. When the cue sound effect is issued according to the curve, the step S500 includes the following steps S504, S505, S506, S507:
and S504, acquiring the electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as the electroencephalogram standard signal of the next section.
And S505, drawing a curve by the time corresponding to the electroencephalogram standard signal of the next section and the electroencephalogram standard signal of the next section, and recording the curve as the electroencephalogram standard curve of the next section.
In this embodiment, the standard curve of the brain wave in the latter period is the curve after T time as shown in fig. 2.
S506, drawing a curve of the electroencephalogram signal after interruption and the time corresponding to the electroencephalogram signal after interruption, and recording the curve as an electroencephalogram curve.
And S507, obtaining a prompt sound effect according to the matching degree between the electroencephalogram curve and the electroencephalogram standard curve of the next section.
In this embodiment, when the trend of the electroencephalogram curve is the same as the trend of the electroencephalogram standard curve (both curves are increasing or decreasing at the same time), a prompt sound effect that the training is qualified is sent out, otherwise, a prompt sound effect that the training is unqualified is sent out.
In the embodiment, the instantaneous meditation training effect of the user can be judged according to the strength of the electroencephalogram signals, and the whole meditation training process of the user can be evaluated. When the process of the entire meditation training is evaluated, the following steps S601, S602, S603, S604, S605, S606 are included:
s601, acquiring the electroencephalogram signals of the user before interruption of the meditation training, and recording the electroencephalogram signals as the electroencephalogram signals before interruption.
And S602, acquiring the electroencephalogram standard signal corresponding to the time before interruption of the meditation training, and recording the electroencephalogram standard signal as the electroencephalogram standard signal of the previous section.
And S603, acquiring the electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as the electroencephalogram standard signal of the next section.
S604, calculating the difference between the electroencephalogram signal before interruption and the electroencephalogram standard signal of the previous section, and recording as a first difference.
S605, calculating the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal of the next section, and recording as a second difference value.
S606, obtaining an evaluation sound effect according to the first difference value and the second difference value.
In steps S601-S606, the difference between each instantaneous electroencephalogram signal and an electroencephalogram standard signal is counted, then an average value is calculated, the average value before interruption is used as a first difference value, and the average value after interruption is used as a second difference value. Then, according to the first difference and the second difference, calculating the average value of the two differences, taking the average value as a final average value, and if the final average value is large, sending out an evaluation sound effect that the meditation training is unqualified; if the final average value is small, the evaluation sound effect of the passing of the meditation training is sent out.
In summary, the present invention firstly records the meditation status corresponding to the interrupted meditation training of the user, and when the user continues the meditation training again, the user sends out the guidance sound corresponding to the meditation status at the interrupted time, and the guidance sound can inform the user of the meditation status corresponding to the interrupted meditation training, and can help the user to quickly enter the meditation status before the interruption, so as to smoothly complete the whole meditation training, thereby improving the effect of the meditation training. In addition, the invention collects the electroencephalogram signals of the interrupted users after the users continue to carry out meditation training, and sends out prompt sound effects according to the intensity of the electroencephalogram signals, wherein the prompt sound effects are used for informing the users about the meditation training, so that the users can know the meditation training effect of the users, and if the meditation training effect does not meet the requirements, the users can adjust the users according to the prompt sound effects to improve the meditation training effect.
Exemplary devices
The embodiment also provides a device for interrupting the meditation sound effect control method based on the electroencephalogram signals, which comprises the following components:
the time acquisition module is used for acquiring the corresponding meditation state when the user starts to interrupt the meditation training and the interruption time for interrupting the meditation training;
the guiding sound effect playing module is used for obtaining a guiding sound effect corresponding to the meditation state according to the meditation state when the user continues to perform meditation;
the playing time calculation module is used for obtaining the playing time corresponding to the playing of the guide sound effect according to the interruption time;
the signal acquisition module is used for acquiring the electroencephalogram signals of the user after the playing time and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
and the prompt sound effect playing module is used for obtaining a prompt sound effect matched with the electroencephalogram signal after interruption according to the electroencephalogram signal after interruption, and the prompt sound effect is used for meditation training.
Based on the above embodiments, the present invention further provides a terminal device, and a schematic block diagram thereof may be as shown in fig. 3. The terminal equipment comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to realize an interrupted meditation sound effect control method based on electroencephalogram signals. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the terminal equipment is arranged in the terminal equipment in advance and used for detecting the operating temperature of the internal equipment.
It will be understood by those skilled in the art that the block diagram shown in fig. 3 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific terminal device may include more or less components than those shown in the figure, or may combine some components, or have different arrangements of components.
In one embodiment, a terminal device is provided, the terminal device comprises a memory, a processor and an interrupted meditation sound effect control program based on electroencephalogram signals, the interrupted meditation sound effect control program based on electroencephalogram signals is stored in the memory and can run on the processor, and when the processor executes the interrupted meditation sound effect control program based on electroencephalogram signals, the following operation instructions are realized:
acquiring a meditation state corresponding to the beginning of the meditation training interruption of the user and the interruption time for the meditation training interruption;
when the user continues to perform meditation, obtaining a guiding sound effect corresponding to the meditation state according to the meditation state;
obtaining playing time corresponding to the playing of the guide sound effect according to the interruption time;
collecting the electroencephalogram signals of the user after the playing time, and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
and obtaining a prompt sound effect matched with the electroencephalogram signals after interruption according to the electroencephalogram signals after interruption, wherein the prompt sound effect is used for meditation training.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the invention discloses a meditation sound effect interruption control method and device based on electroencephalogram signals, wherein the method comprises the following steps: acquiring a meditation state corresponding to the beginning of the meditation training interruption of the user and the interruption time for the meditation training interruption; when the user continues to perform meditation, obtaining a guiding sound effect corresponding to the meditation state according to the meditation state; obtaining playing time corresponding to the playing of the guide sound effect according to the interruption time; collecting the electroencephalogram signals of the user after the playing time, and recording the electroencephalogram signals as the electroencephalogram signals after interruption; and obtaining a prompt sound effect matched with the electroencephalogram signals after interruption according to the electroencephalogram signals after interruption, wherein the prompt sound effect is used for meditation training. The invention sets guiding sound effect, which can inform the user of the corresponding meditation state when the meditation training is interrupted, and can help the user to quickly enter the meditation state before the interruption, so as to smoothly complete the whole meditation training, thereby improving the effect of the meditation training. In addition, the invention collects the electroencephalogram signals of the interrupted users after the users continue to carry out meditation training, and sends out prompt sound effects according to the intensity of the electroencephalogram signals, wherein the prompt sound effects are used for informing the users about the meditation training, so that the users can know the meditation training effect of the users, and if the meditation training effect does not meet the requirements, the users can adjust the users according to the prompt sound effects to improve the meditation training effect.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (9)
1. A meditation sound effect interruption control method based on electroencephalogram signals is characterized by comprising the following steps:
acquiring a meditation state corresponding to the beginning of the meditation training interruption of the user and the interruption time for the meditation training interruption;
when the user continues to perform meditation, obtaining a guiding sound effect corresponding to the meditation state according to the meditation state;
obtaining playing time corresponding to the playing of the guide sound effect according to the interruption time;
collecting the electroencephalogram signals of the user after the playing time, and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
acquiring an electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal;
and obtaining a prompt sound effect matched with the electroencephalogram signal after interruption according to the electroencephalogram standard signal of the next section and the electroencephalogram signal after interruption.
2. The method for controlling interrupted meditation sound effect based on electroencephalogram signals as claimed in claim 1, wherein the obtaining of the prompt sound effect matched with the electroencephalogram signals after interruption according to the standard electroencephalogram signals of the latter section and the electroencephalogram signals after interruption comprises:
when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal at the next section is larger than a first set value, obtaining a first prompt sound effect in the prompt sound effects;
and when the difference value between the electroencephalogram signal after interruption and the electroencephalogram standard signal at the next section is smaller than a second set value, obtaining a second prompt sound effect in the prompt sound effects.
3. The method for controlling interrupted meditation sound effect based on electroencephalogram signals as claimed in claim 1, wherein the obtaining of the prompt sound effect matched with the electroencephalogram signals after interruption according to the standard electroencephalogram signals of the latter section and the electroencephalogram signals after interruption comprises:
drawing a curve corresponding to the time of the electroencephalogram standard signal of the next section and the time of the electroencephalogram standard signal of the next section, and recording the curve as the electroencephalogram standard curve of the next section;
drawing a curve of the electroencephalogram signal after interruption and the time corresponding to the electroencephalogram signal after interruption, and recording the curve as an electroencephalogram curve;
and obtaining a prompt sound effect according to the matching degree between the electroencephalogram curve and the electroencephalogram standard curve of the later section.
4. The method for controlling interrupted meditation sound effect based on electroencephalogram signal of claim 1, wherein the obtaining of the guidance sound effect corresponding to the meditation state according to the meditation state while the user continues meditation comprises:
according to the meditation states, obtaining an active state, a calm state, a relax state and an entrance state in the meditation states, wherein the meditation degrees corresponding to the active state, the calm state, the relax state and the entrance state are sequentially deepened;
when the user continues to perform meditation, obtaining a first guiding sound effect corresponding to the active state according to the active state;
or when the user continues to perform meditation, obtaining a second guide sound effect corresponding to the calm state according to the calm state;
or when the user continues to perform meditation, obtaining a third guide sound effect corresponding to the relaxation state according to the relaxation state;
or when the user continues to perform meditation, obtaining a fourth guide sound effect corresponding to the entrance state according to the entrance state.
5. The method for controlling interrupted meditation sound effect based on electroencephalogram signal as claimed in claim 1, further comprising:
acquiring electroencephalogram signals of the user before interruption of meditation training, and recording the electroencephalogram signals as the electroencephalogram signals before interruption;
and obtaining an evaluation sound effect according to the electroencephalogram signals after interruption and the electroencephalogram signals before interruption, wherein the evaluation sound effect is used for reflecting the training effect corresponding to the whole meditation training process of the user.
6. The method for controlling interrupted meditation sound effect based on brain electrical signals according to claim 5, wherein the step of obtaining an evaluation sound effect according to the brain electrical signals after interruption and the brain electrical signals before interruption, wherein the evaluation sound effect is used for reflecting the training effect corresponding to the whole meditation training process of the user comprises the following steps:
acquiring an electroencephalogram standard signal corresponding to the time before interruption of meditation training, and recording the electroencephalogram standard signal as a previous section of electroencephalogram standard signal;
acquiring an electroencephalogram standard signal corresponding to the time after the playing time, and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal;
calculating the difference between the electroencephalogram signal before interruption and the electroencephalogram standard signal of the previous section, and recording as a first difference;
calculating the difference between the electroencephalogram signal after interruption and the electroencephalogram standard signal of the next section, and recording the difference as a second difference;
and obtaining an evaluation sound effect according to the first difference value and the second difference value.
7. A device for interrupting meditation sound effect control method based on electroencephalogram signals is characterized by comprising the following components:
the time acquisition module is used for acquiring the corresponding meditation state when the user starts to interrupt the meditation training and the interruption time for interrupting the meditation training;
the guiding sound effect playing module is used for obtaining a guiding sound effect corresponding to the meditation state according to the meditation state when the user continues to perform meditation;
the playing time calculation module is used for obtaining the playing time corresponding to the playing of the guide sound effect according to the interruption time;
the signal acquisition module is used for acquiring the electroencephalogram signals of the user after the playing time and recording the electroencephalogram signals as the electroencephalogram signals after interruption;
the prompt sound effect playing module is used for acquiring an electroencephalogram standard signal corresponding to time after the playing time and recording the electroencephalogram standard signal as a next section of electroencephalogram standard signal; and obtaining a prompt sound effect matched with the electroencephalogram signal after interruption according to the electroencephalogram standard signal of the next section and the electroencephalogram signal after interruption.
8. A terminal device, characterized in that the terminal device comprises a memory, a processor and an interrupted meditation sound effect control program based on brain electrical signals, which is stored in the memory and can run on the processor, and the processor implements the steps of the interrupted meditation sound effect control method based on brain electrical signals according to any one of claims 1-6 when executing the interrupted meditation sound effect control program based on brain electrical signals.
9. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon an interrupted meditation sound effect control program based on electroencephalogram signals, and when the interrupted meditation sound effect control program based on electroencephalogram signals is executed by a processor, the steps of the interrupted meditation sound effect control method based on electroencephalogram signals according to any one of claims 1 to 6 are implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562776.9A CN113952582B (en) | 2021-12-20 | 2021-12-20 | Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111562776.9A CN113952582B (en) | 2021-12-20 | 2021-12-20 | Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113952582A CN113952582A (en) | 2022-01-21 |
CN113952582B true CN113952582B (en) | 2022-03-08 |
Family
ID=79473397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111562776.9A Active CN113952582B (en) | 2021-12-20 | 2021-12-20 | Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113952582B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114452506B (en) * | 2022-01-28 | 2023-10-13 | 清华大学深圳国际研究生院 | Method for guiding user to positively think about meditation |
CN114159065A (en) * | 2022-02-14 | 2022-03-11 | 深圳市心流科技有限公司 | Method and device for evaluating intermittent meditation training based on electroencephalogram signals |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2515661A1 (en) * | 2005-08-10 | 2007-02-10 | Brian Bighetty | Mediation facilitating device with timer |
CN108200511A (en) * | 2018-03-17 | 2018-06-22 | 北京工业大学 | A kind of intelligence meditation speaker based on EEG signals |
CN210783660U (en) * | 2019-09-03 | 2020-06-19 | 北京服装学院 | Auxiliary equipment based on meditation |
CN111580600A (en) * | 2019-02-19 | 2020-08-25 | 三星电子株式会社 | Electronic device comprising a meditation application |
CN111680538A (en) * | 2020-04-13 | 2020-09-18 | 广州播种网络科技有限公司 | Method and device for identifying stability of memorial meditation |
CN112905015A (en) * | 2021-03-08 | 2021-06-04 | 华南理工大学 | Meditation training method based on brain-computer interface |
WO2021130766A2 (en) * | 2020-04-21 | 2021-07-01 | Bosubabu Sambana | Virtual brain cloning : telepathic data communications with virtual reality holographic projections using artificial intelligence |
CN113552946A (en) * | 2021-07-21 | 2021-10-26 | 浙江强脑科技有限公司 | Meditation training method, device, terminal and medium based on intelligent wearable device |
CN113805836A (en) * | 2021-09-18 | 2021-12-17 | 浙江强脑科技有限公司 | Meditation sound effect control method, device and equipment based on brain waves and storage medium |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5135468A (en) * | 1990-08-02 | 1992-08-04 | Meissner Juergen P | Method and apparatus of varying the brain state of a person by means of an audio signal |
WO2008131454A1 (en) * | 2007-04-24 | 2008-10-30 | Altman Mitchell A | Guide glasses |
SG11201510213UA (en) * | 2013-06-11 | 2016-01-28 | Agency Science Tech & Res | Sound-induced sleep method and a system therefor |
US20170061402A1 (en) * | 2015-01-27 | 2017-03-02 | WishExpress, Inc. | System and method for facilitating wish attainment |
KR20170031391A (en) * | 2015-09-11 | 2017-03-21 | 전북대학교산학협력단 | Meditation Induction Method and System through Meditation Metering and Network Connection |
US10632277B2 (en) * | 2016-04-20 | 2020-04-28 | The Staywell Company, Llc | Virtual reality guided meditation in a wellness platform |
US10631743B2 (en) * | 2016-05-23 | 2020-04-28 | The Staywell Company, Llc | Virtual reality guided meditation with biofeedback |
CN106560158A (en) * | 2016-11-23 | 2017-04-12 | 深圳创达云睿智能科技有限公司 | Zen meditation feedback training method and device based on electroencephalogram |
US10846047B2 (en) * | 2017-06-15 | 2020-11-24 | Rootinely, LLC | Portable audio device for facilitating guided mindfulness meditation sessions |
WO2019070939A1 (en) * | 2017-10-04 | 2019-04-11 | NeuroGeneces LLC | Sleep performance system and method of use |
CN108379713A (en) * | 2018-03-09 | 2018-08-10 | 嘀拍信息科技南通有限公司 | One interaction meditation system based on virtual reality |
KR102324426B1 (en) * | 2019-05-02 | 2021-11-11 | 주식회사 힐리언 | Respiration Meditation Inducement device with Headphones for Sensing Brain Wave and Respiration Meditation Inducement System for Displaying and Storing it By Using the Same |
CN110236537B (en) * | 2019-06-14 | 2022-03-29 | 广州医科大学附属肿瘤医院 | VR meditation control method, equipment and system based on brain wave detection |
CN110292378B (en) * | 2019-07-02 | 2021-02-23 | 燕山大学 | Depression remote rehabilitation system based on brain wave closed-loop monitoring |
KR102557035B1 (en) * | 2019-07-04 | 2023-07-19 | 김민애 | Meditation system and operation method for the same |
US20210308413A1 (en) * | 2020-04-02 | 2021-10-07 | Dawn Ella Pierne | Acoustic and visual energy configuration systems and methods |
KR102157019B1 (en) * | 2020-04-28 | 2020-09-17 | 전북대학교병원 | Virtual reality mindfulness meditation system and method of the same |
-
2021
- 2021-12-20 CN CN202111562776.9A patent/CN113952582B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2515661A1 (en) * | 2005-08-10 | 2007-02-10 | Brian Bighetty | Mediation facilitating device with timer |
CN108200511A (en) * | 2018-03-17 | 2018-06-22 | 北京工业大学 | A kind of intelligence meditation speaker based on EEG signals |
CN111580600A (en) * | 2019-02-19 | 2020-08-25 | 三星电子株式会社 | Electronic device comprising a meditation application |
CN210783660U (en) * | 2019-09-03 | 2020-06-19 | 北京服装学院 | Auxiliary equipment based on meditation |
CN111680538A (en) * | 2020-04-13 | 2020-09-18 | 广州播种网络科技有限公司 | Method and device for identifying stability of memorial meditation |
WO2021130766A2 (en) * | 2020-04-21 | 2021-07-01 | Bosubabu Sambana | Virtual brain cloning : telepathic data communications with virtual reality holographic projections using artificial intelligence |
CN112905015A (en) * | 2021-03-08 | 2021-06-04 | 华南理工大学 | Meditation training method based on brain-computer interface |
CN113552946A (en) * | 2021-07-21 | 2021-10-26 | 浙江强脑科技有限公司 | Meditation training method, device, terminal and medium based on intelligent wearable device |
CN113805836A (en) * | 2021-09-18 | 2021-12-17 | 浙江强脑科技有限公司 | Meditation sound effect control method, device and equipment based on brain waves and storage medium |
Non-Patent Citations (2)
Title |
---|
A single case design to examine short-term intracranial EEG patterns during focused meditation;Colgan DD 等;《NEUROSCIENCE LETTERS》;20191231;711 * |
瑜伽冥想练习对男性脑电α波影响的研究;魏凯明 等;《长春师范学院学报》;20131231;第32卷(第2期);90-94 * |
Also Published As
Publication number | Publication date |
---|---|
CN113952582A (en) | 2022-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113952582B (en) | Method and device for controlling interrupted meditation sound effect based on electroencephalogram signals | |
US11069366B2 (en) | Method and device for evaluating performance of speech enhancement algorithm, and computer-readable storage medium | |
CN108305637B (en) | Earphone voice processing method, terminal equipment and storage medium | |
CN105989836B (en) | Voice acquisition method and device and terminal equipment | |
CN108310759B (en) | Information processing method and related product | |
CN110600048B (en) | Audio verification method and device, storage medium and electronic equipment | |
WO2021051944A1 (en) | Automatic sleep aid music pushing method and apparatus, computer device, and storage medium | |
CN113974656A (en) | Meditation evaluation method, device and equipment based on electroencephalogram signals and storage medium | |
CN109361995B (en) | Volume adjusting method and device for electrical equipment, electrical equipment and medium | |
CN110035358A (en) | Vehicle-mounted sound output device, sound output control method, recording medium | |
CN110889009A (en) | Voiceprint clustering method, voiceprint clustering device, processing equipment and computer storage medium | |
CN113805836A (en) | Meditation sound effect control method, device and equipment based on brain waves and storage medium | |
EP4076174A1 (en) | Automated and objective symptom severity score | |
EP3499502A1 (en) | Voice information processing method and apparatus | |
CN110400573A (en) | A kind of method and device of data processing | |
CN114642432A (en) | Attention assessment method, device, equipment and storage medium | |
CN110689887A (en) | Audio verification method and device, storage medium and electronic equipment | |
WO2024001463A1 (en) | Audio signal processing method and apparatus, and electronic device, computer-readable storage medium and computer program product | |
CN114916942A (en) | Method, device and equipment for evaluating in-place training effect based on electroencephalogram signals | |
CN108446593A (en) | A kind of prosopospasm detection method and device | |
CN110992969B (en) | Filter bank configuration method and device of electronic cochlea | |
WO2024040423A1 (en) | Electroencephalogram-based prognosis evaluation method for acute consciousness disorder, device, and medium | |
EP4059013B1 (en) | Linearization of non-linearly transformed signals | |
CN114125649B (en) | Volume adjusting method and device | |
CN116249062B (en) | Hearing-aid equipment state intelligent quality inspection method, system and 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 |