A data processing method, device, computer equipment and storage medium

By constructing a transaction object topology map and using deep learning technology, the problem of inaccurate object characteristics caused by relying on static attributes in the existing technology is solved, and more accurate business data acquisition is achieved.

CN114722089BActive Publication Date: 2024-10-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110022449.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-05
Publication Date
2024-10-18
Estimated Expiration
2041-01-05

AI Technical Summary

Technical Problem

When determining the object characteristics of a transaction object, the existing technology mainly relies on static attributes, resulting in insufficient accuracy of the characteristics, which in turn affects the accuracy of the user's business data.

Method used

By constructing a topology map of transaction objects, extracting sequences based on the order of transactions between transaction objects, and using deep learning technology to determine the object characteristics of each transaction object, thereby improving the accuracy of business data.

Benefits of technology

By mining implicit correlations between transaction objects from a dynamic perspective, we can obtain more accurate object characteristics and improve the accuracy of user business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114722089B_ABST
    Figure CN114722089B_ABST
Patent Text Reader

Abstract

The embodiment of the present application proposes a data processing method, device, computer equipment and storage medium, the method is: obtain a user transaction flow set, the user transaction flow set includes the transaction sequence of N transaction objects, N is a positive integer; according to the transaction sequence of N transaction objects, construct a transaction object topology map, the transaction object topology map includes N object vertices, and the N object vertices correspond to the N transaction objects one by one; extract the transaction object sequence from the transaction object topology map, and determine the object characteristics of each transaction object according to the transaction object sequence; when the business request of the target user is obtained, the business data of the target user is determined according to the object characteristics of each transaction object and the transaction flow of the target user, and the business request carries the transaction flow of the target user. Through this application, the object characteristics can be determined according to the transaction sequence between each transaction object, and then the business data of the user can be determined, thereby improving the accuracy of the business data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, apparatus, computer equipment and storage medium. Background Art

[0002] As people's daily living standards gradually improve, users often trade with various trading partners. Therefore, it is usually possible to analyze the transaction data generated after the user's transaction to obtain the user's corresponding business data.

[0003] In order to determine the business data of a certain user, it is necessary to first determine the object characteristics of the transaction object with which the user has transacted. At present, the object characteristics of the transaction object are mainly determined based on the static attributes of the transaction object itself. Specifically, the object characteristics are constructed based on the explicit classification of the transaction object. For example, the object characteristics of transaction object 1 and transaction object 2 belonging to the catering category are similar. Determining the object characteristics of the transaction object based on the static attributes of the transaction object will result in inaccurate object characteristics, which in turn will result in inaccurate business data of the determined user. Summary of the invention

[0004] The embodiments of the present application propose a data processing method, apparatus, computer equipment and storage medium, which can determine the object characteristics of each transaction object according to the transaction sequence between each transaction object, and then determine the user's business data, thereby improving the accuracy of the business data.

[0005] On the one hand, an embodiment of the present application provides a data processing method, including:

[0006] Obtaining a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer;

[0007] According to the transaction sequence of the N transaction objects, a transaction object topology graph is constructed, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner;

[0008] Extracting a transaction object sequence from the transaction object topology map, and determining an object feature of each transaction object according to the transaction object sequence;

[0009] When a business request of a target user is obtained, the business data of the target user is determined according to the object characteristics of each transaction object and the transaction flow of the target user, and the business request carries the transaction flow of the target user.

[0010] On the one hand, an embodiment of the present application provides a data processing device, including:

[0011] An acquisition unit, configured to acquire a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer;

[0012] A construction unit, configured to construct a transaction object topology graph according to the transaction sequence of the N transaction objects, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner;

[0013] a processing unit, configured to extract a transaction object sequence from the transaction object topology map, and determine an object feature of each transaction object according to the transaction object sequence;

[0014] The determination unit is used to determine the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user when obtaining the business request of the target user, and the business request carries the transaction flow of the target user.

[0015] On one hand, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the methods in the above embodiments.

[0016] On the one hand, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the methods in the above embodiments are executed.

[0017] On the one hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. When the computer instructions are executed by a processor of a terminal device, the methods in the above embodiments are executed.

[0018] Through the data processing method of the embodiment of the present application, the computer device can construct a transaction object topology map through the user transaction flow set, and can extract the transaction object sequence from the transaction object topology map, and then determine the object characteristics of each transaction object according to the transaction object sequence. This solution determines the object characteristics of the transaction object through the transaction sequence between the transaction objects, and can dig out the implicit correlation between the transaction objects from a dynamic perspective. Compared with the existing method of determining the object characteristics of the transaction object only through the static attributes of the transaction object itself, the object characteristics obtained by this application are more accurate. Subsequently, when the user submits a business request, the business data of the user can be determined based on the object characteristics of each transaction object and the user's transaction flow carried in the business request. Further, the accuracy of the business data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a structural diagram of a data processing system provided in an embodiment of the present application;

[0021] Figure 2a This is a schematic diagram of a scenario of a user transaction flow set provided by an embodiment of the present application;

[0022] Figure 2b It is a scenario schematic diagram of a transaction object topology map provided in an embodiment of the present application;

[0023] Figure 2c This is a schematic diagram of a scenario of a transaction object sequence provided by an embodiment of the present application;

[0024] Figure 2d is a schematic diagram of a scene for determining object features provided in an embodiment of the present application;

[0025] Figure 2e This is a schematic diagram of a scenario for recommending business data provided by an embodiment of the present application;

[0026] Figure 2f This is a schematic diagram of a scenario for determining service characteristics provided by an embodiment of the present application;

[0027] Figure 2g It is a schematic diagram of a scenario for building a decision tree provided in an embodiment of the present application;

[0028] Figure 2h This is a schematic diagram of a scenario for recommending business data provided by an embodiment of the present application;

[0029] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0030] Figure 4a This is a schematic diagram of a random walk process provided by an embodiment of the present application;

[0031] Figure 4b is a schematic diagram of another random walk process provided in an embodiment of the present application;

[0032] Figure 4c is a model schematic diagram of a word embedding model provided in an embodiment of the present application;

[0033] Figure 5It is a flowchart of another data processing method provided in an embodiment of the present application;

[0034] Figure 6a It is a flow chart of a clustering method provided in an embodiment of the present application;

[0035] Figure 6b It is a table diagram of sample data provided by an embodiment of the present application;

[0036] Figure 6c is a schematic diagram of a decision tree provided in an embodiment of the present application;

[0037] Figure 7 It is a flowchart of a method for determining business data provided by an embodiment of the present application;

[0038] Figure 8 It is a flowchart of another method for determining business data provided by an embodiment of the present application;

[0039] Fig. 9 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0040] Fig.10 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] In order to better understand the embodiments of the present application, the professional terms involved in the embodiments of the present application are introduced below:

[0043] Node2vec: Node2vec is an algorithm for generating vector representations of nodes on a graph. The node2vec framework learns low-dimensional representations of nodes in a graph by using random traversals of the graph starting from a target node.

[0044] K-means: The K-means clustering algorithm first randomly selects K objects as the initial cluster centers. Then it calculates the distance between each object and each seed cluster center and assigns each object to the cluster center closest to it. The cluster centers and the objects assigned to them represent a cluster. Each time a sample is assigned, the cluster center of the cluster is recalculated based on the existing objects in the cluster.

[0045] Decision Tree: A decision analysis method that constructs a decision tree based on the known probabilities of various situations to obtain the probability that the expected value of the net present value is greater than or equal to zero, evaluate project risks, and determine its feasibility.

[0046] 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. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.

[0047] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0048] The solution provided in the embodiment of the present application belongs to the deep learning technology and machine learning technology in the field of artificial intelligence.

[0049] Deep Learning (DL) is a multi-disciplinary interdisciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.

[0050] In this application, the object characteristics of each transaction object are mainly determined by deep learning technology. Specifically, the transaction object sequence can be identified based on the word embedding model in the field of deep learning technology to obtain the object characteristics of each transaction object. Subsequently, when the business request of the target user is obtained, the business prediction model in the field of machine learning technology can be used to determine the business data based on the object characteristics of each transaction object and the transaction flow of the target user.

[0051] This application can be applied to the following scenarios: When it is necessary to predict the credit risk of a user, the solution of this application can be used to determine the object characteristics of multiple transaction objects. Then, the object characteristics of the user are determined based on the object characteristics of each transaction object and the transaction objects contained in the user's transaction flow. Subsequently, the object characteristics are identified through the credit risk prediction model, and the credit risk probability corresponding to the user can be output. Furthermore, risk prediction or risk assessment can be performed based on the credit risk probability corresponding to the user.

[0052] When recommendation is required, the scheme of the present application can be used to determine the object features of multiple transaction objects. Then, based on the object features of each transaction object and the transaction objects included in the user's transaction flow, the transaction objects similar to the transaction objects included in the user's transaction flow among the multiple transaction objects are determined as the transaction objects to be recommended, and the transaction objects to be recommended are recommended to the user.

