TRANSACTION RISK DETECTION METHOD AND APPARATUS
A transaction risk detection method and device. The transaction risk detection method comprises: determining a current transaction account, and acquiring a history transaction record of the current transaction account, the history transaction record being determined according to LBS data of the current transaction account (S 102 ); acquiring feature information of the current transaction account according to the history transaction record of the current transaction account (S 104 ); and performing risk management and control according to the feature information (S 106 ). The method can improve accuracy of transaction risk detection.
1 . A method comprising:
determining an account;
determining a historical transaction track of the account according to historical location based service (LBS) data of the account;
determining feature information of the historical transaction track of the account;
determining a current transaction track of the account according to current LBS data of the account; and
comparing the current transaction track with the feature information of the historical transaction track to determine a risk of a current transaction associated with the account.
2 . The method of claim 1 , wherein the LBS data including position information.
3 . The method of claim 1 , wherein the acquiring the historical transaction track of the current transaction account includes:
collecting the historical LBS data;
obtaining the historical transaction track according to the LBS data;
extracting feature points from the historical transaction track; and
obtaining a reconstructed track of the account according to the feature points.
4 . The method of claim 3 , wherein the extracting the feature points from the historical transaction track includes:
acquiring a point embodying a characteristic change of the historical transaction track and a stay point; and
determining the point embodying the characteristic change of the historical transaction track and the stay point as the feature points, wherein the stay point is a point successively appearing at least twice at a same position.
5 . The method of claim 3 , further comprising:
determining track segments included in the reconstructed track;
clustering the track segments to obtain at least one clustered category;
extracting a feature track from each category of the at least one category to obtain a feature track set including at least one feature track; and
saving a corresponding relationship between the account and the feature track set.
6 . The method of claim 5 , wherein the clustering the track segments includes:
calculating a vertical distance, a parallel distance, and an angular distance between every two track segments;
obtaining a final distance according to the vertical distance, the parallel distance, and the angular distance; and
clustering the track segments according to the final distance.
7 . The method of claim 5 , wherein the extracting the feature track from each category includes:
extracting, by line-sweeping track segments included in each category, a feature track from the corresponding category.
8 . The method of claim 1 , wherein the determining the current transaction track of the account according to current LBS data of the account includes:
acquiring the LBS data of the current transaction and LBS data of a previous transaction of the account;
acquiring position information of the current transaction and position information of the previous transaction according to the LBS data of the current transaction and the LBS data of the previous transaction respectively; and
determining, according to the position information of the current transaction and the position information of the previous transaction, the current transaction track of the current transaction account.
9 . The method of claim 1 , further comprising performing risk management and control according to the risk.
10 . The method of claim 1 , wherein:
the feature information is a feature track set corresponding to the historical transaction track of the account.
11 . The method of claim 10 , wherein the comparing the current transaction track with the feature information of the historical transaction track to determine the risk of the current transaction associated with the account includes:
calculating a spatial distance between the current transaction track and each feature track in the feature track set;
determining the minimum spatial distance as a distance value between the current transaction track and the feature track set; and
determining a risk score of the current transaction associated with the account.
12 . The method of claim 11 , wherein the determining the risk score of the current transaction of the current transaction associated with the account includes determining the distance value as a risk score of the current transaction associated with the account.
13 . The method of claim 11 , wherein the determining the risk score of the current transaction account according to the distance value includes:
determining a threshold range to which the distance value belongs;
determining, according to a preset corresponding relationship between threshold ranges and risk scores, a risk score corresponding to the threshold range to which the distance value belongs; and
determining the risk score as the risk score of the current transaction account.
14 . A method comprising:
determining a first account and a second account;
determining a first transaction track of the first account according to first location based service (LBS) data of the first account;
determining a second transaction track of the second account according to second location based service (LBS) data of the second account; and
comparing the first transaction track and the second transaction track to determine a relationship between the first account and the second account.
15 . The method of claim 14 , further comprising determining a risk of a transaction associated with the first account and the second account based on the relationship.
16 . The method of claim 14 , wherein the comparing the first transaction track and the second transaction track to determine the relationship between the first account and the second account includes:
extracting first feature points from the first transaction track; and
obtaining a first reconstructed track of the first account according to the first feature points;
extracting second feature points from the second transaction track; and
obtaining a second reconstructed track of the second account according to the second feature points;
calculating a temporal-spatial distance between the first reconstructed track and the second reconstructed track; and
using the temporal-spatial distance to determine the relationship between the first account and the second account.
17 . The method of claim 16 , wherein the comparing the first transaction track and the second transaction track to determine the relationship between the first account and the second account includes:
extracting first feature points from the first transaction track; and
obtaining a first reconstructed track of the first account according to the first feature points;
extracting second feature points from the second transaction track; and
obtaining a second reconstructed track of the second account according to the second feature points;
calculating a temporal-spatial distance between the first reconstructed track and the second reconstructed track; and
determining a similarity degree value between the first account and the second account according to the temporal-spatial distance; and
using the similarity degree to determine the relationship between the first account and the second account.
18 . The method of claim 17 , further comprising determining a threshold range for the similarity degree.
19 . The method of claim 14 , further comprising:
using the similarity degree value as a risk score of a current transaction associated with the first account and the second account; and
performing risk management and control based on the risk score.
20 . One or more memories stored thereon computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
determining an account;
determining a historical transaction track of the account according to historical location based service (LBS) data of the account;
determining feature information of the historical transaction track of the account;
determining a current transaction track of the account according to current LBS data of the account; and
comparing the current transaction track with the feature information of the historical transaction track to determine a risk of a current transaction associated with the account.