Dynamic nerve-muscle rehabilitation exercise method and system, electronic equipment and storage medium

Through the dynamic neuro-muscle rehabilitation exercise method, electroencephalogram and electromyography data are used to construct a dynamic neuro-muscle network model, which solves the problem of difficulty in predicting the rehabilitation prognosis of stroke patients in the existing technology, and realizes the timely adjustment and adjustment of rehabilitation strategies. Improvement of rehabilitation effects.

CN118680579APending Publication Date: 2024-09-24SHANGHAI OYMOTION INFORMATION TECH
View PDF 0 Cites 12 Cited by

Patent Information

Application Number
CN202410714709.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing rehabilitation exercise equipment is difficult to effectively predict the prognosis of rehabilitation exercise in stroke patients, resulting in difficulty in adjusting rehabilitation strategies, large individual differences, and uncertain prognosis.

Method used

Using the dynamic neuro-muscle rehabilitation exercise method, we collect electroencephalogram and electromyogram data from stroke patients and healthy individuals, perform preprocessing, dynamic time warping, deep learning feature extraction and graph theory analysis to construct a dynamic neuro-muscle network. Model for classifying and predicting rehabilitation prognosis.

Benefits of technology

It enables staged assessment of patient prognosis during the start and process of rehabilitation exercise, helping doctors and patients adjust rehabilitation strategies in a timely manner to improve rehabilitation effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118680579A
    Figure CN118680579A
Patent Text Reader

Abstract

The invention discloses a dynamic nerve-muscle rehabilitation exercise method and system, electronic equipment and a storage medium. The nerve-muscle rehabilitation exercise method comprises the steps that an electroencephalogram and an electromyogram of a stroke patient in a resting state are collected, and an electroencephalogram and an electromyogram of a healthy crowd are collected; collecting an electroencephalogram and an electromyogram of the stroke patient in the task state, and collecting an electroencephalogram and an electromyogram of the healthy population; constructing a dynamic nerve-muscle network model; preprocessing the electroencephalogram and electromyogram data; aligning and matching the electroencephalogram signals and the electromyographic signals; performing feature extraction on the electroencephalogram and myoelectricity data; constructing an association graph between the electroencephalogram channel and the myoelectricity channel, and extracting graph features; and combining the electroencephalogram-myoelectricity characteristics with rehabilitation prognosis tags, and carrying out classification prediction. The prognosis of the patient can be evaluated in stages when rehabilitation exercise is started and in the process, so that a doctor and the patient can adjust a rehabilitation strategy in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of rehabilitation training, and relates to a rehabilitation training method, and in particular to a dynamic neuromuscular rehabilitation training method, system, electronic equipment and storage medium. Background Art

[0002] After brain injury, there are often different types of functional impairments, among which motor dysfunction is the most common and has the greatest impact on the patient's ability to perform daily activities. If motor function cannot be recovered in time, symptoms such as muscle atrophy and muscle spasm will gradually appear, seriously reducing the patient's social participation and quality of life. The ability to perform daily activities depends largely on the motor function of the upper limbs. Improving the motor function of the upper limbs is the key to helping patients improve their ability to perform daily activities, improve their quality of life and return to society.

[0003] In recent years, functional magnetic resonance imaging, PET and other studies have shown that the brain has strong plasticity. During rehabilitation training, patients with brain injury may achieve the goal of motor function recovery through functional or structural remodeling of motor-related connections. Current rehabilitation training mainly includes passive rehabilitation training and active rehabilitation training. Among them, active rehabilitation is more conducive to the functional rehabilitation of patients with brain injury and the reconstruction of neural pathways. At present, many external devices have been used in the rehabilitation of motor function of brain injury, such as: exoskeleton robots, brain-computer interfaces, electrical stimulation and magnetic stimulation. However, there are great individual differences among stroke patients. Even if the same treatment plan is used, the prognosis may be different. The prognosis issue is also the most concerned issue for stroke patients.

[0004] Currently, there are many types of rehabilitation equipment, which are expensive and have different prognoses. In view of this, there is an urgent need to design a dynamic neuromuscular network system for predicting the prognosis of rehabilitation exercises for stroke patients to evaluate the patient's prognosis at the beginning and during the rehabilitation exercise, so that doctors and patients can adjust the rehabilitation strategy in time. Summary of the invention

[0005] The present invention provides a dynamic neuromuscular rehabilitation training method, system, electronic equipment and storage medium, which are convenient for evaluating the patient's prognosis at the start of rehabilitation training and during the process.

[0006] To solve the above technical problem, according to one aspect of the present invention, the following technical solution is adopted:

[0007] A dynamic neuromuscular rehabilitation training method, the neuromuscular rehabilitation training method comprising:

[0008] Step S1, collecting electroencephalograms and electromyograms of stroke patients in a resting state, and collecting electroencephalograms and electromyograms of healthy people;

[0009] Step S2, collecting EEG and EMG of stroke patients in the task state, and collecting EEG and EMG of healthy people;

[0010] Step S3, constructing a dynamic nerve-muscle network model; Step S3 includes:

[0011] Step S31, preprocessing the EEG and EMG data respectively;

[0012] Step S32: aligning and matching the EEG and EMG signals using a dynamic time warping algorithm;

[0013] Step S33: Use a deep learning model to extract features from EEG and EMG data;

[0014] Step S34, using a graph analysis method to construct a correlation graph between EEG and EMG channels, and extract graph features;

[0015] Step S35: combining the EEG-EMG features with the rehabilitation prognosis labels to perform classification prediction.

[0016] As an embodiment of the present invention, the step S31 includes a preprocessing process of the EEG data and a preprocessing process of the EMG data;

[0017] During the preprocessing of EEG data, first, the raw EEG data was processed by a bandpass filter with a filter range of 0.5-50 Hz, aiming to remove low-frequency drift and high-frequency noise; this step used adaptive filtering technology to dynamically adjust the filter parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis (ICA) and principal component analysis (PCA) were applied; ICA is used to separate independent components in the signal, from which artifacts such as eye movement artifacts, electromyographic artifacts, and electrocardiographic artifacts are identified and removed; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is used, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis;

[0018] During the preprocessing of EMG data, first, the raw EMG signal was filtered through a bandpass filter with a filter range of 20-450Hz to remove low-frequency motion artifacts and high-frequency environmental noise; a zero-phase filter was used to avoid phase distortion and ensure that the temporal characteristics of the signal remained unchanged; secondly, in order to detect and remove power frequency interference (50 / 60Hz) and other power supply noise, adaptive filters and harmonic removal techniques were applied; these methods can dynamically adjust the filter parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; common artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis (ICA) are used to identify and remove these artifacts; in addition, the automatic artifact detection algorithm based on machine learning further improves the efficiency and accuracy of processing; data standardization is a necessary part of preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and signal amplitude changes under different experimental conditions; these methods can effectively reduce data variability and ensure the consistency of subsequent analysis.

