A business recommendation method, device, equipment and storage medium

By constructing a graph structure of users and candidate businesses and conducting interest analysis, the problem of inaccurate business recommendations in the existing technology is solved, and the potential connections between users and businesses are mined and the accuracy of recommendations is improved.

CN117541298BActive Publication Date: 2024-10-22中邮消费金融有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311819583.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-10-22
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively mine potential connections between users and businesses, resulting in inaccurate business recommendations.

Method used

By obtaining the historical business participation information of the target user group, construct a graph structure between users and candidate businesses, conduct interest analysis, obtain the weighted sum of user interest vectors and graph structure entity vectors, generate recommendation scores, and generate recommendation lists for business recommendations. .

Benefits of technology

It effectively explores the potential relationship between users and candidate businesses and improves the accuracy of business recommendations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117541298B_ABST
    Figure CN117541298B_ABST
Patent Text Reader

Abstract

The present invention discloses a business recommendation method, device, equipment and storage medium, which relate to the field of data processing. The method comprises: obtaining historical business participation information of each user in a target user group, constructing a graph structure between each user and a candidate business based on the historical business participation information, performing interest analysis on each user to obtain an interest vector of each user, performing weighted summation on entity vectors and interest vectors in the graph structure to obtain a comprehensive vector, recommending and scoring the candidate business based on the comprehensive vector to obtain a recommendation score for each candidate business, generating a recommendation list based on the recommendation score, and recommending business based on the recommendation list; because the present invention constructs a graph structure between the user and the candidate business, and performs weighting based on the interest vector of each user and the entity vector of the graph structure, thereby accurately recommending and scoring each candidate business, effectively mining the potential relationship between the user and the candidate business, and improving the accuracy of business recommendation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a service recommendation method, device, equipment and storage medium. Background Art

[0002] In order to increase customer activity, companies and organizations will plan various business and / or marketing activities. Currently, most recommendation methods can only capture shallow user characteristics, and it is difficult to tap deeper correlations. They cannot effectively tap the potential connection between users and businesses, resulting in inaccurate business recommendations and inability to formulate recommended businesses based on the personalization of different users.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a business recommendation method, device, equipment and storage medium, aiming to solve the technical problem that the existing technology cannot effectively mine the potential connection between users and businesses, resulting in inaccurate business recommendations.

[0005] To achieve the above object, the present invention provides a service recommendation method, which comprises the following steps:

[0006] Obtain historical business participation information of each user in the target user group;

[0007] Building a graph structure between each of the users and candidate services based on the historical service participation information;

[0008] Performing interest analysis on each of the users to obtain an interest vector of each of the users;

[0009] Performing weighted summation on the entity vector in the graph structure and the interest vector to obtain a comprehensive vector;

[0010] Recommending and scoring the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service;

[0011] A recommendation list is generated based on the recommendation score, and a service recommendation is performed based on the recommendation list.

[0012] Optionally, constructing a graph structure between each of the users and the candidate services based on the historical service participation information includes:

[0013] Performing feature analysis on each of the users based on the historical service participation information to obtain a user feature vector of each of the users;

[0014] Performing feature analysis on the candidate services to obtain a service feature vector for each of the candidate services;

[0015] Constructing a user entity based on the user feature vector, and constructing a service entity based on the service feature vector;

[0016] Determine association information between the user entity and the business entity based on the historical business participation information;

[0017] A graph structure between each of the users and the candidate services is constructed based on the association information.

[0018] Optionally, performing feature analysis on each of the users based on the historical service participation information to obtain a user feature vector of each of the users includes:

[0019] Analyze the target user group to obtain group attribute information of the target user group;

[0020] Acquiring behavior information of each of the users based on the historical business participation information;

[0021] Based on the group attribute information and the behavior information, feature analysis is performed on each of the users to obtain a user feature vector of each of the users.

[0022] Optionally, the acquiring of historical business participation information of each user in the target user group includes:

[0023] Obtaining interaction record information between each user in the target user group and each candidate service;

[0024] Extracting initial business interaction data based on the interaction record information;

[0025] The initial business interaction data is processed to obtain historical business participation information of each user in the target user group.

[0026] Optionally, the processing of the initial service interaction data to obtain historical service participation information of each user in the target user group includes:

[0027] Performing data cleaning on the initial business interaction data to obtain candidate business interaction data;

[0028] Index encoding is performed on the candidate service interaction data, user identifiers in the candidate service interaction data are converted into user indexes, and service identifiers in the candidate service interaction data are converted into service indexes;

[0029] Constructing a bipartite graph between the user index and the service index based on the index-encoded candidate service interaction data;

[0030] The historical business participation information of each user in the target user group is obtained based on the bipartite graph.

