Path planning method, storage medium and computer program product

By constructing a target model diagram and applying preset pathfinding rules, the connection paths between customers are automatically determined, which solves the problem of insufficient accuracy in correlation analysis between customers caused by manual operations in the banking industry, and improves path accuracy and efficiency.

CN118780801APending Publication Date: 2024-10-15CHINA MERCHANTS BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410923040.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the banking industry, customer data analysis that relies on manual operations leads to insufficient accuracy in the analysis of deep correlations between customers, resulting in insufficient accuracy in determining the connection paths between customers.

Method used

By acquiring customer data, we build a target model diagram with the target customer as the central node, and use preset pathfinding rules to automatically determine the set of connected paths to systematically present the direct and indirect connections between the target customer and other customers, overcoming the subjectivity of manual decision-making. characteristics and limitations.

Benefits of technology

It improves the accuracy of determining the connection path between various customers, reduces the impact of human factors, improves efficiency, and reduces the error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780801A_ABST
    Figure CN118780801A_ABST
Patent Text Reader

Abstract

The invention discloses a path planning method, a storage medium and a computer program product, and relates to the technical field of financial science and technology, and the path planning method comprises the following steps: obtaining client data, and constructing a target model graph based on the client data, the target model graph takes a target customer in each customer in the customer data as a central node, takes an associated customer having an association relationship with the target customer in each customer as a non-central node, and takes an association relationship between the target customer and the associated customer as a connecting edge; and determining a communication path set from the target model diagram according to a preset path finding rule, the node communication paths in the communication path set being used for communicating nodes corresponding to preset clients in the central nodes and the non-central nodes. According to the method and the device, the accuracy of determining the communication path between the clients is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of financial technology, and in particular to a path planning method, a storage medium, and a computer program product. Background Art

[0002] In the context of increasingly fierce competition in today's banking industry, how to effectively expand new customers has become the top priority of the daily work of bank account managers. When performing marketing tasks, account managers and middle office staff need to first conduct detailed relationship identification and integration of target customers of marketing activities from massive customer data, and screen out customers related to target customers from massive customer data, such as customers with equity relationships, guarantee relationships, transaction relationships, personnel positions, etc. with target customers, and then analyze the connection paths formed by these relationships between target customers and various customers.

[0003] However, when parsing these customer data to identify customers who are closely related to target customers and connect target customers and related customers, it mainly relies on manual operations. This manual operation method is easily affected by personal experience and personal cognition, which makes the accuracy of deep correlation analysis between customers insufficient when faced with huge and complex customer data, resulting in insufficient accuracy of the connection paths between determined customers.

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

[0005] The main purpose of the present application is to provide a path planning method, a storage medium and a computer program product, aiming to solve the technical problem of insufficient accuracy in determining the connection paths between various clients.

[0006] To achieve the above objectives, the present application proposes a path planning method, which includes:

[0007] Acquire customer data, and construct a target model graph based on the customer data, wherein the target model graph takes a target customer among the customers in the customer data as a central node, takes associated customers among the customers that have an associated relationship with the target customer as non-central nodes, and takes an associated relationship between the target customer and the associated customers as a connecting edge;

[0008] A connected path set is determined from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and nodes corresponding to preset customers in the non-central nodes.

[0009] In one embodiment, the preset pathfinding rules include type priority rules;

[0010] The step of determining a connected path set from the target model graph according to a preset path-finding rule comprises:

[0011] Determine the priority of each preset path type based on the type priority rule;

[0012] Each preset path type is traversed according to its respective priority, and node connection paths satisfying the preset path type are determined from the target model graph until the number of the node connection paths satisfies the preset number, thereby obtaining the connection path set.

[0013] In one embodiment, the preset path finding rule further includes a path priority rule for each path under the same preset path type;

[0014] The step of traversing each preset path type according to the priority of each preset path type, determining the node connection paths satisfying the preset path type from the target model graph until the number of the node connection paths satisfies the preset number, and obtaining the connection path set comprises:

[0015] The type with the highest priority among the preset path types is used as the current traversal type;

[0016] Taking the quantity difference as the target quantity, wherein the quantity difference is the preset quantity minus the path quantity, and the path quantity is the number of connecting paths of nodes in the connecting path set;

[0017] Determine a current connected path that satisfies the current traversal type from the target model graph, and detect whether the number of the current connected paths is consistent with the target number, wherein the relationship between two adjacent nodes in the current connected path is consistent with the current traversal type;

[0018] If the number of the current connection paths is equal to the target number, adding the current connection paths as the node connection paths to the connection path set;

[0019] If the number of the current connected paths is less than the target number, the current connected path is added to the connected path set as the node connected path, the current traversal type is updated using a preset path type with a priority lower than the current traversal type, the target number is updated based on the number of the current connected paths, and the steps of determining the current connected paths that meet the current traversal type from the target model graph and detecting whether the number of the current connected paths is consistent with the target number are performed;

[0020] If the number of the current connection paths is greater than the target number, determining the priority of each of the current connection paths based on the path priority rule, and adding the target number of paths with the highest priority among the current connection paths as the node connection paths to the connection path set;

[0021] Until the number of paths is consistent with the preset number, the connected path set is obtained.

[0022] In one embodiment, if the number of the current communication paths is equal to the target number, the step of adding the current communication paths as the node communication paths to the communication path set comprises:

[0023] If the number of the current connection paths is equal to the target number, sorting the current connection paths according to the path priority rule;

[0024] Each sorted current connection path is added to the connection path set as the node connection path.

[0025] In one embodiment, before the step of determining a connected path set from the target model graph according to a preset path-finding rule, the method further includes:

[0026] Receive the customer's rule editing operation based on the rule editing interface;

[0027] The preset path-finding rule is determined based on the operation data carried by the rule editing operation.

[0028] In one embodiment, the step of constructing a target model graph based on the customer data includes:

[0029] Storing the customer data in a graph database to obtain a customer relationship model graph, wherein the customer relationship model graph uses each customer in the customer data as a model graph node, and uses the association relationship between each customer in the customer data as a model graph edge;

[0030] The target model graph is constructed based on the customer relationship model graph.

[0031] In one embodiment, the step of constructing the target model graph based on the customer relationship model graph includes:

[0032] For any target relationship in each preset relationship, determine the first-layer customer connected to the target customer by a target edge from the customer relationship model graph, and add the first-layer customer to the associated customers, wherein the target edge is an edge in each model graph edge corresponding to the target relationship;