[0053] When the blacklist needs to be updated, the scheme of the present application can be used to determine the object characteristics of multiple transaction objects. Then, the transaction objects that need to be added to the blacklist are determined from the multiple transaction objects based on the object characteristics of each transaction object and the object characteristics of the black transaction objects included in the blacklist, and the determined transaction objects are added to the blacklist. Subsequently, a reminder message can also be sent to the user based on the updated blacklist and the transaction objects in the user's transaction flow, so that the user can be more vigilant and cautious when trading with the black transaction objects in the blacklist, thereby reducing the transaction risk coefficient.

[0054] See also Figure 1 , Figure 1 1 is a schematic diagram of a data processing system provided by an embodiment of the present application. A server 140 and a computer device cluster, wherein the computer device cluster may include: computer device 110, computer device 120, ..., computer device 130, etc. The computer device cluster and the server 140 may be directly or indirectly connected via wired or wireless communication, and the present application does not limit this.

[0055] Figure 1 The server 140 shown can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, 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, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0056] Figure 1The computer device 110, computer device 120, computer device 130, etc. shown in the figure can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile Internet device (MID), a vehicle, a roadside device, an aircraft, a wearable device such as a smart watch, a smart bracelet, a pedometer, etc., and other smart devices with data processing functions.

[0057] Taking the computer device 110 as an example, the computer device 110 obtains a user transaction flow set, and the user transaction flow set includes N transaction objects, where N is a positive integer. The computer device 110 sends the user transaction flow set to the server 140. The server 140 constructs a transaction object topology map according to the transaction sequence of the N transaction objects, wherein the transaction object topology map includes N object vertices, and the N object vertices correspond to the N transaction objects one by one. The server 140 extracts a transaction object sequence from the transaction object topology map, and determines the object characteristics of each transaction object according to the transaction object sequence.

[0058] Subsequently, when the server 140 obtains the target user's business request, the server 140 can determine the business data based on the object characteristics of each transaction object and the target user's transaction flow. The business request carries the target user's transaction flow. Then, the server 140 sends the business data to the computer device 110, and further, the computer device 110 can use the business data to evaluate the user's business attributes in different business scenarios.

[0059] It should be noted that constructing a transaction object topology map according to the transaction order of N transaction objects, extracting a transaction object sequence from the transaction object topology map, and determining the object characteristics of each transaction object according to the transaction object sequence can also be executed by the computer device 110 or any computer device in the computer device cluster.

[0060] It can be understood that the system architecture diagram described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0061] See also Figure 2a , Figure 2aIt is a scene diagram of a user transaction flow set provided by an embodiment of the present application. In the present application, a batch of modeling samples can be selected, that is, the transaction flow information of a part of sample users within a period of time can be selected. For example, the transaction flow information of each user in the batch of users within three months can be selected. Among them, the transaction flow information may include the user's transaction account, the user's transaction object, and the transaction time. Among them, the transaction account of each user can be the transaction account of each user in different transaction objects, or it can be unified as the identity identifier corresponding to each user. Finally, the transaction flow information corresponding to each user in the batch of users is combined into a user transaction flow set.

[0062] When implementing it specifically, Figure 2a As shown, the user transaction flow set may specifically include the original user transaction sequence corresponding to each user, and all transaction objects in each original user transaction sequence are sorted according to the order of the transaction time corresponding to each transaction object. Figure 2a The number of users in the user transaction flow set shown and the number of transaction objects included in the transaction flow information corresponding to each user are only used for examples. In actual situations, the corresponding number of users can be selected according to the specific scenario, or the transaction flow information within the corresponding time period can be selected. This is not limited in the embodiments of the present application. For example, for user 1, the transaction flow information corresponding to user 1 may include merchant 1, merchant 2, and merchant 3, etc. For user 2, the transaction flow information corresponding to user 3 may include merchant 3, merchant 4, merchant 1, merchant 4, and merchant 5, etc.

[0063] See also Figure 2b , Figure 2b This is a schematic diagram of a transaction object topology diagram provided in an embodiment of the present application. In specific implementation, the computer device can be based on Figure 2a The transaction order of N transaction objects contained in the user transaction flow set is used to construct a transaction object topology graph. The transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects one by one. Figure 2b The transaction object topology shown includes 6 transaction objects, namely merchant 1, merchant 2, merchant 3, merchant 4, merchant 5 and merchant 6.

[0064] For example, taking user 1 as an example, in the original user transaction sequence of user 1, there is consumption at merchant 1 first, and then at merchant 2. Then in the transaction object topology, there will be a direct edge between merchant 1 and merchant 2, with a weight of 1. If user 1 also has a relationship pair such as [merchant 1-merchant 2], the weight will increase by 1 each time it appears. Similarly, if there is a relationship pair such as [merchant 1-merchant 2] in the original user transaction sequence of other users, the weight of the edge [merchant 1-merchant 2] in the merchant network will increase the corresponding weight according to the number of appearances. After traversing all the payment relationship pairs of the modeling sample, the transaction object topology consisting of the user transaction flow set of the modeling sample is obtained.

[0065] See also Figure 2c , Figure 2c The present application provides a scenario diagram of a transaction object sequence. In a possible implementation, a computer device may extract a transaction object sequence from a transaction object topology map, and the number of transaction object sequences is multiple. In a specific implementation, a transaction object topology map constructed based on a modeling sample is used for Figure 2b For each transaction object in the transaction object topology, a random walk is performed in the transaction object topology graph. There are two strategies in the random walk, one is breadth first search (Breadth First Search, BFS) and the other is depth first search (Depth First Search, DFS). Through random walks, multiple transaction object sequences can be generated.

[0066] In a possible implementation, the computer device may Figure 2c The obtained transaction object sequence determines the object features of each transaction object. In specific implementation, the computer device can identify each transaction object sequence through a word embedding model, which can be a word2vec model, which can be a skip-gram model (word tuning model) or a CBOW model (continuous bag of words model).

[0067] like Figure 2d As shown, Figure 2dIt is a schematic diagram of a scenario for determining object features provided by an embodiment of the present application. Taking the skip-gram model as an example, each transaction object sequence is input into the skip-gram model in sequence. The skip-gram model can predict the previous and next transaction objects of each transaction object. Assuming skip-window = 1, the previous transaction object of each transaction object and the next transaction object of the transaction object can be predicted. By analogy, the skip-gram model is trained through the transaction object sequence to obtain a trained business prediction model. Among them, the business prediction model includes an input layer, a hidden layer, and an output layer. Then, each transaction object is predicted through the input layer and hidden layer of the trained business prediction model to obtain the object features of each transaction object. The object features can specifically be feature vectors or feature matrices.

[0068] In a possible implementation, when a service request of a target user is obtained, the computer device may Figure 2d The object characteristics of each transaction object obtained and the transaction flow of the target user carried in the business request determine the business data. Figure 2e As shown, Figure 2e This is a scenario diagram of a recommended business data provided by an embodiment of the present application. The business characteristics of the user can be determined based on the object characteristics and transaction flow of each transaction object, and then the business characteristics can be input into the business prediction model to output the business data corresponding to the user.

[0069] In a possible implementation, the business characteristics of the target user can be determined based on the object characteristics of each transaction object and the transaction flow of the target user. Figure 2f As shown, Figure 2f This is a scenario diagram for determining business features provided by an embodiment of the present application. For example, if the transaction flow of user 1 includes two purchases at merchant 1, one purchase at merchant 2, and one purchase at merchant 3, then the business features of the user can be: business features = 2*merchant 1 object features + 1*merchant 2 object features + 1*merchant 3 object features. The final business features of the user can be a vector or a matrix.

[0070] In a possible implementation, a decision tree can be constructed based on the object characteristics of each transaction object, and then the business characteristics of the target user can be determined based on the decision tree and the target user's transaction flow. Figure 2g As shown, Figure 2g Schematic diagram of a scenario for building a decision tree provided in an embodiment of the present application. Figure 2hAs shown, merchant 2, merchant 4, merchant 3, merchant 6, merchant 5 and merchant 1 can be used to construct a decision tree through a clustering algorithm to obtain three clusters A, B and C, where category A includes merchant 1 and merchant 6, category B includes merchant 4 and merchant 2, and category C includes merchant 3 and merchant 5. Then, according to clusters A, B and C, a decision tree can be generated through a clustering algorithm, and the decision tree can be a binary tree. Finally, the user's business characteristics can be obtained based on the decision tree. For example, the user consumes in category A but not in category B, which is business characteristic 1, and the user does not consume in category A, but consumes in category C, which is business characteristic 2. The "01" variable can be used to represent the user's business characteristics respectively.

[0071] It should be noted that the embodiments of the present application can be specifically applied to the following scenarios: recommendation scenarios, business prediction scenarios, and risk warning scenarios.

