Motion state classification method and device, electronic equipment and storage medium

Through empirical mode decomposition and OVR-CSP algorithm filtering, combined with Transformer's multi-task learning network model, the problem of low feature correlation and inaccurate classification results in sports state classification is solved, achieving more accurate sports state classification and different athletes. Recognition of differences.

CN118787343AInactive Publication Date: 2024-10-18WUHAN XINQI MEDICAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410914151.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The features extracted by existing sports state classification methods have low correlation, the classification task is single, the classification results are inaccurate, it is difficult to accurately locate the specific brain areas where brain activity occurs, and it cannot reflect the differences between different athletes.

Method used

Empirical mode decomposition and OVR-CSP algorithms are used to filter EEG signals, combined with Transformer's multi-task learning network model, to extract features through self-attention mechanism and multi-head attention mechanism to achieve more accurate motion state classification.

Benefits of technology

It effectively eliminates noise and interference, improves the accuracy of time-frequency representation of signals, and can adaptively classify different sports states and athletes' characteristics to improve classification accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118787343A_ABST
    Figure CN118787343A_ABST
Patent Text Reader

Abstract

The invention discloses a motion state classification method and device, electronic equipment and a storage medium, and belongs to the technical field of electroencephalogram signal processing. The method comprises the following steps: performing empirical mode decomposition on an original electroencephalogram signal to obtain # imgabs 0 # decomposition components, filtering decomposition components which do not meet a preset frequency range, and filtering to obtain # imgabs 1 # decomposition components # imgabs 2 #; performing linear transformation on the decomposition component # imgabs3 # through an OVR-CSP algorithm to obtain an electroencephalogram signal # imgabs4 # subjected to decomposition filtering and spatial filtering; inputting each vector in the electroencephalogram signal # imgabs5 # into a multi-task learning network model based on Transform to obtain a multi-task classification result; wherein the multi-task learning network model based on the Transformer comprises an encoder and a # imgabs6 decoder, the # imgabs7 decoder shares one self-attention value, and the # imgabs8 decoder represents the number of tasks. Therefore, the information of the electroencephalogram signals in the decomposition domain and the spatial domain can be extracted at the same time, and specific task flows can be adopted according to different conditions, so that a more accurate classification effect is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electroencephalogram signal processing, and more specifically, relates to a motion state classification method, device, electronic equipment and storage medium. Background Art

[0002] Sports state recognition refers to judging the movement state of the human body through information (such as biological signals) analysis and processing. In daily life, sports state recognition is widely used. By monitoring the movement state of an individual, health status, exercise ability and physical adaptability can be evaluated, which is very important for rehabilitation, sports training and health management. Involving training state monitoring in sports training practice can accelerate the scientific process of sports training, avoid the harm to the body caused by factors such as excessive fatigue and lack of concentration, and improve the pertinence and effectiveness of sports training. Electroencephalogram is an objective reflection of brain physiological characteristics. Through the oscillation characteristics of electroencephalogram, information such as brain self-organization state and neurotransmitter activity level can be obtained to evaluate brain function. Studies have found that in the field of sports, the brain function state of athletes has an important impact on their reaction ability, body control ability, explosive power, endurance and other aspects. Therefore, EEG signals are increasingly attracting the attention of many scholars in the field of sports state evaluation and monitoring.

[0003] The EEG signals generated by the complex rhythmic activities of the human body have a wide frequency band, many types and fuzzy boundaries. If they are intercepted strictly according to experience, information loss may occur. In addition, human body structure and noise interference will also affect signal acquisition. Factors such as the external environment and body movement during exercise may cause artifacts, making it difficult to clearly analyze EEG signals. In addition, in traditional decomposition domain denoising algorithms based on iterative optimization, such as variational mode decomposition algorithms and their variants, the signals are greatly affected by given prior parameters, convergence tolerance, etc., making it difficult to obtain accurate time-frequency representation.

