Points data updating method, device, equipment and storage medium

By analyzing user points data using a multi-layer convolutional neural network model, it is determined whether the user's behavior is fleecing, which solves the problem of being unable to accurately detect and prevent fleecing behavior in the existing technology, and improves the accuracy and system of points processing. Protective ability.

CN113946590BActive Publication Date: 2024-09-27PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111264139.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2024-09-27
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

The existing points system cannot accurately detect and prevent users from taking advantage of processing time differences to collect wool in real time, resulting in increased points costs and losses.

Method used

By obtaining the user's point balance information and related data, standardizing it and then inputting it into a preset multi-layer convolutional neural network model to calculate the probability of point redemption behavior, determine whether the user's behavior is a scam, and determine the processing type based on the probability value and threshold. , to intercept or warn.

Benefits of technology

It improves the accuracy of points processing, reduces points loss caused by wool-picking behavior, and enhances the system's protective capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113946590B
    Figure CN113946590B
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence, and discloses a point data update method, device, equipment and storage medium for improving the accuracy of point processing. The point data update method includes: inputting standard data and point balance information into a preset point data processing model to calculate the probability of point redemption behavior, and obtaining a target probability value; comparing the target probability value with a preset probability threshold to obtain a comparison result, and determining a processing type according to the comparison result, the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. In addition, the present invention also relates to blockchain technology, and the target probability value can be stored in a blockchain node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to a method, device, equipment and storage medium for updating integral data. Background Art

[0002] For user transaction-related points, all transactions are now issued in batches after points are calculated according to the rules, and then points are processed. If there are abnormal points issuance, the points system cannot be immediately informed and the current batch of points issuance data cannot be dynamically adjusted. It is easy for some users to take advantage of the processing time difference to specifically grab large points. For example: when points are deducted for returns, if the points balance in the user's account is insufficient, the points deduction will fail, and the system will not retry the deduction, which will result in the points that should be deducted not being deducted, resulting in an increase in the points cost, and a small number of users will take advantage of this loophole to obtain a large number of points.

[0003] The existing solutions are to raise the threshold for stealing points, or adjust the blacklist interface to determine whether there are any abnormalities in the user's account points, or have a strict early warning system that requires a dedicated person to monitor the points records. However, these solutions cannot accurately detect stealing behavior when users redeem points and cause losses, that is, the accuracy of the existing solutions is low. Summary of the invention

[0004] The present invention provides a point data updating method, device, equipment and storage medium for improving the accuracy of point processing.

[0005] A first aspect of the present invention provides a points data updating method, the points data updating method comprising: obtaining a user's points balance information, and querying the user data of the user from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data; standardizing the user data to obtain initial data, and verifying the initial data, and using the verified initial data as standard data; inputting the standard data and the points balance information into a preset points data processing model to calculate the probability of points redemption behavior to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-picking behavior; comparing the target probability value with a preset probability threshold to obtain a comparison result, and determining a processing type based on the comparison result, wherein the processing type includes warning processing and interception processing; if the processing type is the interception processing, determining whether the points balance information is greater than a preset monthly points threshold; if the points balance information is greater than the monthly points threshold, intercepting the points issuance and updating the points balance information.

[0006] Optionally, in a first implementation method of the first aspect of the present invention, obtaining the user's points balance information includes: obtaining the user's points data, the points data being used to indicate the initial points amount; generating new points for the user based on the user's points data and preset user points rules; and adding the new points to the initial points amount to obtain the points balance information.

[0007] Optionally, in a second implementation manner of the first aspect of the present invention, before obtaining the user's points balance information, the points data updating method also includes: obtaining multiple sample data, and classifying the multiple sample data to obtain categories corresponding to the multiple sample data; converting each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; respectively inputting the multiple feature values ​​into a preset training model to calculate the user behavior probability to obtain multiple sample probability values, the training model including a multi-layer convolutional neural network; adjusting the parameters of the training model based on the multiple sample probability values, and using the training model after the parameter adjustment as the points data processing model.

[0008] Optionally, in a third implementation of the first aspect of the present invention, the user data is standardized to obtain initial data, and the initial data is verified, and the initial data that passes the verification is used as standard data, including: performing abnormal data clearing processing on the user data to obtain normal user data; performing feature attribute integration processing and feature data standardization processing on the normal user data to obtain initial data; and verifying the initial data, and using the initial data that passes the verification as standard data.

