Intelligent scheduling sorting method and device based on road distance and memory learning

Through the intelligent dispatching and sorting method based on road distance and memory learning, the scientific and systematic problems of logistics dispatching in a large number of passing point scenarios are solved, more efficient route dispatching is achieved, balancing empirical historical data and real-time road conditions, and improving the efficiency of logistics dispatching. Accuracy and efficiency of scheduling sorting.

CN118865679APending Publication Date: 2024-10-29ZHOUPU DATA TECH NANJING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410910681.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing logistics scheduling solutions lack scientificity and systematicness when dealing with a large number of passing point scenarios, are greatly affected by subjective factors, and are difficult to balance empirical historical data and real-time road conditions, resulting in insufficient scheduling accuracy and efficiency.

Method used

Adopting an intelligent scheduling and sorting method based on road distance and memory learning, by receiving scheduling requests from user terminals, real-time road distances are obtained, a road distance data matrix is ​​established, preprocessing and supplementary matrix reconstruction are performed, the point sorting scheme is updated, and user habits are combined Automatically generate optimal sorting results.

Benefits of technology

It improves the accuracy and efficiency of scheduling and sorting, reduces manual checks and erroneous driving, automatically learns staff habits, reduces repetitive workload, and is suitable for logistics scheduling scenarios with a large number of passing points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865679A_ABST
    Figure CN118865679A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an intelligent scheduling sorting method and device based on road distance and memory learning, relates to the technical field of intelligent road traffic, performs route sorting through real-time route distance, eliminates the problem of inaccurate sorting distance caused by various factors such as urban planning and one-way road, and improves the sorting efficiency. The accuracy of the sorting result is ensured, the work of manual checking of a user is reduced, the possible wrong driving caused by the wrong line is saved, the driving time of the worker is greatly shortened, and the working efficiency is improved. And furthermore, the sorting habits of the workers are automatically learned through memory learning, and the most conforming sorting result is generated, so that the repeated workload caused by the problems of route sorting differences, driving habits of different workers and the like is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent road traffic technology, and in particular to an intelligent scheduling and sorting method and device based on road distance and memory learning. Background Art

[0002] With the acceleration of urbanization and the rapid development of transportation and logistics, map scheduling and sorting has wide application value in many fields, such as logistics distribution, public transportation, taxi services, etc.

[0003] However, there are still some problems with the existing logistics scheduling solutions for front-line transporters. For example, most of the logistics scheduling solutions currently based on the historical data of drivers and couriers' experience of the driving environment often lack sufficient scientificity and systematicity. Especially for those who are accustomed to multi-point logistics transportation and express delivery in a fixed area, the map scheduling and sorting solutions they use are greatly affected by subjective factors. In particular, these historical experience data are no longer reliable after accumulating a certain number of orders. In addition, this type of logistics scheduling solution is often derived from a general map route planning solution, most of which are only applicable to route planning between a single starting point and a single end point, and are difficult to apply to logistics scheduling scenarios with a large number of passing points. For example, the navigation scheduling solutions used by many takeaways and couriers are almost the same as the navigation solutions used for ordinary travel. This leads to many takeaways and couriers trusting their subjective experience more after working for a period of time. However, because the urban road environment is constantly changing, although subjective experience can play a certain role, it is also limited by subjective thinking, resulting in a lack of sufficient scientificity and systematicity, thereby limiting the further improvement of scheduling accuracy and efficiency.

[0004] Therefore, how to optimize route scheduling for logistics scheduling scenarios with a large number of transit points so as to balance empirical historical data and real-time road conditions to improve the efficiency of intelligent scheduling and sorting has become a topic that needs further research. Summary of the invention

[0005] The embodiments of the present invention provide an intelligent scheduling and sorting method and device based on road distance and memory learning, which can optimize route scheduling for logistics scheduling scenarios with a large number of waypoints, so as to balance empirical historical data and real-time road conditions, thereby improving the efficiency of intelligent scheduling and sorting.

[0006] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

[0007] In a first aspect, an embodiment of the present invention provides an intelligent scheduling and sorting method based on road distance and memory learning, comprising:

[0008] S1. Receive a scheduling request uploaded by a user terminal, and determine the starting point information and the passing point information corresponding to the scheduling request;