[0004] In the field of sports science, the classification of sports states can be initially divided into the state of rest, the general state under load, the good state, the optimal state, the tense state, the state after fatigue, the state of overtraining, the state of injury, etc. However, due to the diversity and differences of influencing factors, ignoring these variables and only classifying the sports state may have a great impact on the accuracy. For example, EEG signal acquisition equipment can collect multi-channel signals. These multi-channel signals contain rich spatiotemporal information, and the signals of different channels may correspond to the activation states of different neural tissues and may be related to the sports state. Current research is difficult to accurately locate the specific brain areas where brain activity occurs, and it is impossible to reflect the differences between excellent athletes and ordinary normal people, between athletes of different levels, and even between athletes of different genders. Summary of the invention

[0005] In view of the defects of the prior art and the need for improvement, the present invention provides a motion state classification method, device, electronic device and storage medium, aiming to solve the technical problems of low correlation of features extracted by the existing motion state classification method, single classification task and inaccurate classification results.

[0006] To achieve the above object, in a first aspect, the present invention provides a motion state classification method, the method comprising: The original EEG signal is obtained by empirical mode decomposition decomposition components; Calculate separately The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ; The decomposed components are analyzed by OVR-CSP algorithm. Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering ; The EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain a multi-task classification result; wherein the Transformer-based multi-task learning network model includes an encoder and decoder, the The decoders share a self-attention value, Indicates the number of tasks.

[0007] Furthermore, the respective calculations The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ,include: Respectively The decomposed components are Hilbert transformed and the average value of their instantaneous frequencies is calculated. The decomposed components that do not meet the preset frequency range are filtered out. After filtering, Decomposition Components .

[0008] Furthermore, the preset frequency range is 0.5-50 Hz.

[0009] Furthermore, the EEG signal It is expressed as: in, For the The EEG signal of is the output after spatial filtering, is the transpose operator, express The weights of the classification filters, A filter matrix representing one class relative to other classes; By solving the following eigenvalue decomposition problem: in, It is The signal type The covariance matrix after component filtering is Indicates that it contains Diagonal matrix of eigenvalues.

[0010] Furthermore, the The self-attention value shared by the decoders is obtained as follows: Select one of the multiple tasks as a reference task , using the reference task The decoder input calculates the query vector, key vector and value vector, thus obtaining the reference task The self-attention value is used as The self-attention value shared by all decoders.

[0011] Furthermore, the reference task The self-attention value It is expressed as: in, , Represent the reference tasks The query vector and key vector of represents the transpose operator, Indicates the number of channels, Indicates bias.

[0012] Furthermore, in multi-task learning, the dataset , Represents brain electrical signal No. samples, Indicates the corresponding label, Indicates the number of tasks; The goal of multi-task learning is to find a mapping Each task Map to On, it is expressed as: The overall loss function is defined as: in, is the overall loss function, It is The loss function of each task is It is The weight of the task, .

[0013] In a second aspect, the present invention provides a motion state classification device, the device comprising: The decomposition and filtering module is used to obtain the original EEG signal through empirical mode decomposition. decomposed components; and calculate The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ; Spatial filtering module, used to decompose components through OVR-CSP algorithm Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering ; A classification module is used to classify the EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain a multi-task classification result; wherein the Transformer-based multi-task learning network model includes an encoder and decoder, the The decoders share a self-attention value, Indicates the number of tasks.

[0014] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor implements the motion state classification method as described in the first aspect when executing the computer program.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the motion state classification method as described in the first aspect.

[0016] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects: 1. Compared with the current EEG signal denoising and extraction methods that only consider the time domain or frequency domain, the empirical mode decomposition common spatial pattern (EMDCSP) filter designed by the present invention extracts the information of the EEG signal in the decomposition domain and the spatial domain at the same time, avoiding the loss of relevant information and being more conducive to eliminating noise and interference in the data. In addition, for the information in the decomposition domain, the nonlinear adaptive processing method of empirical mode decomposition is used to avoid the introduction of nonlinear distortion, and is less affected by prior parameters, convergence tolerance, etc.

[0017] 2. The Transformer-based multi-task learning network model designed by the present invention includes an encoder and multiple decoders, and the multiple decoders share a self-attention value, so that features can be adaptively extracted for the commonalities and differences between different tasks. In addition to considering the general motion state classification problem, the influence of EEG channels, athlete capabilities, etc. can also be comprehensively considered, and specific task flows can be used for different situations to achieve a more accurate classification effect.