[0072] In one possible implementation, when a computer device obtains a target user's business request, the business data can be determined based on the object characteristics of each transaction object and the target user's transaction flow carried in the business request. For example, the transaction flow can be browsing data generated by a user browsing a shopping application. For example, the products (transaction objects) browsed by the user in the shopping application within three months are product A, product B, and product C. The object characteristic of product A is object characteristic A, the object characteristic of product B is object characteristic B, and the object characteristic of product C is object characteristic C. Figure 2d The object features of each transaction object obtained in the example are selected from each transaction object, and the transaction objects with the smallest feature distances between object feature A, object feature B and object feature C are selected, and the selected transaction objects are used as the business data of the user. Specifically, the embodiment of the present application can be specifically applied to recommendation scenarios, such as Figure 2h As shown, Figure 2h This is a scenario diagram of a recommended business data provided by an embodiment of the present application. If the products browsed by a user in a shopping application within three months include umbrellas, tote bags, and eyebrow pencils, then when the user browses the shopping application again next time, products related to umbrellas, tote bags, and eyebrow pencils, such as raincoats, shell bags, and eyeliners, can be recommended to the user.

[0073] See also Figure 3 , Figure 3 A schematic diagram of a data processing flow provided by an embodiment of the present application. The method is applied to a computer device, such as Figure 3 As shown, the data processing method may include steps S310 to S340. Among them:

[0074] Step S310: Obtain a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer.

[0075] In specific implementation, a batch of modeling samples can be selected, that is, the transaction flow information of a part of sample users within a period of time can be selected, for example, the transaction flow information of each user in the batch of users within three months can be selected. Among them, the transaction flow information may include the user's transaction account, the user's transaction object, and the transaction time. Among them, the transaction account of each user can be the transaction account of each user in different transaction objects, or it can be unified as the identity corresponding to each user. Finally, the transaction flow information corresponding to each user in the batch of users is combined into a user transaction flow set. For example, the transaction flow of the user in a certain payment center can be used to extract the user's transaction account, the user's transaction object, and the transaction time. Taking the actual application as an example, the transaction flow of the sample user in the past 3 months can be extracted.

[0076] For example, if Figure 2a As shown, the user transaction flow set may specifically include the original user transaction sequence corresponding to each user, and all transaction objects in each original user transaction sequence are sorted according to the order of the transaction time corresponding to each transaction object. Figure 2a The number of users in the user transaction flow set shown and the number of transaction objects included in the transaction flow information corresponding to each user are only used for examples. In actual situations, the corresponding number of users can be selected according to the specific scenario, or the transaction flow information within the corresponding time period can be selected. This is not limited in the embodiments of the present application. For example, for user 1, the transaction flow information corresponding to user 1 may include merchant 1, merchant 2, and merchant 3, etc. For user 2, the transaction flow information corresponding to user 3 may include merchant 3, merchant 4, merchant 1, merchant 4, and merchant 5, etc.

[0077] Of course, the time period for the transaction flow information corresponding to the selected sample users can be adjusted accordingly according to the specific scenario. If a scenario has a relatively high requirement for the accuracy of the modeling sample, more accurate and comprehensive transaction flow information is required. In this case, the transaction flow information of each user in the sample within one year can be selected. If a scenario has a lower requirement for the accuracy of the modeling sample, in order to reduce the modeling cost, the transaction flow information of each user in the sample within one week can be selected, and the present application does not make specific restrictions on this.

[0078] In a possible implementation, the acquired transaction flow information of each sample user can be combined into a user transaction flow set according to the unit transaction flow information of each user. For example, the transaction flow information corresponding to user 1 is user transaction sequence 1, the transaction flow information corresponding to user 2 is user transaction sequence 2, and the transaction flow information corresponding to user N is user transaction sequence N. Each user transaction sequence includes the transaction objects of the corresponding user, and the transaction objects are arranged in the order of transaction time. Of course, the acquired transaction flow information of all sample users can also be constructed into a user transaction sequence, and all transaction objects in the user transaction sequence are arranged in the order of transaction time.

[0079] Step S320: constructing a transaction object topology graph according to the transaction sequence of the N transaction objects, wherein the transaction object topology graph includes N object vertices, and there is a one-to-one correspondence between the N object vertices and the N transaction objects.

[0080] In specific implementation, the computer device constructs a transaction object topology map based on the user transaction flow set. Specifically, the computer device constructs a transaction object topology map based on the transaction sequence of N transaction objects. The transaction object topology map is composed of N object vertices and the connecting edges between object vertices. However, it is not necessary that there are connecting edges between any two object vertices. The number of connecting edges between object vertices can be one or more. For example, Figure 2b As shown, Figure 2b is a schematic diagram of a transaction object topology map, such as Figure 2b , there is no connecting edge between merchant 1 and merchant 5, and there are two connecting edges between merchant 2 and merchant 3.

[0081] In a possible implementation, the transaction object topology graph includes a first object vertex and a second object vertex, wherein the first object vertex corresponds to the first transaction object, and the second object vertex corresponds to the second transaction object, and the user transaction flow set includes multiple original user transaction sequences. If a relationship pair between the first transaction object and the second transaction object exists in the multiple original user transaction sequences, then there is a connecting edge between the first object vertex and the second object vertex. The relationship pair between the first transaction object and the second transaction object means that the first transaction object and the second transaction object are adjacent in the original user transaction sequence. For example, Figure 2a Merchant 1 and merchant 2, merchant 2 and merchant 3, merchant 3 and merchant 4, etc. The original user transaction sequence is composed of the user transaction sequence corresponding to user 1, the user transaction sequence corresponding to user 2, the user transaction sequence corresponding to user 3, and the user transaction sequence corresponding to user 4.

[0082] In a possible implementation, the weight of the connection edge between the first object vertex and the second object vertex is determined according to the frequency of occurrence of the relationship pair of the first transaction object and the second transaction object in multiple original user transaction sequences. Specifically, the weight of the connection edge between the first object vertex and the second object vertex may be equal to the frequency of occurrence of the relationship pair of the first transaction object and the second transaction object in multiple original user transaction sequences; the weight of the connection edge between the first object vertex and the second object vertex may also be k times the frequency of occurrence of the relationship pair of the first transaction object and the second transaction object in multiple original user transaction sequences.

[0083] For example, if Figure 2a The user transaction flow set shown in the figure takes user 1 as an example. In the transaction sequence of user 1, there is a consumption at merchant 1 first and then at merchant 2. In the merchant network, there will be a connection edge between merchant 1 and merchant 2, and the weight can be 1. If user 1 also has a relationship pair like [merchant 1-merchant 2], the weight will increase by 1 each time it appears. Similarly, if there is a relationship pair like [merchant 1-merchant 2] in the transaction sequence of other users, the weight of the edge [merchant 1-merchant 2] in the merchant network will increase by the corresponding weight according to the number of appearances. After traversing all the payment relationship pairs of the modeling sample, the merchant network (i.e., the transaction object topology graph) composed of the transaction flow of the modeling sample users is obtained.

[0084] Step S330: extracting a transaction object sequence from the transaction object topology map, and determining an object feature of each transaction object according to the transaction object sequence.

[0085] In a specific implementation, the computer device may traverse the transaction object topology map by random walk to obtain multiple transaction object sequences. The random walk method includes a breadth-first search method or a depth-first search method. In addition, the number of transaction object sequences is multiple, and the number of transaction objects in each transaction object sequence is equal to the reference quantity threshold.

[0086] For example, see Figure 4a , Figure 4a is a schematic diagram of a random walk process provided by an embodiment of the present application. Figure 4aAs shown, we can think that u is similar to s1, s2, s3, and s4. They are direct neighbors in the network, which is called homophily. We can also think that u should be more similar to s6, which is called structural similarity. To find direct neighbors from a node, we need to use BFS (breadth-first search), and if we want to find those with similar structures, we need to "go out", so we need to use DFS (depth-first search). That is, for node u, breadth-first search is to traverse node S1, or traverse node S2, S or traverse node S3; depth-first search is to traverse node S4, node S5, until traversing to node S6.

[0087] In a possible implementation, parameters can be used to determine which strategy the random walk is more biased towards. That is, by setting parameters, the random walk method is made to be a breadth-first search method or a depth-first search method. Specifically, Figure 4b As shown, Figure 4b This is another flow chart of random walk provided by the embodiment of the present application. Assume that a random walk starts from node t and now reaches node v. If the BFS strategy is adopted, it should go to x1, because v and x1 are both direct neighbors of node t; if the DFS strategy is adopted, it should go to x2 or x3, because there is one step between them and node t; of course, it is also possible to return to node t. So the transition probability between two nodes is formula 1:

[0088] π vx =α pq (t,x)·ω vx (1)

[0089] In formula (1), w is the edge weight between two nodes, and t is the edge weight in the transaction object topology graph. α is the search bias, which is defined as formula 2:

