Mobile phone user authentication method based on human behavior biological characteristics

User actions are collected through the data of the built-in inertial measurement unit of the smartphone, and feature extraction is combined with filtering and deep learning models to solve the speed and resource problems of traditional authentication methods and achieve efficient, convenient and safe user authentication.

CN118862039APending Publication Date: 2024-10-29SOUTH CHINA UNIV OF TECH
0 Cites 0 Cited by

Patent Information

Application Number
CN202410817206.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Traditional mobile phone user authentication methods carry the risk of password loss or being compromised, while behavioral biometric systems face problems such as low authentication speed, large computing resource usage, weak scene adaptability, and lack of convenience.

Method used

Using a mobile phone user authentication method based on human behavioral biometrics, the user's lifting and grabbing movements are collected through the built-in inertial measurement unit data of the smartphone, using Butterworth low-pass filtering and extended Kalman filtering to remove noise, combined with a convolutional neural network and long short-term memory network to extract features and achieve authentication through weighted decision fusion.

Benefits of technology

It improves the accuracy and convenience of user authentication, reduces computing resource usage, adapts to different scenarios, and ensures the robustness and security of authentication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118862039A_ABST
    Figure CN118862039A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile phone user authentication method based on human behavior biological characteristics, which comprises the following steps: a data acquisition stage: before a training stage, collecting inertial measurement unit data when a user lifts and grabs a mobile phone by using a built-in inertial unit of the mobile phone; in the model training stage, two different models are trained, the first model is used for recognizing the action of lifting the mobile phone by the user, and then real-time data are started to be recorded; the second model extracts user behavior characteristics to perform user authentication; the first model calculates a hand lifting speed recognition action based on three-axis inertial measurement unit data and Kalman filtering; and the second model performs weighted fusion decision by discriminating dynamic and static characteristics to form a user authentication model. In the model application stage, a user downloads a mobile phone application, collects personal data and uploads the personal data to a cloud platform for training, and an authentication model is generated. And when the screen of the mobile phone is turned off, the user carries out authentication by lifting and grabbing the mobile phone, and the mobile phone application displays an authentication result. According to the invention, mobile phone user authentication can be effectively realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of human-computer interaction, and in particular to a method for authenticating mobile phone users based on human behavior biometrics. Background Art

[0002] Smartphones have become part of people's lives and work, storing a large amount of personal privacy or corporate confidential information, so it is crucial to have a protection authentication method against a series of vulnerabilities. Traditional mobile phone user authentication mainly includes password authentication, including digital passwords, graphic passwords, etc. However, traditional authentication methods are too simple, and in the face of crises such as data leakage, there is a huge risk of password loss or hacking. The behavioral biometric recognition system on smartphones currently alleviates the problem of password leakage, but faces challenges such as low authentication rate, large computing resource occupation, and weak scene adaptability. It also requires continuous user interaction to extract features and lacks the one-step convenience of fingerprint or facial recognition. In order to solve these problems, the present invention introduces an efficient mobile phone user authentication method based on human biometrics, which is an advanced two-factor, gesture-based mobile authentication method that provides a seamless and more robust solution. The method uses the unique characteristics of user interaction with the device, especially the combination of grabbing and lifting, to verify identity. By analyzing the motion trajectory and steering angle reproduced by the inertial measurement unit built into the smartphone, the present invention provides an explainable security layer that is less susceptible to deception than traditional physiological or behavioral features.

[0003] At present, the technical methods for implementing mobile phone authentication based on biometrics can be divided into two categories, both of which have their own shortcomings and limitations:

[0004] Methods based on physical signs: Use built-in audio and inertial measurement units to analyze the user's body posture (such as chest breathing and hand nerve reconstruction) through acoustics and mechanics. The existing challenge is that the computing resources are large and the operation efficiency is slow.

[0005] Methods based on biological behavior: Use the built-in inertial measurement unit of the mobile phone or other wearable devices to reconstruct behavioral characteristics such as touch rhythm and walking gait to build user model features. The current difficulty lies in requiring other wearable devices to assist in collecting data, which is less convenient.