[0033] The first-layer customer is taken as the current customer, and the next-layer customer having the preset relationships with the current customer is determined from the customer relationship model diagram, the next-layer customer is added to the associated customers, and the current customer is updated with the next-layer customer, and the step of determining the next-layer customer having the preset relationships with the current customer from the customer relationship model diagram is performed until the current customer is the preset customer;

[0034] The target customer is taken as a central node, each of the associated customers is taken as a non-central node, and the association relationship between the target customer and the associated customers is taken as a connecting edge to construct a target model graph.

[0035] In one embodiment, the step of obtaining customer data includes:

[0036] Get raw data from relational databases;

[0037] Each customer, each customer's respective customer attributes, the associations between the customers, and the relationship attributes of the associations are extracted from the original data as the customer data.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the path planning method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the path planning method described above are implemented.

[0040] In the present application, customer data is obtained, and a target model graph is constructed based on the customer data, wherein the target model graph takes a target customer among each customer in the customer data as a central node, takes associated customers among each customer that have an associated relationship with the target customer as non-central nodes, and takes the association relationship between the target customer and the associated customers as a connecting edge; a connected path set is determined from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and nodes corresponding to preset customers in the non-central nodes.

[0041] By building a target model diagram with the target customer as the central node based on customer data and automatically building customer association relationships related to the target customer of the marketing activity as the central node, all direct and indirect connections between the target customer and other customers can be systematically presented, avoiding the tedious work of manually checking the relationships between customers one by one, thereby improving the efficiency of determining the connection paths between each customer.

[0042] A connected path set is determined from the target model graph according to preset routing rules, wherein the node connected paths in the connected path set are used to connect the central node and the nodes corresponding to preset customers in the non-central nodes. By automatically finding the node connected paths from the target customer to the preset customer on the target model graph according to the preset routing rules, the subjectivity and limitations of manual decision-making are overcome, the error rate caused by human factors is reduced, and the accuracy of determining the connected paths between various customers is improved.

[0043] Therefore, the present application reduces the influence of human factors in the process of determining the connection paths between various customers, and improves the accuracy of the connection paths between various customers. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0046] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the path planning method of the present application;

[0047] Figure 2 A schematic diagram of a flow chart provided for the second embodiment of the path planning method of the present application;

[0048] Figure 3 A schematic diagram of a user relationship model diagram involved in an implementation manner of the present application;

[0049] Figure 4 A schematic diagram of connection paths under different preset path types involved in an embodiment of the present application;

[0050] Figure 5 A schematic diagram showing a table of optimal marketing paths involved in an implementation method of the present application;

[0051] Figure 6A schematic diagram showing a diagram of an optimal marketing path involved in an implementation method of the present application;

[0052] Figure 7 A schematic diagram of a path planning method according to an embodiment of the present application;

[0053] Figure 8 This is a schematic diagram of the module structure of the path planning device according to an embodiment of the present application;

[0054] Fig. 9 A schematic diagram of the device structure of the hardware operating environment involved in the path planning method in the embodiment of the present application.

[0055] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0058] The main solution of the embodiment of the present application is: obtaining customer data, and constructing a target model graph based on the customer data, wherein the target model graph takes the target customer among the customers in the customer data as the central node, takes the associated customers among the customers who have an associated relationship with the target customer as the non-central nodes, and takes the association relationship between the target customer and the associated customers as the connecting edge; determining a connected path set from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and the nodes corresponding to the preset customers in the non-central nodes.

[0059] In this embodiment, for the convenience of description, the following description is made with the path planning device as the execution subject.

[0060] In the context of increasingly fierce competition in today's banking industry, how to effectively expand new customers has become the top priority of the daily work of bank account managers. When performing marketing tasks, account managers and middle office staff need to first conduct detailed relationship identification and integration of target customers of marketing activities from massive customer data, and screen out customers related to target customers from massive customer data, such as customers with equity relationships, guarantee relationships, transaction relationships, personnel positions, etc. with target customers, and then analyze the connection paths formed by these relationships between target customers and various customers.

[0061] However, in parsing these customer data to identify customers closely related to target customers and connect target customers and related customers, manual operations are mainly relied on. This manual operation method is easily affected by personal experience and personal cognition, which makes the inaccuracy of deep correlation analysis between customers insufficient when facing huge and complex customer data, resulting in insufficient accuracy of the connection paths between determined customers.

[0062] In an embodiment of the present application, by constructing a target model diagram with the target customer as the central node based on customer data, and by automatically constructing customer association relationships related to the target customer of the marketing activity as the central node, all direct and indirect connections between the target customer and other customers can be systematically presented, avoiding the tedious work of manually checking the relationships between customers one by one, thereby improving the accuracy of determining the connection paths between individual customers.

[0063] A connection path set is determined from the target model graph according to preset routing rules, wherein the node connection path in the connection path set starts from the target customer and ends at the preset customer. By automatically finding the node connection path from the target customer to the preset customer on the target model graph according to the preset routing rules, the subjectivity and limitations of manual decision-making are overcome, the error rate caused by human factors is reduced, and the accuracy of determining the connection paths between each customer is improved.

[0064] Therefore, the embodiment of the present application reduces the influence of human factors in the process of determining the connection paths between various customers, and improves the accuracy of the connection paths between various customers.

[0065] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a path planning device, etc. The following takes the path planning device as an example to illustrate this embodiment and the following embodiments.

[0066] Based on this, the present application embodiment provides a path planning method, referring to Figure 1 This is a flow chart of the first embodiment of the path planning method of the present application.

[0067] In this embodiment, the path planning method includes steps S10 to S20.

[0068] Step S10, obtaining customer data, and constructing a target model graph based on the customer data, wherein the target model graph takes the target customer among the customers in the customer data as the central node, takes the associated customers among the customers that have an associated relationship with the target customer as the non-central nodes, and takes the associated relationship between the target customer and the associated customers as the connecting edge.

[0069] It should be noted that collecting or accessing a database containing customer data to obtain customer data is the basis for building a target model diagram, ensuring that there is sufficient and accurate data to depict the relationship network between customers.

[0070] Customer data at least includes customers existing in the database, customer attributes that characterize customer identities, and association relationships that characterize the correlations between different customers. In the context of customer marketing, relationships can include transaction relationships, investment relationships, and holding relationships, etc.