[0009] S2, obtaining the real-time road distance between different points and establishing a road distance data matrix;

[0010] S3, after pre-processing the sorting operation data uploaded by the user terminal, establishing a supplementary matrix of the road distance data matrix, wherein the pre-processing includes: eliminating the sorting operation data with substandard weights;

[0011] S4. Reconstruct the road distance data matrix using the supplementary matrix, and update the point sorting scheme based on the initial point sorting, wherein the initial point sorting corresponds to the road distance data matrix obtained for the first time.

[0012] In a second aspect, an embodiment of the present invention provides an intelligent scheduling and sorting device based on road distance and memory learning, comprising:

[0013] The data collection module is used to receive the dispatch request uploaded by the user terminal and determine the starting point information and the passing point information corresponding to the dispatch request.

[0014] Data statistics module, used to obtain the real-time road distance between different points and establish a road distance data matrix

[0015] The scheduling and sorting module is used to establish a supplementary matrix of the road distance data matrix after preprocessing the sorting operation data uploaded by the user terminal, wherein the preprocessing includes: eliminating the sorting operation data whose weights do not meet the standards; then, reconstructing the road distance data matrix using the supplementary matrix, and updating the point sorting scheme based on the initial point sorting, wherein the initial point sorting corresponds to the road distance data matrix obtained for the first time.

[0016] The intelligent scheduling and sorting method and device based on road distance and memory learning provided by the embodiment of the present invention sorts routes by real-time route distance, eliminates the problem of inaccurate sorting distance caused by various factors such as urban planning and one-way roads, ensures the accuracy of the sorting results, reduces the manual verification work of users, and saves the possible wrong driving caused by line errors, greatly reduces the driving time of the staff, and speeds up work efficiency. And further automatically learn the sorting habits of the staff through memory learning, generate the most suitable sorting results, thereby reducing the repetitive workload caused by differences in route sorting and driving habits of different staff. In actual application, this embodiment can quickly output the sorting results for the personnel without complex operations and settings through the user terminal, and allow the staff to adjust at any time, which is flexible and convenient to use. Therefore, this embodiment can optimize route scheduling for logistics scheduling scenarios with a large number of waypoints, so that it can balance the empirical historical data and real-time road conditions to improve the efficiency of intelligent scheduling and sorting. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] Figure 1 A flowchart of a specific example provided for an embodiment of the present invention;

[0019] Figure 2 A schematic diagram of the intelligent scheduling process provided by an embodiment of the present invention;

[0020] Figure 3 A flowchart of the main method provided by an embodiment of the present invention;

[0021] Figure 4 , 5 A schematic diagram of an example of analyzing the shortest route provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention. It can be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "one", "said" and "the" used herein may also include plural forms. It should be further understood that the term "including" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groups. It should be understood that when we say that an element is "connected" or "coupled" to another element, it can be directly connected or coupled to other elements, or there may also be intermediate elements. In addition, the "connection" or "coupling" used here may include wireless connection or coupling. The term "and / or" used herein includes any unit and all combinations of one or more associated listed items. It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as generally understood by those of ordinary skill in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.

[0023] The design purpose of this embodiment is mainly to provide a multi-waypoint route scheduling and sorting solution based on a map, so that it can be optimized and sorted through various algorithms according to various factors such as starting points, waypoints, customer operation memory, etc., to achieve intelligent and automatic map route scheduling. The scheduling and sorting system that can be applied to a large number of waypoints in combination with map information is of great significance for improving efficiency and reducing costs.

[0024] The embodiment of the present invention provides an intelligent scheduling and sorting method based on road distance and memory learning, such as Figure 3 As shown, including:

[0025] S1. Receive a scheduling request uploaded by a user terminal, and determine the starting point information and the passing point information corresponding to the scheduling request.

[0026] In actual applications, the dispatch request may include a starting point and / or a waypoint, and a waypoint may be allocated to a person based on the starting point.

[0027] S2. Obtain the real-time road distance between different points and establish a road distance data matrix.

[0028] S3. After preprocessing the sorting operation data uploaded by the user terminal, a supplementary matrix of the road distance data matrix is ​​established, wherein the preprocessing includes: eliminating the sorting operation data with substandard weights.