[0009] Optionally, in a fourth implementation method of the first aspect of the present invention, the inputting the standard data and the point balance information into a preset point data processing model to perform probability calculation of point redemption behavior to obtain a target probability value includes: inputting the standard data and the point balance information into a preset point data processing model, the point data processing model including a multi-layer convolutional neural network, a pooling layer and a fully connected layer; performing convolution operations on the standard data and the point balance information through the multi-layer convolutional neural network to obtain a feature vector; performing dimensionality reduction operations on the feature vector through the pooling layer to obtain a low-dimensional vector; performing probability calculation on the low-dimensional vector through the fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-picking behavior.

[0010] Optionally, in a fifth implementation manner of the first aspect of the present invention, the target probability value is compared with a preset probability threshold to obtain a comparison result, and a processing type is determined based on the comparison result, including: comparing the target probability value with a preset probability threshold to obtain a comparison result; if the comparison result is that the target probability value is greater than or equal to the probability threshold, determining that the processing type is the interception processing; if the comparison result is that the target probability value is less than the probability threshold, determining that the processing type is the warning processing.

[0011] Optionally, in a sixth implementation method of the first aspect of the present invention, if the points balance information is greater than the monthly points threshold, the points issuance is intercepted and the points balance information is updated, including: if the points balance is greater than the monthly points threshold, the return transaction data is obtained, and it is determined whether to associate the historical transaction data of the return transaction; if the historical transaction data of the return transaction is associated, deduction data is generated based on the historical transaction data; the points issuance is intercepted based on the deduction data, and the points balance information is updated.

[0012] The second aspect of the present invention provides a point data updating device, which includes: an acquisition module, which is used to acquire the point balance information of a user and query the user data of the user from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data; a standardization module, which is used to perform standardization processing on the user data to obtain initial data, and perform verification processing on the initial data, and use the initial data that passes the verification as standard data; a calculation module, which is used to input the standard data and the point balance information into a preset point data processing model to perform point redemption behavior probability calculation to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior belongs to a wool-pulling behavior; a comparison module, which is used to compare the target probability value with a preset probability threshold value to obtain a comparison result, and determine a processing type according to the comparison result, wherein the processing type includes warning processing and interception processing; a judgment module, which is used to judge whether the point balance information is greater than a preset monthly point threshold if the processing type is the interception processing; a processing module, which is used to intercept the issuance of points if the point balance information is greater than the monthly point threshold, and update the point balance information.

[0013] Optionally, in a first implementation method of the second aspect of the present invention, the acquisition module is specifically used to: obtain the user's points data, the points data is used to indicate the initial points amount; generate new points for the user according to the user's points data and preset user points rules; add the new points to the initial points amount to obtain points balance information.

[0014] Optionally, in a second implementation method of the second aspect of the present invention, the integral data updating device also includes: a training module, used to obtain multiple sample data, and classify the multiple sample data to obtain categories corresponding to the multiple sample data; convert each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; input the multiple feature values ​​into a preset training model to calculate the user behavior probability, and obtain multiple sample probability values, the training model includes a multi-layer convolutional neural network; adjust the parameters of the training model based on the multiple sample probability values, and use the training model after the parameter adjustment as the integral data processing model.

[0015] Optionally, in a third implementation of the second aspect of the present invention, the standardization module is specifically used to: perform abnormal data clearing processing on the user data to obtain normal user data; perform feature attribute integration processing and feature data standardization processing on the normal user data to obtain initial data; perform verification processing on the initial data, and use the verified initial data as standard data.

[0016] Optionally, in a fourth implementation method of the second aspect of the present invention, the calculation module is specifically used to: input the standard data and the points balance information into a preset points data processing model, the points data processing model comprising a multi-layer convolutional neural network, a pooling layer and a fully connected layer; perform convolution operations on the standard data and the points balance information through the multi-layer convolutional neural network to obtain a feature vector; perform dimensionality reduction operations on the feature vector through the pooling layer to obtain a low-dimensional vector; perform probability calculations on the low-dimensional vector through the fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-picking behavior.

[0017] Optionally, in a fifth implementation manner of the second aspect of the present invention, the comparison module is specifically used to: compare the target probability value with a preset probability threshold to obtain a comparison result; if the comparison result is that the target probability value is greater than or equal to the probability threshold, then determine that the processing type is the interception processing; if the comparison result is that the target probability value is less than the probability threshold, then determine that the processing type is the warning processing.

[0018] Optionally, in a sixth implementation method of the second aspect of the present invention, the processing module is specifically used to: if the points balance is greater than the monthly points threshold, obtain return transaction data, and determine whether to associate the historical transaction data of the return transaction; if the historical transaction data of the return transaction is associated, generate deduction data based on the historical transaction data; intercept the issuance of points based on the deduction data, and update the points balance information.

[0019] The third aspect of the present invention provides a computer device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the computer device executes the above-mentioned integral data updating method.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium, in which instructions are stored, which, when executed on a computer, enable the computer to execute the above-mentioned integral data updating method.

