Offline customer reach and route planning method and system based on geographic location

By collecting and analyzing data on customers' geographical location and social habits, and combining machine learning and reinforcement learning algorithms to dynamically adjust reach strategies and path planning, the problem of personalization and accuracy of customer reach and path planning in existing technologies is solved. Achieved efficient and accurate customer contact and path planning.

CN118396517BActive Publication Date: 2024-10-22NANJING TORTOISE & HARE RACE SOFTWARE RES INST CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410859988.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-22
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing technology lacks personalization and accuracy in customer contact and route planning, cannot effectively capture customers' real-time needs and changes, and the route planning system cannot dynamically adjust based on real-time traffic conditions and customer feedback.

Method used

By collecting data on customers' geographical location, behavioral trajectories and social habits, machine learning and reinforcement learning algorithms are used for preprocessing and path planning, and combined with real-time traffic and weather data, dynamically adjust reach strategies and path planning to achieve multi-channel reach and Optimal path calculation.

Benefits of technology

It improves the efficiency of customer contact and the accuracy of path planning, enhances customer satisfaction and conversion rate, and ensures that the system is real-time and optimal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396517B_ABST
    Figure CN118396517B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for offline customer reaching and path planning based on geographic location, which belongs to the technical field of geographic information system, and includes: collecting customers' geographic location, behavior trajectory and social habit data, using machine learning for preprocessing and outlier correction, segmenting customers based on an improved density clustering method, formulating reaching strategies in combination with real-time situations, extracting customers' points of interest using natural language processing, achieving multi-channel reaching, using reinforcement learning to build a path planning model, calculating the optimal path in combination with real-time traffic and weather data, introducing real-time road condition monitoring and customer feedback, and achieving dynamic path planning through an online learning algorithm. When a customer enters the reaching range, the reaching strategy is executed, and the effect is evaluated using big data, and the strategy and method are adjusted through a particle swarm optimization strategy, thereby improving customer reaching efficiency and path planning accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of geographic information systems, and more specifically, to an offline customer reaching and route planning method and system based on geographic location. Background Art

[0002] Customer reach refers to the process of effectively contacting and communicating with potential or existing customers through various channels and methods to achieve business goals, while route planning refers to the process of finding an optimal or suboptimal driving route given a starting point and an end point. Offline customer reach and route planning mainly rely on traditional market research and manual analysis, which is not only inefficient, but also difficult to accurately capture customers' real-time needs and changes. Among them, the existing route planning system can only provide static or predefined routes and cannot be dynamically adjusted according to real-time road conditions and customer feedback. Customer reach strategies are also often lacking in personalization and accuracy, making it difficult to meet the needs of different customer groups. With the rapid development of big data and artificial intelligence technologies, more and more companies are beginning to try to use advanced technologies to optimize customer reach and route planning.

[0003] For example, the patent with publication number CN115730884A discloses a method for optimal path planning for logistics transportation, including: first, establishing a directed graph for cargo transportation based on directed graph planning theory, and determining the physical conflict diversion points in the cargo transportation path; then converting the directed graph for cargo transportation into a weighted directed graph; and then using an improved ant colony algorithm to obtain the optimal path planning for logistics transportation; being able to select the road with the shortest distance and the best road conditions as the optimal path for logistics transportation within a specified time, thereby minimizing the cost of logistics transportation, which can not only meet the customer's needs in terms of transportation time, but also maximize the profits of logistics companies.

[0004] The above existing technologies all have the following problems: 1) The data dimension is single, only for the planning and optimization of physical paths, and mainly considers the directed graph of cargo transportation, road conditions and weighted physical factors, but does not take into account the multi-dimensional information of customer geographic location, behavior trajectory, and social habits; 2) There is a lack of consideration for real-time road conditions and customer feedback, and it is impossible to make timely dynamic adjustments; 3) Focus on path planning, and do not involve the formulation of customer reach strategies. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention proposes an offline customer reaching and path planning method and system based on geographic location. By collecting the customer's geographic location, behavior trajectory and social habit data, machine learning is used for preprocessing and outlier correction, and customers are segmented based on an improved density clustering method. Reach strategies are formulated in combination with real-time situations, and natural language processing is used to extract customer points of interest to achieve multi-channel reach. Reinforcement learning is used to build a path planning model, and the optimal path is calculated in combination with real-time traffic and weather data. Real-time road condition monitoring and customer feedback are introduced, and dynamic path planning is achieved through online learning algorithms. When the customer enters the reach range, the reach strategy is executed, and the effect is evaluated using big data. The strategy and method are adjusted through the particle swarm optimization strategy, thereby improving customer reach efficiency and path planning accuracy.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] Offline customer reach and route planning methods based on geographic location, including:

[0008] Step S1: Collect customer information data sets, use machine learning algorithms to pre-process the collected data, and automatically identify and correct outliers;

[0009] Step S2: Based on the pre-processed customer information data, use the density cluster analysis method to segment customers. According to the characteristics and needs of the segmented target customers, combined with real-time contextual data, formulate a contact strategy for each segmented target customer. Use natural language processing technology to analyze social media content, obtain attention information, formulate multi-channel contact methods, and adjust the contact time and frequency according to customer preferences and real-time context;

[0010] Step S3: Use the reinforcement learning algorithm to build a path planning model, combine the real-time environmental data, calculate the initial optimal path, introduce real-time traffic monitoring and customer feedback mechanism, compare and analyze the initial optimal path with the collected real-time traffic conditions and customer feedback, and perform multi-objective dynamic path planning based on the analysis results to obtain the optimal path;

[0011] Step S4: When the target customer enters the preset reach range according to the optimal path, the customer is reached according to the formulated reach strategy, and the customer reach and optimal path effects are evaluated in multiple dimensions using big data analysis methods. Based on the evaluation results, the particle swarm optimization strategy is used to automatically adjust the reach strategy and path planning method.

[0012] Specifically, the customer information data set includes geographic location information, map information, traffic information, and social habit information. The specific steps of step S2 include:

[0013] S201: Collect pre-processed customer geographic location information , behavioral trajectory information , social habits information , and perform multi-dimensional data fusion on the pre-processed customer information data to obtain the fused data:

[0014]

[0015] in, represents the i-th geographic location information, represents the jth behavior trajectory information, represents the kth social habit information, represents the lth fused customer information, i represents the number of geographic location information data, j represents the number of behavior trajectory information data, k represents the number of social habit information data, and l represents the number of fused customer information data;

[0016] S202: Fusion of data Perform feature extraction and convert the extracted features into data. Calculate the accuracy of any two points based on the converted feature data. , The similarity between them is obtained by Euclidean distance matrix ;

[0017] S203: Settings The maximum neighborhood value of each data ,according to , constructed using the modified Kruskal algorithm The minimum spanning tree of The neighborhood of The maximum distance from all data points to this data point , get the core distance of the data point ;

[0018] S204: Based on core distance , split the minimum spanning tree into different clusters to form a hierarchical clustering structure, and filter out unstable clusters. According to the hierarchical clustering results after filtering, divide customers into different segments ,in, Indicates Segmented customer groups, Represents the number of segmented customer groups.

[0019] Specifically, the specific steps of step S2 also include:

[0020] S205: Set reach targets based on segmented groups characteristics and needs for each group Develop a reach strategy and use sentiment analysis technology to analyze , identify customers’ emotional tendencies, extract customers’ interests, and build real-time situational portraits of customers based on real-time situational data;

[0021] S206: Based on the sentiment analysis results and real-time situational portraits, conduct multi-channel reach according to the formulated reach strategy and monitor the reach effect. At the same time, analyze the customer's active time to determine the best reach time window, and dynamically adjust the reach time and frequency based on feedback;

[0022] S207: Design different reach strategies and use A / B testing methods to evaluate different reach strategies and determine the best reach strategy.

[0023] Specifically, the Kruskal algorithm comprises the following steps:

[0024] S2031: Collecting fused data , using parallel computing and prediction models to predict based on historical customer information data Each Weight , and according to The values ​​are sorted using an approximate sorting algorithm. Sort in ascending order;

[0025] S2032: Create an empty minimum spanning tree and an empty union-find set, sorted in ascending order , from top to bottom, use and find to judge In , Do they belong to the same set? If not, Add to the minimum spanning tree, update and check the set, if it belongs to the same set, discard it ,At the same time, a dynamic data structure is used to maintain the minimum ,spanning tree;

[0026] S2033: Set the maximum number of iterations, based on the real-time status of the constructed minimum spanning tree and the visited point set, using The weight distribution is dynamically adjusted in S2032 to select the minimum strategy and perform iterative optimization. If the maximum number of iterations is reached, the iteration is stopped to obtain the optimized minimum spanning tree.

[0027] Specifically, the specific steps in step S3 include:

[0028] S301: Collect real-time traffic data, road conditions, and weather information, and perform preprocessing to obtain a preprocessed data set ,in, represents the qth pre-processed real-time traffic data, road conditions, and weather conditions information, and q represents the number of processed real-time traffic data, road conditions, and weather conditions information;

[0029] S302: Set the starting point and target point, collect historical environment data, define the state space, action space, and reward function of the path planning problem, build a reinforcement learning model, and use the historical environment data to iterate the training from the starting point according to the state-action-reward-state until the target point is reached, obtain the trained reinforcement learning model, and combine it with , get the initial optimal path ;

