The paper proposes a data model analysis algorithm for human motion function based on short-term behaviour. The algorithm uses a functional data analysis (FDA) method to perform Fourier fitting on the motion data and extract the fitted approximate single period data. Finally, the algorithm depicts the internal change in the motion in the low-dimensional space. The study found that the characteristic motion data obtained by the algorithm has smooth characteristics, and the relevant case analysis also verifies the algorithm's effectiveness.

#### Keywords

- short-term behaviour
- human motion recognition
- mathematical function model
- wearable motion capture system

#### MSC 2010

- 93A30

Human behaviour recognition is a method for computers to understand and describe human behaviour. It is a critical technology in related fields such as video surveillance, innovative nursing and human-computer interaction. Compared with traditional optical motion capture systems, wearable devices can collect data that are not affected by light, venue and occlusion [1]. Moreover, the device has the advantages of good portability and protection of the personal privacy of the collector. Therefore, the research on human behaviour recognition based on wearable motion capture systems is gradually becoming a hot topic nowadays.

Human behaviour actions are divided into periodic behaviours and non-periodic behaviours approximately. Approximately periodic behaviour refers to a movement behaviour that is executed multiple times continuously. The daily behaviour of the human body often has periodic characteristics, and the data sequence of daily behaviour collected by sensors also presents approximately periodic characteristics. This article considers converting this discrete motion data sequence into a periodic continuous function. This algorithm provides a theoretical basis for the study of the continuity characteristics of sports data and can accurately express the periodic characteristics of sports data [2]. Therefore, this article introduces the functional data analysis (FDA) algorithm to introduce the discrete data functional processing method. The basic idea of the algorithm is to treat the observed sample as a discrete data sequence but to treat the observed data as a whole and express it with a function. Then we use continuous data processing methods to analyse the samples.