[0021] In the technical solution provided by the present invention, standard data and point balance information are input into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value; the target probability value is compared with a preset probability threshold to obtain a comparison result, and the processing type is determined according to the comparison result, and the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. The present invention processes the point data through a machine learning model to achieve the update of the point balance, and the machine learning model effectively improves the accuracy of the probability value and thus improves the accuracy of the point processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of an embodiment of a method for updating integral data in an embodiment of the present invention;

[0023] Figure 2 A schematic diagram of another embodiment of the integral data updating method in an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of an embodiment of a device for updating integral data in an embodiment of the present invention;

[0025] Figure 4 It is a schematic diagram of another embodiment of the integral data updating device in the embodiment of the present invention;

[0026] Figure 5 FIG. 1 is a schematic diagram of an embodiment of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] Embodiments of the present invention provide a method, device, equipment and storage medium for updating integral data, for improving the accuracy of integral processing. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , a first embodiment of the integral data updating method in the embodiment of the present invention includes:

[0029] 101. Obtain the user's points balance information and query the user's user data from a preset database, where the user data is used to indicate the user's personal data, user account data and transaction data;

[0030] It is understandable that the execution subject of the present invention may be a points data update device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example. The server may be an independent server, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0031] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0032] It should be noted that the user's points balance information is the amount of points the user obtains through transactions. User data includes user personal data and user account data. Transaction data includes user transaction data and transaction process data. User personal data is also called user's basic data. User personal data in user data includes age, gender, education level, etc. User account data includes whether there is an account alias, the number of points cards held, and whether there are other development records within a week. Transaction data includes the interval between transactions, whether the request address is the same as the previous transaction, whether the mobile phone number reserved for opening an account is the same as the mobile phone number bound for login, and the transaction amount. Transaction process data includes verification type, signature verification time length, signature verification interval between transactions, whether a single transaction exceeds the points card limit, and whether the points card limit is exceeded on a single day.

[0033] 102. Perform standardization processing on the user data to obtain initial data, perform verification processing on the initial data, and use the verified initial data as standard data;

[0034] Specifically, before inputting the user data into the integral data processing model, the server verifies the legitimacy of the user data to ensure the accuracy of the user data. The standardization process specifically includes the server performing abnormal data removal process on the user data to obtain normal user data, the server performing feature attribute integration process and feature data standardization process on the normal user data to obtain initial data, the server verifies the initial data, and uses the verified initial data as standard data.

[0035] 103. Input the standard data and the points balance information into a preset points data processing model to calculate the probability of points redemption behavior, and obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-pulling behavior;

[0036] It should be noted that the multi-layer convolutional neural network includes two identical sub-networks, which are used to extract the feature vectors of the standard data and the integral balance information image respectively; each sub-network is composed of 7 convolutional layers, pooling layers and fully connected layers connected in sequence, the size of the convolution kernel is 2*2, the number of convolution kernels in the first layer is 16, the number of convolution kernels in the second layer is 32, and the number of convolution kernels in the seventh layer is 1024. The convolution layer is used to extract the features of the input standard data and integral balance information, the pooling layer is used to reduce the dimension of the extracted features, and the fully connected layer is used to integrate the output information of the convolution layer and the pooling layer and convert it into a target probability value.

[0037] 104. Compare the target probability value with a preset probability threshold to obtain a comparison result, and determine a processing type according to the comparison result, wherein the processing type includes a warning process and an interception process;

[0038] Specifically, the server compares the target probability value with the preset probability threshold to obtain a comparison result. If the target probability value is greater than or equal to the probability threshold, the server determines the processing type to be an interception process; if the target probability value is less than the probability threshold, the server determines the processing type to be a warning process. For example, when the target probability value is 0.7 and the preset probability threshold is 0.5, the comparison result is that the target probability value is greater than the probability threshold, and the server determines the processing type to be an interception process.

[0039] 105. If the processing type is interception processing, determine whether the points balance information is greater than the preset monthly points threshold;

[0040] It should be noted that when the interception processing is for the user to redeem points on the points card, the server identifies the processing type as interception processing, and the server determines the probability data of the user's redemption behavior belonging to the wool-picking behavior and the normal redemption behavior, and determines whether it is the wool-picking behavior according to the preset comparison rules (the probability data of the wool-picking behavior is greater than the probability data of the normal redemption behavior). If so, the server will perform on-site processing or directly intercept the points redemption transaction, and then determine whether the points balance information is greater than the preset monthly points threshold, and perform double judgment. The double judgment process is conducive to improving the accuracy of points processing.