[0029] S4. Reconstruct the road distance data matrix using the supplementary matrix, and update the point sorting scheme based on the initial point sorting, wherein the initial point sorting corresponds to the road distance data matrix obtained for the first time.

[0030] This embodiment also includes the scenario where a person only uploads the location and waits for the work order and task to be assigned:

[0031] The map of the designated area is divided into regions, and the information of each location point in the area is collected according to the preset update cycle. The location point information includes: the coordinates and name information of the designated location. The information associated with the location point information also includes: business information, inventory information and business hours information. The scheduling request uploaded by the user terminal includes at least: the current location information of the personnel, which is used as the starting point information. That is,

[0032] Optionally, determining the starting point information and the waypoint information corresponding to the dispatch request includes: after identifying the identity of the person, sending the work order information assigned to the person to the user terminal, the work order information including at least one preset waypoint. And / or, obtaining the waypoint information input by the person into the user terminal.

[0033] Furthermore, this embodiment can also be applied to the case where a person receives a work order offline, or the person inputs a waypoint by himself. The dispatch request uploaded by the user terminal also includes: work order information, and / or waypoint information input by the person into the user terminal, and the work order information includes at least one preset waypoint. Determining the starting point information and waypoint information corresponding to the dispatch request includes: determining the starting point information and waypoint information corresponding to the dispatch request according to the dispatch request uploaded by the user terminal.

[0034] For example Figure 1 As shown, the staff collects the starting point data (by selecting points on the map) and stores it in the server system. The staff collects data on multiple different passing points (by selecting points on the map or by GPS positioning) and stores it in the system. The staff selects a starting point and multiple passing points and submits them to the system server. The server will automatically calculate the best scheduling plan and return it (see the attached diagram of the scheduling process). The system will automatically display the sorting results on the map for the staff to view.

[0035] In this embodiment, in S2, the real-time road distances between different points are obtained, and a road distance data matrix is ​​established, including: in the obtained points, the location points that have not collected information are excluded. The real-time road distances between the remaining location points are obtained, and then a road distance data matrix is ​​established, wherein the road distance data matrix is ​​a two-dimensional array, and each value in the two-dimensional array represents the distance between every two points. For example: if there are n points, an nxn two-dimensional matrix is ​​constructed, and each value in the matrix represents the distance between every two points. For example, there are 3 points, point 1, point 2, and point 3. The constructed matrix is ​​a 3x3 matrix, and the 3 values ​​in the first row are the distances of point 1 from point 1, point 2, and point 3, respectively, and the distances of point 2 from point 1, point 2, and point 3 in the second row, and so on. Therefore, to construct this matrix, you only need to loop all points and fill the distance of each point from other points into the two-dimensional array.

[0036] Furthermore, before S3, it includes: according to the established road distance data matrix, the initial point sorting is calculated by a greedy algorithm, wherein, starting from the starting point, the point closest to the previous point is obtained from the road distance data matrix as the next point. The point sorting scheme is calculated by a greedy algorithm: starting from the starting point, the point closest to the starting point is obtained from the distance matrix as the next point, and this cycle is repeated. After calculating all the points, the sorting result can be obtained. For example: starting from the first point, the distance from this point to all other points is obtained, and the minimum value is found from them. The point where the minimum value is located is taken as the next point. In this way, the distance from each point to all other points can be obtained by searching in a cycle.

[0037] In this embodiment, in S3, preprocessing includes: obtaining the manual sorting data input by the personnel into the user terminal, and performing weight judgment, and then eliminating the data whose weight does not meet the standard in the manually sorted data. And eliminate the data of the points that are not in this sorting. The principle and logic of weight judgment are as follows: the sorting data manually input by the personnel is not recorded once, but multiple times; the fewer the number of manual sorting, the more difficult it is to judge whether the obtained manual sorting record is a special case; therefore, the more manually sorted records, the more similar the records are, indicating that the higher the fixedness of the sorting, the better the effect. Due to the above logic, minimizing special cases and retaining manual sorting records with good effects can effectively reduce errors; the judgment logic of weight is relatively simple, that is, the number of manual sorting records and the number of convergences, specifically: the more manual sorting times, the higher the weight; the more times the same sorting is in the manual sorting, the higher the weight, and vice versa.