[0090]

[0091] In formula 2, the next step of a node depends on the relationship between its previous step and next step. Figure 4b As shown, v is the current node, t is the node of v's previous step, and x represents the location of the next step. d(t, x) represents the shortest distance between t and x:

[0092] When d = 0, it means returning to node t from v. At this time, the search bias is 1 / p, which can be understood as returning to the previous step with a probability of 1 / p;

[0093] When d = 1, x is the direct neighbor of t, which is equivalent to BFS, and the search bias is 1;

[0094] When d = 2, x is the neighbor of t's neighbor, which is equivalent to DFS. The search bias is 1 / q.

[0095] p is the Return parameter, because p controls the probability of returning to the original node; q is the In-out parameter, because it controls the relationship between BFS and DFS. Specifically, q controls whether the walk is outward or inward. If q>1, the random walk tends to visit vertices close to t (biased towards BFS); if q<1, it tends to visit vertices far away from t (biased towards DFS).

[0096] In summary, different parameters p and q can be set to obtain nodesequences with different weights. When training the model, you can use the grid search method to find the optimal parameters p and q. Of course, you can also select parameters p and q according to the needs of the specific scenario. For example, this solution adopts the BFS strategy, where p is 1 and q is 2, and a random walk is performed to generate a new transaction sequence (transaction object sequence) of length 10. Among them, 10 is the reference quantity threshold, and the reference quantity threshold can be specified in advance by the user. Among them, the number of transaction object sequences can be one or more. Usually, the number of transaction object sequences is multiple.

[0097] In a possible implementation, a computer device trains a word embedding model according to a transaction object sequence, wherein the word embedding model includes an input layer, a hidden layer, and an output layer. When the trained word embedding model meets a model convergence condition, the input layer and the hidden layer in the trained word embedding model are called to identify N transaction objects and obtain object features of each transaction object.

[0098] In specific implementation, the word embedding model includes but is not limited to: the global vector for word representation (GloVe) model, the Word2vec model, etc. The word2vec model can specifically be a skip-gram model (word adjustment model) or a CBOW model (continuous bag of words model). Among them, taking the Word2vec model as an example, the purpose of the Word2vec model is to convert the words in the text into word vectors determined by their context. According to the distribution hypothesis of semantic information representation, the semantic representation of keywords does not lie in themselves, but in the context in which they are located. Therefore, the probability distribution of each keyword and different word combinations appearing in the text can be obtained through neural network learning.

[0099] For example, if Figure 4c As shown, Figure 4c : is a model diagram of a word embedding model provided in an embodiment of the present application. If the word embedding model is a skip-gram model, taking a transaction object in a transaction object sequence as input, the probability of the transaction objects before and after the object is output. The number of transaction objects before and after can be determined according to the window size skip-window. Specifically, skip-window = 2, which means the probability of outputting the transaction objects that are 2 adjacent to the transaction object before and the probability of outputting the transaction objects that are 2 adjacent to the transaction object after. If the transaction object sequence is Figure 2c The first sequence in the word embedding model is as follows: Merchant 3 is input into the skip-gram model. If the window size is 1, the word embedding model can output the probability of the transaction object adjacent to the preceding item of Merchant 3 and the probability of the transaction object adjacent to the succeeding item of Merchant 3.

[0100] In a possible implementation, the computer device trains the word embedding model according to the transaction object sequence, specifically including the following process: first, the computer device obtains the object identification of each transaction object in the transaction object sequence; second, the computer device identifies the object identification of each transaction object through the word embedding model, and obtains the predicted object label corresponding to each transaction object; then, the computer device adjusts the model parameters of the word embedding model according to the predicted object label corresponding to each transaction object and the object identification corresponding to each transaction object. Specifically, the model parameters may include a weight matrix of a hidden layer. Generally speaking, the weight matrix of the input layer may be a matrix of N×768 dimensions, and the weight matrix of the hidden layer may be a matrix of N×300 dimensions. The change of the matrix dimension from the input layer to the hidden layer may be based on a dimensionality reduction algorithm, and the dimensionality reduction algorithm may include but is not limited to a principal component analysis (PCA) algorithm or an isometric feature mapping (ISOmetric MAPping, ISOMAP) algorithm.

[0101] In a possible implementation, the object identifier of the transaction object may be automatically generated by the computer device for each transaction object after the transaction object topology map is constructed, and the object identifier of each transaction object is a string consisting of "01" variables, and the length of the string is equal to the number N of object vertices included in the transaction object topology map. For example, if N=6, the object identifier corresponding to transaction object 1 may be 100000, the object identifier corresponding to transaction object 2 may be 010000, the object identifier corresponding to transaction object 3 may be 001000, the object identifier corresponding to transaction object 4 may be 000100, the object identifier corresponding to transaction object 5 may be 000010, and the object identifier corresponding to transaction object 6 may be 000001.

[0102] It should be noted that the so-called model convergence condition may refer to: when the number of training times of the word embedding model reaches a preset training threshold, for example 100 times, the word embedding model meets the model convergence condition; when the error between the predicted object label corresponding to each transaction object and the object identifier corresponding to each transaction object is less than the error threshold, the word embedding model meets the model convergence condition; when the change between the predicted object label corresponding to each transaction object obtained by two consecutive trainings of the word embedding model is less than the change threshold, the word embedding model meets the model convergence condition.

[0103] In a possible implementation, when the trained word embedding model is put into use, the output layer is usually removed, and the model prediction can be performed only through the trained input layer and hidden layer. Therefore, the input layer and hidden layer of the trained word embedding model are used to identify N transaction objects, and the object features of each transaction object can be output. Among them, the object features can be specifically feature vectors or feature matrices. Figure 2d As shown, the transaction object sequence is input into the input layer and hidden layer of the trained word embedding model, and the hidden layer outputs the vector expression of each transaction object, that is, the object feature of each transaction object. For example, the object feature of merchant 2 can be [x11, x12, ..., x1n], the object feature of merchant 3 can be [x21, x22, ..., x2n], the object feature of merchant 4 can be [x31, x32, ..., x3n], and so on.

[0104] Step S340: When a business request of the target user is obtained, the business data of the target user is determined according to the object characteristics of each transaction object and the transaction flow of the target user, and the business request carries the transaction flow of the target user.

[0105] In specific implementation, the target user can be a sample user in the modeling sample, and the business data can be a business label. The embodiments of the present application can be specifically applied to the following scenarios: recommendation scenarios, business prediction scenarios, and risk warning scenarios. Then, in different specific business scenarios, the business data is also different. Specifically, the business data of the recommendation scenario can be data related to the transaction flow. For example, the transaction flow includes multiple transaction objects. In the recommendation scenario, the business data is also a transaction object. Specifically, the transaction object corresponding to the business data is a transaction object that has an associated relationship with the transaction object in the user. In the business prediction scenario, the business data includes business labels. For example, in the credit scenario, the business label can be overdue and not overdue, and the business label can also be passed and failed, etc. In the risk warning scenario, the business data includes a prompt message, which can be a prompt message for users to prevent money from being stolen by bad merchants or to prevent important information from being leaked.

[0106] Through the data processing method provided by the embodiment of the present application, a transaction object topology map can be constructed through a user transaction flow set, and a transaction object sequence can be extracted from the transaction object topology map, and then the object characteristics of each transaction object can be determined according to the transaction object sequence. By determining the object characteristics of the transaction object through the transaction sequence between the transaction objects, the implicit correlation between the transaction objects can be mined from a dynamic perspective. Compared with the existing method of determining the object characteristics of the transaction object only through the static attributes of the transaction object itself, the object characteristics obtained by the present application are more accurate. Subsequently, when the user submits a business request, the business data of the user can be determined based on the object characteristics of each transaction object and the transaction flow of the user carried in the business request. Further, the accuracy of the business data is improved. In addition, depending on the specific scenario, the determined business data is different, which can be widely used in a variety of business scenarios, thereby improving the practicality of the determined object characteristics of each transaction object.

[0107] See also Figure 5 , Figure 5 It is a flowchart of another data processing method provided in an embodiment of the present application. Figure 5 A schematic diagram of a data processing flow provided by an embodiment of the present application. The method is applied to a computer device, such as Figure 5 As shown, the data processing method may include steps S510 to S550. Among them:

[0108] Step S510: Obtain a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer.

[0109] Step S520: constructing a transaction object topology graph according to the transaction sequence of the N transaction objects, wherein the transaction object topology graph includes N object vertices, and there is a one-to-one correspondence between the N object vertices and the N transaction objects.

[0110] Step S530: extracting a transaction object sequence from the transaction object topology map, and determining an object feature of each transaction object according to the transaction object sequence.

[0111] It should be noted that the operation steps performed by the computer device in steps S510 to S530 can be specifically referred to in Figure 3 The present application does not limit the operation steps executed by the computer device in steps S310 to S330 in the embodiment.

