An information determination method, device and computer readable storage medium
By acquiring and analyzing the similarity and matching degree between the target device's movement trajectory and the reference trajectory, the problem of smart devices being unable to automatically authenticate users is solved, thereby improving the intelligence and security of smart devices.
Patent Information
- Application Number
- CN202210950947.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-09
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-08-09
AI Technical Summary
In existing technologies, smart devices cannot automatically authenticate user identities, resulting in low intelligence.
By acquiring the target device's movement trajectory to be monitored, the similarity between the movement trajectory to be monitored and the reference movement trajectory, as well as the matching degree between the first location information and the reference location information, are determined. Based on the trajectory similarity and matching degree, the legitimacy of the target user is automatically authenticated.
It enables automatic user authentication for smart devices, improving their intelligence and ensuring their security.
Smart Images

Figure CN116821868B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an information determination method, device and computer-readable storage medium. Background Technology
[0002] With the advancement of science and technology, the number of smart devices has grown exponentially. Currently, smart devices commonly use facial recognition for authentication and login. This method involves using the smart device's front-facing camera to capture facial features, including the distance between the eyes, the distance between the eyes and nose, the distance between the nose and mouth, and other facial characteristics. These features are then stored in a template for facial recognition. However, current facial recognition technologies require users to actively initiate authentication before logging into smart devices; the device does not automatically authenticate the user's identity, resulting in relatively low levels of intelligence. Summary of the Invention
[0003] To address the aforementioned technical problems, this application aims to provide an information determination method, device, and computer-readable storage medium, which can solve the problem in related technologies that smart devices cannot automatically authenticate user identities, improve the intelligence of smart devices, and ensure the security of smart devices.
[0004] The technical solution of this application is implemented as follows:
[0005] An information determination method, the method comprising:
[0006] Acquire the target device's movement trajectory to be monitored, and determine the first location information in the movement trajectory to be monitored;
[0007] Determine the trajectory similarity between the monitored trajectory and the reference trajectory;
[0008] Determine the matching degree between the first location information and the reference location information;
[0009] Based on the trajectory similarity and the matching degree, it is determined whether the target user corresponding to the target device is a legitimate user.
[0010] In the above scheme, determining the trajectory similarity between the monitored trajectory and the reference trajectory includes:
[0011] Determine the similarity of matching point pairs between the monitored movement trajectory and the reference movement trajectory;
[0012] The length of the target trajectory is determined based on the length of the movement trajectory to be monitored and the length of the reference movement trajectory;
[0013] The trajectory similarity is obtained based on the similarity of the matching point pairs and the length of the target trajectory.
[0014] In the above scheme, determining the similarity of matching point pairs between the monitored movement trajectory and the reference movement trajectory includes:
[0015] Based on the distance between the first location information and the reference location information, multiple matching point pairs are determined between the movement trajectory to be monitored and the reference movement trajectory;
[0016] The objective function is applied to each pair of matching points to obtain the objective function value;
[0017] The similarity of the matching point pairs is obtained by performing calculations on each of the objective function values.
[0018] In the above scheme, determining multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory based on the distance between the first location information and the reference location information includes:
[0019] Filter the abnormal location information in the first location information to obtain the filtered first location information;
[0020] Based on the location parameters of the filtered first location information, the second location information is determined from the filtered first location information;
[0021] If the distance between the second location information and the reference location information meets the target distance threshold, the plurality of matching point pairs are determined based on the second location information and the reference location information.
[0022] In the above scheme, determining the matching degree between the first location information and the reference location information includes:
[0023] Determine the number of location information pieces in the first location information that match the reference location information;
[0024] The matching degree is determined based on the quantity.
[0025] In the above scheme, determining whether the target user corresponding to the target device is a legitimate user based on the trajectory similarity and the matching degree includes:
[0026] If the trajectory similarity is greater than or equal to a first target threshold and the matching degree is greater than a second target threshold, the target user is determined to be a legitimate user.
[0027] In the above scheme, determining whether the target user corresponding to the target device is a legitimate user based on the trajectory similarity and the matching degree further includes:
[0028] When the trajectory similarity is less than the first target threshold and the matching degree is equal to the second target threshold, the fault tolerance parameter is determined.
[0029] The fault tolerance parameters are calculated.
[0030] For each of the above operations, it is determined whether the trajectory similarity is greater than or equal to a first target threshold and whether the matching degree is greater than a second target threshold, until it is determined that the fault tolerance parameter satisfies a third target threshold, and the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, then the target user is determined to be a legitimate user.
[0031] The method in the above scheme further includes:
[0032] If the fault tolerance parameter satisfies the third target threshold, and the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold, then the target user is determined to be an illegal user.
[0033] The method in the above scheme further includes:
[0034] If the target user is a legitimate user, the reference movement trajectory is updated based on the movement trajectory to be monitored;
[0035] Accordingly, the method further includes:
[0036] Determine the usage frequency of each of the reference movement trajectories;
[0037] When the number of reference movement trajectories reaches the target value, the reference movement trajectories are filtered using the usage frequency.
[0038] An information determining device, the device comprising:
[0039] The acquisition unit is used to acquire the target device's movement trajectory to be monitored and to determine the first location information in the movement trajectory to be monitored;
[0040] The processing unit is used to determine the trajectory similarity between the monitored trajectory and the reference trajectory.
[0041] The processing unit is further configured to determine the degree of matching between the first location information and the reference location information;
[0042] The detection unit is used to determine whether the target user corresponding to the target device is a legitimate user based on the trajectory similarity and the matching degree.
[0043] An information determining device, the device comprising: a processor, a memory, and a communication bus;
[0044] The communication bus is used to realize the communication connection between the processor and the memory;
[0045] The processor is used to execute the information determination program stored in the memory to implement the steps of the above-described information determination method.
[0046] A computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the above-described information determination method.
[0047] The information determination method, device, and computer-readable storage medium provided in this application embodiment acquire the target device's monitored movement trajectory, determine the first location information in the monitored movement trajectory, determine the trajectory similarity between the monitored movement trajectory and the reference movement trajectory, and then determine the matching degree between the first location information and the reference location information. Based on the trajectory similarity and matching degree, it then determines whether the target user corresponding to the target device is a legitimate user. Thus, based on the trajectory similarity between the monitored movement trajectory and the reference movement trajectory and the matching degree between the first location information and the reference location information, the target user of the target device can be automatically authenticated. This solves the problem of not being able to automatically authenticate users in related technologies, improves the intelligence of smart devices, and ensures the security of smart devices. Attached Figure Description
[0048] Figure 1 A flowchart illustrating an information determination method provided in an embodiment of this application;
[0049] Figure 2 A flowchart illustrating another information determination method provided in an embodiment of this application;
[0050] Figure 3 This is a schematic diagram illustrating the preprocessing of information in an information determination method provided in an embodiment of this application;
[0051] Figure 4 This is a schematic diagram illustrating another method for preprocessing information in an information determination method provided in this application embodiment.
[0052] Figure 5a A schematic diagram comparing the movement trajectory to be monitored with a reference movement trajectory in an information determination method provided in this application embodiment;
[0053] Figure 5b A schematic diagram showing a comparison between another monitored movement trajectory and a reference movement trajectory in an information determination method provided in this application embodiment;
[0054] Figure 6 A flowchart illustrating the process of detecting user identity in an information determination method provided in this application embodiment;
[0055] Figure 7 This is a schematic flowchart of an information determination device provided in an embodiment of this application;
[0056] Figure 8 This is a schematic diagram of an information determination device provided in an embodiment of this application. Detailed Implementation
[0057] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0058] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0059] This application provides an information determination method, which can be applied to an information determination device, as described above. Figure 1 As shown, the method includes the following steps:
[0060] Step 101: Obtain the target device's movement trajectory to be monitored, and determine the first location information in the movement trajectory to be monitored.
[0061] The target device can refer to a mobile terminal that requires corresponding user authentication; in one feasible implementation, the target device can refer to a portable terminal; preferably, the target device can refer to a mobile phone. In this embodiment, the movement trajectory to be monitored can refer to the travel trajectory of the target user operating the target device.
[0062] In this embodiment, the first location information can refer to the spatial location information of the target device during its movement, and can be represented by three-dimensional coordinates composed of time, longitude, and latitude; in one feasible implementation, the first location information can be represented by p i (lat i ,lon i ,time i It should be noted that the movement trajectory to be monitored is obtained during the movement of the target device, and there can be multiple first location information in the movement trajectory to be monitored. The time parameters, longitude parameters and latitude parameters in each first location information are different, and multiple first location information can be obtained from the movement trajectory to be monitored based on the time parameters.
[0063] In this embodiment, the first location information of the target device can be acquired in real time or periodically. In one feasible implementation, a Global Positioning System (GPS) sensor installed inside the device can be used to collect the target device's monitored movement trajectory. The collection period can be set to 10 seconds, and the monitored movement trajectory collected by GPS can be represented by P, where P can be expressed as P = {p1, p2, p3, ..., p...}. n}
[0064] It should be noted that the data collection period can be set according to the specific application scenario.
[0065] Step 102: Determine the trajectory similarity between the movement trajectory to be monitored and the reference movement trajectory.
[0066] The reference movement trajectory can refer to a pre-set movement trajectory that the user frequently uses, or it can refer to multiple pre-set movement trajectories that the user frequently uses. It should be noted that the reference movement trajectory can be set based on historical movement trajectory information.
[0067] In this embodiment of the application, the trajectory to be monitored and the reference trajectory can be calculated to obtain the trajectory similarity between the trajectory to be monitored and the reference trajectory.
[0068] Step 103: Determine the matching degree between the first location information and the reference location information.
[0069] The reference location information can refer to the location information in the reference movement trajectory. It should be noted that there can be multiple reference location information, and multiple reference location information can be obtained from the reference movement trajectory.
[0070] In this embodiment of the application, the first location information and the reference location information can be matched, and the degree of matching between the first location information and the reference location information can be determined based on the result of the matching process.
[0071] Step 104: Based on trajectory similarity and matching degree, determine whether the target user corresponding to the target device is a legitimate user.
[0072] In this embodiment of the application, if the trajectory similarity between the monitored trajectory and the reference trajectory and the matching degree between the first location information and the reference location information both meet the target conditions, the target user operating the target device is determined to be a legitimate user; if the trajectory similarity between the monitored trajectory and the reference trajectory and / or the matching degree between the first location information and the reference location information do not meet the target conditions, the target user operating the target device is determined to be an illegitimate user.
[0073] The information determination method provided in this application embodiment can actively authenticate the target user of the target device based on the trajectory similarity between the monitored movement trajectory and the reference movement trajectory and the matching degree between the first location information and the reference location information. This solves the problem of not being able to automatically authenticate users in related technologies, improves the intelligence of smart devices, and ensures the security of smart devices.
[0074] Based on the foregoing embodiments, this application provides another information determination method, referring to... Figure 2 As shown, the method includes the following steps:
[0075] Step 201: The information determination device acquires the target device's movement trajectory to be monitored and determines the first location information in the movement trajectory to be monitored.
[0076] Step 202: The information determination device determines the similarity of the matching point pairs between the movement trajectory to be monitored and the reference movement trajectory.
[0077] Here, a matching point pair can refer to a pair consisting of first position information and reference position information that meet certain conditions. In the embodiments of this application, the similarity between the matching point pairs between the movement trajectory to be detected and the reference movement trajectory can be obtained by performing calculations on the matching point pairs between them.
[0078] It should be noted that step 202 can be achieved in the following way:
[0079] Step 202A1: The information determination device determines multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory based on the distance between the first location information and the reference location information.
[0080] In this embodiment of the application, the spatial distance between the first location information and the reference location information can be converted into the physical distance between the first location information and the reference location information, and then multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory can be determined based on the distance on the Earth's surface.
[0081] In one feasible implementation, the movement trajectory to be monitored can be represented as P = {p i The reference trajectory can be represented by q = {q_i, i = 1, 2, ..., m}. j The sequence {j = 1, 2, ..., n} represents the number of first position information items in the monitored trajectory, and n represents the number of reference position information items in the reference trajectory; the first position information can be represented by p i (lat i ,lon i ,time iThe reference position information can be represented by p. j (lat j ,lon j ,time j If we use distance(p) to represent the distance on the Earth's surface between the first location information and the reference location information, then the distance between the first location information and the reference location information can be represented as distance(p). i ,q j The distance between the first location information and the reference location information on the Earth's surface can be calculated using the following expression (1):
[0082]
[0083] Among them, lat i This represents the latitude parameter of the first location information in the monitored movement trajectory, lon i This represents the longitude parameter of the first location information in the monitored movement trajectory, time. i This represents the time parameter of the first position information in the monitored movement trajectory; lat j This represents the latitude parameter of the reference position information in the reference movement trajectory, lon i This represents the longitude parameter of the reference location information in the reference movement trajectory, time. j This represents the time parameter of the reference position information in the reference movement trajectory; h represents the spatial distance between the first position information and the reference position information.
[0084] It should be noted that step 202A1 can be achieved in the following way:
[0085] a1. The information determination device filters the abnormal location information in the first location information to obtain the filtered first location information.
[0086] In this application embodiment, a target filtering method can be used to filter abnormal location information; in one feasible implementation, a median filtering method can be used to filter abnormal location information, specifically, refer to... Figure 3 As shown, taking point p1 in the movement trajectory to be monitored as an example, a sliding window of size m is set. The longitude and latitude parameters in each first position information of the sliding window are sorted, and the median value is taken as the new position information of p1 (i.e. the filtered first position information). Then the sliding window slides down to the next first position information and performs the same operation. In this way, abnormal position information in the first position information can be removed and the movement trajectory to be monitored can be smoothed.
[0087] a2. The information determining device determines the second position information from the filtered first position information based on the position parameters of the first position information.
[0088] Among them, location parameters can refer to time parameters, longitude parameters, and latitude parameters.
[0089] In this embodiment, the time parameter, longitude parameter, and latitude parameter of the filtered first location information can be calculated to obtain the determined second location information; in one feasible implementation, refer to Figure 4 As shown, a sliding window K is first set up. The median value of the time, longitude, and latitude parameters of each filtered first location information within the sliding window is calculated to obtain the second location information represented by the time, longitude, and latitude parameters. It should be noted that, unlike the method described above for filtering abnormal location information from the first location information, when determining the second location information based on the filtered first location information, the sliding window slides forward K first location information values each time, that is, one second location information value is determined from the K filtered first location information values. This reduces the number of first location information values in the track to be monitored, thereby reducing the computational load.
[0090] a3. When the distance between the second location information and the reference location information meets the target distance threshold, the information determining device determines multiple matching point pairs based on the second location information and the reference location information.
[0091] In this embodiment, the target distance threshold can be set based on historical distance data; in one feasible implementation, the target distance threshold can be set to 50 meters; if the distance between the second location information and the reference location information is less than 50 meters, the second location information and the reference location information are considered a matching point pair; if the second location information can be used with I m (lat m ,lon m ,time m The reference position information can be represented by p. n (lat n ,lon n ,time n If we use ) to represent it, then the matching point pair can be represented by m p n > indicates; it should be noted that if the distance between the second location information and the reference location information is less than 50 meters, the second location information and the reference location information can be considered to coincide.
[0092] Step 202A2: The information determination device processes each pair of matching points using an objective function to obtain the objective function value.
[0093] It should be noted that before processing each pair of matching points using the objective function, it is also necessary to determine the instantaneous velocity of each first position information; the instantaneous velocity of each first position information can be calculated using the following expression (2):
[0094]
[0095] Among them, v i This indicates that the first position information is p. i (lat i ,lon i ,time i The instantaneous velocity of ) and distance(p) i ,q j The distance between the first location and the reference location on the Earth's surface is represented by , and time is the distance between the first location and the reference location. j This represents the time parameter of the reference location information. i This represents the time parameter of the first position information; it should be noted that the instantaneous velocity calculation is the same for each first position information, and after calculating the instantaneous velocity for each first position information, the first position information can be represented by M. i (lat i ,lon i ,time i ,v i It can be represented by ); it should be noted that the information at the first position can be represented by M. i (lat i ,lon i ,time i ,v i In the case of using ) to represent, the second position information in the matching point pair can be represented by I. i (lat i ,lon i ,time i v i ).
[0096] In this embodiment, an objective function can be used to calculate each pair of matching points. The objective function can refer to a cosine function, that is, the objective function value of each pair of matching points is calculated by using the cosine function. It should be noted that by comprehensively considering four dimensions of indicators, namely longitude, latitude, time and instantaneous speed parameters in each first position information of the track to be monitored, the similarity is calculated to be more accurate.
[0097] Step 202A3: The information determination device performs calculations on each objective function value to obtain the similarity of the matching point pairs.
[0098] In this embodiment of the application, when the objective function is a cosine function, the similarity of the matching point pairs can be obtained by summing the objective function values of each matching point pair calculated by the cosine function.
[0099] Step 203: The information determination device determines the length of the target trajectory based on the length of the movement trajectory to be monitored and the length of the reference movement trajectory.
[0100] The target trajectory length can refer to a specific trajectory length.
[0101] In this embodiment, the information determining device can compare the length of the monitored trajectory with the length of each reference trajectory to determine the target trajectory length from the length of the monitored trajectory and the lengths of the reference trajectories. In one feasible implementation, when there is only one reference trajectory, the length of the monitored trajectory is compared with the lengths of the reference trajectories to determine the shortest trajectory length as the target trajectory length. When there are multiple reference trajectories, the length of the monitored trajectory is compared with the lengths of the multiple reference trajectories to determine the shortest trajectory length from all the reference trajectories as the target trajectory length. Wherein, when there is only one reference trajectory, the reference trajectory length can be represented by C. tr2 The length of the monitored trajectory can be represented by C. tr1 To represent this, the length of the target trajectory can be expressed as min{C}. tr1 C tr2} is used to represent this.
[0102] Step 204: The information determination device obtains the trajectory similarity based on the similarity of the matching point pairs and the length of the target trajectory.
[0103] In this embodiment, mathematical logic operations can be performed on the similarity of matching point pairs and the length of the target trajectory to obtain the trajectory similarity; in one feasible implementation, the similarity of matching point pairs can be... The length of the target trajectory can be represented by min{C}. tr1 C tr2 If we represent it as}, then the similarity (tr1, tr2) of the trajectories can be calculated using the following expression (3):
[0104]
[0105] In one feasible implementation, refer to Figure 5a As shown, the similarity between the monitored trajectory and the reference trajectory calculated using the above expression (3) is 0.343; the reference trajectory... Figure 5bAs shown, the similarity between the monitored trajectory and the reference trajectory calculated by the above expression (3) is 0.917; therefore, it can be concluded that the trajectory similarity calculated by the above expression (3) can truly reflect the true similarity between the two trajectories.
[0106] It should be noted that determining trajectory similarity based on the similarity of matching point pairs and the length of the target trajectory not only normalizes the numerical similarity results of the two trajectories so that a fixed threshold can be used for classification during authentication, but also uses the similarity of matching point pairs as the trajectory similarity, which to some extent reflects the similarity of the two trajectories at the shape level.
[0107] Step 205: The information determining device determines the number of location information that matches the reference location information in the first location information.
[0108] In this embodiment of the application, each first location information can be compared with each reference location information. If the first location information and the reference location information are the same, it is determined that the first location information and the reference location information are matched. Then, the matched location information is counted to obtain the number of matched location information.
[0109] In other embodiments of this application, multiple first location information points with longer dwell times for target users can be determined from multiple reference location information points and denoted as first dwell location information points; multiple second location information points with the longest dwell times can be determined from multiple second location information points using the density-based spatial clustering of applications with noise (DBSCAN) method and denoted as second dwell location information points; multiple first dwell location information points are compared with multiple second dwell location information points, and if the first dwell location information points and second dwell location information points are the same, it is determined that the first dwell location information points and second dwell location information points match, and then the number of matching location information points is obtained by counting the matching location information points. In one feasible implementation, the first dwell location information point can be the location information point of the workplace, the location information point of the shopping mall, the location information point of the home (including the home of relatives and friends), or the location information point of the school.
[0110] Step 206: The information determination device determines the matching degree between the first location information and the reference location information based on the quantity.
[0111] The matching degree refers to the number of matches between the second location information and the reference location information, which can be represented by Targets Hit, abbreviated as TH; it should be noted that the matching degree is a positive integer greater than or equal to 0.
[0112] In this embodiment of the application, the degree of matching between the first location information and the reference location information is different depending on the number of matching location information.
[0113] In one feasible implementation, the reference location information is the location information of home and workplace. The first location information in the movement trajectory to be monitored is matched with the location information of home and workplace. If the first location information does not overlap with the location information of home but overlaps with the location information of workplace, the matching degree can be determined to be 0; if the first location information overlaps with the location information of home, the matching degree can be determined to be 1; if the first location information overlaps with the location information of home and overlaps with the location information of workplace, the matching degree can be determined to be 2. It should be noted that the relationship between the number of matched location information and the matching degree can be represented by the following expression (4):
[0114]
[0115] Step 207: If the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, the information determination device determines the target user as a legitimate user.
[0116] In this context, a legitimate user refers to a user who has already passed identity verification on the target device.
[0117] In the embodiments of this application, the first target threshold can be set based on historical similarity data, and the second target threshold can also be set based on historical matching degree; it should be noted that the first target threshold and the second target threshold are different; in a feasible implementation, the first target threshold can be set between 0.6 and 0.8, and the second target threshold can be set to 0.
[0118] Step 208: The information determination device determines the fault tolerance parameters when the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold.
[0119] Among them, the fault tolerance parameter can represent the travel time of the target user corresponding to the target device; and the target user can set the fault tolerance parameter.
[0120] In one feasible implementation, when a user's trajectory becomes abnormal during a short business trip or vacation, the user can set a fault tolerance parameter based on the duration of the short trip. In this way, the user will not be misjudged during a short business trip or vacation, thus improving the accuracy of the user detection.
[0121] It should be noted that if the trajectory similarity of the target device is less than the first target threshold, or the matching degree is equal to the second target threshold, or the trajectory similarity is less than the first target threshold and the matching degree is equal to the second target threshold, it will not immediately determine whether the target user is an illegal user. Instead, it will further determine whether the target user is an illegal user based on the fault tolerance parameter.
[0122] Step 209: The information determination device calculates the fault tolerance parameters.
[0123] In the embodiments of this application, mathematical logic operations can be performed on the fault tolerance parameters; in one feasible implementation, the fault tolerance parameters can be decremented; it should be noted that, on a daily basis, the value of the fault tolerance parameters can be reduced by 1 every day.
[0124] It should be noted that after step 209, either step 210 or step 211 can be executed.
[0125] Step 210: For each operation, the information determining device determines whether the trajectory similarity is greater than or equal to the first target threshold and whether the matching degree is greater than the second target threshold, until the fault tolerance parameter meets the third target threshold, and the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, then the target user is determined to be a legitimate user.
[0126] The third target threshold can be preset; in one feasible implementation, the third target threshold can be set to 0.
[0127] In this embodiment of the application, when performing a decrement operation on the fault tolerance parameter, after each decrement operation, it is necessary to determine whether the trajectory similarity is greater than or equal to the first target threshold and whether the matching degree is greater than the second target threshold, until the fault tolerance parameter is reduced to the target threshold; before the fault tolerance parameter is reduced to the target threshold, and when the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, the information determination device determines that the target user is a legitimate user (that is, before the fault tolerance parameter is reduced to 0, if the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, the target user is considered to be a legitimate user).
[0128] Step 211: If the information determination device determines that the fault tolerance parameter meets the third target threshold and the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold, the target user is determined to be an illegal user.
[0129] Among them, unauthorized users refer to users who have not authenticated their identity on the target device.
[0130] In this embodiment, when performing a decrement operation on the fault tolerance parameter, after each decrement operation, it is determined whether the trajectory similarity is greater than or equal to the first target threshold and whether the matching degree is greater than the second target threshold, until the fault tolerance parameter is reduced to the target threshold. When the fault tolerance parameter has been reduced to the target threshold and the trajectory similarity is less than the first target threshold / matching degree is equal to the second target threshold, the target user is determined to be an illegal user (that is, when the fault tolerance parameter is reduced to 0, if the trajectory similarity is less than the first target threshold / matching degree is equal to the second target threshold, the target user is considered to be an illegal user). It should be noted that when the target user is determined to be an illegal user, the target device can stop working and send the target device's location information to the contact person designated by the target user and issue an alarm message; thus, the security of the target device can be improved.
[0131] Based on the foregoing embodiments, in other embodiments of this application, the information determination method further includes the following steps:
[0132] Step 212: If the target user is a legitimate user, the information determination device updates the reference movement trajectory based on the movement trajectory to be monitored.
[0133] In this embodiment of the application, when the target user is determined to be a legitimate user, the movement trajectory to be monitored of the target device is added to the reference movement trajectory to update the reference movement trajectory; in this way, the movement trajectory to be monitored of the target user corresponding to the target device on that day is expanded to the reference movement trajectory to adapt to changes in the target user's travel trajectory.
[0134] Based on the foregoing embodiments, in other embodiments of this application, the information determination method further includes the following steps:
[0135] Step 213: The information determination device determines the usage frequency of each reference movement trajectory in the reference movement trajectory.
[0136] In this embodiment of the application, the usage frequency may refer to the number of times the target user travels along a certain reference movement trajectory; the information determination device can perform statistics on each reference movement trajectory in the reference movement trajectory to obtain the usage frequency of each reference movement trajectory.
[0137] Step 214: When the number of reference movement trajectories reaches the target value, the information determination device filters out reference movement trajectories based on usage frequency.
[0138] The target value can be set based on historical trajectory data; in one feasible implementation, the target value can be 10.
[0139] In this embodiment of the application, based on the above-mentioned update of the reference movement trajectory, the number of reference movement trajectories is also gradually increasing. When the number of reference movement trajectories reaches the target value, the information determining device will delete the reference movement trajectory with the lowest usage frequency. In this way, not only can the normal expansion of the reference movement trajectory be guaranteed, but also the amount of calculation can be reduced, thereby improving the matching efficiency.
[0140] In other embodiments of this application, reference is made to Figure 6 As shown, during the user registration phase, users need to select N frequently used travel routes (i.e., initial templates) based on their travel patterns and add them to the template library. They also predefine multiple frequently visited or long-stayed locations, such as: company, shopping mall, home (including relatives' and friends' homes), school, etc. During the user authentication phase, the user's daily travel trajectory is first input into the information determination device. The data preprocessing module in the information determination device performs preprocessing operations such as outlier removal and data compression on the trajectory. Then, the trajectory similarity (similarity) between the trajectory and the template trajectory and the number of predefined locations hit (TH) are calculated. If the similarity is greater than a threshold and TH is greater than 0, the user is considered a legitimate user and can continue to use the device. If the similarity is less than or equal to the threshold, or TH is 0, or the similarity is less than or equal to the threshold and TH is 0, the user is considered an illegitimate user, the information determination device locks the target device, and the target device cannot be used further. It should be noted that after confirming a user's legitimacy, their daily movement trajectory can be added to the user's template library. Over time, this accumulation allows for the addition of the user's daily movement trajectory to the template library each time a user is verified as legitimate. This not only expands the template library but also gradually simulates the user's daily travel patterns. Thus, during the authentication process, the device automatically collects authentication data without user intervention and without providing any prompts. Only when authentication fails does the system issue a warning and lock the device, achieving proactive and continuous implicit identity authentication of the user associated with the device.
[0141] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0142] The information determination method provided in this application embodiment can actively authenticate the target user of the target device based on the trajectory similarity between the monitored movement trajectory and the reference movement trajectory and the matching degree between the first location information and the reference location information. This solves the problem of not being able to automatically authenticate users in related technologies, improves the intelligence of smart devices, and ensures the security of smart devices.
[0143] Based on the foregoing embodiments, embodiments of this application provide an information determining device, which can be applied to... Figures 1-2 In the information determination method provided in the corresponding embodiment, refer to Figure 7 As shown, the device 3 may include: an acquisition unit 31, a processing unit 32, and a detection unit 33, wherein:
[0144] The acquisition unit is used to acquire the target device's movement trajectory to be monitored and to determine the first location information in the movement trajectory to be monitored;
[0145] The processing unit is used to determine the trajectory similarity between the monitored trajectory and the reference trajectory.
[0146] The processing unit is also used to determine the degree of matching between the first position information and the reference position information;
[0147] The detection unit is used to determine whether the target user corresponding to the target device is a legitimate user based on trajectory similarity and matching degree.
[0148] In this embodiment of the application, the processing unit 32 is further configured to perform the following steps:
[0149] Determine the similarity of matching point pairs between the monitored trajectory and the reference trajectory;
[0150] The length of the target trajectory is determined based on the length of the trajectory to be monitored and the length of the reference trajectory.
[0151] The trajectory similarity is obtained based on the similarity of the matching point pairs and the length of the target trajectory.
[0152] In this embodiment of the application, the processing unit 32 is further configured to perform the following steps:
[0153] Based on the distance between the first location information and the reference location information, multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory are determined.
[0154] The objective function is applied to each pair of matching points to obtain the objective function value;
[0155] The similarity of the matching point pairs is obtained by performing calculations on each objective function value.
[0156] In this embodiment of the application, the processing unit 32 is further configured to perform the following steps:
[0157] Filter out the abnormal location information in the first location information to obtain the filtered first location information;
[0158] Based on the position parameters of the filtered first position information, the second position information is determined from the filtered first position information;
[0159] If the distance between the second location information and the reference location information meets the target distance threshold, multiple matching point pairs are determined based on the second location information and the reference location information.
[0160] In this embodiment of the application, the processing unit 32 is further configured to perform the following steps:
[0161] Determine the number of location information pieces in the first location information that match the reference location information;
[0162] The degree of matching is determined based on the quantity.
[0163] In this embodiment of the application, the detection unit 33 is further configured to perform the following steps:
[0164] If the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, the target user is determined to be a legitimate user.
[0165] In this embodiment of the application, the detection unit 33 is further configured to perform the following steps:
[0166] Determine the fault tolerance parameters when the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold;
[0167] Calculate the fault tolerance parameters;
[0168] For each operation, determine whether the trajectory similarity is greater than or equal to the first target threshold and whether the matching degree is greater than the second target threshold, until the fault tolerance parameter satisfies the third target threshold, and the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, then the target user is determined to be a legitimate user.
[0169] In this embodiment of the application, the detection unit 33 is further configured to perform the following steps:
[0170] If the fault tolerance parameter meets the third target threshold, and the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold, the target user is determined to be an illegal user.
[0171] In other embodiments of this application, the processing unit 32 is further configured to perform the following steps:
[0172] If the target user is a legitimate user, update the reference movement trajectory based on the movement trajectory to be monitored;
[0173] In other embodiments of this application, the processing unit 32 is further configured to perform the following steps:
[0174] Determine the frequency of use of each reference movement trajectory in the reference movement trajectory;
[0175] If the number of reference movement trajectories reaches the target value, the reference movement trajectories are filtered by usage frequency.
[0176] It should be noted that the specific implementation process of the steps performed by each unit in this embodiment can be referred to Figures 1-2 The implementation process of the information determination method provided in the corresponding embodiments will not be described in detail here.
[0177] The information determination device provided in this application embodiment can actively authenticate the target user of the target device based on the trajectory similarity between the monitored movement trajectory and the reference movement trajectory and the matching degree between the first location information and the reference location information. This solves the problem of not being able to automatically authenticate users in related technologies, improves the intelligence of smart devices, and ensures the security of smart devices.
[0178] Based on the foregoing embodiments, embodiments of this application provide an information determining device, which can be applied to... Figures 1-2 The information determination method provided in the corresponding embodiment is referred to Figure 8 As shown, the device 4 may include a processor 41, a memory 42, and a communication bus 43;
[0179] Communication bus 43 is used to realize the communication connection between processor 41 and memory 42;
[0180] The processor 41 is used to execute the information determination program stored in the memory 42 to perform the following steps:
[0181] Acquire the target device's movement trajectory to be monitored, and determine the first location information within the movement trajectory to be monitored;
[0182] Determine the trajectory similarity between the monitored trajectory and the reference trajectory;
[0183] Determine the degree of matching between the first location information and the reference location information;
[0184] Based on trajectory similarity and matching degree, it is determined whether the target user corresponding to the target device is a legitimate user.
[0185] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine the trajectory similarity between the monitored movement trajectory and the reference movement trajectory, in order to implement the following steps:
[0186] Determine the similarity of matching point pairs between the monitored trajectory and the reference trajectory;
[0187] The length of the target trajectory is determined based on the length of the trajectory to be monitored and the length of the reference trajectory.
[0188] The trajectory similarity is obtained based on the similarity of the matching point pairs and the length of the target trajectory.
[0189] In other embodiments of this application, processor 41 is configured to execute an information determination program in memory 42 to determine the similarity of matching point pairs between the monitored movement trajectory and a reference movement trajectory, in order to perform the following steps:
[0190] Based on the distance between the first location information and the reference location information, multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory are determined.
[0191] The objective function is applied to each pair of matching points to obtain the objective function value;
[0192] The similarity of the matching point pairs is obtained by performing calculations on each objective function value.
[0193] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine multiple matching point pairs between the movement trajectory to be monitored and the reference movement trajectory based on the distance between the first position information and the reference position information, so as to achieve the following steps:
[0194] Filter out the abnormal location information in the first location information to obtain the filtered first location information;
[0195] Based on the position parameters of the filtered first position information, the second position information is determined from the filtered first position information;
[0196] If the distance between the second location information and the reference location information meets the target distance threshold, multiple matching point pairs are determined based on the second location information and the reference location information.
[0197] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine the matching degree between the first position information and the reference position information, in order to implement the following steps:
[0198] Determine the number of location information pieces in the first location information that match the reference location information;
[0199] The degree of matching is determined based on the quantity.
[0200] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine whether the target user corresponding to the target device is a legitimate user based on trajectory similarity and matching degree, so as to achieve the following steps:
[0201] If the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, the target user is determined to be a legitimate user.
[0202] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine whether the target user corresponding to the target device is a legitimate user based on trajectory similarity and matching degree, so as to implement the following steps:
[0203] Determine the fault tolerance parameters when the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold;
[0204] Calculate the fault tolerance parameters;
[0205] For each operation, determine whether the trajectory similarity is greater than or equal to the first target threshold and whether the matching degree is greater than the second target threshold, until the fault tolerance parameter satisfies the third target threshold, and the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, then the target user is determined to be a legitimate user.
[0206] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42 to determine whether the target user corresponding to the target device is a legitimate user based on trajectory similarity and matching degree, so as to implement the following steps:
[0207] If the fault tolerance parameter meets the third target threshold, and the trajectory similarity is less than the first target threshold / the matching degree is equal to the second target threshold, the target user is determined to be an illegal user.
[0208] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42, and may also implement the following steps:
[0209] If the target user is a legitimate user, update the reference movement trajectory based on the movement trajectory to be monitored;
[0210] In other embodiments of this application, the processor 41 is used to execute the information determination program in the memory 42, and may also implement the following steps:
[0211] Determine the frequency of use of each reference movement trajectory in the reference movement trajectory;
[0212] If the number of reference movement trajectories reaches the target value, the reference movement trajectories are filtered by usage frequency.
[0213] It should be noted that the specific implementation process of the steps executed by the processor in this embodiment can be referred to Figures 1-2 The implementation process of the information determination method provided in the corresponding embodiments will not be described in detail here.
[0214] The information determination device provided in this application embodiment can actively authenticate the target user of the target device based on the trajectory similarity between the monitored movement trajectory and the reference movement trajectory and the matching degree between the first location information and the reference location information. This solves the problem of not being able to automatically authenticate users in related technologies, improves the intelligence of smart devices, and ensures the security of smart devices.
[0215] Based on the foregoing embodiments, this application provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to achieve... Figures 1-2 The steps in the information determination method provided in the corresponding embodiment.
[0216] It should be noted that the aforementioned computer-readable storage media can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0217] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0218] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0219] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0220] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0221] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0222] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0223] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for determining information, characterized in that, The method includes: Acquire the target device's movement trajectory to be monitored, and determine the first location information in the movement trajectory to be monitored; Filter the abnormal location information in the first location information to obtain the filtered first location information; Based on the location parameters of the filtered first location information, the second location information is determined from the filtered first location information; If the distance between the second location information and the reference location information meets the target distance threshold, multiple matching point pairs are determined based on the second location information and the reference location information. Based on the distance to the Earth's surface between the first location information and the reference location information, and the difference between the time parameter of the reference location information and the time parameter of the first location information, the instantaneous velocity parameter of each first location information is determined; Based on the longitude, latitude, time, and instantaneous velocity parameters of each location information in the matching point pair, the target function value is calculated using a cosine function; The similarity of the matching point pairs is obtained by summing the values of the objective function. The length of the movement trajectory to be monitored is compared with the length of the reference movement trajectory, and the length of the movement trajectory with the shortest length is determined as the target trajectory length; The trajectory similarity is obtained based on the similarity of the matching point pairs and the length of the target trajectory; Determine the matching degree between the first location information and the reference location information; Based on the trajectory similarity and the matching degree, it is determined whether the target user corresponding to the target device is a legitimate user.
2. The method according to claim 1, characterized in that, Determining the matching degree between the first location information and the reference location information includes: Determine the number of location information pieces in the first location information that match the reference location information; The matching degree is determined based on the quantity.
3. The method according to claim 1, characterized in that, The step of determining whether the target user corresponding to the target device is a legitimate user based on the trajectory similarity and the matching degree includes: If the trajectory similarity is greater than or equal to a first target threshold and the matching degree is greater than a second target threshold, the target user is determined to be a legitimate user.
4. The method according to claim 3, characterized in that, The method further includes: When the trajectory similarity is less than the first target threshold or the matching degree is equal to the second target threshold, the fault tolerance parameter is determined. The fault tolerance parameters are calculated. For each of the above operations, it is determined whether the trajectory similarity is greater than or equal to a first target threshold and whether the matching degree is greater than a second target threshold, until it is determined that the fault tolerance parameter satisfies a third target threshold, and the trajectory similarity is greater than or equal to the first target threshold and the matching degree is greater than the second target threshold, then the target user is determined to be a legitimate user.
5. The method according to claim 4, characterized in that, The method further includes: If the fault tolerance parameter satisfies the third target threshold, and the trajectory similarity is less than the first target threshold or the matching degree is equal to the second target threshold, the target user is determined to be an illegal user.
6. An information determining device, characterized in that, The device includes: a processor, a memory, and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the information determination program stored in the memory to implement the steps of the information determination method as described in any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the information determination method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
User identity recognition method based on moving trajectory similarity comparison
CN108536851A
Method and device for extracting road information
CN114328785A