[0038] The so-called "eliminating data of points that are not included in this sorting" can be understood as: there are a large number of records manually sorted by users, and the points in them are not the same every time. For example, the point sorted this time is 123, and the previous manual sorting records may be 423, 126, 456, etc., so it is necessary to exclude points that are not related to this sorting. In this example, 456 are useless points, so it is necessary to exclude points that are completely not included in this sorting.

[0039] In S3, a supplementary matrix of the road distance data matrix is ​​established, including: using the data with qualified weights in the manually sorted data to construct a supplementary matrix, wherein the supplementary matrix contains the number of manual sorting times and weight data between every two points. Wherein, if there is data with qualified weights, the qualified data (i.e., the data with the highest weight in the order matrix manually adjusted by the staff) is constructed into a supplementary matrix of the original distance matrix, which contains the number of manual sorting times and weight data between every two points. Specifically, the construction of the supplementary matrix is ​​similar to the logic of the previous matrix construction, both of which loop through each point and fill in the value corresponding to u into the matrix. However, what is filled in the supplementary matrix is ​​not the distance, but the weight data above. That is, the data in this matrix is ​​the weight of the manual sorting between every two points, which is used as a parameter for the reconstruction of the distance matrix below. The one with the highest weight will be selected as the hit condition for reconstructing the distance matrix. The weight judgment includes: recording the number of times the personnel input the manually sorted data, and refreshing the weight of the manually sorted data according to the number of inputs, wherein the weight of the manually sorted data is positively correlated with the number of inputs; the weight failure means that the weight of the manually sorted data is less than the weight threshold.

[0040] The process of reconstructing the matrix is ​​the same as above. The difference is that the distance data between points is different from the previous one and needs to be modified through the supplementary matrix. The logic of the modification is that if the two points do not hit the supplementary matrix, the distance remains unchanged; if they hit, the distance between the two points is modified to 0, which is the minimum value. This means that when the nearest point is obtained later, the point with the smallest distance will definitely be selected, which ensures the priority of manual sorting.

[0041] In this embodiment, in S4, the road distance data matrix is ​​reconstructed using the supplementary matrix, including: taking the points that exist in both the road distance data matrix and the supplementary matrix as target points, setting the distance between the target points to 0, and setting the distance between other points and the target points to infinity. The position points that have not been collected in S2 are added to the updated point sorting scheme. Among them, the algorithm calculation is performed again, and the new distance matrix can fix the result of manual sorting, thereby obtaining the best sorting scheme after memory learning transformation.

[0042] For example Figure 2As shown in the figure of the scheduling process, the scheduling process is an operation automatically performed by the system of the present invention, which includes a data statistics module and a scheduling sorting module. The following are simple implementation steps: Use the map interface to obtain the actual road distance, and calculate the distance matrix between the selected points. Memory learning: Construct a supplementary matrix based on the historical operation data of the staff, and recalculate the distance matrix to compare the road distance in the distance matrix data, and perform cyclic sorting.

[0043] In this embodiment, the routes are sorted by real-time route distance, which eliminates the problem of inaccurate sorting distance caused by various factors such as urban planning and one-way roads, ensures the accuracy of the sorting results, reduces the manual verification work of users, and saves the possible wrong driving caused by route errors, greatly reduces the driving time of the staff, and speeds up work efficiency. And further, by applying the memory learning method, after the staff adjusts a certain waypoint many times, there is no need to adjust it every time in the future. The system will automatically learn the sorting habits of the staff, automatically combine the route distance and past records, and generate the most suitable sorting results. This function can greatly reduce the repetitive workload caused by differences in route sorting and driving habits of different staff members. In actual application, this embodiment can quickly output the sorting results for the staff without complex operations and settings through the user terminal, and allow the staff to adjust at any time, which is flexible and convenient to use. Therefore, it is possible to optimize the route scheduling for the logistics scheduling scene with a large number of waypoints, so that it can balance the empirical historical data and real-time road conditions to improve the efficiency of intelligent scheduling and sorting.

[0044] This embodiment also provides an intelligent scheduling and sorting device based on road distance and memory learning, including:

[0045] The data collection module is used to receive the scheduling request uploaded by the user terminal and determine the starting point information and the passing point information corresponding to the scheduling request.

[0046] The data statistics module is used to obtain the real-time road distance between different points and establish a road distance data matrix.

