Electroencephalogram data analysis method and device, computer equipment and computer readable storage medium
By using a miniature EEG machine with multiple proximal electrodes to acquire and jointly analyze EEG signals, the problems of inconvenience in wearing traditional EEG equipment and signal accuracy have been solved, enabling efficient and accurate EEG data analysis and improving user experience and diagnostic results.
Patent Information
- Application Number
- CN202410994233.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
Traditional electroencephalography (EEG) devices suffer from inconvenience, instability, and signal accuracy issues due to long-distance electrodes, which affect user compliance and limit their application in daily life.
A miniature electroencephalogram (EEG) machine with multiple proximal electrodes is used to acquire EEG signals. The EEG data is then analyzed in combination with phase synchronization analysis, a preset screening algorithm, and a classifier to generate accurate EEG data analysis results.
It improves user comfort and monitoring convenience, enables efficient collection and accurate analysis of EEG data, and enhances diagnostic accuracy.
Smart Images

Figure CN118924308A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electroencephalogram (EEG) signal monitoring, and in particular, relates to an EEG data analysis method, device, computer equipment, and computer-readable storage medium. Background Art
[0002] Electroencephalography (EEG) is a technology that records the electrical activity of the brain and is widely used in medical diagnosis, brain-computer interface, neuroscience research and other fields. EEG can provide important neural information by monitoring the electrical activity of the brain and is widely used in the diagnosis and treatment of epilepsy, sleep disorders, brain diseases, etc.
[0003] Traditional electroencephalogram (EEG) devices usually use long-distance electrodes, such as the "behind the ear-forehead" configuration, to obtain EEG signals. Although this method can effectively record brain activity, it has some significant problems. Long-distance wiring not only increases the inconvenience and instability of wearing, but may also affect the accuracy and reliability of the signal. In addition, the complicated wearing process and discomfort also greatly reduce user compliance, limiting the application of such devices in daily life. Summary of the invention
[0004] In view of this, the embodiments of the present application provide an EEG data analysis method, apparatus, computer device and computer-readable storage medium to achieve efficient collection and accurate analysis of user EEG data, while improving user comfort and monitoring convenience.
[0005] A first aspect of an embodiment of the present application provides an electroencephalogram (EEG) data analysis method, comprising:
[0006] Acquire n EEG data of the target object, where n is a positive integer, wherein the n EEG data are acquired after being collected by n monitoring devices on the target object, and each EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, wherein m≥2;
[0007] A joint analysis is performed based on the m EEG signals in each EEG data, and an analysis result is generated.
[0008] In an implementation of the first aspect, the performing a joint analysis based on the m EEG signals in each EEG data and generating an analysis result includes:
[0009] Calculating the phase synchronization between the m EEG signals in each EEG data to obtain a first feature set;
[0010] Using a preset screening algorithm to screen the first feature set to obtain a second feature set;
[0011] The second feature set is input into a preset classifier for classification to obtain an analysis result.
[0012] In an implementation of the first aspect, the phase synchronization between the m EEG signals in each EEG data is calculated to obtain a first feature set, including:
[0013] Performing data preprocessing on the EEG signals collected by each of the close-range electrodes of the monitoring device;
[0014] Calculating multiple phase differences between EEG signals collected by m close-range electrodes of each monitoring device after data preprocessing;
[0015] The sine value of each phase difference is calculated to obtain a first feature set including a plurality of sine values.
[0016] In an implementation manner of the first aspect, the phase synchronicity is calculated based on the following formula:
[0017]
[0018] Among them, WPLI i,j,τ Between 0 and 1, E{.} is the expected value operator, Δω i,j,τ represents the phase difference between nodes i and j at time point τ, Δω i,j,τ =ω i (τ)-ω j (τ), where ω i (τ) represents the phase of node i at time point τ, ω j (τ) represents the phase of node j at time point τ.
[0019] In an implementation of the first aspect, the using a preset screening algorithm to screen the first feature set to obtain the second feature set includes:
[0020] Using a first preset screening algorithm to screen the first feature set to obtain an intermediate feature set with high discrimination;
[0021] The intermediate feature set is screened using a second preset screening algorithm to obtain a second feature set with low redundancy.
[0022] In an implementation of the first aspect, the n monitoring devices include 1 master monitoring device and n-1 slave monitoring devices, and the method is applied to the master monitoring device.
[0023] In an implementation manner of the first aspect, the preset classifier is a binary classifier or a multi-classifier.
[0024] A second aspect of an embodiment of the present application provides an electroencephalogram data analysis device, comprising:
[0025] A first data acquisition module is used to acquire EEG signals collected by m close-range electrodes of each of n monitoring devices, where n is a positive integer and m≥2;
[0026] A second data acquisition module is used to acquire n EEG data of the target object, where n is a positive integer, wherein the n EEG data are acquired after being collected by n monitoring devices on the target object, and each EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, wherein m≥2;
[0027] The joint analysis module is used to perform joint analysis on the EEG signals collected by the m close-range electrodes included in each of the EEG data, and generate analysis results.
[0028] A third aspect of an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the EEG data analysis method described in the first aspect are implemented.
[0029] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and is characterized in that when the computer program is executed by a processor, the steps of the EEG data analysis method described in the first aspect are implemented.
[0030] The beneficial effect of the first aspect of the embodiment of the present application is: by acquiring n EEG data of the target object, each of the EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, and then performing a joint analysis based on the m EEG signals in each of the EEG data, and generating an analysis result, efficient collection and accurate analysis of the user's EEG data can be achieved, while improving user comfort and monitoring convenience.
[0031] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0033] Figure 1This is a schematic diagram of the implementation process of the first EEG data analysis method provided in the embodiment of the present application;
[0034] Figure 2 This is a schematic diagram of sleep cycle classification provided by an embodiment of the present application;
[0035] Figure 3 This is the joint analysis process intention of the EEG data analysis method provided in the embodiment of the present application;
[0036] Figure 4 is a schematic diagram of an EEG data analysis device provided in an embodiment of the present application;
[0037] Figure 5 It is a schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0039] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0040] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0041] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0042] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0043] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0044] The embodiment of the present application provides an EEG data analysis method to achieve efficient collection and accurate analysis of the user's EEG data, while improving the user's comfort and the convenience of monitoring. The method provided by the present application obtains n EEG data of the target object, each of which includes EEG signals collected by m close-range electrodes of a monitoring device, and then performs a joint analysis based on the m EEG signals in each of the EEG data, and generates an analysis result, thereby achieving efficient collection and accurate analysis of the user's EEG data, while improving the user's comfort and the convenience of monitoring.
[0045] The EEG data analysis method provided in the embodiments of the present application can be applied to computer devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. These computer devices are connected to the monitoring device through communication. The embodiments of the present application do not impose any restrictions on the specific types of computer devices.
[0046] like Figure 1 As shown, the first aspect of the embodiment of the present application provides an EEG data analysis method, including steps S10 to S20:
[0047] Step S10, obtaining n EEG data of the target object, where n is a positive integer, wherein the n EEG data are obtained after collecting data on the target object by n monitoring devices, and each EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, wherein m≥2.
[0048] In the application, the target object is a patient or normal person who needs to collect EEG data for analysis. The n monitoring devices are multiple independent miniature EEG machines that can be separated, where n is a positive integer. Preferably, 2≤n≤10. For ease of understanding, the embodiment of the present application is explained using n=2 as an example.
[0049] In the application, different micro EEG machines can be set at different positions of the target object's head, such as the forehead, temple, top of the skull, behind the ears and back of the head. Different micro EEG machines can be used to independently obtain EEG data at different positions of the target object to improve the breadth and comprehensiveness of the acquired EEG data, improve the acquisition efficiency and the accuracy of the final analysis results.
[0050] In application, the micro EEG machine has m close-range electrode patches, which can collect the EEG signals of the target object, and further obtain the EEG data of the target object. This can avoid the discomfort and inconvenience caused to the target object by the large number and long distance wiring in traditional EEG data collection, and improve user comfort and monitoring convenience.
[0051] Step S20, performing joint analysis based on the m EEG signals in each of the EEG data, and generating an analysis result.
[0052] In the application, by jointly analyzing the m EEG signals in each EEG data, compared with the analysis of a single EEG data, it is possible to take into account multi-faceted EEG signals and accurately obtain rich information.
[0053] In the application, before the joint analysis of the m EEG signals in each EEG data of the target object, the analysis target is also selected, such as sleep cycle classification, epilepsy auxiliary diagnosis, and bipolar disorder auxiliary diagnosis. It can be understood that the analysis target can be a single sleep cycle classification, or it can be set as a combination of sleep cycle classification and other analysis targets according to different scenarios. For example, sleep cycle classification is combined with epilepsy auxiliary diagnosis, sleep cycle classification is performed based on multiple EEG data, the EEG data is divided into each sleep cycle, and epilepsy auxiliary diagnosis is performed on this basis to improve the accuracy of diagnosis.
[0054] The present application embodiment is introduced with sleep cycle classification as the analysis target, and the analysis results of the sleep cycle are different sleep cycles. Figure 2As shown, the sleep cycle can be divided into different stages, mainly including wakefulness (Wake), non-rapid eye movement (NREM) and rapid eye movement (REM). The NREM stage can be further divided into three stages: N1, N2 and N3. Stage N1 (light sleep): EEG waves are mainly low-amplitude mixed-frequency waves, accompanied by vertex waves (V waves) and slow eye movements. Stage N2 (light sleep): Spindle waves or non-awakening-related K complex waves appear in EEG waves, and eye movements are reduced in this stage. Stage N3 (deep sleep): High-amplitude, low-frequency delta waves (slow-wave sleep) appear, which is a key stage for restorative sleep. The REM stage is characterized by rapid eye movements and low electromyographic activity, while EEG waves show low-amplitude mixed-frequency waves. This stage is related to dream experience and is crucial for the brain to process complex cognition, emotions and memory. By analyzing the sleep cycle, it can assist in judging the target object's sleep quality and analyzing sleep problems.
[0055] In the application, while acquiring EEG data, the monitoring device can intermittently or continuously collect electrooculograms, electromyograms, etc. to assist in the judgment of sleep cycles.
[0056] like Figure 3 As shown, in the first embodiment, the step S20 includes steps S201 to S203:
[0057] Step S201, calculating the phase synchronization between the m EEG signals in each EEG data to obtain a first feature set.
[0058] Step S202: Using a preset screening algorithm to screen the first feature set to obtain a second feature set.
[0059] Step S203: input the second feature set into a preset classifier for classification to obtain an analysis result.
[0060] In the first embodiment, step S201 includes:
[0061] Step S2011, performing data preprocessing on the EEG signals collected by the m close-range electrodes of each of the monitoring devices.
[0062] In the application, data preprocessing includes data cleaning and filtering. Data cleaning can reduce noise interference and improve the general expression ability of features. Specifically, it can be to use 30 seconds of EEG waveform as one data, filter out overlapping segments and pseudo-film segments and delete them. Filtering is also to remove interference signals. Considering that the frequency ranges of EEG waves δ, θ, α and β are 0.5-4, 4-8, 8-12, and 12-32Hz respectively, filtering can be specifically filtering the EEG signal after data cleaning with a zero-phase shift Butterworth bandpass filter (0.5-60Hz).
[0063] Step S2012, calculating multiple phase differences between the EEG signals collected by the m close-range electrodes of each monitoring device after data preprocessing.
[0064] In the application, step S2012 specifically includes calculating the phase difference between the EEG signals collected by the m close-range electrodes of each monitoring device, and calculating the m close-range electrode data of a monitoring device to obtain Phase difference, calculate the m close-range electrode data of n monitoring devices to get A phase difference.
[0065] In the application, step S2012 specifically includes calculating the phase difference between n×m EEG signals of n detection devices, and obtaining It can be understood that the above method can obtain more abundant phase difference data. Especially when m is small, that is, the number of close-range electrodes of each monitoring device is small, it has a more significant data expansion effect.
[0066] Step S2013, calculating the sine value of each phase difference to obtain a first feature set including multiple sine values. In the application, the phase synchronization is calculated based on the following formula:
[0067]
[0068] Among them, WPLI i,j,τ Between 0 and 1, E{.} is the expected value operator, Δω i,j,τ represents the phase difference between nodes i and j at time point τ, Δω i,j,τ =ω i (τ)-ω j (τ), where ω i (τ) represents the phase of node i at time point τ, ω j (τ) represents the phase of node j at time point τ.
[0069] In application, the method provided in the embodiment of the present application calculates the phase synchronization between m EEG signals in each EEG data or the phase synchronization between n×m EEG signals of all EEG data based on the weighted phase lag index (WPLI), which can effectively quantify the phase synchronization between EEG channels. This synchronization reflects the functional connectivity between different brain regions; and compared with other phase synchronization indicators, such as the Phase Lag Index (PLI), WPLI can better remove pseudo-synchronization caused by volume conduction effect and common source, and provide more reliable synchronization measurement.
[0070] In the first embodiment, step S202 includes:
[0071] Using a first preset screening algorithm to screen the first feature set to obtain an intermediate feature set with high discrimination;
[0072] The intermediate feature set is screened using a second preset screening algorithm to obtain a second feature set with low redundancy.
[0073] In the application, the first preset screening algorithm is the Fisher Score algorithm, and its basic idea is that a good feature should make the distribution of samples of different categories on the feature as different as possible. The higher the Fisher Score, the stronger the distinguishing ability of the feature. By calculating the Fisher Score of each feature in the first feature set and sorting them from high to low according to the scores, the top-ranked features are selected to obtain an intermediate feature set with high discrimination, for example, the top 40% of the features are selected to obtain an intermediate feature set with high discrimination, or the top 70% of the features are selected to obtain an intermediate feature set with high discrimination, or any percentage ranking of the top 40% to 70%. It can be understood that the number of top-ranked features should be an integer, so no matter how many percent of the top rankings, the final result can be rounded up or down by one.
[0074] In the application, the second preset screening algorithm is the Pearson Correlation algorithm, which is designed to reduce redundant features, remove features with high correlation, and retain those independent features with rich information. By calculating the Pearson correlation coefficient of each feature in the intermediate feature set, the redundant features with a Pearson correlation coefficient greater than the preset correlation coefficient threshold are removed, and the features with complementary information are retained, thus obtaining a second feature set with low redundancy.
[0075] It can be understood that through the above method, the second feature set finally obtained not only has good distinguishing ability, but is also independent of each other and minimizes information redundancy.
[0076] In a first embodiment, the n monitoring devices include 1 master monitoring device and n-1 slave monitoring devices, and the method is applied to the master monitoring device.
[0077] In the application, the n monitoring devices include 1 main monitoring device and n-1 slave monitoring devices. The EEG data analysis method is executed by the main monitoring device to obtain n EEG data of the target object, including: the main monitoring device directly obtains 1 EEG data of the user and obtains n-1 EEG data from n-1 slave monitoring devices.
[0078] In the application, the preset classifier is a binary classifier or a multi-classifier. Whether it is a binary classifier or a multi-classifier, it can be implemented by any algorithm of logistic regression, support vector machine (SVM), decision tree and random forest. Preferably, the preset classifier can be implemented by SVM.
[0079] In the application, the preset classifier includes any two or all three of a support vector machine with a linear function as a kernel function, a support vector machine with a polynomial function as a kernel function, and a support vector machine with a Gaussian function as a kernel function.
[0080] In one embodiment, the EEG data analysis method further includes:
[0081] Classification accuracy was evaluated by a leave-one-out cross-validation procedure.
[0082] In applications, the performance of classification can also be evaluated by calculating AUC, precision, recall, and specificity.
[0083] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0084] The present application also provides an EEG data analysis device for executing the steps in the above EEG data analysis method embodiment. The EEG data analysis device can be a virtual appliance in a computer device, which is run by a processor of the computer device, or it can be the computer device itself.
[0085] like Figure 4 As shown, the EEG data analysis device 4 provided in the embodiment of the present application includes:
[0086] The first data acquisition module 401 is used to acquire the EEG signals collected by m close-range electrodes of each of the n monitoring devices, where n is a positive integer and m≥2;
[0087] The second data acquisition module 402 is used to acquire n EEG data of the target object, where n is a positive integer, wherein the n EEG data are acquired after being acquired by n monitoring devices on the target object, and each EEG data includes an EEG signal acquired by m close-range electrodes of a monitoring device, where m≥2;
[0088] The joint analysis module 403 is used to perform joint analysis on the EEG signals collected by the m close-range electrodes included in each EEG data, and generate analysis results.
[0089] In one embodiment, the joint analysis module 403 includes:
[0090] A synchronization calculation unit, used for calculating the phase synchronization between the m EEG signals in each EEG data to obtain a first feature set;
[0091] A feature screening unit, using a preset screening algorithm to screen the first feature set to obtain a second feature set;
[0092] The classification unit inputs the second feature set into a preset classifier for classification to obtain an analysis result.
[0093] In one embodiment, the synchronization calculation unit is used to calculate the phase synchronization based on the following formula:
[0094]
[0095] Among them, WPLI i,j,τ Between 0 and 1, E{.} is the expected value operator, Δω i,j,τ represents the phase difference between nodes i and j at time point τ, Δω i,j,τ =ω i (τ)-ω j (τ), where ω i (τ) represents the phase of node i at time point τ, ω j (τ) represents the phase of node j at time point τ.
[0096] In one embodiment, the synchronization calculation unit is used to:
[0097] Performing data preprocessing on the EEG signals collected by the m close-range electrodes of each monitoring device;
[0098] Calculating multiple phase differences between EEG signals collected by m close-range electrodes of each monitoring device after data preprocessing;
[0099] The sine value of each phase difference is calculated to obtain a first feature set including a plurality of sine values.
[0100] Using a first preset screening algorithm to screen the first feature set to obtain an intermediate feature set with high discrimination;
[0101] The intermediate feature set is screened using a second preset screening algorithm to obtain a second feature set with low redundancy.
[0102] In the application, the first preset screening algorithm is the Fisher Score algorithm, and its basic idea is that a good feature should make the distribution of samples of different categories on the feature as different as possible. The higher the Fisher Score, the stronger the distinguishing ability of the feature. By calculating the Fisher Score of each feature in the first feature set and sorting them from high to low according to the scores, the top-ranked features are selected to obtain an intermediate feature set with high discrimination, for example, the top 40% of the features are selected to obtain an intermediate feature set with high discrimination, or the top 70% of the features are selected to obtain an intermediate feature set with high discrimination, or any percentage ranking of the top 40% to 70%. It can be understood that the number of top-ranked features should be an integer, so no matter how many percent of the top rankings, the final result can be rounded up or down by one.
[0103] In the application, the second preset screening algorithm is the Pearson Correlation algorithm, and its idea is to reduce redundant features, remove features with high correlation, and retain those independent features with rich information. By calculating the Pearson correlation coefficient of each feature in the intermediate feature set, the redundant features whose Pearson correlation coefficient is greater than the preset correlation coefficient threshold are removed, and the features with complementary information are retained to obtain a second feature set with low redundancy. In one embodiment, the second data acquisition module 402 is used to directly obtain 1 EEG data of the user and obtain n-1 EEG data from n-1 monitoring devices, and each of the EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device.
[0104] In the application, the classification unit is used to input the second feature set into a preset classifier for classification to obtain an analysis result, and the preset classifier is a binary classifier or a multi-classifier. Whether it is a binary classifier or a multi-classifier, it can be implemented by any one of the algorithms of logistic regression, support vector machine (SVM), decision tree and random forest. Preferably, the preset classifier can be implemented by SVM.
[0105] In the application, the preset classifier includes any two or all three of a support vector machine with a linear function as a kernel function, a support vector machine with a polynomial function as a kernel function, and a support vector machine with a Gaussian function as a kernel function.
[0106] In one embodiment, the EEG data analysis device 4 further includes a validation module 404 for evaluating classification accuracy through a leave-one-out cross-validation procedure.
[0107] In an application, the verification module 404 can also evaluate the performance of the classification by calculating AUC, precision, recall and specificity.
[0108] In application, the EEG data analysis device 4 also includes a communication module, which can provide solutions for communication including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth, Zigbee, mobile communication networks, global navigation satellite systems (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc., which are applied to EEG data analysis. The communication module can be one or more devices integrating at least one communication processing module.
[0109] It should be noted that the above Figure 4 It does not constitute a limitation on the structure of the EEG data analysis device, and it may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the EEG data analysis device may also include a display screen, indicator lights, a microphone, controls (such as buttons), a gyroscope sensor, an acceleration sensor, etc.
[0110] Figure 5 This is a schematic diagram of the structure of a computer device provided in one embodiment of the present application. Figure 5 As shown, the computer device 5 of this embodiment includes: at least one processor 50 ( Figure 5 Only one is shown in the figure) a processor, a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, and when the processor 50 executes the computer program 52, the steps in any of the above-mentioned embodiments of the EEG data analysis method are implemented.
[0111] The computer device 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5 It is only an example of the computer device 5 and does not constitute a limitation on the computer device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.
[0112] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0113] In some embodiments, the memory 51 may be an internal storage unit of the computer device 5, such as a hard disk or memory of the computer device 5. In other embodiments, the memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 5. Further, the memory 51 may also include both an internal storage unit of the computer device 5 and an external storage device. The memory 51 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0114] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0115] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0116] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0117] An embodiment of the present application provides a computer program product. When the computer program product is run on a computer device, the computer device can implement the steps in the above-mentioned embodiments of the EEG data analysis method when executing the computer device.
[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0119] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0120] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0121] In the embodiments provided in the present application, it should be understood that the disclosed EEG data analysis device / computer equipment and method can be implemented in other ways. For example, the EEG data analysis device / computer equipment embodiment described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for analyzing electroencephalogram data, characterized in that: include: Acquire n EEG data of the target object, where n is a positive integer, wherein the n EEG data are acquired after being collected by n monitoring devices on the target object, and each EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, wherein m≥2; A joint analysis is performed based on the m EEG signals in each EEG data, and an analysis result is generated.
2. The method for analyzing EEG data according to claim 1, wherein: The performing joint analysis on the m EEG signals in each EEG data and generating analysis results includes: Calculating the phase synchronization between the m EEG signals in each EEG data to obtain a first feature set; Using a preset screening algorithm to screen the first feature set to obtain a second feature set; The second feature set is input into a preset classifier for classification to obtain an analysis result.
3. The method for analyzing EEG data according to claim 2, characterized in that: Calculate the phase synchronization between the m EEG signals in each EEG data to obtain a first feature set, including: Performing data preprocessing on the EEG signals collected by the m close-range electrodes of each monitoring device; Calculating multiple phase differences between EEG signals collected by m close-range electrodes of each monitoring device after data preprocessing; The sine value of each phase difference is calculated to obtain a first feature set including a plurality of sine values.
4. The method for analyzing EEG data according to claim 3, characterized in that: The phase synchronicity is calculated based on the following formula: Among them, WPLI i,j,τ Between 0 and 1, E{.} is the expected value operator, Δω i,j,τ represents the phase difference between nodes i and j at time point τ, Δω i,j,τ =ω i (τ)-ω j (τ), where ω i (τ) represents the phase of node i at time point τ, ω j (τ) represents the phase of node j at time point τ.
5. The method for analyzing EEG data according to claim 2, wherein: The method of using a preset screening algorithm to screen the first feature set to obtain a second feature set includes: Using a first preset screening algorithm to screen the first feature set to obtain an intermediate feature set with high discrimination; The intermediate feature set is screened using a second preset screening algorithm to obtain a second feature set with low redundancy.
6. The method for analyzing EEG data according to any one of claims 1 to 5, characterized in that: The n monitoring devices include 1 master monitoring device and n-1 slave monitoring devices, and the method is applied to the master monitoring device.
7. The method for analyzing EEG data according to any one of claims 2 to 5, characterized in that: The preset classifier is a binary classifier or a multi-classifier.
8. An electroencephalogram data analysis device, characterized in that: include: A first data acquisition module is used to acquire EEG signals collected by m close-range electrodes of each of n monitoring devices, where n is a positive integer and m≥2; A second data acquisition module is used to acquire n EEG data of the target object, where n is a positive integer, wherein the n EEG data are acquired after being collected by n monitoring devices on the target object, and each EEG data includes an EEG signal collected by m close-range electrodes of a monitoring device, wherein m≥2; The joint analysis module is used to perform joint analysis on the EEG signals collected by the m close-range electrode data included in each EEG data, and generate analysis results.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