[0019] As an implementation manner of the present invention, step S32 includes:

[0020] Dynamic time warping (DTW) algorithm was applied to align and match EEG and EMG signals. First, EEG and EMG signals of participants under specific tasks were collected, and high-precision amplifiers and multi-lead recording equipment were used to ensure the accuracy and integrity of data collection. The raw signals were preprocessed, including denoising, filtering, and normalization, to reduce the influence of artifacts and baseline drift.

[0021] The EEG signal was processed with a 0.5-30Hz bandpass filter, and the EMG signal was processed with a 20-450Hz bandpass filter to retain the key information in their respective spectra; next, the pre-processed EEG and EMG signals were aligned using the DTW algorithm; DTW is a dynamic programming algorithm that can effectively deal with the time warping problem of the signal and find the best matching path between the two time series; define an appropriate distance metric function, such as Euclidean distance or Manhattan distance, and set a reasonable window width to limit the computational complexity; in the matching process, the DTW algorithm finds the global optimal matching path by recursively calculating the cumulative distance matrix; in order to verify the effect of alignment and matching, cross-validation and independent test sets were used for evaluation; specific evaluation indicators include signal alignment error, matching accuracy and computational efficiency; in addition, combined with the behavioral data of the experimental task, analyze the impact of the matching quality of EEG and EMG signals on task performance;

[0022] The step S33 comprises:

[0023] A deep learning model was used to extract features from EEG and EMG data to improve the analysis of neuromuscular signals. Specifically, a multi-layer convolutional neural network (CNN) was constructed, which consisted of multiple convolutional layers, pooling layers, and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals. First, low-level features were extracted through a series of convolutional layers with filters of different sizes to capture the local spatiotemporal patterns of the signals. Then, downsampling was performed through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information. After the convolutional layer, a long short-term memory network (LSTM) was added. The STM layer is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the temporal features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

[0024] As an implementation manner of the present invention, step S34 includes:

[0025] Using graph theory analysis methods, we construct a correlation graph between EEG and EMG channels and extract graph features to reveal the complex relationship between neuromuscular signals.

[0026] Multiple functional connectivity indices, including Pearson correlation coefficient, mutual information, and phase synchronization index, were used to quantify the coupling relationship between different channels;

[0027] The calculated association matrix is ​​used to construct an undirected weighted graph between EEG and EMG channels, where the nodes represent EEG and EMG channels and the edge weights represent the functional connection strength between the channels. The constructed functional connection graph is further analyzed to extract graph features.

[0028] First, basic graph features are calculated, including node degree, average path length, clustering coefficient, and network density; these features reveal the overall topological structure and local connectivity characteristics of the graph;

[0029] Secondly, apply the community detection algorithm of the graph, such as Louvain algorithm, to identify the modular structure in the functional connection graph and analyze the modular characteristics between EEG and EMG channels; calculate the eigenvector centrality and betweenness centrality of each node to identify the channels that play a key role in the functional connection network;

[0030] In addition, dynamic graph analysis was performed to examine the dynamic changes between EEG and EMG signals during task execution. The sliding time window method was used to construct functional connectivity graphs of different time periods, extract their graph features, and analyze the evolution of graph features over time. In order to verify the effectiveness of graph features, machine learning models were used to classify and regress graph features under different task conditions. Evaluation indicators included classification accuracy, mean square error (MSE), and correlation coefficient (R value).

[0031] The step S35 comprises:

[0032] The EEG and EMG features were combined with the rehabilitation prognosis labels for classification prediction to evaluate the neurorehabilitation effect; the rehabilitation prognosis labels (such as functional recovery level or rehabilitation score) were combined with the extracted feature vectors to construct a classification prediction model; machine learning algorithms such as SVM, random forest (RF) and convolutional neural network (CNN) were used to train and validate the data; in order to prevent overfitting, the cross-validation method was used to optimize the model parameters, and feature selection was performed to reduce the feature dimension; finally, the performance of the classification model was evaluated and verified using indicators such as accuracy, precision, recall and F1 score.

[0033] As an implementation mode of the present invention, in step S2, tasks are divided into upper limb tasks and lower limb tasks according to the functional impairment of the patient.

[0034] As an embodiment of the present invention, in step S3, the preprocessing process of the electroencephalogram and electromyogram data includes: downsampling the original EEG signal to 250Hz, and eliminating signals with obvious motion artifacts through visual inspection; using a bandpass filter in the range of 1-40Hz to filter the data, and then using independent component analysis to remove eye movement related components; the data are referenced by common averaging.

[0035] Dynamic time warping algorithm, feature extraction and representation: extract the time domain and frequency domain features of EEG and EMG signals, including power spectral density, amplitude and frequency; represent EEG and EMG signals as time series data and convert them into an input format suitable for the neural network model.

[0036] The data used for deep learning include the left and right EEG and EMG data of healthy people, the healthy and affected side EEG and EMG data of stroke patients who have not undergone rehabilitation exercises, and the healthy and affected side EEG and EMG data of stroke patients who have obtained good prognosis after clinical rehabilitation exercises;

[0037] Graph theory analysis method, analysis feature extraction: Combine EEG and EMG data to construct a correlation graph, and extract graph features to capture the dynamic characteristics of brain-muscle coupling and provide deeper information for predicting rehabilitation prognosis.

[0038] According to another aspect of the present invention, the following technical solution is adopted: a dynamic neuromuscular rehabilitation training system, the neuromuscular rehabilitation training system comprising:

[0039] The resting state data acquisition module is used to collect the EEG and EMG of stroke patients in the resting state, and collect the EEG and EMG of healthy people;

[0040] Task state data acquisition module, used to collect EEG and EMG of stroke patients in task state, and EEG and EMG of healthy people;

[0041] Model building module to build dynamic neuromuscular network models;

[0042] The model building module includes:

[0043] A data preprocessing unit, used for preprocessing EEG and EMG data;

[0044] A data matching unit, used to align and match EEG and EMG signals using a dynamic time warping algorithm;

[0045] A feature extraction unit, used to extract features from EEG and EMG data using a deep learning model;

[0046] A graph feature extraction unit, used to construct a correlation graph between EEG and EMG channels using a graph theory analysis method and extract graph features;