[0031] Optionally, the recommending and scoring the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service includes:

[0032] Performing similarity matching between the comprehensive vector and the business vector corresponding to each of the candidate businesses to obtain the similarity of each of the candidate businesses;

[0033] The candidate services are recommended and scored based on the similarities to obtain a recommendation score for each candidate service.

[0034] Optionally, performing interest analysis on each of the users to obtain an interest vector of each of the users includes:

[0035] Inputting the historical business participation information into a pre-built interest prediction model to obtain the user's interest weight corresponding to each candidate business;

[0036] An interest analysis is performed on each of the users based on the interest weight to obtain an interest vector of each of the users.

[0037] In addition, to achieve the above-mentioned purpose, the present invention further proposes a service recommendation device, which includes:

[0038] A historical information acquisition module is used to obtain historical business participation information of each user in the target user group;

[0039] A graph structure building module, used to build a graph structure between each of the users and the candidate services based on the historical service participation information;

[0040] An interest analysis module, used to perform interest analysis on each of the users to obtain an interest vector of each of the users;

[0041] A comprehensive vector analysis module, used for performing weighted summation on the entity vectors in the graph structure and the interest vector to obtain a comprehensive vector;

[0042] A recommendation scoring module, used to recommend and score the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service;

[0043] The service recommendation module is used to generate a recommendation list based on the recommendation score and make service recommendations based on the recommendation list.

[0044] In addition, to achieve the above-mentioned purpose, the present invention also proposes a business recommendation device, which includes: a memory, a processor, and a business recommendation program stored in the memory and executable on the processor, and the business recommendation program is configured to implement the steps of the business recommendation method described above.

[0045] In addition, to achieve the above-mentioned purpose, the present invention further proposes a storage medium, on which a service recommendation program is stored, and when the service recommendation program is executed by a processor, the steps of the service recommendation method described above are implemented.

[0046] The present invention obtains the historical business participation information of each user in the target user group, constructs a graph structure between each user and the candidate business based on the historical business participation information, performs interest analysis on each user to obtain the interest vector of each user, performs weighted summation on the entity vector in the graph structure and the interest vector to obtain a comprehensive vector, recommends and scores the candidate business based on the comprehensive vector to obtain the recommendation score of each candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list; because the present invention constructs a graph structure between the user and the candidate business, performs weighted summation based on the interest vector of each user and the entity vector of the graph structure to obtain a comprehensive vector, and thus accurately recommends and scores each candidate business based on the comprehensive vector, clearly determines the connection between each candidate business and each user based on the recommendation score, effectively mines the potential relationship between the user and the candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list, thereby improving the accuracy of business recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a structural diagram of a service recommendation device in a hardware operating environment involved in an embodiment of the present invention;

[0048] Figure 2 This is a flow chart of a first embodiment of a service recommendation method of the present invention;

[0049] Figure 3 This is a flow chart of a second embodiment of the service recommendation method of the present invention;

[0050] Figure 4 A schematic diagram of a flow chart of a third embodiment of a service recommendation method of the present invention;

[0051] Figure 5 This is a structural block diagram of the first embodiment of the service recommendation device of the present invention.

[0052] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0054] Reference Figure 1 , Figure 1A schematic diagram of a business recommendation device structure of a hardware operating environment involved in an embodiment of the present invention.

[0055] like Figure 1 As shown, the business recommendation device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0056] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the business recommendation device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0057] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a service recommendation program.

[0058] exist Figure 1 In the business recommendation device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the business recommendation device of the present invention can be set in the business recommendation device, and the business recommendation device calls the business recommendation program stored in the memory 1005 through the processor 1001, and executes the business recommendation method provided by the embodiment of the present invention.

[0059] The embodiment of the present invention provides a service recommendation method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a service recommendation method of the present invention.

[0060] In this embodiment, the service recommendation method includes the following steps:

[0061] Step S10: Obtain historical business participation information of each user in the target user group.

[0062] It should be understood that the executor of the method of this embodiment can be a business recommendation device with data processing, network communication and program running functions, such as a computer, or other devices or equipment that can achieve the same or similar functions. The above-mentioned business recommendation device is used as an example for explanation here.

[0063] It should be noted that the target user group may be a user group or customer group that needs to recommend services, and the target user group may be a user set that includes at least one user. The above historical service participation information may be relevant behavior information of services and / or activities that the user has participated in, for example, the historical service participation information may include information such as the name of the service that the user has participated in, the type of service, and historical behavior.

[0064] It can be understood that the service recommendation device of this embodiment determines the target user group for which service recommendation is required, obtains the historical behavior information of each user in the target user group, and obtains the historical service participation information of each user by analyzing the historical behavior information.