[0071] The target customer is the customer at the end point of the route planning. In the scenario of customer marketing, the target customer can be the marketing object of the marketing activity.

[0072] A model graph with the target customer as the central node is constructed, hereinafter referred to as the target model graph for distinction. The non-central nodes in the target model graph are the associated customers with the target customer among the customers in the customer data, and the connecting edges of the target model graph are the associations between the target customer and the associated customers. The target model graph can intuitively display the relationship network of the target customer. Compared with manual analysis, the method of constructing the target model graph can avoid errors and omissions caused by manual operations and improve the accuracy of the subsequent determination of the connection path with the target customer as the endpoint.

[0073] The method of constructing the target model graph is not limited here. In one feasible implementation, the target model graph can be constructed based on the customer data using a preset connectivity graph construction algorithm. Specifically, a connectivity graph generation algorithm such as a graph creation algorithm based on an adjacency matrix or an adjacency list, a Prim algorithm, or a Kruskal algorithm can be used. It can be set according to actual needs. In another feasible implementation, the customer data can be imported into a graph database, and the graph database can generate a customer relationship model graph corresponding to the customer data. Then, related customers can be searched from the customer relationship model graph, and the target model graph can be constructed based on the related customers and the model graph edges between the target customer and the related customers in the customer relationship model graph.

[0074] Exemplarily, in a feasible implementation, the process of constructing the target model graph may be:

[0075] Step S101, storing the customer data in a graph database to obtain a customer relationship model graph, wherein the customer relationship model graph uses each customer in the customer data as a model graph node, and uses the association relationship between each customer in the customer data as a model graph edge.

[0076] In this implementation, the customer data is stored in a graph database, and the customer data is converted into a model graph, that is, a customer relationship model graph, via the graph database. The graph database uses the customers in the customer data as nodes of the model graph (hereinafter referred to as model graph nodes for distinction), and uses the association relationships between each customer as the model graph edges connecting each model graph node. By converting the customers into a graph structure, efficient query and analysis are facilitated when the target model graph is subsequently constructed.

[0077] Step S102, constructing a target model diagram based on the customer relationship model diagram.

[0078] Based on the customer relationship model diagram, a target model diagram is further constructed. Specifically, the target model diagram can be focused on the target customers and the associated relationships related to the target customers in the customer relationship model diagram by filtering, aggregating or converting the customer relationship model diagram.

[0079] Specifically, the process of constructing the target model diagram based on the customer relationship model diagram can be:

[0080] a1. For any target relationship in each preset relationship, determine the first-layer customers connected to the target customer by the target edge from the customer relationship model graph, and add the first-layer customers to the associated customers, where the target edge is the edge in each model graph edge corresponding to the target relationship.

[0081] It should be noted that the preset relationship is a pre-set association relationship between various customers, and the preset relationship at least includes the association relationship in the customer data, which represents the relationship that may exist between various customers.

[0082] a2. Take the first-layer customer as the current customer, and determine the next-layer customer that has each preset relationship with the current customer from the customer relationship model diagram, add the next-layer customer to the associated customers, and use the next-layer customer to update the current customer, and execute the steps of determining the next-layer customer that has each preset relationship with the current customer from the customer relationship model diagram until the current customer is the preset customer.

[0083] In this implementation, through iterative processing, a relationship network of a specific range is constructed with the target customer as the central node. First, other customers directly connected to the target customer are found in the customer relationship model diagram according to the target relationship, which are called first-layer customers. Then, the next-layer customers associated with the first-layer customers are found. When finding the next-layer customers associated with the first-layer customers, the association relationship between the first-layer customers and the next-layer customers can be any one of the preset relationships, that is, the relationship between the first-layer customers and the next-layer customers is not limited to the target relationship. This process will be repeated continuously, and each iteration will use the newly discovered next-layer customers as the new current customers until the preset stop condition is met.

[0084] It should be noted that, in a feasible implementation, the preset stop condition may be that the current customer is a preset customer. In a bank marketing scenario, the preset customer may be an existing customer of the bank. In a feasible implementation, the preset stop condition may also be a limit on the number of customer layers that are diffused, so as to avoid excessive diffusion during the construction of the target model graph, which may cause the path planning device to crash. In a feasible implementation, the preset stop condition may be any one of the above two conditions, which are not limited here.

[0085] a3, build the target model graph with the target customer as the central node, each associated customer as the non-central node, and the association relationship between the target customer and the associated customers as the connecting edge.

[0086] It should be noted that compared to constructing a customer relationship model graph based on a graph algorithm, this implementation can convert customer data into a model graph by importing customer data into a graph database, which simplifies the construction operation of the customer relationship model graph and improves the efficiency of constructing the customer relationship model graph, thereby improving the efficiency of subsequently determining the connection path with the target customer as the endpoint.

[0087] Step S20, determining a connected path set from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and nodes corresponding to preset customers in the non-central nodes.

[0088] The rules for connecting path planning are set in advance, hereinafter referred to as preset path finding rules for distinction. The preset path finding rules can be set according to actual needs and are not limited here.

[0089] According to the preset path-finding rules, a set of all paths that can connect the central node with the nodes corresponding to the preset customers is found from the constructed target model graph. The obtained path set is called a connected path set. The paths included in the connected path set are the paths connecting the central node (target customer) and the nodes corresponding to the preset customers, hereinafter referred to as node connected paths for distinction.

[0090] It should be noted that the preset customer can be a specified customer among the various customers in the customer data, or it can be a customer who meets the preset conditions. For example, in a bank marketing scenario, the preset customer can refer to the existing customers within the bank.

[0091] There is no restriction on the method of determining the connected path set, and a depth-first search algorithm, a breadth-first search algorithm, a union-find algorithm, etc. may be used, which will not be elaborated here.

[0092] In this embodiment, customer data is obtained and a target model graph is constructed based on the customer data, wherein the target model graph takes the target customer among each customer in the customer data as the central node, takes the associated customers among each customer who have an associated relationship with the target customer as the non-central node, and takes the association relationship between the target customer and the associated customers as the connecting edge; a connected path set is determined from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and the nodes corresponding to the preset customers in the non-central node.

[0093] By building a target model diagram with the target customer as the central node based on customer data and automatically building customer association relationships related to the target customer of the marketing activity as the central node, all direct and indirect connections between the target customer and other customers can be systematically presented, avoiding the tedious work of manually checking the relationships between customers one by one, thereby improving the efficiency of determining the connection paths between each customer.