[0030] S303: Use vehicle-mounted sensors and cameras to collect road condition information in real time, establish a customer feedback mechanism, collect user feedback on route planning and driving experience, and compare and analyze the initial optimal route with the road condition information and feedback information collected in real time. , then the dynamic path planning process is triggered, where Represents all paths from the starting point to the target point;

[0031] S304: In the dynamic path planning process, the path planning model is updated in real time using an online learning algorithm, and the path is replanned according to the real-time road conditions and customer feedback to obtain a new optimal path. .

[0032] The offline customer contact and route planning system based on geographic location includes: customer contact module, analysis module, route planning module, monitoring and adjustment module;

[0033] The analysis module is used to analyze the characteristics and behaviors of potential customers based on the collected data, determine the target customer group, and perform geographic location positioning;

[0034] The path planning module is used to plan the optimal path according to the geographical location of the target customer and the location of the personnel;

[0035] The monitoring and adjustment module is used to monitor customer actions in real time and adjust the path and contact strategy according to the real-time situation.

[0036] Specifically, the customer reaching module includes a reaching strategy unit, in which the Kruskal algorithm is configured. The Kruskal algorithm is used to segment customers according to pre-processed customer information data.

[0037] Specifically, the analysis module includes: a positioning unit, a location analysis unit, and a customer screening unit;

[0038] The positioning unit is used to obtain real-time geographic location information through GPS, Wi-Fi, and Bluetooth positioning methods;

[0039] The location analysis unit is used to analyze customer density factors in different geographical areas and determine key expansion areas;

[0040] The customer screening unit is used to screen out target customers from the data set according to preset screening conditions.

[0041] Specifically, the path planning module includes: a path calculation unit, a path optimization unit, and a path simulation unit;

[0042] The path calculation unit is used to obtain the shortest or optimal path from the salesperson's current location to each target customer through reinforcement learning model training;

[0043] The path optimization unit is used to dynamically optimize and adjust the obtained path by considering traffic conditions and time factors;

[0044] The path simulation unit is used to simulate different path plans, evaluate their efficiency and feasibility, and select the best plan.

[0045] Specifically, the monitoring and adjustment module includes: a location tracking unit, a data storage unit, and a strategy adjustment unit;

[0046] The location tracking unit is used to track the customer's location in real time through the GPS positioning method;

[0047] The data storage unit is used to store the customer's profile information and location history data;

[0048] The strategy adjustment unit is used to analyze the effect of the reach strategy based on the data collected in real time, and adjust the reach path using a particle swarm optimization strategy.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] 1. The present invention proposes an offline customer reach and route planning system based on geographic location, and optimizes and improves the architecture, operating steps and processes. The system has the advantages of simple process, low investment and operating costs, and low production work costs.

[0051] 2. The present invention proposes an offline customer reaching and path planning method based on geographic location. By collecting and analyzing multi-dimensional data on customers' geographic locations, behavioral trajectories and social habits, the target customer groups are accurately segmented, and personalized reaching strategies are formulated for them, thereby improving reaching efficiency, increasing customer satisfaction and conversion rate. A path planning model is constructed using a reinforcement learning algorithm, combined with real-time traffic, road and weather data, and through real-time road condition monitoring and customer feedback mechanisms, the path planning is dynamically adjusted to ensure the real-time and optimality of the path.

[0052] 3. The present invention proposes an offline customer reaching and route planning method based on geographic location, which takes geographic location factors into consideration, combines social media content analysis, extracts customer interest points, and formulates a multi-channel reaching method, which can cover a wider customer group and improve the reaching effect. It collects road condition information and customer feedback in real time through on-board sensors and cameras, and can promptly discover and deal with problems in route planning or reaching strategies. At the same time, it uses online learning algorithms to make dynamic adjustments based on real-time feedback to ensure that the system always remains in the optimal state. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a flow chart of the offline customer reaching and route planning method based on geographic location of the present invention;

[0054] Figure 2 This is a customer reaching flow chart of the offline customer reaching and path planning method based on geographic location of the present invention;

[0055] Figure 3 This is a dynamic path planning flow chart of the offline customer reaching and path planning method based on geographic location of the present invention;

[0056] Figure 4 This is a module architecture diagram of the offline customer reach and route planning system based on geographic location of the present invention. DETAILED DESCRIPTION

[0057] Example 1

[0058] See also Figure 1-Figure 3 , an embodiment of the present invention provides: a method for offline customer reaching and path planning based on geographic location, comprising the following steps:

[0059] Step S1: Collect customer information data sets, use machine learning algorithms to pre-process the collected data, and automatically identify and correct outliers;

[0060] Among them, the collected customer information data sets include: geographic location data, map data, traffic data, and social habit data.

[0061] The specific steps for cleaning and preprocessing the collected data using machine learning algorithms include:

[0062] (1) Collect customer information data and integrate the collected data to obtain a data set;

[0063] (2) Check whether there are missing values ​​in the data set. If there are missing values, use the mean to fill or delete the records containing missing values;

[0064] (3) Use distance-based anomaly detection to automatically identify outliers in the data set, and replace or delete the detected outliers with the median to complete data correction;

[0065] (4) Encode the preprocessed data set and perform feature extraction and feature scaling;

[0066] (5) Perform quality assessment on the cleaned and preprocessed data.

[0067] Step S2: Based on the pre-processed customer information data, use the density cluster analysis method to segment customers. According to the characteristics and needs of the segmented target customers, combined with real-time contextual data, formulate a contact strategy for each segmented target customer. Use natural language processing technology to analyze social media content, obtain attention information, formulate multi-channel contact methods, and adjust the contact time and frequency according to customer preferences and real-time context;

[0068] Social habit information is obtained through API interfaces, including user activity data and interaction frequency on social media platforms, such as posting, likes, and comments; real-time contextual data includes festivals, promotions, and weather; and contact methods include SMS, email, APP push, and offline activities.

[0069] Density clustering analysis method is a clustering algorithm based on the spatial distribution density of objects. The core idea is to form clusters by connecting points with similar density. This clustering method does not rely on any predetermined shape, but is determined by the distribution of the data itself. Therefore, it can identify clusters of arbitrary shapes and identify and process noise points during the clustering process.

[0070] Step S3: Use the reinforcement learning algorithm to build a path planning model, combine the real-time environmental data, calculate the initial optimal path, introduce real-time traffic monitoring and customer feedback mechanism, compare and analyze the initial optimal path with the collected real-time traffic conditions and customer feedback, and perform multi-objective dynamic path planning based on the analysis results to obtain the optimal path;

[0071] Among them, real-time environmental data includes: real-time traffic data, road conditions, weather conditions; traffic data includes traffic flow, road condition information, and traffic event data.

[0072] The specific implementation steps of the online learning algorithm include:

[0073] (1) Load the pre-trained path planning model and set the parameters and initial values ​​of the online learning algorithm;

[0074] (2) Preprocess the collected real-time data, including cleaning, conversion and feature extraction, to obtain , and input the processed data into the path planning model;

[0075] (3) Based on the current state and objective function, the path planning model is used to perform preliminary path planning, and the preliminary planned path is adjusted and optimized in combination with real-time data and online learning feedback;

[0076] (4) During the driving process, the vehicle continuously collects online data and uses online learning algorithms to update the path planning model in real time and optimize the model parameters;

[0077] (5) After each model update, the path planning is re-performed to obtain the optimized path, and the optimal path is output to the vehicle control system to guide the vehicle to drive along the optimal path;

[0078] (6) The vehicle continues to drive and continuously collects online data, repeating the process of real-time path planning, online learning update, and path optimization and output to achieve dynamic path planning.

[0079] Step S4: When the target customer enters the preset reach range according to the optimal path, the customer is reached according to the formulated reach strategy, and the customer reach effect and the optimal path effect are evaluated in multiple dimensions using big data analysis methods. Based on the evaluation results, the particle swarm optimization strategy is used to automatically adjust the reach strategy and path planning method.

[0080] The reach strategies include: content personalization, reach channel selection, and time window optimization.

[0081] The multi-dimensional evaluation includes: evaluation of reach success rate, customer conversion rate, path efficiency, and customer satisfaction.

[0082] The specific implementation steps of step S4 include:

[0083] (1) Define customer reach evaluation indicators, including reach success rate, response time, feedback quality, and interaction frequency;

[0084] Among them, reach success rate refers to the ratio of the number of customers actually reached to the expected number of customers reached; response time refers to the time required from the customer entering the reach range to the actual reach of the customer; feedback quality refers to the customer's feedback on the reach information, such as satisfaction and conversion rate; interaction frequency refers to the number of times the customer interacts with the reach information, such as clicks, shares, and comments.

[0085] (2) Collect contact records and customer feedback data through the company's internal CRM system and customer service platform, clean and organize the collected data, and present the evaluation results in the form of charts and reports;

[0086] (3) Define the optimal path effect evaluation indicators, including: path efficiency, path reliability, and cost-effectiveness;