[0047] The classification prediction unit is used to combine the EEG-EMG features with the rehabilitation prognosis labels for classification prediction.

[0048] As an embodiment of the present invention, during the preprocessing of the electroencephalogram data, the data preprocessing unit first processes the original EEG data through a bandpass filter, and the filtering range is set to 0.5-50Hz, in order to remove low-frequency drift and high-frequency noise; this step adopts adaptive filtering technology to dynamically adjust the filtering parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis (ICA) and principal component analysis (PCA) are applied; ICA is used to separate independent components in the signal, and identify and remove artifacts such as eye movement artifacts, electromyography artifacts and electrocardiogram artifacts; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is adopted, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis;

[0049] During the preprocessing of the electromyography data, the data preprocessing unit firstly filters the original EMG signal through a bandpass filter, and the filtering range is set to 20-450Hz, in order to remove low-frequency motion artifacts and high-frequency environmental noise; a zero-phase filter is used to avoid phase distortion and ensure that the time characteristics of the signal remain unchanged; secondly, in order to detect and remove power frequency interference (50 / 60Hz) and other power supply noise, adaptive filters and harmonic removal techniques are applied; these methods can dynamically adjust the filtering parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis (ICA) are used to identify and remove these artifacts; in addition, the automatic artifact detection algorithm based on machine learning further improves the processing efficiency and accuracy; data standardization is a necessary part of preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and signal amplitude changes under different experimental conditions; these methods can effectively reduce the variability of data and ensure the consistency of subsequent analysis.

[0050] As an embodiment of the present invention, the data matching unit applies a dynamic time warping (DTW) algorithm to align and match EEG and EMG signals; first, collect EEG and EMG signals of participants under specific tasks, use high-precision amplifiers and multi-lead recording equipment to ensure the accuracy and integrity of data collection; pre-process the original signals, including denoising, filtering and normalization, to reduce the influence of artifacts and baseline drift;

[0051] The EEG signal was processed with a 0.5-30Hz bandpass filter, and the EMG signal was processed with a 20-450Hz bandpass filter to retain the key information in their respective spectra; next, the pre-processed EEG and EMG signals were aligned using the DTW algorithm; DTW is a dynamic programming algorithm that can effectively deal with the time warping problem of the signal and find the best matching path between the two time series; define an appropriate distance metric function, such as Euclidean distance or Manhattan distance, and set a reasonable window width to limit the computational complexity; in the matching process, the DTW algorithm finds the global optimal matching path by recursively calculating the cumulative distance matrix; in order to verify the effect of alignment and matching, cross-validation and independent test sets were used for evaluation; specific evaluation indicators include signal alignment error, matching accuracy and computational efficiency; in addition, combined with the behavioral data of the experimental task, analyze the impact of the matching quality of EEG and EMG signals on task performance;

[0052] The feature extraction unit uses a deep learning model to extract features from EEG and EMG data to improve the analysis ability of neuromuscular signals; specifically, a multi-layer convolutional neural network (CNN) is constructed, which consists of multiple convolutional layers, pooling layers and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals; first, low-level features are extracted through a series of convolutional layers, which have filters of different sizes to capture the local spatiotemporal patterns of the signal; then, downsampling is performed through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information; after the convolutional layer, a long short-term memory is added A network (LSTM) layer is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the timing features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; in order to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

[0053] As an embodiment of the present invention, the graph feature extraction unit uses a graph theory analysis method to construct a correlation graph between EEG and EMG channels, and extracts graph features to reveal the complex relationship between neuromuscular signals; uses a variety of functional connectivity indicators, including Pearson correlation coefficient, mutual information and phase synchronization index, to quantify the coupling relationship between different channels; constructs an undirected weighted graph between EEG and EMG channels through the calculated correlation matrix, in which the nodes represent EEG and EMG channels, and the weights of the edges represent the functional connection strength between the channels; in order to extract graph features, the constructed functional connection graph is further analyzed; first, basic graph features are calculated, including node degree, average path length, clustering coefficient and network density, etc.; these features reveal the overall topological structure and local connection characteristics of the graph; secondly, a community detection algorithm of the graph, such as Louvain algorithm, is applied to identify the modular structure in the functional connection graph and analyze the modular characteristics between EEG and EMG channels; the eigenvector centrality and betweenness centrality of each node are calculated ity) to identify the channels that play a key role in the functional connection network; in addition, dynamic graph analysis was performed to examine the dynamic changes between EEG and EMG signals during task execution; the functional connection graphs of different time periods were constructed by the sliding time window method, and their graph features were extracted to analyze the evolution of graph features over time; in order to verify the effectiveness of graph features, machine learning models were used to perform classification and regression analysis on graph features under different task conditions; the evaluation indicators included classification accuracy, mean square error (MSE) and correlation coefficient (R value);

[0054] The classification prediction unit combines EEG and EMG features with rehabilitation prognosis labels to perform classification prediction to evaluate the effect of neurorehabilitation; combines rehabilitation prognosis labels (such as functional recovery level or rehabilitation score) with extracted feature vectors to construct a classification prediction model; uses machine learning algorithms such as SVM, random forest (RF) and convolutional neural network (CNN) to train and verify the data; in order to prevent overfitting, the cross-validation method is used to optimize the model parameters, and feature selection is performed to reduce the feature dimension; finally, the performance of the classification model is evaluated and verified using accuracy, precision, recall and F1 score indicators.

[0055] According to another aspect of the present invention, the following technical solution is adopted: an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0056] According to another aspect of the present invention, the following technical solution is adopted: a storage medium stores computer program instructions, and the computer program instructions implement the steps of the above method when executed by a processor.

[0057] The beneficial effects of the present invention are as follows: the dynamic neuromuscular rehabilitation training method, system, electronic device and storage medium proposed in the present invention facilitate the phased evaluation of the patient's prognosis at the start of rehabilitation training and during the process, so that doctors and patients can adjust the rehabilitation strategy in time. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 Flow chart of a dynamic neuromuscular rehabilitation training method according to an embodiment of the present invention.

[0059] Figure 2 Schematic diagram of the composition of a dynamic neuromuscular rehabilitation training system in one embodiment of the present invention.

[0060] Figure 3 Schematic diagram of a usage scenario of a dynamic neuromuscular rehabilitation training system in one embodiment of the present invention.

[0061] Figure 4 FIG. 4 is a schematic diagram of the composition of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION

[0062] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0063] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.

[0064] The description in this section is only for several typical embodiments, and the present invention is not limited to the scope of the embodiments. The same or similar prior art means and some technical features in the embodiments are mutually replaced within the scope of the present invention.