[0094] A connected path set is determined from the target model graph according to preset routing rules, wherein the node connected paths in the connected path set are used to connect the nodes corresponding to preset customers in the central node and the non-central node. By automatically finding the node connected paths from the target customer to the preset customer on the target model graph according to the preset routing rules, the subjectivity and limitations of manual decision-making are overcome, the error rate caused by human factors is reduced, and the accuracy of determining the connected paths between each customer is improved.

[0095] Therefore, this embodiment reduces the influence of human factors in the process of determining the connection paths between various clients, and improves the accuracy of the connection paths between various clients.

[0096] In a feasible implementation, step S10: the step of acquiring customer data includes steps S103 to S104.

[0097] Step S103, obtaining original data from the relational database.

[0098] Get raw data from a relational database, which is a widely used data storage method that organizes data in the form of tables and links different tables through predefined relationships.

[0099] It should be noted that the original data can be obtained from the relational database by executing SQL (Structured Query Language) query statements or other database operation languages, and the specific process is not described here.

[0100] Step S104 , extracting each customer, each customer's respective customer attributes, the associations between each customer, and the relationship attributes of the associations from the original data as customer data.

[0101] The acquired raw data is processed to extract each customer, each customer's respective customer attributes, the relationship between each customer, and the relationship attributes of the relationship as customer data for subsequent import into the graph database to construct a customer relationship model graph.

[0102] By extracting and organizing data from relational databases, centralized data management and standardized processing are achieved, which is conducive to eliminating data silos and improving data consistency and availability. In addition, targeted extraction of required data reduces unnecessary data transmission and processing, improves data processing efficiency, and reduces the consumption of computing resources.

[0103] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and no further description will be given later. In this embodiment, the preset pathfinding rules include type priority rules, please refer to Figure 2 , step S20: determining a connected path set from the target model graph according to a preset path-finding rule, including steps S201 to S202.

[0104] Step S201: determining the priority of each preset path type based on a type priority rule.

[0105] In this embodiment, a plurality of preset path types are preset, and the preset path type represents the type of the node connection path between the target customer and the preset customer. In a specific implementation, there may be multiple nodes in the node connection path between the target customer and the preset customer. In this case, the preset path type can be determined based on the customer attributes of the nodes directly connected to the target customer on the node connection path and the association relationship between the target customer and the connection node.

[0106] Different preset path types may have different priorities. When determining a connected path set, the node connected paths may be determined according to the priorities of the preset path types to obtain a connected path set.

