A brain-muscle coordination silent communication method, system and device

By combining the self-information paths and joint candidate paths of EEG and cervical surface electromyography, and utilizing the brain-muscle time mapping constrained by event anchors and cross-modal alignment reliability, the problem of insufficient concentration of device time synchronization and single-modal discrimination in silent communication is solved, and the accuracy and consistency of cross-modal fusion are achieved.

CN123177682APending Publication Date: 2026-11-27NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611696171.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing silent communication solutions, insufficient device time synchronization and single-modal discrimination concentration lead to inconsistencies in joint candidate path calculation, making it difficult to maintain consistency between fusion and output decisions, and complementary information may be lost during cross-modal fusion.

Method used

By forming self-information paths and joint candidate paths for EEG and cervical surface electromyography respectively, and combining event anchor-constrained brain-muscle time mapping and cross-modal alignment reliability, the output eligibility and continuous contribution of self-information paths and joint candidate paths are controlled to ensure that self-information paths that meet the conditions are retained when time synchronization or mapping fails.

Benefits of technology

It achieves consistency in output decisions during cross-modal fusion, avoids erroneous closure of joint candidate paths due to insufficient concentration of single-modal discrimination, and ensures the integrity and accuracy of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123177682A_ABST
    Figure CN123177682A_ABST
Patent Text Reader

Abstract

The application provides a brain-muscle coordination silent communication method, system and device. The method comprises: acquiring electroencephalogram and neck surface electromyogram signals, extracting time sequence features and detecting expression event anchor points; pairing anchor points according to event categories, evaluating and screening the consistency of the sequence of the two time axes, selecting anchor point subsequences satisfying monotone constraints, establishing segmented linear time mapping and forming event alignment features. The cross-modal alignment confidence is determined according to the event detection confidence, the sequence consistency, the stability of the local time delay variation and the anchor point retention rate; the fusion representation is formed by combining the original time axis self-information path and the event alignment joint candidate path, the pre-defined intention is identified, and the output state is determined. The method can dynamically align brain-muscle signals according to expression events, suppress low-confidence joint interaction contributions, and retain available self-information paths when the mapping fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of bioelectric signal processing and human-computer interaction technology, specifically to a method, system, and device for brain-muscle coordinated silent communication. Background Technology

[0002] Silent communication technology utilizes physiological signals generated when a user performs silent articulation or attempts at articulation to identify communication intentions. Electroencephalogram (EEG) signals and electromyography (EMG) signals on the neck surface can provide task-related activity information, which can be used to construct a predefined intention recognition system.

[0003] Existing silent communication solutions include those utilizing surface electromyography (EMG) for speech decoding, and those combining EEG and EMG for feature extraction and classification. Temporal alignment, event anchor mapping, temporal convolutional networks, cross-modal attention, and quality gating can be used for multimodal physiological signal processing. Different signals have different observation characteristics, and the user's task performance capabilities and acquisition conditions also affect the usability of the input information.

[0004] In brain-muscle fusion processing, device time synchronization and the correspondence of the expression stage are different issues. Acquisition quality, single-modal discrimination concentration, and cross-modal event correspondence reliability also reflect different states; if the single-modal discrimination concentration is used to uniformly disable joint candidate path calculation, complementary information may be lost; if the joint candidate path output qualification is directly used as the joint candidate path calculation switch, or if non-corresponding probability calibration parameters are reused when the actual fusion input changes, it is difficult to maintain the consistency between fusion and output judgment.

[0005] Therefore, it is necessary to combine the brain-muscle time mapping constrained by event anchors, cross-modal alignment credibility, and decoupling control of self-information paths and joint candidate paths to determine the qualification for joint candidate path computation activation, continuous contribution, and independent output, and to retain self-information paths that meet the conditions when time synchronization or mapping fails. Summary of the Invention

[0006] Objective: This invention addresses the problems that device time synchronization cannot replace the expression of event correspondence, and that joint candidate paths may be improperly closed when the concentration of single-modal discrimination is insufficient. It provides a method, system, and device for brain-muscle coordinated silent communication. EEG temporal features and cervical surface electromyography temporal features each form self-information representations on their original time axes. Candidate anchor point pairs are monotonically filtered through dual time axes to form anchor point subsequences. Then, a brain-muscle time mapping constrained by event anchor points is established to form event alignment features. Self-information paths and joint candidate paths are controlled and combined to obtain a brain-muscle fusion representation. Classification, probability calibration, and output determination are performed based on the output eligibility conditions of self-information paths, joint candidate paths, and the current operating state. The relative weights and overall magnitude of self-information fusion are determined by the reliability of the self-information of the participating modalities.

[0007] This invention first provides a method for brain-muscle coordinated silent communication, comprising the following steps:

[0008] Step S1: Obtain EEG signals, cervical surface electromyography (EMG) signals, and timestamps during the user's execution of a predefined silent articulation or attempt to articulate task. Mark the acquisition availability status according to the EEG acquisition channel, cervical surface EMG acquisition channel, and time interval. Obtain the EEG temporal features and cervical surface EMG temporal features respectively, and obtain the EEG event time anchor point and cervical surface EMG event time anchor point.

[0009] Step S2: Form candidate anchor point pairs by combining EEG event time anchor points with neck surface electromyography event time anchor points according to the same event category. Before screening, evaluate the dual time axis sequence consistency of the candidate anchor point pairs, select at least two pairs of event anchor point pairs that satisfy the dual time axis monotonicity constraint, establish the EEG time mapping of event anchor point constraint, form event alignment features, and determine cross-modal alignment credibility.

[0010] Step S3: Set self-information paths and joint candidate paths to form self-information fusion features and controlled joint interaction features, and combine them to obtain brain-muscle fusion representation.

[0011] Step S4: Determine the eligibility criteria for self-information path output based on the self-information participation state and the self-information fusion amplitude; determine the eligibility criteria for joint candidate path output based on the availability of EEG and cervical surface EMG signals, the effective state of the brain-muscle time mapping constrained by event anchors, and the cross-modal alignment reliability; determine the current operating state based on the self-information participation state and the actual calculation activation state of the joint candidate path; when at least one of the self-information path output eligibility criteria and the joint candidate path output eligibility criteria is met, perform a predefined intent classification on the brain-muscle fusion representation, and make an output judgment based on the probability calibration parameters and output thresholds pre-determined for the current operating state, outputting text, symbols, voice, or control command identifiers, or entering a pending confirmation, silent, or rejected state; when the joint candidate path output eligibility criteria are met, rejection is not uniformly applied even if the self-information path output eligibility criteria are not met.

[0012] Step S1 includes: the neck surface electromyography acquisition channel is set at a position that can record the surface electromyography activity of the subchinal or anterior neck region during the user's performance of a task;

[0013] Feature extraction and temporal coding of EEG signals and cervical surface electromyography (EMG) signals are performed according to preset time windows to obtain EEG temporal features and cervical surface EMG temporal features. Predefined expressed events are then detected based on the detection features extracted from EEG signals and cervical surface EMG signals to obtain EEG event time anchors and cervical surface EMG event time anchors.

[0014] The availability of the data collection is not determined by the single-modal discrimination concentration determined by the single-modal auxiliary classification probability distribution of the corresponding modality.

[0015] Expression initiation and expression termination events are set as basic event categories, and maintenance termination events that can be independently defined and verified are used as optional intermediate events. Based on the frequency band power detection features extracted from EEG signals and the root mean square envelope detection features extracted from cervical surface electromyography (EMG) signals, activity scores are calculated and continuous threshold detection is performed on the frequency band power detection features and the root mean square envelope detection features, respectively. Alternatively, the normalized frame features and effective channel bits of EEG signals are input into an EEG event detector trained separately for EEG modalities, and the normalized frame features and effective channel bits of cervical surface EMG signals are input into a cervical surface EMG event detector trained separately for cervical surface EMG modalities to determine the EEG event time anchor points and cervical surface EMG event time anchor points.

[0016] The maintenance end event is the time point after the expression starts and before the expression ends, when the activity score begins to continuously decrease, and the activity score is still higher than the termination threshold when the activity score decreases. The expression termination event is the time point after the expression starts, when the activity score decreases to below the termination threshold and continues to decrease for a preset duration.

[0017] The termination threshold is predetermined based on independently calibrated resting data. For a continuous activity decline process that occurs after expression initiation within the same task segment, the maintenance end event time anchor and the expression termination event time anchor are recorded separately only when the maintenance end event and the expression termination event have independently identifiable event boundaries. When the boundaries between the maintenance end event and the expression termination event cannot be independently distinguished, the continuous activity decline process is not repeatedly recorded as the maintenance end event and the expression termination event, nor are the missing event time anchors filled in by manual midpoints or task prompts.

[0018] When using continuous threshold detection, the non-negative margin of the expression start event is determined based on the degree to which the activity score exceeds the start threshold, and the non-negative margin of the expression termination event is determined based on the degree to which the termination threshold exceeds the activity score. Only when the threshold-crossing state continuously reaches the preset duration and the detection frames within the threshold-crossing state duration meet the valid frame conditions, is the expression start event time anchor point or expression termination event time anchor point that meets the continuous threshold-crossing condition confirmed; otherwise, the expression event time anchor point that does not meet the continuous threshold-crossing condition remains missing.

[0019] For example, in a reference configuration with a feature step size of 20ms and a preset duration of 0.1s, six consecutive detection frames with timestamps of 0, 20, 40, 60, 80, and 100ms are considered. If all six frames are valid and their activity scores are all higher than the start threshold, the sustained threshold crossing condition for an expression start event is met. After the expression start event has been confirmed, if all six frames are valid and their activity scores are all lower than the termination threshold, the sustained threshold crossing condition for an expression termination event is met. If any detection frame does not meet the corresponding threshold crossing condition or valid frame condition, no corresponding event is generated for that duration interval. The above feature step size and duration are reference configurations; specific values ​​are determined based on the acquisition device, target task, and independent calibration data.

[0020] In step S2, anchor subsequences are selected from candidate anchor pairs that are strictly increasing on both the EEG time axis and the cervical surface electromyography time axis, satisfy the monotonic constraints of the two time axes, and include at least two pairs of valid anchor pairs including expression initiation and expression termination. Each pair of anchors in the anchor subsequence is called the selected anchor pair. An EEG time mapping with event anchor constraints is established based on the selected anchor pairs, and event alignment features are formed based on the EEG time mapping. Cross-modal alignment confidence is determined based on event detection confidence, consistency of the order of the two time axes (i.e., EEG time axis and cervical surface electromyography time axis) of the candidate anchor pairs before screening, stability of local time delay changes between adjacent selected anchor pairs, and candidate anchor pair retention rate.

[0021] The mapping construction process involves constructing a piecewise linear time mapping for the event anchor point constraint. Within the interval defined by adjacent selected anchor point pairs, an affine mapping is used. Specifically, this includes: mapping the EEG event time anchor points and cervical surface electromyography event time anchor points obtained in step S1 according to the same event category to form candidate anchor point pairs; retaining the candidate anchor point pairs and their sequential consistency evaluation results before screening; the dual-time-axis monotonic constraint refers to selecting anchor point sub-sequences from the candidate anchor point pairs that are strictly increasing on both the EEG time axis and the cervical surface electromyography time axis; the selected anchor point sub-sequences also need to satisfy the minimum time interval constraint and the constraint that the local mapping slope of adjacent intervals is within a preset positive range, and include candidate anchor point pairs expressing initiation events and candidate anchor point pairs expressing termination events.

[0022] Let the number of anchor pairs contained in the anchor subsequence be . ,in , No. The time of the EEG event time anchor in each selected anchor pair is... , No. The time of the neck surface electromyography event time anchor in each selected anchor point pair is: , No. The brain muscle delay of each selected anchor point pair is For the query time t on the EEG timeline, when At that time, in the k-th pair and the th Establish a piecewise linear time mapping from the EEG time axis to the cervical surface electromyography time axis within the defined interval for adjacent selected anchor point pairs:

[0023] ,

[0024] in For query time on the EEG timeline The corresponding surface electromyography time of the neck, The interval number of adjacent anchor points. ;

[0025] Perform feature pairing and interpolation: Based on the piecewise linear time mapping, pair the EEG temporal features obtained in step S1 with the neck surface electromyography temporal features in time: During the query time... Obtain the corresponding EEG timing characteristics and perform electromyography (EMG) on the neck surface. Interpolation is performed on the temporal features of surface electromyography in the neck to form event-aligned features; only during the query time. A valid pair is formed when the corresponding EEG temporal feature frame is valid within the coverage area of ​​the anchor subsequence, the cervical surface electromyography temporal feature frame used for cervical surface electromyography temporal feature interpolation is valid, the interpolation endpoint is located within the current anchor interval, and the time gap does not exceed the preset maximum interpolation gap; no extrapolation is made beyond the time range covered by the first and last selected anchor pairs in the anchor subsequence.

[0026] After completing the mapping construction, feature pairing, and interpolation, the final valid identifier of the time mapping is determined based on the effective pairing results. : Let only when at least two pairs of selected anchor points, including expression initiation and expression termination events, satisfy the constraints that both the EEG time axis and the cervical surface electromyography time axis are strictly increasing, the time interval between adjacent anchor points is not less than a preset minimum time interval, and the local mapping slope of adjacent intervals is within a preset positive range, and the EEG signal and the cervical surface electromyography signal are time-synchronized and effective, and the number of effective paired frames and the continuous effective time span meet preset conditions, let This indicates that the piecewise linear time mapping is valid; otherwise, let This indicates that the piecewise linear time mapping is invalid and joint candidate paths are not enabled. If any of the conditions for the number of anchor points, start and end events, monotonicity, minimum time interval, or local mapping slope are not met, it will be treated as invalid directly, and no interpolation or calculation based on valid pairing results will be performed.

[0027] In step S2, determining cross-modal alignment reliability includes: for the same task segment corresponding to a user performing a predefined silent articulation or attempting articulation task, before filtering candidate anchor pairs according to the dual-timeline monotonic constraints, the reliability is determined based on the categories of expression initiation, expression termination, and maintenance termination events at the time of activation. For candidate anchor pairs in Calculate the consistency of the dual time axis sequence:

[0028] ,

[0029] in, To ensure consistency of the dual timeline order for screening candidate anchor point pairs, To filter the number of candidate anchor pairs, and To filter the sequence numbers of the previous candidate anchor pairs, For the first The timing of pre-screening candidate anchor points relative to EEG event time anchor points. For the first The timing of pre-screening candidate anchor points relative to EEG event time anchor points. For the first The timing of electromyographic events on the mid-neck surface was compared with that of the candidate anchor points before screening. For the first The timing of electromyographic events on the mid-neck surface was compared with that of the candidate anchor points before screening. This is a conditional indicator function; it takes the value 1 if the condition is true, and 0 otherwise; it is only valid for mappings and The anchor subsequence is used to calculate the event detection confidence summation based on the detection confidence of each selected anchor pair for EEG event time anchors and cervical surface electromyography event time anchors. :