[0065] The description of the steps in each embodiment in the specification is only for the convenience of explanation, and the implementation method of the present application is not limited by the order of implementation of the steps.

[0066] The term “connection” in the specification includes both direct connection and indirect connection.

[0067] The present invention discloses a dynamic neuromuscular rehabilitation training method. Figure 1 is a flow chart of a dynamic neuromuscular rehabilitation training method according to an embodiment of the present invention. Figure 3 This is a schematic diagram of a use scenario of a dynamic neuromuscular rehabilitation training system according to an embodiment of the present invention; please refer to Figure 1, Figure 3 , the neuromuscular rehabilitation training method comprises:

[0068] [Step S1] collecting electroencephalograms and electromyograms of stroke patients in a resting state, and collecting electroencephalograms and electromyograms of healthy people;

[0069] [Step S2] Collect the electroencephalogram (EEG) and electromyogram (EMG) of stroke patients in the task state, and collect the electroencephalogram (EEG) and electromyogram (EMG) of healthy people.

[0070] In one embodiment of the present invention, the tasks are divided into upper limb tasks and lower limb tasks according to the functional impairment of the patient.

[0071] [Step S3] Constructing a dynamic neuromuscular network model; Step S3 includes:

[0072] Step S31, preprocessing the EEG and EMG data respectively;

[0073] Step S32: aligning and matching the EEG and EMG signals using a dynamic time warping algorithm;

[0074] Step S33: Use a deep learning model to extract features from EEG and EMG data;

[0075] Step S34: Use graph analysis method to construct a correlation graph between EEG and EMG channels, and extract graph features;

[0076] Step S35: combining the EEG-EMG features with the rehabilitation prognosis labels to perform classification prediction.

[0077] In one embodiment of the present invention, the step S31 includes a preprocessing process of the EEG data and a preprocessing process of the EMG data;

[0078] During the preprocessing of EEG data, first, the raw EEG data was processed by a bandpass filter with a filter range of 0.5-50 Hz, aiming to remove low-frequency drift and high-frequency noise; this step used adaptive filtering technology to dynamically adjust the filter parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis (ICA) and principal component analysis (PCA) were applied; ICA is used to separate independent components in the signal, from which artifacts such as eye movement artifacts, electromyographic artifacts, and electrocardiographic artifacts are identified and removed; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is used, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis;

[0079] During the preprocessing of EMG data, first, the raw EMG signal was filtered through a bandpass filter with a filter range of 20-450Hz to remove low-frequency motion artifacts and high-frequency environmental noise; a zero-phase filter was used to avoid phase distortion and ensure that the temporal characteristics of the signal remained unchanged; secondly, in order to detect and remove power frequency interference (50 / 60Hz) and other power supply noise, adaptive filters and harmonic removal techniques were applied; these methods can dynamically adjust the filter parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; common artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis (ICA) are used to identify and remove these artifacts; in addition, the automatic artifact detection algorithm based on machine learning further improves the efficiency and accuracy of processing; data standardization is a necessary part of preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and signal amplitude changes under different experimental conditions; these methods can effectively reduce data variability and ensure the consistency of subsequent analysis.

[0080] The step S32 comprises:

[0081] Dynamic time warping (DTW) algorithm was applied to align and match EEG and EMG signals. First, EEG and EMG signals of participants under specific tasks were collected, and high-precision amplifiers and multi-lead recording equipment were used to ensure the accuracy and integrity of data collection. The raw signals were preprocessed, including denoising, filtering, and normalization, to reduce the influence of artifacts and baseline drift.

[0082] The EEG signal was processed with a 0.5-30Hz bandpass filter, and the EMG signal was processed with a 20-450Hz bandpass filter to retain the key information in their respective spectra; next, the pre-processed EEG and EMG signals were aligned using the DTW algorithm; DTW is a dynamic programming algorithm that can effectively deal with the time warping problem of the signal and find the best matching path between the two time series; define an appropriate distance metric function, such as Euclidean distance or Manhattan distance, and set a reasonable window width to limit the computational complexity; in the matching process, the DTW algorithm finds the global optimal matching path by recursively calculating the cumulative distance matrix; in order to verify the effect of alignment and matching, cross-validation and independent test sets were used for evaluation; specific evaluation indicators include signal alignment error, matching accuracy and computational efficiency; in addition, combined with the behavioral data of the experimental task, analyze the impact of the matching quality of EEG and EMG signals on task performance;

[0083] The step S33 comprises:

[0084] A deep learning model was used to extract features from EEG and EMG data to improve the analysis of neuromuscular signals. Specifically, a multi-layer convolutional neural network (CNN) was constructed, which consisted of multiple convolutional layers, pooling layers, and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals. First, low-level features were extracted through a series of convolutional layers with filters of different sizes to capture the local spatiotemporal patterns of the signals. Then, downsampling was performed through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information. After the convolutional layer, a long short-term memory network (LSTM) was added. The STM layer is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the temporal features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

[0085] The step S34 includes: using a graph theory analysis method to construct a correlation graph between EEG and EMG channels, and extracting graph features to reveal the complex relationship between neuromuscular signals; using a variety of functional connectivity indicators, including Pearson correlation coefficient, mutual information and phase synchronization index, to quantify the coupling relationship between different channels; and constructing an undirected weighted graph between EEG and EMG channels through the calculated correlation matrix, in which the nodes represent the EEG and EMG channels, and the edge weights represent the functional connection strength between the channels.

[0086] In order to extract graph features, the constructed functional connectivity graph was further analyzed. First, basic graph features were calculated, including node degree, average path length, clustering coefficient, and network density. These features reveal the overall topological structure and local connectivity characteristics of the graph. Second, community detection algorithms such as the Louvain algorithm were applied to identify modular structures in the functional connectivity graph and analyze the modular characteristics between EEG and EMG channels. The eigenvector centrality and betweenness centrality of each node were calculated to identify the channels that play a key role in the functional connectivity network. In addition, dynamic graph analysis was performed to examine the dynamic changes between EEG and EMG signals during task execution. Functional connectivity graphs of different time periods were constructed by the sliding time window method, and their graph features were extracted to analyze the evolution of graph features over time. In order to verify the effectiveness of graph features, machine learning models were used to classify and regress graph features under different task conditions. Evaluation indicators included classification accuracy, mean square error (MSE), and correlation coefficient (R value).