[0107] In the marketing scenario, the preset path type can be public-private linkage, public equity investment, behind retail, behind shareholder / subsidiary retail, transaction upstream and downstream, bill upstream and downstream, PEVC (Private Equity and Venture Capital), among which public-private linkage refers to the cooperation or association relationship between public customers and private customers; public equity investment refers to the relationship in which a public customer or institution invests in the public market stock of another company; behind retail refers to another company B where the legal person, shareholder, or senior executive of public customer A works, and the relationship between A and B is behind retail; behind shareholder / subsidiary retail refers to another company B where the legal person, shareholder, or senior executive of shareholder (or subsidiary) C of public customer A works, and the relationship between A and B is behind shareholder / subsidiary retail; transaction upstream and downstream refers to the direct buying and selling relationship between upstream suppliers and downstream customers in the commodity or service transaction chain; bill upstream and downstream refers to the circulation relationship of financial bills in the transaction process, involving the collection, endorsement and transfer of bills, etc.; PEVC refers to PE (Private Equity) institutions or VC (Venture The investment relationship between capital and enterprises.

[0108] It should be noted that the preset path finding rules include type priority rules, which specify the priority of each preset path type. The type priority rules can be set according to actual needs and are not limited here.

[0109] Step S202, traverse each preset path type according to the priority of each preset path type, determine the node connection path that meets the preset path type from the target model graph, until the number of node connection paths meets the preset number, and obtain a connection path set.

[0110] The preset path types are traversed one by one. For each preset path type, the system will search for all node connection paths that meet the definition of this type in the target model graph until a preset number of node connection paths are found. Finally, the node connection paths constitute a connection path set.

[0111] It should be noted that the preset number can be set according to actual needs and is not limited here.

[0112] In this embodiment, by giving priority to more important preset path types, the most relevant or valuable connectivity paths can be found more quickly, unnecessary searches and calculations are reduced, and the overall processing speed is improved. In addition, the type priority rule ensures that the first discovered path is more strategically important or more in line with specific analysis goals, which helps decision makers focus on key information more quickly, make more accurate judgments and decisions, and improve the accuracy of the determined connectivity paths.

[0113] In one feasible implementation, the preset routing rules also include path priority rules for each path under the same preset path type, step S202: traverse each preset path type according to the priority of each preset path type, determine the node connection path that meets the preset path type from the target model graph, until the number of node connection paths meets the preset number, and obtain a connection path set, including steps S2021 to S2027.

[0114] Step S2021: The type with the highest priority among the preset path types is used as the current traversal type.

[0115] It should be noted that the preset path type with the highest priority is selected as the initial search condition.

[0116] Step S2022: taking the quantity difference as the target quantity, wherein the quantity difference is the preset quantity minus the path quantity, and the path quantity is the number of connected paths of the nodes in the connected path set.

[0117] The quantity difference represents how many node connection paths need to be determined to meet the preset quantity requirements, that is, the quantity difference represents the data of the node connection paths that are currently required. Setting the quantity difference as the target quantity provides a search stop condition for subsequent path searches.

[0118] Step S2023, determining the current connected path that meets the current traversal type from the target model graph, and detecting whether the number of the current connected paths is consistent with the target number, wherein the relationship between two adjacent nodes in the current connected path is consistent with the current traversal type.

[0119] Search for all paths that satisfy the current traversal type (hereinafter referred to as current connected paths for distinction) in the target model graph, and check whether the number of these paths just reaches the target number.

[0120] Step S2024: If the number of current connected paths is equal to the target number, the current connected path is added to the connected path set as a node connected path.

[0121] If the current number of paths is exactly equal to the target number, it means that the optimal path set that meets the conditions has been found, and it is added to the connected path set, and the path search is stopped.

[0122] In some feasible implementations, before adding the current connected path as a node connected path to the connected path set, the current connected path may be prioritized according to a path priority rule to provide a reference for subsequent data analysis based on the connected path set. Specifically, if the number of current connected paths is equal to the target number, the process of adding the current connected path as a node connected path to the connected path set may be:

[0123] b1, if the number of current connected paths is equal to the target number, then sort the current connected paths according to the path priority rule.

[0124] b2, add each sorted current connected path as a node connected path to the connected path set.

[0125] It should be noted that by sorting these qualified current connected paths according to the previously defined path priority rules, it is ensured that the connected path set not only meets the preset proficiency requirements, but also has a clear hierarchy in logic and importance, so that subsequent analysis can quickly focus on the most important paths.

[0126] For application scenarios that rely on this path information to make decisions, the sorted path set can provide a more intuitive and efficient basis for decision-making, helping decision makers to more quickly identify key paths and potential risk points. For example, in a marketing scenario, the priority of the node connectivity path represents the feasibility of marketing success.

[0127] Step S2025, if the number of current connected paths is less than the target number, the current connected path is added to the connected path set as a node connected path, the current traversal type is updated using a preset path type with a priority lower than the current traversal type, the target number is updated based on the number of current connected paths, and the current connected path that satisfies the current traversal type is determined from the target model graph, and the steps of detecting whether the number of current connected paths is consistent with the target number are executed.

[0128] If the current number of paths is less than the target number, it indicates that the priority of the preset path type needs to be lowered to continue searching. At the same time, the target number is adjusted according to the number of paths currently found to ensure that the search continues until the target number is reached.

[0129] It should be noted that the process of updating the target number based on the current number of connected paths may be: using the target number minus the current number of connected paths to obtain the required number of paths (hereinafter referred to as the required number of paths for distinction), and using the required number of paths to update the target number.

[0130] Step S2026: If the number of current connection paths is greater than the target number, the priority of each current connection path is determined based on the path priority rule, and the target number of paths with the highest priority among the current connection paths are added to the connection path set as node connection paths.

[0131] If the current number of paths exceeds the target number, it means that there are redundant paths under the current path type. The priority of each current connected path is determined according to the path priority rules of different paths under the preset path type. Only the current connected paths with the highest priority and meeting the target number are selected to join the connected path set to ensure that the selected path is the optimal one.

[0132] It should be noted that when adding the target number of paths with the highest priority among the current connected paths as node connected paths to the connected path set, the paths may also be added to the connected path set according to their priority order, and the specific process is not repeated here.

[0133] Step S2027, until the number of paths is consistent with the preset number, a connected path set is obtained.

[0134] The above iterative process is continued until the total number of paths in the connected path set reaches a preset number, and the construction of the connected path set is completed.

[0135] By introducing path priority rules into the preset path-finding rules, it is ensured that even when there are multiple paths under the same path type, the connection path that best meets the strategy or analysis objectives can be selected. The most valuable information can be screened out from a large number of potential paths, thereby improving the accuracy of the determined node connection paths.

[0136] At the same time, this path selection mechanism for hierarchical path finding for preset path types can efficiently utilize computing resources and avoid unnecessary extensive searches, which significantly improves the efficiency of path search, especially when the number of paths is large.

[0137] In a feasible implementation, step S20: a step of determining a connected path set from a target model graph according to a preset path-finding rule, the method further includes steps S30 to S40.

[0138] Step S30: receiving the customer's rule editing operation based on the rule editing interface.

[0139] In this embodiment, the path planning device provides a rule editing interface, allowing customers to directly participate in the customization process of path finding rules according to specific analysis needs or research purposes. Customers can input, modify or delete various parameters of path finding rules through this interface, such as adjusting the priority of path type, defining new path screening conditions, setting path quantity thresholds, etc.

[0140] Step S40: determining a preset path-finding rule based on the operation data carried by the rule editing operation.

[0141] The customer's operation data on the rule editing interface, such as clicks, drags, and input values, etc., are used to dynamically generate or update the preset routing rules. In this implementation, the routing rules finally applied can directly reflect the customer's customization needs and strategy preferences.

[0142] In this implementation, by allowing the customer to dynamically edit the preset path-finding rules, the obtained connectivity path can quickly adapt to different analysis scenarios and changing business needs, thereby improving the flexibility of determining the connectivity path.

[0143] Exemplarily, in order to help understand the technical concept or technical principle of path planning after combining this embodiment with the above-mentioned embodiment one and embodiment two, this embodiment describes the process of path planning in a marketing scenario. Specifically, in this embodiment, the node connection path obtained in the marketing scenario is called a marketing path. The marketing path refers to the entire process from the starting point to the target customer through a series of strategic steps and links in order to achieve a specific marketing goal. In this process, the marketing path involves multiple nodes to ensure that potential customers can be guided to the final sales or service link through the nodes.

[0144] First, the enterprise nodes, personal nodes, B2C relationships, B2B relationships, and node and edge attributes are processed based on Gauss (GaussDB, a distributed relational database) SQL (that is, obtaining the original data from the relational database; extracting each customer, each customer's respective customer attributes, the relationship between each customer, and the relationship attributes of the relationship from the original data as customer data), and then loading the processed data out of the warehouse into the neo4j graph database (Neo4jGraph Database), and building a graph ontology model based on the customer data (that is, storing the customer data in the graph database to obtain the customer relationship model diagram), please refer to Figure 3 In this embodiment, the nodes of the graph ontology model (i.e., the customer relationship model graph) are customers, including retail customers (also called personal customers) and corporate customers (also called corporate customers). The connection edges of the graph ontology model are divided into B2C (Business-to-Consumer) relationships and B2B (Business-to-Business) relationships. B2C relationships include Figure 3 The connection edges between retail customers and corporate customers show the corporate legal person relationship, corporate executive relationship, and corporate individual shareholder relationship. B2B relationships include Figure 3The connection edges between corporate customers show the upstream and downstream relationships of cash transactions, bill transactions, equity investment, and PEVC. Then, based on the Spring Cloud (a microservice toolkit) framework, the backend uses Java language to develop graph computing logic, and queries the relationship network graph (also known as the target model graph) with the target customer as the central node based on the graph ontology model. The connection path between the central node and the non-central node is queried from the relationship network graph as the marketing path, and then the queried marketing path is returned to the front end, which visualizes the marketing path based on the react (an independent Java database) framework.

[0145] In this implementation, the overall architecture design of path planning is divided into three modules: Gauss SQL raw data processing and integration module, marketing path map calculation and mining module, marketing path visualization page development and service configuration module.

[0146] 1) Gauss SQL raw data processing and integration includes processing of company nodes, personal nodes, B2C relationships, B2B relationships, and node and edge attributes (i.e., obtaining raw data from relational databases; extracting each customer, each customer's respective customer attributes, the relationship between each customer, and the relationship attributes of the relationship from the raw data as customer data), where B2C relationships include: corporate legal person relationships, corporate executive relationships, and corporate individual shareholder relationships, and B2B relationships include: cash transaction relationships, bill transaction relationships, equity investment relationships, and PEVC investment relationships. Specifically, the raw data can be data from an internal database, such as the internal data of a banking system, or data from an external database of a banking system.

[0147] 2) Marketing path map calculation and mining: The node and relationship data processed by Gauss SQL are loaded into the neo4j database. Based on the node and relationship data, the target enterprise is taken as the central node, and the relationship edges such as executives, legal persons, shareholders, subsidiaries, upstream and downstream transactions, upstream and downstream bills, and PEVC are diffused outward three layers to find out whether there are in-bank customers in the three-layer relationship network of the target enterprise. Once an in-bank customer is found, the diffusion is stopped (that is, for any target relationship in each preset relationship, the first-layer customer connected to the target customer with the target edge is determined from the customer relationship model diagram, and the first-layer customer is added to the associated customers, where the target edge is the edge in each model diagram edge corresponding to the target relationship; the first-layer customer is taken as the current customer, and the next-layer customer with each preset relationship with the current customer is determined from the customer relationship model diagram, and the next-layer customer is added to the associated customers. And use the next layer of customers to update the current customer, execute the steps of determining the next layer of customers with each preset relationship with the current customer from the customer relationship model diagram, until the current customer is the preset customer; take the target customer as the central node, each related customer as the non-central node, and the relationship between the target customer and the related customers as the connecting edge to build the target model diagram), draw the relationship path between the target enterprise and the customers in the bank (that is, determine the connected path set from the target model diagram according to the preset path-finding rules, where the node connected paths in the connected path set are used to connect the nodes corresponding to the preset customers in the central node and the non-central node), and summarize these paths into 7 preset path types, namely: public-private linkage, public equity investment, behind retail, behind shareholder / subsidiary retail, upstream and downstream transactions, upstream and downstream bills, and PEVC. Please refer to Figure 4 , Figure 4 The figure shows the marketing paths under different preset path types, where unbanked enterprise A is the ultimate target of the marketing activity, i.e., the target user. Figure 4 It can be seen that in this implementation, the individual or company at the tail node of each path is restricted to be an internal customer of the bank, and except for the retail backend, the intermediate nodes of other preset path types (target enterprises, nodes other than the tail node) are non-bank customers.

[0148] The specific relationship of each preset path type can be referred to as shown in Table 1 below:

[0149] Table 1 Preset path type path relationship table

[0150]

[0151] First, judging from the underlying relationship data, the four preset path types of public-private linkage, public equity investment, behind retail, and behind shareholder / subsidiary retail all belong to industrial and commercial relationships, with a higher priority than the transaction chain, bill chain, and PEVC.

[0152] Secondly, according to the level of marketing path search, among the four preset path types of industrial and commercial categories, the priority order is: public equity investment > behind retail > public-private linkage > behind shareholder / subsidiary retail, and then upstream and downstream transactions > upstream and downstream bills > PEVC.

[0153] Thirdly, the internal priority of the preset path type is sorted according to the tags of the associated customers. Retail customers are sorted according to: branch consistency (the branch where the associated customer opens an account is consistent with the branch where the target customer is registered) > card holding level; corporate customers are sorted according to: branch consistency (the branch where the associated customer opens an account is consistent with the branch where the target customer is registered) > customer tag data, where the customer tag data can be credit status, customer deposits, etc. During the sorting process, the credit status has a higher priority than the customer deposits.

[0154] Finally, the final sorting is as follows: preset path type sorting > preset path type internal sorting. An enterprise takes the 10 highest priority connected paths as a reference for marketing activities, that is, the connected paths are used as marketing paths.

[0155] 3) The marketing path visualization page visualizes the relationship between each node based on the marketing path data found, clearly presenting the relationship between unbanked customers and some non-bank corporate and retail customers with accounts, as well as the priority order of the path. Please refer to Figure 5 , Figure 5 This is a table diagram of the best marketing paths. Of course, there may be many marketing paths for a customer, but combined with the marketing experience of the front line, at most the top 10 marketing paths with the highest priority for an unopened customer are displayed. At the same time, the top 10 best marketing paths with the highest priority from a customer's global perspective are presented in the form of a map. Please refer to Figure 6 , Figure 6 The diagram is a schematic diagram of the best marketing path. In a specific implementation, the marketing path visualization page can receive a click operation based on the "positioning" function operation component configured in the table display interface of the best marketing path, and highlight the path indicated by the click operation in the diagram of the best marketing path.