[0006] Based on the above discussion, the invention of a mobile phone user authentication method based on human behavior biometrics has high practical application value. Summary of the invention

[0007] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a mobile phone user authentication method based on human behavior biometrics, which can effectively achieve the purpose of mobile phone user authentication and improve the convenience and operation efficiency of the model.

[0008] To achieve the above purpose, the technical solution provided by the present invention is: a mobile phone user authentication method based on human behavior biometrics, comprising:

[0009] Data collection phase: Before entering the training phase, it is necessary to collect the data set used by the training model. The data collection includes multiple mobile phone inertial measurement unit data when the user lifts the phone and grabs the phone;

[0010] Model training stage: train two different models, namely the first model and the second model. The first model is used to identify the action of the user lifting the mobile phone to start recording the real-time data of the inertial measurement unit of the user's mobile phone; the second model uses the real-time data collected by the first model to extract user behavior features, and uses the extracted behavior features to achieve the purpose of authenticating the user through the user authentication model; wherein, in the data preprocessing of the two models, the dynamic features when the mobile phone is lifted and the static features when the mobile phone is grasped are extracted, and the Butterworth low-pass filter and the extended Kalman filter method are used respectively to remove environmental noise irrelevant to the biometric features from the dynamic features and the static features, so as to obtain clean and useful dynamic features and static features; the principle of the first model is to use the three-axis inertial measurement unit data and Kalman filter to calculate the real-time speed of the user raising his hand to identify the action of the user lifting the mobile phone; the second model distinguishes the dynamic features and the static features, and obtains two different decisions respectively, and then weights and fuses the two different decisions as the final decision, wherein the weighted decision fusion is used for the parameters of the two different decisions to update the weights according to the continuous interaction process of the user, and finally obtains the optimal second model that can distinguish the unique grasping mode of the user, which is called the user authentication model;

[0011] Model application stage: Before application, you need to download the mobile application first and collect personal data in the mobile application, including data in the lifting stage and the grabbing stage. Then, use the file sharing function in the mobile application to upload the user data to the cloud platform for the same training as the above model training stage to generate a user authentication model. After the user authentication model is generated, the cloud platform will transfer the model parameters back to the user's mobile application for use. The model user needs to grab and lift the phone when the phone is off, under the premise of authorization by the mobile application. The mobile application will display information on whether the user authentication is successful after the user authentication model is authenticated.

[0012] Further, in the data collection phase, gesture detection includes: the initialization phase, the action of taking out the smartphone from the pocket, which consists of the flexion or extension movement of the arm and wrist; the transition phase, the action of raising the phone, through the extension of the elbow and the abduction of the shoulder, so that the arm raises the phone to a more accessible position; the adjustment phase, the action of rotating the phone to the best viewing or interaction angle, which consists of the rotation of the wrist and the fine adjustment of the grip.

[0013] Furthermore, the first model performs speed judgment, including three types of threshold judgments, namely, a start speed threshold, an end speed threshold and a maximum speed threshold; for the start speed threshold, if the hand movement speed exceeds a preset threshold, it is judged as the beginning of the lifting action; for the end speed threshold, if the hand movement speed is lower than the preset threshold and the mobile phone remains stable, it is judged as the end of the lifting action; for the maximum speed threshold, during the lifting action, if the maximum value of the hand movement speed exceeds the preset threshold, the action is confirmed to be a valid lifting action; wherein, the above three types of thresholds are extrapolated by statistically analyzing the distribution of inertial measurement unit data during the mobile phone stationary, mobile phone lifted and mobile phone browsing stages.

[0014] Furthermore, the second model includes:

[0015] Convolutional neural network, which is used to extract spatial features from the input data. Each convolutional neural network layer uses convolution kernels to extract subtle features of grasping and lifting gestures.

[0016] Long short-term memory network, which is used to capture the time-dependent features in the input data. Its long short-term memory network layer contains hidden neurons and can effectively process sequence data;