[0030] ,

[0031] in, The detection confidence level of the EEG event time anchor point in the k-th selected anchor point pair. The detection confidence level of the neck surface electromyography (EMG) event time anchor point in the k-th selected anchor point pair; the detection confidence levels of both the EEG event time anchor point and the neck surface EMG event time anchor point belong to... ;

[0032] Calculate the stability of local time delay changes based on the brain muscle time delay changes between adjacent selected anchor point pairs:

[0033] ,

[0034] in, For the stability of local brain muscle time delay changes, This represents the threshold for the allowable brain muscle time delay variation in the k-th adjacent anchor point interval. Let exp represent the scale parameter of the penalty for brain muscle delay variation, and let exp denote the natural exponential function. The scale parameters of brain muscle delay, brain muscle delay variation threshold, and brain muscle delay variation penalty are all in seconds. The brain muscle delay variation threshold is non-negative.

[0035] When the time mapping is valid At that time, the cross-modal alignment confidence between EEG and cervical surface electromyography was determined according to the following formula. :

[0036] ,

[0037] in, For candidate anchor pair retention rate, , and These are the positive weighted indices corresponding to the event detection confidence summary, dual time axis sequence consistency, and local latency change stability, respectively. For event detection confidence summation; To ensure consistency of the dual time axis order in screening candidate anchor point pairs; This refers to the stability of localized brain muscle time-delay changes. When At that time, let the cross-modal alignment confidence level be... The retention rate of candidate anchor pairs, the sum of confidence levels for event detection, and the stability of local brain muscle time delay changes are not calculated; when piecewise linear time mapping is effective The dual-timeline order consistency of candidate anchor pairs before screening is not covered by the order consistency result of anchor subsequences after screening. When candidate anchor pairs only contain order-consistent expression initiation event anchor pairs and expression termination event anchor pairs, the dual-timeline order consistency of candidate anchor pairs before screening is 1, which is only used to confirm the order and does not provide additional discrimination. Cross-modal alignment confidence is the engineering confidence of the correspondence and is not interpreted as the probability of correct matching of real events.

[0038] Step S3 includes:

[0039] The self-information path forms a self-information representation based on the EEG temporal features and cervical surface electromyography temporal features that maintain their original timelines. It then determines the self-information reliability, self-information participation status, self-information relative weight, and fusion amplitude based on the acquisition quality of each modality and the single-modality discrimination concentration, thus forming a self-information fusion feature. When both EEG and cervical surface electromyography signals are available and the time mapping is effective, the joint candidate path performs cross-modal interaction on the event alignment features. Through continuous gating of acquisition quality control and cross-modal alignment reliability, a controlled joint interaction feature is formed and combined with the self-information fusion feature to obtain the brain-muscle fusion representation. The single-modality discrimination concentration and the self-information control quantity determined by the single-modality discrimination concentration do not control the joint candidate path.

[0040] The acquisition quality of each modality is determined based on the acquired records of EEG and cervical surface electromyography (EMG) modalities. The single-modality discrimination concentration is determined based on the single-modality auxiliary classification probability. The self-information reliability and self-information participation status are determined based on the acquisition quality and single-modality discrimination concentration. The relative weights of self-information and the self-information fusion amplitude are determined based on the self-information reliability of each modality participating in self-information fusion, forming self-information fusion features. A joint candidate path is set. When both EEG and cervical surface EMG signals are available and the brain-muscle time mapping constrained by the event anchor point in step S2 is valid, the event... The event alignment feature input is used to perform cross-modal interaction on the joint candidate path, and a joint interaction feature is formed based on the acquisition quality of the EEG modality and the cervical surface electromyography modality. The contribution of the joint interaction feature is then continuously controlled by the cross-modal alignment reliability to obtain the controlled joint interaction feature. The activation of the joint candidate path, the input of the event alignment feature, and the cross-modal interaction output are not controlled by the single-modal discrimination concentration, the self-information reliability determined by the single-modal discrimination concentration, or the self-information relative weight. The self-information fusion feature is combined with the controlled joint interaction feature to obtain the brain-muscle fusion representation.

[0041] For EEG modalities and cervical surface electromyography modalities, in the multiplexing step S1, based on the acquisition availability status formed by the acquisition channels and time intervals, the data corresponding to missing acquisitions, signal loss in device status indicators, and continuous saturation are marked as invalid, and the number of remaining valid acquisition channels, the number of valid encoded frames, and the continuous valid time span are checked respectively. For any modality, when the number of valid acquisition channels, the number of valid encoded frames, and the continuous valid time span of the checked modality all reach the preset lower limit, the checked modality is determined to meet the modality valid input conditions; otherwise, the checked modality is only determined to be unavailable for acquisition. When cross-modal time synchronization fails, the time mapping valid flag is set to 0. Cross-modal time synchronization failure or piecewise linear time mapping failure does not change the acquisition availability status of a single modality that still meets the modality valid input conditions, but only makes the joint candidate path not meet the calculation activation conditions.

[0042] For modes that meet the effective input conditions, data continuity, unsaturation ratio, and power frequency interference quality are respectively defined as in-phase quality components. , and A higher value indicates better data acquisition quality. The calculation formula is:

[0043] ,

[0044] ,

[0045] ,

[0046] in, , and These represent the number of samples that should have been received, the number of samples actually received, and the number of samples that were saturated for the acquisition channel retained in the m-th modality within the observation segment, respectively. This represents the proportion of power near the power frequency to the total power of the corresponding monitoring frequency band before notch filtering and task frequency band filtering. and To pre-define the normalization reference limit and ;clip is a cutoff function that limits the value between a given upper and lower limit, and max is a function that takes the maximum value; when the number of samples to be received or the total power of the monitoring frequency band is zero, the data continuity quality component or the power frequency interference quality component is marked as uncalculated, respectively; when the number of actual received samples is zero, the first... Each modality is determined as unavailable for acquisition; the acquisition quality is obtained by weighting the modalities according to preset non-negative weights that sum to 1.

[0047] ,

[0048] ,

[0049] in, Here, r represents the number of mass components, and r represents the component index. The weights are normalized; the key quality components are pre-defined, known, and valid in the same direction; if any key quality component cannot be obtained or does not reach the pre-defined validity threshold, the corresponding modality is not deemed usable for acquisition because other in the same direction are higher; the final acquisition usability identifier is determined only when the modality valid input conditions, key quality component validity requirements, and acquisition quality threshold are all met, and is used for self-information path processing and joint candidate path processing in step S3;

[0050] The self-information representation of the m-th modality is input into the corresponding single-modality auxiliary classifier to obtain the classification score for each predefined intent category. Temperature scaling and probability normalization are then performed using temperature parameters determined by independent calibration data to obtain the m-th modality. The modality pair of the first Single-modal classification probability of a class And determine the first according to the following formula Single-modal discrimination concentration of each modality :

[0051] ,

[0052] Where m is the modality index. Indicates EEG modality, This represents the electromyographic modality of the neck surface; c is a predefined intent category index. Indicates no expression category; The total number of predefined intent categories, including those without expression, and The single-mode discrimination concentration This is used only for self-information paths and is not used to determine the acquisition availability status of the corresponding modality, nor to control the activation of joint candidate paths, event-aligned feature input, or cross-modal interactive output. The total number of categories is an integer greater than 1, and the entropy calculation convention for the natural logarithm is as follows. Both the acquisition quality and the single-mode discrimination concentration are located in .

[0053] Step S3 also includes:

[0054] Self-information refers to the single-modal representation information of EEG modalities and cervical surface electromyography modalities, formed based on their own original timeline temporal features and without cross-modal temporal pairing and cross-modal interaction; This indicates the availability of acquisition for the m-th mode. ,otherwise The number is determined according to the following formula. Self-information reliability of each modality Self-information participation identifier and participation in the reliability of self-information :

[0055] ,

[0056] ,

[0057] ,

[0058] in, and These are the positive exponential parameters corresponding to acquisition quality and single-mode discrimination concentration, respectively. The threshold for self-information participation reliability is given, and The self-information participation markers of the EEG modality and the self-information participation markers of the cervical surface electromyography modality are respectively denoted as... , The reliability of self-information involved in EEG modalities and the reliability of self-information involved in cervical surface electromyography modalities are denoted as follows: , The self-information participation identifiers and participation self-information reliability of EEG modal and cervical surface electromyography modal are determined by taking the modal index as EEG modal and cervical surface electromyography modal respectively, and then calculating the self-information reliability, self-information participation identifiers and participation self-information reliability according to the aforementioned calculation formulas.

[0059] when At that time, the self-information fusion features are determined according to the following formula. :

[0060] ,

[0061] ,

[0062] ,

[0063] in, Let be the relative weight of the self-information of the m-th mode, and v be the mode index in the weight normalization summation. The weighted normalization stability constant, For the self-information fusion amplitude control quantity, and These are the original time-axis self-information representation vectors of the EEG modality and the original time-axis self-information representation vectors of the cervical surface electromyography modality, respectively; when season Self-information relative weight normalization is not performed; the self-information relative weights of the EEG modality and the cervical surface electromyography modality are respectively and The self-information fusion amplitude control is determined by the maximum value of the self-information reliability of the EEG modality and the self-information reliability of the cervical surface electromyography modality.

[0064] The activation flag for joint candidate path calculation is determined according to the following formula. and the Joint candidate path acquisition quality gating quantity for each modality :

[0065] ,

[0066] ,

[0067] in, To collect the positive exponential parameters of quality in the joint candidate paths; Indicates that EEG modality acquisition is available; Indicates that a marker is available for acquiring electromyographic modal data on the neck surface;

[0068] EEG modality acquisition can be identified by tags Identifiers can be used for neck surface electromyography modal acquisition. Determined by the acquisition records and acquisition quality validity requirements of step S1; valid time mapping identifier. The determination of the time synchronization effectiveness between the EEG signal and the cervical surface electromyography signal has been verified, as well as the number of effective paired frames and the continuous effective time span. The calculation of the joint candidate path calculation enable flag j no longer requires repeated setting of time synchronization effectiveness, number of effective paired frames and continuous effective time span judgment.

[0069] when Then, the event alignment features obtained in step S2 are subjected to joint candidate path processing to obtain the first... Frame-by-frame joint EEG representation of each effective paired frame Combined frame-by-frame characterization with surface electromyography of the neck The joint interaction features, after quality control, are obtained according to the following formula. :

[0070] ,

[0071] in, To ensure effective pairing of frame sequence numbers, This represents vector concatenation. This represents element-wise multiplication. G is a bounded interaction network, and the output of the bounded interaction network G is dimensionally restricted. It effectively pairs frame-average pooling operators. This represents the average output of the bounded interaction network across all valid paired frames; the joint candidate path acquisition quality gating parameters for EEG modality and cervical surface electromyography modality are respectively... and ;

[0072] The brain-muscle fusion characterization F is obtained according to the following formula:

[0073] ,

[0074] ,

[0075] in, The reliability of the cross-modal alignment between EEG and cervical surface electromyography determined in step S2. ; For the positive exponential parameter of cross-modal alignment reliability gating, This is used to adjust the degree to which cross-modal alignment confidence controls the contribution of joint interaction features; For cross-modal alignment reliability gating quantity, according to Sure; For the joint interactive features that have undergone quality control during collection, For controlled joint interaction features; when At that time, skip joint interactive computation and let When forming the brain-muscle fusion representation, the cross-modal alignment confidence gating factor is multiplied once by the joint interaction feature to obtain the controlled joint interaction feature, which is then added to the self-information fusion feature; the calculation of the joint interaction feature does not include the cross-modal alignment confidence gating factor.

[0076] The joint candidate path includes a cross-modal Transformer interaction module;

[0077] When the joint candidate path calculation is enabled flag When a valid pairing frame exists, the cross-modal Transformer interaction module receives EEG event alignment timing features and neck surface electromyography event alignment timing features.

[0078] Cross-modal attention calculation in the first direction is performed using EEG event-aligned temporal features as queries and cervical surface electromyography event-aligned temporal features as keys and values. Cross-modal attention calculation in the second direction is performed using cervical surface electromyography event-aligned temporal features as queries and EEG event-aligned temporal features as keys and values.

[0079] The outputs of the first-direction cross-modal attention calculation and the second-direction cross-modal attention calculation are processed by residual connection, normalization, and feedforward network respectively to obtain the frame-by-frame joint EEG representation. Combined frame-by-frame characterization with surface electromyography of the neck And sequentially through the bounded interactive network Joint interaction features are obtained by effective paired frame average pooling and acquisition quality gating. Then, the joint interaction features are multiplied once by the cross-modal alignment confidence gating factor to obtain the controlled joint interaction features. ;

[0080] Invalid paired frames are masked during cross-modal attention computation and average pooling, when The time-transformer interaction module does not perform any operations;

[0081] The self-information path does not pass through the cross-modal Transformer interaction module, and the single-modal discrimination concentration is high. Enable identifier for not participating in joint candidate path calculation Alternatively, the determination of the quality gating quantity for joint candidate path acquisition; the attention weights generated by the first-direction cross-modal attention calculation and the second-direction cross-modal attention calculation are only used for feature interactions after event temporal alignment, and do not replace the piecewise linear temporal mapping or cross-modal alignment reliability in step S2. .

[0082] Step S4 includes: determining the calculation activation conditions and output eligibility conditions for joint candidate paths respectively; when the calculation activation conditions for joint candidate paths are met but the output eligibility conditions are not met, the contribution of joint interaction features with continuously decaying cross-modal alignment confidence is still retained; when the output eligibility conditions for joint candidate paths are met, even if the output eligibility conditions for self-information paths are not met, the brain-muscle fusion representation is allowed to enter subsequent classification and output determination; the current operating state is determined based on the acquisition availability status of EEG modality and cervical surface electromyography modality, the self-information participation status, the actual calculation activation status of joint candidate paths, and the fulfillment status of self-information path output eligibility conditions and joint candidate path output eligibility conditions.

[0083] Eligibility criteria for outputting information paths and joint candidate path output eligibility criteria They are respectively:

[0084] ,

[0085] ,