[0065] Furthermore, in order to accurately obtain each user's historical behavior and historical business participation, the above step S10 may include:

[0066] Step S11: Obtaining interaction record information between each user in the target user group and each candidate service;

[0067] Step S12: extracting initial business interaction data based on the interaction record information;

[0068] Step S13: Process the initial service interaction data to obtain historical service participation information of each user in the target user group.

[0069] It should be noted that the interaction record information may be the interaction information of the candidate services in which the user has participated. The above preprocessing may be filtering and cleaning invalid data and duplicate data. The above initial service interaction data may be the unprocessed raw data extracted from the interaction record information. The above interaction record information may include user ID, candidate service ID, interaction time and interaction result, etc.

[0070] It can be understood that the business recommendation device obtains the business participation log of each user in the target user group, obtains the interaction record information based on the business participation log, extracts the initial business interaction data from the interaction record information, processes the initial business interaction data, filters and cleans up invalid data, and obtains historical business participation information.

[0071] Furthermore, in order to effectively process the data and thus improve the accuracy of the historical business participation information, the above step S13 may include:

[0072] Performing data cleaning on the initial business interaction data to obtain candidate business interaction data;

[0073] Index encoding is performed on the candidate service interaction data, user identifiers in the candidate service interaction data are converted into user indexes, and service identifiers in the candidate service interaction data are converted into service indexes;

[0074] Constructing a bipartite graph between the user index and the service index based on the index-encoded candidate service interaction data;

[0075] The historical business participation information of each user in the target user group is obtained based on the bipartite graph.

[0076] It should be noted that the business recommendation device can clean and filter the initial business interaction data to remove invalid data, duplicate data and abnormal data, and retain valid data, namely, candidate business interaction data.

[0077] It can be understood that the business recommendation device obtains the interaction records between users and candidate businesses from past activity record data, including user ID, candidate business ID, interaction time, interaction results, etc.; pre-processes the interaction records to filter out invalid or abnormal records, such as duplicate records, etc.; encodes the interaction records and converts the user ID and candidate business ID into integer indexes to facilitate subsequent graph construction and model input; based on the encoded interaction records, constructs a bipartite graph G = (V, E), where V is a node set, including user nodes and candidate business nodes, and E is an edge set, and the user's historical business participation information is represented by a bipartite graph.

[0078] Step S20: constructing a graph structure between each of the users and candidate services based on the historical service participation information.

[0079] It should be noted that the graph structure can be a graph neural network structure constructed by multiple nodes and edges, or a knowledge graph structure. The nodes of the graph structure represent instances or objects in the graph structure. In this embodiment, users and candidate services can be used as instances to construct nodes of the graph structure; the edges can be connections or relationships between nodes, indicating interactions or connections between nodes. Edges can be directed or undirected, and can have weights to indicate the strength or relevance of the connection. In this embodiment, the edges between nodes are constructed based on the connection between users and candidate services.

[0080] It can be understood that the business recommendation device obtains the interaction records between users and candidate businesses from the historical behavior record data of each user (for example, the interaction records may include user ID, candidate business ID, interaction time, interaction results, etc.), pre-processes the interaction records, filters out invalid and duplicate records, determines the interaction relationship between each user and each candidate business based on the processed interaction records, determines the nodes and edges of the graph structure based on the interaction relationship, and constructs the graph structure between each of the users and the candidate businesses based on the nodes and edges.

[0081] In a specific implementation, the business recommendation device can analyze the target user group, obtain the behavior data of each user, and obtain the attribute information of each user (such as personalized data and / or portrait data, etc.), and perform feature analysis on each user based on the behavior data and attribute information to obtain a user feature vector of each user; the business recommendation device also performs business feature analysis on each candidate business to obtain a business feature vector of each candidate business, and constructs a graph structure based on the business feature vector and the user feature vector, as well as the interactive connection between the user and the candidate business.

[0082] In some embodiments, the business recommendation device may use a graph neural network algorithm to mine the relationship between customers and candidate businesses. The KGCN model embeds entities and relationships in the graph structure to obtain a vector representation of each entity, which can capture the semantic association and structural information between entities, thereby learning their low-dimensional vector representations. These vectors can reflect the attributes and characteristics of entities, as well as their positions and roles in the graph structure.

[0083] Specifically, assuming that there are N entities and M relationships in the graph structure, including U user entities and I candidate business entities, the feature vectors of users and policies are embedded in a low-dimensional space to obtain the initial embedding vectors of users and policies. Then the model can be defined as follows:

[0084] For each user entity u, the vector where d is the embedding dimension.

[0085] For each candidate business entity i, the vector where d is the embedding dimension.

[0086] For each relationship r (historical behavior of users and candidate services), the matrix Wr∈Rd×d is used to transform the entity vector.