[0047] The scheduling and sorting module is used to establish a supplementary matrix of the road distance data matrix after preprocessing the sorting operation data uploaded by the user terminal, wherein the preprocessing includes: removing the sorting operation data with substandard weights. After that, the road distance data matrix is ​​reconstructed using the supplementary matrix, and the point sorting scheme is updated based on the initial point sorting, wherein the initial point sorting corresponds to the road distance data matrix obtained for the first time.

[0048] Specifically, the data collection module is responsible for collecting and processing data related to map scheduling. Among them, the starting point: in logistics, it is generally a fixed longitude and latitude. The system allows you to directly select a location on the map and obtain the longitude and latitude from the map and store it in the system. The passing point: in logistics, it is generally a non-fixed location. The longitude and latitude can be obtained in real time using the GPS of the mobile platform or the mobile base station, and synchronized to the system for storage.

[0049] Data statistics module: After collecting the information of the starting point and all the passing points, it is necessary to calculate and count the distance information between all the points. The present invention uses a map interface to obtain the real-time road distance between different points, rather than directly calculating the straight-line distance between two points.

[0050] Scheduling and sorting module: Based on the sorting algorithm, various factors such as starting points, transit points, customer habits, etc. are optimized and sorted to generate the optimal scheduling plan. Among them, the starting points and transit points selected by the staff are excluded from the points that have not collected data and other problem points that affect the sorting. The road distance data matrix between each point is calculated through the results of the data statistics module. It is a two-dimensional array, and each value in the array represents the distance between every two points. The point sorting plan is calculated through the greedy algorithm: starting from the starting point, the point closest to the starting point is obtained from the distance matrix as the next point, and this cycle is repeated. After calculating all the points, the sorting result can be obtained.

[0051] And in order to adapt to the usage habits of customers and support staff to operate memory learning, this embodiment makes improvements to the original algorithm, such as: obtaining the manual sorting data of customers, eliminating the data in which the weight does not meet the standard to prevent the influence of accidental events, and then eliminating the point data that is not in this sorting. If there is data with the weight meeting the standard, the standard data (i.e. the data with the highest weight in the order matrix manually adjusted by the staff) is constructed into a supplementary matrix of the original distance matrix, which contains the number of manual sortings and weight data between every two points. Then reconstruct the distance matrix of the first step, and the construction method is: the distance between the two points that exist in the original distance matrix and the supplementary matrix is ​​set to 0, and the distance between other points and the point is set to the default infinity. Perform algorithm calculation again, and the new distance matrix can fix the result of manual sorting. After all points are processed with this logic, the best sorting scheme after memory learning transformation can be obtained. Add the points where no data has been collected, which is the final result.

[0052] Furthermore, a map display module may be included: the optimal scheduling plan is displayed on a map in a visual form to facilitate user understanding and operation.

[0053] In practical applications, after the intelligent scheduling and sorting scheme based on road distance and memory learning is executed, it is necessary to further analyze and schedule the shortest route. In this embodiment, the shortest route can be directly calculated, thereby further improving the efficiency of intelligent scheduling and sorting in practical applications. Figure 4-5 As shown, including:

[0054] Construct a two-dimensional distance matrix based on the source data and determine the number of points in the source data;

[0055] Traverse all points and divide them into n regional clusters;

[0056] Perform cluster merging of regions until the final number of clusters is less than the exhaustive threshold;

[0057] Get the center point of each cluster, and get the shortest path between the center points of the clusters and sort them;

[0058] The shortest distance to all points in the final path is determined by the order of points within the cluster and the order between clusters.

[0059] The specific technical steps are as follows:

[0060] 1. Obtain the calculation source data. The source data required for calculation includes the following: the relevant points for which the shortest distance needs to be calculated, the actual distance between these points, and the starting point. A two-dimensional distance matrix is ​​constructed based on these source data.

[0061] 2. In order to reduce the time consumption of the calculation process, first determine the number of points in the source data. The number of points adopts different calculation logics:

[0062] (1) If the number of points is less than a certain number (defined as the exhaustive threshold, currently set to 8), the shortest distance is calculated directly by exhaustive enumeration, that is, all possible sequences that can connect these points are listed, and the corresponding distances are obtained, and then the minimum value is obtained from these distances. Since the number of points is small, the calculation speed is very fast, and the accuracy of the shortest distance obtained at this time is 100%