[0087] Among them, path efficiency refers to the efficiency of vehicles or customers traveling along the optimal path, such as driving time and distance; path reliability refers to the evaluation of the stability of the path in actual operation, such as whether congestion and accidents often occur; cost-effectiveness refers to the ratio of cost to benefit generated by using the optimal path.

[0088] (4) Use GPS positioning and map API tools to collect real-time location data of vehicles or customers, and combine it with road traffic data and weather data to obtain factors that affect the path effect, compare the difference between the actual driving path and the optimal path, analyze the causes and impacts, and use machine learning to predict the changing trend of the path effect;

[0089] (5) Based on the results of the reach effect evaluation, optimize the reach time, method, and content, and formulate differentiated reach strategies for different customer groups. At the same time, based on the results of the path effect evaluation, adjust the path planning algorithm and parameters, combine real-time traffic data and weather forecast information, and implement dynamic path planning to deal with emergencies.

[0090] (6) Use the particle swarm optimization algorithm to automatically adjust the parameters in the reach strategy and path planning method to find the optimal solution. Through continuous iteration and optimization, the reach strategy and path planning method can be continuously improved.

[0091] Among them, the specific steps of the particle swarm optimization strategy include:

[0092] (1) Initialize a group of particles based on the parameter space of the reach strategy and path planning method, where each particle represents a potential optimization solution, including the parameters of the reach strategy, such as the reach time and reach method, and the parameters of the path planning method, such as the path selection weight and obstacle avoidance strategy, and randomly assign an initial speed and position to each particle;

[0093] (2) According to the reach strategy and path planning method, simulate the customer reach and path planning process, and calculate the fitness value of each particle based on the simulation results. The fitness value is obtained by weighted summation based on multiple evaluation indicators, including reach success rate, path efficiency, and cost-effectiveness;

[0094] (3) For each particle, compare its current fitness value with the fitness value of the individual historical optimal solution. If the current value is better, update the individual optimal solution. In the entire particle group, find the particle with the best fitness value as the global optimal solution.

[0095] (4) Update the particle’s velocity and position based on the individual optimal solution and the global optimal solution, as well as the particle’s current velocity, position, and acceleration;

[0096] (5) Repeat steps (2) to (4) until the fitness value converges. During the iteration process, the particle swarm will continue to approach the optimal solution, thereby automatically adjusting the parameters of the reach strategy and path planning method;

[0097] (6) Apply the optimal solution obtained after iterative optimization to the actual reach strategy and path planning method, and perform customer reach and path planning tasks based on the optimized strategy and method.

[0098] Monitoring reach effects includes monitoring reach rate, click rate, and conversion rate indicators.

[0099] The customer information data set includes geographic location information, map information, traffic information, and social habit information. The specific steps of step S2 include:

[0100] S201: Collect pre-processed customer geographic location information , behavioral trajectory information , social habits information , and multi-dimensional data fusion is performed on the pre-processed customer information data to obtain the fused data ,in, represents the i-th geographic location information, represents the jth behavior trajectory information, represents the kth social habit information, represents the lth fused customer information, i represents the number of geographic location information data, j represents the number of behavior trajectory information data, k represents the number of social habit information data, and l represents the number of fused customer information data;

[0101] S202: Fusion of data Perform feature extraction and convert the extracted features into data. Calculate the accuracy of any two points based on the converted feature data. , The similarity between them is obtained by Euclidean distance matrix ;

[0102] S203: Settings The maximum neighborhood value of each data ,according to , constructed using the modified Kruskal algorithm The minimum spanning tree of The neighborhood of The maximum distance from all data points to this data point , get the core distance of the data point ;

[0103] Kruskal's algorithm constructs a subgraph with only n vertices and an empty edge set, and continuously adds edges with the smallest weight to the subgraph until all points belong to the same set, generating a minimum spanning tree.

[0104] S204: Based on core distance , split the minimum spanning tree into different clusters to form a hierarchical clustering structure, and filter out unstable clusters. According to the hierarchical clustering results after filtering, divide customers into different segments ,in, Indicates Segmented customer groups, Represents the number of segmented customer groups.

[0105] The specific steps of step S2 also include:

[0106] S205: Set reach targets based on segmented groups characteristics and needs for each group Develop a reach strategy and use sentiment analysis technology to analyze , identify customers’ emotional tendencies, extract customers’ interests, and build real-time situational portraits of customers based on real-time situational data;

[0107] The present invention utilizes natural language processing technology to perform sentiment analysis, identify positive, negative or neutral sentiment tendencies, and improve the reach effect.

[0108] S206: Based on the sentiment analysis results and real-time situational portraits, conduct multi-channel reach according to the formulated reach strategy and monitor the reach effect. At the same time, analyze the customer's active time to determine the best reach time window, and dynamically adjust the reach time and frequency based on feedback;