[0086] in, The self-information path amplitude threshold, The joint candidate path cross-modal alignment confidence threshold; conditional indicator function. Take 0 or 1, This indicates that both conditions are met simultaneously; and The joint interaction feature is still multiplied by the cross-modal alignment confidence gating value, and then added to the self-information fusion feature to obtain the neuromuscular fusion representation. j is not set to zero because the joint candidate path has not obtained independent output qualification. The current running status records the joint candidate path calculation activation flag j, as well as the self-information path output qualification and the joint candidate path output qualification. or The output decision is allowed only if at least one condition is met.

[0087] The present invention also provides a brain-muscle coordinated silent communication system based on the aforementioned method, comprising the following modules:

[0088] The physiological signal acquisition module is used to acquire EEG signals, cervical surface electromyography signals and corresponding timestamps during the user's execution of a predefined silent articulation or attempt to articulate task, and to form an acquisition availability status according to the EEG acquisition channel, cervical surface electromyography acquisition channel and time interval.

[0089] The feature and event extraction module is used to generate EEG temporal features and cervical surface electromyography temporal features, and obtain EEG event time anchors, cervical surface electromyography event time anchors and corresponding event detection confidence scores, respectively.

[0090] The event correspondence and alignment module is used to form candidate anchor pairs according to the same event category. Before screening candidate anchor pairs, it evaluates the consistency of the dual time axis order of the candidate anchor pairs, selects anchor subsequences that satisfy the dual time axis monotonicity constraint and contain at least two pairs of valid anchors, establishes the brain-muscle time mapping of event anchor constraints and forms event alignment features. After forming valid pairings, it determines the valid identifier b of the time mapping, and determines the cross-modal alignment confidence based on the detection confidence of EEG event time anchors and neck surface electromyography event time anchors, the consistency of the dual time axis order of candidate anchor pairs before screening, the stability of local brain-muscle time delay changes between adjacent selected anchor pairs, and the retention rate of candidate anchor pairs. ;

[0091] The quality and self-information reliability module is used to reuse the acquisition records from the physiological signal acquisition module, and determines the final acquisition usability and acquisition quality of the EEG modality and neck surface electromyography modality by combining the effective frames and quality validity requirements. Single-mode discrimination concentration Self-information reliability and self-information participation identifier;

[0092] The hierarchical gating module is used to form self-information fusion features based on self-information reliability and self-information participation identifiers. Based on the available acquisition status and effective time-mapping identifiers, a joint candidate path is determined and an activation identifier j is calculated. Joint interactive features are formed by cross-modal interaction of event alignment features, average pooling of effective paired frames, and acquisition quality gating. And based on cross-modal alignment reliability Formation of controlled joint interaction features Among them, single-mode discrimination concentration The joint candidate path calculation activation flag or the joint candidate path acquisition quality gating value is not involved in the determination of the joint candidate path calculation activation flag; the joint candidate path calculation activation is determined by the product of the EEG acquisition available flag, the neck surface EMG acquisition available flag, and the time-mapping effective flag; the joint interaction feature is multiplied once by the cross-modal alignment confidence gating value to obtain the controlled joint interaction feature, and then added to the self-information fusion feature; the joint candidate path independent output qualification does not reversely close the calculation of the already activated joint candidate path; among which, the cross-modal alignment confidence gating value , It is a positive exponential parameter;

[0093] The intent decoding and output module is used to fuse self-information features. Controlled joint interaction features Combining to form brain-muscle fusion representation When at least one of the self-information path output eligibility conditions or the joint candidate path output eligibility conditions is met, the brain-muscle fusion representation is... The system performs predefined intent classification and outputs text, symbols, voice, or control commands based on the eligibility criteria for self-information path output, the eligibility criteria for joint candidate path output, and the output calibration results of the current operating state, which includes the actual activation status of joint candidate path calculation. Alternatively, it may enter a pending confirmation, silent, or rejection state. If the eligibility criteria for joint candidate path output are met, it will not directly reject the path simply because the eligibility criteria for self-information path output are not met. The current operating state records the actual activation status of joint candidate path calculation. When joint candidate path calculation is not enabled, the joint interaction feature is set to zero, and the self-information fusion feature formed based on the self-information participation identifier, the relative weight of self-information, and the self-information fusion amplitude control amount is retained.

[0094] The present invention also provides an electronic device, including a processor, a memory, a physiological signal acquisition interface, and a result output interface;

[0095] The memory stores a computer program, and the processor executes the computer program to implement the method.

[0096] The physiological signal acquisition interface is used to receive electroencephalogram (EEG) signals, cervical surface electromyography (EMG) signals and corresponding timestamps, and the result output interface is used to send intent identifiers or status information to a display terminal, speech synthesis device or external control device.

[0097] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described thereon.

[0098] The present invention has the following beneficial effects:

[0099] (1) Combine the neuromuscular time mapping constrained by event anchor points with the event correspondence credibility, so that the joint interaction uses features that satisfy the event correspondence constraints, and continuously suppresses the contribution of joint interaction features when the cross-modal alignment credibility decreases; in the piecewise linear implementation, two pairs of start and end anchor points form a single-segment affine mapping, and three or more pairs of anchor points allow adjacent intervals to have different local slopes.

[0100] (2) Before deleting conflicting candidates, retain the order consistency evaluation, and then combine it with the detection confidence, local time delay change stability and candidate retention rate to form cross-modal alignment credibility, so as to avoid the recalculation of order consistency after screening to cover up the original candidate conflict; cross-modal alignment credibility is not replaced by attention weight.

[0101] (3) Decouple the reliability control of the self-information path from the control of the joint candidate path, so that the single-mode discrimination concentration only applies to the self-information path; the joint candidate path calculation activation, continuous contribution and independent output qualification are determined separately, the output calibration status record is the actual calculation path, and the self-information path that meets the self-information participation conditions is still retained when the mapping fails. Attached Figure Description

[0102] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments, and the advantages of the present invention in the above and / or other aspects will become clearer.

[0103] Figure 1 This is a schematic diagram of the overall process of the method of the present invention.

[0104] Figure 2 This is a schematic diagram of the correspondence between event time anchor points and piecewise linear time mapping.

[0105] Figure 3 This is a schematic diagram illustrating the fusion of self-information paths and joint candidate paths.

[0106] Figure 4 This is a schematic diagram of the system structure.

[0107] Figure 5 This is a schematic diagram of the electronic device structure.

[0108] Figure 6 This is a schematic diagram of the network structure for independent event detection of EEG signals and cervical surface electromyography signals, main temporal convolutional network encoding, event alignment, and cross-modal transformer interaction modules. Detailed Implementation

[0109] like Figure 1 As shown, this embodiment of the invention provides a brain-muscle coordinated silent communication method, including the following processing steps; wherein steps 1 to 7 are for brain-muscle decoding, step 8 is the optional electrooculography interaction after classification, and step 9 is the model training and calibration before deployment, which is not a step that must be performed after each decoding:

[0110] Step 1: Acquisition and preprocessing of EEG and cervical surface electromyography signals;

[0111] This step acquires physiological signals for intent recognition. The inputs are electroencephalogram (EEG), electromyography (EMG) of the neck surface, and the acquisition timestamp. After device clock correction and filtering, the signals and acquisition status are handed over to the feature extraction step.

[0112] The following combination Figures 1 to 6This invention describes a specific embodiment. Electroencephalography (EEG) is used, electromyography (EMG) of the neck surface is used, and electrooculography (EOG) is used only as an interactive confirmation channel after classification. The parameters in this embodiment are reference configurations; specific values ​​are determined based on the acquisition device, target task, and independent calibration data. In the figure, "Temporal Convolutional Network" corresponds to TCN in the main text, "Cross-Modal Transformer Interaction Module" corresponds to the Cross-Modal Transformer Interaction Module in the main text, "Linear Rectified Activation" corresponds to ReLU, "Random Deactivation" corresponds to Dropout, and "Hyperbolic Tangent Activation" corresponds to tanh. Chinese technical names are used in the figure; specific mathematical definitions and network reference parameters are given in the formulas and implementation configurations below.

[0113] In one specific implementation, 16 effective EEG acquisition channels, 4 neck EMG bipolar differential channels, and an optional 2 EOG differential channels are used, with sampling rates of 500Hz, 2000Hz, and 500Hz, respectively. Hz represents Hertz, s represents seconds, and ms represents milliseconds. The voltage is in microvolts. The EEG electrode locations are labeled with the following scalp location names: F3, Fz, F4, FC3, FCz, FC4, C3, Cz, C4, CP3, CPz, CP4, T7, T8, P3, P4. These labels only indicate electrode locations; the reference electrode is located at the mastoid process. EMG electrodes are located on the left and right submental and anterior neck surfaces, arranged along the direction of the activity to be observed. Each channel uses one pair of measuring electrodes, and reference and grounding are set according to equipment requirements. Horizontal EOG uses electrode differential measurements near the outer canthus of both eyes, while vertical EOG uses electrode differential measurements above and below one eye, used only for confirmation in the second stage.

[0114] Different devices use a common clock, shared trigger, or repeated synchronization markers to correct time. The raw clock reading of an independent device is denoted as... The corrected unified physical timestamp is recorded as ,according to = + Correction; This is the clock scale correction factor for independent devices. This is the clock bias correction amount for independent devices. , and All times are in seconds. Determined based on the repeat synchronization flag. and If the synchronization residual exceeds the 5ms reference threshold, the time synchronization is marked as invalid. A unified physical timestamp is used for subsequent event time anchor mapping and cannot replace piecewise linear time mapping.

[0115] EEG, EMG, and EOG are bandpass filtered at 1~45Hz, 20~450Hz, and 0.1~15Hz respectively, using a second-order Butterworth high-pass filter and a cascaded low-pass filter, with a 50Hz or 60Hz notch filter applied according to the local power frequency. The effective bandwidth and anti-aliasing processing of the equipment should cover the frequency band used. Intervals corresponding to missing channels, continuous saturation, or equipment detachment are marked as invalid; after the filter is started or restored, no valid event is generated until it enters a stable interval. A consistent filter chain is used for event detection and labeling, with the characteristic timestamp taken from the right end of the window, and filtering and window dependencies are taken into account.

[0116] Step 2: Temporal feature extraction and event anchor point detection;

[0117] This step receives preprocessed EEG and cervical surface electromyography (EMG) signals, extracts frame features and performs temporal encoding, outputting EEG temporal features and cervical surface EMG temporal features; it calculates activity scores or event detection probabilities from the detection features of the corresponding modalities, and outputs event time anchors and event detection confidence scores based on persistence or candidate peak conditions, for subsequent candidate anchor pairing. Figure 6 As shown, the shared features are only those from the front-end preprocessing of this modality: the main TCN encoding branch outputs temporal features for use by the self-information path and joint candidate path; the independent event detection process generates anchor points from the detection features of this modality; rule detection does not receive the main TCN output; and learned detection uses the independent event detection network. Anchor points are used to establish mappings, which are then paired with the main TCN output.

[0118] This embodiment employs a whole-segment processing mode where each observation segment contains a short command. First, a 2-second resting signal is recorded, followed by observation segments of up to 4 seconds starting from the acquisition control point. After observation is closed, a maximum of 0.5 seconds is waited before receiving data for that interval, then candidates are fixed and decoded. Task prompts only schedule observation intervals; the observation upper limit and timeout are not used as physiological termination anchors. The estimated event time, confirmation time, and actual usable data time are recorded separately.

[0119] The feature step size is 20ms. EEG extracts the mean and root mean square of the 200ms trailing window for each channel, as well as the mean and root mean square of the data within the 1s trailing window. , , The logarithmic power of the three frequency bands (Hz) is represented by 80 dimensions. The band power is obtained by integrating a one-sided periodogram after removing the mean and applying a Hanning window. For reference normalization, add The natural logarithm is then taken. For each EMG channel, the root mean square, mean absolute value, waveform length, and zero-crossing rate are extracted over a 200ms window, totaling 16 dimensions. The waveform length is the sum of the absolute differences between adjacent samples, and the zero-crossing rate is the number of times the change exceeds three times the standard deviation of the training resting noise, divided by the number of adjacent sample pairs. EEG event time anchors are determined by the activity changes of task-related EEG detection features. When using a 1s trailing power window, the event detection response time is affected by the feature window and filtering process; event time estimation is based on the timestamp of the corresponding detection feature.

[0120] Table 1 provides the core reference configuration; the finalized parameters are saved with the model. In the table, 'm' represents the modal index. Indicates EEG modality, This represents the electromyographic mode of the neck surface; e is the event category index, and k is the interval number determined by the selected anchor pair or adjacent selected anchor pairs.

[0121] The time quantities in Table 1 are expressed in seconds (s) or milliseconds (ms), and the units are consistent during calculation. Duration, minimum interval, and time scale are positive numbers; the allowable local delay variation can be zero; the minimum number of frames and channels are positive integers; the local mapping slope is a dimensionless positive number with a lower limit not exceeding the upper limit. Activity score, detection margin, and their scale are dimensionless quantities; the margin is non-negative, the scale is positive, and the start threshold is greater than the termination threshold. Quality components, acquisition quality, discrimination concentration, reliability, and confidence are all located within... The corresponding qualification threshold is located at .

[0122] Table 1 Core Parameters and Reference Configuration

[0123]

[0124] Table 1 (continued) Core parameters and reference configurations

[0125]

[0126] The positive exponential parameters of acquisition quality and single-modal discrimination concentration in self-information reliability are respectively and The positive exponential parameter for acquisition quality in the joint candidate path is: The positive exponential parameter for cross-modal alignment reliability is: The positive weighting indices for the event detection confidence aggregate, the consistency of the dual time axis order before screening, and the stability of local brain muscle time delay changes are respectively... , , In this embodiment, all the above indices are taken as 1.

[0127] Modal Index , Indicates EEG modality, This indicates the electromyographic mode on the surface of the neck. This represents the preprocessed signal for the m-th mode; This represents the temporal feature vector of the m-th modality and the n-th frame, where n is the sequence number of the temporal feature frame in this modality. Let m be the temporal feature dimension of the m-th mode; Represents the real number field. express A real vector space. This represents the number of temporal feature frames for the m-th modality; This represents the correction timestamp of the nth frame in the mth modality, in seconds; This represents the effective temporal feature mask for the m-th modality and n-th frame; it is set to 1 if effective and 0 otherwise. Vector concatenation is denoted as... Element-wise multiplication is denoted as Conditional indicator function The value is 1 if the condition is met, and 0 otherwise. This is compared to the single-modal discrimination concentration with modal subscripts. distinguish.