[0087] For each user entity u and candidate business entity i, their vector representations are updated according to their neighbor nodes and edges in the graph structure. Specifically, for each layer l, the calculation refers to the following formula 1, where σ is the activation function, N u is the set of neighbor nodes of user entity u, N iis the set of neighbor nodes of candidate business entity i, r uj is the relationship type between user entities u and j, r ij is the type of relationship between candidate business entities i and j.

[0088] Formula 1:

[0089] For each user entity u and candidate business entity i, their vector representations at all layers are concatenated to obtain the final vector representation, referring to the following formulas 2 and 3, where L is the number of layers of the KGCN model.

[0090] Formula 2:

[0091] Formula 3:

[0092] Step S30: performing interest analysis on each of the users to obtain an interest vector of each of the users.

[0093] It should be noted that the interest vector may be a feature vector of the user's interest in the candidate services that the user has participated in historically.

[0094] It can be understood that this embodiment can analyze the user's historical behavior, determine the user's interest weight for each candidate business in which the user has participated, aggregate data based on the interest weight, and obtain a comprehensive interest vector. This vector can reflect the user's preferences and needs, and their changes over time and scenarios.

[0095] Step S40: performing weighted summation on the entity vectors in the graph structure and the interest vector to obtain a comprehensive vector.

[0096] It should be noted that the comprehensive vector can be the importance vector of the user to each entity in the graph structure (knowledge graph).

[0097] It is understandable that this embodiment can obtain a comprehensive vector representation of the user by weighted summing the user's interest vector and the entity vector in the knowledge graph, dynamically calculating the importance weight of the user to each entity in the knowledge graph (i.e., the graph structure), thereby obtaining a user comprehensive vector that integrates the knowledge graph information. This vector can reflect the user's comprehensive and deep interests, as well as their degree of association with the entities in the knowledge graph.

[0098] In a specific implementation, the business recommendation device can use an attention model to perform a weighted summation of the user's interest vector and the entity vector in the knowledge graph, and dynamically calculate the user's importance weight for each entity in the knowledge graph through the mechanism of the attention model.

[0099] It can be understood that the business recommendation device of this embodiment can perform weighted summation of the user's interest vector and the entity vector in the graph structure through a pre-built attention model to obtain a comprehensive vector representation of the user.

[0100] It should be noted that the principle of this step is that by using the mechanism of the attention model, the importance weight of the user to each entity in the knowledge graph can be dynamically calculated, thereby obtaining a user comprehensive vector that integrates the graph structure information. This vector can reflect the user's comprehensive and deep interests and their degree of association with the entities in the graph structure. Specifically, assuming that there are N entities in the graph structure, this step can be defined as follows:

[0101] For each candidate business c k and entity i in the knowledge graph, calculate the importance weight of the user to i, according to the influence of vk, β i,k The calculation formula is, refer to the following formula 4:

[0102] Formula 4:

[0103] For each candidate business c k , use a pooling layer to perform weighted summation on the entity vectors in the knowledge graph, and obtain the user's comprehensive vector expressed as the following formula 5, where Pooling is a maximum pooling function.

[0104] Formula 5:

[0105] Step S50: Recommend and score the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service.

[0106] It should be noted that the recommendation score may be the degree of match between the user and the candidate service. The higher the degree of match, the higher the recommendation score of the candidate service. Conversely, the lower the degree of match, the lower the recommendation score.

[0107] It is understandable that in this embodiment, the recommendation score can be obtained by calculating the similarity between the user's comprehensive vector and the candidate service vector. The principle of this step is that by using the fully connected layer in the neural network, the multi-dimensional similarity between the user and the service can be converted into a recommendation score, thereby measuring the degree of match between them.

[0108] Furthermore, in order to accurately calculate the recommendation score, the above step S50 may include:

[0109] Step S501: performing similarity matching between the comprehensive vector and the business vectors corresponding to the candidate businesses to obtain the similarity of the candidate businesses;

[0110] Step S502: Recommend and score the candidate services based on the similarities to obtain a recommendation score for each candidate service.

[0111] It can be understood that by using a fully connected layer, the multi-dimensional similarity between users and items can be converted into a recommendation score to measure the degree of match between them. This score can be used to sort and filter candidate items to generate the final recommendation list. Specifically, this step can be defined as follows:

[0112] It should be understood that for each candidate service c k , use a fully connected layer to the user's comprehensive vector u k and the vector of candidate business Perform similarity calculation to get the recommendation score. This fully connected layer can be defined as follows: FC is a fully connected layer. The user's comprehensive vector and the candidate business vector are concatenated to obtain a vector of length 2d: Then use a fully connected layer to k Transform and get the recommendation score y k : where σ is the activation function, w∈R 2d is the weight vector and b∈R is the bias term.