[0156] 4) Service configuration module, the preset path-finding rules for determining the best marketing path involve the sorting (i.e. type priority rules) between preset path types (public equity investment, behind retail, public-private linkage, behind shareholder / subsidiary retail, upstream and downstream transactions, upstream and downstream bills, PEVC) and within preset path types (for example, in the public equity investment preset path type, when multiple shareholders of the target customer open accounts in non-banks, they need to be sorted according to the shareholder's logo) (i.e. path priority rules) and conditional filtering (such as investment ratio restrictions) within the preset path type. The configuration module supports customers to customize these rules and, based on the customized rules, conduct real-time queries on the best marketing paths for single or batch customers. Please refer to Figure 7 , the process of configuring preset path-finding rules and performing path planning can be:

[0157] Receive the target user list uploaded in batches by the account manager, or receive the single target user search operation of the account manager; then detect whether the account manager selects the default routing rule. If so, use the default routing rule as the preset routing rule and determine the marketing path based on the preset routing rule. If not, use the default routing rule as the preset routing rule, and receive the user's rule editing operation based on the rule editing interface, determine the preset routing rule based on the operation data carried by the rule editing operation, and then determine the marketing path based on the preset routing rule; then display the marketing path.

[0158] At present, in the process of determining the marketing path, there is not only the problem of insufficient accuracy of the marketing path, but also the lack of personalized services, lack of a global perspective on customer relationships, lack of clear visual presentation, and incomplete customer data.

[0159] Regarding question 1: lack of personalized services, the reason is that different branches have different plans to expand their customer base, which leads to different ideas of different branches to obtain marketing paths. The existing marketing paths are mostly the result of fixed processing logic, with poor logic variability, and the obtained marketing paths cannot adapt to individual ideas. In this regard, the above-mentioned path planning framework provides a service configuration module to support users to customize path-finding rules, so that the obtained marketing paths can meet the marketing needs of different account managers.

[0160] Regarding question 2: lack of a global perspective on customer relationships, the reason is that corporate customers have various B2C and B2B relationships, and the existing marketing paths can generally only present a single relationship based on relational data, making it difficult for account managers to have a global perspective on the customer model diagram. In this regard, by comprehensively combing the data of retail customers and corporate customers to obtain customer data, the model diagram built based on customer data can reflect various B2C and B2B relationships, allowing account managers to have a global perspective on the customer's relationship network.

[0161] Regarding question 3: lack of clear visualization, the reason is that the existing marketing path data is based on the relationship processing of relational databases, which needs to be based on established rules and cannot flexibly expand or reduce the data model. It is very inconvenient to handle the ever-changing customer types, and there is also a large performance bottleneck in processing complex relationship queries. In this regard, by providing a marketing path visualization page, the marketing path can be directly presented to the account manager, achieving clear visualization.

[0162] Regarding question 4: it is not conducive to the account managers to carry out collaborative customer development. The reason is that most account managers in the existing best marketing paths only have customer data from their own perspective, which leads to incomplete customer data in the marketing process and affects the marketing effect. In this implementation, by comprehensively combing the data of all retail customers and corporate customers in the database to obtain customer data, the model diagram built based on customer data can reflect the relationship network of all known customers in the banking system, rather than being limited to the account manager's own customers, thereby improving the comprehensiveness of customer data and providing assistance to the account manager in the process of customer development.

[0163] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the path planning method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0164] This application also provides a path planning device, please refer to Figure 8 , the path planning device comprises:

[0165] The acquisition module 10 is used to acquire customer data and construct a target model graph based on the customer data, wherein the target model graph takes a target customer among the customers in the customer data as a central node, takes associated customers among the customers that have an associated relationship with the target customer as non-central nodes, and takes an associated relationship between the target customer and the associated customers as a connecting edge;

[0166] The determination module 20 is used to determine a connected path set from the target model graph according to a preset path finding rule, wherein the node connected paths in the connected path set are used to connect the central node and the nodes corresponding to the preset customers in the non-central nodes.

[0167] Optionally, the preset path finding rule includes a type priority rule; the determination module 20 is further used for:

[0168] Determine the priority of each preset path type based on the type priority rule;

[0169] Each preset path type is traversed according to its respective priority, and node connection paths satisfying the preset path type are determined from the target model graph until the number of the node connection paths satisfies the preset number, thereby obtaining the connection path set.

[0170] Optionally, the preset path finding rule further includes a path priority rule for each path under the same preset path type; the determination module 20 is further used for:

[0171] The type with the highest priority among the preset path types is used as the current traversal type;

[0172] Taking the quantity difference as the target quantity, wherein the quantity difference is the preset quantity minus the path quantity, and the path quantity is the number of connecting paths of nodes in the connecting path set;

[0173] Determine a current connected path that satisfies the current traversal type from the target model graph, and detect whether the number of the current connected paths is consistent with the target number, wherein the relationship between two adjacent nodes in the current connected path is consistent with the current traversal type;

[0174] If the number of the current connection paths is equal to the target number, adding the current connection paths as the node connection paths to the connection path set;

[0175] If the number of the current connected paths is less than the target number, the current connected path is added to the connected path set as the node connected path, the current traversal type is updated using a preset path type with a priority lower than the current traversal type, the target number is updated based on the number of the current connected paths, and the steps of determining the current connected paths that meet the current traversal type from the target model graph and detecting whether the number of the current connected paths is consistent with the target number are performed;

[0176] If the number of the current connection paths is greater than the target number, determining the priority of each of the current connection paths based on the path priority rule, and adding the target number of paths with the highest priority among the current connection paths as the node connection paths to the connection path set;

[0177] Until the number of paths is consistent with the preset number, the connected path set is obtained.

[0178] Optionally, the determining module 20 is further configured to:

[0179] If the number of the current connection paths is equal to the target number, sorting the current connection paths according to the path priority rule;

[0180] Each sorted current connection path is added to the connection path set as the node connection path.

[0181] Optionally, the device further includes a receiving module, and the receiving module is further configured to:

[0182] Receive the customer's rule editing operation based on the rule editing interface;

[0183] The preset path-finding rule is determined based on the operation data carried by the rule editing operation.

[0184] Optionally, the acquisition module 10 is further used for:

[0185] Storing the customer data in a graph database to obtain a customer relationship model graph, wherein the customer relationship model graph uses each customer in the customer data as a model graph node, and uses the association relationship between each customer in the customer data as a model graph edge;

[0186] The target model graph is constructed based on the customer relationship model graph.

[0187] Optionally, the acquisition module 10 is further used for:

[0188] For any target relationship in each preset relationship, determine the first-layer customer connected to the target customer by a target edge from the customer relationship model graph, and add the first-layer customer to the associated customers, wherein the target edge is an edge in each model graph edge corresponding to the target relationship;

[0189] The first-layer customer is taken as the current customer, and the next-layer customer having the preset relationships with the current customer is determined from the customer relationship model diagram, the next-layer customer is added to the associated customers, and the current customer is updated with the next-layer customer, and the step of determining the next-layer customer having the preset relationships with the current customer from the customer relationship model diagram is performed until the current customer is the preset customer;

[0190] The target customer is taken as a central node, each of the associated customers is taken as a non-central node, and the association relationship between the target customer and the associated customers is taken as a connecting edge to construct a target model graph.

[0191] Optionally, the acquisition module 10 is further used for:

[0192] Get raw data from relational databases;

[0193] Each customer, each customer's respective customer attributes, the associations between the customers, and the relationship attributes of the associations are extracted from the original data as the customer data.

[0194] The path planning device provided by the present application adopts the path planning method in the above embodiment, which can solve the technical problem of insufficient accuracy in determining the connection paths between various customers. Compared with the prior art, the beneficial effects of the path planning device provided by the present application are the same as the beneficial effects of the path planning method provided by the above embodiment, and the other technical features in the path planning device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0195] The present application provides a path planning device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the path planning method in the above-mentioned embodiment one.