[0041] 106. If the points balance information is greater than the monthly points threshold, the points balance information is intercepted and updated.

[0042] Specifically, after the calculation of the points data processing model is completed, the server adds the points balance information and the preset monthly points threshold for judgment, and associates the processing of the original transaction of the points card. All return data that can be associated with the original transaction will be deducted points according to the points issuance ratio of the original transaction. The monthly points threshold is set to prevent the generation of negative deduction flows and is transmitted to the server for points processing. If the points balance information is less than or equal to the monthly points threshold, the points balance information will be intercepted for points redemption and the points balance information will be updated.

[0043] Furthermore, the server stores the target probability value in a blockchain database, which is not specifically limited here.

[0044] In an embodiment of the present invention, standard data and point balance information are input into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value; the target probability value is compared with a preset probability threshold to obtain a comparison result, and the processing type is determined according to the comparison result, and the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. The present invention processes the point data through a machine learning model to achieve the update of the point balance, and the machine learning model effectively improves the accuracy of the probability value and thus improves the accuracy of the point processing.

[0045] See also Figure 2 , a second embodiment of the integral data updating method in the embodiment of the present invention includes:

[0046] 201. Obtain the user's points balance information and query the user's user data from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data;

[0047] Optionally, the server obtains the user's points data, which is used to indicate the initial points amount and the consumption amount within a preset time period; the server generates new points for the user based on the user's points data and preset user points rules; the server adds the new points to the initial points amount to obtain points balance information.

[0048] Specifically, the server obtains the user's points data, which is used to indicate the initial points amount and the number of consumption times within a preset time period; the server queries the user's new points based on the user's points data and in accordance with preset user points rules; the server adds the new points to the initial points amount to obtain points balance information; the server queries the user's user data from a preset database, and the user data is used to indicate the user's personal data, user account data, and transaction data.

[0049] Optionally, the server obtains multiple sample data and classifies the multiple sample data to obtain categories corresponding to the multiple sample data; the server converts each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; the server inputs the multiple feature values ​​into a preset training model to calculate the user behavior probability to obtain multiple sample probability values, and the training model includes a multi-layer convolutional neural network; the server adjusts the parameters of the training model based on the multiple sample probability values, and uses the training model after the parameter adjustment as the integral data processing model.

[0050] Among them, multiple sample data refer to data of various dimensions such as user's account data, device dimension data, behavior data, environment dimension data, etc. on the points mall. Each sample data includes account data, device dimension data, behavior data, environment dimension data, etc. The account data can be one or more, for example, the account data of the user's points mall, the account data of the user on the user device (for example, mobile phone, tablet computer, etc.), the device dimension data refers to data related to the user's device, such as device identification, behavior data refers to the user's registration, login, purchase, order brushing, forwarding, like, comment, adding friends, following and other behaviors on the points mall, and the environment dimension data refers to data such as the address of the user's device. Specifically, the server records sample data, performs numerical processing on sample data in non-numerical format to obtain corresponding feature values, classifies multiple sample data according to feature attributes to obtain categories corresponding to the multiple sample data, divides all sample data belonging to the corresponding feature attribute into intervals according to the feature values ​​for each category of feature attributes, and generates at least one feature value interval. The server inputs the multiple feature values ​​into a multi-layer convolutional neural network in a preset training model to calculate user behavior probabilities to obtain multiple sample probability values, calculates loss values ​​between the multiple sample probability values ​​and preset standard probability values, optimizes the parameters of the training model based on the loss values ​​and adopts the stochastic gradient descent method, and the server uses the optimized training model as the integral data processing model.

[0051] 202. Perform standardization processing on the user data to obtain initial data, perform verification processing on the initial data, and use the initial data that passes the verification as standard data;

[0052] Optionally, the server performs abnormal data clearing processing on the user data to obtain normal user data; the server performs feature attribute integration processing and feature data standardization processing on the normal user data to obtain initial data; the server performs verification processing on the initial data and uses the verified initial data as standard data.

[0053] Specifically, the server first performs data integration processing on the user data. For example, a transaction request can only collect the transaction time, but the interval between transactions needs to be obtained during the processing. The server collects the time interval between the current transaction and the previous transaction, and the time interval between the previous transaction and the previous two transactions, and then obtains the interval between transactions by subtracting the time intervals between the previous and the previous transactions. The server performs preprocessing on the data, including abnormal data removal processing, feature attribute integration processing and feature data standardization processing. The abnormal data removal processing is the basic data of a certain point missing, and the basic data of the user in the previous transaction of the point is taken by default. When the data of a certain point redemption transaction is missing, the server determines that the data caused by the transaction abnormality is invalid and clears the data; the feature attribute integration processing is to integrate the collected data according to the feature attributes of the point redemption behavior of the point card. For example, the interval between transactions needs to collect the time interval between the current transaction and the previous transaction, and the time interval between the previous transaction and the previous two transactions, and then obtain it by subtracting the two time intervals; the feature data standardization processing is to classify and standardize the collected data according to the feature attribute values ​​related to the point redemption behavior of the point card. Finally, the server verifies the initial data and uses the initial data that passes the verification as the standard data.

