Route scheduling system based on combination of deep learning and optimization algorithm
The route scheduling system that combines deep learning and optimization algorithms solves the problem of low route scheduling efficiency in the existing technology, realizes dynamic route adjustment and reasonable allocation of employee work, and improves the adaptability of route planning and employee work efficiency.
Patent Information
- Application Number
- CN202410559303.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-08-30
AI Technical Summary
Existing route scheduling technology is inefficient in the face of real-time traffic conditions changes and resource optimization allocation, making it difficult to ensure the effectiveness and rationality of allocation plans. Especially in large enterprises, it makes it difficult for employees to judge route efficiency and the difficulty of completing tasks.
Adopting a route scheduling system based on a combination of deep learning and optimization algorithms, the route scheduling terminal is connected to multiple data sources to obtain information, perform data integration and intelligent planning, generate optimal visiting routes, and conduct real-time monitoring on employee mobile terminals and adjustments, using OSRM and OptaPlanner calculation engines to optimize routes, and combining machine learning prediction models for traffic prediction and plan optimization.
It achieves dynamic and flexible route scheduling, reduces the impact of road congestion and emergencies on planning, improves the predictability and robustness of route planning, ensures the reasonable distribution and efficient utilization of employee work saturation, and avoids overwork. pressure.
Smart Images