[0112] Step S540: when a business request of a target user is obtained, the business characteristics of the target user are determined according to the object characteristics of each transaction object and the transaction flow of the target user.

[0113] In specific implementation, the business characteristics can be feature vectors, feature matrices, variables, etc., and can be specifically analyzed according to different specific business scenarios. This application does not make specific limitations on this.

[0114] In a possible implementation, the transaction flow of the target user includes multiple reference transaction objects and the number of each reference transaction object, and the N transaction objects include multiple reference transaction objects. Specifically, the computer device determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, which may specifically include: first, the computer device determines the object characteristics of each reference transaction object according to the object characteristics of each transaction object; then, the computer device obtains the business characteristics of the target user according to the object characteristics of each reference transaction object and the number of each reference transaction object.

[0115] For example, if the transaction flow of user 1 includes user 1 spending twice at merchant 1, once at merchant 2, and once at merchant 3. Figure 3 The object features of each transaction object determined in the embodiment can be obtained as follows: the object feature of merchant 1 is object feature 1, and object feature 1 is assumed to be [x61, x62, ..., x6n], the object feature of merchant 2 is object feature 2, and object feature 2 is assumed to be [x11, x12, ..., x1n], and the object feature of merchant 3 is object feature 3, and object feature 3 is assumed to be [x21, x22, ..., x2n]. Then, the business feature of user 1 can be determined as user1=2*[x61, x62, ..., x6n]+[x11, x12, ..., x1n]+[x21, x22, ..., x2n].

[0116] In a possible implementation, the computer device determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, which may specifically include: first, the computer device clusters N transaction objects according to the object characteristics of each transaction object to obtain K clustering results, where K is a positive integer. Then, the computer device constructs a decision tree according to the K clustering results and the user transaction flow set. Finally, the computer device determines the business characteristics of the target user according to the decision tree and the transaction flow of the target user.

[0117] In specific implementation, the computer device can cluster N transaction objects using a clustering algorithm according to the object characteristics of each transaction object to obtain K clustering results. Among them, the clustering algorithm can be specifically a K-means clustering algorithm. The K-Means algorithm (K-means clustering algorithm) is an unsupervised clustering algorithm. It is relatively simple to implement and has good clustering effect, so it is widely used. The idea of ​​the K-Means algorithm is very simple. For a given sample set, the sample set is divided into K clusters according to the distance between the samples. Let the points in the cluster be as closely connected as possible, and let the distance between clusters be as large as possible.

[0118] If expressed in data expressions, assuming that the clusters are divided into (C1, C2, ..., Ck), then our goal is to minimize the square error E, and the expression of E is as shown in Formula 3:

[0119]

[0120] Among them, u i It is cluster c i The mean vector of , sometimes also called the centroid, is expressed as Equation 4:

[0121]

[0122] If we want to directly find the minimum value of formula 3, it is not easy, this is an NP-hard problem, so we can only use a heuristic iterative method.

[0123] For example, if Figure 6a As shown, Figure 6a It is a flow chart of a clustering method provided in an embodiment of the present application. Figure 6a Figure (a) shows the initial data set, assuming k = 2. Figure 6a In Figure (b), two class centroids corresponding to k classes are randomly selected, namely the solid cross centroid and the dashed cross centroid in the figure, and then the distances from all points in the sample to these two centroids are calculated, and the class of each sample is marked as the class of the centroid with the smallest distance to the sample. Figure 6aAs shown in Figure (c) in Figure 1, by calculating the distance between the sample (the object feature of each transaction object) and the centroid of the solid cross and the centroid of the dashed cross, the categories of all sample points after the first round of iteration can be obtained. At this time, the new centroids of the points currently marked as circles and triangles are calculated, as shown in Figure 6a As shown in Figure (d), the positions of the new solid line cross center of mass and the dashed line cross center of mass have changed. Figure 6a Figure (e) and Figure 6a Figure (f) repeats Figure 6a Figure (c) and Figure 6a The process of Figure (d) in Figure 1 is to mark the categories of all points as the category of the nearest centroid and find the new centroid. Finally, the two categories that can be obtained are as follows Figure 6a Of course, in the actual K-Means algorithm, it is usually run multiple times. Figure 6a Figure (c) and Figure 6a Only by looking at the figure (d) in the figure can we achieve the final better category.

[0124] In specific implementation, the computer device can construct a decision tree through a decision tree algorithm based on the K clustering results and the user transaction flow set. Among them, the decision tree algorithm includes but is not limited to: ID3 algorithm, C4.5 algorithm, C5.0 algorithm and Classification And Regression Tree (CART) algorithm. Below, the ID3 algorithm is used as an example for detailed explanation: The ID3 algorithm uses the principle of entropy to determine which node is the parent node and which node needs to be split. For a set of data, the smaller the entropy, the better the classification result. Entropy is defined as Formula 5:

[0125]

[0126] In formula 5, p(x i ) is x i Probability of occurrence. If it is a binary classification problem, when class A and class B each account for 50%, Entropy = -[0.5*log2(0.5)+0.5*log2(0.5)] = 1; when there is only class A or only class B, Entropy = -[1*log2(1)+0] = 0.

[0127] Therefore, when Entropy is 1, it is the worst classification state, and when it is 0, it is a complete classification state. Because entropy equals zero is an ideal state, in general, entropy is between 0 and 1. The continuous minimization of entropy is actually the process of improving the classification accuracy.

[0128] In order to avoid too fine a segmentation, the C4.5 algorithm improves the ID3 algorithm. In the C4.5 algorithm, the optimization item is divided by the cost of too fine a segmentation. This ratio is called the information gain rate. Obviously, if the segmentation is too fine, the denominator increases and the information gain rate decreases. The expression of the information gain rate is as shown in Formula 6:

[0129]

[0130] In formula 6, the more possible values ​​of attribute a (i.e., the larger V is), the larger the value of IV(a) is. Of course, in addition to entropy and information gain rate to determine the generation of decision trees, parameters such as information gain and Gini index (GINI index) can also be used to determine the generation of decision trees. Specifically, GINI index: the more chaotic the categories contained in the population, the larger the GINI index (very similar to the concept of entropy).

[0131] For example, if Figure 6b As shown, Figure 6b It is a tabular diagram of sample data provided in an embodiment of the present application. It is known that there are a total of ten samples (number of students), each of which has four attributes: score, attendance rate, number of questions answered, and homework submission rate. Finally, it is judged whether these students are good students. A decision tree can be constructed by the ID3 algorithm, and the construction of a decision tree is mainly divided into the following two steps. 1. Node splitting: Generally, when the attribute represented by a node cannot be judged, the node is divided into 2 child nodes (if it is not a binary tree, it will be divided into n child nodes); 2. Determination of the threshold: Select an appropriate threshold to minimize the classification error rate (Training Error). The final constructed decision tree is as follows Figure 6c shown.

[0132] For example, first, the object features of N transaction objects can be clustered by the K-Means algorithm. Assuming N=6 and K=3, three clustering results A, B, and C are obtained after clustering. Then, the CART algorithm is used to construct a decision tree for the three clustering results A, B, and C and the user transaction flow set. The user transaction flow set includes the sample business label of each user, and the decision tree can be a binary tree or an n-ary tree. Based on the sample business label of each user and the K clustering results, the following can be generated: Figure 2g The decision tree shown.

[0133] Finally, after the decision tree is generated, the business characteristics of the target user are determined according to the transaction flow of the target user and the decision tree. The business characteristics can be a "01" variable. Specifically, if the rule corresponding to user 1 is determined according to the decision tree and the transaction flow of user 1 as: consumption in category A and consumption in category B, then the business characteristics of user 1 can be "1"; if the rule corresponding to user 1 is determined according to the decision tree and the transaction flow of user 1 as: no consumption in category A and consumption in category C, then the business characteristics of user 1 can be "0"; if the rule corresponding to user 1 is determined according to the decision tree and the transaction flow of user 1 as: consumption in category A and no consumption in category B, then the business characteristics of user 1 can be "0"; if the rule corresponding to user 1 is determined according to the decision tree and the transaction flow of user 1 as: no consumption in category A and no consumption in category C, then the business characteristics of user 1 can be "0".

[0134] Step S550: calling a business prediction model to perform prediction processing on the business features to determine the business label of the target user.

[0135] Among them, the business prediction model can perform business prediction. For example, the business prediction model can be a credit model, an object recommendation model, a risk prediction model, and so on.

[0136] In a possible implementation, based on the obtained business features, the business features can be input into the business prediction model as a newly added feature variable. Of course, the features input into the business prediction model should originally include basic attribute information such as gender, age and work of the target user. In specific implementation, the business prediction model can output the business probability of the target user in the business field. For example, the business prediction model can be a credit model, and the business prediction model can output the business probability of the target user's overdue possibility. The computer device can obtain a reference probability threshold, which can be set by the user in advance. Assuming that the reference probability threshold is 80%, if the business probability corresponding to the target user output by the credit model is 90%, then the business label corresponding to the target user is overdue. For another example, the business prediction model can also be used to predict whether a student has passed an exam. Similarly, the output business label is passed or not passed. Specifically, assuming that the reference probability threshold is 78%, if the business probability corresponding to the target user output by the business prediction model is 88%, then the business label corresponding to the target user is passed.