[0018] 3. In terms of application, the present invention can provide a sports status research platform for scientific research institutions and enterprises, develop more effective EEG acquisition equipment for sports status monitoring, and provide a reference for the scientific planning of sports training. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flow chart of a motion state classification method provided by an embodiment of the present invention; Figure 2 A structural block diagram of a motion state classification device provided by an embodiment of the present invention; Figure 3 A schematic diagram of the internal structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, system composition, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0021] In the present invention, the terms "first", "second", etc. (if any) in the present invention and the drawings are used to distinguish similar objects but not necessarily to describe a specific order or sequence.

[0022] The EEG signals in sports contain noise. In order to use pure EEG signals to classify the sports state, the original EEG signals must first be denoised. At present, the means of EEG signal denoising and extraction are based on time domain, frequency domain, decomposition domain, time-frequency domain and space domain. The study found that compared with the results of the time domain and frequency domain alone, the signal representation effect in the decomposition domain and time-frequency domain is better, and the spatial domain has a higher correlation with EEG feature extraction.

[0023] In addition, since EEG signal acquisition equipment can collect multi-channel signals, these multi-channel signals contain rich spatiotemporal information, and signals from different channels may correspond to the activation states of different neural tissues and may be related to movement states, current research makes it difficult to accurately locate the specific brain areas where brain activity occurs, resulting in a single classification task.

[0024] Based on this, the present invention provides a motion state classification method based on empirical mode decomposition spatial filtering and Transformer multi-task learning, such as Figure 1 As shown, the motion state classification method includes the following steps: In step S1, the original EEG signal is decomposed by empirical mode decomposition to obtain decomposed components.

[0025] In this embodiment, multi-channel EEG signals can be acquired through EEG equipment.

[0026] It should be noted that before training the Transformer-based multi-task learning network model, it is necessary to collect different EEG signals and corresponding label information.

[0027] In step S2, respectively calculate The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components .

[0028] In this embodiment, the decomposition filtering process is specifically as follows: The decomposed components are Hilbert transformed and the average value of their instantaneous frequencies, i.e., the center frequency, is calculated. The decomposed components that do not meet the preset frequency range are filtered out. After filtering, the Decomposition Components .

[0029] In order to retain the frequency portion of the normal EEG signal and filter out high-frequency and low-frequency noise, the preset frequency range in this embodiment is 0.5-50 Hz.

[0030] In step S3, the decomposed components are analyzed by OVR-CSP algorithm. Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering .

[0031] It should be noted that the empirical mode decomposition common spatial pattern (EMDCSP) is constructed based on the one-to-many (OVR) strategy to extract spatial feature channel signals. The classification filter can be The EEG can be linearly transformed by the OVR-CSP algorithm: in, For the The EEG signal of is the output after spatial filtering, is the transpose operator, represents the weight of the EMDCSP filter, Represents the EMDCSP filter matrix for one class relative to other classes.

[0032] By solving the following eigenvalue decomposition problem: in, It is The signal type The covariance matrix after component filtering is Indicates that it contains Diagonal matrix of eigenvalues.

[0033] Thus, the EEG signal after decomposition filtering and spatial filtering is obtained. .

[0034] In step S4, the EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain the multi-task classification result; the Transformer-based multi-task learning network model includes an encoder and decoder, The decoders share a self-attention value, Indicates the number of tasks.

[0035] This embodiment proposes a Transformer-based multi-task learning network architecture for the EEG signal after EMDCSP filtering, which includes an encoder and multiple decoders.

[0036] In the encoder part of Transformer, the input signal is represented in a shared way, that is, the encoder is shared among all classification tasks.