[0063] (2) If the number of points is greater than the exhaustive threshold, continue with the following logic

[0064] 3. Define a regional cluster range (e.g., 1000 meters). Starting from the starting point, the points closest to the starting point within the cluster range are divided into the same cluster, and those beyond the cluster distance are divided into the next cluster. Traverse all points and divide them into n regional clusters.

[0065] 4. Based on the number of clusters divided in the previous step, determine whether it is necessary to merge the clusters of the region:

[0066] (1) If the number of clusters is less than the exhaustive threshold, skip cluster merging

[0067] (2) If the number of clusters is greater than the exhaustive threshold, clusters need to be merged. The clustering steps are: obtain the distance between each cluster, sort them from small to large, and after sorting, merge the first two clusters.

[0068] 5. Repeat the logic of step 4 until the final number of clusters is less than the exhaustive threshold

[0069] 6. After obtaining the final cluster, obtain the center point of each cluster, and use the exhaustive method according to the logic of step 2 to obtain the shortest path order between the center points of the clusters, and use this order as the order between the clusters

[0070] After obtaining the order of clusters, since most of the points in the clusters are within the cluster range, the order of cluster division in step 3 can be directly used as the order of points in the clusters. After determining the order of points in the clusters and the order between clusters, the distances of points in the clusters and the distances between clusters can be accumulated according to this order to obtain the shortest distance of all points in the final path.

[0071] With the rapid development of informatization and electronicization in a large number of traditional fields, logistics and distribution, as an important part of the circulation of goods, are inevitably becoming more and more important. A large number of goods purchased online or sent by mail are transmitted on the huge road network all the time. Therefore, in this extremely important and complex scenario, how to control costs and improve efficiency has become the most important issue for all relevant companies and personnel. Among them, one of the most effective ways is to reduce the invalid transmission distance. The simplest example is that the straight line between two points is the shortest. Of course, in reality, the transmission process is affected by various factors such as road network and vehicles. In the field of realizing the shortest route calculation, there are generally two types of algorithms that are used more frequently: one is the simplest greedy algorithm, that is, directly connecting the nearest point from the starting point, and then using this point to connect to the nearest point in itself. After connecting to the last point, the route distance is directly calculated; the second is to use complex heuristic algorithms, such as the ant colony algorithm, which is based on the behavior of ants in finding the shortest path by releasing and sensing pheromones in the process of finding food. Specifically, ants leave pheromones on the route during their journey, and other ants choose the route according to the concentration of pheromones. As time goes by, pheromones will gradually evaporate, but at the same time, more ants will choose the route with higher pheromone concentration, thus forming a positive feedback effect, causing the pheromone concentration on this route to continue to increase. In this way, the entire ant colony can find the shortest path from the nest to the food source. The two commonly used calculation methods currently contain the following defects: The calculation speed of the greedy algorithm is very fast, but the credibility of the results of this algorithm is quite low. The main reason is that this algorithm focuses on the local scene. Each point can only see the point closest to itself and cannot locate the whole world. Therefore, when there are many points, it is almost difficult to get accurate results. Heuristic algorithms (such as ant colony algorithms) can get more accurate results, but the calculation logic complexity of the ant colony algorithm is quite high, and it takes a lot of time and computing resources to get results.

[0072] In this embodiment, the method for calculating the shortest path that includes more points and must pass through all points is further improved by using the relevant technology of point area division and clustering. Through the division of the area and multiple clustering, the method of obtaining the global shortest path is split into multiple local (regional clustering) shortest path calculations and one final global clustering shortest path calculation. This splitting converts complex large-scale calculations into small-scale clustering calculations, while taking into account the overall situation, taking the split clusters as a whole, participating in the global range calculation, and combining the calculations of two different latitudes and different ranges to obtain the final result. Compared with the prior art, the present invention calculates the shortest path by dividing the area and clustering multiple times. Compared with the prior art: it solves the inaccurate results caused by the greedy algorithm. The accuracy of the present invention is 100% when the number of points is small, and the accuracy does not reach 100% when the number of points is large, but it is much better than the prior art. The time-consuming and resource-consuming complex calculations of heuristic algorithms such as the ant colony algorithm are avoided. Unlike traditional complex algorithms, the present invention splits the clusters so that the number of points in each regional cluster is very small, and the number of clusters in the global scope is also very small. Therefore, the present invention greatly reduces the complexity of calculations, and also results in a very short time for multiple calculations and a very short overall time.