[0128] See Figure 6 The EEG input consists of a 96-dimensional vector composed of 80-dimensional frame features and 16-dimensional channel effective bits; the EMG input consists of a 20-dimensional vector composed of 16-dimensional frame features and 4-dimensional channel effective bits. The linear transformation `Linear(96,64)` projects the 96-dimensional EEG input vector into a 64-dimensional vector, and the linear transformation `Linear(20,64)` projects the 20-dimensional neck surface electromyography (EMG) input vector into a 64-dimensional vector. The two parameters of `Linear` represent the input and output dimensions, respectively. After projection, the inputs are fed into two independent causal temporal convolutional networks (TCNs). Each TCN has 64 channels, 3 kernels, and a stride of 1. The dilation rates of the two layers are 1 and 2, respectively, with 2 and 4 frames padded on the left to maintain the sequence length. Each layer uses a modified linear unit (ReLU) activation function, same-dimensional residual connections, and a random dropout with a dropout rate of 0.1. Dropout is disabled during inference. The total receptive field of the two layers is 7 frames.

[0129] TCN retains frame-by-frame output and , This is the EEG temporal feature matrix. For the number of frames of EEG temporal features, This is the temporal feature matrix of electromyography on the neck surface. The matrix represents the number of frames of temporal features from the surface electromyography (EMG) of the neck; each row corresponds to a 64-dimensional temporal feature frame. The self-information path performs effective masked average pooling and bounded projection on the temporal features while maintaining their original time axis to obtain self-information representations, which are then input into the corresponding single-modal auxiliary classifier. The joint candidate path projects event-aligned features onto a common feature space and then inputs them into the cross-modal Transformer interaction module. The single-modal auxiliary linear head receives the bounded-projection self-information representations, while the joint candidate path directly uses the event-aligned frame-by-frame temporal features, bypassing the auxiliary classification probability bottleneck.

[0130] Valid frame features are statistically normalized according to training, while invalid channel features are assigned placeholder values ​​with zero valid bits. Each frame must satisfy the minimum number of valid channels in Table 1. The TCN output mask requires that all input frames within its 7 receptive fields are valid; the same masking rules are used for training and inference. The modality must also satisfy the minimum number of valid codes and continuous span. A bounded projection is performed using the hyperbolic tangent function tanh, and its original time-axis pooling and self-information projection are as follows:

[0131] (1),

[0132] in This is the average vector of effective temporal features of the m-th mode on its original time axis; Let be the bounded self-information representation vector of the m-th mode. Let d be the projection matrix of the common feature space of the m-th mode, and d be the dimension of the common feature space. and These are the temporal features of electroencephalography (EEG) and the temporal features of electromyography (EMG) on the neck surface, respectively. (Reference) The hyperbolic tangent function tanh restricts the dimensions of a vector to a certain value. . , These represent the original time-axis self-information representation vectors of the EEG modality and the cervical surface electromyography modality, respectively. If no valid temporal feature frames are available, the average is not calculated, and the data is treated as unusable upon acquisition.

[0133] Event anchors represent the stage boundaries of the expressed process. The value of the event category index e... , These represent the start and end of the expression, respectively. 0 indicates optional maintenance termination, and 0 indicates no event. EEG and EMG detect event time anchors respectively. Maintenance termination is only enabled when it can be independently defined and verified; within the same task segment, a continuous activity decline process that occurs after expression initiation is recorded as maintenance termination and expression termination only if there are independently identifiable boundaries; if the boundary between maintenance termination and expression termination cannot be independently distinguished, maintenance termination event is not generated; expression termination event is recorded only when the expression termination detection condition is met, otherwise the corresponding event is left missing, and no artificial midpoint or task prompt is inserted to supplement the event time anchor.

[0134] The expression start event is the first frame in which the activity continues to exceed the start threshold; the expression stop event is the first frame in which the activity returns to below the stop threshold and remains below it after the expression start event occurs. The maintenance end event is the starting point of the continuous decline between the expression start event and the expression stop event, which ends while still being above the stop threshold and satisfying the minimum interval with the boundaries of the expression start event and the expression stop event; the maintenance end event is missing if it cannot be independently verified.

[0135] For rule-based detection, the EEG features are taken as the logarithmic power of three frequency bands for each effective channel, and the EMG features are taken as the root mean square envelope. The detection feature index is denoted as... ; and The first The modality of the first The mean and standard deviation of each detection feature in an independently calibrated resting segment. The activity score is then calculated based on this.

[0136] (2),

[0137] in [n] represents the value of the m-th modality and the ξ-th detected feature in the n-th frame; It is the set of valid detection feature indices for the m-th modality and the n-th frame, which consists of the detection feature indices in that frame that meet the requirements of acquisition channel validity and detection feature validity. This is used for feature indexing. For EEG modalities, the effective detection feature is the logarithmic power feature of the frequency band corresponding to the effective acquisition channel; for cervical surface electromyography modalities, the effective detection feature is the root mean square envelope feature corresponding to the effective acquisition channel. For the m-th mode, the first... Frame number The weights of each detection feature, in Divide into equal parts. Among them, For the m-th mode, the first... The standardized stability constant of each detection feature, using the same units as the corresponding detection feature, is used. The EEG logarithmic power reference is taken as... Root mean square reference electromyography (RMS) of the neck surface ; Let be the dimensionless activity score of the m-th modality in the n-th frame relative to the resting baseline. If the set is empty or the number of valid acquisition channels does not meet the preset requirements, the activity score for that frame will not be calculated, and the continuous timing of event detection will be interrupted.

[0138] Activity score continuously higher than achieve When a candidate initiation event is generated, it continuously falls below a certain threshold after initiation. achieve Candidate termination events are generated. The estimated time is taken from the first frame of the duration segment, and the confirmation time is no earlier than the data availability time of the last frame of the duration segment; with a step size of 20ms, at least 6 endpoint frames are required for a 0.1s span. Optional maintenance termination events require consecutive negative first-order differences and a cumulative decrease exceeding [a certain threshold]. Span reached Furthermore, the endpoint remains above the termination threshold. During the invalid frame interruption duration, the event remains missing if the conditions are not met. and Let be the expression initiation activity score threshold and the expression termination activity score threshold for the m-th modality, respectively, both being dimensionless parameters. ; and These are the threshold values ​​for the duration of the expression initiation event and the threshold values ​​for the duration of the expression termination event, respectively. The cumulative decrease threshold for the optional maintenance termination event of the m-th mode is a dimensionless parameter. The three duration thresholds are optional thresholds for the duration of the continuous decline after the event ends. All three duration thresholds are in seconds and are determined based on the span between the first and last timestamps of consecutive valid detection frames. Reference parameters and determination rules are shown in Table 1.

[0139] For example, in a reference configuration with a feature step size of 20ms and a preset duration of 0.1s, six consecutive detection frames with timestamps of 0, 20, 40, 60, 80, and 100ms, if all are valid and their activity scores are all higher than the start threshold, then the continuous threshold crossing condition for the expression start event is met. After the expression start has been confirmed, if all are valid and their activity scores are all lower than the termination threshold, then the continuous threshold crossing condition for the expression termination event is met. If any frame does not meet the corresponding threshold crossing condition or valid frame condition, then the corresponding event cannot be confirmed based on that segment of data. The above parameters are a reference configuration for a specific implementation and can be adjusted according to the acquisition device, target task, and independent calibration data; a 20ms feature step size does not mean that the event positioning accuracy reaches 20ms.

[0140] The maximum value function `max` and the minimum value function `min` are used to find the maximum and minimum values, respectively. No event time anchor is formed when there is no corresponding frame in the interval or when the continuity condition is not met. This represents the detection confidence of the EEG event time anchor point in the k-th selected anchor point pair. This represents the detection confidence of the neck surface electromyography event time anchor point in the k-th selected anchor point pair, all of which are located in ; The above modal formula for detection confidence is used for anchor subsequence selection and cross-modal alignment confidence calculation.

[0141] For rule-based detection events where the continuous condition is met, a frame-by-frame non-negative margin is initiated. non-negative margin per frame at termination ,in, For the first The event-level detection margin corresponding to event category e in each modality. For expression initiation and expression termination events, the non-negative margin of each frame of valid frames that meet the corresponding sustained threshold crossing condition is averaged to obtain the corresponding event-level detection margin. For optional maintenance termination events, the event-level detection margin is determined by the non-negative portion of the cumulative decrease minus a preset decrease threshold. This event-level detection margin is a non-negative number used to normalize the event detection confidence score. The event detection confidence score is: ,in, For the first The event detection confidence level corresponding to event category e in each modality; The proportion of valid continuous frames within the event duration interval; The detection margin scale corresponding to the modality and event category is determined according to the independent calibration positive margin quantiles in Table 1. (This section...) The scalar scale is related to the self-information representation vector. Distinguishing between events. Under the strict, continuous threshold crossing confirmation rule where all detected frames are valid, the proportion of valid continuous frames is 1. In this case, the event detection confidence is determined by the normalized event-level detection margin.

[0142] Learning-based event detection can employ two independent detectors, each receiving normalized frame features and channel valid bits for the current modality. These are then processed through two layers of 64-channel causal convolution with kernel 3 and dilation rates of 1 and 2, ReLU, and an event classification header. Finally, the event category probability is output via a normalized exponential function (Softmax).

[0143] (3),

[0144] in, For the event detector of the m-th modality; This represents the event classification score vector of the nth frame obtained by processing the preprocessed signal of the mth modality according to the above frame features and channel effective bits; This represents the probability that the m-th modality and n-th frame belong to event category e. The normalized exponential function Softmax normalizes the event classification score into category probabilities. Masking is enabled when the end event is not maintained. Normalization is performed on other event categories. For complete intervals where the event probability exceeds the calibrated threshold, the point with the highest probability is selected as a candidate, and in case of a tie, the earlier one is selected; the observation interval is confirmed after the threshold-crossing segment ends, and threshold-crossing segments that have not ended do not form confirmed candidates.

[0145] The candidate probability threshold for learning-based event detection is denoted as: The event detection confidence is determined by calibration data with independent event labels, according to preset false positive and false negative constraints, and is stored together with the event detector. The event detection confidence of the learned candidate is the event probability corresponding to the confirmed peak value, which is still within the range of... This is used for the same candidate ranking and detection confidence aggregation. The output probability serves as the engineering detection confidence input and is not interpreted as the true probability of correct event detection without undergoing detection correctness calibration. Rule-based detection still uses normalized threshold margin, while learning-based event detection and rule-based event detection are optional implementation methods.

[0146] The learning-based detector is trained using independently labeled event tags for each modality, preserving the tag sources and effective supervision masks; task cues only limit the search interval and are not directly used as event times. Events that cannot be reliably labeled are not included in the supervision loss, and unknown frames are not treated as non-event negative classes. Weak rule labels cannot simultaneously serve as independent ground truth values ​​for evaluating the same rule or its training model. When there are no reliable event labels, the rule-based detection path is used.

[0147] Step 3: Event time anchor point correspondence and piecewise linear time mapping;

[0148] See Figure 2 This step receives the EEG event time anchors, the neck surface electromyography event time anchors and their corresponding detection confidence, as well as the EEG timing features and the neck surface electromyography timing features; first, candidate anchor pairs are formed and the consistency of the dual time axis order before screening is calculated, then anchor subsequences are selected, a piecewise linear time mapping is established and feature time pairing is performed, and the event alignment features and time mapping valid identifier b are output.

[0149] Figure 2 Using three pairs of selected anchor points—expression initiation, optional intermediate events, and expression termination—as a dual time axis diagram, EEG time... , , Corresponding to the surface electromyography time of the neck , , The lines in the diagram represent the correspondence between anchor points of the same type of event, and adjacent intervals can use different local slopes. Optional intermediate anchor points are retained only when the independent identification condition is met; when the selected anchor point pair contains only two pairs of expression initiation and expression termination, the time mapping is a single-segment affine mapping.

[0150] The same task segment refers to the observation segment corresponding to a user performing a predefined silent articulation or attempting articulation task. For a short instruction cycle of the same task segment, the candidate with the highest detection confidence is selected from the similar event candidates in EEG and cervical surface electromyography. In case of a tie, the earlier one is selected, and then candidate anchor pairs are formed according to the same event category:

[0151] (4),

[0152] in To filter the set of candidate anchor pairs, The number of candidate anchor pairs to be selected; i is the index of the candidate anchor pair to be selected. Let i be the event category corresponding to the i-th pair of candidate anchor points before filtering. and These represent the time points of the EEG event time anchor and the neck surface electromyography event time anchor, respectively, for the i-th pair of candidate anchor points before screening. and These represent the detection confidence scores for the time anchor points of mid-brain electroencephalogram (EEG) events and neck surface electromyography (EMG) events, respectively, for the candidate anchor point pair. Candidate anchor point pairs must belong to the same expression cycle, with an absolute time difference not exceeding [a certain value]. Each event is used only once; it remains unmatched when missing or out of bounds. The maximum absolute time difference allowed for candidate anchor point pairing between EEG event time anchors and neck surface electromyography event time anchors within the same expression cycle is expressed in seconds, with 1.5 seconds as a reference. The specific value is determined based on independent time delay data. Dual time axis monotonicity is not mandatory at this stage. Joint candidate paths for corresponding task segments are not enabled when the task segment contains multiple expressions or when the expression cycle identity cannot be determined.

[0153] Before filtering candidate anchor point pairs according to the monotonic constraints of the dual time axis, when At that time, Calculate the dual-time-axis order consistency of candidate anchor pairs before screening. :

[0154] (5),

[0155] In equation (5), h is the sequence number of another candidate anchor point pair before screening. and These represent the times of the EEG event time anchor and the cervical surface electromyography (EMG) event time anchor in the h-th candidate anchor pair before screening, respectively. Candidate anchor pairs in the same group are categorized as follows: if their sequential relationship on the EEG time axis and the cervical surface EMG time axis is the same, it is recorded as 1; otherwise, it is recorded as 0. They are also categorized as 0 if they occur at the same time. The set before screening is used for calculation, and it is not covered by the anchor subsequence after screening. Only when the expression initiation and expression termination are included and the order of the EEG time axis and the cervical surface electromyography time axis is consistent is 1. If the division in equation (5) is not performed, let Cross-modal alignment reliability is handled as an invalid branch of equation (11).

[0156] The cap number of the candidate anchor point is used to distinguish between candidates before filtering and anchor point pairs selected after filtering; i and h are indices of two different candidate pairs, and k is used for the selected anchor point pairs after filtering, and j is dedicated to enabling joint candidate path calculation. Detection feature index used in activity scores.