[0087] The step S35 includes: combining EEG and EMG features with rehabilitation prognosis labels for classification prediction to evaluate the effect of neurorehabilitation; combining rehabilitation prognosis labels (such as functional recovery level or rehabilitation score) with extracted feature vectors to construct a classification prediction model; using machine learning algorithms such as SVM, random forest (RF) and convolutional neural network (CNN) to train and verify the data; in order to prevent overfitting, cross-validation method is used to optimize model parameters, and feature selection is performed to reduce feature dimensions; finally, the performance of the classification model is evaluated and verified using indicators such as accuracy, precision, recall rate and F1 score.

[0088] In one usage scenario of the present invention, in step S3, the preprocessing process of the electroencephalogram and electromyogram data includes: downsampling the original EEG signal to 250Hz, and eliminating signals with obvious motion artifacts through visual inspection; using a bandpass filter in the range of 1-40Hz to filter the data, and then using independent component analysis to remove eye movement related components; the data is used with common averaging as a reference.

[0089] Dynamic time warping algorithm, feature extraction and representation: extract the time domain and frequency domain features of EEG and EMG signals, including power spectral density, amplitude and frequency; represent EEG and EMG signals as time series data and convert them into an input format suitable for the neural network model.

[0090] The data used for deep learning include the left and right EEG and EMG data of healthy people, the healthy and affected side EEG and EMG data of stroke patients who have not undergone rehabilitation exercises, and the healthy and affected side EEG and EMG data of stroke patients who have achieved good prognosis after clinical rehabilitation exercises.

[0091] Graph theory analysis method, analysis feature extraction: Combine EEG and EMG data to construct a correlation graph, and extract graph features to capture the dynamic characteristics of brain-muscle coupling and provide deeper information for predicting rehabilitation prognosis.

[0092] The present invention further discloses a dynamic neuromuscular rehabilitation training system, Figure 2 FIG. 1 is a schematic diagram of the composition of a dynamic neuromuscular rehabilitation training system according to an embodiment of the present invention; please refer to FIG. Figure 2 The neuromuscular rehabilitation training system includes: a resting state data acquisition module 1, a task state data acquisition module 2 and a model building module 3.

[0093] The resting state data acquisition module 1 is used to collect the electroencephalogram (EEG) and electromyogram (EMG) of stroke patients in the resting state, and collect the electroencephalogram (EEG) and electromyogram (EMG) of healthy people; the task state data acquisition module 2 is used to collect the electroencephalogram (EEG) and electromyogram (EMG) of stroke patients in the task state, and collect the electroencephalogram (EEG) and electromyogram (EMG) of healthy people.

[0094] The model building module 3 is used to build a dynamic neuromuscular network model. The model building module 3 includes: a data preprocessing unit 31, a data matching unit 32, a feature extraction unit 33, a graph feature extraction unit 34 and a classification prediction unit 35. The data preprocessing unit 31 is used to preprocess the EEG and EMG data; the data matching unit 32 is used to align and match the EEG and EMG signals using a dynamic time warping algorithm; the feature extraction unit 33 is used to extract features from the EEG and EMG data using a deep learning model; the graph feature extraction unit 34 is used to construct a correlation graph between the EEG and EMG channels using a graph theory analysis method, and extract graph features; the classification prediction unit 35 is used to combine the EEG-EMG features with the rehabilitation prognosis label for classification prediction.

[0095] In one embodiment of the present invention, during the preprocessing of the EEG data, the data preprocessing unit 31 first processes the original EEG data through a bandpass filter, and the filtering range is set to 0.5-50Hz, in order to remove low-frequency drift and high-frequency noise; this step adopts adaptive filtering technology to dynamically adjust the filtering parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis (ICA) and principal component analysis (PCA) are applied; ICA is used to separate independent components in the signal, and identify and remove artifacts such as eye movement artifacts, electromyography artifacts and electrocardiogram artifacts; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is adopted, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis;

[0096] During the preprocessing of the electromyography data, the data preprocessing unit 31 first filters the original EMG signal through a bandpass filter with a filtering range set to 20-450Hz, in order to remove low-frequency motion artifacts and high-frequency environmental noise; a zero-phase filter is used to avoid phase distortion and ensure that the temporal characteristics of the signal remain unchanged; secondly, in order to detect and remove power frequency interference (50 / 60Hz) and other power supply noise, adaptive filters and harmonic removal techniques are applied; these methods can dynamically adjust the filtering parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; common artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis (ICA) are used to identify and remove these artifacts; in addition, the automatic artifact detection algorithm based on machine learning further improves the processing efficiency and accuracy; data standardization is a necessary part of preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and signal amplitude changes under different experimental conditions; these methods can effectively reduce data variability and ensure the consistency of subsequent analysis.

[0097] The data matching unit 32 uses a dynamic time warping (DTW) algorithm to align and match the EEG and EMG signals; first, the EEG and EMG signals of the participants under a specific task are collected, and a high-precision amplifier and a multi-lead recording device are used to ensure the accuracy and integrity of the data collection; the original signals are pre-processed, including denoising, filtering and normalization, to reduce the influence of artifacts and baseline drift;

[0098] The EEG signal was processed with a 0.5-30Hz bandpass filter, and the EMG signal was processed with a 20-450Hz bandpass filter to retain the key information in their respective spectra; next, the pre-processed EEG and EMG signals were aligned using the DTW algorithm; DTW is a dynamic programming algorithm that can effectively deal with the time warping problem of the signal and find the best matching path between the two time series; define an appropriate distance metric function, such as Euclidean distance or Manhattan distance, and set a reasonable window width to limit the computational complexity; in the matching process, the DTW algorithm finds the global optimal matching path by recursively calculating the cumulative distance matrix; in order to verify the effect of alignment and matching, cross-validation and independent test sets were used for evaluation; specific evaluation indicators include signal alignment error, matching accuracy and computational efficiency; in addition, combined with the behavioral data of the experimental task, analyze the impact of the matching quality of EEG and EMG signals on task performance;

[0099] The feature extraction unit 33 uses a deep learning model to extract features from EEG and EMG data to improve the analysis capability of neuromuscular signals; specifically, a multi-layer convolutional neural network (CNN) is constructed, which consists of multiple convolutional layers, pooling layers, and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals; first, low-level features are extracted through a series of convolutional layers, which have filters of different sizes to capture the local spatiotemporal patterns of the signal; then, downsampling is performed through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information; after the convolutional layer, long and short time records are added. A long-distance memory network (LSTM) layer is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the timing features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; in order to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