[0017] The multi-head attention mechanism, combined with the long short-term memory network layer, is used to focus on relevant features at different positions in the sequence data, improving the model's ability to capture complex temporal patterns;

[0018] The feature fusion layer is used to fuse the features of the grasping gesture and the lifting gesture, and further process them through the fully connected layer and multi-layer perceptron to generate the final authentication output.

[0019] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0020] 1. The present invention integrates multiple neural networks, including convolutional neural networks and long short-term memory networks, and combines them with a multi-head attention mechanism to achieve efficient feature extraction of the user's actions of lifting and grabbing the phone. This innovation can not only capture subtle spatial and temporal features, but also focus on important features through a multi-head attention mechanism, thereby significantly improving the accuracy of user authentication.

[0021] 2. The present invention introduces Butterworth low-pass filtering and extended Kalman filtering technology in data preprocessing, which are used to remove environmental noise in dynamic features and static features respectively. This dual filtering method can effectively clean data, retain key information related to user biometrics, and improve the robustness and accuracy of the model.

[0022] 3. The present invention proposes a user authentication model based on feature fusion. The dynamic features of the lifting gesture and the static features of the grasping gesture are processed separately, and independent decisions are made at different stages. Finally, these decisions are combined using a weighted fusion method. The weights of the fusion method are dynamically updated according to the user's continuous interaction process, ensuring that the authentication model can adapt to changes in user behavior and improving the stability and accuracy of the model.

[0023] 4. The user authentication model of the present invention can be adaptively updated during use. By continuously collecting user interaction data in different environments and situations and uploading it to the cloud platform for retraining and parameter updates, the model can be continuously optimized to ensure efficient authentication performance in different scenarios.

[0024] 5. The present invention detects the user's action of lifting the phone in real time through the first model, starts recording the inertial measurement unit data, and extracts the user's behavior characteristics in real time for authentication through the second model. This real-time authentication method improves the convenience and response speed of user authentication, ensuring that users can quickly complete authentication in natural interaction.

[0025] 6. The present invention proposes a method for constructing an authentication model based on user behavior characteristics. Personal data is collected through mobile phone applications, and exclusive model training is performed on the cloud platform to generate a personal user authentication model. This method ensures that each user's authentication model is unique, significantly improving the security of authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the method of the present invention; in the figure, CNN represents convolutional neural network, LSTM represents long short-term memory network, Attention represents attention, Dense represents fully connected layer, and a and β represent weighted decision coefficients of lifting gesture and grasping gesture respectively.

[0027] Figure 2 It is a structural diagram of the user authentication model.

[0028] Figure 3 It is a simplified diagram of the user's usage process. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with specific embodiments.

[0030] like Figures 1 to 3As shown, this embodiment discloses a mobile phone user authentication method based on human behavior biometrics, which uses a self-collected data set for training, extracts dynamic features and static features of gripping gestures, and achieves two purposes: hand gesture lift recognition and mobile phone user recognition. For hand gesture lift recognition and mobile phone user recognition, a first model and a second model are designed respectively. The first model is used to identify the action of the user lifting the phone to start recording the real-time data of the inertial measurement unit of the user's phone; the second model uses the real-time data collected by the first model to extract user behavior features, and uses the extracted behavior features to achieve the purpose of authenticating the user through the user authentication model; wherein, in the data preprocessing of the two models, the dynamic features when the phone is lifted and the static features when the phone is grasped are extracted, and the Butterworth low-pass filter and the extended Kalman filter method are used respectively to remove environmental noise irrelevant to the biometric features from the dynamic features and the static features, so as to obtain clean and useful dynamic features and static features; the principle of the first model is to use the three-axis inertial measurement unit data and Kalman filter to calculate the real-time speed of the user raising his hand to identify the action of the user lifting the phone; the second model distinguishes the dynamic features and the static features, and respectively obtains two different decisions, and then weights and fuses the two different decisions as the final decision, wherein the weighted decision fusion is used for the parameters of the two different decisions to update the weights according to the continuous interaction process of the user, and finally obtains the optimal second model that can distinguish the user's unique grasping mode, which is called the user authentication model;