[0109] S207: Design different reach strategies, and use A / B testing methods to evaluate different reach strategies and determine the best reach strategy. The A / B testing method is the prior art in this field and is not an inventive solution of the present application, so it will not be elaborated here.

[0110] The specific steps of Kruskal algorithm include:

[0111] S2031: Collecting fused data , using parallel computing and prediction models to predict based on historical customer information data Each Weight , and according to The values ​​are sorted using an approximate sorting algorithm. Sort in ascending order;

[0112] S2032: Create an empty minimum spanning tree and an empty union-find set, sorted in ascending order , from top to bottom, use and find to judge In , Do they belong to the same set? If not, Add to the minimum spanning tree, update and check the set, if it belongs to the same set, discard it ,At the same time, a dynamic data structure is used to maintain the minimum ,spanning tree;

[0113] S2033: Set the maximum number of iterations, based on the real-time status of the constructed minimum spanning tree and the visited point set, using The weight distribution is dynamically adjusted in S2032 to select the minimum strategy and perform iterative optimization. If the maximum number of iterations is reached, the iteration is stopped to obtain the optimized minimum spanning tree.

[0114] The specific steps in step S3 include:

[0115] S301: Collect real-time traffic data, road conditions, and weather information, and perform preprocessing to obtain a preprocessed data set ,in, represents the qth pre-processed real-time traffic data, road conditions, and weather conditions information, and q represents the number of processed real-time traffic data, road conditions, and weather conditions information;

[0116] S302: Set the starting point and target point, collect historical environment data, define the state space, action space, and reward function of the path planning problem, build a reinforcement learning model, and use the historical environment data to iterate the training from the starting point according to the state-action-reward-state until the target point is reached, obtain the trained reinforcement learning model, and combine it with , get the initial optimal path ;

[0117] Define the state space: 1) Determine the state representation. According to the characteristics and requirements of the problem, define the representation of the state space. The states include the starting position, target position, current position, traffic congestion, road closures, and weather conditions. 2) State encoding. Use one-hot encoding, numerical encoding, or feature vector representation to convert state information into a model format.

[0118] Define the action space: 1) Determine the action set. Define the action path or direction set according to the problem requirements. 2) Action encoding. Use one-hot encoding or numerical encoding to convert the action information into a model format.

[0119] Define the reward function: 1) Determine the reward mechanism. The reward refers to the time, distance, and safety factors based on reaching the target. 2) Calculate the reward value. Calculate the reward value corresponding to each state action based on the state transitions and results in the historical data.

[0120] The specific steps of building a path planning model using reinforcement learning algorithms include:

[0121] (1) Define the state space, action space, and reward function of the path planning problem;

[0122] (2) Select the policy gradient method and initialize the policy network;

[0123] (3) At each time step, the client selects an action based on the current strategy, that is, a decision point on the path. The environment returns a new state and reward based on the client's action. At the same time, the client updates its strategy or value function based on the reward. The above process is repeated until the strategy converges.

[0124] (4) Use a test set or simulated environment to evaluate the performance of the trained path planning model and analyze the performance of the model in different scenarios, such as congestion and rainy and snowy weather.

[0125] S303: Use vehicle-mounted sensors and cameras to collect road condition information in real time, establish a customer feedback mechanism, collect user feedback on route planning and driving experience, and compare and analyze the initial optimal route with the road condition information and feedback information collected in real time. , then the dynamic path planning process is triggered, where Represents all paths from the starting point to the target point;

[0126] S304: In the dynamic path planning process, the path planning model is updated in real time using an online learning algorithm, and the path is replanned according to the real-time road conditions and customer feedback to obtain a new optimal path. .

[0127] Example 2

[0128] See also Figure 4 Another embodiment provided by the present invention is a geographical location-based offline customer reaching and path planning system, comprising:

[0129] Customer contact module, analysis module, route planning module, monitoring and adjustment module;

[0130] Customer contact module, used to formulate contact strategies and multi-channel contact methods based on customer location and preferences;

[0131] The analysis module is used to analyze the characteristics and behaviors of potential customers based on the collected data, determine the target customer groups, and perform geographic location positioning;

[0132] The route planning module is used to plan the optimal route based on the geographical location of the target customers and the location of the personnel;

[0133] The monitoring and adjustment module is used to monitor customer actions in real time and adjust the path and reach strategy according to the real-time situation.

[0134] Among them, the offline customer reach and route planning system based on geographic location also includes: a data processing module, a user interface and interaction module; a data collection and processing module for collecting and processing geographic location data and customer information; a user interface and interaction module for providing an interactive interface between the user and the system.