[0100] The graph feature extraction unit 34 uses a graph theory analysis method to construct a correlation graph between EEG and EMG channels, and extracts graph features to reveal the complex relationship between neuromuscular signals; uses a variety of functional connectivity indicators, including Pearson correlation coefficient, mutual information and phase synchronization index, to quantify the coupling relationship between different channels; and constructs an undirected weighted graph between EEG and EMG channels through the calculated correlation matrix, in which the nodes represent EEG and EMG channels, and the edge weights represent the functional connection strength between the channels.

[0101] In order to extract graph features, the constructed functional connectivity graph was further analyzed. First, basic graph features were calculated, including node degree, average path length, clustering coefficient, and network density. These features reveal the overall topological structure and local connection characteristics of the graph. Second, community detection algorithms such as the Louvain algorithm were applied to identify modular structures in the functional connectivity graph and analyze the modular characteristics between EEG and EMG channels. The eigenvector centrality and betweenness centrality of each node were calculated to identify channels that play a key role in the functional connectivity network. In addition, dynamic graph analysis was performed to examine the dynamic changes between EEG and EMG signals during task execution. Functional connectivity graphs of different time periods were constructed by the sliding time window method, and their graph features were extracted to analyze the evolution of graph features over time. In order to verify the effectiveness of graph features, machine learning models were used to classify and regress graph features under different task conditions. Evaluation indicators included classification accuracy, mean square error (MSE), and correlation coefficient (R value).

[0102] The classification prediction unit 35 combines EEG and EMG features with rehabilitation prognosis labels to perform classification prediction to evaluate the effect of neurorehabilitation; combines rehabilitation prognosis labels (such as functional recovery level or rehabilitation score) with extracted feature vectors to construct a classification prediction model; uses machine learning algorithms such as SVM, random forest (RF) and convolutional neural network (CNN) to train and verify the data; in order to prevent overfitting, a cross-validation method is used to optimize model parameters, and feature selection is performed to reduce feature dimensions; finally, the performance of the classification model is evaluated and verified using indicators such as accuracy, precision, recall rate and F1 score.

[0103] The present invention also discloses an electronic device, Figure 4 FIG. 1 is a schematic diagram of the composition of an electronic device in an embodiment of the present invention; please refer to FIG. Figure 4 At the hardware level, the electronic device includes a memory, a processor and at least one network interface; the processor may be a microprocessor, and the memory may include a memory, such as a random access memory (RAM), or a non-volatile memory (non-volatile memory), etc. Of course, the electronic device may also be provided with other hardware as required.

[0104] The processor, network interface and memory may be interconnected via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus may include an address bus, a data bus, a control bus, etc. The memory is used to store programs (which may include operating system programs and application programs); the program may include program code, which may include computer operation instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0105] In one embodiment, the processor can read the corresponding program from the non-volatile memory into the memory and then run it; the processor can execute the program stored in the memory and is specifically used to perform the following operations (such as Figure 1 shown):

[0106] [Step S1] collecting electroencephalograms and electromyograms of stroke patients in a resting state, and collecting electroencephalograms and electromyograms of healthy people;

[0107] [Step S2] Collect the electroencephalogram (EEG) and electromyogram (EMG) of stroke patients in the task state, and collect the electroencephalogram (EEG) and electromyogram (EMG) of healthy people.

[0108] In one embodiment of the present invention, the tasks are divided into upper limb tasks and lower limb tasks according to the functional impairment of the patient.

[0109] [Step S3] Constructing a dynamic neuromuscular network model; Step S3 includes:

[0110] Step S31, preprocessing the EEG and EMG data respectively;

[0111] Step S32: aligning and matching the EEG and EMG signals using a dynamic time warping algorithm;

[0112] Step S33: Use a deep learning model to extract features from EEG and EMG data;

[0113] Step S34: Use graph analysis method to construct a correlation graph between EEG and EMG channels, and extract graph features;

[0114] Step S35: combining the EEG-EMG features with the rehabilitation prognosis labels to perform classification prediction.

[0115] The present invention further discloses a storage medium having computer program instructions stored thereon, which, when executed by a processor, implements the following steps of the method of the present invention (eg Figure 1 shown):

[0116] [Step S1] collecting electroencephalograms and electromyograms of stroke patients in a resting state, and collecting electroencephalograms and electromyograms of healthy people;

[0117] [Step S2] Collect the electroencephalogram (EEG) and electromyogram (EMG) of stroke patients in the task state, and collect the electroencephalogram (EEG) and electromyogram (EMG) of healthy people.

[0118] In one embodiment of the present invention, the tasks are divided into upper limb tasks and lower limb tasks according to the functional impairment of the patient.

[0119] [Step S3] Constructing a dynamic neuromuscular network model; Step S3 includes:

[0120] Step S31, preprocessing the EEG and EMG data respectively;

[0121] Step S32: aligning and matching the EEG and EMG signals using a dynamic time warping algorithm;

[0122] Step S33: Use a deep learning model to extract features from EEG and EMG data;

[0123] Step S34: Use graph analysis method to construct a correlation graph between EEG and EMG channels, and extract graph features;

[0124] Step S35: combining the EEG-EMG features with the rehabilitation prognosis labels to perform classification prediction.

[0125] In summary, the dynamic neuromuscular rehabilitation training method, system, electronic device and storage medium proposed in the present invention facilitate the phased evaluation of patient prognosis at the start and during rehabilitation training, so that doctors and patients can adjust rehabilitation strategies in a timely manner.

[0126] It should be noted that the present application can be implemented in software and / or a combination of software and hardware; for example, it can be implemented using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In some embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium; for example, a RAM memory, a magnetic or optical drive or a floppy disk and the like. In addition, some steps or functions of the present application can be implemented in hardware; for example, as a circuit that cooperates with a processor to perform various steps or functions.

[0127] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0128] The description and application of the present invention here are illustrative, and it is not intended to limit the scope of the present invention to the above-mentioned embodiments. The effects or advantages involved in the embodiments may not be embodied in the embodiments due to interference from various factors, and the description of the effects or advantages is not used to limit the embodiments. The deformation and change of the embodiments disclosed here are possible, and the replacement of the embodiments and the various equivalent parts are well known to those of ordinary skill in the art. It should be clear to those skilled in the art that the present invention can be implemented in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential features of the present invention. Other deformations and changes can be made to the embodiments disclosed here without departing from the scope and spirit of the present invention.

Claims