[0113] It should be noted that all candidate items c1, c2, ..., cK are sorted in descending order according to their recommendation scores y1, y2, ..., yK to obtain the final recommendation list, referring to the following formula 6, where Sort is a sorting function that can be sorted according to scores or other business rules.

[0114] Formula 6: R u =Sort(C u , y1, y2, ..., y K )

[0115] Step S60: Generate a recommendation list based on the recommendation score, and make a service recommendation based on the recommendation list.

[0116] It should be noted that the recommendation list can be a personalized list corresponding to each user. Each user has a corresponding recommendation list, which includes candidate services whose recommendation scores are not lower than a preset score threshold. For example, if the user has a high degree of match with service A and service B, then the recommendation scores of service A and service B are not lower than the preset score threshold, and the recommendation list corresponding to the user is generated based on service A and service B.

[0117] It can be understood that the recommendation list contains at least one candidate business. If there are multiple candidate businesses in the recommendation list, the business recommendation device can sort the candidate businesses based on the recommendation score, obtain the business order, generate a recommendation sequence based on the business order and the recommendation list, and recommend businesses to users based on the recommendation sequence.

[0118] This embodiment obtains the historical business participation information of each user in the target user group, constructs a graph structure between each user and the candidate business based on the historical business participation information, performs interest analysis on each user to obtain the interest vector of each user, performs weighted summation on the entity vector in the graph structure and the interest vector to obtain a comprehensive vector, recommends and scores the candidate business based on the comprehensive vector to obtain the recommendation score of each candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list; because this embodiment constructs a graph structure between users and candidate businesses, performs weighted summation based on the interest vector of each user and the entity vector of the graph structure to obtain a comprehensive vector, and thus accurately recommends and scores each candidate business based on the comprehensive vector, clearly determines the connection between each candidate business and each user based on the recommendation score, effectively mines the potential relationship between the user and the candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list, thereby improving the accuracy of business recommendation.

[0119] refer to Figure 3 , Figure 3 This is a flow chart of a second embodiment of a service recommendation method of the present invention.

[0120] Based on the above first embodiment, in this embodiment, step S21 includes:

[0121] Step S21: performing feature analysis on each of the users based on the historical service participation information to obtain a user feature vector of each of the users.

[0122] It should be noted that the user feature vector may be vector data such as the behavior features and portrait features of each user in the target user group.

[0123] Furthermore, in order to accurately obtain the user feature vector, the above step S21 may include:

[0124] Step S211: Analyze the target user group to obtain group attribute information of the target user group;

[0125] Step S212: acquiring behavior information of each user based on the historical business participation information;

[0126] Step S213: performing feature analysis on each of the users based on the group attribute information and the behavior information to obtain a user feature vector of each of the users.

[0127] It is understandable that the business recommendation device can analyze the target user group, obtain the behavior data of each user, and obtain the attribute information of each user (such as personalized data and / or portrait data, etc.), perform feature analysis on each user based on the behavior data and attribute information, and obtain the user feature vector of each user.

[0128] Step S22: Perform feature analysis on the candidate services to obtain a service feature vector of each candidate service.

[0129] It should be noted that the business feature vector may be vector data such as the business profile and business element features of the candidate business.

[0130] It is understandable that the service recommendation device of this embodiment can form a service feature vector of the candidate service by subdividing the features of the candidate service according to different factors such as the form of interaction and the type of prize. The beneficial effects of this are: it can better describe the diversity and differences of the candidate services, thereby improving the accuracy and personalization of the recommendation; it can more conveniently match with user features, thereby improving the relevance and effectiveness of the recommendation; it can more easily be combined with the graph neural network model, thereby improving the efficiency and quality of the recommendation; it can more flexibly adjust the feature combination of the candidate service, thereby improving the adaptability and innovation of the recommendation.

[0131] It should be understood that this embodiment provides node information of candidate services for subsequent construction of a graph structure by performing feature analysis on candidate services, thereby effectively establishing edge relationships between users and candidate services.

[0132] Step S23: constructing a user entity based on the user feature vector, and constructing a service entity based on the service feature vector.

[0133] It should be noted that the user entity may be a node entity in a graph structure with the user as the node entity, and the business entity may be a node entity in a graph structure with the candidate business as the node entity.

[0134] It can be understood that this embodiment constructs a graph structure by taking users as node entities of the graph structure and candidate services as node entities of the graph structure and by analyzing the relationship between user entities and service entities.

[0135] Step S24: determining association information between the user entity and the business entity based on the historical business participation information.