[0031] Data collection phase: Before entering the training phase, it is necessary to collect the data set used by the training model. The data collection includes multiple mobile phone inertial measurement unit data when the user lifts the phone and grabs the phone;

[0032] Model application stage: Before application, you need to download the mobile application first and collect personal data in the mobile application, including data in the lifting stage and the grabbing stage. Then, use the file sharing function in the mobile application to upload the user data to the cloud platform for the same training as the above model training stage to generate a user authentication model. After the user authentication model is generated, the cloud platform will transfer the model parameters back to the user's mobile application for use. The model user needs to grab and lift the phone when the phone is off, under the premise of authorization by the mobile application. The mobile application will display information on whether the user authentication is successful after the user authentication model is authenticated.

[0033] Specifically, during the data collection phase, gesture detection includes: the initialization phase, the action of taking out a smartphone from a pocket, which consists of bending or stretching movements of the arm and wrist; the transition phase, the action of lifting the phone, which enables the arm to raise the phone to a more accessible position through elbow extension and shoulder abduction; and the adjustment phase, the action of rotating the phone to the optimal viewing or interaction angle, which consists of wrist rotation and fine-tuning of the grip.

[0034] Specifically, the first model performs speed judgment, which includes three types of threshold judgments, namely, a start speed threshold, an end speed threshold and a maximum speed threshold; for the start speed threshold, if the hand movement speed exceeds the preset threshold, it is judged as the beginning of the lifting action; for the end speed threshold, if the hand movement speed is lower than the preset threshold and the mobile phone remains stable, it is judged as the end of the lifting action; for the maximum speed threshold, during the lifting action, if the maximum value of the hand movement speed exceeds the preset threshold, the action is confirmed to be a valid lifting action; among which, the above three types of thresholds are calculated by statistically analyzing the distribution of inertial measurement unit data during the mobile phone stationary, mobile phone lifted and mobile phone browsing stages.

[0035] Specifically, the second model includes:

[0036] Convolutional neural network, which is used to extract spatial features from the input data. Each convolutional neural network layer uses convolution kernels to extract subtle features of grasping and lifting gestures.

[0037] Long short-term memory network, which is used to capture the time-dependent features in the input data. Its long short-term memory network layer contains hidden neurons and can effectively process sequence data;

[0038] The multi-head attention mechanism, combined with the long short-term memory network layer, is used to focus on relevant features at different positions in the sequence data, improving the model's ability to capture complex temporal patterns;

[0039] The feature fusion layer is used to fuse the features of the grasping gesture and the lifting gesture, and further process them through the fully connected layer and multi-layer perceptron to generate the final authentication output.

[0040] Next, we will explain in detail the mobile phone user authentication method based on human behavior biometrics in this embodiment through a specific experiment, and the specific situation is as follows:

[0041] 1) Data collection

[0042] This study included 45 participants, including 8 females and 37 males, with an average age of 20. The participants were divided into two groups: 25 registered users, who were registered users of the experiment, and 19 attackers who were unregistered users. Registered users were asked to repeat their unlocking actions 30-50 times for model building and performance evaluation.

[0043] The attackers were divided into two independent groups: the first group was called the random attack group, and the group members were required to collect 10 data based on their own habits to attack the registered user's model without observing the registered user lifting the phone; the second group was called the learning attack group, and the group members were required to imitate the unlocking posture of the specified registered user while observing the registered user lifting the phone, and then collect 10 data as imitation attack data.

[0044] The experimental process of lifting the phone was consistent for both groups. The experimental process was divided into two different phases. In the first phase, participants took out a phone from their trouser pocket and lifted it to the position where they usually viewed the phone, without any motor-induced vibration, for a maximum of 3 seconds. In the second phase, the phone motor will continue to vibrate for 0.5 seconds, during which the owner will hold the phone still. Three scenarios were designed to unlock the phone corresponding to different user postures: standing, sitting, and walking. In addition, another robustness experiment was conducted, randomly selecting 5 registered users to record their IMU data in three different shaking environments: running in the subway, running in the bus, and indoor environments.