[0137] Through the method provided in the embodiment of the present application, a transaction object topology map is constructed through the user's transaction flow, and the vector features of each transaction object are obtained through node2vec based on this transaction object topology map. After clustering, implicit similar merchants are obtained. This implicit similar merchant is different from the merchant classification divided by industry (catering, online shopping, transportation, etc.), and the implicit similar merchants are classified into one category. Based on the new implicit classification obtained, new information in the transaction data can be mined to obtain the user's business characteristics, and the business characteristics are input into the business prediction model to obtain the user's business data. Because new information is mined, the determined business data is more accurate. Furthermore, based on the obtained implicit similar transaction objects, the business characteristics can also be applied to recommendation scenarios or risk payment scenarios, and the application field is relatively wide.

[0138] See also Figure 7 , Figure 7 is a flow chart of a method provided in an embodiment of the present application. The method is applied to a computer device, Figure 7 The embodiment is Figure 3 In a specific embodiment of step S340 in the embodiment, specifically, the business data includes a prompt message. Figure 7 As shown, the data processing method may include steps S710 to S740. Among them:

[0139] Step S710: Determine the object characteristics of each reference transaction object according to the object characteristics of each transaction object.

[0140] In specific implementation, the transaction flow of the target user includes multiple reference transaction objects, and the N transaction objects include multiple reference transaction objects. For example, the N transaction objects can be specifically 6, namely merchant 1, merchant 2, merchant 3, merchant 4, merchant 5 and merchant 6, and the transaction flow of the target user can include merchant 1, merchant 2, merchant 3. Based on the object characteristics of merchant 1, the object characteristics of merchant 2, the object characteristics of merchant 3, the object characteristics of merchant 4, the object characteristics of merchant 5, and the object characteristics of merchant 6, the object characteristics of the reference transaction object can be determined, which is equal to the object characteristics of merchant 1, the object characteristics of merchant 2, and the object characteristics of merchant 3. The object characteristics can be feature vectors or feature matrices, which are not limited in the embodiments of the present application.

[0141] Step S720: Obtain a blacklist, where the blacklist includes one or more black transaction objects and object features of each black transaction object.

[0142] In specific implementation, a black transaction object may refer to an object that has unreasonable operations or illegal or disciplinary operations. Each black transaction object in the blacklist corresponds to an object feature one by one. It should be noted that the object feature of the black transaction object may also be a feature vector or a feature matrix, and the object feature of the black transaction object should have the same data form as the object feature of the reference transaction object. For example, the object feature of the black transaction object is a feature vector, and the object feature of the reference transaction object is also a feature vector; or, the object feature of the black transaction object is a feature matrix, and the object feature of the reference transaction object is also a feature matrix. If the object feature of the black transaction object should be different from the object feature of the reference transaction object in data form, that is, the object feature of the black transaction object is a feature vector, and the object feature of the reference transaction object is a feature matrix, then the data form of the object features of the two can be made the same through data conversion.

[0143] Step S730: Acquire the feature distance between the object feature of each reference transaction object and the object feature of each black transaction object.

[0144] In one possible implementation, the embodiment of the present application can be specifically applied to a risk warning scenario. For a reference transaction object (assuming transaction objects x1, x2, x3, ...) included in a user's transaction flow, the feature distance between the object features of each black transaction object in the blacklist (assuming black transaction objects h1, h2, h3, ...) and the object features of the reference transaction object (assuming transaction objects x1, x2, x3, ...) is calculated respectively. Assuming that the object features are feature vectors, the feature vectors of any two transaction objects are subtracted correspondingly and then the distance between the subtracted vectors is calculated, that is, the square sum is first calculated and then the square root is taken to obtain the feature distance between the two transaction objects.

[0145] For example, for any two black transaction objects and reference transaction objects, assuming that the black transaction object is h1 and the reference transaction object is x1, and the object features of h1 are [A1, A2, A3], and the object features of x1 are [B1, B2, B3], then the feature distance between h1 and x1 is as shown in Formula 7:

[0146]

[0147] Step S740: adding the reference transaction object corresponding to the characteristic distance less than the first reference distance threshold to the blacklist, and generating the prompt message according to the reference transaction object corresponding to the characteristic distance less than the first reference distance threshold.

[0148] In specific implementation, the computer device may consider the reference transaction object corresponding to the characteristic distance less than the first reference distance threshold as a possible new black transaction object, and add the new black transaction object to the blacklist. Subsequently, the computer device may send the blacklist to the relevant management department so that the relevant management department can further supervise and handle the black transaction object, such as warning and punishment. Finally, a prompt message is generated based on the new black transaction object in the determined transaction flow, and when the user conducts a business transaction next time, the user can be prompted that the transaction object may be a black transaction object, so that the user can be cautious in trading and improve the user's payment security.

[0149] See also Figure 8 , Figure 8 is a flow chart of a method provided in an embodiment of the present application. The method is applied to a computer device, Figure 8 The embodiment is Figure 3 In a specific embodiment of step S340 in the embodiment, specifically, the business data includes a recommended transaction object. Figure 8 As shown, the data processing method may include steps S810 to S830. Among them:

[0150] Step S810: Determine the object characteristics of each reference transaction object according to the object characteristics of each transaction object.

[0151] In specific implementation, the transaction flow of the target user includes multiple reference transaction objects, and the N transaction objects include multiple reference transaction objects. For example, the N transaction objects can be specifically 6, namely merchant 1, merchant 2, merchant 3, merchant 4, merchant 5 and merchant 6, and the transaction flow of the target user can include merchant 1, merchant 2, merchant 3. Based on the object characteristics of merchant 1, the object characteristics of merchant 2, the object characteristics of merchant 3, the object characteristics of merchant 4, the object characteristics of merchant 5, and the object characteristics of merchant 6, the object characteristics of the reference transaction object can be determined, which is equal to the object characteristics of merchant 1, the object characteristics of merchant 2, and the object characteristics of merchant 3. The object characteristics can be feature vectors or feature matrices, which are not limited in the embodiments of the present application.

[0152] Step S820: Acquire a feature distance between an object feature of each reference transaction object and an object feature of a non-reference transaction object, wherein the non-reference transaction object is a transaction object other than the reference transaction object among the N transaction objects.

[0153] In specific implementation, assume that the N transaction objects are x1, x2, x3, x4, x5, x6, and the reference transaction objects are x1, x2, x3, and the non-reference transaction objects are x4, x5, x6. For example, the N transaction objects may be merchant 1, merchant 2, merchant 3, merchant 4, merchant 5, and merchant 6, and the reference transaction objects are merchant 1, merchant 2, and merchant 3, and the non-reference transaction objects are merchant 4, merchant 5, and merchant 6. Further, calculate the feature distances between the object features of x1, the object features of x2, and the object features of x3 and the object features of x4, the object features of x5, and the object features of x6, respectively.

[0154] For example, for any two reference transaction objects and non-reference transaction objects, assuming that the reference transaction object is x1 and the non-reference transaction object is x4, and the object features of x1 are [B1, B2, B3], and the object features of x4 are [C1, C2, C3], then the feature distance between x1 and x4 can be calculated according to Figure 7 The calculation is performed using Formula 7 in the embodiment.

[0155] Step S830: Determine the non-reference transaction object corresponding to the feature distance being less than the second reference distance threshold as the recommended transaction object.

[0156] In specific implementation, the second reference distance threshold can be pre-set by the user, and there is no relationship between the first reference threshold and the second reference threshold, that is, the first reference threshold can be greater than the second reference threshold, or the first reference threshold can be less than the second reference threshold, or the first reference threshold can be equal to the second reference threshold.

[0157] For example, the embodiments of the present application can be specifically applied to business recommendation scenarios, where the transaction objects browsed or traded by the user on a shopping platform are used as transaction flows. When the user clicks on the shopping platform next time, the transaction objects related to the transaction objects browsed or traded by the user can be recommended to the user. For example, if a user frequently browses web messages related to the COVID-19 pandemic in a browser over a period of time, when the user clicks on the browser again, the user can be recommended real-time dynamic messages about the COVID-19 pandemic up to the time when the user clicks on the browser. Furthermore, related items that can prevent the COVID-19 pandemic, such as masks, goggles, protective clothing, and the like, can also be recommended to the user on the shopping platform.

[0158] Through the solution of the embodiments of the present application, based on the object characteristics of each transaction object, transaction objects related to the reference transaction objects in the user's transaction flow can be recommended to the user, thereby increasing the user's browsing and click volume on the business platform and enhancing the user's experience.

