CN107465814A - A kind of user's input recognition method based on mobile phone inertial sensor - Google Patents

A kind of user's input recognition method based on mobile phone inertial sensor Download PDF

Info

Publication number
CN107465814A
CN107465814A CN201710578564.7A CN201710578564A CN107465814A CN 107465814 A CN107465814 A CN 107465814A CN 201710578564 A CN201710578564 A CN 201710578564A CN 107465814 A CN107465814 A CN 107465814A
Authority
CN
China
Prior art keywords
user
mobile phone
angle
signal window
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710578564.7A
Other languages
Chinese (zh)
Other versions
CN107465814B (en
Inventor
李方敏
张韬
阳超
周舟
栾悉道
杜炳谦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Zhongkan Beidou Research Institute Co ltd
Original Assignee
Changsha University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha University filed Critical Changsha University
Priority to CN201710578564.7A priority Critical patent/CN107465814B/en
Publication of CN107465814A publication Critical patent/CN107465814A/en
Application granted granted Critical
Publication of CN107465814B publication Critical patent/CN107465814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/70Details of telephonic subscriber devices methods for entering alphabetical characters, e.g. multi-tap or dictionary disambiguation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Environmental & Geological Engineering (AREA)
  • Social Psychology (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of user's input recognition method based on mobile phone inertial sensor, it realizes the purpose of the collection of data, training, detection and identification in the case where user is without discovering.The program generates attitude angle information by merging accelerometer and gyro data first, and the characteristic of division for identifying user's input is extracted from attitude angle information, then multiple different types of graders are trained, using the construction of strategy assembled classifier of combination ballot, posture feature is classified using assembled classifier in cognitive phase, identify single character, finally establish HMM, observation sequence is used as using the sampling interval of accelerometer, reject the potential password combination for not meeting observation sequence, so as to solve the technical problem that existing user's input recognition method can not identify account password.

Description

A kind of user's input recognition method based on mobile phone inertial sensor
Technical field
The invention belongs to data safety and secret protection technical field, is passed more particularly, to one kind based on mobile phone inertia User's input recognition method of sensor.
Background technology
In recent years, with the popularization of smart mobile phone and the fast development of Mobile solution, daily life of the smart mobile phone in people More and more important effect is played in work.
User inputs identification and has become the technical field that researchers are increasingly interested in smart mobile phone, but current mobile phone User inputs to know and mainly concentrated on otherwise in the identification problem of English text, can not be to account number cipher (mainly numeral The account number cipher of sequential manner) it is identified.
The content of the invention
For the disadvantages described above or Improvement requirement of prior art, the invention provides a kind of based on mobile phone inertial sensor User's input recognition method, it is intended that attitude angle information is generated by merging accelerometer and gyro data first, and The characteristic of division for identifying user's input is extracted from attitude angle information, multiple different types of graders is then trained, adopts With the construction of strategy assembled classifier of combination ballot, posture feature is classified using assembled classifier in cognitive phase, known Do not go out single character, finally establish HMM, using the sampling interval of accelerometer as observation sequence, rejecting is not inconsistent The potential password combination of observation sequence is closed, can only identify that the technology of English text is asked so as to solve existing user's input recognition method Topic.
To achieve the above object, according to one aspect of the present invention, there is provided a kind of use based on mobile phone inertial sensor Family input recognition method, comprises the following steps:
(1) the attitude angle θ of mobile phone curve is obtained using attitude algorithm algorithm:
(2) acceleration information and acceleration signature value during collection user click mobile phone screen, counts acceleration information Feature distribution scope, mobile phone is clicked in the range of feature distribution to detect user by judging whether acceleration signature value falls Beginning and ending time point;
(3) user obtained according to step (2) clicks on the attitude angle that the beginning and ending time point that mobile phone occurs obtains in step (1) Curve on obtain attitude angle characteristic value;
(4) the attitude angle characteristic value obtained using assembled classifier to step (3) is classified, to obtain user point hitter Prediction result corresponding to the region of machine;
(5) all areas on mobile phone are clicked on for user, repeat the above steps (1) to (4), to obtain user point hitter Prediction result corresponding to all areas of machine, and prediction result is handled using hidden Markov model, it is final to obtain Recognition result.
Preferably, the posture clearing algorithm used in step (1) is complementary filter algorithm.
Preferably, attitude angle θ is obtained by below equation:
Wherein,For high-pass filter,For low pass filter, τ is high-pass filter and low pass filter Time constant, dt are the sample frequency of high-pass filter and low pass filter, θaTo be calculated according to the axle relation of accelerometer three The attitude angle arrived, θgThe attitude angle being calculated for gyroscope with quaternary number.
Preferably, step (2) includes following sub-step:
(2-1) obtains multiple 3-axis acceleration quadratic sum ASSs of the user in signal window by accelerometer:
ASS=ax 2+ay 2+az 2
Wherein axRepresent that the user that accelerometer is got clicks on the acceleration collected during mobile phone screen in X-direction Value, ayRepresent that the user that accelerometer is got clicks on the acceleration magnitude collected during mobile phone screen in Y direction, azRepresent to add The user that speedometer is got clicks on the acceleration magnitude collected during mobile phone screen in Z-direction;
Multiple characteristic values in the 3-axis acceleration quadratic sum ASS that (2-2) extraction step (2-1) obtains;
(2-3) repeats the above steps (2-1) and (2-2) up to T times, to obtain distribution I corresponding to each characteristic valuei, Wherein i represents the sequence number of characteristic value, LiRepresent the lower limit of characteristic value, UiRepresent the higher limit of characteristic value:
Ii={ Li, Ui}
(2-4) extracts all 5 characteristic values, and extracting using sliding window from 3-axis acceleration quadratic sum ASS Characteristic value and step (2-3) in the distribution I that getsiContrasted, divided if the All Eigenvalues of extraction all fall Cloth scope IiIt is interior, then judge to detect click event, step (2-5) is then transferred to, if had in 5 characteristic values extracted One does not fall within distribution IiIt is interior, then judge not detecting click event, sliding window is then pushed ahead one Step-length, then repeat this step;
(2-5) is as a reference point with the position of current sliding window mouth, is counted forward with above-mentioned step-length, close enough by first g2Position as time starting point, length N of the time starting point plus signal window is obtained into time terminating point;
Preferably, specific following five characteristic values of extraction in step (2-2):
P1:ASS maximum subtracts g in signal window2, wherein g expression gravitational constants;
P2:ASS minimum value subtracts g in signal window2
P3:ASS maximum and the difference of minimum value;
P4:The sampling interval of P1 and P2 positions;
P5:ASS standard deviation Std (ASS) in signal window, it is specifically equal to:
Wherein N represents the length of signal window, and μ represents average values of the ASS in signal window.
Preferably, the attitude angle of mobile phone includes the angle of pitch that is rotated along carrier coordinate system X-axis of mobile phone, and mobile phone is along carrier The angle roll angle of coordinate system Y-axis rotation.
Preferably, the characteristic value of extraction is in step (3):Difference of the roll angle from time starting point to flex point, roll angle From flex point to standard deviation in signal window of the difference of time terminating point, roll angle, roll angle in signal window and, it is horizontal Difference of mean difference, the angle of pitch of the roll angle in signal window between sampled point from time starting point to flex point, the angle of pitch from Flex point to the standard deviation in signal window of difference, the angle of pitch of time terminating point, the angle of pitch in signal window and, pitching Mean difference of the angle in signal window between sampled point.
Preferably, the assembled classifier that step (5) uses include K- arest neighbors sorting algorithm, Naive Bayes Classifier with And SVMs.
In general, by the contemplated above technical scheme of the present invention compared with prior art, it can obtain down and show Beneficial effect:
(1) present invention due to adding HMM, its using the sampling interval of accelerometer as observation sequence, The potential password combination for not meeting observation sequence is rejected, and reduces the hunting zone of password, so as to reduce needed for decryption Time, and realize the identification to account number cipher;
(2) by the present invention in that with assembled classifier, it is possible to increase the recognition accuracy of single character)
(3) present invention passes through the research to smart mobile phone inertial sensor and dummy keyboard input behavior, it is proposed that a kind of Input identifying schemes using accelerometer and gyroscope as wing passage.
(4) present invention improves the accuracy of identification of single character by increasing characteristic of division and using assembled classification algorithm.
Brief description of the drawings
Fig. 1 is the flow chart of user's input recognition method of the invention based on mobile phone inertial sensor.
Fig. 2 is the model for the complementary filter that the present invention uses.
Fig. 3 is the result of attitude algorithm of the present invention, and wherein Fig. 3 (a) is the data of accelerometer, and Fig. 3 (b) is gyroscope number According to Fig. 3 (c) is click on the attitude angle variation diagram when mobile phone screen upper right corner and the lower left corner.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.As long as in addition, technical characteristic involved in each embodiment of invention described below Conflict can is not formed each other to be mutually combined.
The basic ideas of the present invention are, collection, training, detection and the knowledge of data are realized in the case where user is without discovering Other purpose.The program generates attitude angle information by merging accelerometer and gyro data first, and from attitude angle information The middle characteristic of division extracted for identifying user's input, then trains multiple different types of graders, using combination ballot Construction of strategy assembled classifier, posture feature is classified using assembled classifier in cognitive phase, identifies single character, HMM is finally established, using the sampling interval of accelerometer as observation sequence, rejecting does not meet observation sequence Potential password combination, it can only identify that the technology of the account password of English text is asked so as to solve existing user's input recognition method Topic.
As shown in figure 1, user's input recognition method of the invention based on mobile phone inertial sensor comprises the following steps:
(1) the attitude angle θ of mobile phone curve is obtained using complementary filter algorithm:
Wherein,For high-pass filter,For low pass filter, τ is high-pass filter and low pass filter Time constant, dt are the sample frequency of high-pass filter and low pass filter, θaTo be calculated according to the axle relation of accelerometer three The attitude angle arrived, θgThe attitude angle being calculated for gyroscope with quaternary number;
As shown in Fig. 2 it shows the model for the complementary filter that the present invention uses, accelerometer plays main make in low-frequency range With gyroscope plays a major role in high band, can change filter cutoff frequency by changing timeconstantτ, is adjusted with this The proportion of whole accelerometer and gyroscope in attitude algorithm.
In addition to complementary filter algorithm, conventional attitude algorithm algorithm also has gradient descent method, expands Kalman filtering method Deng.The complementary filter algorithm of the present invention is based on gyroscope and accelerometer, although its precision does not have above two algorithm Height, but advantage, which is that amount of calculation is small, can reduce system resources consumption, be a kind of simple effective method.So the present invention is using mutual Filtering algorithm is mended to resolve the attitude angle of mobile phone, Fig. 3 is the result of attitude algorithm, and Fig. 3 (a) is the data of accelerometer, Fig. 3 (b) is gyro data, and Fig. 3 (c) is click on attitude angle variation diagram (the wherein hand when mobile phone screen upper right corner and the lower left corner The angle of pitch of machine is pitch, and roll angle is Roll) because the present invention has only used roll angle and the angle of pitch, only depict The two angles.It can be seen that complementary filter algorithm can successfully calculate according to acceleration information and gyro data The change procedure and change details of mobile phone attitude angle are gone out.
(2) acceleration information and acceleration signature value during collection user click mobile phone screen, counts acceleration information Feature distribution scope, mobile phone is clicked in the range of feature distribution to detect user by judging whether acceleration signature value falls Beginning and ending time point;
This step includes following sub-step:
(2-1) is multiple within the duration (i.e. signal window) for clicking on mobile phone screen by accelerometer acquisition user 3-axis acceleration quadratic sum (Acceleration Square Sum, abbreviation ASS):
ASS=ax 2+ay 2+az 2
Wherein axRepresent that the user that accelerometer is got clicks on the acceleration collected during mobile phone screen in X-direction Value, ayRepresent that the user that accelerometer is got clicks on the acceleration magnitude collected during mobile phone screen in Y direction, azRepresent to add The user that speedometer is got clicks on the acceleration magnitude collected during mobile phone screen in Z-direction.
Multiple characteristic values in the 3-axis acceleration quadratic sum ASS that (2-2) extraction step (2-1) obtains;
Specifically, this step specifically extracts following five characteristic values:
P1:ASS maximum subtracts g in signal window2, i.e. ASSmax-g2, wherein g expression gravitational constants;
P2:ASS minimum value subtracts g in signal window2, i.e. ASSmin-g2
P3:ASS maximum and the difference of minimum value, i.e. ASSmax-ASSmin
P4:The sampling interval of P1 and P2 positions, i.e. Tp1-Tp2
P5:ASS standard deviation in signal window, i.e. Std (ASS), it is specifically equal to:
Wherein N represents the length of signal window, and μ represents average values of the ASS in signal window;
(2-3) is repeated the above steps, and (2-1) and (2-2) (T span is greater than or equal to 20 times, its numerical value up to T times Bigger, then the result finally given more tends to be accurate), to obtain distribution I corresponding to each characteristic valuei, wherein i expression spies The sequence number (in the present invention i value be 1 to 5 between) of value indicative, LiRepresent the lower limit of characteristic value, UiRepresent the upper of characteristic value Limit value:
Ii={ Li, Ui}
For example, I1={ L1, U1What is represented is exactly T characteristic value P1 distribution;
(2-4) extracts all 5 using sliding window (its size is equal to 2 times of N) from 3-axis acceleration quadratic sum ASS Characteristic value, and the distribution I that will be got in the characteristic value extracted and step (2-3)iContrasted, if extraction is complete Portion's characteristic value all falls in distribution IiIt is interior, then judge to detect click event, be then transferred to step (2-5), if extraction To 5 characteristic values in there is one not fall within distribution IiIt is interior, then judge not detecting click event, then will slide Window pushes ahead a step-length, and (in the present invention, the value of the step-length is 1), then to repeat this step;
(2-5) is as a reference point with the position of current sliding window mouth, is counted forward with above-mentioned step-length, close enough by first g2Position as time starting point, length N of the time starting point plus signal window is obtained into time terminating point;
Table 1 clicks on the experimental result of detection
The experimental result of detection is click on as shown in Table 1, and expression is three experimenters in two kinds of mobile phone On click detection success rate.In the training stage, every experimenter is required the different zones click in mobile phone screen, altogether 300 times, P1~P5 five characteristic values are then extracted from each click event, count the distribution of each characteristic value, The distribution of five characteristic values is exactly the statistical law of click event of the specific user in specific model altogether.Identifying Stage, every experimenter are required to click in the different zones of mobile phone, 100 times altogether.Such as A 100 times click on test in, Have on red rice 3s 89 times and be successfully detected, there are 11 click events to be not detected;Have on Meizu mx4 93 times and be detected Arrive, and have 7 times and be not detected.Table 3-2's test result indicates that, the click detection method based on statistics can realize 90% The detection success rate of left and right.
(3) user obtained according to step (2) clicks on the attitude angle that the beginning and ending time point that mobile phone occurs obtains in step (1) Attitude angle characteristic value is obtained on θ curve;
Specifically, each characteristic vector has 5 pairs of totally 10 characteristic values:
F1:Difference of the roll angle from time starting point to flex point, if the angle of pitch is to be monotonically changed not in signal window Flex point be present, then it is flex point to define terminating point;
F2:Roll angle is from flex point to the difference of time terminating point, if the angle of pitch is to be monotonically changed not in signal window Flex point be present, then equal to zero;
F3:Standard deviation of the roll angle in signal window;
F4:Sum of the roll angle in signal window;
F5:Mean difference of the roll angle in signal window between sampled point;
F6:Difference of the angle of pitch from time starting point to flex point, if the angle of pitch is to be monotonically changed not in signal window Flex point be present, then it is flex point to define terminating point;
F7:The angle of pitch is from flex point to the difference of time terminating point, if the angle of pitch is to be monotonically changed not in signal window Flex point be present, then equal to zero;
F8:Standard deviation of the angle of pitch in signal window;
F9:Sum of the angle of pitch in signal window;
F10:Mean difference of the angle of pitch in signal window between sampled point;
(4) the attitude angle characteristic value obtained using assembled classifier to step (3) is classified, to obtain user point hitter Prediction result corresponding to the region of machine;
Specifically, the assembled classifier that this step uses includes K- arest neighbors sorting algorithms (K-Nearest Neighbor, abbreviation KNN), Naive Bayes Classifier (Naive Bayes Classifier, abbreviation NBC) and support to Amount machine (Support Vector Machine, abbreviation SVM).
After the input feature vector of user is got, our grader is trained, that is, utilizes the classification in machine learning Algorithm identifies the input data of user, and the basic step of recognizer is to collect data train classification models in the training stage, It is predicted in cognitive phase using input of the disaggregated model trained to user.Because assembled classifier can be obtained than any Single fundamental classifier will be good effect, to be taken into account using assembled classifier between the accuracy of fundamental classifier and grader Diversity.Therefore some classical machine learning classification algorithms are first introduced below, then introduces assembled classifier of the present invention again Combined strategy:
First, K- arest neighbors sorting algorithm
KNN algorithms by weigh characteristic value distance otherness to classifying between all objects, it is a kind of The typically learning method based on analogy, there is more ripe theoretical foundation.Assuming that there are three known classification ω1、ω2、ω3, When the unknown sample to be sorted of a classification enters sample space, each point in sample and training data to be sorted ask away from From then selecting K closest point, see which kind of classification this K point belongs to, the most classification of occurrence number is just in K point It is the classification belonging to sample to be sorted.
2nd, Naive Bayes Classifier
Bayes classifier is the sorting technique realized based on Bayes decision theory.In the known situation for knowing dependent probability Under, judge the classification of sample to be sorted by making misclassification loss minimum.
Assuming that A1, A2...AnIt is n characteristic attribute of data set, there is m classification, C={ C in addition1, C2...CmAnd one Sample X to be sorted, X attribute are { x1, x2...xnIn xiIt is attribute AiSome value, X belongs to class CiPosterior probability be P (X|Ci), C (X) represents class label, and formula (3-7) is the mathematical notation of Bayesian Classification Model
C (X)=argmaxP (Ci)P(X|Ci) (3-7)
Naive Bayesian introduce it is assumed hereinafter that, i.e., under conditions of given classification C, all properties AiBetween be mutually solely Vertical, because being difficult to try to achieve formula (3-7) result by calculating in the problem of actually encountering
, can be with independent study attribute A in Naive Bayes Classification AlgorithmiConditional probability P (A under classification Ci| C) and Attribute AiProbability, attribute AiProbability is constant α, then grader formula (3-9) calculate sample to be sorted posteriority it is general Rate
The advantages of Bayesian Classification Arithmetic is mathematical theory precise and reliable, classification effectiveness is stable, algorithm is simple, to missing number According to insensitive.
3rd, SVMs
SVMs is the sorting technique based on statistical theory, is generally used for two classification problems, but can be with Solve more classification problems by combining multiple two class support vector machines, integrated mode there are one-to-many, one-to-one and SVM decision trees It is several[36].For being that original feature space is passed through core in the solution of the inseparable problem of lower dimensional space classification, SVM Function Mapping is divided to high-dimensional feature space structural classification hyperplane.
Can be with following linear equation come structural classification hyperplane, wherein ω is the normal vector for representing in-plane, b tables Show the displacement between hyperplane and origin
ωTX+b=0 (3-10)
The distance of sample space any point x to hyperplane is
Assuming that hyperplane can be classified sample like clockwork, for any point in two dimensional sample space (xi,yi), there is below equation
So that the sample point nearest from hyperplane that formula (3-12) is set up is exactly supporting vector, two foreign peoples's supporting vectors To the distance of hyperplane and it is γ, finds suitable ω and b so that γ is maximum[33]
The advantages of SVMs is:Can solve nonlinear problem, Generalization Capability can be improved, local pole can be avoided Dot problem, can solve the problems, such as higher-dimension.
(5) all areas on mobile phone are clicked on for user, repeat the above steps (1) to (4), to obtain user point hitter Prediction result corresponding to all areas of machine, and prediction result is handled using hidden Markov model, it is final to obtain Recognition result.
Above-mentioned sorting algorithm is the recognizer for single button or individual digit, and it is to be built upon that this section, which illustrates, Keying sequence on individual digit identification basis speculates algorithm.We observe in an experiment user input password when Wait, in the case where one hand inputs, because the numerical key distance on keyboard is different, the sampling interval of acceleration click signal Also it is different.
In the identification experiment of password, HMM is introduced into, it is assumed that the hunting zone of individual digit is first three The maximum numeral of individual posterior probability, then 81 kinds altogether of 4 powers that the search space after the cutting of the password of 4 bit lengths is 3 Combination.20 4 passwords of stochastic inputs in experiment, and only consider ideal situation, the i.e. observation sequence (accelerometer of password Sampling interval) with the distance between numerical key meet linear relationship, observation sequence is true.To 81 kinds possible group of each password It is total to calculate their theoretical observation sequence, and compared with actual observation sequence, if theoretical observation sequence is seen not equal to actual Sequencing row, illustrate that this combination is not real password, and it is weeded out from search space.
Result of the table 2 after Markov model is further cut
According to upper table 2, the average password combination quantity after Markov model is cut is 19, and 19 are dropped to from 81, under 4 times are dropped about.Illustrate further reduce searching for password from the observation sequence of accelerometer with HMM Rope space, this substantially reduces the required time of attacker's decryption.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to The limitation present invention, all any modification, equivalent and improvement made within the spirit and principles of the invention etc., all should be included Within protection scope of the present invention.

Claims (8)

1. a kind of user's input recognition method based on mobile phone inertial sensor, it is characterised in that comprise the following steps:
(1) curve of the attitude angle of mobile phone is obtained using attitude algorithm algorithm:
(2) acceleration information and acceleration signature value during collection user click mobile phone screen, the feature of acceleration information is counted Distribution, by judging whether acceleration signature value falls in the range of feature distribution to detect that user clicks on mobile phone and occurred Only time point;
(3) user obtained according to step (2) clicks on the song for the attitude angle that the beginning and ending time point that mobile phone occurs obtains in step (1) Attitude angle characteristic value is obtained on line;
(4) the attitude angle characteristic value obtained using assembled classifier to step (3) is classified, and mobile phone is clicked on to obtain user Prediction result corresponding to region;
(5) all areas on mobile phone are clicked on for user, repeated the above steps (1) to (4), and mobile phone is clicked on to obtain user Prediction result corresponding to all areas, and prediction result is handled using hidden Markov model, to obtain final knowledge Other result.
2. user's input recognition method according to claim 1, it is characterised in that the posture clearing used in step (1) Algorithm is complementary filter algorithm.
3. user's input recognition method according to claim 1, it is characterised in that attitude angle θ is obtained by below equation :
Wherein,For high-pass filter,It is normal for the time of high-pass filter and low pass filter for low pass filter, τ Number, dt are the sample frequency of high-pass filter and low pass filter, θaFor the appearance being calculated according to the axle relation of accelerometer three State angle, θgThe attitude angle being calculated for gyroscope with quaternary number.
4. user's input recognition method according to claim 1, it is characterised in that step (2) includes following sub-step:
(2-1) obtains multiple 3-axis acceleration quadratic sum ASSs of the user in signal window by accelerometer:
ASS=ax 2+ay 2+az 2
Wherein axRepresent that the user that accelerometer is got clicks on the acceleration magnitude collected during mobile phone screen in X-direction, ayTable Show that the user that accelerometer is got clicks on the acceleration magnitude collected during mobile phone screen in Y direction, azRepresent accelerometer The user got clicks on the acceleration magnitude collected during mobile phone screen in Z-direction;
Multiple characteristic values in the 3-axis acceleration quadratic sum ASS that (2-2) extraction step (2-1) obtains;
(2-3) repeats the above steps (2-1) and (2-2) up to T times, to obtain distribution I corresponding to each characteristic valuei, wherein i Represent the sequence number of characteristic value, LiRepresent the lower limit of characteristic value, UiRepresent the higher limit of characteristic value:
Ii={ Li, Ui}
(2-4) extracts all 5 characteristic values, and the spy that will be extracted using sliding window from 3-axis acceleration quadratic sum ASS Value indicative and the distribution I got in step (2-3)iContrasted, if the All Eigenvalues of extraction all fall in distribution model Enclose IiIt is interior, then judge to detect click event, step (2-5) is then transferred to, if having one in 5 characteristic values extracted Distribution I is not fallen withiniIt is interior, then judge not detecting click event, sliding window is then pushed ahead into a step-length, Then this step is repeated;
(2-5) is as a reference point with the position of current sliding window mouth, is counted forward with above-mentioned step-length, by first close enough g2's Length N of the time starting point plus signal window is obtained time terminating point by position as time starting point.
5. user's input recognition method according to claim 4, it is characterised in that specific extraction is following in step (2-2) Five characteristic values:
P1:ASS maximum subtracts g in signal window2, wherein g expression gravitational constants;
P2:ASS minimum value subtracts g in signal window2
P3:ASS maximum and the difference of minimum value;
P4:The sampling interval of P1 and P2 positions;
P5:ASS standard deviation Std (ASS) in signal window, it is specifically equal to:
Wherein N represents the length of signal window, and μ represents average values of the ASS in signal window.
6. user's input recognition method according to claim 1, it is characterised in that the attitude angle of mobile phone includes mobile phone along load The angle of pitch of body coordinate system X-axis rotation, and the angle roll angle that mobile phone rotates along carrier coordinate system Y-axis.
7. user's input recognition method according to claim 6, it is characterised in that the characteristic value of extraction is in step (3): Difference of the roll angle from time starting point to flex point, roll angle are from flex point to the difference of time terminating point, roll angle in signal window Intraoral standard deviation, roll angle in signal window and, mean difference of the roll angle in signal window between sampled point, bow Difference of the elevation angle from time starting point to flex point, the angle of pitch are from flex point to the difference of time terminating point, the angle of pitch in signal window Interior standard deviation, the angle of pitch in signal window and, mean difference of the angle of pitch in signal window between sampled point.
8. user's input recognition method according to claim 1, it is characterised in that the assembled classifier that step (5) uses Including K- arest neighbors sorting algorithm, Naive Bayes Classifier and SVMs.
CN201710578564.7A 2017-07-17 2017-07-17 A kind of user's input recognition method based on mobile phone inertial sensor Active CN107465814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710578564.7A CN107465814B (en) 2017-07-17 2017-07-17 A kind of user's input recognition method based on mobile phone inertial sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710578564.7A CN107465814B (en) 2017-07-17 2017-07-17 A kind of user's input recognition method based on mobile phone inertial sensor

Publications (2)

Publication Number Publication Date
CN107465814A true CN107465814A (en) 2017-12-12
CN107465814B CN107465814B (en) 2019-11-22

Family

ID=60546750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710578564.7A Active CN107465814B (en) 2017-07-17 2017-07-17 A kind of user's input recognition method based on mobile phone inertial sensor

Country Status (1)

Country Link
CN (1) CN107465814B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712253A (en) * 2018-06-06 2018-10-26 北京美好人生伙伴信息技术有限公司 A kind of recognition methods of forgery mobile terminal and device based on mobile phone sensor fingerprint
CN111062116A (en) * 2019-11-13 2020-04-24 天津津航计算技术研究所 Method for accurately identifying analog quantity key information with unknown characteristics
CN111400680A (en) * 2020-03-30 2020-07-10 南方电网科学研究院有限责任公司 Mobile phone unlocking password prediction method based on sensor and related device
CN112184241A (en) * 2020-09-27 2021-01-05 ***股份有限公司 Identity authentication method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318136A (en) * 2014-09-29 2015-01-28 同济大学 Modeling and analysis system for user keyboard key pressing activity mode and identity identification method thereof
CN105975091A (en) * 2016-07-05 2016-09-28 南京理工大学 Virtual keyboard human-computer interaction technology based on inertial sensor
US20170068325A1 (en) * 2009-11-05 2017-03-09 Will John Temple Scrolling and zooming of a portable device display with device motion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170068325A1 (en) * 2009-11-05 2017-03-09 Will John Temple Scrolling and zooming of a portable device display with device motion
CN104318136A (en) * 2014-09-29 2015-01-28 同济大学 Modeling and analysis system for user keyboard key pressing activity mode and identity identification method thereof
CN105975091A (en) * 2016-07-05 2016-09-28 南京理工大学 Virtual keyboard human-computer interaction technology based on inertial sensor

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XU Z,BAI K,ZHU S.: "《TapLogger:Inferring user inputs on smartphone touchscreens using on-board motion sensors》", 《PROCEEDINGS OF THE FIFTH ACM CONFERENCE ON SECURITY AND PRIVACY IN WIRELESS AND MOBILE NETWORKS》 *
平丹: "《基于Android平台侧通道的键盘输入窃取的研究》", 《中国优秀硕士学位论文》 *
陈孟元,谢义建,陈跃东: "《基于四元数改进型互补滤波的MEMS姿态解算》", 《电子测量与仪器学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712253A (en) * 2018-06-06 2018-10-26 北京美好人生伙伴信息技术有限公司 A kind of recognition methods of forgery mobile terminal and device based on mobile phone sensor fingerprint
CN108712253B (en) * 2018-06-06 2020-10-13 北京人人云图信息技术有限公司 Counterfeit mobile terminal identification method and device based on fingerprint of mobile phone sensor
CN111062116A (en) * 2019-11-13 2020-04-24 天津津航计算技术研究所 Method for accurately identifying analog quantity key information with unknown characteristics
CN111400680A (en) * 2020-03-30 2020-07-10 南方电网科学研究院有限责任公司 Mobile phone unlocking password prediction method based on sensor and related device
CN112184241A (en) * 2020-09-27 2021-01-05 ***股份有限公司 Identity authentication method and device
CN112184241B (en) * 2020-09-27 2024-02-20 ***股份有限公司 Identity authentication method and device

Also Published As

Publication number Publication date
CN107465814B (en) 2019-11-22

Similar Documents

Publication Publication Date Title
Nickel et al. Authentication of smartphone users based on the way they walk using k-NN algorithm
Wang et al. Human activity recognition with user-free accelerometers in the sensor networks
CN107465814A (en) A kind of user's input recognition method based on mobile phone inertial sensor
CN102640085A (en) System and method for recognizing gestures
CN109462691B (en) Implicit protection method and system based on multi-sensor data fusion
CN105956558B (en) One kind being based on 3-axis acceleration sensor human motion recognition method
CN109934354A (en) Abnormal deviation data examination method based on Active Learning
CN108509897A (en) A kind of human posture recognition method and system
McCall et al. Macro-class Selection for Hierarchical k-NN Classification of Inertial Sensor Data.
CN102571486A (en) Traffic identification method based on bag of word (BOW) model and statistic features
CN109165671A (en) Confrontation sample testing method based on sample to decision boundary distance
CN108629170A (en) Personal identification method and corresponding device, mobile terminal
Kozina et al. Dynamic signal segmentation for activity recognition
CN107153780A (en) The writing behavioural characteristic authentication method of electronic equipment is dressed based on wrist
Guo et al. OpenSesame: Unlocking smart phone through handshaking biometrics
Gulzar et al. Human activity analysis using machine learning classification techniques
CN110472506A (en) A kind of gesture identification method based on support vector machines and Neural Network Optimization
CN106971203B (en) Identity recognition method based on walking characteristic data
Al-Saraireh et al. Keystroke and swipe biometrics fusion to enhance smartphones authentication
Angrisano et al. Identification of walker identity using smartphone sensors: an experiment using ensemble learning
CN113742669A (en) User authentication method based on twin network
CN109344848A (en) Mobile intelligent terminal security level classification method based on Adaboost
CN110929766B (en) Self-adaptive pedestrian mobile phone attitude identification method based on Gaussian mixture clustering algorithm
Wang et al. Handwaving authentication: Unlocking your smartwatch through handwaving biometrics
CN112052336B (en) Traffic emergency identification method and system based on social network platform information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240704

Address after: Room 1001, Comprehensive Building, Futian Xingye Building, No. 377 Jinma Road, Furong North Road Street, Kaifu District, Changsha City, Hunan Province, 410000

Patentee after: Hunan Zhongkan Beidou Research Institute Co.,Ltd.

Country or region after: China

Address before: 410003 science and Technology Office of Changsha University, 98 Hongshan Road, Kaifu District, Changsha City, Hunan Province

Patentee before: CHANGSHA University

Country or region before: China