1. A dynamic neuromuscular rehabilitation training method, characterized in that: The neuromuscular rehabilitation training method comprises: Step S1, collecting electroencephalograms and electromyograms of stroke patients in a resting state, and collecting electroencephalograms and electromyograms of healthy people; Step S2, collecting EEG and EMG of stroke patients in the task state, and collecting EEG and EMG of healthy people; Step S3, constructing a dynamic nerve-muscle network model; Step S3 includes: Step S31, preprocessing the EEG and EMG data respectively; Step S32: aligning and matching the EEG and EMG signals using a dynamic time warping algorithm; Step S33: Use a deep learning model to extract features from EEG and EMG data; Step S34, using a graph analysis method to construct a correlation graph between EEG and EMG channels, and extract graph features; Step S35: combining the EEG-EMG features with the rehabilitation prognosis labels to perform classification prediction.

2. The dynamic neuromuscular rehabilitation training method according to claim 1, characterized in that: The step S31 includes a preprocessing process of the EEG data and a preprocessing process of the EMG data; During the preprocessing of EEG data, first, the raw EEG data was processed by a bandpass filter with a filter range of 0.5-50Hz, aiming to remove low-frequency drift and high-frequency noise; this step used adaptive filtering technology to dynamically adjust the filter parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis ICA and principal component analysis PCA were applied; ICA is used to separate independent components in the signal, from which artifacts are identified and removed; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is used, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis; During the preprocessing of EMG data, first, the original EMG signal is filtered through a bandpass filter with a filtering range of 20-450Hz to remove low-frequency motion artifacts and high-frequency environmental noise; a zero-phase filter is used to avoid phase distortion and ensure that the temporal characteristics of the signal remain unchanged; secondly, in order to detect and remove power frequency interference and power supply noise, adaptive filters and harmonic removal techniques are applied; these methods can dynamically adjust the filtering parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis ICA are used to identify and remove these artifacts; data standardization is a necessary part of preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and changes in signal amplitude under different experimental conditions; these methods can effectively reduce data variability and ensure consistency in subsequent analysis.

3. The dynamic neuromuscular rehabilitation training method according to claim 1, characterized in that: The step S32 includes: applying the dynamic time warping (DTW) algorithm to align and match the EEG and EMG signals; first, collecting the EEG and EMG signals of the participants under a specific task, using a high-precision amplifier and a multi-lead recording device to ensure the accuracy and integrity of data collection; preprocessing the original signals, including denoising, filtering and normalization, to reduce the influence of artifacts and baseline drift; using a 0.5-30 Hz bandpass filter to process the EEG signal, and using a 20-450 Hz bandpass filter to process the EMG signal to retain the key information in each spectrum; next, using the DTW algorithm to align and match the preprocessed EEG and EMG signals. G signals are aligned; DTW is a dynamic programming algorithm that can effectively deal with the time distortion problem of signals and find the best matching path between two time series; define an appropriate distance metric function and set a reasonable window width to limit the computational complexity; in the matching process, the DTW algorithm recursively calculates the cumulative distance matrix to find the global optimal matching path; in order to verify the effects of alignment and matching, cross-validation and independent test sets are used for evaluation; specific evaluation indicators include signal alignment error, matching accuracy and computational efficiency; in addition, combined with the behavioral data of the experimental task, the impact of the matching quality of EEG and EMG signals on task performance is analyzed; The step S33 includes: using a deep learning model to extract features from EEG and EMG data to improve the analysis ability of neuromuscular signals; specifically, constructing a multi-layer convolutional neural network CNN, which consists of multiple convolutional layers, pooling layers and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals; first, extracting low-level features through a series of convolutional layers, which have filters of different sizes to capture the local spatiotemporal patterns of the signal; then, downsampling through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information; after the convolutional layer, adding long short-term memory The LSTM layer of the deep learning network is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the timing features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; in order to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

4. The dynamic neuromuscular rehabilitation training method according to claim 1, characterized in that: The step S34 includes: using a graph theory analysis method to construct a correlation graph between EEG and EMG channels, and extracting graph features to reveal the complex relationship between neuromuscular signals; using a variety of functional connectivity indicators, including Pearson correlation coefficient, mutual information and phase synchronization index, to quantify the coupling relationship between different channels; constructing an undirected weighted graph between EEG and EMG channels through the calculated correlation matrix, in which the nodes represent EEG and EMG channels, and the weights of the edges represent the functional connection strength between the channels; in order to extract graph features, the constructed functional connection graph is further analyzed; first, basic graph features are calculated, including node degree, average path length, clustering coefficient and network density, etc.; these features reveal the overall topological structure of the graph and local connection characteristics; secondly, the community detection algorithm of the graph is applied to identify the modular structure in the functional connection graph and analyze the modular characteristics between EEG and EMG channels; the eigenvector centrality and betweenness centrality of each node are calculated to identify the channels that play a key role in the functional connection network; in addition, dynamic graph analysis is performed to examine the dynamic changes between EEG and EMG signals during task execution; through the sliding time window method, functional connection graphs of different time periods are constructed, and their graph features are extracted to analyze the evolution of graph features over time; in order to verify the effectiveness of graph features, machine learning models are used to classify and regress graph features under different task conditions; evaluation indicators include classification accuracy, mean square error MSE and correlation coefficient R value; The step S35 includes: combining EEG and EMG features with rehabilitation prognosis labels for classification prediction to evaluate the neurorehabilitation effect; combining the rehabilitation prognosis labels with the extracted feature vectors to construct a classification prediction model; using a machine learning algorithm to train and verify the data; in order to prevent overfitting, using a cross-validation method to optimize model parameters, and performing feature selection to reduce feature dimensions; finally, evaluating the performance of the classification model, and verifying it using indicators such as accuracy, precision, recall, and F1 score.

5. A dynamic neuromuscular rehabilitation training system, characterized in that: The neuromuscular rehabilitation training system comprises: The resting state data acquisition module is used to collect the EEG and EMG of stroke patients in the resting state, and collect the EEG and EMG of healthy people; Task state data acquisition module, used to collect EEG and EMG of stroke patients in task state, and EEG and EMG of healthy people; Model building module to build dynamic neuromuscular network models; The model building module includes: A data preprocessing unit, used for preprocessing EEG and EMG data; A data matching unit, used to align and match EEG and EMG signals using a dynamic time warping algorithm; A feature extraction unit, used to extract features from EEG and EMG data using a deep learning model; A graph feature extraction unit, used to construct a correlation graph between EEG and EMG channels using a graph theory analysis method and extract graph features; The classification prediction unit is used to combine the EEG-EMG features with the rehabilitation prognosis labels for classification prediction.

