Payment risk assessment and control method for user behavior analysis
Through multi-level decomposition of odd and even sequences and fuzzy local information factor clustering, a fuzzy enhanced payment behavior classification model is constructed to identify and control abnormal payment behavior, solving the problem that traditional methods are difficult to deal with complex payment environments, and achieving effective assessment and control of payment risks. .
Patent Information
- Application Number
- CN202411133236.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-08-19
AI Technical Summary
Traditional payment risk assessment and control methods are difficult to cope with the complex and ever-changing payment environment and user behavior, and cannot effectively identify abnormal payment behaviors, making payment risks difficult to control.
By collecting users' payment behavior data, using multi-level decomposition of odd and even sequences to remove noise information, and combining fuzzy local information factors for clustering, a fuzzy enhanced payment behavior classification model is constructed to classify payment behavior, and use the classification results for abnormal fitting. Detection, if the risk assessment result is higher than the threshold, payment behavior will be prohibited.
It achieves accurate identification and risk assessment of user payment behavior, reduces payment risks, improves clustering effects and the accuracy of risk control, and notifies users of account abnormalities through text messages and phone calls.
Smart Images

Figure CN118656708A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of payment risk assessment, and in particular to a payment risk assessment and control method based on user behavior analysis. Background Art
[0002] With the rapid development of Internet technology and the popularization of mobile payment, payment behavior has become an indispensable part of people's daily life. However, the payment risks that come with it are also becoming increasingly prominent. Traditional payment risk assessment and control methods mainly rely on rule-based static models, which are often difficult to cope with complex and changeable payment environments and user behaviors. To address this problem, the present invention proposes a payment risk assessment and control method based on user behavior analysis, which accurately identifies abnormal payment behaviors and reduces payment risks by analyzing multi-dimensional data such as user behavior patterns, consumption habits, and device information. Summary of the invention
[0003] In view of this, the present invention provides a payment risk assessment and control method for user behavior analysis, the purpose of which is to: 1) collect the user's upstream and downstream traffic, payment orders and browsed products as the user's payment behavior data, remove the noise information in the payment behavior data based on the multi-level decomposition method of the odd-even sequence, and form a training data set, and iterate the clustering centers corresponding to different payment behavior categories in the training data set in combination with the fuzzy local information factor, wherein the fuzzy local information factor represents the influence of neighboring data on the clustering center of the current category, thereby retaining the fuzzy information of neighboring data that is helpful for clustering, improving the clustering effect, and using the clustering centers obtained by training to calculate the membership of the preprocessed payment behavior data and the payment behavior data corresponding to different payment behavior categories, as well as the clustering centers corresponding to different payment behavior categories. , convert the membership degree and distance into belonging information, select the payment behavior category with the highest belonging information as the payment behavior classification result, and realize the payment behavior classification based on user behavior; 2) Use the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated to perform abnormal fitting detection on the payment behavior data of the user to be evaluated, and obtain the degree of fitting between the preprocessed payment behavior data and the payment behavior distribution. If the degree of fitting is higher than the preset threshold, there is no abnormal fitting, and the user to be evaluated does not have payment risk. Otherwise, the payment risk assessment result of the user to be evaluated is calculated. If the payment risk assessment result is higher than the preset risk threshold, the payment behavior of the user to be evaluated is prohibited, and the user to be evaluated is notified of abnormal payment behavior in his account by SMS and phone call to realize payment risk assessment and control.
[0004] To achieve the above purpose, the present invention provides a payment risk assessment and control method based on user behavior analysis, comprising the following steps: S1: Collect and preprocess the user's payment behavior data to obtain the preprocessed payment behavior data to form a training data set, where the payment behavior data includes behavior flow data, order data, and historical browsing data; S2: construct a fuzzy enhanced payment behavior classification model and solve the model parameters based on the training data set, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and the payment behavior classification result as output, wherein the classification robustness improvement method combined with the fuzzy local information factor is the main implementation construction method of the fuzzy enhanced payment behavior classification model, wherein the Lagrange multiplier method is the main implementation method for solving the model parameters; S3: using the solved fuzzy enhanced payment behavior classification model to classify the payment behavior data of the user to be evaluated, and obtaining the payment behavior classification result of the user to be evaluated; S4: Based on the payment behavior data corresponding to different payment behavior categories in the training data set, calculate the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated; S5: Use the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated to perform abnormal fitting detection on the payment behavior data of the user to be evaluated, calculate the payment risk assessment result, and control the payment behavior of the user to be evaluated.
[0005] As a further improvement method of the present invention: Optionally, collecting the user's payment behavior data in step S1 includes: Collect users' payment behavior data and payment behavior categories, where payment behavior data includes behavior flow data, order data, and historical browsing data. The collected payment behavior data and payment behavior categories are expressed in the following form: ; ; ; in: represents the payment behavior data collected from the mth user, where Indicates that the mth user is at the nth collection time behavioral data; N represents the total number of collection moments, N is an even number, and M represents the total number of users; It means the mth user at the nth collection time. The uplink and downlink traffic, payment order information and browsed products of the user, the behavior data at N collection moments correspond to the user's behavior traffic data, order data and historical browsing data, where the payment order information includes the purchased products and the payment amount, the uplink traffic represents the number of data packets sent by the user device, and the downlink traffic represents the number of data packets received by the user device; Payment behavior data The corresponding payment behavior category; Preprocess the user's payment behavior data to obtain the preprocessed payment behavior data and form a training data set In the embodiment of the present invention, the payment behavior data collected from the M users are all data without payment risks.
[0006] Optionally, the preprocessing of the user's payment behavior data to obtain the preprocessed payment behavior data to form a training data set data includes: The user's payment behavior data is preprocessed to obtain preprocessed payment behavior data, wherein the payment behavior data The preprocessing process is: S11: Payment behavior data Divided into a sequence of odd-numbered acquisition moments and a sequence of even-numbered acquisition moments, wherein the divided sequences are: ; ; in: represents the sequence of odd-numbered acquisition moments; represents the sequence of even-numbered acquisition moments; S12: Calculate the sequence error: ; in: represents the sequence error, Representation sequence The mean of Representation sequence The mean of Representation sequence The standard deviation of represents the prediction coefficient; S13: Perform multi-level decomposition on the sequence error, where the decomposition formula of the jth level is: ; in: represents the j-th level decomposition result of the sequence error, , represents the maximum decomposition level; in the embodiment of the present invention, ; S14: Sequence And the sequence Reconstruction is performed, where the reconstruction formula is: ; ; in: Representation sequence The standard deviation of Sequence And the sequence The reconstruction result of S15: Constructing pre-processed payment behavior data: ; ; ; ; in: Represents a sequence To perform the merge process, Payment behavior data The preprocessing results; Constructing the training data set .
[0007] Optionally, constructing a fuzzy enhanced payment behavior classification model in step S2 includes: Constructing a fuzzy enhanced payment behavior classification model, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and the payment behavior classification result as output, wherein the classification robustness improvement method combining the fuzzy local information factor is the main implementation construction method of the fuzzy enhanced payment behavior classification model; The fuzzy enhanced payment behavior classification model is used to receive the preprocessed payment behavior data, calculate the membership degree of the preprocessed payment behavior data and the payment behavior data corresponding to different payment behavior categories, and the distance to the cluster center corresponding to different payment behavior categories, convert the membership degree and the distance into belonging information, and select the payment behavior category with the highest belonging information as the payment behavior classification result; Using the training dataset The model parameters of the fuzzy enhanced payment behavior classification model are solved, wherein the Lagrange multiplier method is the main implementation method for solving the model parameters.
[0008] Optionally, the use of training data sets The model parameters of the fuzzy enhanced payment behavior classification model are solved, including: Using the training dataset The model parameters of the fuzzy enhanced payment behavior classification model are solved, where the model parameters to be solved are the cluster centers corresponding to different payment behavior categories. The model parameter solution process is as follows: S21: K payment behavior categories form a category set: ; in: L represents the category set, K represents the total number of payment behavior categories, represents the kth payment behavior category; S22: Obtain the training data set data, and calculate the membership between any set of pre-processed payment behavior data in the training data set data and any payment behavior category, where the pre-processed payment behavior data The degree of membership with the kth payment behavior category is: ; in: Represents payment behavior data after preprocessing The degree of membership with the kth payment behavior category; represents an exponential function with a natural constant as base; Indicates that the payment behavior category in the training data set data is The mean of multiple groups of pre-processed payment behavior data; Indicates that the payment behavior category in the training data set data is The standard deviation of multiple sets of pre-processed payment behavior data; S23: Initialize and generate K cluster centers of payment behavior categories: ; in: Represents the cluster center sequence of K payment behavior categories; Represents the cluster center of the kth payment behavior category generated by initialization; S24: Set the current iteration number of the cluster center to s and the maximum iteration number to Max, then the cluster center The result of the sth iteration is ; S25: Set the training function combining the fuzzy local information factor: ; ; in: represents the training function, where the training function takes the cluster center sequence of K payment behavior categories as input and the training function value corresponding to the cluster center sequence is the output; represents the L2 norm; represents the fuzzy local information factor; represents the fuzzy coefficient; Indicates the degree of membership The s-th iteration result; in this embodiment of the present invention, ; S26: Construct the constraints corresponding to the training function: ; And construct the training objective function based on the constraints: ; in: Represents the training objective function, where the training objective function takes the cluster center sequence of K payment behavior categories as input and the training objective function value corresponding to the cluster center sequence is the output; represents the Lagrange coefficient; S27: Based on the training objective function value, the membership degree and cluster center are iterated in turn to obtain ; The iterative process is: S271: Training objective function In Find partial derivatives: ; S272: Training objective function In Find partial derivatives: ; and will Substitute the partial derivative result of The partial derivative results are: ; S273: Substitution The partial derivative result of The iteration results are: ; S274: Training objective function In Find the partial derivative and substitute it into the degree of membership The iterative result is The iteration results are: ; And constitute ; S28: Set s=s+1, return to step S27, until the maximum number of iterations is reached, and obtain the cluster center sequence of the current K payment behavior categories , and the cluster center sequence As the optimization solution result of the model parameters.
[0009] Optionally, in step S3, the payment behavior classification of the payment behavior data of the user to be evaluated is performed using the fuzzy enhanced payment behavior classification model obtained by the solution, including: The payment behavior data of the user to be evaluated is obtained and preprocessed, and the payment behavior classification model obtained by solving the fuzzy enhanced payment behavior classification model is used to classify the payment behavior of the preprocessed payment behavior data X of the user to be evaluated, wherein the payment behavior classification process of the preprocessed payment behavior data X is as follows: S31: Calculate the membership degree between the pre-processed payment behavior data X and any payment behavior category, where the membership degree between the pre-processed payment behavior data X and the kth payment behavior category is ; S32: Calculate the distance between the pre-processed payment behavior data X and the cluster center of any payment behavior category, where the pre-processed payment behavior data X and the cluster center The distance between them is: ; in: Represents the preprocessed payment behavior data X and the cluster center The distance between represents the L1 norm; S33: Calculate the attribution information of the pre-processed payment behavior data X to any payment behavior category, and select the payment behavior category with the highest attribution information as the payment behavior classification result , where the attribution information of the preprocessed payment behavior data X belonging to the kth payment behavior category is: ; in: Indicates the attribution information of the payment behavior data X after preprocessing to the kth payment behavior category; , L represents the category set consisting of K payment behavior categories.
[0010] Optionally, the step S4 of calculating the payment behavior distribution corresponding to the classification result of the payment behavior of the user to be evaluated includes: Calculate the classification results of the payment behavior of the user to be evaluated Corresponding payment behavior distribution: ; in: Indicates the classification result of the payment behavior of the user to be evaluated Corresponding payment behavior distribution; Indicates that the payment behavior category in the training data set data is The data with the highest number of occurrences in the L-th collection moment corresponding to the pre-processed payment behavior data; Len represents the length of the payment behavior distribution. In the embodiment of the present invention, Len <N-1。
[0011] Optionally, in step S5, using the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated to perform abnormal fitting detection on the payment behavior data of the user to be evaluated includes: The payment behavior distribution corresponding to the payment behavior classification results of the user to be evaluated The payment behavior data of the user to be evaluated is subjected to abnormal fitting detection, wherein the abnormal fitting detection process is as follows: Obtain the pre-processed payment behavior data X of the user to be evaluated; Calculate the pre-processed payment behavior data X and payment behavior distribution The degree of fit between: ; in: Represents the payment behavior data X after preprocessing and the payment behavior distribution The degree of fit between Len represents the length of the payment behavior distribution; represents the mean of the payment behavior data X after preprocessing, Represents the payment behavior distribution The mean of If the degree of fit is higher than the preset threshold, there is no abnormal fit and the user to be evaluated does not have payment risk. Otherwise, the payment risk assessment result of the user to be evaluated is calculated and the payment behavior of the user to be evaluated is controlled.
[0012] Optionally, the calculating of the payment risk assessment result and controlling the payment behavior of the user to be assessed includes: The payment risk assessment result of the user to be assessed is calculated: ; in: is the payment risk assessment result of the user to be assessed; W represents the probability mapping matrix; If the payment risk assessment result is higher than the preset risk threshold, the payment behavior of the user to be assessed will be prohibited, and the user to be assessed will be notified of abnormal payment behavior in his account via SMS and phone calls.
[0013] In order to solve the above problem, the present invention provides an electronic device, the electronic device comprising: A memory storing at least one instruction; Communication interface, enabling electronic equipment to communicate; and The processor executes the instructions stored in the memory to implement the payment risk assessment and control method based on user behavior analysis as described above.
[0014] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the payment risk assessment and control method of user behavior analysis described above.
[0015] Compared with the prior art, the present invention proposes a payment risk assessment and control method based on user behavior analysis, which has the following advantages: First, this scheme proposes a payment behavior classification method, which obtains the payment behavior data of the user to be evaluated and preprocesses it, and uses the solved fuzzy enhanced payment behavior classification model to classify the payment behavior of the preprocessed payment behavior data X of the user to be evaluated, wherein the payment behavior classification process of the preprocessed payment behavior data X is: calculate the membership degree between the preprocessed payment behavior data X and any payment behavior category, wherein the membership degree between the preprocessed payment behavior data X and the kth payment behavior category is ; Calculate the distance between the preprocessed payment behavior data X and the cluster center of any payment behavior category, where the preprocessed payment behavior data X and the cluster center The distance between them is: ; in: Represents the preprocessed payment behavior data X and the cluster center The distance between represents the L1 norm; calculate the attribution information of the preprocessed payment behavior data X to any payment behavior category, and select the payment behavior category with the highest attribution information as the payment behavior classification result , where the attribution information of the preprocessed payment behavior data X belonging to the kth payment behavior category is: ; in: Indicates the attribution information of the payment behavior data X after preprocessing to the kth payment behavior category; , L represents a category set consisting of K payment behavior categories. This scheme collects users' payment behavior data in upstream and downstream traffic, payment orders, and browsed products, removes noise information in the payment behavior data based on the multi-level decomposition method of odd-even sequences, and forms a training data set. The cluster centers corresponding to different payment behavior categories in the training data set are iterated in combination with the fuzzy local information factor, where the fuzzy local information factor represents the influence of neighboring data on the cluster center of the current category, thereby retaining the fuzzy information of neighboring data that is helpful for clustering and improving the clustering effect. The membership degree of the preprocessed payment behavior data and the payment behavior data corresponding to different payment behavior categories, as well as the distance to the cluster center corresponding to different payment behavior categories, are calculated using the cluster centers obtained through training, and the membership degree and distance are converted into attribution information. The payment behavior category with the highest attribution information is selected as the payment behavior classification result, realizing payment behavior classification based on user behavior.
[0016] At the same time, this scheme proposes a payment risk assessment and control method, using the payment behavior distribution corresponding to the payment behavior classification results of the user to be assessed The payment behavior data of the user to be evaluated is subjected to abnormal fitting detection, wherein the abnormal fitting detection process is as follows: obtaining the pre-processed payment behavior data X of the user to be evaluated; calculating the pre-processed payment behavior data X and the payment behavior distribution The degree of fit between: ; in: Represents the payment behavior data X after preprocessing and the payment behavior distribution The degree of fit between them; Len represents the length of the payment behavior distribution; represents the mean of the payment behavior data X after preprocessing, Represents the payment behavior distribution If the degree of fit is higher than the preset threshold, there is no abnormal fit and the user to be evaluated does not have payment risk. Otherwise, the payment risk assessment result of the user to be evaluated is calculated as follows: ; in: is the payment risk assessment result of the user to be assessed; W represents the probability mapping matrix; if the payment risk assessment result is higher than the preset risk threshold, the payment behavior of the user to be assessed is prohibited, and the user to be assessed is notified of abnormal payment behavior in his account by SMS and phone. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flow chart of a payment risk assessment and control method based on user behavior analysis provided by one embodiment of the present invention; Figure 2 A schematic diagram of the structure of an electronic device for implementing a payment risk assessment and control method for user behavior analysis provided by an embodiment of the present invention.
[0018] In the figure: 1 electronic device, 10 processor, 11 memory, 12 program, 13 communication interface.
[0019] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0020] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0021] The embodiment of the present application provides a payment risk assessment and control method for user behavior analysis. The execution subject of the payment risk assessment and control method for user behavior analysis includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the payment risk assessment and control method for user behavior analysis can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.
[0022] S1: Collect the user's payment behavior data and preprocess it to obtain the preprocessed payment behavior data to form a training data set, where the payment behavior data includes behavior flow data, order data, and historical browsing data.
[0023] The payment behavior data of the user collected in step S1 includes: Collect users' payment behavior data and payment behavior categories, where payment behavior data includes behavior flow data, order data, and historical browsing data. The collected payment behavior data and payment behavior categories are expressed in the following form: ; ; ; in: represents the payment behavior data collected from the mth user, where Indicates that the mth user is at the nth collection time behavioral data; N represents the total number of collection moments, N is an even number, and M represents the total number of users; It means the mth user at the nth collection time. The uplink and downlink traffic, payment order information and browsed products of the user, the behavior data at N collection moments correspond to the user's behavior traffic data, order data and historical browsing data, where the payment order information includes the purchased products and the payment amount, the uplink traffic represents the number of data packets sent by the user device, and the downlink traffic represents the number of data packets received by the user device; Payment behavior data The corresponding payment behavior category; Preprocess the user's payment behavior data to obtain the preprocessed payment behavior data and form a training data set In the embodiment of the present invention, the payment behavior data collected from the M users are all data without payment risks.
[0024] The preprocessing of the user's payment behavior data to obtain the preprocessed payment behavior data constitutes a training data set data, including: The user's payment behavior data is preprocessed to obtain preprocessed payment behavior data, wherein the payment behavior data The preprocessing process is: S11: Payment behavior data Divided into a sequence of odd-numbered acquisition moments and a sequence of even-numbered acquisition moments, where the divided sequences are: ; ; in: represents the sequence of odd-numbered acquisition moments; represents the sequence of even-numbered acquisition moments; S12: Calculate the sequence error: ; in: represents the sequence error, Representation sequence The mean of Representation sequence The mean of Representation sequence The standard deviation of represents the prediction coefficient; S13: Perform multi-level decomposition on the sequence error, where the decomposition formula of the jth level is: ; in: represents the j-th level decomposition result of the sequence error, , represents the maximum decomposition level; in the embodiment of the present invention, ; S14: Sequence And the sequence Reconstruction is performed, where the reconstruction formula is: ; ; in: Representation sequence The standard deviation of Sequence And the sequence The reconstruction result of S15: Constructing pre-processed payment behavior data: ; ; ; ; in: Represents a sequence To perform the merge process, Payment behavior data The preprocessing results; Constructing the training data set .
[0025] S2: Construct a fuzzy enhanced payment behavior classification model and solve model parameters based on a training data set, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and takes the payment behavior classification result as output.
[0026] The fuzzy enhanced payment behavior classification model is constructed in step S2, including: Constructing a fuzzy enhanced payment behavior classification model, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and the payment behavior classification result as output, wherein the classification robustness improvement method combining the fuzzy local information factor is the main implementation construction method of the fuzzy enhanced payment behavior classification model; The fuzzy enhanced payment behavior classification model is used to receive the preprocessed payment behavior data, calculate the membership degree of the preprocessed payment behavior data and the payment behavior data corresponding to different payment behavior categories, and the distance to the cluster center corresponding to different payment behavior categories, convert the membership degree and the distance into belonging information, and select the payment behavior category with the highest belonging information as the payment behavior classification result; Using the training dataset The model parameters of the fuzzy enhanced payment behavior classification model are solved, where the model parameters to be solved are the cluster centers corresponding to different payment behavior categories. The model parameter solution process is as follows: S21: K payment behavior categories form a category set: ; in: L represents the category set, K represents the total number of payment behavior categories, represents the kth payment behavior category; S22: Obtain the training data set data, and calculate the membership between any set of pre-processed payment behavior data in the training data set data and any payment behavior category, where the pre-processed payment behavior data The degree of membership with the kth payment behavior category is: ; in: Represents payment behavior data after preprocessing The degree of membership with the kth payment behavior category; represents an exponential function with a natural constant as base; Indicates that the payment behavior category in the training data set data is The mean of multiple groups of pre-processed payment behavior data; Indicates that the payment behavior category in the training data set data is The standard deviation of multiple sets of pre-processed payment behavior data; S23: Initialize and generate K cluster centers of payment behavior categories: ; in: Represents the cluster center sequence of K payment behavior categories; Represents the cluster center of the kth payment behavior category generated by initialization; S24: Set the current iteration number of the cluster center to s and the maximum iteration number to Max, then the cluster center The result of the sth iteration is ; S25: Set the training function combining the fuzzy local information factor: ; ; in: represents the training function, where the training function takes the cluster center sequence of K payment behavior categories as input and the training function value corresponding to the cluster center sequence is the output; represents the L2 norm; represents the fuzzy local information factor; represents the fuzzy coefficient; Indicates the degree of membership The s-th iteration result; in this embodiment of the present invention, ; S26: Construct the constraints corresponding to the training function: ; And construct the training objective function based on the constraints: ; in: Represents the training objective function, where the training objective function takes the cluster center sequence of K payment behavior categories as input and the training objective function value corresponding to the cluster center sequence is the output; represents the Lagrange coefficient; S27: Based on the training objective function value, the membership degree and cluster center are iterated in turn to obtain ; The iterative process is: S271: Training objective function In Find partial derivatives: ; S272: Training objective function In Find partial derivatives: ; and will Substitute the partial derivative result of The partial derivative results are: ; S273: Substitution The partial derivative result of The iteration results are: ; S274: Training objective function In Find the partial derivative and substitute it into the degree of membership The iterative result is The iteration results are: ; And constitute ; S28: Set s=s+1, return to step S27, until the maximum number of iterations is reached, and obtain the cluster center sequence of the current K payment behavior categories , and the cluster center sequence As the optimization solution result of the model parameters.
[0027] S3: Using the solved fuzzy enhanced payment behavior classification model to classify the payment behavior data of the user to be evaluated, and obtain the payment behavior classification result of the user to be evaluated.
[0028] In step S3, the payment behavior classification of the payment behavior data of the user to be evaluated is performed using the fuzzy enhanced payment behavior classification model obtained by the solution, including: The payment behavior data of the user to be evaluated is obtained and preprocessed, and the payment behavior classification model obtained by solving the fuzzy enhanced payment behavior classification model is used to classify the payment behavior of the preprocessed payment behavior data X of the user to be evaluated, wherein the payment behavior classification process of the preprocessed payment behavior data X is as follows: S31: Calculate the membership degree between the pre-processed payment behavior data X and any payment behavior category, where the membership degree between the pre-processed payment behavior data X and the kth payment behavior category is ; S32: Calculate the distance between the pre-processed payment behavior data X and the cluster center of any payment behavior category, where the pre-processed payment behavior data X and the cluster center The distance between them is: ; in: Represents the preprocessed payment behavior data X and the cluster center The distance between represents the L1 norm; S33: Calculate the attribution information of the pre-processed payment behavior data X to any payment behavior category, and select the payment behavior category with the highest attribution information as the payment behavior classification result , where the attribution information of the preprocessed payment behavior data X belonging to the kth payment behavior category is: ; in: Indicates the attribution information of the payment behavior data X after preprocessing to the kth payment behavior category; , L represents the category set consisting of K payment behavior categories.
[0029] S4: Based on the payment behavior data corresponding to different payment behavior categories in the training data set, calculate the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated.
[0030] The calculation of the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated in step S4 includes: Calculate the classification results of the payment behavior of the user to be evaluated Corresponding payment behavior distribution: ; in: Indicates the classification result of the payment behavior of the user to be evaluated Corresponding payment behavior distribution; Indicates that the payment behavior category in the training data set data is The data with the highest number of occurrences in the L-th collection moment corresponding to the pre-processed payment behavior data; Len represents the length of the payment behavior distribution.
[0031] S5: Use the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated to perform abnormal fitting detection on the payment behavior data of the user to be evaluated, calculate the payment risk assessment result, and control the payment behavior of the user to be evaluated.
[0032] In step S5, the payment behavior data of the user to be evaluated is subjected to abnormal fitting detection using the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated, including: The payment behavior distribution corresponding to the payment behavior classification results of the user to be evaluated The payment behavior data of the user to be evaluated is subjected to abnormal fitting detection, wherein the abnormal fitting detection process is as follows: Obtain the pre-processed payment behavior data X of the user to be evaluated; Calculate the pre-processed payment behavior data X and payment behavior distribution The degree of fit between: ; in: Represents the payment behavior data X after preprocessing and the payment behavior distribution The degree of fit between Len represents the length of the payment behavior distribution; represents the mean of the payment behavior data X after preprocessing, Represents the payment behavior distribution The mean of If the degree of fit is higher than the preset threshold, there is no abnormal fit and the user to be evaluated does not have payment risk. Otherwise, the payment risk assessment result of the user to be evaluated is calculated and the payment behavior of the user to be evaluated is controlled.
[0033] The calculation of the payment risk assessment result and the control of the payment behavior of the user to be assessed include: The payment risk assessment result of the user to be assessed is calculated: ; in: is the payment risk assessment result of the user to be assessed; W represents the probability mapping matrix; If the payment risk assessment result is higher than the preset risk threshold, the payment behavior of the user to be assessed will be prohibited, and the user to be assessed will be notified of abnormal payment behavior in his account via SMS and phone calls.
[0034] like Figure 2 , is a schematic diagram of the structure of an electronic device for implementing a payment risk assessment and control method for user behavior analysis provided by an embodiment of the present invention.
[0035] The electronic device 1 may include a processor 10 , a memory 11 , a communication interface 13 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a program 12 .
[0036] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the program 12, etc., but also be used to temporarily store data that has been output or is to be output.
[0037] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as the payment risk assessment and control program 12 for realizing user behavior analysis), and calls data stored in the memory 11, so as to execute various functions of the electronic device 1 and process data.
[0038] The communication interface 13 may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices, and to achieve connection and communication between internal components of the electronic device.
[0039] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.
[0040] Figure 2 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 2 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0041] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0042] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.
[0043] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0044] The program 12 stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve: Collecting and preprocessing the user's payment behavior data to obtain the preprocessed payment behavior data to form a training data set; Construct a fuzzy enhanced payment behavior classification model and solve the model parameters based on the training data set; The payment behavior classification model obtained by solving the fuzzy enhanced payment behavior classification model is used to classify the payment behavior data of the user to be evaluated, and the payment behavior classification result of the user to be evaluated is obtained; Based on the payment behavior data corresponding to different payment behavior categories in the training data set, calculate the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated; The payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated is used to perform abnormal fitting detection on the payment behavior data of the user to be evaluated, and the payment risk assessment result is calculated to control the payment behavior of the user to be evaluated.
[0045] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figure 1 to Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0046] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0047] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0048] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A payment risk assessment and control method based on user behavior analysis, characterized in that: The method comprises: S1: Collect and preprocess the user's payment behavior data to obtain the preprocessed payment behavior data to form a training data set, where the payment behavior data includes behavior flow data, order data, and historical browsing data; S2: constructing a fuzzy enhanced payment behavior classification model and solving model parameters based on a training data set, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and takes the payment behavior classification result as output; S3: using the solved fuzzy enhanced payment behavior classification model to classify the payment behavior data of the user to be evaluated, and obtaining the payment behavior classification result of the user to be evaluated; S4: Based on the payment behavior data corresponding to different payment behavior categories in the training data set, calculate the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated; S5: Use the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated to perform abnormal fitting detection on the payment behavior data of the user to be evaluated, calculate the payment risk assessment result, and control the payment behavior of the user to be evaluated.
2. A payment risk assessment and control method based on user behavior analysis as claimed in claim 1, characterized in that: The payment behavior data of the user collected in step S1 includes: Collect users' payment behavior data and payment behavior categories, where payment behavior data includes behavior flow data, order data, and historical browsing data. The collected payment behavior data and payment behavior categories are expressed in the following form: ; ; ; in: represents the payment behavior data collected from the mth user, where Indicates that the mth user is at the nth collection time behavioral data; N represents the total number of collection moments, N is an even number, and M represents the total number of users; It means the mth user at the nth collection time. The uplink and downlink traffic, payment order information and browsed products of the user device, the behavior data at N collection moments correspond to the user's behavior traffic data, order data and historical browsing data, where the payment order information includes the purchased products and the payment amount, the uplink traffic represents the number of data packets sent by the user device, and the downlink traffic represents the number of data packets received by the user device; Payment behavior data The corresponding payment behavior category; Preprocess the user's payment behavior data to obtain the preprocessed payment behavior data and form a training data set .
3. A payment risk assessment and control method based on user behavior analysis as claimed in claim 2, characterized in that: The preprocessing of the user's payment behavior data to obtain the preprocessed payment behavior data constitutes a training data set data, including: The user's payment behavior data is preprocessed to obtain preprocessed payment behavior data, wherein the payment behavior data The preprocessing process is: S11: Payment behavior data Divided into a sequence of odd-numbered acquisition moments and a sequence of even-numbered acquisition moments, wherein the divided sequences are: ; ; in: represents the sequence of odd-numbered acquisition moments; represents the sequence of even-numbered acquisition moments; S12: Calculate the sequence error: ; in: represents the sequence error, Representation sequence The mean of Representation sequence The mean of Representation sequence The standard deviation of represents the prediction coefficient; S13: Perform multi-level decomposition on the sequence error, where the decomposition formula of the jth level is: ; in: represents the j-th level decomposition result of the sequence error, , Indicates the maximum decomposition level; S14: Sequence And the sequence Reconstruction is performed, where the reconstruction formula is: ; ; in: Representation sequence The standard deviation of Sequence And the sequence The reconstruction result of S15: Constructing pre-processed payment behavior data: ; in: Represents a sequence To merge the Payment behavior data The preprocessing results; Constructing the training data set .
4. The payment risk assessment and control method based on user behavior analysis as claimed in claim 1, characterized in that: The fuzzy enhanced payment behavior classification model is constructed in step S2, including: Constructing a fuzzy enhanced payment behavior classification model, wherein the fuzzy enhanced payment behavior classification model takes the preprocessed payment behavior data as input and takes the payment behavior classification result as output; The fuzzy enhanced payment behavior classification model is used to receive the preprocessed payment behavior data, calculate the membership degree of the preprocessed payment behavior data and the payment behavior data corresponding to different payment behavior categories, and the distance to the cluster center corresponding to different payment behavior categories, convert the membership degree and the distance into belonging information, and select the payment behavior category with the highest belonging information as the payment behavior classification result; Using the training dataset The model parameters of the fuzzy enhanced payment behavior classification model are solved.
5. A payment risk assessment and control method based on user behavior analysis as claimed in claim 4, characterized in that: The use of training data sets The model parameters of the fuzzy enhanced payment behavior classification model are solved, including: Using the training dataset The model parameters of the fuzzy enhanced payment behavior classification model are solved, where the model parameters to be solved are the cluster centers corresponding to different payment behavior categories. The model parameter solution process is as follows: S21: K payment behavior categories form a category set: ; in: L represents the category set, K represents the total number of payment behavior categories, represents the kth payment behavior category; S22: Obtain the training data set data, and calculate the membership between any set of pre-processed payment behavior data in the training data set data and any payment behavior category, where the pre-processed payment behavior data The degree of membership between the kth payment behavior category is ; S23: Initialize and generate K cluster centers of payment behavior categories: ; in: Represents the cluster center sequence of K payment behavior categories; Represents the cluster center of the kth payment behavior category generated by initialization; S24: Set the current iteration number of the cluster center to s and the maximum iteration number to Max, then the cluster center The result of the sth iteration is ; S25: Set the training function combining the fuzzy local information factor: ; ; in: represents the training function, where the training function takes the cluster center sequence of K payment behavior categories as input and the training function value corresponding to the cluster center sequence is the output; represents the L2 norm; represents the fuzzy local information factor; represents the fuzzy coefficient; Indicates the degree of membership The sth iteration result of ; S26: Construct the constraints corresponding to the training function: ; And construct the training objective function based on the constraints: ; in: Represents the training objective function, where the training objective function takes the cluster center sequence of K payment behavior categories as input and the training objective function value corresponding to the cluster center sequence is the output; represents the Lagrange coefficient; S27: Based on the training objective function value, the membership degree and cluster center are iterated in turn to obtain ; S28: Set s=s+1, return to step S27, until the maximum number of iterations is reached, and obtain the cluster center sequence of the current K payment behavior categories , and the cluster center sequence As the optimization solution result of the model parameters.
6. A payment risk assessment and control method based on user behavior analysis as claimed in claim 5, characterized in that: In step S3, the payment behavior classification of the payment behavior data of the user to be evaluated is performed using the fuzzy enhanced payment behavior classification model obtained by the solution, including: The payment behavior data of the user to be evaluated is obtained and preprocessed, and the payment behavior classification model obtained by solving the fuzzy enhanced payment behavior classification model is used to classify the payment behavior of the preprocessed payment behavior data X of the user to be evaluated, wherein the payment behavior classification process of the preprocessed payment behavior data X is as follows: S31: Calculate the membership degree between the pre-processed payment behavior data X and any payment behavior category, where the membership degree between the pre-processed payment behavior data X and the kth payment behavior category is ; S32: Calculate the distance between the pre-processed payment behavior data X and the cluster center of any payment behavior category, where the pre-processed payment behavior data X and the cluster center The distance between them is: ; in: Represents the preprocessed payment behavior data X and the cluster center The distance between represents the L1 norm; S33: Calculate the attribution information of the pre-processed payment behavior data X to any payment behavior category, and select the payment behavior category with the highest attribution information as the payment behavior classification result , where the attribution information of the preprocessed payment behavior data X belonging to the kth payment behavior category is: ; in: Indicates the attribution information of the payment behavior data X after preprocessing to the kth payment behavior category; , L represents the category set consisting of K payment behavior categories.
7. The payment risk assessment and control method based on user behavior analysis as claimed in claim 1, characterized in that: The calculation of the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated in step S4 includes: Calculate the classification results of the payment behavior of the user to be evaluated Corresponding payment behavior distribution: ; in: Indicates the classification result of the user payment behavior to be evaluated Corresponding payment behavior distribution; Indicates that the payment behavior category in the training data set data is The data with the highest number of occurrences in the L-th collection moment corresponding to the pre-processed payment behavior data; Len represents the length of the payment behavior distribution.
8. A payment risk assessment and control method based on user behavior analysis as claimed in claim 7, characterized in that: In step S5, the payment behavior data of the user to be evaluated is subjected to abnormal fitting detection using the payment behavior distribution corresponding to the payment behavior classification result of the user to be evaluated, including: The payment behavior distribution corresponding to the payment behavior classification results of the user to be evaluated The payment behavior data of the user to be evaluated is subjected to abnormal fitting detection, wherein the abnormal fitting detection process is as follows: Obtain the pre-processed payment behavior data X of the user to be evaluated; Calculate the pre-processed payment behavior data X and payment behavior distribution The degree of fit between: ; in: Represents the payment behavior data X after preprocessing and the payment behavior distribution The degree of fit between Len represents the length of the payment behavior distribution; represents the mean of the payment behavior data X after preprocessing, Represents the payment behavior distribution The mean of If the degree of fit is higher than the preset threshold, there is no abnormal fit and the user to be evaluated does not have payment risk. Otherwise, the payment risk assessment result of the user to be evaluated is calculated and the payment behavior of the user to be evaluated is controlled.
9. A payment risk assessment and control method based on user behavior analysis as claimed in claim 8, characterized in that: The calculation of the payment risk assessment result and the control of the payment behavior of the user to be assessed include: The payment risk assessment result of the user to be assessed is calculated: ; in: is the payment risk assessment result of the user to be assessed; W represents the probability mapping matrix; If the payment risk assessment result is higher than the preset risk threshold, the payment behavior of the user to be assessed will be prohibited, and the user to be assessed will be notified of abnormal payment behavior in his account via SMS and phone calls.
Citation Information
Patent Citations
Network payment risk assessment method, device and server
CN109063965A
Anti-theft method and device and electronic device
CN109165940A
Mobile terminal security payment management method and system
CN117557270A
Direct data share
US11182797B1
Intelligent recurring transaction processing and fraud detection
US20220245641A1