[0136] It should be noted that the association information may be the edge (ie, connection relationship) between nodes in the graph structure, that is, the association information is the connection relationship between the node of the user entity and the node of the business entity.

[0137] Step S25: constructing a graph structure between each of the users and the candidate services based on the association information.

[0138] It can be understood that the business recommendation device in this embodiment obtains the user's historical business participation information based on the user's past behavior in participating in activities, and establishes an association graph between the user and candidate businesses based on the historical business participation information. When the user participates in a candidate business and successfully converts, an edge is established in the graph, thereby constructing a graph structure.

[0139] In the specific implementation, the business recommendation device obtains the interaction records between users and candidate businesses from past activity record data, including user ID, candidate business ID, interaction time, interaction results, etc.; preprocesses the interaction records to filter out invalid or abnormal records, such as duplicate records, etc.; encodes the interaction records, converts the user ID and candidate business ID into integer indexes to facilitate subsequent graph construction and model input; based on the encoded interaction records, constructs a bipartite graph G = (V, E), where V is a node set, including user nodes and candidate business nodes, and E is an edge set, representing the interaction relationship between users and candidate businesses. If user u participates in the activity through strategy i and successfully converts (participates in the activity and takes out a loan), an edge (u, i) is added to the graph. In this way, an association graph between users and candidate businesses is obtained, which can also be called a knowledge graph (i.e., a graph structure).

[0140] This embodiment performs feature analysis on each of the users based on the historical business participation information to obtain a user feature vector for each of the users, performs feature analysis on candidate businesses to obtain a business feature vector for each of the candidate businesses, constructs a user entity based on the user feature vector, constructs a business entity based on the business feature vector, determines association information between the user entity and the business entity based on the historical business participation information, and constructs a graph structure between each of the users and the candidate businesses based on the association information; since this embodiment performs feature analysis on users and candidate businesses respectively, and thus accurately constructs an edge relationship between users and candidate businesses, and accurately constructs a graph structure between each of the users and candidate businesses, it clearly reflects the connection between users and candidate businesses, and improves the accuracy of business recommendations.

[0141] refer to Figure 4 , Figure 4 This is a flow chart of a third embodiment of a service recommendation method of the present invention.

[0142] Based on the above first embodiment, in this embodiment, step S30 includes:

[0143] Step S301: inputting the historical service participation information into a pre-built interest prediction model to obtain the user's interest weight corresponding to each candidate service;

[0144] Step S302: performing interest analysis on each of the users based on the interest weights to obtain an interest vector of each of the users.

[0145] It should be noted that the interest prediction model can be a deep learning model of the recommendation system. This embodiment introduces an attention mechanism through the interest prediction model, and dynamically calculates the importance weight of the user to each candidate business based on the relationship between the user's historical business participation information and the candidate business. It can better understand and model the user's interest changes and improve the accuracy of recommendations.

[0146] It can be understood that this embodiment can dynamically calculate the user's interest weight for each historical behavior candidate service through the calculation layer of the interest prediction model, thereby obtaining a comprehensive user interest vector. This vector can reflect the user's preferences and needs, as well as their changes over time and scenarios. Specifically, assuming that user u has a candidate service historical behavior sequence H u ={h1, h2, ..., h T}, where h t is the candidate service selected by the user at time t, and there is a candidate service set C u ={c1, c2, ..., c K}, where c k are candidate businesses that users may be interested in, then the MDN model can be defined as follows:

[0147] For each historical behavior candidate business h t and candidate business c k , use an embedding layer to convert them into vectors as shown in Formula 7 and Formula 8:

[0148] Formula 7:

[0149] Formula 8:

[0150] For each historical behavior candidate business ht and candidate business c k , calculate the user's h t The interest weight is based on c k The influence of α t,k The calculation formula of refers to the following formula 9, where T is the length of the user's historical behavior sequence.

[0151] Formula 9:

[0152] For each candidate business ck, a pooling layer is used to perform weighted summation on the user's historical behavior vectors to obtain the user's interest vector expressed as the following formula 10, where Pooling is a maximum pooling function.

[0153] Formula 10:

[0154] This embodiment obtains the similarity of each candidate business by performing similarity matching between the comprehensive vector and the business vector corresponding to each candidate business, and performs recommendation scoring on the candidate business based on the similarity to obtain the recommendation score of each candidate business. Since this embodiment analyzes the interest weight of the user corresponding to each candidate business, performs interest analysis on each user, and obtains the user's interest vector, personalized recommendations are made to the user, thereby improving the recommendation accuracy and user experience.

[0155] In addition, an embodiment of the present invention further provides a storage medium, on which a service recommendation program is stored. When the service recommendation program is executed by a processor, the steps of the service recommendation method described above are implemented.