[0157] from The selected event sequence is an anchor subsequence expressing initiation events, optional maintenance and termination events, and expressing termination events. Both the EEG time axis and the cervical surface electromyography time axis are strictly increasing, with adjacent intervals not less than [missing information]. And the slope of each mapping segment is located at . The minimum allowed time interval, in seconds, between adjacent selected anchor point pairs on their respective time axes; and Let be the lower and upper limits of the allowable local slope of the piecewise linear time mapping, respectively, both being dimensionless positive numbers, satisfying . This embodiment refers to... , , Specific parameters are determined by calibration using independent event data. When there is at most one anchor pair per class, all subsequences can be enumerated, and a unique result is determined sequentially by the largest number, the largest sum of the geometric mean of the detection scores, and the earliest lexicographical order of the EEG and neck surface electromyography time series. The anchor subsequence is denoted as A, and the number of anchor pairs is denoted as K. The expression initiation and expression termination pairs of candidate anchor points must exist simultaneously; intermediate events can be filtered out. k is the index of the selected anchor point pair, which is also the starting index of the interval determined by adjacent selected anchor point pairs in the mapping formula. The time of the EEG event time anchor in the k-th selected anchor pair. The time of the neck surface electromyography event time anchor in the kth selected anchor point pair; Let be the brain-muscle delay for the k-th selected anchor point pair. First, calculate the brain-muscle delay for the selected anchor point pair, then calculate the neck surface electromyography time corresponding to the EEG query time:

[0158] (6),

[0159] (7),

[0160] In equation (7), t is the query time on the EEG time axis. This corresponds to the electromyographic time on the neck surface; , . and The first The timing of EEG event time anchors and neck surface electromyography event time anchors in the selected anchor pair. For the first The neuromuscular time delay is calculated for each selected anchor pair. Both time and delay are in seconds. Strictly increasing anchor subsequences and minimum interval constraints ensure a positive denominator, and adjacent mapping segments are continuous at a common anchor point. Adjacent intervals are affine, representing a piecewise linear time mapping implementation. Two anchor pairs form a single affine time mapping; three or more pairs allow different slopes for intervals between different adjacent anchor points.

[0161] Using the time mapping example from this embodiment: the time anchor point of the EEG event is... The time anchor point of electromyographic events on the neck surface is .

[0162] Query time Located in the first paragraph;

[0163] .

[0164] The above example illustrates the calculation process of piecewise linear time mapping.

[0165] EEG query grids are generated every 20ms within the effective anchor point coverage area. For the first EEG query time for each paired frame. and These are corrected timestamp sequences of EEG timing features and cervical surface electromyography timing features, respectively.

[0166] in, and These are the original time-axis temporal feature matrices obtained after encoding the EEG modality and the cervical surface electromyography modality in step 2 through their respective independent master temporal convolutional networks (TCNs); , , and These represent the number of temporal feature frames for each of the two modes on their respective original timelines. The effective temporal feature frames are determined by the effective mask of the corresponding mode. and These are the temporal feature dimensions for the two modalities, as described in this embodiment. The temporal features of the two modalities retain their original timeline timestamps and are paired according to the piecewise linear time mapping established in step 3. Specifically, the EEG modality obtains the corresponding effective temporal features at the query time, while the cervical surface electromyography modality performs feature interpolation at the corresponding time after mapping to form event-aligned temporal features for subsequent joint candidate path use.

[0167] The interpolation operator Interp forms event alignment features based on this:

[0168] ,

[0169] (8),

[0170] in, For the first Timing features of EEG event alignment in paired frames, For the first Timing characteristics of neck surface electromyography events aligned in paired frames Indicates the first The modality of the first The event alignment timing features of each paired frame. The EEG query time is taken from the timestamp of the valid EEG timing feature frame, and the EEG Interp in Equation (8) directly returns the corresponding valid frame; the neck surface electromyography Interp takes the nearest valid frame on both sides of the mapped time for interpolation, and directly takes the value when it falls on the timestamp of a valid frame. The interpolation endpoints must be located in the current anchor point interval and the interval does not exceed It does not cross long gaps or push outwards to the beginning and end anchor points; when the times of the two interpolation endpoints coincide, it only takes the direct value and does not perform interpolation with a denominator of zero. For an effective set of paired frame indexes, The number of valid paired frames; within the valid paired set, For valid paired frame numbers. Time synchronization must be valid, including at least two selected anchor point pairs for expression initiation and expression termination. And the continuous effective pairing time span reaches season This indicates that the piecewise linear time mapping is valid; otherwise, let . The maximum time interval between adjacent valid interpolation endpoints allowed for interpolation of the temporal characteristics of surface electromyography in the neck, in seconds; The minimum number of valid paired frames required to determine the validity of the piecewise linear time mapping is a positive integer; The lower limit of the consecutive valid paired time span required to determine the validity of the piecewise linear time mapping, in seconds. This embodiment refers to... , , Specifically, calibration is performed based on independent pairing and dropped frame data.

[0171] Anchor points and mappings are fixed only after the entire observation period ends and the waiting period is completed. If the expression termination event is not detected, the expression termination event time anchor point remains missing and is not filled in by the timeout point; insufficient candidates, synchronization failure, or insufficient effective pairings are all treated as invalid mappings.

[0172] Step 4: Calculate cross-modal alignment reliability;

[0173] This step inputs the dual-timeline sequence consistency of candidate anchor pairs before screening, the detection confidence of each event time anchor in the selected anchor pair, the neuromuscular latency of the selected anchor pair, and the candidate anchor pair retention rate, and calculates the cross-modal alignment confidence. This is used for cross-modal alignment reliability gating of subsequent joint candidate paths.

[0174] right The task segment calculates the event detection confidence summation. and stability of local brain muscle time delay changes The stability of local brain muscle time delay changes is determined using the natural exponential function exp:

[0175] (9),

[0176] (10)

[0177] in The average of the geometric mean of the detection confidence scores of the selected anchor points for both the time anchor points of EEG events and the time anchor points of EMG events on the neck surface. Evaluate the stability of local brain muscle time delay changes in adjacent selected anchor point pairs. The threshold for the allowed brain muscle time delay variation in the k-th adjacent selected anchor point interval, in seconds, is given. ; The scaling parameter for the penalty of brain muscle time delay variation is in seconds, and These two parameters are used to set the allowable range of time delay variation and adjust the stability penalty when the allowable range is exceeded, respectively. In this embodiment, 0.10s is used as a reference for both, but the specific value is calibrated based on independent local time delay variation data. Only when... , When calculating equations (9) and (10), K and None of them are zero.

[0178] The cross-modal alignment confidence is calculated by combining the event detection confidence summation, the consistency of the dual time axis order of candidate anchor pairs before screening, the stability of local brain muscle time delay changes, and the candidate anchor pair retention rate.

[0179] (11),

[0180] in Indicates the reliability of cross-modal alignment between EEG and cervical surface electromyography; For candidate anchor pair retention rate, Only candidate anchor point pairs successfully constructed before filtering are counted. If there are insufficient candidate anchor point pairs or selected anchor point pairs, they are directly used. Branches, not calculated The event detection confidence aggregate and the stability of local brain muscle time delay changes are considered. The cross-modal alignment confidence is calculated based on event detection confidence, dual time axis sequence consistency, local time delay change stability, and candidate anchor pair retention rate, and is used for confidence gating of joint candidate paths. The event detection confidence aggregate is uniformly denoted as... .

[0181] Step 5: Calculate the acquisition quality and single-modal discrimination concentration;

[0182] This step inputs the collection records, validity mask, and self-information representation. First, it determines the valid input conditions of the modality and calculates the collection quality. Then, it obtains the single-modality discrimination concentration through a single-modality auxiliary classifier. The self-information reliability and self-information participation identifier are calculated from the collection quality and the single-modality discrimination concentration. The collection quality gating quantity of the joint candidate path is determined separately from the collection quality.

[0183] Acquisition quality is calculated based on data continuity, unsaturation ratio, and power frequency interference. First, it is categorized by acquisition channel and time interval shielding issues, equipment detachment, and continuous saturation. Then, the number of remaining valid channels, the number of valid timing feature frames, and the continuous valid time span are checked. If a channel fails, only the affected data interval is shielded; if there is insufficient valid modal input, the corresponding modal acquisition is deemed unusable. , and Let be the expected number of samples, the actual number of samples, and the saturated number of samples for the retained channel of the m-th mode within the observation segment, respectively. When the expected number of samples is positive, a unidirectional quality component is constructed using the clipping function `clip` and the maximization function `max`. Unidirectional means that a larger value indicates better acquisition quality. For modes that meet the effective input conditions, data continuity, unsaturation ratio, and power frequency interference quality are respectively determined as unidirectional quality components. , and The calculation formula is:

[0184] ,

[0185] ,

[0186] , (12)

[0187] in , , These represent the data continuity, unsaturated proportion, and disturbance mass component of the m-th mode, respectively; the clip function restricts the values ​​to a given upper and lower limit. The power of the m-th mode near the power frequency before notch filtering accounts for the total power of the monitoring frequency band. The reference frequency band for EEG monitoring is 0.5–100 Hz, and the reference frequency for cervical surface electromyography is 20–450 Hz. The reference near the power frequency is taken as the center frequency ±1 Hz. and See Table 1 (continued), and When the number of samples to be received is zero or the total power of the monitoring band is zero, the data continuity quality component or the power frequency interference quality component is marked as unavailable, and calculations with a denominator of zero are not performed; when the actual number of received samples is zero, it is treated as unavailable for acquisition. The above counting is based on the original acquisition records of the retained channels. Saturated samples are still counted in the quality statistics and are not removed from the denominator due to subsequent feature shielding; interference power is calculated from the monitoring signal before notch filtering and task band filtering. The acquisition quality of the m-th mode is denoted as... The weighted calculation is as follows:

[0188] (13)

[0189] in Let r be the number of mass components in the m-th mode, and r be the mass component index. For the m-th mode, the r-th same-direction mass component, The normalized weight is the mass component of the m-th mode and the r-th mass component; in this embodiment, the three mass components are equally weighted. This indicates that the acquisition of the m-th mode is available; in this embodiment, the above three unidirectional mass components are preset as critical mass components; the three components must be known and meet the set validity requirements respectively, with data continuity and unsaturation ratio not less than 0.8 and 0.95 respectively, and satisfy the modal valid input conditions and At that time, place Otherwise . and These are the acquisition availability identifiers for EEG modality and cervical surface electromyography modality, respectively. Failure of cross-modal time synchronization or piecewise linear time mapping does not change the acquisition availability status of a single modality that still meets the valid input conditions; it only disables the joint candidate path. Power frequency interference components must be calculable; this embodiment does not set an independent hard threshold for them, and their values ​​continuously affect self-information reliability and joint interaction amplitude through acquisition quality weighting. High components must not be used to compensate for unknown components or in cases where data continuity and the lower limit of the non-saturation ratio are not met. Under this reference configuration with three equally weighted components and a data continuity ratio of not less than 0.8 and a non-saturation ratio of not less than 0.95, ,thus No additional filtering is provided once these prerequisites are met; at this point, the power frequency interference quality components are mainly filtered through... Utilize continuous amplitude control. Keep the reference threshold constant; the overall quality threshold for other configurations should be determined by independent calibration data.

[0190] The first Self-information representation of each modality Input the corresponding single-modal auxiliary linear classifier to obtain the classification score of the m-th modality for the c-th class. c represents the predefined intent category index. No expression category; This embodiment represents the total number of predefined intent categories, including those without expression categories. . The temperature parameters for the m-th mode were determined using independent calibration data. Let m be the single-modal classification probability of the m-th modality for the c-th class. Calculate the temperature scaling probability:

[0191] (14)

[0192] (15)

[0193] in, Let m be the unimodal classification probability entropy of the m-th modality, and let the natural logarithm be the unimodal classification probability entropy. Used for entropy calculation, by convention . Let m be the single-mode discrimination concentration of the m-th mode. This is only used for self-information paths; this embodiment ensure Non-zero. For the summation index of the predefined intent categories in the denominator of equation (14), For the m-th mode pair Classification score.

[0194] For each available acquisition modality, determine the self-information reliability, self-information participation identifier, participation self-information reliability, and joint candidate path acquisition quality gating quantity respectively:

[0195] ,

[0196] ,

[0197] (16)

[0198] in Let m be the self-information reliability of the m-th mode. This serves as the self-information participation identifier for the m-th modality. Let be the reliability of the self-information of the m-th mode; The quality threshold for the joint candidate path acquisition of the m-th modality is determined solely by the acquisition availability identifier and acquisition quality. When acquisition of the m-th modality is unavailable, the self-information reliability, self-information participation identifier, participation self-information reliability, and joint candidate path acquisition quality threshold for that modality are set to zero, and calculations dependent on missing data are skipped. , Neither the relative weights of the self-information nor the joint candidate path activation, event-aligned feature input, or cross-modal interaction output are controlled.

[0199] Step 6: Fusion of self-information paths and joint candidate paths;

[0200] See Figure 3 and Figure 6 The self-information path receives the original timeline representation, while the joint candidate path receives the event-aligned representation. The self-information path and the joint candidate path form features according to their respective gating conditions, and are then added together to obtain a fused representation used for intent classification. Figure 3 Computation enable identifier in It only determines whether to perform joint candidate path computation, and the cross-modal alignment confidence gating quantity. The contribution of continuous control joint interaction features, and the qualification criteria for joint candidate path output. It is only used for output eligibility determination. The joint candidate path calculation enable flag, cross-modal alignment confidence gating quantity and joint candidate path output eligibility conditions cannot be substituted for each other.

[0201] , These are the self-information participation identifiers for EEG modalities and cervical surface electromyography modalities, respectively; , The reliability of self-information participation is denoted by EEG modality and cervical surface electromyography modality, respectively. When at least one modality participates in self-information fusion, the relative weight of self-information of the m-th modality is calculated. and self-information fusion amplitude control quantity :

[0202] (17)

[0203] (18)

[0204] in For modal index in weighted normalized summation, For the first The self-information of each modality participates in the identification. For the first Self-information reliability of each modality; Here is the weight normalization stability constant, with a reference value of 10⁻⁶. When at least one EEG modality or cervical surface electromyography modality participates in self-information fusion, the denominator of the self-information relative weight normalization formula is positive, and the sum of the relative weights of the self-information of the modalities participating in self-information fusion is 1. When neither EEG modality nor cervical surface electromyography modality participates in self-information fusion, relative weight normalization is not performed, and the weights are directly set to 1. and . It does not include the average factor of the number of available modes.

[0205] , These represent the relative weights of self-information for the EEG modality and the cervical surface electromyography modality, respectively; the self-information fusion feature is denoted as... The combination is:

[0206] (19)

[0207] in for Self-information fusion characteristics. Joint candidate path calculation enable identifier. Only when And when valid paired frames exist, the event alignment features are first projected onto the common feature space:

[0208] (20)