[0037] In the self-attention module, the feature channel data is The input vector and three weight matrices , and Multiply them together to get the key, query, and value vectors for each input vector, represented as in, yes Middle input vector, , and are the query, key, and value vectors. Then we estimate and The similarity between: in, yes Dimension. The value of is normalized by the SoftMax function , then with the vector Multiply them together to get the output vector The calculation process can be expressed as follows: The whole process can be expressed as: Among them, the output matrix Contains enhanced feature channel data, represents the self-attention operator, , , They are , and It consists of a query matrix, a key matrix, and a value matrix.

[0038] Multi-Head Attention (MHA) is composed of multiple self-attentions, outputting Indicates such as: in, represents the multi-head attention operator, is the matrix concatenation function, It is The output of the head is: is the number of heads, is the linear transformation of the final output, Respectively A linear transformation on the head.

[0039] Then, nonlinear processing is performed through two layers of fully connected neural networks (Feed Forward Network, FFN). The activation function of the first layer is Relu, and the second layer does not use an activation function. The corresponding formula is as follows: in, Represents the input of multi-head attention or FFN, The weight matrices of the first and second layers of the network, respectively, The bias of the first and second layers of the network respectively.

[0040] The multi-head attention output and the fully connected neural network output are processed by residual connection and normalization, and the calculation formulas are: in, Represents the input of multi-head attention or FFN, It means that the input of each layer of neurons is normalized.

[0041] In the decoder part of Transformer, each decoder decodes its own task. The decoders have the same architecture and share the attention mechanism, but different parameter values ​​and additional task-specific heads.

[0042] The multi-task can be selected based on relevant factors such as the gender, age, athlete level, and EEG channel of the person being tested.

[0043] For a task and a specific decoder stage, let represents the upsampled output of the previous stage, represents the output of the encoding stage operating at the same resolution. The decoder stage also accepts and as input.

[0044] In this embodiment, one of the multiple tasks can be selected as a reference task. , or you can choose a task as a reference task based on experience , which is conducive to the effect of multi-task learning. Reference task The attention is shared between tasks. is the upsampled output of the previous decoder stage of a specific reference task, and is used here as the prediction for this reference task.

[0045] For shared attention, only one task among all tasks is used to compute the attention. That is, by using a reference task The decoder input Calculation query and key . At the same time, combined with the current task ,use Calculated Value .

[0046] Therefore, the calculation reference task The note values ​​are: in is the number of channels, is bias.

[0047] For the reference task , the output of self-attention ,this Then the self-attention head ( ) is used to calculate the head ,in, for The multi-head attention The output of a self-attention instance, For the task The learned attention weights of . The instance of self-attention is repeated times to get the attention of bulls , calculated as: Denotes the long attention weight.

[0048] After the multi-head attention linear transformation, the output can be obtained through a fully connected neural network and a linear transformation layer. , the final output Calculated as: For any task , the output of self-attention .this Then the self-attention head ( ) is used to calculate the head ,in, for The multi-head attention The output of a self-attention instance, For the task The learned attention weights of . The instance of self-attention is repeated times to get the attention of bulls , calculated as: Denotes the long attention weight.

[0049] After the multi-head attention linear transformation, the output can be obtained through a fully connected neural network and a linear transformation layer. , the final output Calculated as: In multi-task learning, the dataset is , It's an EEG signal No. samples, Indicates the corresponding label, Represents the number of tasks. The goal of multi-task learning is to find the mapping Each task Map to On, it is expressed as: The overall loss function is defined as: in, is the overall loss function, It is The loss function of each task is It is The weights of each task, each loss function can be selected as a cross entropy loss function. The entire training process can be regarded as an optimization problem as follows: in, is the objective function of the optimization problem with respect to the overall loss function.

[0050] Through multi-task training, classification results are obtained.

[0051] Exemplarily, a Transformer-based multi-task learning network model may include an encoder and three decoders. When an EEG signal is input, three classification results including the gender, age and movement status of the person being tested can be obtained.

[0052] It should be understood that although Figure 1The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0053] Figure 2 4 is a structural block diagram of the motion state classification device of this embodiment.