[0054] 203. Input the standard data and the integral balance information into a preset integral data processing model, where the integral data processing model includes a multi-layer convolutional neural network, a pooling layer, and a fully connected layer;

[0055] It should be noted that the multi-layer convolutional neural network includes two identical sub-networks, which are used to extract the feature vectors of the standard data and the integral balance information image respectively; each sub-network is composed of 7 convolutional layers, pooling layers and fully connected layers connected in sequence, the size of the convolution kernel is 2*2, the number of convolution kernels in the first layer is 16, the number of convolution kernels in the second layer is 32, and the number of convolution kernels in the seventh layer is 1024. The convolution layer is used to extract the features of the input standard data and integral balance information, the pooling layer is used to reduce the dimension of the extracted features, and the fully connected layer is used to integrate the output information of the convolution layer and the pooling layer and convert it into a target probability value.

[0056] 204. Perform convolution operation on the standard data and the integral balance information through a multi-layer convolutional neural network to obtain a feature vector;

[0057] Specifically, after the server performs feature extraction through multi-layer convolution of a multi-layer convolutional neural network, it outputs the probability calculation results with anti-arc light interference characteristics and adaptability to various groove types through convolution. It outputs high-precision feature extraction through convolution. Each convolution layer is followed by a Relu activation function layer, and the feature vectors after the fifth pooling layer are convolved with two 3*3*2 convolution kernels.

[0058] 205. Perform dimensionality reduction operation on the feature vector through the pooling layer to obtain a low-dimensional vector;

[0059] Specifically, the server performs convolution operations on the standard data and the point balance information through a multi-layer convolutional neural network to obtain a feature vector; the server performs dimensionality reduction operations on the feature vector through a pooling layer to obtain a low-dimensional vector; the server performs probability calculations on the low-dimensional vector through a fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-picking behavior.

[0060] 206. Probability calculation is performed on the low-dimensional vector through a fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-pulling behavior;

[0061] Specifically, the conditional probability of whether the user's points redemption behavior is abnormal behavior in this feature attribute is 0. The server smoothes the attribute value to make the prediction result closer to the actual value. The server calculates the prior probability and conditional probability of the newly added feature attribute through the Laplace correction method. Through the multi-layer convolutional neural network combined with the Laplace correction method, it can avoid the situation where the estimated probability is 0 due to insufficient training data set samples. When the training data set continues to grow, the probability value after the Laplace correction method gradually approaches the actual probability value.

[0062] 207. Compare the target probability value with a preset probability threshold to obtain a comparison result, and determine a processing type according to the comparison result, wherein the processing type includes a warning processing and an interception processing;

[0063] Specifically, the server compares the target probability value with the preset probability threshold to obtain a comparison result, and the comparison result is that the target probability value is greater than or equal to the probability threshold and the target probability value is less than the probability threshold; if the target probability value is greater than or equal to the probability threshold, the server determines that the processing type is interception processing; if the target probability value is less than the probability threshold, the server determines that the processing type is warning processing. Specifically, the server determines whether the target probability value is greater than the preset probability threshold. When the target probability value of the comparison result is greater than the preset probability threshold, the comparison result is determined to be that the target probability value is greater than or equal to the probability threshold. When the target probability value of the comparison result is equal to the preset probability threshold, the comparison result is determined to be that the target probability value is equal to the probability threshold. When the target probability value of the comparison result is less than the preset probability threshold, the comparison result is determined to be that the target probability value is less than the probability threshold. If the target probability value is greater than or equal to the probability threshold, the server determines that the processing type is interception processing; if the target probability value is less than the probability threshold, the server determines that the processing type is warning processing. Among them, the warning processing is to generate a wool-pulling warning for the user's point redemption behavior, and will not interfere with the user's point redemption behavior.

[0064] 208. If the processing type is interception processing, determine whether the points balance information is greater than the preset monthly points threshold;

[0065] It should be noted that when the interception processing is for the user to redeem points on the points card, the server identifies the processing type as interception processing, and the server determines the probability data of the user's redemption behavior belonging to the wool-picking behavior and the normal redemption behavior, and determines whether it is the wool-picking behavior according to the preset comparison rules (the probability data of the wool-picking behavior is greater than the probability data of the normal redemption behavior). If so, the server will perform on-site processing or directly intercept the points redemption transaction, and then determine whether the points balance information is greater than the preset monthly points threshold, and perform double judgment. The double judgment process is conducive to improving the accuracy of points processing.