Figure CN118569461A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a route scheduling system based on the combination of deep learning and optimization algorithm. Background Art
[0002] With the rapid development of information technology, route scheduling technology has shown great value in many business scenarios, especially in the fields of logistics distribution, sales visits, service scheduling, etc. However, existing technologies still have certain limitations when facing real-time traffic changes, resource optimization and allocation, and other issues. In the traditional model, for business processes that require field visits or maintenance of multiple stores, staff are often first assigned a series of stores, and then manually integrate these stores into different visit routes one by one. Under this mode of operation, the number of stores that each route should include and their specific combinations are not pre-set, resulting in inefficient resource allocation. Especially in multinational companies with a large staff team and widely distributed stores, the route allocation task is not only time-consuming, but also difficult to ensure the effectiveness and rationality of the allocation plan.
[0003] If there is no scientific route planning and employees are left to decide the order of visits, a series of new problems may arise. For example, it is difficult for employees to judge whether the selected route is efficient and whether they can successfully complete the task of visiting all stores within the specified time. At the same time, the company's management cannot achieve refined management of employee visits and it is difficult to accurately assess how many stores each employee is most suitable to visit, thus limiting the improvement of overall work efficiency and effectiveness. Summary of the invention
[0004] In view of the above analysis, the present invention aims to disclose a route scheduling system based on the combination of deep learning and optimization algorithm; to optimally schedule store visit routes, provide multiple overall optimal routes for store visit staff, and optimize the number of stores on each route, taking into account both the efficiency and balance of store visits.
[0005] The present invention discloses a route scheduling system based on the combination of deep learning and optimization algorithm, comprising: a route scheduling terminal and at least one employee mobile terminal;
[0006] The route scheduling end is connected to multiple data sources to obtain information about stores and store visiting employees, perform data integration processing and intelligent planning processing of visiting routes on the obtained information, and generate a visiting route assigned to each employee within a set time period; and then adjust each employee's visiting route to form an employee's visiting plan;
[0007] The employee mobile terminal is in communication with the route scheduling terminal to obtain the visit plan assigned to the employee, display the latest visit tasks and visit routes, guide the employee to visit stores, and send feedback information including real-time geographic location and visit progress to the route scheduling terminal;
[0008] The route scheduling end monitors the employee's visit in real time according to the feedback information from the employee's mobile terminal; when the visit plan needs to be adjusted in real time, the visit plan is adjusted according to the real-time monitoring and traffic condition prediction results and sent to the employee's mobile terminal.
[0009] Furthermore, the route scheduling terminal includes: a data acquisition module, an intelligent planning module and a real-time adjustment module;
[0010] The data acquisition module is connected to multiple data sources to obtain information about stores and store visiting employees, integrates and processes the data, and generates a structured store information list and employee information list;
[0011] The intelligent planning module, based on the store information list and employee information list information, evaluates the distance between stores and the travel time between stores under the specified transportation; sets employees, stores and employee initial positions as decision variables, constructs an NP-hard problem model that meets the route planning requirements, and uses the OptaPlanner calculation engine to obtain the distribution of all route stores assigned to each employee within a set time period and the order of visiting stores on a single route to form the employee's visit route; and generates the employee's visit plan based on factors including the weight of the stores involved in the employee's visit route, the frequency of visits and the working hours, and sends it to the employee's mobile terminal;
[0012] The real-time adjustment module is connected to the employee's mobile terminal, receives feedback information including real-time geographic location and visit progress sent by the employee's mobile terminal, and monitors the employee's visit in real time; adjusts the visit plan according to the real-time monitoring and traffic condition prediction results, and sends it to the employee's mobile terminal.
[0013] Furthermore, the data acquisition module includes a data center and a data integration processing module;
[0014] The data center is used to extract information about stores and store visiting employees from multiple different data sources to form a data warehouse;
[0015] The data integration processing module is used to verify, clean and standardize the data in the data warehouse to obtain standardized data; and fill the standardized data into the store information list and the employee information list according to the formatted content of the table.
[0016] Furthermore, the store table structure includes: store ID, user / organization ID, user / organization code, user / organization name, store code, store name, store address, city, store level, calculation times / monthly visit times, store time, store latitude and longitude, creation time and tenant ID items;
[0017] The employee table structure includes: employee ID, user / organization ID, user / organization code, user / organization name, monthly working days, daily working hours, average travel time, whether to enable virtual departure point, latitude and longitude of at least one departure point, and tenant ID items.
[0018] Furthermore, the intelligent planning module includes a path planning engine and an employee task platform;
[0019] The path planning engine uses the map route planning service OSRM + OptaPlanner calculation engine to plan the visit route;
[0020] Among them, the map route planning service OSRM is used to calculate the distance between all stores or to evaluate the travel time between stores under specified transportation tools;
[0021] Employees, stores, and their initial locations are set as decision variables, and the OptaPlanner calculation engine is used to calculate the NP-hard problem model that meets the route planning requirements; the visit route is planned;
[0022] The employee task platform is used to obtain the visiting routes assigned to employees; and generate a visiting plan that is sent to the corresponding employee's mobile terminal based on factors including the weights of the stores involved in the visiting routes, the visiting frequency, and the working hours.
[0023] Furthermore, the hard constraints set on the OptaPlanner engine include:
[0024] a) Fixed visit frequency standards for stores;
[0025] b) Daily working hours limit;
[0026] c) Setting the time of staying in the store;
[0027] The soft constraints set on the OptaPlanner engine include:
[0028] a) The number of routes that employees should perform each month should not be less than the set number;
[0029] b) Each planned route should cover at least the set number of stores;
[0030] c) Minimize the total travel distance or accumulated travel time.
[0031] Furthermore, a store area map and an employee visit route display area and a visit plan editing area are set on the display screen of the employee task platform;
[0032] Through the visit plan editing area, the date and time of the visit route and the stores on the route can be adjusted, the visit time can be rearranged, stores between routes can be moved and replaced, and the order of store visits within the route can be modified; the planned employee route can be displayed in the store area map and the employee visit route display area.
[0033] Furthermore, the real-time adjustment module includes a real-time monitoring module, a road condition prediction and evaluation module, and a visit plan optimization module;
[0034] The monitoring module is used for real-time monitoring of employee location tracking, road condition monitoring, task progress feedback, store visit verification, work efficiency evaluation and emergency response;
[0035] The road condition prediction and evaluation module is used to predict and evaluate the road condition based on the emergency conditions monitored in real time to determine the optimal driving route;
[0036] The visit plan optimization module is used to adjust and optimize the visit plan according to the set adjustment strategy.
[0037] Furthermore, in the road condition prediction and evaluation module, a machine learning prediction model is used to perform road condition prediction and evaluation; the model captures massive traffic data streams in real time, based on historical data, real-time monitoring data and other relevant environmental factors, and uses deep learning and time series analysis to simulate and predict road traffic conditions within a certain period of time in the future.
[0038] Furthermore, the optimization process of the visit plan optimization module includes:
[0039] 1) Data collection and analysis: Real-time collection of key internal and external variables, including employee feedback on site conditions, traffic data, changes in customer appointments, and adjustments to store business hours, to analyze the impact of these changes on the estimated arrival time and task priority of the original visit plan;
[0040] 2) Set up a triggering mechanism to adjust the visit plan: When the changes in the monitored key variables trigger the adjustment mechanism of the visit plan, the route is replanned to formulate a new visit plan;
[0041] 3) Re-plan the route based on real-time traffic conditions: Use OSRM to re-plan the optimal visit route;
[0042] 4) Re-prioritize visit tasks: Re-prioritize visit tasks based on multiple criteria such as urgency, customer importance, business needs, etc.
[0043] 5) Communicate and notify the adjusted visit plan: automatically push the adjusted visit plan to the affected employees or send it to a third-party service; and notify the customer at the same time;
[0044] 6) Continuous monitoring and optimization: During the implementation of the new plan, various dynamic information will continue to be monitored to ensure that the plan is always consistent with the actual situation.
[0045] The present invention can achieve one of the following beneficial effects:
[0046] 1. It realizes dynamic and flexible route scheduling, fully considers real-time factors, and effectively reduces the impact of factors such as road congestion and emergencies on the planned route.
[0047] 2. The introduction of machine learning prediction improves the predictability and robustness of route planning, making the planning scheme more in line with actual environmental changes.
[0048] 3. Quantitatively evaluate and reasonably allocate employees’ work saturation to ensure efficient use of human resources while avoiding excessive work pressure. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0050] Figure 1 A block diagram of a route scheduling system based on the combination of deep learning and optimization algorithm in an embodiment of the present invention;
[0051] Figure 2 A schematic block diagram of the connection of the route scheduling terminal in an embodiment of the present invention;
[0052] Figure 3 A summary diagram of route results in an embodiment of the present invention;
[0053] Figure 4 This is a schematic diagram of an employee route list in an embodiment of the present invention;
[0054] Figure 5 This is a schematic diagram of a list of stores on a certain route of an employee in an embodiment of the present invention;
[0055] Figure 6 A schematic diagram of the distribution of a store map on a certain route of an employee in an embodiment of the present invention;
[0056] Figure 7 This is a schematic diagram of a list of stores on a certain route of an employee in an embodiment of the present invention;
[0057] Figure 8 This is a display screen diagram of the employee task platform in an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used to illustrate the principles of the present invention together with the embodiments of the present invention.
[0059] Embodiment 1
[0060] One embodiment of the present invention discloses a route scheduling system based on the combination of deep learning and optimization algorithm, such as Figure 1 As shown, it includes: a route scheduling terminal and at least one employee mobile terminal;
[0061] The route scheduling end is connected to multiple data sources to obtain information about stores and store visiting employees, perform data integration processing and intelligent planning processing of visiting routes on the obtained information, and generate a visiting route assigned to each employee within a set time period; and then adjust each employee's visiting route to form an employee's visiting plan;
[0062] The employee mobile terminal is in communication with the route scheduling terminal to obtain the visit plan assigned to the employee, display the latest visit tasks and visit routes, guide the employee to visit stores, and send feedback information including real-time geographic location and visit progress to the route scheduling terminal;
[0063] The route scheduling end monitors the employee's visit in real time according to the feedback information from the employee's mobile terminal; when the visit plan needs to be adjusted in real time, the visit plan is adjusted according to the real-time monitoring and traffic condition prediction results and sent to the employee's mobile terminal.
[0064] Specifically, Figure 2 As shown, the route scheduling terminal includes: a data acquisition module, an intelligent planning module and a real-time adjustment module;
[0065] The data acquisition module is connected to multiple data sources to obtain information about stores and store visiting employees, integrates and processes the data, and generates a structured store information list and employee information list;
[0066] The intelligent planning module, based on the store information list and employee information list information, evaluates the distance between stores and the travel time between stores under the specified transportation; sets employees, stores and employee initial positions as decision variables, constructs an NP-hard problem model that meets the route planning requirements, and uses the OptaPlanner calculation engine to obtain the distribution of all route stores assigned to each employee within a set time period and the order of visiting stores on a single route to form the employee's visit route; and generates the employee's visit plan based on factors including the weight of the stores involved in the employee's visit route, the frequency of visits and the working hours, and sends it to the employee's mobile terminal;
[0067] The real-time adjustment module is connected to the employee's mobile terminal, receives feedback information including real-time geographic location and visit progress sent by the employee's mobile terminal, and monitors the employee's visit in real time; adjusts the visit plan according to the real-time monitoring and traffic condition prediction results, and sends it to the employee's mobile terminal;
[0068] The route scheduling end also includes a data interface; the data interface includes a communication interface connected to the employee mobile terminal, a communication interface connected to the third-party application service, and a communication interface connected to the store client, and other data interfaces can be expanded as needed.
[0069] More specifically, the data acquisition module includes a data center and a data integration processing module;
[0070] The data center is used to extract information about stores and store visiting employees from multiple different data sources to form a data warehouse;
[0071] The data integration processing module is used to verify, clean and standardize the data in the data warehouse to obtain standardized data; and fill the standardized data into the store information list and the employee information list according to the formatted content of the table.
[0072] In the data center, data is extracted through data interfaces, databases or data warehouses opened by directly connected upstream systems, or data interfaces that meet the route scheduling protocol provided for route scheduling, as well as real-time traffic data or interfaces provided by third parties, and business-related parameters required for route scheduling, including store visit frequency, employee daily working hours, and employee monthly working days, are calculated to form a data warehouse.
[0073] For example, by connecting with the SFA (sales automation) and CRM (customer relationship management) systems through data interfaces, basic store information including store location, importance level, and historical sales data can be captured from the SFA and CRM systems;
[0074] Connect to real-time traffic data providers through API to obtain real-time traffic information;
[0075] In a more preferred solution, other relevant data sources such as weather forecasts are also accessed.
[0076] In order to ensure the consistency and integrity of multiple different data sources, the data center performs the following processing when extracting data:
[0077] 1) Transaction processing: When extracting data from different data sources, the data center encapsulates the data extraction process in a transaction to ensure the consistency of the data source before and after the extraction. If the extraction fails or a problem occurs, the transaction can be rolled back to the original state to avoid leaving inconsistent data traces.
[0078] 2) Three-phase commit (3PC): For cross-system or cross-database data extraction, the data center module adopts distributed transaction processing. The data center distributed transaction processing adopts a three-phase commit protocol to ensure that data change operations between multiple data sources can either succeed or fail to achieve data consistency.
[0079] 3) Message queue middleware: The microservice version of route scheduling uses the message queue middleware Kafka as a buffer and intermediary. The data source first publishes the change information to the message queue, and the data center subscribes and consumes the messages and processes the messages sequentially to ensure that the data arrives in order and is not missed.
[0080] 4) Change Data Capture (CDC): The data center supports the use of CDC technology to capture change records of data sources (such as binlog and redo log of MySQL database), and then synchronizes these changes to the data center incrementally to ensure that the extracted data is always up-to-date and complete.
[0081] 5) Primary key / unique constraints and indexes: At the data storage level in the data center, establish primary key constraints, unique constraints, and appropriate indexes to prevent inconsistencies caused by repeated insertion or update of data.
[0082] 6) Idempotent design: The data extraction service in the data center is designed as an idempotent operation, that is, no matter how many times it is executed, as long as the input is the same, the result is the same. In this way, even if repeated extraction occurs due to network fluctuations, it will not affect the consistency of the final data.
[0083] Through the above processing, the data required for route scheduling is extracted into its own data warehouse;
[0084] The data integration processing module verifies, cleans and standardizes the data in the data warehouse to obtain standardized data.
[0085] During the data loading phase after extraction, strict data verification rules are set to perform integrity and consistency checks on the extracted data. Data that does not comply with the rules will not be loaded, and abnormalities will be reported. The quality of incoming data is ensured through the data cleaning process, and data non-standardization issues are resolved through standardized processing.
[0086] Specifically, the verification, cleaning and standardization processing in the data integration processing module includes:
[0087] 1) Perform data verification including format verification, integrity verification, consistency verification, reference integrity verification and rationality verification:
[0088] in,
[0089] Format verification: Check whether the data conforms to the expected format, such as whether the date and month, latitude and longitude values, number of visits, etc. conform to the standard format. For numeric data, check whether its digital format is correct and whether there are any non-numeric characters mixed in.
[0090] Completeness check: Check whether there are missing values in the fields of the data set, determine the degree of missing values by calculating the missing value ratio, and formulate a reasonable processing strategy. Verify whether key fields are complete, such as whether necessary information such as "store latitude and longitude" and "employee departure point" is filled in.
[0091] Consistency check: Check logical contradictions in data, such as "daily working hours" should not exceed 24 hours, "monthly working days" should not exceed the number of natural days in the month, etc. Compare related data tables to ensure that foreign key constraints are met and there is no invalid data referenced. For example, employees must be assigned to stores, and the employee table information corresponding to the store table cannot be missing.
[0092] Referential integrity check: Check whether the data violates referential integrity, such as whether the "store type" enumeration value exists in the predefined enumeration list.
[0093] Reasonableness check: Verify the rationality of data based on business rules or domain knowledge, such as the longitude value of the longitude and latitude values should be in the range of 0-180, and the latitude value should be in the range of 0-90.
[0094] 2) Perform data cleaning including processing of missing values, outliers and duplicate values;
[0095] in,
[0096] Handling missing values: Delete records with too many missing values and record the deleted data for later manual proofreading. Sometimes it is also necessary to fill in missing values. For example, if the latitude and longitude of the starting point of some employees are missing, an intermediate location will be calculated as a virtual starting point by referring to the latitude and longitude of the store they are assigned during preprocessing.
[0097] Handling outliers: Define thresholds to remove obviously abnormal data points, and use box plots to identify outliers and remove stores distributed across cities.
[0098] Handling duplicate values: Find duplicate records by unique key and decide whether to keep one copy or merge the records. For example, store data uses store code as the unique key.
[0099] 3) Perform data conversion and standardization;
[0100] Convert data types, such as converting strings to dates or numbers. Standardize or normalize numerical features so that data can be easily compared and analyzed at the same scale. For example, if the longitude and latitude are using coordinate systems from different map companies, they need to be unified into the same coordinate coefficient value.
[0101] 4) Clear irrelevant or erroneous records;
[0102] It is also necessary to clear irrelevant or erroneous records, including incorrectly entered test data and illegal characters.
[0103] Fill in the standardized data into the store information list and employee information list according to the formatted content of the table.
[0104] The store table structure includes: store ID, user / organization ID, user / organization code, user / organization name, store code, store name, store address, city, store level, calculation times / monthly visits, store time, store latitude and longitude, creation time, and tenant ID items, as shown in the following table:
[0105] Column Name type describe id bigint ID org_id bigint User / Organization ID org_code varchar(50) User / Organization Code org_name varchat(200) User / Organization Name cust_code varchar(50) Store code cust_name varchar(50) Store Name addr varchar(200) Store Address city varchar(50) City cust_level varchar(5) Store level calc_count int Calculation times / monthly visits dwell_time int Length of time in store lon varchar(50) Store longitude lat varchar(50) Store Latitude created datetime Creation time tenant_id bigint Tenant ID
[0106] The employee table structure includes: employee ID, user / organization ID, user / organization code, user / organization name, monthly working days, daily working hours (unit: minutes), average travel time, whether to enable virtual departure point, latitude and longitude of at least one departure point, and tenant ID items; the details are as follows
[0107] Column Name type describe Id bigint ID org_id bigint User / Organization ID org_code varchar(50) User / Organization Code org_name varchar(200) User / Organization Name vehicle_count int Monthly working days vehicle_capacity int Daily working hours (unit: minutes) avg_transitime int Average travel time use_default_depot tinyint Whether to enable virtual starting point depot_lon decimal(23, 20) Starting point 1 longitude depot_lat decimal(23, 20) Starting point 1 latitude depot_lon2 decimal(23, 20) Starting point 2 longitude depot_lat2 decimal(23, 20) Starting point 2 latitude tenant_id bigint Tenant ID
[0108] Specifically, the intelligent planning module includes a path planning engine and an employee task platform;
[0109] The path planning engine uses the map route planning service OSRM (Open Source Routing Machine) + OptaPlanner calculation engine to plan the visit route;
[0110] The employee task platform is used to obtain the visiting routes assigned to employees; and generate a visiting plan that is sent to the corresponding employee's mobile terminal based on factors including the weights of the stores involved in the visiting routes, the visiting frequency, and the working hours.
[0111] Specifically, in the path planning engine, the map route planning service OSRM is used to calculate the distance between all stores or to evaluate the travel time between stores under specified transportation tools; employees, stores and employee initial positions are set as decision variables to construct an NP-hard (Non-deterministic Polynomial hard) problem model that meets the route planning requirements; and the visit route is planned using the OptaPlanner calculation engine;
[0112] Specifically, the OptaPlanner computing engine uses heuristic optimization algorithms such as improved genetic algorithm, simulated annealing algorithm, hill climbing pedometer algorithm, flood algorithm, taboo search algorithm, delayed reception algorithm, variable neighborhood descent algorithm, etc., combined with path search algorithms such as Dijkstra algorithm and A* algorithm to build a multi-objective optimization model to solve the route planning problem.
[0113] More specifically, factors such as travel time, work saturation, and total route length are fully considered in the model to ensure that the planning results meet actual business needs.
[0114] Provide all the basic information needed for calculation, such as store information (including travel time between stores, store in-store time, coordinate longitude and latitude, number of store visits per month, etc.), employee information, employee departure point information, number of routes to be calculated, daily working hours, etc., to the OptaPlanner engine and start the calculation service; plan multiple different visit routes for employees every day for a whole month at one time. For example, in a month with 20 working days, calculate a total of 20 reasonable travel routes for each employee.
[0115] In order to formulate planning rules that meet business needs in a targeted manner and generate the optimal route plan that not only meets customer needs but also conforms to actual operations, this embodiment sets soft and hard constraints on the OptaPlanner engine;
[0116] Among them, hard constraints are the basic rules that are indispensable and must be strictly followed in route scheduling calculations, and soft constraints are the rules for achieving ideal goals as much as possible under the premise of fully satisfying all hard constraints;
[0117] Specific hard constraints include:
[0118] a) Fixed visit frequency standards for stores;
[0119] For example, a Class A store needs to be visited four times a month, while a Class B store needs to be visited twice.
[0120] b) Daily working hours limit;
[0121] Ensure that employees' daily working hours do not exceed the legal limit of 8 hours.
[0122] c) Setting the time of staying in the store;
[0123] For example, the requirement for each visit to a Class A store is 28 minutes, while for a Class B store it is 22 minutes.
[0124] Specific soft constraints include:
[0125] a) A certain type of employee should perform no fewer than a set number of routes per month; for example, 15.
[0126] b) Each planned route should cover at least a set number of stores; for example, 8 stores.
[0127] c) Minimize the total travel mileage or accumulated travel time to minimize the overall route length.
[0128] It is worth noting that the soft constraints will be adjusted flexibly as the number of stores an employee is responsible for changes. If an employee is only responsible for one store, some of the above soft constraints may be moderately relaxed in certain circumstances to ensure the rationality and feasibility of the overall solution.
[0129] Preferably, the VRP model of the OptaPlanner calculation engine is used to correspond employees, stores, and employee initial positions to vehicles, stores, and warehouses in the VRP model, respectively; employee daily working hours correspond to the transportation capacity of the vehicle, and employee in-store time corresponds to the store's demand for goods.
[0130] According to the set soft and hard constraints, the VRP model's solution algorithm is used to calculate the distribution of all route stores assigned to an employee and the order of store visits on a single route; then the store route scheduling of all employees is calculated through a recursive algorithm.
[0131] In a specific simulation environment, the route results calculated using the VRP model are summarized as follows: Figure 3 As shown; the employee route list is as follows Figure 4 As shown; the list of stores on a certain route of an employee is as follows Figure 5 As shown in the figure; the store map distribution on a certain route of an employee is as follows Figure 6 As shown in the figure, the list of stores on a certain route of an employee is as follows Figure 7 shown.
[0132] Specifically, on the employee task platform, the visit plan mainly arranges the date and time for employees to use the visit route and manually fine-tunes the route stores.
[0133] Preferably, a store area map and an employee visit route display area and a visit plan editing area are set on the display screen of the employee task platform;
[0134] Through the visit plan editing area, you can adjust the date and time of the visit route and the route stores, reschedule the visit time, move and replace stores between routes, and modify the order of store visits within the route. The planned employee route is displayed in the store area map and employee visit route display area.
[0135] like Figure 8 Shown is a display screen image of the employee task platform. Figure 8 In the figure, the left side is the store area map and the employee visit route display area; the area map is displayed and the employee visit route is superimposed on the map; the right side is the visit plan editing area, which includes input controls, selection controls, etc. By modifying or selecting the control content, the visit time can be rearranged, stores between routes can be moved and replaced, and the order of store visits within the route can be modified to adjust the visit plan.
[0136] The real-time adjustment module includes a real-time monitoring module, a road condition prediction and evaluation module, and a visit plan optimization module;
[0137] Specifically, the monitoring module is used for real-time monitoring of employee location tracking, road condition monitoring, task progress feedback, store visit verification, work efficiency evaluation and emergency response;
[0138] The road condition prediction and evaluation module is used to predict and evaluate the road condition based on the emergency conditions monitored in real time to determine the optimal driving route;
[0139] The visit plan optimization module is used to adjust and optimize the visit plan according to the set adjustment strategy.
[0140] More specifically, the monitoring performed in the monitoring module includes:
[0141] 1) Employee location tracking: Using mobile communication device positioning technology and mobile applications, employees’ current location information is obtained in real time, compared with the planned visit route, and monitored whether employees follow the established route;
[0142] 2) Traffic monitoring: Integrate real-time traffic information from map service providers to monitor traffic congestion, accidents, construction and other situations that affect the journey. When encountering emergencies, employees can be reminded to adjust the route or re-plan in time;
[0143] 3) Task progress feedback: After completing a store visit task, employees can submit the visit results through the mobile application, including information such as completed task items, time spent, and performance achieved. The system receives and updates the task completion status in real time;
[0144] 4) Store visit verification: Verify whether employees have arrived on time and completed store visit tasks through store sign-in and sign-out.
[0145] 5) Work efficiency evaluation: monitor the actual number of visits completed by employees every day, average stay time, customer satisfaction and other performance indicators to evaluate employee work efficiency and effectiveness;
[0146] 6) Emergency response: When emergencies occur, such as employees failing to complete tasks on time or customer stores requiring emergency visits, the system can quickly receive relevant feedback and assist in re-planning task priorities and routes;
[0147] The above real-time monitoring function can not only help managers fully understand the team's execution status, but also dynamically adjust plans according to actual conditions to improve the team's overall operational efficiency and service quality. At the same time, it also ensures that employees can get effective support and guidance when facing unforeseen road conditions and work changes.
[0148] More specifically, the road condition prediction performed in the road condition prediction and evaluation module adopts a machine learning prediction model; the model captures massive traffic data streams in real time, based on historical data, real-time monitoring data and other relevant environmental factors, uses deep learning and time series analysis to simulate and predict road traffic conditions within a certain period of time in the future.
[0149] Once congestion, accidents, etc. that may affect the efficiency of existing routes are predicted, the system can respond quickly, re-evaluate and automatically adjust the optimal driving route based on the predicted results, ensuring the smoothness and efficiency of the entire delivery or service process.
[0150] More specifically, the optimization process of the visit plan optimization module includes:
[0151] 1) Data collection and analysis: Real-time collection of key internal and external variables, including employee feedback on site conditions, traffic data, changes in customer appointments, and adjustments to store business hours, to analyze the impact of these changes on the estimated arrival time and task priority of the original visit plan;
[0152] 2) Set up a triggering mechanism to adjust the visit plan: When the changes in the monitored key variables trigger the adjustment mechanism of the visit plan, the route is replanned to formulate a new visit plan;
[0153] If a certain road section is severely congested and it is impossible to reach the next store on time, the system will automatically trigger the adjustment mechanism. According to the preset rules and weights, it is determined whether the visit plan needs to be re-optimized immediately or whether it can be adjusted after a certain threshold is reached.
[0154] 3) Re-plan the route based on real-time traffic conditions: Use OSRM to re-plan the optimal visit route;
[0155] Use OSRM route planning to re-plan the optimal visit route based on real-time traffic conditions, try to avoid blocked sections, and shorten the total driving time. For stores that cannot be visited for some reason, the system will find alternatives, such as replacing them with other visit plan routes and postponing the visit to the next available time period.
[0156] 4) Re-prioritize visit tasks: Re-prioritize visit tasks based on multiple criteria such as urgency, customer importance, business needs, etc.
[0157] If there are new stores with urgent tasks, they will be inserted into the appropriate positions in the existing plan to ensure that high-priority tasks are completed first.
[0158] 5) Communicate and notify the adjusted visit plan: automatically push the adjusted visit plan to the affected employees or send it to a third-party service; and notify the customer at the same time;
[0159] Third-party services include SFA or CRM to ensure they are aware of new routes and schedules. At the same time, the system can also send notifications to customers to inform them of changes in visiting times to maintain a good customer service experience.
[0160] 6) Continuous monitoring and optimization: During the execution of the new plan, the system will continue to monitor various dynamic information to ensure that the plan is always consistent with the actual situation. If there is another change, the system will immediately start a new round of adjustment and optimization cycle.
[0161] Specifically, the employee mobile terminal is used for employees to record visit situations, upload on-site photos, and fill out visit reports; and to provide feedback on real-time geographic location and visit progress so as to make real-time adjustments and scheduling.
[0162] Through the cooperation between the route scheduling terminal and the employee mobile terminal, a closed-loop route scheduling system is formed, which effectively supports employees in the fast-moving consumer goods industry to conduct store visits efficiently and flexibly.
[0163] In this embodiment, both the route scheduling end and the employee service end can adopt two deployment methods: single-point deployment and k8s microservice deployment. Both methods can realize the vector scheduling function as described above.
[0164] In summary, the route scheduling system based on deep learning and optimization algorithm in this embodiment realizes dynamic and flexible route scheduling, fully considers real-time factors, and effectively reduces the impact of factors such as road congestion and emergencies on the planned route. The introduction of machine learning prediction improves the predictability and robustness of route planning, making the planning scheme more in line with actual environmental changes. Quantitative evaluation and reasonable allocation of employee work saturation ensures efficient use of human resources and avoids excessive work pressure.
[0165] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A route scheduling system based on deep learning combined with optimization algorithm, characterized in that: include: A route scheduling terminal and at least one employee mobile terminal; The route scheduling end is connected to multiple data sources to obtain information about stores and store visiting employees, perform data integration processing and intelligent planning processing of visiting routes on the obtained information, and generate a visiting route allocated to each employee within a set time period; Then adjust each employee's visiting route to form an employee's visiting plan; The employee mobile terminal is in communication with the route scheduling terminal to obtain the visit plan assigned to the employee, display the latest visit tasks and visit routes, guide the employee to visit stores, and send feedback information including real-time geographic location and visit progress to the route scheduling terminal; The route scheduling end monitors the employee's visit in real time according to the feedback information from the employee's mobile terminal; when the visit plan needs to be adjusted in real time, the visit plan is adjusted according to the real-time monitoring and traffic condition prediction results and sent to the employee's mobile terminal.
2. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 1, characterized in that: The route scheduling terminal includes: a data acquisition module, an intelligent planning module and a real-time adjustment module; The data acquisition module is connected to multiple data sources to obtain information about stores and store visiting employees, integrates and processes the data, and generates a structured store information list and employee information list; The intelligent planning module, based on the store information list and employee information list information, evaluates the distance between stores and the travel time between stores under the specified transportation; sets employees, stores and employee initial positions as decision variables, constructs an NP-hard problem model that meets the route planning requirements, and uses the OptaPlanner calculation engine to obtain the distribution of all route stores assigned to each employee within a set time period and the order of visiting stores on a single route to form the employee's visit route; and generates the employee's visit plan based on factors including the weight of the stores involved in the employee's visit route, the frequency of visits and the working hours, and sends it to the employee's mobile terminal; The real-time adjustment module is connected to the employee's mobile terminal, receives feedback information including real-time geographic location and visit progress sent by the employee's mobile terminal, and monitors the employee's visit in real time; adjusts the visit plan according to the real-time monitoring and traffic condition prediction results, and sends it to the employee's mobile terminal.
3. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 2, characterized in that: The data acquisition module includes a data center and a data integration processing module; The data center is used to extract information about stores and store visiting employees from multiple different data sources to form a data warehouse; The data integration processing module is used to verify, clean and standardize the data in the data warehouse to obtain standardized data; and fill the standardized data into the store information list and the employee information list according to the formatted content of the table.
4. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 3, characterized in that: The store table structure includes: store ID, user / organization ID, user / organization code, user / organization name, store code, store name, store address, city, store level, calculation times / monthly visits, store time, store latitude and longitude, creation time, and tenant ID items; The employee table structure includes: employee ID, user / organization ID, user / organization code, user / organization name, monthly working days, daily working hours, average travel time, whether to enable virtual departure point, latitude and longitude of at least one departure point, and tenant ID items.
5. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 2, characterized in that: The intelligent planning module includes a path planning engine and an employee task platform; The path planning engine uses the map route planning service OSRM + OptaPlanner calculation engine to plan the visit route; Among them, the map route planning service OSRM is used to calculate the distance between all stores or to evaluate the travel time between stores under specified transportation tools; Employees, stores, and their initial locations are set as decision variables, and the OptaPlanner calculation engine is used to calculate the NP-hard problem model that meets the route planning requirements; the visit route is planned; The employee task platform is used to obtain the visiting routes assigned to employees; and generate a visiting plan that is sent to the corresponding employee's mobile terminal based on factors including the weights of the stores involved in the visiting routes, the visiting frequency, and the working hours.
6. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 5, characterized in that: The hard constraints set on the OptaPlanner engine include: a) Fixed visit frequency standards for stores; b) Daily working hours limit; c) Setting the time of staying in the store; The soft constraints set on the OptaPlanner engine include: a) The number of routes that employees should perform each month should not be less than the set number; b) Each planned route should cover at least the set number of stores; c) Minimize the total travel distance or accumulated travel time.
7. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 5, characterized in that: Set up store area maps and employee visit route display areas and visit plan editing areas on the display screen of the employee task platform; Through the visit plan editing area, the date and time of the visit route and the stores on the route can be adjusted, the visit time can be rearranged, stores between routes can be moved and replaced, and the order of store visits within the route can be modified; the planned employee route can be displayed in the store area map and the employee visit route display area.
8. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 2, characterized in that: The real-time adjustment module includes a real-time monitoring module, a road condition prediction and evaluation module, and a visit plan optimization module; The monitoring module is used for real-time monitoring of employee location tracking, road condition monitoring, task progress feedback, store visit verification, work efficiency evaluation and emergency response; The road condition prediction and evaluation module is used to predict and evaluate the road condition based on the emergency conditions monitored in real time to determine the optimal driving route; The visit plan optimization module is used to adjust and optimize the visit plan according to the set adjustment strategy.
9. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 8, characterized in that: In the road condition prediction and evaluation module, a machine learning prediction model is used to perform road condition prediction and evaluation; the model captures massive traffic data streams in real time, based on historical data, real-time monitoring data and other relevant environmental factors, uses deep learning and time series analysis to simulate and predict road traffic conditions within a certain period of time in the future.
10. The route scheduling system based on the combination of deep learning and optimization algorithm according to claim 8, characterized in that: The optimization process of the visit plan optimization module includes: 1) Data collection and analysis: Real-time collection of key internal and external variables, including employee feedback on site conditions, traffic data, changes in customer appointments, and adjustments to store business hours, to analyze the impact of these changes on the estimated arrival time and task priority of the original visit plan; 2) Set up a triggering mechanism to adjust the visit plan: When the changes in the monitored key variables trigger the adjustment mechanism of the visit plan, the route is replanned to formulate a new visit plan; 3) Re-plan the route based on real-time traffic conditions: Use OSRM to re-plan the optimal visit route; 4) Re-prioritize visit tasks: Re-prioritize visit tasks based on multiple criteria such as urgency, customer importance, business needs, etc. 5) Communicate and notify the adjusted visit plan: automatically push the adjusted visit plan to the affected employees or send it to a third-party service; and notify the customer at the same time; 6) Continuous monitoring and optimization: During the implementation of the new plan, various dynamic information will continue to be monitored to ensure that the plan is always consistent with the actual situation.
Citation Information
Cited By
Visiting route optimization method and system based on dynamic planning and multi-source information fusion
CN122088814A
A Visit Route Optimization Method and System Based on Dynamic Programming and Multi-Source Information Fusion
CN122088814B