[0045] Data source: The linear acceleration and angular acceleration recorded in real time by the accelerometer and gyroscope are used as data columns. The linear acceleration and angular acceleration are provided in the form of three-dimensional scalars. The following is the linear acceleration sequence:

[0046]

[0047] in, represents the space vector of linear acceleration, and a x 、a y 、a z Represents the components of linear acceleration on the x, y, and z axes.

[0048] Here is the angular acceleration sequence:

[0049]

[0050] in, represents the space vector of angular velocity, and ω x ,ω y ,ω z Represents the components of angular velocity on the x, y, and z axes.

[0051] 2) Data preprocessing

[0052] For the data of dynamic features in the lifting stage, the exponential moving average filter is first used to remove noise, and then the extended Kalman filter is used to eliminate noise and then convolve. The purpose of using the extended Kalman filter is to solve the regression of nonlinear data; for the data of static features in the grasping stage, the Butterworth low-pass filter is used for data preprocessing and then convolution. The main purpose of using the Butterworth low-pass filter is to eliminate high-frequency noise.

[0053] The raw IMU data collected may contain high-frequency fluctuations that are not part of the hand-raising habit. These fluctuations may be caused by various reasons, such as small movements of the hand, environmental vibrations, or body movements that are not related to the hand-raising action. To ensure real-time processing capabilities and minimize computational overhead, an exponential moving average filter is applied for noise removal. This filtering technique can smooth the data and effectively reduce the impact of transient movements and vibrations that have no effect on understanding the hand-raising action pattern.

[0054] EMA t =α′·IMU t +(1-a′) EMA t-1

[0055] Among them, EMA t is the filtered value at time t, EMA t-1 is the filtered value at time t-1, IMU t is the raw IMU reading and a′ is the smoothing factor.

[0056] Butterworth low-pass filter is a commonly used signal processing filter, which is used to filter out high-frequency components in the signal and retain low-frequency components. It is widely used in signal processing, communication systems and other fields.

[0057] Mathematical formula: Assuming the input signal is X(s) and the output signal is Y(s), the transfer function H(s) of the Butterworth low-pass filter can be expressed as:

[0058]

[0059] Among them, s is a complex variable, ω c is the cutoff frequency and n is the order of the filter.

[0060] Preset variables: When designing a Butterworth low-pass filter, it is necessary to preset the cutoff frequency ω c and the filter order n, cutoff frequency ω c Determines the gain attenuation of the filter at this frequency, and the order n determines the steepness of the filter.

[0061] The Extended Kalman Filter is a filter that performs state estimation in nonlinear systems. It is an extension of the Kalman filter and is used to handle the state estimation problem of nonlinear systems. The following is the general form of the Extended Kalman Filter:

[0062] State estimation is performed using an extended Kalman filter. The extended Kalman filter iteratively estimates the state vector, which includes the orientation of the device. The state update equation in the extended Kalman filter is as follows:

[0063] State vector: In an extended Kalman filter, the state vector x usually contains quaternion components to represent the orientation of the system. For example, the state vector can be:

[0064] x=(q w ,q x ,q y ,q z )

[0065] Among them, q w ,q x ,q y ,q z are the components of the quaternion.

[0066] Status prediction:

[0067]

[0068] in, is the predicted state, f(·) is the state transition function, is the previous state estimate, u k is the control input (gyro data).

[0069] Update equation:

[0070]

[0071]

[0072] P k|k =(IK k H k ) k|k-1

[0073] Among them, K k is the Kalman gain, P k|k-1 is the covariance matrix of the prediction of the state k at the previous moment k-1, P k|k is the covariance matrix of the current k-state estimate, H k is the measurement matrix, is the transposed matrix of the measurement matrix, R k is the measurement noise covariance, is the state estimate at the current time k, z k is the measurement vector (accelerometer data) and h(·) is the measurement function.

[0074] Transform to global coordinate system. The orientation estimate is used to transform the accelerometer data to the global coordinate system and remove the gravity component:

[0075]

[0076]

[0077] where R(·) is the rotation matrix derived from the orientation estimate, is the acceleration vector after Kalman filtering, and g is the acceleration due to gravity.

[0078] Finally, the velocity is estimated by integrating the linear acceleration over time:

[0079]

[0080] in, is the velocity at time step k, is the velocity at time step k-1, is the global acceleration vector at time step k after Kalman filtering, and Δt is the time interval between measurements.

[0081] The estimated v will be used in subsequent modules k Approximately the mobile phone moving speed at time step k.

[0082] 3) Raise gesture detection

[0083] The lift gesture detection component uses an empirical rule-based approach to recognize the gesture of lifting a smartphone. This process relies on real-time estimation of the 3D trajectory and orientation of the phone. The real-time estimation is achieved by applying an extended Kalman filter. The rules for detecting the start and end of the lift gesture, as well as the criteria for distinguishing it from other actions, are as follows. The speed of the following test is the speed for any time step k.

[0084] like If the following equation is satisfied, then time step k is marked as the beginning of the first stage of the lift gesture detection:

[0085]

[0086] in, Indicates the threshold at which the first stage of raise gesture detection begins.

[0087] After the test begins, if If the following equation is satisfied, then time step k is marked as the end of the first stage of the lift gesture detection:

[0088]

[0089] in, Indicates the threshold at which the first stage of raise gesture detection begins.

[0090] After the test begins, if If the following equation is satisfied, then time step k is marked as entering the first stage, and if the following conditions are satisfied, it is judged that a lift gesture occurs:

[0091]

[0092] in, Indicates the threshold at which the first stage of raise gesture detection begins.

[0093] Two-factor gesture feature expression

[0094] When developing a mobile phone user authentication method based on human behavior biometrics, the hand-raising is decomposed into two different features: extracting dynamic features when the phone is raised and static features when the phone is grabbed. This design allows for a comprehensive analysis of the unlocking gesture and in-depth exploration of the characteristics of individual features, thereby enhancing the security and accuracy of the authentication process. Therefore, a human behavior biometric authentication method combining dynamic and static features is proposed. The specific process is described as follows.

[0095] Hand-raising gesture. As discussed in data preprocessing, an extended Kalman filter is used to perform accurate motion trajectory estimation from the smartphone’s inertial measurement unit data. The hand-raising gesture analyzes the estimated 3D trajectory and orientation changes during the hand-raising action, which contains a complex interaction of rotational and linear motions that are unique to an individual.

[0096] Grip gesture. The grip gesture descriptor focuses on the static state when the user is holding the device. This state triggers a unique vibration pattern caused by the interaction of the device with the user's hand. The grip patterns generated in this interaction are analyzed. To separate these patterns from biometrically irrelevant signals, a Butterworth high-pass filter is applied to remove baseline drift, i.e., low-frequency, non-characteristic components of the vibration signal.

[0097] This two-factor authentication model addresses the difficulties that may arise in situations involving significant body motion or changes in user posture. Although the hand-raising gesture may be difficult to authenticate in dynamic scenarios, the grasping gesture is less affected by the user's body posture, making it a reliable authentication factor. However, the grasping gesture is also more vulnerable to impersonation attacks. By combining the hand-raising and grasping gestures, the two-factor authentication model achieves a balance, ensuring robustness in motion and posture changes while maintaining security against impersonation threats.

[0098] 5) Weighted decision fusion

[0099] Weighted decision fusion is designed to intelligently balance the decision weights from the raise gesture authenticator and the grab gesture authenticator. Considering the differences of each gesture feature among different users, the method of the present invention dynamically adjusts their respective weights during the decision process to optimize the authentication accuracy. The basic principle of weighted decision fusion is to weight the context-awareness of the two-factor gesture features. Initially, the two authenticators are assigned the same weight (1:1), ensuring a balanced contribution of each authenticator in standard scenarios. For example, according to Figure 1 , respectively multiplying the similarities calculated by the lift gesture and the grab gesture by the weighted values ​​α and β, and then adding the results to obtain the weighted similarity. During use, the idle state of the smartphone will be reflected in the adjustment of the weight.