[0159] See also Fig. 9 , Fig. 9 It is a structural diagram of a data processing device provided in an embodiment of the present application. Fig. 9 is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device can be applied to Figure 3 to Figure 8 Computer device in the corresponding method embodiment. The data processing device may be a computer program (including program code) running in a lightweight node, for example, the data processing device is an application software; the device may be used to execute the corresponding steps in the method provided in the embodiment of the present application. The data processing device may include:

[0160] An acquisition unit 910 is used to acquire a user transaction flow set, where the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer;

[0161] A construction unit 920 is used to construct a transaction object topology graph according to the transaction sequence of the N transaction objects, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner;

[0162] A processing unit 930 is configured to extract a transaction object sequence from the transaction object topology map, and determine an object feature of each transaction object according to the transaction object sequence;

[0163] The determination unit 940 is used to determine the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user when obtaining the business request of the target user, and the business request carries the transaction flow of the target user.

[0164] In a possible implementation, the service data includes a service tag;

[0165] The determining unit 940 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0166] Determine the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user;

[0167] The business prediction model is called to perform prediction processing on the business features to determine the business label of the target user.

[0168] In a possible implementation, the transaction flow of the target user includes a plurality of reference transaction objects and the quantity of each reference transaction object, and the N transaction objects include the plurality of reference transaction objects;

[0169] The determination unit 940 determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0170] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0171] The business characteristics of the target user are acquired according to the object characteristics of each reference transaction object and the quantity of each reference transaction object.

[0172] In a possible implementation, the determining unit 940 determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0173] Clustering the N transaction objects according to the object feature of each transaction object to obtain K clustering results, where K is a positive integer;

[0174] Constructing a decision tree according to the K clustering results and the transaction flow set;

[0175] The business characteristics of the target user are determined according to the decision tree and the transaction flow of the target user.

[0176] In a possible implementation, the business data includes a prompt message, the transaction flow of the target user includes a plurality of reference transaction objects, and the N transaction objects include the plurality of reference transaction objects;

[0177] The determining unit 940 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0178] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0179] Obtain a blacklist, wherein the blacklist includes one or more black transaction objects and an object feature of each black transaction object;

[0180] Acquire a feature distance between an object feature of each reference transaction object and an object feature of each black transaction object;

[0181] The reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold is added to the blacklist, and the prompt message is generated according to the reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold.

[0182] In a possible implementation, the business data includes recommended transaction objects, the transaction flow of the target user includes multiple reference transaction objects, and the N transaction objects include the multiple reference transaction objects;

[0183] The determining unit 940 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0184] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0185] Acquire a feature distance between an object feature of each reference transaction object and an object feature of a non-reference transaction object, wherein the non-reference transaction object is a transaction object other than the reference transaction object among the N transaction objects;

[0186] The non-reference transaction object corresponding to the characteristic distance being less than the second reference distance threshold is determined as the recommended transaction object.

[0187] In a possible implementation, the transaction object topology graph includes a first object vertex and a second object vertex, the first object vertex corresponds to the first transaction object, the second object vertex corresponds to the second transaction object, the transaction flow set includes multiple original user transaction sequences, if there is a relationship pair between the first transaction object and the second transaction object in the multiple original user transaction sequences, then there is a connecting edge between the first object vertex and the second object vertex; the relationship pair between the first transaction object and the second transaction object means that the first transaction object and the second transaction object are adjacent in the original user transaction sequence.

[0188] In a possible implementation, the weight of the connection edge between the first object vertex and the second object vertex is determined according to the frequency of occurrence of the relationship pair between the first transaction object and the second transaction object in the plurality of original user transaction sequences.

[0189] In a possible implementation, the number of the transaction object sequences is multiple;

[0190] The processing unit 930 extracts a transaction object sequence from the transaction object topology map, including:

[0191] The transaction object topology graph is traversed by a breadth-first search method or a depth-first search method to obtain a plurality of transaction object sequences, wherein the number of transaction objects in each transaction object sequence is equal to a reference number threshold.

[0192] In a possible implementation, the processing unit 930 determines the object feature of each transaction object according to the transaction object sequence, including:

[0193] According to the transaction object sequence, a word embedding model is trained, wherein the word embedding model includes an input layer, a hidden layer, and an output layer;

[0194] When the trained word embedding model meets the model convergence condition, the input layer and the hidden layer in the trained word embedding model are called to identify the N transaction objects and obtain the object feature of each transaction object.

[0195] In a possible implementation, the processing unit 930 trains a word embedding model according to the transaction object sequence, including:

[0196] Obtaining an object identifier of each transaction object in the transaction object sequence;

[0197] Identify the object identifier of each transaction object by using the word embedding model to obtain a predicted object label corresponding to each transaction object;

[0198] According to the predicted object label corresponding to each transaction object and the object identifier corresponding to each transaction object, the model parameters of the word embedding model are adjusted.

[0199] Through the data processing device of the embodiment of the present application, the computer device can construct a transaction object topology map through the user transaction flow set, and can extract the transaction object sequence from the transaction object topology map, and then determine the object characteristics of each transaction object according to the transaction object sequence. This solution determines the object characteristics of the transaction object through the transaction sequence between the transaction objects, and can dig out the implicit correlation between the transaction objects from a dynamic perspective. Compared with the existing method of determining the object characteristics of the transaction object only through the static attributes of the transaction object itself, the object characteristics obtained by this application are more accurate. Subsequently, when the user submits a business request, the business data of the user can be determined based on the object characteristics of each transaction object and the user's transaction flow carried in the business request. Further, the accuracy of the business data is improved.

[0200] See also Fig.10 , Fig.10 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 3 to Figure 8 The terminal device in the corresponding embodiment may be the terminal device 1000, such as Fig.10As shown, the computer device 1000 may include: a user interface 1002, a processor 1004, an encoder 1006 and a memory 1008. The signal receiver 1016 is used to receive or send data via a cellular interface 1010, a WIFI interface 1012, ..., or an NFC interface 1014. The encoder 1006 encodes the received data into a data format for computer processing. A computer program is stored in the memory 1008, and the processor 1004 is configured to perform the steps in any of the above method embodiments through the computer program. The memory 1008 may include a volatile memory (e.g., a dynamic random access memory DRAM), and may also include a non-volatile memory (e.g., a one-time programmable read-only memory OTPROM). In some instances, the memory 1008 may further include a memory remotely arranged relative to the processor 1004, and these remote memories may be connected to the terminal device 1000 via a network. The user interface 1002 may include: a keyboard 1018 and a display 1020.

[0201] exist Fig.10 In the computer device 1000 shown, the processor 1004 can be used to call the computer program stored in the memory 1008 to implement:

[0202] Obtaining a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer;

[0203] According to the transaction sequence of the N transaction objects, a transaction object topology graph is constructed, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner;

[0204] Extracting a transaction object sequence from the transaction object topology map, and determining an object feature of each transaction object according to the transaction object sequence;

[0205] When a business request of a target user is obtained, the business data of the target user is determined according to the object characteristics of each transaction object and the transaction flow of the target user, and the business request carries the transaction flow of the target user.

[0206] In a possible implementation, the service data includes a service tag;

[0207] The processor 1004 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0208] Determine the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user;

[0209] The business prediction model is called to perform prediction processing on the business features to determine the business label of the target user.

[0210] In a possible implementation, the transaction flow of the target user includes a plurality of reference transaction objects and the quantity of each reference transaction object, and the N transaction objects include the plurality of reference transaction objects;

[0211] The processor 1004 determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0212] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0213] The business characteristics of the target user are acquired according to the object characteristics of each reference transaction object and the quantity of each reference transaction object.

[0214] In a possible implementation, the processor 1004 determines the business characteristics of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0215] Clustering the N transaction objects according to the object feature of each transaction object to obtain K clustering results, where K is a positive integer;

[0216] Constructing a decision tree according to the K clustering results and the transaction flow set;

[0217] The business characteristics of the target user are determined according to the decision tree and the transaction flow of the target user.

[0218] In a possible implementation, the business data includes a prompt message, the transaction flow of the target user includes a plurality of reference transaction objects, and the N transaction objects include the plurality of reference transaction objects;

[0219] The processor 1004 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0220] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0221] Obtain a blacklist, wherein the blacklist includes one or more black transaction objects and an object feature of each black transaction object;

[0222] Acquire a feature distance between an object feature of each reference transaction object and an object feature of each black transaction object;

[0223] The reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold is added to the blacklist, and the prompt message is generated according to the reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold.

[0224] In a possible implementation, the business data includes recommended transaction objects, the transaction flow of the target user includes multiple reference transaction objects, and the N transaction objects include the multiple reference transaction objects;

[0225] The processor 1004 determines the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user, including:

[0226] Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object;