[0156] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0157] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the service recommendation device of the present invention.

[0158] like Figure 5 As shown, the service recommendation device proposed in the embodiment of the present invention includes:

[0159] A historical information acquisition module 10 is used to acquire historical business participation information of each user in the target user group;

[0160] A graph structure building module 20, configured to build a graph structure between each of the users and the candidate services based on the historical service participation information;

[0161] An interest analysis module 30, used to perform interest analysis on each of the users to obtain an interest vector of each of the users;

[0162] A comprehensive vector analysis module 40, configured to perform weighted summation on the entity vectors in the graph structure and the interest vectors to obtain a comprehensive vector;

[0163] A recommendation scoring module 50, configured to perform recommendation scoring on the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service;

[0164] The service recommendation module 60 is configured to generate a recommendation list based on the recommendation score and make service recommendations based on the recommendation list.

[0165] Furthermore, the graph structure construction module 20 is also used to perform feature analysis on each of the users based on the historical business participation information to obtain a user feature vector of each of the users; perform feature analysis on candidate businesses to obtain a business feature vector of each of the candidate businesses; construct a user entity based on the user feature vector, and construct a business entity based on the business feature vector; determine the association information between the user entity and the business entity based on the historical business participation information; and construct a graph structure between each of the users and the candidate businesses based on the association information.

[0166] Furthermore, the graph structure construction module 20 is also used to analyze the target user group to obtain group attribute information of the target user group; obtain behavior information of each user based on the historical business participation information; perform feature analysis on each user based on the group attribute information and the behavior information to obtain a user feature vector of each user.

[0167] Furthermore, the historical information acquisition module 10 is also used to obtain interaction record information between each user in the target user group and each candidate service; extract initial service interaction data based on the interaction record information; and process the initial service interaction data to obtain historical service participation information of each user in the target user group.

[0168] Furthermore, the historical information acquisition module 10 is also used to perform data cleaning on the initial business interaction data to obtain candidate business interaction data; perform index encoding on the candidate business interaction data, convert the user identifier in the candidate business interaction data into a user index, and convert the business identifier in the candidate business interaction data into a business index; construct a bipartite graph between the user index and the business index based on the index-encoded candidate business interaction data; and obtain historical business participation information of each user in the target user group based on the bipartite graph.

[0169] Furthermore, the recommendation scoring module 50 is further used to perform similarity matching between the comprehensive vector and the business vector corresponding to each of the candidate businesses to obtain the similarity of each of the candidate businesses; and perform recommendation scoring on the candidate businesses based on the similarity to obtain the recommendation score of each of the candidate businesses.

[0170] Furthermore, the interest analysis module 30 is also used to input the historical business participation information into a pre-built interest prediction model to obtain the user's interest weight corresponding to each candidate business; perform interest analysis on each user based on the interest weight to obtain the interest vector of each user.

[0171] This embodiment obtains the historical business participation information of each user in the target user group, constructs a graph structure between each user and the candidate business based on the historical business participation information, performs interest analysis on each user to obtain the interest vector of each user, performs weighted summation on the entity vector in the graph structure and the interest vector to obtain a comprehensive vector, recommends and scores the candidate business based on the comprehensive vector to obtain the recommendation score of each candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list; because this embodiment constructs a graph structure between users and candidate businesses, performs weighted summation based on the interest vector of each user and the entity vector of the graph structure to obtain a comprehensive vector, and thus accurately recommends and scores each candidate business based on the comprehensive vector, clearly determines the connection between each candidate business and each user based on the recommendation score, effectively mines the potential relationship between the user and the candidate business, generates a recommendation list based on the recommendation score, and recommends business based on the recommendation list, thereby improving the accuracy of business recommendation.

[0172] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0173] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0174] In addition, for technical details not fully described in this embodiment, reference may be made to the service recommendation method provided in any embodiment of the present invention, and will not be repeated here.