[0135] The customer reaching module includes a reaching strategy unit, in which the Kruskal algorithm is configured. The Kruskal algorithm is used to segment customers according to preprocessed customer information data.

[0136] Among them, the customer contact module also includes a message push unit, which is used to send personalized messages or notifications to target customers according to the strategy.

[0137] The analysis module includes: positioning unit, location analysis unit, and customer screening unit;

[0138] A positioning unit is used to obtain real-time geographic location information through GPS, Wi-Fi, and Bluetooth positioning methods;

[0139] Location analysis unit, used to analyze customer density factors in different geographic areas and determine key expansion areas;

[0140] The customer screening unit is used to screen out target customers from the data set according to preset screening conditions.

[0141] In addition, the analysis module also includes: a map data unit, a customer portrait construction unit, and a data analysis unit; the map data unit is used to store and update map data, including roads, buildings, and terrain information; the customer portrait construction unit is used to construct a customer's characteristic portrait based on the data; the data analysis unit is used to analyze the customer's location and behavior patterns.

[0142] The path planning module includes: path calculation unit, path optimization unit, and path simulation unit;

[0143] A path calculation unit is used to obtain the shortest or optimal path from the salesperson's current location to each target customer through reinforcement learning model training;

[0144] The path optimization unit is used to dynamically optimize and adjust the obtained path by considering traffic conditions and time factors;

[0145] The path simulation unit is used to simulate different path plans, evaluate their efficiency and feasibility, and select the best plan.

[0146] The monitoring and adjustment module includes: a location tracking unit, a data storage unit, and a strategy adjustment unit;

[0147] Location tracking unit, used to track the customer's location in real time through GPS positioning method;

[0148] A data storage unit for storing customer profile information and location history data;

[0149] The strategy adjustment unit is used to analyze the effect of the reach strategy based on the real-time collected data and adjust the reach path using the particle swarm optimization strategy.

[0150] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in the field may also change, modify, replace and modify the above-mentioned embodiments without departing from the purpose of the present invention and the scope of protection of the present invention, and all of these are within the protection of the present invention.

Claims

1. A method for offline customer contact and route planning based on geographic location, characterized in that: include: Step S1: Collect customer information data sets, use machine learning algorithms to pre-process the collected data, and automatically identify and correct outliers; Step S2: Based on the pre-processed customer information data, use the density cluster analysis method to segment customers. According to the characteristics and needs of the segmented target customers, combined with real-time contextual data, formulate a contact strategy for each segmented target customer. Use natural language processing technology to analyze social media content, obtain attention information, formulate multi-channel contact methods, and adjust the contact time and frequency according to customer preferences and real-time context; Step S3: Use the reinforcement learning algorithm to build a path planning model, combine the real-time environmental data, calculate the initial optimal path, introduce real-time traffic monitoring and customer feedback mechanism, compare and analyze the initial optimal path with the collected real-time traffic conditions and customer feedback, and perform multi-objective dynamic path planning based on the analysis results to obtain the optimal path; Step S4: When the target customer enters the preset reach range according to the optimal path, the customer is reached according to the formulated reach strategy, and the customer reach and optimal path effects are evaluated in multiple dimensions using big data analysis methods. According to the evaluation results, the reach strategy and path planning method are automatically adjusted using the particle swarm optimization strategy; The customer information data set includes geographic location information, map information, traffic information, and social habit information. The specific steps of step S2 include: S201: Collect pre-processed customer geographic location information , behavioral trajectory information , social habits information , and perform multi-dimensional data fusion on the pre-processed customer information data to obtain the fused data: ; in, represents the i-th geographic location information, represents the jth behavior trajectory information, represents the kth social habit information, represents the lth fused customer information, i represents the number of geographic location information data, j represents the number of behavior trajectory information data, k represents the number of social habit information data, and l represents the number of fused customer information data; S202: Fusion of data Perform feature extraction and convert the extracted features into data. Calculate the accuracy of any two points based on the converted feature data. , The similarity between them is obtained by Euclidean distance matrix ; S203: Settings The maximum neighborhood value of each data ,according to , constructed using the modified Kruskal algorithm The minimum spanning tree of The neighborhood of The maximum distance from all data points to this data point , get the core distance of the data point ; S204: Based on core distance , split the minimum spanning tree into different clusters to form a hierarchical clustering structure, and filter out unstable clusters. According to the hierarchical clustering results after filtering, divide customers into different segments ,in, Indicates Segmented customer groups, Indicates the number of segmented customer groups; The specific steps of step S2 also include: S205: Set the reach target and formulate a reach strategy for each group based on the characteristics and needs of the segmented groups. At the same time, use sentiment analysis technology to identify the customer's emotional tendencies, extract customer interests, and build a real-time situational portrait of the customer in combination with real-time situational data; S206: Based on the sentiment analysis results and real-time situational portraits, conduct multi-channel reach according to the formulated reach strategy and monitor the reach effect. At the same time, analyze the customer's active time to determine the best reach time window, and dynamically adjust the reach time and frequency based on feedback; S207: Design different reach strategies and use A / B testing methods to evaluate different reach strategies and determine the best reach strategy; The specific steps of the Kruskal algorithm include: S2031: Collecting fused data , using parallel computing and prediction models to predict based on historical customer information data Each Weight , and according to The values ​​are sorted using an approximate sorting algorithm. Sort in ascending order; S2032: Create an empty minimum spanning tree and an empty union-find set, sorted in ascending order , from top to bottom, use and find to judge In , Do they belong to the same set? If not, Add to the minimum spanning tree, update and check the set, if they belong to the same set, discard them ,At the same time, a dynamic data structure is used to maintain the minimum ,spanning tree; S2033: Set the maximum number of iterations, based on the real-time status of the constructed minimum spanning tree and the visited point set, using The weight distribution is dynamically adjusted in S2032 to select the minimum The strategy is used and iterative optimization is performed. If the maximum number of iterations is reached, the iteration is stopped to obtain the optimized minimum spanning tree. The specific steps in step S3 include: S301: Collect real-time traffic data, road conditions, and weather information, and perform preprocessing to obtain a preprocessed data set ,in, represents the qth pre-processed real-time traffic data, road conditions, and weather conditions information, and q represents the number of processed real-time traffic data, road conditions, and weather conditions information; S302: Set the starting point and target point, collect historical environment data, define the state space, action space, and reward function of the path planning problem, build a reinforcement learning model, and use the historical environment data to iterate the training from the starting point according to the state-action-reward-state until the target point is reached, obtain the trained reinforcement learning model, and combine it with , get the initial optimal path ; S303: Use vehicle-mounted sensors and cameras to collect road condition information in real time, establish a customer feedback mechanism, collect user feedback on route planning and driving experience, and compare and analyze the initial optimal route with the road condition information and feedback information collected in real time. , then the dynamic path planning process is triggered, where Represents all paths from the starting point to the target point; S304: In the dynamic path planning process, the path planning model is updated in real time using an online learning algorithm, and the path is replanned according to the real-time road conditions and customer feedback to obtain a new optimal path. .