[0209] in, The event alignment feature of the l-th valid paired frame of the m-th modality in the common feature space; and These are aligned feature sequences of common feature spatial events from EEG and cervical surface electromyography (EMG), respectively. This embodiment obtains a frame-by-frame joint representation after processing with the following Transformer; the original basic interactive implementation does not use a Transformer. , Subsequently, the same bounded interaction network, effective paired frame average pooling, acquisition quality gating, and cross-modal alignment reliability gating as the cross-modal Transformer implementation are still used.

[0210] The master TCN encoding results of the EEG modality and the cervical surface electromyography modality retain their original time axes to form self-information representations, and event alignment features are formed based on the piecewise linear time mapping established in step 3. The joint candidate path projects the event alignment features of the two modalities onto a common feature space, resulting in a dimension of [missing information]. The feature sequences are combined with the effective paired frame mask input to the cross-modal Transformer interaction module for bidirectional feature interaction. Attention weights are used to calculate the cross-modal feature relationships after event alignment. Figure 6 The original time axis features are respectively entered into the self-information representation formation process and the event time pairing process; the joint candidate path obtains frame-by-frame joint representation through cross-modal Transformer, and finally combines with the self-information fusion features in the brain-muscle fusion representation formation stage.

[0211] The effective pairing frame mask is formed by the feature validity, anchor point coverage range, and interpolation maximum gap condition from step 3; effective pairing positions are set to 1, otherwise to 0. Attention calculation and average pooling of effective pairing frames both mask invalid pairing frames and padding positions. If no valid paired frames exist, skip the Transformer, bounded interaction network, and average pooling of valid paired frames, and let... In batch processing, attention is calculated only for valid query rows and valid key-value positions. Invalid query rows are cleared to zero and excluded from pooling. When all keys are masked, Softmax calculation is skipped, and the query is treated as if there are no valid pairs.

[0212] This embodiment employs a single bidirectional cross-modal attention block, with a model feature dimension of [missing information]. There are four attention heads, each with 16 dimensions. Multi-head attention (MHA) uses EEG common feature spatial event alignment features as queries and cervical surface electromyography (EMG) common feature spatial event alignment features as keys and values ​​in the first direction; in the second direction, it uses cervical surface EMG common feature spatial event alignment features as queries and EEG common feature spatial event alignment features as keys and values.

[0213] ,

[0214] (twenty one),

[0215] in To use EEG as the primary direction of attention output for querying, The second-direction attention output is based on surface electromyography of the neck as the query. and These are the first-direction multi-head attention operator and the second-direction multi-head attention operator, respectively. Internally, MHA performs a linear projection on the query, key, and value. The four 16-dimensional attention heads each perform scaled dot product attention, dividing the dot product of the query and key by... Softmax normalization is then performed, followed by a weighted summation with the corresponding value vectors. Finally, the outputs of each attention head are concatenated and projected back into 64 dimensions. The multi-head attention parameters in the first and second directions are independent, and the attention output matrix dimensions are all [missing information]. .

[0216] For each direction, Cross-Attention, Dropout, residual summation, LayerNorm, Feedforward Network (FFN), Dropout, residual summation, and LayerNorm are executed sequentially. For the mode index that is opposite to the m-th mode, when hour, ;when hour, . Align the feature sequence with the common feature space events of the m-th modality. The attention output is for the m-th modality as the query. The first residual normalized hidden state is... The final output is the frame-by-frame joint representation sequence of the m-th modality. :

[0217] ,

[0218] (twenty two),

[0219] in and These are the first and second layer normalization operators for the m-th modal interaction direction, respectively. For the feedforward network in the m-th modal interaction direction; Frame-by-frame, Linear(64,128), ReLU, and Linear(128,64) are used to transform a 64-dimensional vector to 128 dimensions and then back to 64 dimensions, respectively. The feedforward network parameters and layer normalization parameters in the first and second directions are independent of each other. The dropout rate is 0.1 and is turned off during inference. , These are frame-by-frame joint representation sequences of electroencephalography (EEG) and frame-by-frame joint representation sequences of electromyography (EMG) on the neck surface, both with dimensions of [missing information]. ; , They represent the first Frame-by-frame joint characterization of EEG and frame-by-frame joint characterization of cervical surface electromyography (EMG) of 1,000 effective paired frames.

[0220] For the first The 192-dimensional joint interactive input of each effective paired frame is formed by frame-by-frame joint representation of EEG, frame-by-frame joint representation of cervical surface electromyography, and element-by-element product splicing:

[0221] (twenty three),

[0222] Both the Transformer implementation and the basic interactive implementation are passed. , When connected to a bounded interactive network, the single-modal discrimination concentration, self-information reliability, and self-information relative weights do not participate in the computational control of the above frame-by-frame joint representation.

[0223] Bounded interactive network G adopts A two-layer linear network, using ReLU in the middle and tanh at the ends. Effective paired-frame average pooling operator. right The network output of each valid paired frame is averaged, and then acquisition quality control is applied:

[0224] ,

[0225] (twenty four),

[0226] in Bounded interactive network A 192-dimensional input vector; and They are respectively First and second layer weight matrices, and These are the corresponding bias vectors. Output dimension-wise located . and These are the joint candidate path acquisition quality gating parameters for EEG modalities and cervical surface electromyography modalities, respectively. For the joint interactive features that have undergone quality control during data collection. Equation (24) is only used when... and Calculate on time; otherwise The empty set averaging is not performed. In equation (24), V is the index set of valid paired frames. Given its number of elements, The first one defined by equation (23) The 192-dimensional joint features of each valid pairing frame; summing the bounded interaction network outputs of each frame in the valid pairing frame index set and dividing by the number of valid pairing frames gives the average pooling of valid pairing frames.

[0227] The cross-modal alignment confidence gating factor β is determined according to equation (25); controlled joint interaction features Features of self-information fusion Adding them together, we obtain the brain-muscle fusion representation F according to equation (26):

[0228] (25),

[0229] (26)

[0230] Bounded interactive network G and effective paired frame average pooling make ; Represents the maximum absolute component of the vector. Cross-modal alignment reliability with fixed network output and acquisition quality. The controllable joint interaction features tend to zero as they approach zero. It is applied only once at the fusion point and is not included in the joint interaction feature. Inside.

[0231] Joint candidate path calculation enable identifier The eligibility criteria for outputting self-information paths and the eligibility criteria for outputting joint candidate paths are determined separately. And run the joint candidate path when there are valid paired frames; When not running Transformer, bounded interactive network And effective paired frame average pooling, directly let Retain those that meet the self-information participation conditions. .

[0232] Output eligibility criteria identifiers for the self-information path. ; Output eligibility criteria identifiers for joint candidate paths. ;symbol This indicates that both conditions are met simultaneously. or A value of 1 indicates that the eligibility criteria for the self-information path output or the eligibility criteria for the joint candidate path output are met, while a value of 0 indicates that they are not met. The thresholds are shown in Table 1 (continued).

[0233] The computational activation status of the joint candidate path, the cross-modal alignment confidence gating value, and the path output eligibility are used to control the joint interactive computation, feature contribution, and output determination, respectively. At that time, skip joint interactive computation, let Retain the information formed by participating in the identification. ;when At that time, according to equations (25) and (26), the joint interaction features are combined with the cross-modal alignment confidence gating quantity. Multiply once, then add to the self-information fusion feature.

[0234] when At any time, regardless Whether the condition is true or false, the process can proceed to step 7 for classification and output determination; when , and At this point, the brain-muscle fusion representation still contains gated joint interaction features and proceeds to step 7. Self-information fusion features are formed according to the self-information participation identifiers, regardless of... And reset to zero. When Refuse to recognize.

[0235] When single-mode acquisition is unavailable, The process is performed according to the self-information path of the still available modalities; when both EEG modality and cervical surface electromyography modality are unavailable, they are rejected. The running state in step 7 is determined using the corresponding probability calibration parameters and output thresholds.

[0236] Step 7: Intent Classification and Status Determination;

[0237] This step receives brain-muscle fusion representation, self-information path output eligibility criteria, and joint candidate path output eligibility criteria. When at least one of the self-information path output eligibility criteria or the joint candidate path output eligibility criteria is met, a predefined intent classification is performed. Based on the probability calibration parameters and output thresholds corresponding to the current operating state, text, symbols, voice, or control command identifiers are output, or the system enters a pending confirmation, silent, or rejection state.

[0238] Current running status Records are collected to determine availability, self-information participation, actual joint candidate path calculation activation, and eligibility for self-information path output and joint candidate path output. During inference, at least one of the self-information path output eligibility conditions or the joint candidate path output eligibility conditions must be met before the neuromuscular fusion representation is input into the final linear classification head. This is the final classifier head weight matrix. for dimensional class bias vector, Current running status The final classification probability calibration temperature, For the final classification head pair Classification probability:

[0239] (27)

[0240] in, This is the final classification probability of the fused classification head for the c-th predefined intent category; c is the index of the predefined intent category, with a value of ,in Indicates no expression category; The total number of predefined intent categories, including those without expression, and ; The brain-muscle fusion representation obtained in step 6 is d, where d is the feature dimension of the fusion representation. This is the weight matrix for the final linear classification head. This is the corresponding bias vector; This is the current running status. The temperature parameters are calibrated to determine the final classification probability for this operating state; The normalized exponential function converts the category score of the final classifier into the classification probability of each predefined intent category. The subscript c indicates that the probability is taken from the normalized probability vector corresponding to the i-th element. Components of each category. Reference The EEG monomodal auxiliary classifier, the cervical surface electromyography monomodal auxiliary classifier, and the final classification head share a common category dictionary, such as drinking, help, pain, turning over, yes, no, and no expression. During deployment, category indices are mapped to display phrases, spoken text, or permitted control command identifiers; no definitive device action is triggered until output determination is complete.

[0241] In the current running state Record whether the joint candidate path is actually computed. For , , and , Two operating states are used, each with corresponding probabilistic calibration parameters. For operating states that are practically achievable and have sufficient independent calibration data, calibration samples are constructed using a fusion formula and gating rules consistent with the inference, and the corresponding calibration parameters are determined.

[0242] During inference, if the current operating state lacks valid calibration parameters, the final classification probability and output uncertainty that depend on the calibration temperature of that state are not calculated, and no candidates to be confirmed based on that probability are generated; the system remains silent or is rejected.

[0243] in, To ultimately fuse the information entropy of the classification probabilities, the following information entropy formula is used, which is derived from the classification probabilities of each predefined intent category. Calculated; Let c be the final classification probability of the c-th category determined by formula (27), where c is the category index. The total number of predefined intent categories, including those without expression, and . and These are the highest and second highest probability values ​​in the final classification probability distribution, respectively, and the values ​​corresponding to category indices 1 and 2. , distinguish; and The non-negative weights of the information entropy term and the probability interval term for the top two numbers are respectively, satisfying the following... , and In this embodiment, each value is taken as 0.5. Output uncertainty. Calculate according to formula (28):

[0244] ,

[0245] (28)

[0246] The smaller the value of U, the more concentrated the output distribution. Current running status The direct output uncertainty threshold. When the highest probability category is no expression, remain silent; when the highest probability category is expressing intent, only when at least one of the eligibility criteria for the self-information path output or the joint candidate path output eligibility criteria is met, and the current running state has completed calibration, and... Output directly. The output uncertainty and its threshold are both... The dimensionless quantity within; the threshold is determined after the model is frozen based on the independent verification data of the current running state and the preset error output constraints.

[0247] If the current operating state has valid calibration parameters, and the direct output conditions are not met but valid candidates exist, then the display will show the one with the highest probability. One non-expression-free category candidate; The number of candidates to be displayed. For reference, take number 3. Users can confirm, reject, or restart. Candidate confirmation requires users to have corresponding eye-tracking abilities and calibrated interaction operations. If neither the self-information path nor the joint candidate path meets the output eligibility criteria, the candidate will be rejected; if a candidate cannot be confirmed, it will remain pending confirmation or rejected, and selection will not be forced.

[0248] Both the single-modal auxiliary probability and the final fusion probability are temperature-scaled using independent calibration data, with the temperature determined by minimizing the negative log-likelihood. The final model is frozen at a temperature determined according to its running state, and an output threshold is set based on independent validation data; automatic direct output is disabled for uncalibrated or insufficiently validated models. The second-stage training uses the probability at temperature 1; in the third stage, the self-information participation identifier, self-information relative weights, and self-information fusion amplitude control are recalculated based on the determined auxiliary temperature. The final classification head still uses temperature 1 before calibration, and training samples are not filtered out based on output eligibility or calibration status.

[0249] Step 8: Confirmation with electrooculography (EOG) assistance;

[0250] Electrooculography (EOG) serves as the second-stage interactive confirmation channel. The input consists of valid candidates obtained from the initial brain muscle classification and the user's eye movement actions. The output consists of the candidate selected by the user, rejection, or exit status.

[0251] EOG serves only as a second-stage interactive confirmation channel, opening the confirmation window after the initial classification of the current brain muscle segment. Left and right saccades are switched as candidates; calibrated active long blinks are confirmed, while double active blinks are rejected; amplitude, duration, and double event interval are calibrated according to user operation. The eye movement amplitude threshold is denoted as... The unit is microvolt; the operation duration threshold is denoted as The boundary between two events is denoted as Confirmation timeout limit is recorded as The latter three parameters are all in seconds, and the specific parameters are determined by the user's independent eye-tracking calibration. See Table 1 (continued) for reference configuration. Confirmation is not enabled when it is impossible to distinguish between active operation and spontaneous blinking. Confirmation intent is not output when there is a timeout, operation abnormality, or rejection.

[0252] The EOG during the confirmation period is not included in the current brain-muscle semantic fusion, nor is it used as the ground truth for training that segment. If there is no correct intent among the candidates, rejection, exit, or restart is allowed, and the model's initial classification and user confirmation results are recorded respectively.

[0253] Step 9: Model training methods;

[0254] This step uses training clips with intent labels and acquisition validity markers to determine the encoder, interaction network, and classifier parameters; when using learned event detection, event labels with source and supervision masks are also used. The trained model and calibration parameters are used for intent classification and output determination in the preceding steps.

[0255] Training data includes EEG, EMG, timestamps, validity markers, and intent labels for the same segment; learning-based event detection also requires EEG event labels and neck surface electromyography event labels. Data is divided into training, calibration, and validation sets based on complete segments, avoiding overlapping segments across sets, and retaining test data without participating in parameter selection.

[0256] The training sample number. For the first Intent labels for each training sample; For at least one modality acquisition is available and the intent label is reliable, there is a set of training sample indices. for Collect available samples—a set of modal pairs. For the first The final classification head of the training samples identifies the true intent category. The probability, For the first The m-th modality-assisted classifier on the training samples identifies the true intent category. The probability of; To integrate classification losses, For single-modal auxiliary classification loss:

[0257] (29)

[0258] (30)

[0259] The set is determined by the collection and label validity. Valid joint samples are deleted if the concentration is not determined by single modality, or if the eligibility criteria for outputting self-information paths or joint candidate paths are not used. The loss corresponding to an empty set is zero.

[0260] In learning-based event detection, For the m-th modality, there is a set of valid sample-frame indexes with reliable event labels. For the first The event or non-event category label of a sample in the m-th modality of the n-th frame; This represents the predicted probability of the label by the corresponding event detector. Let the event detection loss be for the m-th modality. and The event detection losses were for the EEG modality and the cervical surface electromyography modality, respectively. The sum of the detection losses for the two modal events. Total training loss:

[0261] (31),

[0262] (32),

[0263] in and These are the auxiliary classification loss weights and the event detection loss weights, respectively, both of which are non-negative. Unknown labeled frames do not participate in the event detection loss. When the set is empty, the event detection loss is zero, and the empty set averaging is not performed; when using continuous threshold-crossing event detection... Equation (32) is a summary of the loss term notation. When using a learning-based detection method, the event detector is trained using only event supervision in the first stage; in the second and third stages, the event detector is frozen, the event loss weight is reset to 0, and the event supervision loss is not used to update the frozen detector.

[0264] Training consists of three phases. The first phase calibrates the rule parameters or trains independent event detectors, fixing the detectors and their input transformations. The second phase fixes the event detection results and jointly trains the EEG TCN, cervical surface electromyography TCN, common spatial projection, Transformer, bounded interactive network G, unimodal auxiliary classifier, and the final classification head, employing a fusion classification loss and a unimodal auxiliary classification loss. Discrete anchor point selection, mapping parameters, and paired masks are also considered. The quality of the data is hard-judged and the gating control is used to stop the gradient; the Transformer gradient is transmitted to the main encoder through effective alignment features and fixed interpolation weights.

[0265] The third stage determines the temperature parameters for the single-modal auxiliary classification probability, recalculates the single-modal discrimination concentration, self-information participation state, self-information relative weight, and amplitude control, and fine-tunes the cross-modal interaction network and the final fusion classification head on the training data. Subsequently, all models are frozen, and for operational states that are practically achievable and have sufficient independent calibration data, the final probability calibration parameters and output thresholds are determined according to step 7. Training and inference use the same feature interface, event rules, and masking relationships, and calibration samples cover the fusion path and continuous gating value distribution actually used in the corresponding operational state. A calculation activation flag is added to the operational state. After using this as a distinguishing dimension, the correspondence between the original calibration parameters and the new operating state should be verified. Only parameters that have been verified to be valid can be reused.

[0266] Training can utilize noise injection, channel masking, or time-lapse enhancement. After enhancement, quality, valid frames, and event mapping are recalculated. Occluded events are not included in the supervision. Both EEG and cervical surface EMG modal samples are collected only to check for rejected branches and do not forge valid joint inputs.

[0267] One implementation employs the Adam adaptive moment estimation optimizer, where the learning rate, batch size, and number of training epochs are determined based on validation data. Upon deployment, the model, normalized statistics, event parameters, temperature parameters, output thresholds, and category dictionary are saved.

[0268] Example Flowchart: Taking "drinking water" from the original category dictionary as an example of the intent to be identified, according to... Figure 1 Acquire 16-channel EEG and 4-channel cervical surface electromyography; Press Figure 6 A 96-dimensional and a 20-dimensional network input were formed, and after linear transformation and two layers of TCN, 64-dimensional EEG temporal features and neck surface electromyography temporal features were obtained, respectively. Figure 2 The aforementioned original anchor point example corresponds to a neck surface electromyography time of 0.68s at an EEG query time of 0.50s; only when time synchronization, the number of effective paired frames, and the continuous effective time span simultaneously satisfy the conditions in step 3 can it be considered that... .according to Figure 3Based on actual data collection records and single-modal classification probabilities, the collection quality and self-information reliability are calculated to form self-information fusion features. When the joint candidate path meets the calculation activation conditions, joint interaction features controlled by collection quality are formed and cross-modal alignment reliability gating is applied. Figure 4 , Figure 5 The processor classifies the brain-muscle fusion representation; if the highest probability intent is "drinking water" and the current operating state has been calibrated and meets the output threshold, the corresponding text, voice, or control command identifier is sent; otherwise, it proceeds to step 7 to enter the pending confirmation, silent, or rejection state. The above embodiment illustrates the processing of EEG and cervical surface electromyography signals from timing encoding, event alignment, feature fusion to output determination.

[0269] This embodiment also provides a system, electronic device, and storage medium: see [link / reference] Figure 4 and Figure 5 The system executes the above methods in a modular manner, and the electronic device provides interfaces for program storage, physiological signal acquisition, and result output.

[0270] See Figure 4 The system includes a physiological signal acquisition module, a feature and event extraction module, an event correspondence and alignment module, a quality and self-information reliability module, a hierarchical gating module, an intent decoding and output module, and an optional electrooculography (EOG) interaction module. Each module executes the corresponding steps of the aforementioned methods. The physiological signal acquisition module provides acquisition records to the quality and self-information reliability module; the feature and event extraction module provides EEG event time anchors, neck surface electromyography (EMG) event time anchors and EEG temporal features, and neck surface EMG temporal features to the event correspondence and alignment module, and provides effective encoding and self-information representation to the quality and self-information reliability module. The hierarchical gating module simultaneously receives the original timeline representation, event alignment features, acquisition quality, time mapping validity identifier, and cross-modal alignment reliability.

[0271] The hierarchical gating module includes self-information fusion, joint candidate path cross-modal interaction, bounded interaction network, and cross-modal alignment credibility gating, which respectively execute the self-information fusion feature calculation, joint candidate path calculation enable judgment, joint interaction feature calculation, and controlled joint interaction feature calculation in step 6. The input and output of the Transformer implementation follow the interface of step 6. Figure 4 After the initial brain muscle classification, the intention decoding and output module sends the candidates to be confirmed to the electrooculography (EOG) interaction module; the EOG interaction module returns the confirmation, rejection or switching result, only updates the output status, and does not enter the temporal coding, event mapping or initial semantic fusion.

[0272] See Figure 5The electronic device includes a processor, a memory, a physiological signal acquisition interface, and a result output interface. The memory stores the program, model, and calibration parameters; the physiological signal acquisition interface receives electroencephalogram (EEG) signals, neck surface electromyography (EMG) signals, and corresponding timestamps; when configuring the EEG interaction module, it also receives EEG signals. The processor executes the aforementioned method, and the result output interface sends intent identifiers or status information to a display terminal, speech synthesis device, or external control device. The acquisition interface transmits data to the processor, and the processor and memory exchange programs, models, and parameters bidirectionally. The processor transmits confirmed intent or status information to the result output interface; the display terminal, speech synthesis device, and external control device are optional output destination devices and are not required to be present simultaneously.

[0273] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the aforementioned method.

[0274] The technical solution of the present invention has been described above with reference to the accompanying drawings and specific embodiments, including brain-muscle event temporal mapping, cross-modal alignment reliability calculation, fusion of self-information paths and joint candidate paths, and intent classification and output determination. Those skilled in the art can make adaptive adjustments to the implementation configuration according to specific acquisition devices and application tasks. The scope of protection involved in the relevant embodiments and their equivalent substitutions is determined by the claims.

Claims

1. A method for brain-muscle coordinated silent communication, characterized in that, Includes the following steps: Step S1: Obtain EEG signals, cervical surface electromyography (EMG) signals, and timestamps during the user's execution of a predefined silent articulation or attempt to articulate task. Mark the acquisition availability status according to the EEG acquisition channel, cervical surface EMG acquisition channel, and time interval. Obtain the EEG temporal features and cervical surface EMG temporal features respectively, and obtain the EEG event time anchor point and cervical surface EMG event time anchor point. Step S2: Form candidate anchor point pairs by combining EEG event time anchor points with neck surface electromyography event time anchor points according to the same event category. Before screening, evaluate the dual time axis sequence consistency of the candidate anchor point pairs, select at least two pairs of event anchor point pairs that satisfy the dual time axis monotonicity constraint, establish the EEG time mapping of event anchor point constraint, form event alignment features, and determine cross-modal alignment credibility. Step S3: Set self-information paths and joint candidate paths to form self-information fusion features and controlled joint interaction features, and combine them to obtain brain-muscle fusion representation. Step S4: Determine the eligibility criteria for outputting the self-information path based on the self-information participation status and the self-information fusion amplitude; determine the eligibility criteria for outputting the joint candidate path based on the available acquisition status of EEG signals and cervical surface electromyography signals, the effective status of the brain-muscle time mapping constrained by event anchor points, and the cross-modal alignment credibility. The current operating state is determined based on the self-information participation state and the actual calculation activation state of the joint candidate path. When at least one of the self-information path output qualification conditions and the joint candidate path output qualification conditions is met, the brain-muscle fusion representation is predefined into an intent classification, and output is determined based on the probability calibration parameters and output thresholds pre-determined for the current operating state. The output is text, symbol, voice or control command identifier, or the system enters a pending confirmation, silent or rejection state.

2. The method according to claim 1, characterized in that, Step S1 includes: the neck surface electromyography acquisition channel is set at a position that can record the surface electromyography activity of the subchinal or anterior neck region during the user's performance of a task; Feature extraction and temporal coding of EEG signals and cervical surface electromyography (EMG) signals are performed according to preset time windows to obtain EEG temporal features and cervical surface EMG temporal features. Predefined expressed events are then detected based on the detection features extracted from EEG signals and cervical surface EMG signals to obtain EEG event time anchors and cervical surface EMG event time anchors. Expression initiation and expression termination events are set as basic event categories, and maintenance termination events that can be independently defined and verified are used as optional intermediate events. Based on the frequency band power detection features extracted from EEG signals and the root mean square envelope detection features extracted from cervical surface electromyography (EMG) signals, activity scores are calculated and continuous threshold detection is performed on the frequency band power detection features and the root mean square envelope detection features, respectively. Alternatively, the normalized frame features and effective channel bits of EEG signals are input into an EEG event detector trained separately for EEG modalities, and the normalized frame features and effective channel bits of cervical surface EMG signals are input into a cervical surface EMG event detector trained separately for cervical surface EMG modalities to determine the EEG event time anchor points and cervical surface EMG event time anchor points. The maintenance end event is the time point after the expression starts and before the expression ends, when the activity score begins to continuously decrease, and the activity score is still higher than the termination threshold when the activity score ends; the expression termination event is the time point after the expression starts when the activity score decreases below the termination threshold and continues to decrease for a preset duration. The termination threshold is predetermined based on independently calibrated resting data; for a continuous activity decline process that occurs after expression initiation within the same task segment, the time anchor points of the maintenance end event and the expression termination event are recorded separately only when the maintenance end event and the expression termination event have independently identifiable event boundaries. When using continuous threshold detection, the non-negative margin of the expression start event is determined based on the degree to which the activity score exceeds the start threshold, and the non-negative margin of the expression termination event is determined based on the degree to which the termination threshold exceeds the activity score. Only when the threshold-crossing state continuously reaches the preset duration and the detection frames within the threshold-crossing state duration meet the valid frame conditions, is the expression start event time anchor point or expression termination event time anchor point that meets the continuous threshold-crossing condition confirmed; otherwise, the expression event time anchor point that does not meet the continuous threshold-crossing condition remains missing.

3. The method according to claim 2, characterized in that, In step S2, anchor subsequences are selected from candidate anchor pairs that are increasing on both the EEG time axis and the cervical surface electromyography time axis, satisfy the dual time axis monotonicity constraint, and include at least two pairs of valid anchor pairs including expression initiation and expression termination. Each pair of anchors in the anchor subsequence is called the selected anchor pair. An EEG time mapping with event anchor constraints is established based on the selected anchor pairs, and event alignment features are formed based on the EEG time mapping. Cross-modal alignment confidence is determined based on event detection confidence, dual time axis sequence consistency of candidate anchor pairs before screening, stability of local time delay changes between adjacent selected anchor pairs, and candidate anchor pair retention rate. The mapping construction process involves constructing a piecewise linear time mapping for the event anchor point constraint. Within the interval defined by adjacent selected anchor point pairs, an affine mapping is used. Specifically, this includes: mapping the EEG event time anchor points and cervical surface electromyography event time anchor points obtained in step S1 according to the same event category to form candidate anchor point pairs; retaining the candidate anchor point pairs and their sequential consistency evaluation results before screening; the dual-time-axis monotonic constraint refers to selecting anchor point sub-sequences that are increasing on both the EEG time axis and the cervical surface electromyography time axis from the candidate anchor point pairs; the selected anchor point sub-sequences also need to satisfy the minimum time interval constraint and the constraint that the local mapping slope of adjacent intervals is within a preset positive range, and include candidate anchor point pairs expressing initiation events and candidate anchor point pairs expressing termination events. Let the number of anchor pairs contained in the anchor subsequence be . ,in , No. The time of the EEG event time anchor in each selected anchor pair is... , No. The time of the neck surface electromyography event time anchor in each selected anchor point pair is: , No. The brain muscle delay of each selected anchor point pair is For query time on the EEG timeline ,when At that time, in the k-th pair and the th Establish a piecewise linear time mapping from the EEG time axis to the cervical surface electromyography time axis within the defined interval for adjacent selected anchor point pairs: , in For query time on the EEG timeline The corresponding surface electromyography time of the neck, The interval number of adjacent anchor points. ; Perform feature pairing and interpolation: According to the piecewise linear time mapping, perform time pairing between the EEG temporal features obtained in step S1 and the neck surface electromyography (EMG) temporal features: obtain the corresponding EEG temporal features at the query time t, and perform time pairing between the EEG and neck surface EMG temporal features. Interpolation is performed on the temporal features of surface electromyography in the neck to form event-aligned features; only during query time. A valid pair is formed when the corresponding EEG temporal feature frame is valid within the coverage area of ​​the anchor sub-sequence, the cervical surface electromyography temporal feature frame used for cervical surface electromyography temporal feature interpolation is valid, the interpolation endpoint is located within the current anchor interval, and the time gap does not exceed the preset maximum interpolation gap. After completing the mapping construction, feature pairing, and interpolation, the final valid identifier of the time mapping is determined based on the effective pairing results. : Let only when at least two selected anchor pairs, including expression initiation and expression termination events, satisfy the constraints that both the EEG time axis and the cervical surface electromyography time axis are increasing, the time interval between adjacent anchor points is not less than a preset minimum time interval, and the local mapping slope of adjacent intervals is within a preset positive range, and the EEG signal and the cervical surface electromyography signal are time-synchronized and effective, and the number of effective paired frames and the continuous effective time span meet preset conditions, let This indicates that the piecewise linear time mapping is valid; otherwise, let This indicates that the piecewise linear time mapping is invalid and the joint candidate path is not enabled.