[0175] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0176] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0178] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A business recommendation method, characterized in that: The service recommendation method comprises: Obtain historical business participation information of each user in the target user group; Building a graph structure between each of the users and the candidate services based on the historical service participation information, wherein the nodes of the graph structure include the user entity of the user and the service entity of the candidate service, and the edges of the graph structure include the association information between the user and the candidate service; Performing interest analysis on each of the users to obtain an interest vector of each of the users; Performing weighted summation on the entity vector in the graph structure and the interest vector to obtain a comprehensive vector; Recommending and scoring the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service; generating a recommendation list based on the recommendation score, and making a service recommendation based on the recommendation list; The obtaining of historical business participation information of each user in the target user group includes: Obtaining interaction record information between each user in the target user group and each candidate service; Extracting initial business interaction data based on the interaction record information; Processing the initial business interaction data to obtain historical business participation information of each user in the target user group; The processing of the initial business interaction data to obtain historical business participation information of each user in the target user group includes: Performing data cleaning on the initial business interaction data to obtain candidate business interaction data; Index encoding is performed on the candidate service interaction data, user identifiers in the candidate service interaction data are converted into user indexes, and service identifiers in the candidate service interaction data are converted into service indexes; Constructing a bipartite graph between the user index and the service index based on the index-encoded candidate service interaction data, wherein the bipartite graph includes a node set and an edge set, wherein the node set includes a user node and a service node, and each edge in the edge set represents an interaction relationship between a user node and a service node; Acquire historical business participation information of each user in the target user group based on the bipartite graph; The recommending and scoring the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service includes: Performing similarity matching between the comprehensive vector and the business vector corresponding to each of the candidate businesses to obtain the similarity of each of the candidate businesses; Recommending and scoring the candidate services based on the similarities to obtain a recommendation score for each candidate service; The performing interest analysis on each of the users to obtain the interest vector of each of the users includes: Inputting the historical business participation information into a pre-built interest prediction model to obtain the user's interest weight corresponding to each candidate business; An interest analysis is performed on each of the users based on the interest weight to obtain an interest vector of each of the users.

2. The service recommendation method according to claim 1, characterized in that: The constructing a graph structure between each of the users and the candidate services based on the historical service participation information includes: Performing feature analysis on each of the users based on the historical service participation information to obtain a user feature vector of each of the users; Performing feature analysis on the candidate services to obtain a service feature vector for each of the candidate services; Constructing a user entity based on the user feature vector, and constructing a service entity based on the service feature vector; Determine association information between the user entity and the business entity based on the historical business participation information; A graph structure between each of the users and the candidate services is constructed based on the association information.

3. The service recommendation method according to claim 2, characterized in that: The performing feature analysis on each of the users based on the historical service participation information to obtain a user feature vector of each of the users includes: Analyze the target user group to obtain group attribute information of the target user group; Acquiring behavior information of each of the users based on the historical business participation information; Based on the group attribute information and the behavior information, feature analysis is performed on each of the users to obtain a user feature vector of each of the users.

4. A business recommendation device, characterized in that: The business recommendation device comprises: A historical information acquisition module is used to obtain historical business participation information of each user in the target user group; A graph structure construction module, configured to construct a graph structure between each of the users and the candidate services based on the historical service participation information, wherein the nodes of the graph structure include the user entity of the user and the service entity of the candidate service, and the edges of the graph structure include the association information between the user and the candidate service; An interest analysis module, used to perform interest analysis on each of the users to obtain an interest vector of each of the users; A comprehensive vector analysis module, used for performing weighted summation on the entity vectors in the graph structure and the interest vector to obtain a comprehensive vector; A recommendation scoring module, used to recommend and score the candidate services based on the comprehensive vector to obtain a recommendation score for each candidate service; A service recommendation module, configured to generate a recommendation list based on the recommendation score, and make service recommendations based on the recommendation list; The historical information acquisition module is further used to acquire the interaction record information between each user in the target user group and each candidate service; extract the initial service interaction data based on the interaction record information; process the initial service interaction data to acquire the historical service participation information of each user in the target user group; The historical information acquisition module is further used to perform data cleaning on the initial business interaction data to obtain candidate business interaction data; perform index encoding on the candidate business interaction data, convert the user identifier in the candidate business interaction data into a user index, and convert the business identifier in the candidate business interaction data into a business index; construct a bipartite graph between the user index and the business index based on the index-encoded candidate business interaction data, the bipartite graph includes a node set and an edge set, the node set includes a user node and a business node, and each edge in the edge set represents an interaction relationship between a user node and a business node; and obtain historical business participation information of each user in the target user group based on the bipartite graph; The recommendation scoring module is further used to perform similarity matching between the comprehensive vector and the business vector corresponding to each of the candidate businesses to obtain the similarity of each of the candidate businesses; perform recommendation scoring on the candidate businesses based on the similarity to obtain the recommendation score of each of the candidate businesses; The interest analysis module is further used to input the historical business participation information into a pre-built interest prediction model to obtain the user's interest weight corresponding to each candidate business; and perform interest analysis on each user based on the interest weight to obtain the interest vector of each user.

5. A business recommendation device, characterized in that: The service recommendation device comprises: a memory, a processor, and a service recommendation program stored in the memory and executable on the processor, wherein the service recommendation program is configured to implement the service recommendation method according to any one of claims 1 to 3.

6. A storage medium, characterized in that: The storage medium stores a service recommendation program, and when the service recommendation program is executed by the processor, the service recommendation method according to any one of claims 1 to 3 is implemented.