Electroencephalogram-based psychological test method and system
By initializing the environment and generating and adjusting test data, real-time EEG data acquisition and verification were performed, solving the problem of EEG test data accuracy, ensuring data reliability, and providing a foundation for subsequent analysis.
Patent Information
- Application Number
- CN202411705352.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-11-26
AI Technical Summary
In existing technologies, the application of EEG in psychological testing lacks a verification process, making it difficult to determine the accuracy and reliability of the collected EEG data, which leads to an inability to accurately analyze the psychological state of the subjects.
By initializing the environment and conducting tests, adjusting test data is generated, real-time EEG data is collected, and preprocessing, feature extraction, and classification are performed. The process is verified, and finally, test record information is screened to ensure the accuracy and reliability of the data.
Initialization is performed before psychological testing, and verification is conducted during the process to ensure the accuracy of the collected EEG data, providing a reliable basis for subsequent analysis of the subject's psychological state.
Smart Images

Figure CN119548136B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of psychological testing, and particularly relates to a psychological testing method and system based on electroencephalogram. BACKGROUND
[0002] Psychological testing is a process of quantifying the psychological activities of cognition, behavior and emotion of a person according to certain rules and psychological principles, using certain operation procedures, to help individuals and organizations understand the psychological characteristics and abilities of the person more deeply, so as to make more intelligent decisions.
[0003] When the brain works, the ion movement in the nerve cells will generate electric current, and these electric currents form weak potentials on the scalp surface. Electroencephalogram technology is a non-invasive technology that analyzes the activities of the brain by detecting the potentials on the scalp surface when the brain works.
[0004] In the prior art, the electroencephalogram is applied to psychological testing, which only stimulates the subjects according to certain picture, sound and / or video data, and then collects electroencephalogram data for analysis of psychological testing. There is no verification process, and it is difficult to determine whether the collected electroencephalogram data is accurate and reliable, so the psychological state of the subject cannot be accurately analyzed. SUMMARY
[0005] The purpose of the embodiments of the present application is to provide a psychological testing method and system based on electroencephalogram, aiming to solve the problems proposed in the background.
[0006] To achieve the above-mentioned purpose, the embodiments of the present application provide the following technical solutions:
[0007] The psychological testing method based on electroencephalogram specifically comprises the following steps:
[0008] According to the preset standard environment data, the initialization environment adjustment is performed, and according to the preset standard test data, the initialization electroencephalogram psychological testing is performed to determine whether the initialization test is passed;
[0009] After the initialization test is passed, the psychological testing data is acquired, and the psychological testing data is inserted and adjusted according to the standard test data to generate adjusted test data;
[0010] According to the adjusted test data, the target person is stimulated for psychological testing, and real-time electroencephalogram data is collected during the psychological testing process to acquire test collection data;
[0011] The test collection data is preprocessed, feature extracted and classified and recognized to acquire recognition record information, and the recognition record information is verified to determine whether the process verification is passed;
[0012] After the process verification passes, the identification record information is screened, test record information is acquired, and the test record information is directionally transmitted.
[0013] As a further limitation of the technical scheme of the embodiment of the application, the initialization environment adjustment according to the preset standard environment data and the initialization brain electrical psychological test according to the preset standard test data to determine whether the initialization test passes specifically include the following steps:
[0014] Acquiring the standard environment data and the standard test data;
[0015] Performing initialization environment adjustment of indoor temperature, indoor humidity and indoor illumination according to the standard environment data;
[0016] Performing initialization psychological test of brain electrical according to the standard test data to acquire initialization test data;
[0017] Performing verification analysis on the initialization test data to determine whether the initialization test passes.
[0018] As a further limitation of the technical scheme of the embodiment of the application, the initialization environment adjustment according to the preset standard environment data and the initialization brain electrical psychological test according to the preset standard test data to determine whether the initialization test passes specifically include the following steps:
[0019] After the initialization test passes, acquiring psychological test data;
[0020] Performing fragmentation processing on the psychological test data to divide multiple test fragment data;
[0021] Performing fragmentation processing on the standard test data to divide multiple test fragment data;
[0022] Selecting multiple insertion positions between the multiple test fragment data;
[0023] According to the multiple insertion positions, inserting and adjusting the multiple test fragment data between the multiple test fragment data to generate adjusted test data.
[0024] As a further limitation of the technical scheme of the embodiment of the application, the initialization environment adjustment according to the preset standard environment data and the initialization brain electrical psychological test according to the preset standard test data to determine whether the initialization test passes specifically include the following steps:
[0025] According to the adjusted test data, performing psychological test stimulation on the target person;
[0026] Starting an EEG amplifier during the psychological test;
[0027] According to the order and time of the psychological test stimulation, the electroencephalogram data acquisition and synchronization are performed, and the test acquisition data is obtained.
[0028] As a further limitation of the technical scheme of the embodiment of the present application, the test acquisition data is preprocessed, feature extracted and classified and recognized to obtain recognition record information, the recognition record information is process verified to determine whether the process verification is passed, and the process verification specifically includes the following steps:
[0029] The test acquisition data is preprocessed by filtering, denoising and segmentation to obtain preprocessed data;
[0030] The preprocessed data is feature extracted in frequency, amplitude and phase to obtain feature data;
[0031] The feature data is classified and recognized to obtain recognition record information;
[0032] According to the standard test data and the plurality of insertion positions, the process verification of the recognition record information is performed to determine whether the process verification is passed.
[0033] As a further limitation of the technical scheme of the embodiment of the present application, after the process verification is passed, the recognition record information is screened to obtain test record information, and the test record information is directionally transmitted, specifically including the following steps:
[0034] After the process verification is passed, a rejection screening instruction is generated;
[0035] According to the rejection screening instruction and the plurality of insertion positions, the recognition record information is rejected and screened to obtain test record information;
[0036] A directional transmission address is obtained;
[0037] According to the directional transmission address, the test record information is directionally transmitted.
[0038] The psychological test system based on electroencephalogram, the system includes a standard test judgment unit, a data insertion adjustment unit, a psychological test acquisition unit, a process verification judgment unit and an information screening transmission unit, wherein:
[0039] The standard test judgment unit is used for initializing environment adjustment according to the preset standard environment data, and initializing electroencephalogram psychological test according to the preset standard test data, and determining whether the initialization test is passed;
[0040] The data insertion adjustment unit is used for obtaining psychological test data after the initialization test is passed, and inserting and adjusting the psychological test data according to the standard test data to generate adjusted test data;
[0041] The psychological test acquisition unit is configured to stimulate the target person with a psychological test according to the adjusted test data, and acquire test acquisition data by collecting real-time electroencephalogram data during the psychological test.
[0042] The process verification judgment unit is configured to preprocess, extract features from, and classify and identify the test acquisition data, acquire identification record information, perform process verification on the identification record information, and determine whether the process verification is passed.
[0043] The information screening and transmission unit is configured to screen the identification record information after the process verification is passed, acquire test record information, and perform directional transmission on the test record information.
[0044] As a further limitation of the technical scheme of the embodiment of the present application, the standard test judgment unit specifically comprises:
[0045] The first data acquisition module is configured to acquire standard environment data and standard test data.
[0046] The environment adjustment module is configured to perform initial environment adjustment on indoor temperature, indoor humidity, and indoor illumination according to the standard environment data.
[0047] The initial test module is configured to perform initial psychological test on electroencephalogram according to the standard test data, and acquire initial test data.
[0048] The verification analysis module is configured to perform verification analysis on the initial test data, and determine whether the initial test is passed.
[0049] As a further limitation of the technical scheme of the embodiment of the present application, the data insertion adjustment unit specifically comprises:
[0050] The second data acquisition module is configured to acquire psychological test data after the initial test is passed.
[0051] The first fragmentation processing module is configured to perform fragmentation processing on the psychological test data, and divide the psychological test data into a plurality of test fragment data.
[0052] The second fragmentation processing module is configured to perform fragmentation processing on the standard test data, and divide the standard test data into a plurality of test fragment data.
[0053] The position selection module is configured to select a plurality of insertion positions among the plurality of test fragment data.
[0054] The insertion adjustment module is configured to perform insertion adjustment on the plurality of test fragment data according to the plurality of insertion positions among the plurality of test fragment data, and generate adjusted test data.
[0055] As a further limitation of the technical solutions of the embodiments of the present application, the process verification judging unit specifically comprises:
[0056] The data preprocessing module is configured to perform filtering, denoising and segmentation preprocessing on the test collection data to obtain preprocessed data.
[0057] The feature extraction module is configured to perform frequency, amplitude and phase feature extraction on the preprocessed data to obtain feature data.
[0058] The classification and recognition module is configured to perform classification and recognition on the feature data to obtain recognition record information.
[0059] The process verification module is configured to perform process verification on the recognition record information according to the standard test data and the plurality of insertion positions to determine whether the process verification is passed.
[0060] Compared with the prior art, the present application has the following advantages:
[0061] The embodiments of the present application perform initialization environment adjustment and initialization electroencephalogram psychological test according to the preset standard environment data. After the initialization test is passed, the psychological test data is inserted and adjusted according to the standard test data to generate adjusted test data. The psychological test stimulation is performed to obtain test collection data. The process verification is performed on the recognition record information. After the process verification is passed, the recognition record information is screened to obtain test record information, and the test record information is transmitted in a targeted manner. The initialization electroencephalogram psychological test can be performed before the psychological test, and the process verification can be performed during the psychological test. After the process verification is passed, the test record information is screened to ensure the accuracy and reliability of the collected electroencephalogram data, thereby providing a basis for subsequent accurate analysis of the psychological state of the subject. BRIEF DESCRIPTION OF DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application.
[0063] Figure 1 A flowchart of the method provided by the embodiments of the present application is shown.
[0064] Figure 2 A flowchart of the initialization environment adjustment and initialization electroencephalogram psychological test in the method provided by the embodiments of the present application is shown.
[0065] Figure 3 A flowchart of the generation of adjusted test data in the method provided by the embodiments of the present application is shown.
[0066] Figure 4 A flow chart of acquiring test collection data in the method provided by the embodiment of the application is shown.
[0067] Figure 5 A flow chart of process verification and pass judgment in the method provided by the embodiment of the application is shown.
[0068] Figure 6 A flow chart of acquiring test record information in the method provided by the embodiment of the application is shown.
[0069] Figure 7 An application architecture diagram of the system provided by the embodiment of the application is shown.
[0070] Figure 8 A structure block diagram of a standard test judgment unit in the system provided by the embodiment of the application is shown.
[0071] Figure 9 A structure block diagram of a data insertion adjustment unit in the system provided by the embodiment of the application is shown.
[0072] Figure 10 A structure block diagram of a process verification judgment unit in the system provided by the embodiment of the application is shown. DETAILED DESCRIPTION
[0073] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0074] It can be understood that in the prior art, the electroencephalogram is applied to the psychological test, only certain picture, sound and / or video data are used to stimulate the subject psychologically, and then the electroencephalogram data is collected to analyze the psychological test, there is no verification process, it is difficult to determine whether the collected electroencephalogram data is accurate and reliable, and therefore, the psychological state of the subject cannot be accurately analyzed.
[0075] To solve the above problems, the embodiment of the present application carries out initialization environment adjustment according to preset standard environment data, carries out initialization electroencephalogram psychological test according to preset standard test data, judges whether the initialization test passes or not, obtains psychological test data after the initialization test passes, carries out insertion adjustment on the psychological test data according to the standard test data, generates adjustment test data, carries out psychological test stimulation on the target person according to the adjustment test data, carries out real-time electroencephalogram data collection in the psychological test process, obtains test collection data, carries out preprocessing, feature extraction and classification identification on the test collection data, obtains identification record information, carries out process verification on the identification record information, judges whether the process verification passes or not, carries out screening on the identification record information after the process verification passes, obtains test record information, and carries out directional transmission on the test record information.
[0076] Figure 1 A flow chart of the method provided by the embodiment of the present application is shown.
[0077] Specifically, the electroencephalogram-based psychological test method specifically comprises the following steps:
[0078] In step S101, initialization environment adjustment is carried out according to preset standard environment data, and initialization electroencephalogram psychological test is carried out according to preset standard test data, and it is judged whether the initialization test passes or not.
[0079] In the embodiment of the present application, before the formal electroencephalogram psychological test is carried out, standard environment data and standard test data are obtained, and then the indoor temperature, indoor humidity and indoor illumination of the test environment are adjusted according to the standard environment data, so that the indoor temperature, indoor humidity and indoor illumination are adjusted to an appropriate level, and it is ensured that the environment is quiet and free from electromagnetic interference. After the initialization environment adjustment is completed, the initialization electroencephalogram psychological test is carried out according to the standard test data, initialization test data is obtained, and then the initialization test data is verified and analyzed according to the standard test result corresponding to the standard test data, and it is judged whether the initialization test passes or not. Specifically, if the initialization test data is the same as the standard test result, the initialization test passes; if the initialization test data is different from the standard test result, the initialization test does not pass.
[0080] Specifically, Figure 2 A flow chart of the initialization environment adjustment and the initialization electroencephalogram psychological test in the method provided by the embodiment of the present application is shown.
[0081] In the preferred embodiments provided by the present application, the initialization environment adjustment according to the preset standard environment data and the initialization EEG psychological test according to the preset standard test data specifically include the following steps:
[0082] In step S1011, the standard environment data and the standard test data are obtained.
[0083] In step S1012, the indoor temperature, the indoor humidity and the indoor illumination are initialized according to the standard environment data.
[0084] In step S1013, the EEG is initialized according to the standard test data to obtain initialization test data.
[0085] In step S1014, the initialization test data is verified and analyzed to determine whether the initialization test is passed, and the corresponding process has the following relationship:
[0086]
[0087] wherein, represents the probability of passing the initialization test, represents the number of test samples, represents the characteristic value of the EEG test data of the i-th sample, n represents the characteristic value of the psychological state of the i-th sample, represents the characteristic value of the environmental condition of the i-th sample, n represents the characteristic value of the EEG test data of the i-th sample, represents the characteristic value of the psychological state of the i-th sample, n represents the characteristic value of the environmental condition of the i-th sample, represents the corresponding weighted coefficient of the EEG test, the psychological state and the environmental condition, respectively, represents the adjustment coefficient of the standard deviation term, represents the mean value of the characteristic value of the EEG test data, the characteristic value of the psychological state and the characteristic value of the environmental condition in all samples, respectively; represents the attenuation coefficient for controlling the exponential function, represents the exponential function related to the number of samples.
[0088] In the process of determining whether the initialization test is passed, the present application integrates different characteristic values according to their importance through the weighted average term Each characteristic value weight can reflect its importance to the overall test result by adjusting the corresponding weighted coefficient. The model is allowed to be fine-tuned in different test situations, thereby improving flexibility. And the standard deviation term The stability and consistency of the test data can be captured. For the test requiring stable results, this item can help identify abnormal fluctuations in the data. In the calculation process, the influence of the sample size on the overall evaluation results can also be adjusted by an exponential decay term, ensuring that the model is not overly sensitive when the sample size is small and the model is not too sluggish when the sample size is large.
[0089] Further, the brain electrical signal based psychological test method further comprises the following steps:
[0090] In step S102, after the initialization test passes, the psychological test data is acquired, and the psychological test data is inserted and adjusted according to the standard test data to generate adjusted test data.
[0091] In the embodiment of the present application, after the initialization test passes, the psychological test data is acquired, and the psychological test data is fragmented (for example, different video data, image data and / or audio data in the psychological test data are segmented to realize fragmentation), and a plurality of test segment data are divided. The standard test data is also fragmented (in the same way, different video data, image data and / or audio data in the standard test data are segmented to realize fragmentation), and a plurality of test segment data are divided. A plurality of insertion positions are randomly selected between the plurality of test segment data, and then the plurality of test segment data are inserted and adjusted between the plurality of test segment data according to the plurality of insertion positions to generate adjusted test data.
[0092] Specifically, Figure 3 A flowchart of generating adjusted test data in the method provided by the embodiment of the present application is shown.
[0093] In the preferred embodiment provided by the present application, the step of acquiring the psychological test data after the initialization test passes and inserting and adjusting the psychological test data according to the standard test data to generate adjusted test data specifically comprises the following steps:
[0094] In step S1021, after the initialization test passes, the psychological test data is acquired.
[0095] In step S1022, the psychological test data is fragmented to divide a plurality of test segment data.
[0096] In step S1023, the standard test data is fragmented to divide a plurality of test segment data.
[0097] In step S1024, a plurality of insertion positions are selected between the plurality of test segment data.
[0098] Step S1025, according to a plurality of said insertion positions, adjusting a plurality of said test segment data, generating adjustment test data, the corresponding process is as follows:
[0099] ;
[0100] Among them, indicates the first j adjustment test data generated after the insertion adjustment, indicates the number of test segment data, indicates the first test segment data, indicates the maximum value of the test segment data, indicates the number of test segment data, indicates the first test segment data, indicates the maximum absolute value of all possible insertion positions and the difference between the insertion positions, indicates the insertion position of the first test segment, indicates the insertion position of the first test segment; indicates the adjustment factor for controlling the nonlinearity of the insertion adjustment.
[0101] In the above process of generating adjustment test data, the present application calculates the contribution value of each test segment data by normalizing each test segment data, ensures that the influence of each test segment data is adjusted according to its relative size, and avoids the influence of data too large or too small segment being too significant. And, calculate the adjustment value of each test segment data at the insertion position, and take the relative weight of the test segment data, the distance between the insertion positions, and the cosine function adjustment term as the determining factors of the adjustment value, ensure that the generated adjustment test data is more realistic and diverse, and make the generated adjustment test data closer to the actual situation.
[0102] Further, the EEG-based psychological test method further comprises the following steps:
[0103] Step S103, according to the adjustment test data, performing psychological test stimulation on the target person, and collecting real-time EEG data in the psychological test process to obtain test collection data.
[0104] In the embodiment of the present application, according to the adjustment test data, the target person is stimulated for psychological test, and in the psychological test process, the EEG amplifier is started, the time and order of the stimulation presentation are recorded, the synchronization of the stimulation and the EEG data is ensured, the EEG data is collected and synchronized according to the order and time of the psychological test stimulation, and the test collection data is obtained.
[0105] Specifically, Figure 4 A flow chart of acquiring test collection data in the method provided by the embodiment of the application is shown.
[0106] In the preferred embodiment provided by the application, acquiring test collection data according to the adjusted test data, performing psychological test stimulation on the target person, and acquiring real-time electroencephalogram data in the psychological test process specifically include the following steps:
[0107] Step S1031, performing psychological test stimulation on the target person according to the adjusted test data;
[0108] Step S1032, starting an EEG amplifier in the psychological test process;
[0109] Step S1033, acquiring and synchronizing electroencephalogram data according to the order and time of the psychological test stimulation, acquiring test collection data, and the corresponding process has the following relationship:
[0110] ;
[0111] wherein, represents the test collection data acquired at time t , represents the number of psychological test stimulations, represents the electroencephalogram data signal acquired at time t under the i th psychological test stimulation, represents the time point of the i th psychological test stimulation, represents the width control parameter of the Gaussian function; represents the Gaussian function used for weighting the electroencephalogram data signal, the center is at time , and the width is controlled by the parameter ; represents the parameter for controlling the decay rate of the Gaussian function, represents the intensity of the i th psychological test stimulation, represents the frequency control parameter of the sinusoidal function, represents the phase control parameter of the sinusoidal function; represents the sinusoidal function used for simulating the influence of the psychological test stimulation on the electroencephalogram data, the frequency is controlled by , and the phase is controlled by ; represents the Sigmoid function used for smoothing the influence of the psychological test stimulation on the electroencephalogram data, represents the parameter for controlling the steepness of the Sigmoid function.
[0112] In the process of obtaining the test collection data, the application assigns weights to each electroencephalogram data signal, and the weights are controlled by a Gaussian function Each electroencephalogram data signal is weighted, and the weight is controlled by a Gaussian function, which is centered at the time point of the nth psychological test stimulus i The weight is smoothly distributed by the Gaussian function, so that the electroencephalogram data signal closer to the time point has a larger weight, thereby increasing the smoothness and reliability of the data The influence of the psychological test stimulus on the electroencephalogram data is simulated to reflect the complex influence of the stimulus on the electroencephalogram signal; this multi-factor combination method can accurately simulate the influence of the psychological test stimulus on the electroencephalogram data, considering factors such as frequency, phase, time distance, and nonlinearity, thereby achieving accurate capture and processing of the electroencephalogram signal during the psychological test.
[0113] Further, the electroencephalogram-based psychological test method further includes the following steps:
[0114] In step S104, the test collection data is preprocessed, feature extracted, and classified and recognized to obtain recognition record information, and the recognition record information is process verified to determine whether the process verification is passed.
[0115] In the embodiment of the application, the test collection data is preprocessed by filtering, denoising, and segmenting to obtain preprocessed data, the preprocessed data is then feature extracted in frequency, amplitude, and phase (common features include alpha waves (8-13 Hz), beta waves (13-30 Hz), etc.), the feature data is classified and recognized to distinguish different psychological states such as relaxation, anxiety, and excitement, and recognition record information is obtained, and then the recognition record information is process verified according to the standard test data and the plurality of insertion positions to determine whether the process verification is passed.
[0116] Specifically, Figure 5 A flowchart of process verification and pass determination in the method provided by the embodiment of the application is shown.
[0117] In the preferred embodiment provided by the application, the test collection data is preprocessed, feature extracted, and classified and recognized to obtain recognition record information, and the recognition record information is process verified to determine whether the process verification is passed, which specifically includes the following steps:
[0118] In step S1041, the test collection data is preprocessed by filtering, denoising, and segmenting to obtain preprocessed data.
[0119] In step S1042, the preprocessed data is feature extracted in frequency, amplitude, and phase to obtain feature data.
[0120] Step S1043, classifying and identifying the feature data to obtain identification record information;
[0121] Step S1044, performing process verification on the identification record information according to the standard test data and the plurality of insertion positions, and determining whether the process verification is passed.
[0122] Further, the psychological test method based on electroencephalogram further includes the following steps:
[0123] Step S105, after the process verification is passed, screening the identification record information to obtain test record information, and performing directional transmission on the test record information.
[0124] In the embodiment of the present application, after the process verification is passed, a screening and removing instruction is generated, at this time, according to the screening and removing instruction, the information corresponding to the plurality of insertion positions in the identification record information is removed, so as to screen and obtain the test record information, and a directional transmission address is obtained, and then the test record information is directionally transmitted according to the directional transmission address.
[0125] Specifically, Figure 6 A flowchart for obtaining test record information in the method provided by the embodiment of the present application is shown.
[0126] In the preferred embodiment provided by the present application, the screening of the identification record information to obtain test record information and the directional transmission of the test record information after the process verification is passed specifically includes the following steps:
[0127] Step S1051, after the process verification is passed, a screening and removing instruction is generated;
[0128] Step S1052, according to the screening and removing instruction and the plurality of insertion positions, the identification record information is subjected to removing and screening processing to obtain test record information;
[0129] Step S1053, a directional transmission address is obtained;
[0130] Step S1054, according to the directional transmission address, the test record information is directionally transmitted.
[0131] Further, Figure 7 An application architecture diagram of the system provided by the embodiment of the present application is shown.
[0132] In another preferred embodiment provided by the present application, the psychological test system based on electroencephalogram includes:
[0133] The standard test judgment unit 101 is configured to perform initial environment adjustment according to preset standard environment data, and perform initial electroencephalogram psychological test according to preset standard test data, and determine whether the initial test is passed.
[0134] In the embodiment of the present application, before the formal electroencephalogram psychological test is performed, the standard test judgment unit 101 acquires standard environment data and standard test data, and then performs initial environment adjustment of indoor temperature, indoor humidity and indoor illumination according to the standard environment data, so that the indoor temperature, indoor humidity and indoor illumination are adjusted to an appropriate level, and the environment is ensured to be quiet and free of electromagnetic interference. After the initial environment adjustment is completed, the initial electroencephalogram psychological test is performed according to the standard test data, initial test data is acquired, and the initial test data is verified and analyzed according to the standard test result corresponding to the standard test data, to determine whether the initial test is passed. Specifically, if the initial test data is the same as the standard test result, the initial test is passed. If the initial test data is different from the standard test result, the initial test is not passed.
[0135] Specifically, Figure 8 The structure block diagram of the standard test judgment unit 101 in the system provided by the embodiment of the present application is shown.
[0136] In the preferred embodiment provided by the present application, the standard test judgment unit 101 specifically includes:
[0137] The first data acquisition module 1011 is configured to acquire standard environment data and standard test data.
[0138] The environment adjustment module 1012 is configured to perform initial environment adjustment of indoor temperature, indoor humidity and indoor illumination according to the standard environment data.
[0139] The initial test module 1013 is configured to perform initial electroencephalogram psychological test according to the standard test data, and acquire initial test data.
[0140] The verification and analysis module 1014 is configured to verify and analyze the initial test data, and determine whether the initial test is passed.
[0141] Further, the electroencephalogram-based psychological test system further includes:
[0142] The data insertion and adjustment unit 102 is configured to acquire psychological test data after the initial test is passed, and perform insertion and adjustment on the psychological test data according to the standard test data, to generate adjusted test data.
[0143] In the embodiment of the present application, after the initialization test is passed, the data insertion adjustment unit 102 acquires psychological test data, and then performs fragmentation processing on the psychological test data (for example, different video data, image data and / or audio data in the psychological test data are segmented to achieve fragmentation processing), divides a plurality of test segment data, and performs fragmentation processing on the standard test data (in the same way, different video data, image data and / or audio data in the standard test data are segmented to achieve fragmentation processing), divides a plurality of test segment data, randomly selects a plurality of insertion positions between the plurality of test segment data, and then inserts and adjusts the plurality of test segment data between the plurality of test segment data according to the plurality of insertion positions to generate adjusted test data.
[0144] Specifically, Figure 9 The structural block diagram of the data insertion adjustment unit 102 in the system provided by the embodiment of the present application is shown.
[0145] In the preferred embodiment provided by the present application, the data insertion adjustment unit 102 specifically includes:
[0146] The second data acquisition module 1021 is configured to acquire psychological test data after the initialization test is passed.
[0147] The first fragmentation processing module 1022 is configured to perform fragmentation processing on the psychological test data and divide a plurality of test segment data.
[0148] The second fragmentation processing module 1023 is configured to perform fragmentation processing on the standard test data and divide a plurality of test segment data.
[0149] The position selection module 1024 is configured to select a plurality of insertion positions between the plurality of test segment data.
[0150] The insertion adjustment module 1025 is configured to insert and adjust the plurality of test segment data between the plurality of test segment data according to the plurality of insertion positions to generate adjusted test data.
[0151] Further, the psychological test system based on electroencephalogram further includes:
[0152] The psychological test acquisition unit 103 is configured to perform psychological test stimulation on a target person according to the adjusted test data, and perform real-time electroencephalogram data acquisition during the psychological test to acquire test acquisition data.
[0153] In the embodiment of the present application, the psychological test acquisition unit 103 performs psychological test stimulation on the target person according to the adjusted test data, and starts the EEG amplifier during the psychological test process, records the time and order of the stimulation presentation, ensures the synchronization of the stimulation and the electroencephalogram data, acquires the test acquisition data by collecting and synchronizing the electroencephalogram data according to the order and time of the psychological test stimulation.
[0154] The process verification judgment unit 104 is configured to preprocess, extract features and classify and identify the test acquisition data, acquire identification record information, and perform process verification on the identification record information to determine whether the process verification is passed.
[0155] In the embodiment of the present application, the process verification judgment unit 104 preprocesses the test acquisition data by filtering, denoising and segmenting to acquire preprocessed data, extracts features of frequency, amplitude and phase (common features include alpha wave (8-13 Hz), beta wave (13-30 Hz), etc.) from the preprocessed data to acquire feature data, classifies and identifies the feature data to distinguish different psychological states such as relaxation, anxiety, excitement, etc., acquires identification record information, and then performs process verification on the identification record information according to the standard test data and the plurality of insertion positions to determine whether the process verification is passed.
[0156] Specifically, Figure 10 The structure block diagram of the process verification judgment unit 104 in the system provided by the embodiment of the present application is shown.
[0157] In the preferred embodiment provided by the present application, the process verification judgment unit 104 specifically includes:
[0158] The data preprocessing module 1041 is configured to preprocess the test acquisition data by filtering, denoising and segmenting to acquire preprocessed data.
[0159] The feature extraction module 1042 is configured to extract features of frequency, amplitude and phase from the preprocessed data to acquire feature data.
[0160] The classification and identification module 1043 is configured to classify and identify the feature data to acquire identification record information.
[0161] The process verification module 1044 is configured to perform process verification on the identification record information according to the standard test data and the plurality of insertion positions to determine whether the process verification is passed.
[0162] Further, the psychological test system based on electroencephalogram further includes:
[0163] The information screening transmission unit 105 is configured to, after the process is verified, screen the identification record information, obtain the test record information, and direct the transmission of the test record information.
[0164] In the embodiment of the present application, after the process is verified, the information screening transmission unit 105 generates the elimination screening instruction, and according to the elimination screening instruction, the information corresponding to the multiple insertion positions in the identification record information is eliminated, so as to screen the test record information, obtain the direct transmission address, and direct the transmission of the test record information according to the direct transmission address.
[0165] It should be understood that, although each step in the flowchart of each embodiment of the present application is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in each embodiment can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.
[0166] It can be understood by those skilled in the art that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing related hardware. The program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiments of each method. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can 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. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0167] Any technical features in the above-described embodiments can be combined in any manner, and for the sake of brevity, not all possible combinations are described, but it is understood that the scope of the present specification includes all possible combinations.
[0168] The above-described embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the patent scope of the present application. It should be noted that, for those skilled in the art, some modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application patent should be subject to the appended claims.
[0169] The above-described embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the patent scope of the present application. It should be noted that, for those skilled in the art, some modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application patent should be subject to the appended claims. The above-described embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the patent scope of the present application. It should be noted that, for those skilled in the art, some modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application patent should be subject to the appended claims.
Claims
1. A psychological testing method based on electroencephalography (EEG), characterized in that, The method specifically includes the following steps: The environment is initialized according to the preset standard environmental data, and the initial EEG psychological test is performed according to the preset standard test data to determine whether the initial test is passed. After the initial test is passed, psychological test data is obtained, and the psychological test data is inserted and adjusted according to the standard test data to generate adjusted test data. Based on the adjusted test data, psychological testing stimulation is conducted on the target personnel, and real-time EEG data is collected during the psychological testing process to obtain the test data. The test data is preprocessed, features are extracted, and classification is performed to obtain identification record information. The identification record information is then verified to determine whether the verification is successful. After the process verification is passed, the identification record information is filtered to obtain test record information, and the test record information is transmitted in a targeted manner. The process of initializing the environment according to preset standard environmental data, and initializing the EEG psychological test according to preset standard test data, and determining whether the initial test has passed, specifically includes the following steps: Obtain standard environmental data and standard test data; Based on the aforementioned standard environmental data, perform initial environmental adjustments for indoor temperature, indoor humidity, and indoor lighting. According to the standard test data, perform the initial psychological test of EEG to obtain the initial test data; The initial test data is verified and analyzed to determine whether the initial test has passed. The initial test data is verified and analyzed to determine whether the initial test has passed. The corresponding process has the following relationship: ; in, This represents the probability of passing the initialization test. Indicates the number of test samples. Indicates the first n Feature values of EEG test data from a sample, Indicates the first n The feature values of the psychological state of each sample Indicates the first n Feature values of environmental conditions for each sample These represent the weighting coefficients corresponding to EEG testing, psychological state, and environmental conditions, respectively. The adjustment factor for the standard deviation term. These represent the mean values of the characteristic values of EEG test data, psychological state, and environmental conditions in all samples, respectively. This represents the decay coefficient used to control the exponential function. This represents an exponential function related to the sample size. After the initial test is passed, psychological test data is acquired, and the psychological test data is adjusted according to the standard test data to generate adjusted test data. This process specifically includes the following steps: After the initial test is passed, psychological test data is obtained; The psychological test data is fragmented into multiple test segments. The standard test data is fragmented into multiple test data segments; Multiple insertion points can be selected among the multiple test segment data; According to the multiple insertion positions, the multiple test segment data are inserted and adjusted between the multiple test segment data to generate adjusted test data; According to the multiple insertion positions, the multiple test segment data are inserted and adjusted between the multiple test segment data to generate adjusted test data. The corresponding process has the following relationship: ; in, This indicates the number generated after insertion and adjustment. j Adjust the test data. Indicates the number of test fragment data. Indicates the first Test segment data, This represents the maximum value of the test segment data. Indicates the number of test data segments. Indicates the first Number of test segments This represents the maximum absolute value of the difference between all possible insertion positions and the insertion position. Indicates the first The insertion position of each test segment. Indicates the first The insertion position of each test segment; This represents the adjustment factor, used to control the degree of nonlinearity in the insertion adjustment.
2. The EEG-based psychological testing method according to claim 1, characterized in that, The process of conducting psychological testing on target individuals based on the adjusted test data, and acquiring real-time EEG data during the psychological testing process, specifically includes the following steps: Based on the adjusted test data, psychological testing stimulation is conducted on the target personnel. During the psychological test, the EEG amplifier is activated; EEG data is collected and synchronized according to the order and timing of psychological test stimuli to obtain test data.
3. The EEG-based psychological testing method according to claim 2, characterized in that, EEG data is collected and synchronized according to the sequence and timing of psychological test stimuli to obtain test data. The corresponding process has the following relationship: ; in, Indicates time t The acquired test data, Indicates the number of psychological test stimuli. Indicates time t The first collection i EEG data signals under psychological test stimulation Indicates the first i The timing of psychological test stimuli This represents the width control parameter of the Gaussian function; This represents the Gaussian function used to weight EEG data signals, centered at time. The width is determined by the parameter. control; This represents the parameter that controls the decay rate of the Gaussian function. Indicates the first i The intensity of a psychological test stimulus. This represents the frequency control parameter of the sine function. Represents the phase control parameters of a sine function; The sine function representing the effect of psychological test stimuli on EEG data has a frequency ranging from... Control, phase by control; The Sigmoid function represents the function used to smooth the effect of psychological test stimuli on EEG data. The parameter represents the steepness of the Sigmoid function.
4. The EEG-based psychological testing method according to claim 3, characterized in that, The process of preprocessing, feature extraction, and classification of the test data to obtain identification record information, and then verifying the identification record information to determine whether the process verification is successful, specifically includes the following steps: The test data is preprocessed by filtering, denoising, and segmentation to obtain preprocessed data; The preprocessed data is subjected to feature extraction of frequency, amplitude and phase to obtain feature data; The feature data is classified and identified to obtain identification record information; Based on the standard test data and multiple insertion positions, the identification record information is verified in process to determine whether the process verification is successful.
5. The EEG-based psychological testing method according to claim 4, characterized in that, After the process verification is passed, the identification record information is filtered to obtain test record information, and the test record information is transmitted in a targeted manner, which specifically includes the following steps: After the process verification is passed, a rejection filtering instruction is generated; According to the rejection and filtering instructions and the multiple insertion positions, the identification record information is rejected and filtered to obtain test record information; Obtain the directed transmission address; The test record information is transmitted in a targeted manner according to the targeted transmission address.
6. A psychological testing system based on electroencephalography (EEG), characterized in that, The system employs the EEG-based psychological testing method as described in any one of claims 1 to 5 above. The system includes a standard test judgment unit, a data insertion and adjustment unit, a psychological test acquisition unit, a process verification judgment unit, and an information filtering and transmission unit, wherein: The standard test judgment unit is used to initialize the environment according to preset standard environment data, and to initialize the EEG psychological test according to preset standard test data, and to determine whether the initial test has passed. The data insertion and adjustment unit is used to acquire psychological test data after the initial test is passed, and to insert and adjust the psychological test data according to the standard test data to generate adjusted test data. The psychological test acquisition unit is used to conduct psychological test stimulation on the target person according to the adjusted test data, and to collect EEG data in real time during the psychological test to obtain test acquisition data. The process verification and judgment unit is used to preprocess, extract features and classify the test collection data, obtain recognition record information, perform process verification on the recognition record information, and determine whether the process verification is successful. The information filtering and transmission unit is used to filter the identification record information, obtain test record information, and transmit the test record information in a targeted manner after the process verification is passed.
Citation Information
Patent Citations
Electroencephalogram biological signal detection method and device
CN115886843A
Heart rate detection system based on artificial intelligence
CN118806283A