4. The method according to claim 3, characterized in that, In step S2, determining cross-modal alignment reliability includes: for the same task segment corresponding to a user performing a predefined silent articulation or attempting articulation task, before filtering candidate anchor pairs according to the dual-timeline monotonic constraints, the reliability is determined based on the categories of expression initiation, expression termination, and maintenance termination events at the time of activation. For candidate anchor pairs in Calculate the consistency of the dual time axis sequence: , in, To ensure consistency of the dual timeline order for screening candidate anchor point pairs, To filter the number of candidate anchor pairs, and To filter the sequence numbers of the previous candidate anchor pairs, For the first The timing of pre-screening candidate anchor points relative to EEG event time anchor points. For the first The timing of pre-screening candidate anchor points relative to EEG event time anchor points. For the first The timing of electromyographic events on the mid-neck surface was compared with that of the candidate anchor points before screening. For the first The timing of electromyographic events on the mid-neck surface was compared with that of the candidate anchor points before screening. This is a conditional indicator function; it takes the value 1 if the condition is true, and 0 otherwise; it is only valid for mappings and The anchor subsequence is used to calculate the event detection confidence summation based on the detection confidence of each selected anchor pair for EEG event time anchors and cervical surface electromyography event time anchors. : , in, For the first The detection confidence of the EEG event time anchor points in the selected anchor point pairs. For the first Detection confidence of the neck surface electromyography event time anchor point in each selected anchor point pair; Calculate the stability of local time delay changes based on the brain muscle time delay changes between adjacent selected anchor point pairs: , in, For the stability of local brain muscle time delay changes, This represents the threshold for the allowable brain muscle time delay variation in the k-th adjacent anchor point interval. The scaling parameter for the penalty of brain muscle time delay variation is exp, which represents the natural exponential function. When the time mapping is valid At that time, the cross-modal alignment confidence between EEG and cervical surface electromyography was determined according to the following formula. : , in, For candidate anchor pair retention rate, , and These are the positive weighted indices corresponding to the event detection confidence summary, dual time axis sequence consistency, and local latency change stability, respectively. For event detection confidence summation; To ensure consistency of the dual time axis order in screening candidate anchor point pairs; For the stability of local brain muscle time delay changes; when At that time, let the cross-modal alignment confidence level be... The retention rate of candidate anchor pairs, the sum of confidence levels for event detection, and the stability of local brain muscle time delay changes are not calculated; when piecewise linear time mapping is effective .

5. The method according to claim 4, characterized in that, Step S3 includes: The acquisition quality of each modality is determined based on the acquisition records of EEG and cervical surface electromyography (EMG) modalities. The single-modality discrimination concentration is determined based on the single-modality auxiliary classification probability. The self-information reliability and self-information participation status are determined based on the acquisition quality and single-modality discrimination concentration. The relative weights and fusion amplitude of self-information are determined based on the self-information reliability of each modality participating in self-information fusion, forming self-information fusion features. A joint candidate path is set. When both EEG and cervical surface EMG signals are available and the brain-muscle time mapping constrained by the event anchor point in step S2 is effective, the event alignment features are input into the joint candidate path for cross-modal interaction. A joint interaction feature is formed based on the acquisition quality of the EEG and cervical surface EMG modalities. The contribution of the joint interaction feature is continuously controlled by the cross-modal alignment reliability to obtain controlled joint interaction features. The self-information fusion features are combined with the controlled joint interaction features to obtain a brain-muscle fusion representation. For EEG modalities and cervical surface electromyography modalities, in multiplexing step S1, based on the acquisition availability status formed by the acquisition channels and time intervals, data corresponding to missing acquisitions, signal loss in device status indicators, and continuous saturation are marked as invalid. The remaining number of valid acquisition channels, the number of valid encoded frames, and the continuous valid time span are checked respectively. For any modality, when the number of valid acquisition channels, the number of valid encoded frames, and the continuous valid time span of the checked modality all reach a preset lower limit, the checked modality is determined to meet the modality's valid input conditions; otherwise, the checked modality is simply determined to be unavailable for acquisition. When cross-modal time synchronization fails, the time mapping validity flag is set to 0. For modes that meet the effective input conditions, data continuity, unsaturation ratio, and power frequency interference quality are respectively defined as in-phase quality components. , and The calculation formula is: , , , in, , and The first The number of samples that should have been received, the number of samples actually received, and the number of samples that were saturated for each modality-preserving acquisition channel within the observation segment. This represents the proportion of power near the power frequency to the total power of the corresponding monitoring frequency band before notch filtering and task frequency band filtering. and To pre-define the normalization reference limit and ;clip is a cutoff function that restricts values ​​to a given upper and lower limit, and max is a function that takes the maximum value; the acquisition quality is obtained by weighting the values ​​according to preset non-negative weights that sum to 1. , in, For mass components, For component index, For normalized weights; The self-information representation of the m-th modality is input into the corresponding single-modality auxiliary classifier to obtain the classification score for each predefined intent category. Temperature scaling and probability normalization are then performed using temperature parameters determined by independent calibration data to obtain the m-th modality. The modality pair of the first Single-modal classification probability of a class And determine the first according to the following formula Single-modal discrimination concentration of each modality : , Where m is the modality index. Indicates EEG modality, This represents the electromyographic modality of the neck surface; c is a predefined intent category index. Indicates no expression category; The total number of predefined intent categories, including those without expression, and .

6. The method according to claim 5, characterized in that, Step S3 also includes: Self-information refers to the single-modal representation information of EEG modalities and cervical surface electromyography modalities, formed based on their own original timeline temporal features and without cross-modal temporal pairing and cross-modal interaction; Indicates the first The acquisition availability identifier for each modality, when acquisition is available. ,otherwise The number is determined according to the following formula. Self-information reliability of each modality Self-information participation identifier and participation in the reliability of self-information : , , , in, and These are the positive exponential parameters corresponding to acquisition quality and single-mode discrimination concentration, respectively. The threshold for self-information participation reliability is given, and The self-information participation markers of the EEG modality and the self-information participation markers of the cervical surface electromyography modality are respectively denoted as... , The reliability of self-information involved in EEG modalities and the reliability of self-information involved in cervical surface electromyography modalities are denoted as follows: , ; when At that time, the self-information fusion features are determined according to the following formula. : , , , in, For the first The self-information relative weights of each modality, where v is the modality index in the weighted normalized summation. The weighted normalization stability constant, For the self-information fusion amplitude control quantity, and These are the original time-axis self-information representation vectors of the EEG modality and the original time-axis self-information representation vectors of the cervical surface electromyography modality, respectively; when season Self-information relative weight normalization is not performed; the self-information relative weights of the EEG modality and the cervical surface electromyography modality are respectively and ; The activation flag for joint candidate path calculation is determined according to the following formula. and the Joint candidate path acquisition quality gating quantity for each modality : , , in, To collect the positive exponential parameters of quality in the joint candidate paths; Indicates that EEG modality acquisition is available; Indicates that a marker is available for acquiring electromyographic modal data on the neck surface; when Then, the event alignment features obtained in step S2 are subjected to joint candidate path processing to obtain the first... Frame-by-frame joint EEG representation of each effective paired frame Combined frame-by-frame characterization with surface electromyography of the neck The joint interaction features, after quality control, are obtained according to the following formula. : , in, To ensure effective pairing of frame sequence numbers, This represents vector concatenation. Represents element-wise multiplication, G is a bounded interaction network, and the effective paired frame average pooling operator. This represents the average output of the bounded interaction network across all valid paired frames; the joint candidate path acquisition quality gating parameters for EEG modality and cervical surface electromyography modality are respectively... and ; The brain-muscle fusion characterization F is obtained according to the following formula: , , in, The reliability of the cross-modal alignment between EEG and cervical surface electromyography determined in step S2. ; For the positive exponential parameter of cross-modal alignment reliability gating, ; For cross-modal alignment reliability gating quantity, according to Sure; For the joint interactive features that have undergone quality control during collection, For controlled joint interaction features; when At that time, skip joint interactive computation and let When forming a brain-muscle fusion representation, the cross-modal alignment confidence gating quantity is multiplied once by the joint interaction feature to obtain the controlled joint interaction feature, which is then added to the self-information fusion feature. The joint candidate path includes a cross-modal Transformer interaction module; When the joint candidate path calculation is enabled flag When a valid pairing frame exists, the cross-modal Transformer interaction module receives EEG event alignment timing features and neck surface electromyography event alignment timing features. Cross-modal attention calculation in the first direction is performed using EEG event-aligned temporal features as queries and cervical surface electromyography event-aligned temporal features as keys and values. Cross-modal attention calculation in the second direction is performed using cervical surface electromyography event-aligned temporal features as queries and EEG event-aligned temporal features as keys and values. The outputs of the first-direction cross-modal attention calculation and the second-direction cross-modal attention calculation are processed by residual connection, normalization, and feedforward network respectively to obtain the frame-by-frame joint EEG representation. Combined frame-by-frame characterization with surface electromyography of the neck The joint interaction features are obtained sequentially through a bounded interaction network G, effective paired frame average pooling, and acquisition quality gating. Then, the joint interaction features are multiplied once by the cross-modal alignment confidence gating factor to obtain the controlled joint interaction features. ; Invalid paired frames are masked during cross-modal attention computation and average pooling, when The time-spanning modal Transformer interaction module does not perform any operations.

7. The method according to claim 6, characterized in that, Step S4 includes: determining the calculation activation conditions and output eligibility conditions for joint candidate paths respectively; when the calculation activation conditions for joint candidate paths are met but the output eligibility conditions are not met, the contribution of joint interaction features with continuously decaying cross-modal alignment confidence is still retained; when the output eligibility conditions for joint candidate paths are met, even if the output eligibility conditions for self-information paths are not met, the brain-muscle fusion representation is allowed to enter subsequent classification and output determination; the current operating state is determined based on the acquisition availability status of EEG modality and cervical surface electromyography modality, the self-information participation status, the actual calculation activation status of joint candidate paths, and the fulfillment status of self-information path output eligibility conditions and joint candidate path output eligibility conditions. Eligibility criteria for outputting information paths and joint candidate path output eligibility criteria They are respectively: , , in, The self-information path amplitude threshold, The joint candidate path cross-modal alignment confidence threshold; conditional indicator function. Take 0 or 1, This indicates that both conditions are met simultaneously; and The joint interaction features are multiplied by the cross-modal alignment confidence gating factor, and then added to the self-information fusion features to obtain the brain-muscle fusion representation; the current running state record is used to calculate the activation flag for the joint candidate path. and self-information path output eligibility and joint candidate path output eligibility, and or The output decision is allowed only if at least one condition is met.

8. A brain-muscle coordinated silent communication system based on the method described in any one of claims 1 to 7, characterized in that, Includes the following modules: The physiological signal acquisition module is used to acquire EEG signals, cervical surface electromyography signals and corresponding timestamps during the user's execution of a predefined silent articulation or attempt to articulate task, and to form an acquisition availability status according to the EEG acquisition channel, cervical surface electromyography acquisition channel and time interval. The feature and event extraction module is used to generate EEG temporal features and cervical surface electromyography temporal features, and obtain EEG event time anchors, cervical surface electromyography event time anchors and corresponding event detection confidence scores, respectively. The event mapping and alignment module is used to form candidate anchor pairs according to the same event category. Before screening candidate anchor pairs, it evaluates the consistency of the dual time axis order of the candidate anchor pairs, selects anchor subsequences that satisfy the dual time axis monotonicity constraint and contain at least two pairs of valid anchors, establishes a neuromuscular time mapping of event anchor constraints and forms event alignment features, and determines the valid identifier of the time mapping after forming valid pairings. The cross-modal alignment reliability was determined based on the detection confidence of EEG event time anchors and neck surface electromyography event time anchors, the consistency of the dual time axis order of candidate anchor pairs before screening, the stability of local brain muscle time delay changes between adjacent selected anchor pairs, and the retention rate of candidate anchor pairs. ; The quality and self-information reliability module is used to reuse the acquisition records from the physiological signal acquisition module, and determines the final acquisition usability and acquisition quality of the EEG modality and neck surface electromyography modality by combining the effective frames and quality validity requirements. Single-mode discrimination concentration Self-information reliability and self-information participation identifier; The hierarchical gating module is used to form self-information fusion features based on self-information reliability and self-information participation identifiers. The joint candidate path is determined and the activation flag is calculated based on the available status of the collected data and the valid identifiers of the time mapping. The event alignment features are combined with cross-modal interaction, effective paired frame average pooling, and acquisition quality gating to form joint interactive features. And based on cross-modal alignment reliability Formation of controlled joint interaction features Among them, single-mode discrimination concentration The joint candidate path calculation activation flag or the joint candidate path acquisition quality gating value is not involved in the determination of the joint candidate path calculation activation flag; the joint candidate path calculation activation is determined by the product of the EEG acquisition available flag, the neck surface EMG acquisition available flag, and the time-mapping effective flag; the joint interaction feature is multiplied once by the cross-modal alignment confidence gating value to obtain the controlled joint interaction feature, and then added to the self-information fusion feature; the joint candidate path independent output qualification does not reversely close the calculation of the already activated joint candidate path; among which, the cross-modal alignment confidence gating value , It is a positive exponential parameter; The intent decoding and output module is used to fuse self-information features. Controlled joint interaction features Combining to form brain-muscle fusion representation When at least one of the self-information path output eligibility conditions or the joint candidate path output eligibility conditions is met, the brain-muscle fusion representation is... Perform predefined intent classification, and output text, symbols, voice or control command identifiers based on the self-information path output qualification conditions, joint candidate path output qualification conditions and the current running state including the actual calculation activation status of the joint candidate path, or enter a pending confirmation, silent or rejection state; the current running state records the actual calculation activation status of the joint candidate path; when the joint candidate path calculation is not enabled, the joint interaction feature is set to zero and the self-information fusion feature formed by the self-information participation identifier, the self-information relative weight and the self-information fusion amplitude control amount is retained.

9. An electronic device, characterized in that, Includes a processor, memory, physiological signal acquisition interface, and result output interface; The memory stores a computer program, and the processor executes the computer program to implement the method as described in any one of claims 1 to 7; The physiological signal acquisition interface is used to receive electroencephalogram (EEG) signals, cervical surface electromyography (EMG) signals and corresponding timestamps, and the result output interface is used to send intent identifiers or status information to a display terminal, speech synthesis device or external control device.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.