The FDA method is a statistical method that has emerged in recent years. It is a development and extension of traditional statistical analysis methods. FDA is often used for economic data, meteorological data etc., but the application to sports data series is rare [3]. The changes of speed, acceleration and other variables in the process of human movement are continuous, while the corresponding data collected by sensors are all discrete. Because of this, the FDA's research on exercise data is reasonable. The general process of the FDA is as follows. For an observation data series, _{1},_{2}, …, _{n}^{T}, we build a model
_{i}_{i}_{i} represents the noise. To estimate the value of _{i}_{1}(_{2}(_{K}_{1},_{2}, …, _{K}^{T} uniquely determines a function [4]. The most direct method to solve the coefficient vector is the least-squares method, and the solution is as follows to minimise the residual sum of squares

The algorithm in this paper is mainly aimed at the periodic behaviour data of the human body collected by the wearable motion capture system [5]. We need to functionalise the discrete motion data to obtain the continuous characteristics of human motion. For this periodic discrete observation data, we use k-order Fourier series fitting and the value of k determines the complexity of the model. The model is more straightforward when the k value is small, but it is easy to cause the data to underfit. When the value of k is significant, the model may be more complicated, and over-fitting may occur. K can be estimated based on empirical values in this article, and _{func}_{func}_{func}_{data}_{data}

Figure 2 shows two sets of original data sequences with approximate periodicity. We use Algorithm 1 to estimate the fundamental frequency

A movement behaviour often requires the use of multiple wireless sensors to collect data simultaneously, and each sensor is composed of multiple measurement units [7]. Therefore, each sensor generates a vector at each time and can be represented as follows:
_{i}_{i}

Different sample function matrices are obtained according to different types of behaviour data. However, the morphological curve characteristics of the corresponding functions in different sample function matrices are different [8]. This difference in morphology is the basis for the classification of sample sets, and this difference can be reflected in one movement cycle as shown in Figure 2. Therefore, we can distinguish between different behaviours by extracting only one period of data.

We select one element

We choose the minimum extreme point as the starting point of the cycle and achieve data alignment. The minimum extreme point of the acceleration function in the vertical direction of the foot is the point where the acceleration value is the smallest during the movement. This time point often corresponds to when the person's foot is raised to the highest point. All the periodic behaviours based on footsteps include this movement process [10]. Therefore, we use this point as the starting point of the movement, which can align all sample functions of the same action here and also align periodic functions of different behaviours at this starting point.

This article uses Windows7 64-bit operating system and Matlab software for experiments. The data set we used comes from the wearable sensor behaviour recognition database (WARD) provided by the University of Berkeley in the United States. This data set binds sensors to 5 parts of the body namely left wrist, right wrist, waist, left ankle and right ankle. Each sensor consists of a three-axis accelerometer and a two-axis gyroscope. The sampling frequency is 30 Hz. The data set includes 13 types of daily behaviours. When collecting data, 20 collectors are required to do each action 5 times. Therefore, a total of 1,300 samples are included in the data set. The 1000 samples of 10 types of dynamic behaviours selected are shown in Table 1.

Behaviour description in WARD

1 | Walk normally | Walk forward for > 10 s |

2 | Walk counterclockwise | Go counterclockwise for > 10 s |

3 | Walk clockwise | Go clockwise for > 10 s |

4 | To the left | Turn left on the spot for > 10 s |

5 | Turn right | Turn right on the spot for > 10 s |

6 | Go up the stairs | Go up > 10 stairs |

7 | Down the stairs | Go down > 10 stairs |

8 | Jogging | Jogging lasts > 10 s |

9 | Jump | Jump in place > 5 times |

10 | Push wheelchair | Push the wheelchair for > 10 s |

WARD, wearable sensor behaviour recognition database.

WARD uses 5 sensors to collect data and each sensor has 5 measurement units. Therefore, the values of N and M are 5. So the sample function matrix is stated as follows:
_{data}

To calibrate the starting point of the cycle, it is necessary to select one of the element functions in the sample function matrix of Eq. (10) as the cycle's starting point. We use this period starting point as the starting point for the resampling of each element function in the sample function matrix. Since the acceleration function of the human body in the vertical direction can better reflect the difference of different behaviours and steps, the starting point of the calibration of this function is when a person's foot is raised to the highest point during exercise [11]. Therefore, we use the vertical acceleration function of the left ankle sensor in the WARD data set as the function of the starting point of the calibration cycle to be more accurate.

Figure 3 shows a sample of the collector walking normally. We extract the acceleration data of the sensor at the left ankle in the vertical direction and periodically extract the results. From Figure 3, it can be seen that the algorithm used by us achieves a more accurate function of the motion data – ground cycle extraction.

In the simulation experiment, the K-CV method is adopted to select test samples and training samples. In the experiment, the data set is divided into K = 20 groups. We conducted a total of 20 experiments and they show that the algorithm used by us has a recognition rate of 97.5% for periodic human behaviour based on the WARD dataset. The specific results are shown in Table 2.

Confusion matrix of 10 dynamic behaviour categories.

1 | 97 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 97 |

2 | 0 | 97 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 97 |

3 | 0 | 0 | 98 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 98 |

4 | 0 | 0 | 0 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 100 |

5 | 0 | 0 | 0 | 0 | 100 | 0 | 0 | 0 | 0 | 0 | 100 |

6 | 0 | 0 | 0 | 0 | 0 | 97 | 1 | 1 | 1 | 0 | 97 |

7 | 0 | 0 | 0 | 0 | 0 | 2 | 94 | 1 | 0 | 3 | 94 |

8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 100 | 0 | 0 | 100 |

9 | 0 | 0 | 0 | 0 | 0 | 1 | 5 | 0 | 94 | 0 | 94 |

10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 98 | 98 |

Total recognition rate | 97.5 |

Table 3 and Figure 4 show the simulation results of different algorithms in the same environment using the WARD data set in Table 1. Table 3 and Figure 4 show that the recognition rate of this algorithm is higher than other algorithms [12]. The choice of the classifier is significant for behaviour classification. Table 4 results from a classification using different classifiers after extracting feature vectors according to algorithm used by us. It can be seen from Table 4 that the feature vector extracted by the algorithm can achieve a higher recognition rate.

Comparison of algorithm results based on WARD

Literature [6] | 200 time-frequency domain features | DT | < 1 | 93.7 |

Literature [11] | 45 LPP | DSC | N/A | 87.05 |

Literature [12] | 40 RP | SRC | N/A | 82.1 |

Algorithm | 45 Periodic extraction of calibration starting point | SVM | < 1 | 97.5 |

LPP, partially preserved projection; RP, random projection; WARD, wearable sensor behaviour recognition database.

Comparison of classification results of different classifiers

Support vector machines | 97.5 |

Decision tree | 89.5 |

Naive Bayes | 86.9 |

K-nearest neighbour | 93.9 |

To further verify the rationality and scalability of the algorithm, a motion capture system is used to record data under actual conditions. First, it applies the algorithm to the data set [13]. The database in this paper collects eight daily behaviours of 8 collectors of motion capture data. It extracts from the data of the left wrist, right wrist, waist, left ankle and right ankle. The data samples from the self-collected database are shown in the Figure 5. It is worth noting that the data sampling frequency of the WARD data set is low (30 Hz), while the motion capture system used by us has a high sampling frequency (90 Hz). It can be seen from Eq. (12) that if the resampling interval d of the fitting function is kept at one at this time, the period data length will be longer, and the feature vector dimension will be too large. To solve this problem, the sampling interval d in formula (12) is set to 3. Then the fitting function is resampled, and the feature vector is extracted. This adjustable resampling method reflects the applicability of this algorithm to the existing high-frequency motion capture system and reflects the advantages of operational data.

Analogous to the experimental approach of the WARD data set, we use the K-CV method to establish a training sample and test sample library, and finally the support vector machine is used for classification and recognition. It is found that the recognition rate reaches 98.75%.

This paper uses the FDA method to functionalise the discrete data compared with the traditional discrete motion data processing method. This paper expresses the continuity of human motion data. First, we accurately calibrated the starting point of the motion cycle according to the function of the motion data. We then extracted the periodic sequence of the motion data approximately according to the starting point. The method in this paper has certain advantages over traditional window processing methods. Then, we use SVM and the periodic data sequence extracted by this algorithm to classify the human body's dynamic behaviour better to obtain a recognition rate comparable to the traditional method. The algorithm's effectiveness in this paper has been verified on the public data set WARD and the self-collecting database.

#### Confusion matrix of 10 dynamic behaviour categories.

1 | 97 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 97 |

2 | 0 | 97 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 97 |

3 | 0 | 0 | 98 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 98 |

4 | 0 | 0 | 0 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 100 |

5 | 0 | 0 | 0 | 0 | 100 | 0 | 0 | 0 | 0 | 0 | 100 |

6 | 0 | 0 | 0 | 0 | 0 | 97 | 1 | 1 | 1 | 0 | 97 |

7 | 0 | 0 | 0 | 0 | 0 | 2 | 94 | 1 | 0 | 3 | 94 |

8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 100 | 0 | 0 | 100 |

9 | 0 | 0 | 0 | 0 | 0 | 1 | 5 | 0 | 94 | 0 | 94 |

10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 98 | 98 |

Total recognition rate | 97.5 |

#### Comparison of algorithm results based on WARD

Literature [ |
200 time-frequency domain features | DT | < 1 | 93.7 |

Literature [ |
45 LPP | DSC | N/A | 87.05 |

Literature [ |
40 RP | SRC | N/A | 82.1 |

Algorithm | 45 Periodic extraction of calibration starting point | SVM | < 1 | 97.5 |

#### Behaviour description in WARD

1 | Walk normally | Walk forward for > 10 s |

2 | Walk counterclockwise | Go counterclockwise for > 10 s |

3 | Walk clockwise | Go clockwise for > 10 s |

4 | To the left | Turn left on the spot for > 10 s |

5 | Turn right | Turn right on the spot for > 10 s |

6 | Go up the stairs | Go up > 10 stairs |

7 | Down the stairs | Go down > 10 stairs |

8 | Jogging | Jogging lasts > 10 s |

9 | Jump | Jump in place > 5 times |

10 | Push wheelchair | Push the wheelchair for > 10 s |

#### Comparison of classification results of different classifiers

Support vector machines | 97.5 |

Decision tree | 89.5 |

Naive Bayes | 86.9 |

K-nearest neighbour | 93.9 |

Financial accounting measurement model based on numerical analysis of rigid normal differential equation and rigid generalised functional equation Health monitoring of Bridges based on multifractal theory College students’ innovation and entrepreneurship ability based on nonlinear model Health status diagnosis of the bridges based on multi-fractal de-trend fluctuation analysis Mathematical simulation analysis of optimal testing of shot puter's throwing path Application and risk assessment of the energy performance contracting model in energy conservation of public buildings The term structure of economic management rate under the parameter analysis of the estimation model based on common differential equation Sensitivity analysis of design parameters of envelope enclosure performance in the dry-hot and dry-cold areas The Spatial Form of Digital Nonlinear Landscape Architecture Design Based on Computer Big Data The improvement of museum information flow based on paste functional mapping method The art design of industrialised manufacturing furniture products based on the simulation of mathematical curves Research on Evaluation of Intercultural Competence of Civil Aviation College Students Based on Language Operator The Optimal Solution of Feature Decomposition Based on the Mathematical Model of Nonlinear Landscape Garden Features Visual error correction of continuous aerobics action images based on graph difference function Application of fuzzy mathematics calculation in quantitative evaluation of students’ performance of basketball jump shot Application of Forced Modulation Function Mathematical Model in the Characteristic Research of Reflective Intensity Fibre Sensors Application of mathematical probabilistic statistical model of base – FFCA financial data processing Least-squares method and deep learning in the identification and analysis of name-plates of power equipment Support design of main retracement passage in fully mechanised coal mining face based on numerical simulation Topological optimisation technology of gravity dam section structure based on ANSYS partial differential equation operation Modeling the pathway of breast cancer in the Middle East Image design and interaction technology based on Fourier inverse transform Research on China interregional industrial transformation slowdown and influencing factors of industrial transformation based on numerical simulation The optimal model of employment and entrepreneurship models in colleges and universities based on probability theory and statistics Regarding new wave distributions of the non-linear integro-partial Ito differential and fifth-order integrable equations Analysing the action techniques of basketball players’ shooting training using calculus method Research on predictive control of students’ performance in PE classes based on the mathematical model of multiple linear regression equation The influence of X fuzzy mathematical method on basketball tactics scoring Application of regression function model based on panel data in bank resource allocation financial risk management Application of Logical Regression Function Model in Credit Business of Commercial Banks Application of B-theory for numerical method of functional differential equations in the analysis of fair value in financial accounting Research on the influence of fuzzy mathematics simulation model in the development of Wushu market Application of multi-attribute decision-making methods based on normal random variables in supply chain risk management The impact of financial repression on manufacturing upgrade based on fractional Fourier transform and probability Calculating university education model based on finite element fractional differential equations and macro-control analysis Educational research on mathematics differential equation to simulate the model of children's mental health prevention and control system Verifying the validity of the whole person model of mental health education activities in colleges based on differential equation RETRACTION NOTE Calculation of tourism development income index based on finite element ordinary differential mathematical equation Adoption of deep learning Markov model combined with copula function in portfolio risk measurement Radar system simulation and non-Gaussian mathematical model under virtual reality technology Comparison of compression estimations under the penalty functions of different violent crimes on campus through deep learning and linear spatial autoregressive models Research and application of constructing football training linear programming based on multiple linear regression equation Research on management evaluation of enterprise sales cash flow percentage method based on the application of quadratic linear regression equations Mathematical simulation analysis of optimal detection of shot-putters’ best path Determination of the minimum distance between vibration source and fibre under existing optical vibration signals: a study Mathematical modelling of enterprise financial risk assessment based on risk conduction model Nonlinear differential equations based on the B-S-M model in the pricing of derivatives in financial markets Nonlinear Differential Equations in the Teaching Model of Educational Informatisation The evaluation of college students’ innovation and entrepreneurship ability based on nonlinear model Institutional investor company social responsibility report and company performance Mathematical analysis of China's birth rate and research on the urgency of deepening the reform of art education First-principles calculations of magnetic and mechanical properties of Fe-based nanocrystalline alloy Fe _{80}Si_{10}Nb_{6}B_{2}Cu_{2}Educational reform informatisation based on fractional differential equation Has the belt and road initiative boosted the resident consumption in cities along the domestic route? – evidence from credit card consumption 3D Mathematical Modelling Technology in Visual Rehearsal System of Sports Dance Attitude control for the rigid spacecraft with the improved extended state observer Sports health quantification method and system implementation based on multiple thermal physiology simulation Research on visual optimization design of machine–machine interface for mechanical industrial equipment based on nonlinear partial equations Research on the normalisation method of logging curves: taking XJ Oilfield as an example Information technology of preschool education reform of fine arts based on fractional differential equation Information Teaching Model of Preschool Art Education in Colleges and Universities Based on Finite Element Higher-Order Fractional Differential Equation College Students’ Mental Health Climbing Consumption Model Based on Nonlinear Differential Equations Cognitive Computational Model Using Machine Learning Algorithm in Artificial Intelligence Environment Research on tourism income index based on ordinary differential mathematical equation Application of Higher-Order Ordinary Differential Equation Model in Financial Investment Stock Price Forecast System dynamics model of output of ball mill Dynamics of infectious diseases: A review of the main biological aspects and their mathematical translation Optimisation of Modelling of Finite Element Differential Equations with Modern Art Design Theory Mathematical function data model analysis and synthesis system based on short-term human movement Sensitivity Analysis of the Waterproof Performance of Elastic Rubber Gasket in Shield Tunnel Human gait modelling and tracking based on motion functionalisation Analysis and synthesis of function data of human movement Energy-saving technology of BIM green buildings using fractional differential equation Study on the training model of football movement trajectory drop point based on fractional differential equation Financial Accounting Measurement Model Based on Numerical Analysis of Rigid Normal Differential Equation and Rigid Functional Equation User online consumption behaviour based on fractional differential equation Differential equation model of financial market stability based on Internet big data Multi-attribute Decision Method Based on Normal Random Variable in Economic Management Risk Control Children’s cognitive function and mental health based on finite element nonlinear mathematical model Value Creation of Real Estate Company Spin-off Property Service Company Listing Digital model creation and image meticulous processing based on variational partial differential equation Dichotomy model based on the finite element differential equation in the educational informatisation teaching reform model Nonlinear Dissipative System Mathematical Equations in the Multi-regression Model of Information-based Teaching The policy efficiency evaluation of the Beijing–Tianjin–Hebei regional government guidance fund based on the entropy method Stock price analysis based on the research of multiple linear regression macroeconomic variables Fractional Linear Regression Equation in Agricultural Disaster Assessment Model Based on Geographic Information System Analysis Technology The transfer of stylised artistic images in eye movement experiments based on fuzzy differential equations Deformation and stress theory of surrounding rock of shallow circular tunnel based on complex variable function method A mathematical model of the fractional differential method for structural design dynamics simulation of lower limb force movement step structure based on Sanda movement Numerical calculation and study of differential equations of muscle movement velocity based on martial articulation body ligament tension Research on the Psychological Distribution Delay of Artificial Neural Network Based on the Analysis of Differential Equation by Inequality Expansion and Contraction Method Study on Establishment and Improvement Strategy of Aviation Equipment Research on Financial Risk Early Warning of Listed Companies Based on Stochastic Effect Mode The Model of Sugar Metabolism and Exercise Energy Expenditure Based on Fractional Linear Regression Equation Constructing Artistic Surface Modeling Design Based on Nonlinear Over-limit Interpolation Equation Optimal allocation of microgrid using a differential multi-agent multi-objective evolution algorithm Numerical Simulation Analysis Mathematics of Fluid Mechanics for Semiconductor Circuit Breaker Characteristics of Mathematical Statistics Model of Student Emotion in College Physical Education Human Body Movement Coupling Model in Physical Education Class in the Educational Mathematical Equation of Reasonable Exercise Course