6. The dynamic neuromuscular rehabilitation training system according to claim 5, characterized in that: During the preprocessing of the EEG data, the data preprocessing unit firstly processes the raw EEG data through a bandpass filter, and the filtering range is set to 0.5-50Hz, in order to remove low-frequency drift and high-frequency noise; this step adopts adaptive filtering technology to dynamically adjust the filtering parameters according to the signal characteristics; secondly, in order to detect and remove artifacts, independent component analysis ICA and principal component analysis PCA are applied; ICA is used to separate independent components in the signal, from which artifacts are identified and removed; the automatic artifact detection algorithm based on deep learning further improves the efficiency and accuracy of artifact removal; subsequently, data standardization and re-reference processing are one of the key steps; the average reference method is adopted, and baseline correction is implemented to eliminate baseline drift under different experimental conditions; these methods can effectively reduce the variability of the data and ensure the consistency of subsequent analysis; During the preprocessing of the electromyography data, the data preprocessing unit first filters the original EMG signal through a bandpass filter with a filtering range set to 20-450 Hz, in order to remove low-frequency motion artifacts and high-frequency environmental noise; uses a zero-phase filter to avoid phase distortion and ensure that the temporal characteristics of the signal remain unchanged; secondly, in order to detect and remove power frequency interference and power supply noise, an adaptive filter and harmonic removal technology are applied; these methods can dynamically adjust the filtering parameters, effectively remove periodic interference, and improve the signal-to-noise ratio of the signal; artifact detection and removal are key steps in preprocessing; artifacts include motion artifacts and transient artifacts caused by electrode detachment; multi-channel signal comparison method and independent component analysis ICA are used to identify and remove these artifacts; data standardization is a necessary step in preprocessing; mean removal and amplitude normalization are implemented to eliminate individual differences and signal amplitude changes under different experimental conditions; these methods can effectively reduce data variability and ensure the consistency of subsequent analysis.

7. The dynamic neuromuscular rehabilitation training system according to claim 5, characterized in that: The data matching unit applies the dynamic time warping (DTW) algorithm to align and match the EEG and EMG signals; first, collect the EEG and EMG signals of the participants under specific tasks, use high-precision amplifiers and multi-lead recording equipment to ensure the accuracy and integrity of data collection; pre-process the original signals, including denoising, filtering and normalization, to reduce the influence of artifacts and baseline drift; The EEG signal was processed with a 0.5-30 Hz bandpass filter, and the EMG signal was processed with a 20-450 Hz bandpass filter to retain the key information in their respective spectra. Next, the preprocessed EEG and EMG signals were aligned using the DTW algorithm. DTW is a dynamic programming algorithm that can effectively handle the time distortion problem of signals and find the best matching path between two time series. It defines an appropriate distance metric function and sets a reasonable window width to limit the computational complexity. During the matching process, the DTW algorithm recursively calculates the cumulative distance matrix to find the global optimal matching path. In order to verify the alignment and matching effects, cross-validation and independent test sets are used for evaluation. Specific evaluation indicators include signal alignment error, matching accuracy, and computational efficiency. In addition, the behavioral data of the experimental task are combined to analyze the impact of the matching quality of EEG and EMG signals on task performance. The feature extraction unit uses a deep learning model to extract features from EEG and EMG data to improve the analysis ability of neuromuscular signals; specifically, a multi-layer convolutional neural network (CNN) is constructed, which consists of multiple convolutional layers, pooling layers, and fully connected layers to automatically extract and learn the time-frequency features in EEG and EMG signals; first, low-level features are extracted through a series of convolutional layers, which have filters of different sizes to capture the local spatiotemporal patterns of the signal; then, downsampling is performed through a maximum pooling layer to reduce the dimension and computational complexity of the feature map while retaining key information; after the convolutional layer, a long short-term memory (LSTM) is added The network LSTM layer is used to capture the temporal dependency and dynamic changes of the signal; the LSTM layer can process the long-term dependency in the sequence data and extract the timing features in the signal; finally, the extracted features are fused through the fully connected layer and a high-dimensional feature vector is output; in order to prevent overfitting, the dropout regularization technique is used in the training process, and the cross-validation method is used to optimize the model parameters; in order to evaluate the feature extraction effect of the deep learning model, the extracted feature vector is input into the SVM classifier to classify the EEG and EMG signals under different task conditions; the evaluation indicators include classification accuracy, precision, recall rate and F1 score.

8. The dynamic neuromuscular rehabilitation training system according to claim 5, characterized in that: The graph feature extraction unit uses a graph theory analysis method to construct a correlation graph between EEG and EMG channels and extract graph features to reveal the complex relationship between neuromuscular signals; A variety of functional connectivity indicators, including Pearson correlation coefficient, mutual information and phase synchronization index, were used to quantify the coupling relationship between different channels. An undirected weighted graph between EEG and EMG channels was constructed through the calculated correlation matrix, in which the nodes represented EEG and EMG channels and the edge weights represented the functional connection strength between the channels. In order to extract graph features, the constructed functional connectivity graph was further analyzed. First, basic graph features were calculated, including node degree, average path length, clustering coefficient and network density. These features reveal the overall topological structure and local connection characteristics of the graph. Second, the community detection algorithm of the graph was applied to identify the functional connectivity graph. Modular structure, analyze the modular characteristics between EEG and EMG channels; calculate the eigenvector centrality and betweenness centrality of each node to identify the channels that play a key role in the functional connection network; in addition, perform dynamic graph analysis to examine the dynamic changes between EEG and EMG signals during task execution; construct functional connection graphs of different time periods through the sliding time window method, extract their graph features, and analyze the evolution of graph features over time; in order to verify the effectiveness of graph features, use machine learning models to classify and regress graph features under different task conditions; evaluation indicators include classification accuracy, mean square error MSE, and correlation coefficient R value; The classification prediction unit combines EEG and EMG features with rehabilitation prognosis labels to perform classification prediction to evaluate the neurorehabilitation effect; combines the rehabilitation prognosis labels with the extracted feature vectors to construct a classification prediction model; uses a machine learning algorithm to train and verify the data; in order to prevent overfitting, a cross-validation method is used to optimize model parameters, and feature selection is performed to reduce feature dimensions; finally, the performance of the classification model is evaluated and verified using accuracy, precision, recall and F1 score indicators.

9. An electronic 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 4 are implemented.

10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Cited By

  • Method for monitoring muscle spasm and related health indexes

    CN118965121A

  • Lower limb training effect evaluation system based on sensor

    CN119272058A

  • Anesthesia depth monitoring method and system

    CN119344680A

  • Multivariable brain and myoelectricity coupling analysis method and system based on structure sparse regularization

    CN119833135A

  • Multivariate electroencephalogram and electromyogram coupling analysis method and system based on structural sparse regularization

    CN119833135B