2. A geographical location-based offline customer reaching and path planning system, used to implement the geographical location-based offline customer reaching and path planning method according to claim 1, characterized in that: include: Customer contact module, analysis module, route planning module, monitoring and adjustment module; The customer contact module is used to formulate contact strategies and multi-channel contact methods according to the customer's geographical location and preferences; The analysis module is used to analyze the characteristics and behaviors of potential customers based on the collected data, determine the target customer group, and perform geographic location positioning; The path planning module is used to plan the optimal path according to the geographical location of the target customer and the location of the personnel; The monitoring and adjustment module is used to monitor customer actions in real time and adjust the path and contact strategy according to the real-time situation.

3. The geographic location-based offline customer reach and route planning system according to claim 2, characterized in that: The customer reaching module includes a reaching strategy unit, in which a Kruskal algorithm is configured. The Kruskal algorithm is used to segment customers according to pre-processed customer information data.

4. The geographic location-based offline customer reach and route planning system according to claim 3, characterized in that: The analysis module includes: a positioning unit, a location analysis unit, and a customer screening unit; The positioning unit is used to obtain real-time geographic location information through GPS, Wi-Fi, and Bluetooth positioning methods; The location analysis unit is used to analyze customer density factors in different geographical areas and determine key expansion areas; The customer screening unit is used to screen out target customers from the data set according to preset screening conditions.

5. The geographic location-based offline customer reach and route planning system according to claim 4, characterized in that: The path planning module includes: a path calculation unit, a path optimization unit, and a path simulation unit; The path calculation unit is used to obtain the shortest or optimal path from the salesperson's current location to each target customer through reinforcement learning model training; The path optimization unit is used to dynamically optimize and adjust the obtained path by considering traffic conditions and time factors; The path simulation unit is used to simulate different path plans, evaluate their efficiency and feasibility, and select the best plan.

6. The geographic location-based offline customer reaching and route planning system according to claim 5, characterized in that: The monitoring and adjustment module includes: a location tracking unit, a data storage unit, and a strategy adjustment unit; The location tracking unit is used to track the customer's location in real time through the GPS positioning method; The data storage unit is used to store the customer's profile information and location history data; The strategy adjustment unit is used to analyze the effect of the reach strategy based on the data collected in real time, and adjust the reach path using a particle swarm optimization strategy.