[0066] 209. If the points balance information is greater than the monthly points threshold, the points balance information is intercepted and updated.

[0067] Optionally, if the points balance of the server is greater than the monthly points threshold, the server obtains the return transaction data and determines whether to associate the historical transaction data of the return transaction; if the server associates the historical transaction data of the return transaction, it generates deduction data based on the historical transaction data; the server intercepts and processes the points balance information based on the deduction data, and updates the points balance information.

[0068] Specifically, if the points balance is greater than the monthly points threshold, the server obtains the return transaction data and determines whether to associate the historical transaction data of the return transaction; if the historical transaction data of the return transaction is associated, the server generates the deduction data based on the historical transaction data; the server intercepts the points balance information based on the deduction data, and updates the points balance information. When the deduction data is negative points, the points that have not been deducted by the user can be gradually deducted through interception processing, and the situation where points cannot be deducted will no longer occur; the deduction calls the deduction interface at a dynamic frequency, which can effectively prevent the situation where points cannot be deducted due to users consuming points immediately after the points are credited. Through the above optimization combination, the server has blocked the hole for users to grab points to the greatest extent, greatly reducing the risk of points loss.

[0069] Furthermore, the server stores the target probability value in a blockchain database, which is not specifically limited here.

[0070] In an embodiment of the present invention, standard data and point balance information are input into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value; the target probability value is compared with a preset probability threshold to obtain a comparison result, and the processing type is determined according to the comparison result, and the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. The present invention processes the point data through a machine learning model to achieve the update of the point balance, and the machine learning model effectively improves the accuracy of the probability value and thus improves the accuracy of the point processing.

[0071] The above describes the integral data updating method in the embodiment of the present invention. The following describes the integral data updating device in the embodiment of the present invention. Figure 3 The first embodiment of the integral data updating device in the embodiment of the present invention includes:

[0072] The acquisition module 301 is used to obtain the user's points balance information and query the user data of the user from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data;

[0073] The standardization module 302 is used to perform standardization processing on the user data to obtain initial data, and to perform verification processing on the initial data, and to use the verified initial data as standard data;

[0074] The calculation module 303 is used to input the standard data and the point balance information into a preset point data processing model to calculate the probability of point redemption behavior, and obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-pulling behavior;

[0075] A comparison module 304 is used to compare the target probability value with a preset probability threshold to obtain a comparison result, and determine a processing type according to the comparison result, wherein the processing type includes a warning process and an interception process;

[0076] A judgment module 305 is used to judge whether the points balance information is greater than a preset monthly points threshold if the processing type is the interception processing;

[0077] The processing module 306 is used to intercept the point issuance and update the point balance information if the point balance information is greater than the monthly point threshold.

[0078] In an embodiment of the present invention, standard data and point balance information are input into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value; the target probability value is compared with a preset probability threshold to obtain a comparison result, and the processing type is determined according to the comparison result, and the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. The present invention processes the point data through a machine learning model to achieve the update of the point balance, and the machine learning model effectively improves the accuracy of the probability value and thus improves the accuracy of the point processing.

[0079] See also Figure 4 The second embodiment of the integral data updating device in the embodiment of the present invention includes:

[0080] The acquisition module 301 is used to obtain the user's points balance information and query the user data of the user from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data;

[0081] The standardization module 302 is used to perform standardization processing on the user data to obtain initial data, and to perform verification processing on the initial data, and to use the verified initial data as standard data;

[0082] The calculation module 303 is used to input the standard data and the point balance information into a preset point data processing model to calculate the probability of point redemption behavior, and obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-pulling behavior;

[0083] A comparison module 304 is used to compare the target probability value with a preset probability threshold to obtain a comparison result, and determine a processing type according to the comparison result, wherein the processing type includes a warning process and an interception process;

[0084] A judgment module 305 is used to judge whether the points balance information is greater than a preset monthly points threshold if the processing type is the interception processing;

[0085] The processing module 306 is used to intercept the point issuance and update the point balance information if the point balance information is greater than the monthly point threshold.

[0086] Optionally, the acquisition module 301 is specifically used for:

[0087] Obtain the user's points data, where the points data is used to indicate the initial points amount and the consumption amount within a preset time period; generate new points for the user based on the user's points data and preset user points rules; add the new points to the initial points amount to obtain points balance information.

[0088] Optionally, the integral data updating device further includes:

[0089] The training module 307 is used to obtain multiple sample data and classify the multiple sample data to obtain categories corresponding to the multiple sample data; convert each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; input the multiple feature values ​​into a preset training model to calculate the user behavior probability to obtain multiple sample probability values, and the training model includes a multi-layer convolutional neural network; adjust the parameters of the training model based on the multiple sample probability values, and use the training model after parameter adjustment as an integral data processing model.

[0090] Optionally, the standardization module 302 is specifically used for:

[0091] The user data is processed for abnormal data removal to obtain normal user data; the normal user data is processed for characteristic attribute integration and characteristic data standardization to obtain initial data; the initial data is verified and the verified initial data is used as standard data.

[0092] Optionally, the calculation module 303 is specifically used for:

[0093] The standard data and the point balance information are input into a preset point data processing model, wherein the point data processing model includes a multi-layer convolutional neural network, a pooling layer, and a fully connected layer; a convolution operation is performed on the standard data and the point balance information through the multi-layer convolutional neural network to obtain a feature vector; a dimension reduction operation is performed on the feature vector through the pooling layer to obtain a low-dimensional vector; a probability calculation is performed on the low-dimensional vector through the fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is a wool-pulling behavior.

[0094] Optionally, the comparison module 304 is specifically used to: compare the target probability value with a preset probability threshold to obtain a comparison result; if the comparison result is that the target probability value is greater than or equal to the probability threshold, determine the processing type as the interception processing; if the comparison result is that the target probability value is less than the probability threshold, determine the processing type as the warning processing.

[0095] Optionally, the processing module 306 is specifically configured to:

[0096] If the points balance is greater than the monthly points threshold, the return transaction data is obtained, and it is determined whether to associate the historical transaction data of the return transaction; if the historical transaction data of the return transaction is associated, deduction data is generated based on the historical transaction data; the points issuance is intercepted based on the deduction data, and the points balance information is updated.

[0097] In an embodiment of the present invention, standard data and point balance information are input into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value; the target probability value is compared with a preset probability threshold to obtain a comparison result, and the processing type is determined according to the comparison result, and the processing type includes warning processing and interception processing; if the processing type is interception processing, it is determined whether the point balance information is greater than the preset monthly point threshold; if the point balance information is greater than the monthly point threshold, the point balance information is intercepted and updated. The present invention processes the point data through a machine learning model to achieve the update of the point balance, and the machine learning model effectively improves the accuracy of the probability value and thus improves the accuracy of the point processing.

[0098] above Figure 3 and Figure 4 The integral data updating device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the computer device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0099] Figure 5 1 is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. The computer device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the computer device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the computer device 500.

[0100] The computer device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5 The illustrated computer device structure does not constitute a limitation on the computer device, and may include more or fewer components than illustrated, or combine certain components, or arrange the components differently.

[0101] The present invention also provides a computer device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the integral data updating method in the above-mentioned embodiments.

[0102] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the integral data updating method.

[0103] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0104] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0106] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0107] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for updating integral data, characterized in that: The integral data updating method comprises: Obtaining the user's points balance information, and querying the user's user data from a preset database, wherein the user data is used to indicate the user's personal data, user account data, and transaction data; Standardizing the user data to obtain initial data, verifying the initial data, and using the verified initial data as standard data; Inputting the standard data and the points balance information into a preset points data processing model to calculate the probability of points redemption behavior, and obtaining a target probability value, wherein the target probability value is used to indicate the probability that the redemption behavior of the user is an abnormal behavior; Comparing the target probability value with a preset probability threshold to obtain a comparison result, and determining a processing type according to the comparison result, wherein the processing type includes warning processing and interception processing; If the processing type is the interception processing, determining whether the points balance information is greater than a preset monthly points threshold; If the points balance information is greater than the monthly points threshold, intercepting the points issuance and updating the points balance information; The step of inputting the standard data and the point balance information into a preset point data processing model to calculate the probability of point redemption behavior and obtain a target probability value includes: Inputting the standard data and the point balance information into a preset point data processing model, wherein the point data processing model includes a multi-layer convolutional neural network, a pooling layer, and a fully connected layer; Performing a convolution operation on the standard data and the integral balance information through the multi-layer convolutional neural network to obtain a feature vector; Performing a dimensionality reduction operation on the feature vector through the pooling layer to obtain a low-dimensional vector; Performing probability calculation on the low-dimensional vector through the fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the redemption behavior of the user is an abnormal behavior; If the point balance information is greater than the monthly point threshold, intercepting the point issuance and updating the point balance information include: If the points balance is greater than the monthly points threshold, the return transaction data is obtained, and it is determined whether to associate the historical transaction data of the return transaction; If the historical transaction data of the return transaction is associated, generating point deduction data according to the historical transaction data; The points issuance is intercepted and processed according to the point deduction data, and the points balance information is updated.