[0100] A) Increase the weight of the raise gesture

[0101] In situations where the smartphone is detected to be in a static idle state, the decision weight of the raise gesture authenticator is increased. This adjustment is based on the understanding that when the device is stationary, the raise gesture may be more obvious and less susceptible to external motion, thus providing a more reliable authentication factor.

[0102] B) Increase the weight of the grab gesture

[0103] If the idle state detects motion or significant body movement, it shifts the focus to the grab gesture authenticator by increasing the weight of the grab gesture. The reasoning is that in dynamic scenarios, the grab gesture may provide a more stable authentication factor because it is less affected by the background noise of the dynamic environment.

[0104] 6) Authentication model based on deep learning

[0105] The authentication framework of the present invention adopts a multi-view convolutional neural network-long short-term memory network model. The architecture of the model includes a two-layer convolutional neural network with a convolution kernel size of 3 and 32 filters, which is designed to effectively extract spatial features from the input data. Next is a two-layer long short-term memory network, each layer containing 50 hidden neurons to capture the temporal dependencies in the data. After that, a multi-head attention mechanism with N=2 is adopted to enhance the model's ability to focus on relevant features at different positions in the input sequence. For optimization, the Adam optimizer is used, and its initial learning rate is set to 0.0004. In order to alleviate overfitting, an exit strategy with a rate of 0.5 is adopted, and an L2 regularization strategy with a coefficient γ=0.01 is adopted to ensure the generalization of the model on different data sets.

[0106] Among them, convolutional neural network is a deep learning model that is widely used in image recognition, computer vision and other fields. It extracts image features and classifies them through components such as convolutional layers, pooling layers and fully connected layers.

[0107] Basic principle: The core of the convolutional neural network model is the convolution operation, which extracts features by sliding the convolution kernel on the input image and performing convolution operations. The pooling layer is used to reduce the size of the feature map and the number of parameters, and the fully connected layer is used to map the extracted features to the output category.

[0108] Assuming that the input image is I, the convolution kernel is K, and the convolution operation is expressed as I*K, the mathematical representation of the convolution operation is:

[0109]

[0110] Among them, (I*K)(i,j) is a pixel value in the output feature map, and m and n are the row and column indices of the convolution kernel respectively.

[0111] When designing a convolutional neural network, you need to preset parameters such as the size, number and step size of the convolution kernel, the type and size of the pooling layer, and the number of neurons in the fully connected layer.

[0112] Among them, the Long Short-Term Memory Network is a recurrent neural network specially designed to process and predict time series data, such as language modeling, speech recognition, and time series prediction. The Long Short-Term Memory Network effectively captures and memorizes long-term dependencies in the sequence through memory units and gating units.

[0113] Basic principle: The long short-term memory network includes components such as input gate, forget gate, output gate and memory unit. Each gate control unit has its own weight parameter to control the flow of information and the update of memory.

[0114] Let the input sequence be x t , the memory unit is ct , the output sequence is h t , the input gate is i t , the forget gate is f t , the output gate is o t , the update formula of the forget gate is as follows:

[0115] f t =σ(W f ·[h t-1 ,x t ]+b f )

[0116] Among them, σ represents the Sigmoid function, W f is the weight matrix of the forget gate, [h t-1 ,x t ] is the connection vector between the memory unit and the current input, b f is the bias term.

[0117] When designing a long short-term memory network, it is necessary to preset parameters such as the number of memory units, the weight parameters of the gating units, and the length of the input sequence.

[0118] 7) Install the mobile app

[0119] This application can be used on Android phones and provides the following functions but is not limited to:

[0120] A) Change the vibration mode, such as vibration time and vibration interval;

[0121] B) Automatically set a recognizable file name during data collection;

[0122] C) Easy collection of biological data;

[0123] D) Transfer data files via WeChat;

[0124] E) Real-time 9-dimensional data display.