[0054] like Figure 2 As shown, the motion state classification device 200 includes: The decomposition and filtering module 210 is used to obtain the original EEG signal through empirical mode decomposition. decomposed components; and calculate The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ; The spatial filtering module 220 is used to filter the decomposed components by using the OVR-CSP algorithm. Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering ; Classification module 230, for classifying the EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain the multi-task classification result; the Transformer-based multi-task learning network model includes an encoder and decoder, The decoders share a self-attention value, Indicates the number of tasks.

[0055] The division of the various modules in the above-mentioned motion state classification device is only for illustration. In other embodiments, the motion state classification device can be divided into different modules as needed to complete all or part of the functions of the above-mentioned motion state classification device.

[0056] For the specific definition of the motion state classification device, please refer to the definition of the motion state classification method above, which will not be repeated here. Each module in the above-mentioned motion state classification device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0057] Figure 3 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. Figure 3 As shown, the electronic device includes a processor and a memory connected via a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a motion state classification method provided in the above embodiment. The internal memory provides a cache operating environment for the operating system computer program in the non-volatile storage medium. The electronic device can be any terminal device such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, etc.

[0058] The embodiment of the present application further provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, which, when executed by one or more processors, enable the processors to perform the steps of the motion state classification method.

[0059] A computer program product comprising instructions, when executed on a computer, causes the computer to perform a motion state classification method.

[0060] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0061] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A motion state classification method, characterized in that: The method comprises: The original EEG signal is obtained by empirical mode decomposition decomposition components; Calculate separately The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ; The decomposed components are analyzed by OVR-CSP algorithm. Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering ; The EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain a multi-task classification result; wherein the Transformer-based multi-task learning network model includes an encoder and decoder, the The decoders share a self-attention value, Indicates the number of tasks.

2. The motion state classification method according to claim 1, characterized in that: The calculation The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ,include: Respectively The decomposed components are Hilbert transformed and the average value of their instantaneous frequencies is calculated. The decomposed components that do not meet the preset frequency range are filtered out. After filtering, Decomposition Components .

3. The motion state classification method according to claim 1 or 2, characterized in that: The preset frequency range is 0.5-50 Hz.

4. The motion state classification method according to claim 1, characterized in that: The EEG signal It is expressed as: in, For the The EEG signal of is the output after spatial filtering, is the transpose operator, express The weights of the classification filters, A filter matrix representing one class relative to other classes; By solving the following eigenvalue decomposition problem: in, It is The signal type The covariance matrix after component filtering is Indicates that it contains Diagonal matrix of eigenvalues.

5. The motion state classification method according to claim 1, characterized in that: Said The self-attention value shared by the decoders is obtained as follows: Select one of the multiple tasks as a reference task , using the reference task The decoder input calculates the query vector, key vector and value vector, thus obtaining the reference task The self-attention value is used as The self-attention value shared by all decoders.

6. The motion state classification method according to claim 5, characterized in that: The reference task The self-attention value It is expressed as: in, , Represent the reference tasks The query vector and key vector of represents the transpose operator, Indicates the number of channels, Indicates bias.

7. The motion state classification method according to claim 1, characterized in that: In multi-task learning, the dataset , Represents brain electrical signal No. samples, Indicates the corresponding label, Indicates the number of tasks; The goal of multi-task learning is to find a mapping Each task Map to On, it is expressed as: The overall loss function is defined as: in, is the overall loss function, It is The loss function of each task is It is The weight of the task, .

8. A motion state classification device, characterized in that: The device comprises: The decomposition and filtering module is used to obtain the original EEG signal through empirical mode decomposition. decomposed components; and calculate The frequencies of the decomposed components are filtered out, and the decomposed components that do not meet the preset frequency range are obtained after filtering. Decomposition Components ; Spatial filtering module, used to decompose components through OVR-CSP algorithm Perform linear transformation to obtain the EEG signal after decomposition filtering and spatial filtering ; A classification module is used to classify the EEG signal Each vector in is input into the Transformer-based multi-task learning network model to obtain a multi-task classification result; wherein the Transformer-based multi-task learning network model includes an encoder and decoder, the The decoders share a self-attention value, Indicates the number of tasks.

9. An electronic device, comprising: A memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the motion state classification method according to any one of claims 1 to 7 when executing the computer program.

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