A continuous user authentication method based on location information
Through the continuous user authentication method based on location information, the Kalman filter algorithm and the security elliptical model are used to solve the low reliability and security risks of self-service business equipment and server identity authentication, and achieve more efficient information security.
Patent Information
- Application Number
- CN202111358727.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-11-16
AI Technical Summary
In the existing technology, the identity authentication of self-service business user equipment or servers has problems such as low reliability, difficulty in troubleshooting security risks, and complex and inconvenient operations. Especially when relying on third-party identity providers and signaling servers, it is difficult to effectively ensure information security.
Using a continuous user authentication method based on location information, the user's IP address and GPS data are obtained through the registration stage, the security elliptical model is trained, and the Kalman filter algorithm is used for real-time comparison during the login authentication and continuous authentication stages to determine whether the identity of the device terminal can be Trust authentication to enhance the security of the authentication process.
It improves the reliability of identity authentication of devices and servers, increases the difficulty for hackers to crack, and ensures information security. It especially provides efficient user and device authentication solutions in private network environments.
Smart Images

Figure CN114095233B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of identity authentication, and in particular to a continuous user authentication method based on positioning information. Background Art
[0002] With the rapid development of Internet technology, users of various self-service business halls use audio and video calls and other methods when handling business. Although this method brings people closer together, under this trend, as the scale of self-service business grows rapidly and the types increase, the security protection of different businesses becomes increasingly important. In particular, the trusted identity authentication of the self-service devices used by users to ensure whether the users have the corresponding access or operation permissions is an important barrier to ensure information security. Usually, the current trusted application method is to hope that the devices used by our users can identify the identity information of their peers, that is, the person communicating with them is not an imposter. At present, most of the communications based on the audio and video architecture still use signaling servers for user identity authentication, but the signaling server itself may not be trusted. In addition, most of the activities based on audio and video calls will establish peer verification based on the network identity provider (idP), such as Facebook, BRower ID or OAuth, because idP only provides verification for the user side, but does not provide identity verification for the signaling server and the device used by the user. Therefore, there are many security issues. It should be noted that the "trust" level provided by idP is subjective to the end user or service, and is usually tightly bound by the user's reputation on the Internet. In particular, there are cross-domain issues for trusted authentication in a private network environment. In short, the identity authentication of self-service user devices or servers at this stage has problems such as low reliability of authentication methods, difficulty in troubleshooting security risks, and complex and inconvenient operations, making it difficult to effectively ensure its information security. Summary of the invention
[0003] In view of the defects of the prior art, the present invention provides a continuous user authentication method based on positioning information to solve the problems of low reliability, difficulty in troubleshooting security risks, complex and inconvenient operation, etc. in the system's identity security authentication of user devices and servers.
[0004] In order to solve the technical problem, the technical solution adopted by the present invention is: a continuous user authentication method based on location information, including a registration phase, a login authentication phase and a continuous authentication phase;
[0005] During the registration phase, the user registration information is obtained and saved. The user registration information includes the user's IP address and the user's differential GPS data information. A security ellipse model is trained based on the user registration information as the data basis for the subsequent authentication phase.
[0006] During the login authentication phase, the security ellipse model is used to make a preliminary identity judgment, that is, whether the client sending the login authentication request is a trusted user entered by the server;
[0007] During the continuous authentication phase, the predicted value of the Kalman filter algorithm is compared with the actual value of the GPS in real time for residual comparison, so as to determine whether the user of the device terminal used under the current IP address is a trusted identity authentication based on the geographic location.
[0008] Furthermore, during the registration phase, the user IP address is converted by DNS to obtain the specific network location coordinates and the real data coordinates obtained by GPS are processed by extended Kalman filtering, and then the state X at the previous moment is used. t-1 The current state is estimated by the state equation as follows: t|t-1 =f(X t-1 ,0)=X t-1 +X t-1 d t , where d t Represents X after two Kalman filter processes t , X t-1 The difference between them is used to calculate f(X t-1 )’s Jacobian matrix F(X t-1 ), and then calculate the Jacobian matrix F(X t-1 ) operation and the error covariance matrix P t|t-1 , according to the prediction points in the registration phase, the observation Jacobian matrix H(X t|t-1 ), and calculate the Kalman filter gain K t , and then perform estimation compensation of the state space, and train the collected data to form a safety ellipse model as the data basis for the subsequent authentication stage.
[0009] Furthermore, during the login authentication phase, the server verifies in real time whether the client sending the login authentication request is the same as the trusted user of this login authentication, and determines whether to continue to maintain a real-time communication connection with the client to complete continuous authentication.
[0010] Furthermore, the specific process of the continuous certification stage is as follows:
[0011] S31), the client sends a continuous token protection request during the data communication phase of the trusted identity authentication phase, wherein the token protection request refers to a request to protect the encrypted geographic information of the client with a unique identification function and the related selected IP and MAC address information;
[0012] S32), after receiving the token request, the server queries the user's previous registration authentication information, confirms the login status, generates a random UUID, and sends the encrypted UUID to the client;
[0013] S33), the client decrypts the UUID, starts a one-time token calculation at a set time interval, encrypts the generated token and retransmits it to the server;
[0014] S34), after receiving the token, the server decrypts it and processes the network location information obtained from the IP address and the real data obtained from the GPS through the extended Kalman filter again. t-1 The current state is estimated by the state equation as follows: t|t-1 =f(X t-1 ,0)=X t-1 +X t-1 d t , calculate the Jacobian matrix F(X t-1 ), operations and the error covariance matrix P t|t-1 , determine the observation Jacobian matrix H(X t|t-1 ), and calculate the Kalman filter gain K t , then estimate and compensate the state space and train the current ellipse model, perform synchronous matching verification and authentication processing based on the GPS data value at time T and the security model in the registration phase, and feedback the user identity recognition result; if the user identity authentication result is qualified, the client and the server continue to communicate with each other, if the user identity authentication result fails, the relevant communication is interrupted, and the server counts and saves the user identity authentication result.
[0015] Furthermore, when the client authentication result fails, the user needs to re-perform the login authentication phase on the client to perform the location model to determine the identity before reconnecting to the server.
[0016] Furthermore, in the continuous authentication phase, the network location and the real GPS data are compared in real time, and each communication data is processed by Kalman filtering. At time K, the data D calculated by Kalman filtering is t And the actual GPS real data G collected t Calculate and get the residual X t , the residual values form a finite set According to logdetA -1 and ||Ax i +b||2≤1 equation group to find the minimum safety ellipse, where ||·||2 is the standard Euclidean norm, i=1,....N. According to the minimum safety ellipse, the final residual safety ellipse model ε={v|||Av+b||≤1} is calculated, where V is the calculated residual value, A∈R n×n ,b∈R nThe user identity authentication result is jointly determined by the preset residual threshold D1 < V and the number of times N1. Only when both parties are within the defined threshold is the authentication valid, otherwise the mutual information communication between the client and the server is interrupted.
[0017] Furthermore, the time interval for comparing the network location prediction data and the real GPS data is a random value within 1 - 20 seconds.
[0018] Furthermore, the user registration information within 2 minutes is obtained during the registration phase.
[0019] Advantages of the present invention: The present invention is a continuous user authentication method based on GPS positioning information, including establishing a high-precision location model in the registration phase, making a preliminary judgment of the identity through the location model in the login authentication phase, and comparing the predicted value after the Kalman filter algorithm with the real GPS value in real time in the continuous authentication phase for residual comparison, so as to determine that the user of the device terminal under the current IP address is a location-based identity trusted authentication, thus solving the security and trust issues of other idPs relying on any third party, and the current signaling is transmitted based on a random time point method, based on implicit data signaling that users do not directly participate in, enhancing the security and reliability of the signaling in the authentication link, increasing the difficulty of hacking by hackers, and having high reference significance in user and device security authentication in private networks and self-built networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is the flowchart of this method;
[0021] Figure 2 is the flowchart of the continuous authentication phase. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] The present invention will be further described below in conjunction with the drawings and specific embodiments.
[0023] Embodiment 1
[0024] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and more understandable, in combination with the attached Figure 1 、 2 , the present invention will be further described in detail. The specific examples described here are only used to explain the present invention and are not used to limit the present invention. Specifically, it includes the following steps:
[0025] 1. During the registration phase, the client collects the device's IP address, MAC address, differential GPS information, and username and password, and sends all the information to the server through signaling. After the server collects the first few minutes of information during the registration phase, it uses the IP address DNS reverse query and relocation requests and redirections to parse out the specific geographic location information, and then participates in the extended Kalman filter processing together with the differential high-precision GPS data. According to the state value X at the previous moment, t-1 Estimate the current state value X t|t-1 =f(X t-1 ,0)=X t-1 +X t-1 d t , calculate the Jacobian matrix F(X t-1 ), operations and the error covariance matrix P t|t-1 , from F(X t-1 ) Extract the point to be predicted and determine the observation Jacobian matrix H(X t|t-1 ), and calculate the Kalman filter gain K t Finally, the state space is estimated and compensated, and the 2-minute data collected during registration is used to train a safety ellipse model, which serves as the data basis for the subsequent authentication stage.
[0026] The estimated compensation is to remove the "flying points" in the acquired user registration information, that is, the data drifting to the outside.
[0027] Calculate the Jacobian matrix F(X t-1 ), operations and the error covariance matrix P t|t-1 This is a conventional technical means in this field and will not be described in detail in this embodiment.
[0028] 2. During the login authentication phase, a client program is installed on the specific client, which provides real-time and continuous identity information for users and devices, and can provide user registration, real-time login operations, and real-time authentication protection operations for users.
[0029] Specifically, when receiving the login authentication request and IP, MAC address and GPS data information sent by the client, the server converts the received IP address into a fully qualified domain name, and after a series of DNS query requests and redirections, obtains the specific geographical location information through a reverse domain query of the ISP server, and then determines the target customer consistent with the terminal in the user registration information stored on the server; the server verifies in real time whether the target user is consistent with the target user of this login authentication, and determines whether to continue to maintain a real-time communication connection with the client to complete continuous authentication.
[0030] 3. Continuous authentication stage: the server of the present invention provides continuous authentication for the client, and the above-mentioned continuous authentication is completed automatically without further intervention by the user. This method increases the difficulty for hackers to crack the client security measures and greatly improves the security of user data information.
[0031] In the continuous authentication phase, the time interval used for the real-time comparison of the network location prediction data and the real data of the GPS is a random value of 1-20 seconds to increase the randomness of the data transmission phase and increase the difficulty of data interception. The client sends a continuous token protection request during the data communication phase of the trusted identity authentication phase. The token request refers to a request to protect the encrypted geographic information of the client with a unique identification function and related selected IP and MAC address information.
[0032] After receiving the token request, the server queries the user's previous registration and authentication information, confirms the login status, generates a random UUID, and sends the encrypted UUID to the client.
[0033] The client decrypts the UUID, starts a one-time token calculation at a set time interval, encrypts the generated token and retransmits it to the server.
[0034] The server receives the token and decrypts it, and processes the network location information obtained from the IP address and the real data obtained from the GPS through the extended Kalman filter again. t-1 The current state is estimated by the state equation as follows: t|t-1 =f(X t-1 ,0)=X t-1 +X t-1 d t , calculate the Jacobian matrix F(X t-1 ) operation and the error covariance matrix P t|t-1 The prediction, calculation and observation of the Jacobian matrix H(X t|t-1 ), and calculate the Kalman filter gain K t ; Finally, the state space estimation compensation is performed and the current ellipse model is trained. According to the GPS data value at time T and the security model of the registration phase, synchronous matching verification and authentication processing are performed, and the user identity recognition result is fed back; if the user identity authentication result is qualified, the client and the server continue to communicate with each other, if the user identity authentication result fails, the relevant communication is interrupted, and the server counts and saves the user identity authentication result.
[0035] When the client authentication fails, the user needs to re-login and authenticate the identity on the client side and use the location model to determine the identity before reconnecting to the server.
[0036] During the continuous authentication phase, the network location is compared with the real GPS data in real time, and the communication data for each time is processed by Kalman filtering. At time K, based on the data D calculated by Kalman filtering t and the actual real GPS data G collected t are calculated to obtain the residual X t . The residual values form a finite set According to logdetA -1 and ||Ax i +b||2≤1, the smallest safety ellipse is obtained from the equations, where ||·||2 is the standard Euclidean norm, i = 1,....N. According to the smallest safety ellipse, the final residual safety ellipse model ε = {v|||Av + b||≤1} is calculated, where V is the calculated residual value, A ∈ R n×n , b ∈ R n . The result of user identity authentication is jointly determined by the preset threshold D1 < V of the residual and the number N1. Only when both parties are within the defined threshold is the authentication valid, otherwise the mutual information communication between the client and the server is interrupted
[0037] The above is only an example of the present invention and does not limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention
Claims
1. A method for continuous user authentication based on location information, Features: It includes the registration stage, login authentication stage and continuous authentication stage; The registration phase obtains and saves user registration information, which includes the user's IP address and the user's differential GPS data information. A security ellipse model is trained based on the user's registration information as the data basis for the subsequent authentication phase. The user's IP address obtained during the registration phase is converted by DNS to obtain the specific network location coordinates and the real data coordinates obtained by GPS. The extended Kalman filter is then used to convert the user's IP address to the real data coordinates obtained by GPS. The current state is estimated by the state equation as follows: ,in It means that after two Kalman filter processes , Calculate the difference between The Jacobian matrix , and then calculate the Jacobian matrix Operation and error covariance matrix , the observation Jacobian matrix is determined based on the predicted points in the registration phase , and calculate the Kalman filter gain ,Then perform estimation compensation of the state space, and train the security ellipse model with the collected data as the data basis for the subsequent authentication stage; During the login authentication phase, the security ellipse model is used to make a preliminary identity judgment, that is, whether the client sending the login authentication request is a trusted user entered by the server; During the continuous authentication phase, the predicted value of the Kalman filter algorithm is compared with the actual value of the GPS in real time to determine whether the user of the device terminal used under the current IP address is a trusted identity authentication based on the geographic location.
2. The method for continuous user authentication based on location information according to claim 1, Features: During the login authentication phase, the server verifies in real time whether the client that sends the login authentication request is the same as the trusted user for this login authentication, and determines whether to continue to maintain a real-time communication connection with the client to complete continuous authentication.
3. The method for continuous user authentication based on location information according to claim 1, Features: The specific process of the continuous certification stage is as follows: S31), the client sends a continuous token protection request during the data communication phase of the trusted identity authentication phase, wherein the token protection request refers to a request to protect the encrypted geographic information of the client that has a unique identification function and the related selected IP and MAC address information; S32), after receiving the token request, the server queries the user's previous registration authentication information, confirms the login status, generates a random UUID, and sends the encrypted UUID to the client; S33), the client decrypts the UUID, starts a one-time token calculation at a set time interval, encrypts the generated token and retransmits it to the server; S34), after receiving the token, the server decrypts it and processes the network location information obtained from the IP address and the real data obtained from the GPS through the extended Kalman filter again. The current state is estimated by the state equation as follows: , calculate the Jacobian matrix , operations and error covariance matrix , determine the observation Jacobian matrix , and calculate the Kalman filter gain , then estimate and compensate the state space and train the current ellipse model, perform synchronous matching verification and authentication processing based on the GPS data value at time T and the security ellipse model in the registration phase, and feedback the user identity recognition result; if the user identity authentication result is qualified, the client and the server continue to communicate with each other, if the user identity authentication result fails, the relevant communication is interrupted, and the server counts and saves the user identity authentication result.
4. The method for continuous user authentication based on location information according to claim 3, Features: When the client authentication fails, the user needs to re-login and authenticate the identity on the client side and use the location model to determine the identity before reconnecting to the server.
5. The method for continuous user authentication based on location information according to claim 3, Features: During the continuous authentication phase, the network location and the real GPS data are compared in real time, and the communication data for each time is processed by Kalman filtering. At time K, based on the data calculated by Kalman filtering and the actual real GPS data collected are calculated to obtain the residual . The residual values form a finite set . According to and the system of equations, the smallest safety ellipse is obtained, where is the standard Euclidean norm, i = 1,....N. Finally, the residual safety ellipse model is calculated, where V is the calculated residual value , . The user identity authentication result is jointly determined according to the preset threshold D1 < V of the residual and the number N1. Only when both parties are within the defined threshold is the authentication valid, otherwise the mutual information communication between the client and the server is interrupted.
6. The method for continuous user authentication based on location information according to claim 3, Features: The time interval used for real-time comparison between network location prediction data and real GPS data is a random value within 1-20 seconds.
7. The method for continuous user authentication based on location information according to claim 1, Features: During the registration phase, obtain user registration information within 2 minutes.
8. The method for continuous user authentication based on location information according to claim 1, Features: The ongoing authentication phase is completed automatically and does not require user intervention.
Citation Information
Patent Citations
Identity authentication method and device
CN110417776A
Identity authentication method, server and system
CN112152965A