2. The method for updating integral data according to claim 1, characterized in that: The obtaining of the user's points balance information includes: Obtaining the user's points data, where the points data is used to indicate an initial points amount; Generate new points for the user according to the point data of the user and preset user point rules; The newly added points are added to the initial points amount to obtain the points balance information.

3. The method for updating the integral data according to claim 1, characterized in that: Before obtaining the user's point balance information, the point data updating method further includes: Acquire multiple sample data, and classify the multiple sample data to obtain categories corresponding to the multiple sample data; Convert each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; Inputting the multiple feature values ​​into a preset training model to calculate the probability of user behavior and obtain multiple sample probability values, wherein the training model includes a multi-layer convolutional neural network; The parameters of the training model are adjusted based on the multiple sample probability values, and the training model after the parameter adjustment is used as the integral data processing model.

4. The method for updating integral data according to claim 1, characterized in that: The step of performing standardization processing on the user data to obtain initial data, and performing verification processing on the initial data, and using the verified initial data as standard data, includes: Performing abnormal data clearing processing on the user data to obtain normal user data; Performing feature attribute integration processing and feature data standardization processing on the normal user data to obtain initial data; The initial data is verified and the verified initial data is used as standard data.

5. The method for updating integral data according to claim 1, characterized in that: The comparing the target probability value with a preset probability threshold to obtain a comparison result, and determining a processing type according to the comparison result, includes: Comparing the target probability value with a preset probability threshold to obtain a comparison result; If the comparison result is that the target probability value is greater than or equal to the probability threshold, determining that the processing type is the interception processing; If the comparison result is that the target probability value is less than the probability threshold, the processing type is determined to be the warning processing.

6. A point data updating device, characterized in that: The integral data updating device comprises: An acquisition module, used to acquire the user's points balance information and query the user data of the user from a preset database, wherein the user data is used to indicate the user's personal data, user account data and transaction data; A standardization module, used to perform standardization processing on the user data to obtain initial data, and to perform verification processing on the initial data, and to use the verified initial data as standard data; A calculation module, used for inputting the standard data and the points balance information into a preset points data processing model to calculate the probability of points redemption behavior, and obtain a target probability value, wherein the target probability value is used to indicate the probability that the redemption behavior of the user is an abnormal behavior; A comparison module, used for comparing the target probability value with a preset probability threshold value to obtain a comparison result, and determining a processing type according to the comparison result, wherein the processing type includes a warning process and an interception process; A judgment module, configured to judge whether the points balance information is greater than a preset monthly points threshold if the processing type is the interception processing; A processing module, configured to intercept the issuance of points and update the points balance information if the points balance information is greater than the monthly points threshold; The calculation module is specifically used to: input the standard data and the point balance information into a preset point data processing model, wherein the point data processing model includes a multi-layer convolutional neural network, a pooling layer, and a fully connected layer; perform convolution operation on the standard data and the point balance information through the multi-layer convolutional neural network to obtain a feature vector; perform dimensionality reduction operation on the feature vector through the pooling layer to obtain a low-dimensional vector; perform probability calculation on the low-dimensional vector through the fully connected layer to obtain a target probability value, wherein the target probability value is used to indicate the probability that the user's redemption behavior is an abnormal behavior; The processing module is specifically used to: if the points balance is greater than the monthly points threshold, obtain return transaction data and determine whether to associate the historical transaction data of the return transaction; if the historical transaction data of the return transaction is associated, generate deduction data based on the historical transaction data; intercept the issuance of points based on the deduction data, and update the points balance information.

7. The integral data updating device according to claim 6, characterized in that: The acquisition module is specifically used to: acquire the user's points data, where the points data is used to indicate the initial points amount; generate the user's new points based on the user's points data and preset user points rules; and add the new points to the initial points amount to obtain points balance information.

8. The integral data updating device according to claim 6, characterized in that: The integral data updating device also includes: a training module, which is used to obtain multiple sample data and classify the multiple sample data to obtain categories corresponding to the multiple sample data; convert each sample data into a feature value based on the categories corresponding to the multiple sample data and preset data conversion rules to obtain multiple feature values; input the multiple feature values ​​into a preset training model to calculate the user behavior probability to obtain multiple sample probability values, and the training model includes a multi-layer convolutional neural network; adjust the parameters of the training model based on the multiple sample probability values, and use the training model after the parameter adjustment as the integral data processing model.

9. A computer device, characterized in that: The computer device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to cause the computer device to execute the score data updating method according to any one of claims 1 to 5.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the integral data updating method according to any one of claims 1 to 5 is implemented.