[0227] Acquire a feature distance between an object feature of each reference transaction object and an object feature of a non-reference transaction object, wherein the non-reference transaction object is a transaction object other than the reference transaction object among the N transaction objects;

[0228] The non-reference transaction object corresponding to the characteristic distance being less than the second reference distance threshold is determined as the recommended transaction object.

[0229] In a possible implementation, the transaction object topology graph includes a first object vertex and a second object vertex, the first object vertex corresponds to the first transaction object, the second object vertex corresponds to the second transaction object, the transaction flow set includes multiple original user transaction sequences, if there is a relationship pair between the first transaction object and the second transaction object in the multiple original user transaction sequences, then there is a connecting edge between the first object vertex and the second object vertex; the relationship pair between the first transaction object and the second transaction object means that the first transaction object and the second transaction object are adjacent in the original user transaction sequence.

[0230] In a possible implementation, the weight of the connection edge between the first object vertex and the second object vertex is determined according to the frequency of occurrence of the relationship pair between the first transaction object and the second transaction object in the plurality of original user transaction sequences.

[0231] In a possible implementation, the number of transaction object sequences is multiple;

[0232] The processor 1004 extracts a transaction object sequence from the transaction object topology map, including:

[0233] The transaction object topology graph is traversed by a breadth-first search method or a depth-first search method to obtain a plurality of transaction object sequences, wherein the number of transaction objects in each transaction object sequence is equal to a reference number threshold.

[0234] In a possible implementation, the processor 1004 determines the object feature of each transaction object according to the transaction object sequence, including:

[0235] According to the transaction object sequence, a word embedding model is trained, wherein the word embedding model includes an input layer, a hidden layer, and an output layer;

[0236] When the trained word embedding model meets the model convergence condition, the input layer and the hidden layer in the trained word embedding model are called to identify the N transaction objects and obtain the object feature of each transaction object.

[0237] In a possible implementation, the processor 1004 trains a word embedding model according to the transaction object sequence, including:

[0238] Obtaining an object identifier of each transaction object in the transaction object sequence;

[0239] Identify the object identifier of each transaction object by using the word embedding model to obtain a predicted object label corresponding to each transaction object;

[0240] According to the predicted object label corresponding to each transaction object and the object identifier corresponding to each transaction object, the model parameters of the word embedding model are adjusted.

[0241] Through the computer device of the embodiment of the present application, the computer device can construct a transaction object topology map through the user transaction flow set, and can extract the transaction object sequence from the transaction object topology map, and then determine the object characteristics of each transaction object according to the transaction object sequence. This solution determines the object characteristics of the transaction object through the transaction sequence between the transaction objects, and can dig out the implicit correlation between the transaction objects from a dynamic perspective. Compared with the existing method of determining the object characteristics of the transaction object only through the static attributes of the transaction object itself, the object characteristics obtained by this application are more accurate. Subsequently, when the user submits a business request, the business data of the user can be determined based on the object characteristics of each transaction object and the user's transaction flow carried in the business request. Further, the accuracy of the business data is improved.

[0242] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 3 to Figure 8 The description of the data processing method in the corresponding embodiment can also be performed as described above. Fig. 9 The description of the data processing device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated here.

[0243] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0244] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer storage medium, and the computer storage medium stores a computer program executed by the data processing device mentioned above, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the above Figure 3 to Figure 8 The method in the corresponding embodiment, therefore, will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located in one location, or, executed on multiple computer devices distributed in multiple locations and interconnected by a communication network, and multiple computer devices distributed in multiple locations and interconnected by a communication network can constitute a blockchain system.

[0245] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device can perform the above Figure 3 to Figure 8 The method in the corresponding embodiment will therefore not be described in detail here.

[0246] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The above-mentioned storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0247] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Ordinary technicians in this field can understand that all or part of the processes of implementing the above embodiments and making equivalent changes according to the claims of this application are still within the scope of the invention.

Claims

1. A data processing method, characterized in that: include: Obtaining a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer; According to the transaction sequence of the N transaction objects, a transaction object topology graph is constructed, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner; Extracting a transaction object sequence from the transaction object topology map, and determining an object feature of each transaction object according to the transaction object sequence; When a business request of a target user is obtained, the business data of the target user is determined according to the object characteristics of each transaction object and the transaction flow of the target user, and the business request carries the transaction flow of the target user; Wherein, when the business data includes a business tag; determining the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user includes: Clustering the N transaction objects according to the object feature of each transaction object to obtain K clustering results, where K is a positive integer; Constructing a decision tree according to the K clustering results and the transaction flow set; Determining the business characteristics of the target user according to the decision tree and the transaction flow of the target user; The business prediction model is called to perform prediction processing on the business features to determine the business label of the target user.

2. The method according to claim 1, characterized in that When the business data includes a prompt message, the transaction flow of the target user includes a plurality of reference transaction objects, and the N transaction objects include the plurality of reference transaction objects; The determining the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user includes: Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object; Obtain a blacklist, wherein the blacklist includes one or more black transaction objects and an object feature of each black transaction object; Acquire a feature distance between an object feature of each reference transaction object and an object feature of each black transaction object; The reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold is added to the blacklist, and the prompt message is generated according to the reference transaction object corresponding to the characteristic distance being less than the first reference distance threshold.

3. The method according to claim 1, characterized in that When the business data includes recommended transaction objects, the transaction flow of the target user includes a plurality of reference transaction objects, and the N transaction objects include the plurality of reference transaction objects; The determining the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user includes: Determining the object characteristics of each reference transaction object according to the object characteristics of each transaction object; Acquire a feature distance between an object feature of each reference transaction object and an object feature of a non-reference transaction object, wherein the non-reference transaction object is a transaction object other than the reference transaction object among the N transaction objects; The non-reference transaction object corresponding to the characteristic distance being less than the second reference distance threshold is determined as the recommended transaction object.

4. The method according to claim 1, characterized in that The transaction object topology graph includes a first object vertex and a second object vertex, the first object vertex corresponds to the first transaction object, and the second object vertex corresponds to the second transaction object. The transaction flow set includes multiple original user transaction sequences. If there is a relationship pair between the first transaction object and the second transaction object in the multiple original user transaction sequences, there is a connecting edge between the first object vertex and the second object vertex; the relationship pair between the first transaction object and the second transaction object means that the first transaction object and the second transaction object are adjacent in the original user transaction sequence.

5. The method according to claim 4, characterized in that The weight of the connection edge between the first object vertex and the second object vertex is determined according to the occurrence frequency of the relationship pair of the first transaction object and the second transaction object in the plurality of original user transaction sequences.

6. The method according to claim 1, characterized in that The number of the transaction object sequences is multiple; The extracting the transaction object sequence from the transaction object topology graph includes: The transaction object topology graph is traversed by a breadth-first search method or a depth-first search method to obtain a plurality of transaction object sequences, wherein the number of transaction objects in each transaction object sequence is equal to a reference number threshold.

7. The method according to claim 1, characterized in that The determining the object feature of each transaction object according to the transaction object sequence includes: According to the transaction object sequence, a word embedding model is trained, wherein the word embedding model includes an input layer, a hidden layer, and an output layer; When the trained word embedding model meets the model convergence condition, the input layer and the hidden layer in the trained word embedding model are called to identify the N transaction objects and obtain the object feature of each transaction object.

8. The method according to claim 7, characterized in that The step of training a word embedding model according to the transaction object sequence includes: Obtaining an object identifier of each transaction object in the transaction object sequence; Identify the object identifier of each transaction object by using the word embedding model to obtain a predicted object label corresponding to each transaction object; According to the predicted object label corresponding to each transaction object and the object identifier corresponding to each transaction object, the model parameters of the word embedding model are adjusted.

9. A data processing device, characterized in that: include: An acquisition unit, configured to acquire a user transaction flow set, wherein the user transaction flow set includes a transaction sequence of N transaction objects, where N is a positive integer; A construction unit, configured to construct a transaction object topology graph according to the transaction sequence of the N transaction objects, wherein the transaction object topology graph includes N object vertices, and the N object vertices correspond to the N transaction objects in a one-to-one manner; a processing unit, configured to extract a transaction object sequence from the transaction object topology map, and determine an object feature of each transaction object according to the transaction object sequence; a determination unit, configured to determine the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user when a business request of the target user is obtained, wherein the business request carries the transaction flow of the target user; Wherein, when the business data includes a business tag; determining the business data of the target user according to the object characteristics of each transaction object and the transaction flow of the target user includes: Clustering the N transaction objects according to the object feature of each transaction object to obtain K clustering results, where K is a positive integer; Constructing a decision tree according to the K clustering results and the transaction flow set; Determining the business characteristics of the target user according to the decision tree and the transaction flow of the target user; The business prediction model is called to perform prediction processing on the business features to determine the business label of the target user.

10. A computer device, characterized in that: The system comprises a memory and a processor, wherein the memory stores a set of program codes, and the processor calls the program codes stored in the memory to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is performed.