[0196] Reference below Fig. 9 , which shows a schematic diagram of the structure of a path planning device suitable for implementing the embodiment of the present application. The path planning device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The path planning device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0197] like Fig. 9As shown, the path planning device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the path planning device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the path planning device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a path planning device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0198] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the model diagram can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the model diagram. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0199] The path planning device provided by the present application adopts the path planning method in the above embodiment, which can solve the technical problem of insufficient accuracy in determining the connection paths between various customers. Compared with the prior art, the beneficial effects of the path planning device provided by the present application are the same as the beneficial effects of the path planning method provided by the above embodiment, and the other technical features in the path planning device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0200] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0201] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0202] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the path planning method in the above-mentioned embodiment.

[0203] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0204] The computer-readable storage medium may be included in the path planning device; or may exist independently without being assembled into the path planning device.

[0205] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the path planning device, the path planning device: obtains customer data, and constructs a target model graph based on the customer data, wherein the target model graph takes a target customer among each customer in the customer data as a central node, takes associated customers among each customer that have an associated relationship with the target customer as non-central nodes, and takes the association relationship between the target customer and the associated customers as a connecting edge; determines a connected path set from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and nodes corresponding to preset customers in the non-central nodes.

[0206] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including client-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the client computer, partially on the client computer, as a separate software package, partially on the client computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the client computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0207] The model diagram and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the model diagram or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the model diagram, and the combination of the boxes in the block diagram and / or the model diagram can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0208] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0209] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned path planning method, and can solve the technical problem of insufficient accuracy in determining the connection paths between various customers. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the path planning method provided in the above-mentioned embodiment, and will not be elaborated here.

[0210] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned path planning method when executed by a processor.

[0211] The computer program product provided by the present application can solve the technical problem of insufficient accuracy in determining the connection paths between various clients. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the path planning method provided by the above embodiment, which will not be described in detail here.

[0212] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A path planning method, characterized in that: The method includes: Acquire customer data, and construct a target model graph based on the customer data, wherein the target model graph takes a target customer among the customers in the customer data as a central node, takes associated customers among the customers that have an associated relationship with the target customer as non-central nodes, and takes an associated relationship between the target customer and the associated customers as a connecting edge; A connected path set is determined from the target model graph according to a preset path-finding rule, wherein the node connected paths in the connected path set are used to connect the central node and nodes corresponding to preset customers in the non-central nodes.

2. The method according to claim 1, characterized in that The preset pathfinding rules include type priority rules; The step of determining a connected path set from the target model graph according to a preset path-finding rule comprises: Determine the priority of each preset path type based on the type priority rule; Each preset path type is traversed according to its respective priority, and node connection paths satisfying the preset path type are determined from the target model graph until the number of the node connection paths satisfies the preset number, thereby obtaining the connection path set.

3. The method according to claim 2, characterized in that The preset path finding rules also include path priority rules for each path under the same preset path type; The step of traversing each preset path type according to the priority of each preset path type, determining the node connection paths satisfying the preset path type from the target model graph until the number of the node connection paths satisfies the preset number, and obtaining the connection path set comprises: The type with the highest priority among the preset path types is used as the current traversal type; Taking the quantity difference as the target quantity, wherein the quantity difference is the preset quantity minus the path quantity, and the path quantity is the number of connecting paths of nodes in the connecting path set; Determine a current connected path that satisfies the current traversal type from the target model graph, and detect whether the number of the current connected paths is consistent with the target number, wherein the relationship between two adjacent nodes in the current connected path is consistent with the current traversal type; If the number of the current connection paths is equal to the target number, adding the current connection paths as the node connection paths to the connection path set; If the number of the current connected paths is less than the target number, the current connected path is added to the connected path set as the node connected path, the current traversal type is updated using a preset path type with a priority lower than the current traversal type, the target number is updated based on the number of the current connected paths, and the steps of determining the current connected paths that meet the current traversal type from the target model graph and detecting whether the number of the current connected paths is consistent with the target number are performed; If the number of the current connection paths is greater than the target number, determining the priority of each of the current connection paths based on the path priority rule, and adding the target number of paths with the highest priority among the current connection paths as the node connection paths to the connection path set; Until the number of paths is consistent with the preset number, the connected path set is obtained.

4. The method according to claim 3, characterized in that If the number of the current connection paths is equal to the target number, the step of adding the current connection paths as the node connection paths to the connection path set comprises: If the number of the current connection paths is equal to the target number, sorting the current connection paths according to the path priority rule; Each sorted current connection path is added to the connection path set as the node connection path.

5. The method according to claim 1, characterized in that Before the step of determining a connected path set from the target model graph according to a preset path-finding rule, the method further includes: Receive the customer's rule editing operation based on the rule editing interface; The preset path-finding rule is determined based on the operation data carried by the rule editing operation.

6. The method according to claim 1, characterized in that The step of constructing a target model graph based on the customer data comprises: Storing the customer data in a graph database to obtain a customer relationship model graph, wherein the customer relationship model graph uses each customer in the customer data as a model graph node, and uses the association relationship between each customer in the customer data as a model graph edge; The target model graph is constructed based on the customer relationship model graph.

7. The method according to claim 6, characterized in that The step of constructing the target model graph based on the customer relationship model graph includes: For any target relationship in each preset relationship, determine the first-layer customer connected to the target customer by a target edge from the customer relationship model graph, and add the first-layer customer to the associated customers, wherein the target edge is an edge in each model graph edge corresponding to the target relationship; The first-layer customer is taken as the current customer, and the next-layer customer having the preset relationships with the current customer is determined from the customer relationship model diagram, the next-layer customer is added to the associated customers, and the current customer is updated with the next-layer customer, and the step of determining the next-layer customer having the preset relationships with the current customer from the customer relationship model diagram is performed until the current customer is the preset customer; The target customer is taken as a central node, each of the associated customers is taken as a non-central node, and the association relationship between the target customer and the associated customers is taken as a connecting edge to construct a target model graph.

8. The method according to any one of claims 1 to 7, characterized in that The step of obtaining customer data includes: Get raw data from relational databases; Each customer, each customer's respective customer attributes, the associations between the customers, and the relationship attributes of the associations are extracted from the original data as the customer data.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the path planning method according to any one of claims 1 to 8 are implemented.

10. 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 steps of the path planning method according to any one of claims 1 to 8 are implemented.