[0125] The above-described embodiments are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, all changes made according to the shape and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A mobile phone user authentication method based on human behavior biometrics, characterized in that: include: Data collection phase: Before entering the training phase, it is necessary to collect the data set used by the training model. The data collection includes multiple mobile phone inertial measurement unit data when the user lifts the phone and grabs the phone; Model training stage: train two different models, namely the first model and the second model. The first model is used to identify the action of the user lifting the mobile phone to start recording the real-time data of the inertial measurement unit of the user's mobile phone; the second model uses the real-time data collected by the first model to extract user behavior features, and uses the extracted behavior features to achieve the purpose of authenticating the user through the user authentication model; wherein, in the data preprocessing of the two models, the dynamic features when the mobile phone is lifted and the static features when the mobile phone is grasped are extracted, and the Butterworth low-pass filter and the extended Kalman filter method are used respectively to remove environmental noise irrelevant to the biometric features from the dynamic features and the static features, so as to obtain clean and useful dynamic features and static features; the principle of the first model is to use the three-axis inertial measurement unit data and Kalman filter to calculate the real-time speed of the user raising his hand to identify the action of the user lifting the mobile phone; the second model distinguishes the dynamic features and the static features, and obtains two different decisions respectively, and then weights and fuses the two different decisions as the final decision, wherein the weighted decision fusion is used for the parameters of the two different decisions to update the weights according to the continuous interaction process of the user, and finally obtains the optimal second model that can distinguish the unique grasping mode of the user, which is called the user authentication model; Model application stage: Before application, you need to download the mobile application first and collect personal data in the mobile application, including data in the lifting stage and the grabbing stage. Then, use the file sharing function in the mobile application to upload the user data to the cloud platform for the same training as the above model training stage to generate a user authentication model. After the user authentication model is generated, the cloud platform will transfer the model parameters back to the user's mobile application for use. The model user needs to grab and lift the phone when the phone is off, under the premise of authorization by the mobile application. The mobile application will display information on whether the user authentication is successful after the user authentication model is authenticated.

2. The method for authenticating a mobile phone user based on human behavior biometrics according to claim 1, characterized in that: During the data collection phase, gesture detection includes: the initialization phase, the action of taking the smartphone out of the pocket, which consists of flexion or extension of the arm and wrist; the transition phase, the action of raising the phone, through elbow extension and shoulder abduction, the arm raises the phone to a more accessible position; the adjustment phase, the action of rotating the phone to the best viewing or interaction angle, which consists of wrist rotation and fine-tuning of the grip.

3. The method for authenticating a mobile phone user based on human behavior biometrics according to claim 1, characterized in that: The first model performs speed judgment, including three types of threshold judgments, namely, a start speed threshold, an end speed threshold and a maximum speed threshold; for the start speed threshold, if the hand movement speed exceeds the preset threshold, it is judged as the beginning of the lifting action; for the end speed threshold, if the hand movement speed is lower than the preset threshold and the mobile phone remains stable, it is judged as the end of the lifting action; for the maximum speed threshold, during the lifting action, if the maximum value of the hand movement speed exceeds the preset threshold, the action is confirmed to be a valid lifting action; wherein, the above three types of thresholds are extrapolated by statistically analyzing the distribution of inertial measurement unit data during the mobile phone stationary, mobile phone lifted and mobile phone browsing stages.

4. The method for authenticating a mobile phone user based on human behavior biometrics according to claim 1, characterized in that: The second model includes: Convolutional neural network, which is used to extract spatial features from the input data. Each convolutional neural network layer uses convolution kernels to extract subtle features of grasping and lifting gestures. Long short-term memory network, which is used to capture the time-dependent features in the input data. Its long short-term memory network layer contains hidden neurons and can effectively process sequence data; The multi-head attention mechanism, combined with the long short-term memory network layer, is used to focus on relevant features at different positions in the sequence data, improving the model's ability to capture complex temporal patterns; The feature fusion layer is used to fuse the features of the grasping gesture and the lifting gesture, and further process them through the fully connected layer and multi-layer perceptron to generate the final authentication output.