[0073] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The above is only a specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any changes or replacements that can be easily thought of 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. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An intelligent scheduling and sorting method based on road distance and memory learning, characterized in that: include: S1. Receive a scheduling request uploaded by a user terminal, and determine the starting point information and the passing point information corresponding to the scheduling request; S2, obtaining the real-time road distance between different points and establishing a road distance data matrix; S3, after pre-processing the sorting operation data uploaded by the user terminal, establishing a supplementary matrix of the road distance data matrix, wherein the pre-processing includes: eliminating the sorting operation data with substandard weights; S4. Reconstruct the road distance data matrix using the supplementary matrix, and update the point sorting scheme based on the initial point sorting, wherein the initial point sorting corresponds to the road distance data matrix obtained for the first time.

2. The method according to claim 1, characterized in that Also includes: Divide the map of the designated area into regions, and collect information of each location point in the region according to a preset update cycle, wherein the location point information includes: coordinates and name information of the designated location; The information associated with the location point information also includes: business information, inventory information and business hours information; The scheduling request uploaded by the user terminal includes at least: the current location information of the personnel, which serves as the starting point information.

3. The method according to claim 2, characterized in that The determining of the starting point information and the waypoint information corresponding to the scheduling request includes: After identifying the identity of the person, sending the work order information assigned to the person to the user terminal, the work order information including at least one preset waypoint; and / or obtaining the waypoint information input by the person into the user terminal.

4. The method according to claim 2, characterized in that: The dispatch request uploaded by the user terminal also includes: work order information, and / or waypoint information input by a person into the user terminal, wherein the work order information includes at least one preset waypoint; The determining of the starting point information and the waypoint information corresponding to the scheduling request includes: determining the starting point information and the waypoint information corresponding to the scheduling request according to the scheduling request uploaded by the user terminal.

5. The method according to claim 2, characterized in that: In S2, the real-time road distances between different points are obtained and a road distance data matrix is ​​established, including: Among the acquired points, exclude the points where no information has been collected; The real-time road distances between the remaining location points are obtained, and then a road distance data matrix is ​​established, wherein the road distance data matrix is ​​a two-dimensional array, and each value in the two-dimensional array represents the distance between every two points.

6. The method according to claim 5, characterized in that Prior to S3, this included: According to the established road distance data matrix, an initial point order is calculated by a greedy algorithm, wherein, starting from the starting point, a point closest to the previous point is obtained from the road distance data matrix as the next point.

7. The method according to claim 1, characterized in that In S3, the preprocessing includes: The manual sorting data input by the personnel into the user terminal is obtained, and weight judgment is performed, and then the data with substandard weights in the manual sorting data are eliminated; and the data of the points that are not in this sorting are eliminated; in S3, the supplementary matrix of the road distance data matrix is ​​established, including: The supplementary matrix is ​​constructed by using the data with the weights reaching the standard in the manually sorted data, wherein the supplementary matrix contains the number of manual sorting times and weight data between every two points.

8. The method according to claim 7, characterized in that The weight determination includes: The number of times personnel input the manual sorting data is recorded, and the weight of the manual sorting data is refreshed according to the number of inputs, wherein the weight of the manual sorting data is positively correlated with the number of inputs; the weight not meeting the standard means that the weight of the manual sorting data is less than the weight threshold.

9. The method according to claim 1, characterized in that: In S4, reconstructing the road distance data matrix using the supplementary matrix includes: Determine the points that exist in both the road distance data matrix and the supplementary matrix as target points, set the distances between any two of the target points to 0, and set the distances between other points and the target points to infinity; It also includes: adding the location points that have not been collected and are excluded in S2 to the updated point sorting scheme.

10. The method according to claim 1, characterized in that Also includes: Construct a two-dimensional distance matrix based on the source data and determine the number of points in the source data; Traverse all points and divide them into n regional clusters; Perform cluster merging of regions until the final number of clusters is less than the exhaustive threshold; Get the center point of each cluster, and get the shortest path between the center points of the clusters and sort them; The shortest distance to all points in the final path is determined by the order of points within the cluster and the order between clusters.