Express delivery route detection method, device, equipment and storage medium
By detecting and routing comparison of the type of outlets of the courier, real -time detection of express routing is realized, the problem of unable to detect express routes in the existing technology can be solved, and the efficiency of operating management is improved.
Patent Information
- Application Number
- CN202210374804.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-04-11
AI Technical Summary
The existing technology cannot realize real-time detection of express routes, resulting in violation reports that can only be compared offline after signing for them.
By obtaining the noodle single information of the courier, the outlet type detection is performed, the preset route is generated, and the actual route of the express delivery is used in real time to generate the illegal data of the courier route.
Real -time detection of express routes can be realized, which can be recognized and recorded in time in time, and the efficiency and accuracy of operating management can be improved.
Smart Images

Figure CN114663030B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of logistics and transportation, and in particular to a method, device, equipment and storage medium for detecting express routes. Background Art
[0002] In logistics and express delivery, express delivery routing is the path or route from the origin to the destination, that is, the package transfer route between the first distribution center of the delivery point to the destination distribution center.
[0003] Currently, the violation report of express delivery route is an offline report. After the express delivery is signed for, each station that the express delivery actually passes through is spliced to form a complete express delivery route, which is then compared with the preset express delivery route to determine whether the entire express delivery route is in violation.
[0004] Currently, it is not possible to perform real-time detection of express delivery routes. Summary of the invention
[0005] The present invention provides a method, device, equipment and storage medium for detecting an express delivery route, which are used for detecting the route status of the express delivery in real time.
[0006] A first aspect of the present invention provides a method for detecting express delivery routes, comprising: when the express delivery is at a current site, the current site is a responsible site, obtaining the delivery note information of the express delivery, and performing a site type detection on the target site corresponding to the express delivery according to the delivery note information to obtain a site type detection result; if the site type detection result is that the target site is a multi-location delivery site, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the site type detection result is that the target site is not a multi-location delivery site, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express delivery is inconsistent with the preset trunk route and inconsistent with the at least one preset backup route, corresponding express delivery route violation data is generated.
[0007] In a feasible implementation manner, when the express is at the current site, the current site is a responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the delivery note information to obtain an outlet type detection result, including: when the express is at the current site, the current site is a responsible site, the express delivery note information is obtained, and according to the delivery note information, a two-segment code of the delivery note is obtained; the two-segment code of the delivery note is matched among a plurality of preset segment codes, wherein each preset segment code in the plurality of preset segment codes corresponds to a preset outlet type; if the two-segment code of the delivery note matches a target preset segment code among a plurality of preset segment codes, and the target preset segment code is used to indicate a preset multi-location delivery outlet type, then the outlet type detection result is determined to be that the target outlet is a multi-location delivery outlet; if the two-segment code of the delivery note does not match the target preset segment code, then the outlet type detection result is determined to be that the target outlet is not a multi-location delivery outlet.
[0008] In a feasible implementation manner, if the result of the network point type detection is that the target network point is a multi-location delivery network point, at least two preset multi-location delivery routes are generated; if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated, including: if the result of the network point type detection is that the target network point is a multi-location delivery network point, the waybill two-segment code is obtained according to the waybill information, and at least two preset multi-location delivery routes are generated according to the waybill two-segment code; according to the at least two preset multi-location delivery routes, at least two preset multi-location delivery next sites corresponding to the responsible site are generated; when the express When the delivery arrives at the actual next site of the responsible site, a multi-location dispatch route detection is performed on the actual route corresponding to the express; if the actual next site of the responsible site does not match the at least two preset multi-location dispatch next sites, it is determined that the actual route corresponding to the express is inconsistent with the at least two preset multi-location dispatch routes, and the actual next site of the responsible site is determined as an express route violation site, and corresponding express route violation data is generated; if the actual next site of the responsible site matches the target preset multi-location dispatch next site among the at least two preset multi-location dispatch next sites, the actual next site of the responsible site is determined as a normal site.
[0009] In a feasible implementation manner, if the result of the network point type detection is that the target network point is not a multi-location delivery network point, a preset trunk line route and at least one preset backup route are generated; if the actual route corresponding to the express is inconsistent with the preset trunk line route and inconsistent with the at least one preset backup route, corresponding express route violation data is generated, including: if the result of the network point type detection is that the target network point is not a multi-location delivery network point, a first segment code of the waybill is obtained according to the waybill information, and a preset trunk line route and at least one preset backup route are generated according to the first segment code of the waybill; according to the preset trunk line route, a preset trunk line next site corresponding to the responsible site is generated, and according to the at least one preset backup route, at least one preset backup next site corresponding to the responsible site is generated; when the express arrives at the actual next site of the responsible site, the actual route corresponding to the express is processed. Perform trunk line route detection and backup route detection; if the actual next site of the responsible site does not match the next site of the preset trunk line, and does not match the at least one preset backup next site, then determine that the actual route corresponding to the express is inconsistent with the preset trunk line route, and is inconsistent with the at least one preset backup route, and determine the actual next site of the responsible site as an express route violation site, and generate corresponding express route violation data; if the actual next site of the responsible site matches the next site of the preset trunk line, and does not match the at least one preset backup next site, then determine the actual next site of the responsible site as a normal site; if the actual next site of the responsible site does not match the next site of the preset trunk line, and matches the target preset backup next site among the at least one preset backup next site, then determine the actual next site of the responsible site as a normal site.
[0010] In a feasible implementation manner, when the express is at the current site, the current site is a responsible site, the waybill information of the express is obtained, and the target outlet corresponding to the express is detected according to the waybill information, before obtaining the outlet type detection result, it also includes: when the express is at the current site, the express is detected by loading scan record to obtain the loading scan record detection result; if the loading scan record detection result is that the express has a loading scan record, the current site is detected by distribution center type to obtain the target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center or a non-distribution center; if the loading scan record detection result is that the express does not have a loading scan record, the express is back-calculated after a specified time to obtain a back-calculation result, and the back-calculation result is that the actual route corresponding to the express is a normal route or an illegal route.
[0011] In a feasible implementation manner, if the result of the loading scan record detection is that the express delivery has a loading scan record, then the distribution center type detection is performed on the current site to obtain the target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center or a non-distribution center, including: if the result of the loading scan record detection is that the express delivery has a loading scan record, then the distribution center type detection is performed on the current site, and the organization code corresponding to the current site is generated according to the loading scan record; matching is performed in a preset distribution center organization code type library according to the organization code, and the preset distribution center organization code type library includes preset the responsible site organization code type and the preset intermediate distribution center organization code type; if the organization code conforms to the preset responsible site organization code type in the preset distribution center organization code type library, the target distribution center type corresponding to the current site is determined to be the responsible site; if the organization code conforms to the preset intermediate distribution center organization code type in the preset distribution center organization code type library, the target distribution center type corresponding to the current site is determined to be the intermediate distribution center; if the organization code does not conform to each preset distribution center organization code type in the preset distribution center organization code type library, the target distribution center type corresponding to the current site is determined to be a non-distribution center.
[0012] In a feasible implementation manner, if the result of the loading scanning record detection is that the express does not have a loading scanning record, then after a specified time, the express is back-calculated to obtain a back-calculation result, and the back-calculation result is whether the actual route corresponding to the express is a normal route or an illegal route, including: if the result of the loading scanning record detection is that the express does not have a loading scanning record, then after a specified time, back-calculation is performed on the express; it is determined whether there is preset scanning information for the express, and the preset scanning information is a truck-to-air transport scanning record or an aviation weighing scanning record; if the express has the preset scanning information, then the back-calculation result is determined to be The actual route corresponding to the express delivery is a normal route, and the actual route corresponding to the express delivery is eliminated; if the preset scanning information does not exist for the express delivery, the actual receipt route corresponding to the express delivery is generated, the current site does not exist in the actual receipt route, and the actual receipt route is detected for the express delivery to obtain the actual receipt route detection result; if the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is inconsistent with the preset route, then the back-calculation processing result is determined to be that the actual receipt route corresponding to the express delivery is an illegal route, and the corresponding express delivery route violation data is generated, and the preset route is a preset multi-location dispatch route, a preset trunk line route or a preset backup route.
[0013] The second aspect of the present invention provides a detection device for express delivery routes, comprising: an acquisition detection module, which is used to, when the express delivery is at a current site, the current site is a responsible site, acquire the express delivery bill information, and perform a branch type detection on the target branch corresponding to the express delivery according to the branch information to obtain a branch type detection result; a first generation module, which is used to generate at least two preset multi-location dispatch routes if the branch type detection result is that the target branch is a multi-location dispatch branch, and generate corresponding express delivery route violation data if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location dispatch routes; a second generation module, which is used to generate a preset trunk route and at least one preset backup route if the branch type detection result is that the target branch is not a multi-location dispatch branch, and generate corresponding express delivery route violation data if the actual route corresponding to the express delivery is inconsistent with the preset trunk route and inconsistent with the at least one preset backup route.
[0014] In a feasible implementation, the acquisition detection module is specifically used for: when the express is at the current site, the current site is the responsible site, obtaining the express delivery bill information, and obtaining the bill two-segment code according to the bill information; matching the bill two-segment code among multiple preset segment codes, wherein each preset segment code in the multiple preset segment codes corresponds to a preset outlet type; if the bill two-segment code matches a target preset segment code among multiple preset segment codes, and the target preset segment code is used to indicate a preset multi-location delivery outlet type, then determining that the outlet type detection result is that the target outlet is a multi-location delivery outlet; if the bill two-segment code does not match the target preset segment code, then determining that the outlet type detection result is that the target outlet is not a multi-location delivery outlet.
[0015] In a feasible implementation manner, the first generation module is specifically used for: if the result of the outlet type detection is that the target outlet is a multi-location delivery outlet, then according to the waybill information, a two-segment waybill code is obtained, and at least two preset multi-location delivery routes are generated according to the two-segment waybill code; according to the at least two preset multi-location delivery routes, at least two preset multi-location delivery next sites corresponding to the responsible site are generated; when the express arrives at the actual next site of the responsible site, a multi-location delivery route detection is performed on the actual route corresponding to the express; if the actual next site of the responsible site does not match the at least two preset multi-location delivery next sites, it is determined that the actual route corresponding to the express is inconsistent with the at least two preset multi-location delivery routes, and the actual next site of the responsible site is determined as an express route violation site, and corresponding express route violation data is generated; if the actual next site of the responsible site matches the target preset multi-location delivery next site among the at least two preset multi-location delivery next sites, the actual next site of the responsible site is determined as a normal site.
[0016] In a feasible implementation manner, the second generation module is specifically used for: if the outlet type detection result is that the target outlet is a non-multi-location delivery outlet, then according to the waybill information, a waybill first segment code is obtained, and a preset trunk line route and at least one preset backup route are generated according to the waybill first segment code; according to the preset trunk line route, a preset trunk line next site corresponding to the responsible site is generated, and according to the at least one preset backup route, at least one preset backup next site corresponding to the responsible site is generated; when the express arrives at the actual next site of the responsible site, a trunk line route detection and a backup route detection are performed on the actual route corresponding to the express; if the actual next site of the responsible site does not match the preset trunk line next site, and If at least one preset backup next site is not matched, it is determined that the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and inconsistent with at least one preset backup route, and the actual next site of the responsible site is determined as an express route violation site, and corresponding express route violation data is generated; if the actual next site of the responsible site matches the next site of the preset trunk line and does not match the at least one preset backup next site, the actual next site of the responsible site is determined as a normal site; if the actual next site of the responsible site does not match the next site of the preset trunk line and matches the target preset backup next site among the at least one preset backup next site, the actual next site of the responsible site is determined as a normal site.
[0017] In a feasible implementation manner, the express route detection device also includes: a record detection module, which is used to perform a loading scan record detection on the express when the express is at the current site, and obtain a loading scan record detection result; a type detection module, which is used to perform a distribution center type detection on the current site if the loading scan record detection result is that the express has a loading scan record, and obtain a target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center or a non-distribution center; a back-calculation processing module, which is used to perform back-calculation processing on the express after a specified time if the loading scan record detection result is that the express does not have a loading scan record, and obtain a back-calculation processing result, and the back-calculation processing result is that the actual route corresponding to the express is a normal route or an illegal route.
[0018] In a feasible implementation manner, the type detection module is specifically used for: if the loading scan record detection result is that the express delivery has a loading scan record, then the distribution center type detection is performed on the current site, and the organization code corresponding to the current site is generated according to the loading scan record; according to the organization code, a match is performed in a preset distribution center organization code type library, and the preset distribution center organization code type library includes a preset responsible site organization code type and a preset intermediate distribution center organization code type; if the organization code conforms to the preset responsible site organization code type in the preset distribution center organization code type library, then the target distribution center type corresponding to the current site is determined to be the responsible site; if the organization code conforms to the preset intermediate distribution center organization code type in the preset distribution center organization code type library, then the target distribution center type corresponding to the current site is determined to be the intermediate distribution center; if the organization code does not conform to each preset distribution center organization code type in the preset distribution center organization code type library, then the target distribution center type corresponding to the current site is determined to be a non-distribution center.
[0019] In a feasible implementation manner, the back-calculation processing module is specifically used for: if the result of the loading scanning record detection is that the express does not have a loading scanning record, then back-calculating the express after a specified time; judging whether the express has preset scanning information, the preset scanning information is a gas-transportation aviation scanning record or an aviation weighing scanning record; if the express has the preset scanning information, then determining that the back-calculation processing result is that the actual route corresponding to the express is a normal route, and eliminating the actual route corresponding to the express; if the express does not have the preset scanning information, then generating an actual receipt route corresponding to the express, the actual receipt route does not contain the current site, and performing an actual receipt route detection on the express to obtain an actual receipt route detection result; if the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route, then determining that the back-calculation processing result is that the actual receipt route corresponding to the express is a violation route, and generating corresponding express route violation data, the preset route is a preset multi-location dispatch route, a preset trunk route or a preset backup route.
[0020] A third aspect of the present invention provides an express route detection device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the express route detection device executes the above-mentioned express route detection method.
[0021] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned express delivery route detection method.
[0022] In the technical solution provided by the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain the outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated. In an embodiment of the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information. If the target outlet is a multi-location delivery point, at least two preset multi-location delivery routes are generated. If the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated. If the target outlet is not a multi-location delivery point, a preset trunk route and at least one preset backup route are generated. If the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of an embodiment of a method for detecting an express delivery route in an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of another embodiment of a method for detecting express delivery routes in an embodiment of the present invention;
[0025] Figure 3 A schematic diagram of another embodiment of a method for detecting express delivery routes in an embodiment of the present invention;
[0026] Figure 4 A schematic diagram of an embodiment of a detection device for express delivery routes in an embodiment of the present invention;
[0027] Figure 5 It is a schematic diagram of another embodiment of the detection device of the express delivery route in the embodiment of the present invention;
[0028] Figure 6The figure is a schematic diagram of an embodiment of a detection device for express delivery routes in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The present invention provides a method, device, equipment and storage medium for detecting an express delivery route, which are used for detecting the route status of the express delivery in real time.
[0030] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for detecting express delivery routes in the embodiment of the present invention includes:
[0032] 101. When the courier is at the current station, the current station is the responsible station, the express delivery order information is obtained, and the station type detection is performed on the target outlet corresponding to the express delivery according to the express delivery order information to obtain the outlet type detection result;
[0033] It is understandable that the execution subject of the present invention may be a detection device for express delivery routes, or a terminal, which is not limited here. The embodiment of the present invention is described by taking the terminal as the execution subject as an example.
[0034] Express delivery includes all regular express delivery except returned or changed items, for example, Class C items, intercepted items, etc. Class C items refer to goods with a value of RMB 5,000 or less, excluding transportation, insurance, miscellaneous fees, etc., that are subject to license control, except for those that need to handle export tax rebates, export foreign exchange receipts or import foreign exchange payments.
[0035] The responsible station is the starting distribution center of the express delivery. The terminal detects the express delivery route between the starting distribution center and the terminal distribution center. The types of outlets include but are not limited to distribution centers, multi-location delivery outlets, delivery outlets, branches and service departments.
[0036] 102. If the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated. If the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated;
[0037] The preset multi-location delivery routes include responsible sites, multi-location delivery route terminal distribution centers and / or at least one multi-location delivery route intermediate distribution center. At least two preset multi-location delivery routes correspond to the same responsible site. For example, if the number of at least two preset multi-location delivery routes is 3, then the three preset multi-location delivery routes also correspond to the same responsible site, which will not be repeated here. Each multi-location delivery route terminal distribution center in the at least two preset multi-location delivery routes is connected to the multi-location delivery outlet for transportation, for example, multi-location delivery outlet a, multi-location delivery route terminal distribution center Y and multi-location delivery route terminal distribution center Z. Multi-location delivery outlet a can transport express to multi-location delivery route terminal distribution center Y and multi-location delivery route terminal distribution center Z, and can also collect express from multi-location delivery route terminal distribution center Y and multi-location delivery route terminal distribution center Z.
[0038] If the actual route corresponding to the express delivery is inconsistent with at least two preset multi-location delivery routes, the terminal generates corresponding express delivery route violation data. For example, the number of at least two preset multi-location delivery routes is 2. If the actual route corresponding to the express delivery is inconsistent with the two preset multi-location delivery routes, the corresponding express delivery route violation data is generated, or the number of at least two preset multi-location delivery routes is 3. If the actual route corresponding to the express delivery is inconsistent with three preset multi-location delivery routes, the corresponding express delivery route violation data is generated, that is, if the actual route corresponding to the express delivery is inconsistent with all the corresponding number of preset multi-location delivery routes, the corresponding express delivery route violation data is generated, which will not be repeated here.
[0039] 103. If the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated. If the actual route corresponding to the express delivery is inconsistent with the preset trunk route and is inconsistent with at least one preset backup route, the corresponding express delivery route violation data is generated.
[0040] The preset trunk route includes the responsible site, the trunk route terminal distribution center and / or at least one trunk route intermediate distribution center. The preset backup route includes the responsible site, the trunk route terminal distribution center and / or at least one backup route intermediate distribution center. The preset trunk route and at least one preset backup route correspond to the same responsible site. For example, if the number of at least one preset backup route is 2, then the preset trunk route and the two preset backup routes also correspond to the same responsible site, which will not be repeated here. The trunk route terminal distribution center and the non-multi-location delivery outlet are connected for transportation. For example, the non-multi-location delivery outlet can transport express to the trunk route terminal distribution center, and can also collect express from the trunk route terminal distribution center.
[0041] If the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and is inconsistent with at least one preset backup route, the terminal generates corresponding express delivery route violation data. For example, the number of at least one preset backup route is 1. If the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and is inconsistent with 1 preset backup route, the corresponding express delivery route violation data is generated, or the number of at least one preset backup route is 2. If the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and is inconsistent with 2 preset backup routes, the corresponding express delivery route violation data is generated, that is, if the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and is inconsistent with all the corresponding number of preset backup routes, the corresponding express delivery route violation data is generated, which will not be repeated here.
[0042] The express delivery route violation data includes route violation summary data, misdelivery data in the specified direction, misdelivery summary data from the responsible site to the terminal distribution center, and responsible site misdelivery detailed data. Among them, the route violation summary data is used to indicate all real-time misdelivery data of all responsible sites across the country, the misdelivery data in the specified direction is used to indicate the misdelivery data in the specified route direction of the responsible site, the misdelivery summary data from the responsible site to the terminal distribution center is used to indicate the comparison data between the preset next site and the actual next site in the responsible site misdelivery data, and the responsible site misdelivery detailed data is used to indicate the detailed data of the misdelivery of express delivery at the responsible site.
[0043] The route violation summary data includes the data of the main region to which the responsible site belongs, the data of the main province to which the responsible site belongs, the name of the responsible site, the data of outbound express delivery by road, the data of wrongly dispatched express delivery by road and the proportion of wrongly dispatched express delivery by road. Among them, the data of outbound express delivery by road is used to indicate the number of express deliveries sent from the responsible site to the next distribution center. The data of outbound express delivery by road includes the number of outbound express delivery by road and the number of air express deliveries. The data of wrongly dispatched express delivery by road is used to indicate the number of express deliveries whose preset next stop and actual next stop are inconsistent in the outbound express delivery of the responsible site. The data of wrongly dispatched express delivery by road includes the number of wrongly dispatched express delivery by road and the number of wrongly dispatched express delivery by air. The proportion of wrongly dispatched express delivery by road is used to indicate the ratio of the data of wrongly dispatched express delivery by road to the data of outbound express delivery by road. For example, the data of wrongly dispatched express delivery by road is 75, the data of outbound express delivery by road is 100, and the proportion of wrongly dispatched express delivery by road is 75%.
[0044] The data on wrong shipments in specified directions include the name of the responsible station, the specified direction of the trunk route, the data on outbound express shipments by road, the data on wrong shipments by road and the proportion of wrong shipments by road, among which the specified direction of the trunk route is used to indicate the preset next station.
[0045] The summary data of misdelivery from the responsible site to the terminal distribution center includes the name of the terminal distribution center, the total data of the terminal distribution center, the total percentage data of the terminal distribution center, the name of the actual next site, the data of misdelivery by road and the percentage of misdelivery by road, among which the total data of the terminal distribution center is used to indicate the total number of misdelivery by road of each terminal distribution center in the specified direction of the responsible site and trunk route, the total data of the terminal distribution center includes the total number of misdelivery by road and the total number of misdelivery by air express by road, the total percentage data of the terminal distribution center is used to indicate the ratio of the total number of misdelivery by road of each terminal distribution center to the total number of misdelivery by road of all terminal distribution centers, the data of misdelivery by road is used to indicate the number of misdelivery by road of each terminal distribution center in the specified direction of the responsible site and trunk route, the data of misdelivery by road includes the number of misdelivery by road and the number of misdelivery by air express by road, the percentage of misdelivery by road is used to indicate the ratio of the number of misdelivery by road of each terminal distribution center to the total number of misdelivery by road of all terminal distribution centers in the specified direction.
[0046] The detailed data of the responsible site error include the express number, the responsible site name, the originating outlet name, the delivery outlet name, the specified route name, the actual route name, the preset next station name, the actual next station name, the dispatch certificate, the name of the scanning personnel, the actual vehicle line, the type of transportation, whether it is a package express, the location of the package, the destination of the package, whether it is an abnormal item, the warehousing time and the loading scanning time. Among them, the specified route name includes the multi-location dispatch route, the trunk line route and / or the backup route. The dispatch certificate is used to indicate the dispatch certificate for the loading scan of the responsible site. If the same site is scanned for multiple loading within 1 day, the last one will be used. Dispatch certificate, the name of the scanner is used to indicate the work number of the loading scanner who performed the loading scan at the responsible site. If there are multiple loading scans at the same site within 1 day, the last loading scan record will be taken. The transportation types include regular shift and card shift. Regular shift is used to indicate the mode of transportation according to the specified route and specified time, and card shift is used to indicate the mode of periodic transportation according to the specified time and specified place. The location of the package is used to indicate the location of the last package scan. The destination of the package is used to indicate the destination of the last package scan. Abnormal items are used to indicate that the destination distribution center cannot be obtained through the first section of the waybill code.
[0047] In an embodiment of the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain an outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express.
[0048] See also Figure 2 Another embodiment of the method for detecting express routes in the embodiment of the present invention includes:
[0049] 201. When the express is at the current station, a loading scanning record detection is performed on the express to obtain a loading scanning record detection result;
[0050] When the courier is at the current station, if multiple loading scan records are generated on the same day, the terminal determines that the target loading scan record is the last loading scan record among the multiple loading scan records.
[0051] 202. If the result of the loading scan record detection is that the express delivery has a loading scan record, a distribution center type detection is performed on the current site to obtain a target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center, or a non-distribution center;
[0052] Specifically, (1) if the result of the loading scan record detection is that there is a loading scan record for the express delivery, the terminal performs a distribution center type detection on the current site and generates an organization code corresponding to the current site based on the loading scan record; (2) the terminal matches the organization code in the preset distribution center organization code type library, and the preset distribution center organization code type library includes a preset responsible site organization code type and a preset intermediate distribution center organization code type; (3) if the organization code conforms to the preset responsible site organization code type in the preset distribution center organization code type library, the terminal determines that the target distribution center type corresponding to the current site is the responsible site; (4) if the organization code conforms to the preset intermediate distribution center organization code type in the preset distribution center organization code type library, the terminal determines that the target distribution center type corresponding to the current site is the intermediate distribution center; (5) if the organization code does not conform to each preset distribution center organization code type in the preset distribution center organization code type library, the terminal determines that the target distribution center type corresponding to the current site is a non-distribution center.
[0053] For example, if the result of the loading scan record detection is that there is a loading scan record for the express delivery, the terminal will detect the type of distribution center for the current site and generate the organization code corresponding to the current site according to the loading scan record; the terminal will match the organization code in the preset distribution center organization code type library according to the organization code. The preset distribution center organization code type library includes the preset responsible site organization code type and the preset intermediate distribution center organization code type, among which the preset responsible site organization code type is ZRZD0000, and the preset intermediate distribution center organization code type is ZJFB0000; if the organization code is ZRZD1234 , that is, the organization code conforms to the preset responsible site organization code type in the preset distribution center organization code type library, and the terminal determines that the target distribution center type corresponding to the current site is the responsible site; if the organization code is ZJFB2345, that is, the organization code conforms to the preset intermediate distribution center organization code type in the preset distribution center organization code type library, the terminal determines that the target distribution center type corresponding to the current site is the intermediate distribution center; if the organization code does not conform to each preset distribution center organization code type in the preset distribution center organization code type library, the terminal determines that the target distribution center type corresponding to the current site is a non-distribution center.
[0054] Optionally, step 202 may be replaced by the following steps:
[0055] If the loading scan record detection result is that there is no loading scan record for the express, the express is back-calculated after a specified time to obtain a back-calculation result. The back-calculation result is whether the actual route corresponding to the express is a normal route or an illegal route.
[0056] Specifically, (i) if the result of the loading scan record detection is that there is no loading scan record for the express delivery, the terminal will perform back-calculation processing on the express delivery after the specified time; (ii) the terminal determines whether there is preset scanning information for the express delivery, and the preset scanning information is a gas-transfer aviation scan record or an aviation weighing scan record; (iii) if there is preset scanning information for the express delivery, the terminal determines that the result of the back-calculation processing is that the actual route corresponding to the express delivery is a normal route, and the actual route corresponding to the express delivery is eliminated; (iv) if there is no preset scanning information for the express delivery, the terminal generates an actual receipt route corresponding to the express delivery, the current site does not exist in the actual receipt route, and performs an actual receipt route detection on the express delivery to obtain an actual receipt route detection result; (v) if the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is inconsistent with the preset route, the terminal determines that the result of the back-calculation processing is that the actual receipt route corresponding to the express delivery is a violation route, and generates corresponding express delivery route violation data, and the preset route is a preset multi-location dispatch route, a preset trunk route or a preset backup route.
[0057] Specifically, in step (iv), if the express does not have preset scanning information, the terminal generates an actual receipt route corresponding to the express, the current site does not exist in the actual receipt route, and performs an actual receipt route detection on the express to obtain an actual receipt route detection result, including: (1) if the express does not have preset scanning information, the terminal generates an actual receipt route corresponding to the express, the current site does not exist in the actual receipt route, and obtains the target actual distribution center in the actual receipt route according to the actual receipt route corresponding to the express. When the express is at the target actual distribution center, the express has a loading scanning record, and the actual receipt route corresponding to the express includes at least two actual distribution centers; (2) the terminal performs an actual receipt route detection on the express. Generate a preset route based on the loading scan record. The preset route is at least two preset multi-location dispatch routes, a preset trunk route or at least one preset backup route. The preset multi-location dispatch route includes a multi-location dispatch route responsible site, a multi-location dispatch route terminal distribution center and / or at least one multi-location dispatch route intermediate distribution center. The preset trunk route includes a trunk route responsible site, a trunk route terminal distribution center and / or at least one trunk route intermediate distribution center. The preset backup route includes a trunk route responsible site, a trunk route terminal distribution center and / or at least one backup route intermediate distribution center. (3) If the preset route is at least two preset multi-location dispatch routes, the terminal will express the corresponding actual Each actual distribution center in the receipt route is matched with the distribution center of the corresponding position in each preset multi-location delivery route, the multi-location delivery route terminal distribution center and / or at least one multi-location delivery route intermediate distribution center; (4) If there is at least one actual distribution center in the actual receipt route corresponding to the express that does not match the distribution center of the corresponding position of each preset multi-location delivery route in at least two preset multi-location delivery routes, then the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route; (5) If each actual distribution center in the actual receipt route corresponding to the express is inconsistent with the target preset multi-location delivery route in at least two preset multi-location delivery routes If the actual receipt route is matched with the distribution center at the corresponding position, the terminal determines that the actual receipt route corresponding to the express delivery is consistent with the preset route; (6) If the preset route is the preset trunk route, the terminal matches each actual distribution center in the actual receipt route corresponding to the express delivery with the trunk route responsible site, the trunk route terminal distribution center and / or at least one trunk route intermediate distribution center of the preset trunk route for the distribution center at the corresponding position; (7) If there is at least one actual distribution center in the actual receipt route corresponding to the express delivery that does not match the distribution center at the corresponding position of the preset trunk route, the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is inconsistent with the preset route;(8) If each actual distribution center in the actual receipt route corresponding to the express delivery matches the distribution center at the corresponding position of the preset trunk route, the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is consistent with the preset route; (9) If the preset route is at least one preset backup route, the terminal matches each actual distribution center in the actual receipt route corresponding to the express delivery with the trunk route responsible station, the trunk route terminal distribution center and / or at least one backup route intermediate distribution center in each preset backup route; (10) If there is at least one actual distribution center in the actual receipt route corresponding to the express delivery that does not match the distribution center at the corresponding position of each preset backup route in at least one preset backup route, the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is inconsistent with the preset route; (11) If each actual distribution center in the actual receipt route corresponding to the express delivery matches the distribution center at the corresponding position of the target preset backup route in at least one preset backup route, the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is consistent with the preset route. ;
[0058] For example, (i) if the result of the loading scan record detection is that there is no loading scan record for the express delivery, the terminal will perform back-calculation processing on the express delivery after a specified time, which can be 3 days, 5 days, or 7 days, and is not limited here; (ii) the terminal determines whether there is preset scanning information for the express delivery, and the preset scanning information is a truck-to-air scanning record or an air weighing scanning record; (iii) if there is preset scanning information for the express delivery, the terminal determines that the back-calculation processing result is that the actual route corresponding to the express delivery is a normal route, and eliminates the actual route corresponding to the express delivery; (iv) if there is no preset scanning information for the express delivery, The terminal generates an actual receipt route corresponding to the express delivery, the current site does not exist in the actual receipt route, and performs an actual receipt route detection on the express delivery to obtain an actual receipt route detection result, including: (1) if the express delivery does not have preset scanning information, the terminal generates an actual receipt route corresponding to the express delivery, the current site does not exist in the actual receipt route, and obtains the target actual distribution center in the actual receipt route according to the actual receipt route corresponding to the express delivery. When the express delivery is at the target actual distribution center, the express delivery has a loading scanning record, and the actual receipt route corresponding to the express delivery includes at least two actual distribution centers. If the actual receipt route is If the receiving route is from actual distribution center A to actual distribution center B to actual distribution center C, then the target actual distribution center is actual distribution center A, actual distribution center B or actual distribution center C; (2) the terminal performs actual receipt route detection on the express delivery, and generates a preset route based on the loading scanning record. The preset route is at least two preset multi-location delivery routes, a preset trunk route or at least one preset backup route, wherein the preset multi-location delivery route includes a multi-location delivery route responsible site, a multi-location delivery route terminal distribution center and / or at least one multi-location delivery route intermediate distribution center, and the preset trunk route includes a trunk route. The route responsibility site, the trunk route terminal distribution center and / or at least one trunk route intermediate distribution center, and the preset backup route includes the trunk route responsibility site, the trunk route terminal distribution center and / or at least one backup route intermediate distribution center; (3) If the preset route is at least two preset multi-location delivery routes, the terminal will match each actual distribution center in the actual receipt route corresponding to the express delivery with the multi-location delivery route responsibility site, the multi-location delivery route terminal distribution center and / or at least one multi-location delivery route intermediate distribution center in each preset multi-location delivery route.(4) If the number of at least two preset multi-location delivery routes is 2, and the two preset multi-location delivery routes are: multi-location delivery route responsibility site A to multi-location delivery route intermediate distribution center B to multi-location delivery route intermediate distribution center D to multi-location delivery route terminal distribution center E, and multi-location delivery route responsibility site A to multi-location delivery route intermediate distribution center C to multi-location delivery route terminal distribution center F, then there is at least one actual distribution center in the actual receipt route corresponding to the express that does not match the distribution center at the corresponding position of each preset multi-location delivery route in the two preset multi-location delivery routes, then the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route; (5) If at least two preset multi-location delivery routes are The number of routes is 3, and the 3 preset multi-location delivery routes are: multi-location delivery route responsibility site A to multi-location delivery route intermediate distribution center B to multi-location delivery route terminal distribution center C, multi-location delivery route responsibility site A to multi-location delivery route intermediate distribution center B to multi-location delivery route intermediate distribution center D to multi-location delivery route terminal distribution center E, multi-location delivery route responsibility site A to multi-location delivery route intermediate distribution center C to multi-location delivery route terminal distribution center F, then each actual distribution center in the actual receipt route corresponding to the express delivery matches the distribution center at the corresponding position of the target preset multi-location delivery route in the 3 preset multi-location delivery routes, then the terminal determines that the actual receipt route detection result is the actual receipt route corresponding to the express delivery and the corresponding distribution center. The preset route is consistent; (6) If the preset route is the preset trunk route, the terminal will match each actual distribution center in the actual receipt route corresponding to the express delivery with the trunk route responsible site, the trunk route terminal distribution center and / or at least one trunk route intermediate distribution center of the preset trunk route for the corresponding position distribution center; (7) If the preset trunk route is the trunk route responsible site A to the trunk route intermediate distribution center E to the trunk route terminal distribution center C, then there is at least one actual distribution center in the actual receipt route corresponding to the express delivery that does not match the distribution center at the corresponding position of the preset trunk route, then the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is consistent with the preset route. Inconsistency; (8) If the preset trunk route is the trunk route responsible site A to the trunk route intermediate distribution center B to the trunk route terminal distribution center C, then each actual distribution center in the actual receipt route corresponding to the express delivery is matched with the distribution center at the corresponding position of the preset trunk route, and the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is consistent with the preset route; (9) If the preset route is at least one preset backup route, the terminal matches each actual distribution center in the actual receipt route corresponding to the express delivery with the trunk route responsible site, the trunk route terminal distribution center and / or at least one backup route intermediate distribution center in each preset backup route.(10) If the number of at least one preset backup route is 1, and the preset backup route is the trunk route from the responsible site A to the intermediate distribution center G of the backup route to the terminal distribution center C of the trunk route, then there is at least one actual distribution center in the actual receipt route corresponding to the express that does not match the distribution center at the corresponding position of each preset backup route in the preset backup route, and the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route; (11) If the number of at least one preset backup route is 2, and the two preset backup routes are: the trunk route from the responsible site A to the intermediate distribution center G of the backup route to the terminal distribution center C of the trunk route, and the trunk route from the responsible site A to the intermediate distribution center B of the backup route to the terminal distribution center C of the trunk route, then each actual distribution center in the actual receipt route corresponding to the express matches the distribution center at the corresponding position of the target preset backup route in the two preset backup routes, and the terminal determines that the actual receipt route detection result is that the actual receipt route corresponding to the express is consistent with the preset route. (V) If the actual receipt route detection result is that the actual receipt route corresponding to the express delivery is inconsistent with the preset route, the terminal determines that the back calculation processing result is that the actual receipt route corresponding to the express delivery is a violation route, and generates corresponding express delivery route violation data, and the preset route is a preset multi-location delivery route, a preset trunk route or a preset backup route. ;
[0059] 203. When the courier is at the current station, the current station is the responsible station, the express delivery order information is obtained, and the station type detection is performed on the target outlet corresponding to the courier according to the express delivery order information to obtain the outlet type detection result;
[0060] Specifically, (1) when the express is at the current station, the current station is the responsible station, the terminal obtains the express delivery bill information, and obtains the bill two-segment code based on the bill information; (2) the terminal matches the bill two-segment code in multiple preset segment codes, wherein each preset segment code in the multiple preset segment codes corresponds to a preset outlet type; (3) if the bill two-segment code matches a target preset segment code in the multiple preset segment codes, and the target preset segment code is used to indicate a preset multi-location delivery outlet type, then the terminal determines that the outlet type detection result is that the target outlet is a multi-location delivery outlet; (4) if the bill two-segment code does not match the target preset segment code, then the terminal determines that the outlet type detection result is that the target outlet is not a multi-location delivery outlet.
[0061] For example, when the express is at the current site, the current site is the responsible site, the terminal obtains the express delivery bill information, and obtains the bill two-segment code based on the bill information; the terminal matches the bill two-segment code in multiple preset segment codes, wherein each preset segment code in the multiple preset segment codes corresponds to a preset outlet type; if the bill two-segment code is DDJP1234, the target preset segment code is DDJP0000, and the target preset segment code is used to indicate the preset multi-location delivery outlet type, then the bill two-segment code matches the target preset segment code in the multiple preset segment codes, that is, the terminal determines that the outlet type detection result is that the target outlet is a multi-location delivery outlet; if the bill two-segment code is 12341234, then the bill two-segment code does not match the target preset segment code, that is, the terminal determines that the outlet type detection result is that the target outlet is not a multi-location delivery outlet.
[0062] 204. If the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated;
[0063] Specifically, (1) if the result of the outlet type detection is that the target outlet is a multi-location delivery outlet, the terminal obtains the waybill two-segment code based on the waybill information, and generates at least two preset multi-location delivery routes based on the waybill two-segment code; (2) the terminal generates at least two preset multi-location delivery next sites corresponding to the responsible site based on the at least two preset multi-location delivery routes; (3) when the express arrives at the actual next site of the responsible site, the terminal performs a multi-location delivery route detection on the actual route corresponding to the express; (4) if the actual next site of the responsible site does not match the at least two preset multi-location delivery next sites, it is determined that the actual route corresponding to the express is inconsistent with the at least two preset multi-location delivery routes, and the actual next site of the responsible site is determined as an express route violation site, and the corresponding express route violation data is generated; (5) if the actual next site of the responsible site matches the target preset multi-location delivery next site among the at least two preset multi-location delivery next sites, the actual next site of the responsible site is determined as a normal site.
[0064] For example, if the result of the outlet type detection is that the target outlet is a multi-location delivery outlet, the terminal obtains the waybill two-segment code based on the waybill information, and generates at least two preset multi-location delivery routes based on the waybill two-segment code; if the number of at least two preset multi-location delivery routes is 3, the terminal generates 3 preset multi-location delivery next sites corresponding to the responsible site based on the 3 preset multi-location delivery routes; when the express arrives at the actual next site of the responsible site, the terminal performs a multi-location delivery route detection on the actual route corresponding to the express; if the actual next site of the responsible site does not match the 3 preset multi-location delivery next sites, it is determined that the actual route corresponding to the express is inconsistent with the 3 preset multi-location delivery routes, and the actual next site of the responsible site is determined as an express route violation site, and the corresponding express route violation data is generated; if the actual next site of the responsible site matches the target preset multi-location delivery next site among the 3 preset multi-location delivery next sites, the actual next site of the responsible site is determined as a normal site.
[0065] Or if the number of at least two preset multi-location dispatch routes is 4, the terminal generates 4 preset multi-location dispatch next sites corresponding to the responsible site according to the 4 preset multi-location dispatch routes; when the express arrives at the actual next site of the responsible site, the terminal performs a multi-location dispatch route detection on the actual route corresponding to the express; if the actual next site of the responsible site does not match the 4 preset multi-location dispatch next sites, it is determined that the actual route corresponding to the express is inconsistent with the 4 preset multi-location dispatch routes, and the actual next site of the responsible site is determined as an express route violation site, and the corresponding express route violation data is generated; if the actual next site of the responsible site matches the target preset multi-location dispatch next site among the 4 preset multi-location dispatch next sites, the actual next site of the responsible site is determined as a normal site.
[0066] 205. If the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated. If the actual route corresponding to the express delivery is inconsistent with the preset trunk route and is inconsistent with at least one preset backup route, the corresponding express delivery route violation data is generated.
[0067] Specifically, (1) if the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, the terminal obtains the waybill code according to the waybill information, and generates a preset trunk line route and at least one preset backup route according to the waybill code; (2) the terminal generates a preset trunk line next station corresponding to the responsible station according to the preset trunk line route, and generates at least one preset backup next station corresponding to the responsible station according to at least one preset backup route; (3) when the express arrives at the actual next station of the responsible station, the terminal performs trunk line route detection and backup route detection on the actual route corresponding to the express; (4) if the actual next station of the responsible station does not match the preset trunk line next station, and does not match at least one preset backup next station, If a station does not match, the terminal determines that the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and is inconsistent with at least one preset backup route, and determines the actual next station of the responsible station as the express route violation station, and generates corresponding express route violation data; (5) If the actual next station of the responsible station matches the preset trunk line next station and does not match at least one preset backup next station, the terminal determines the actual next station of the responsible station as a normal station; (6) If the actual next station of the responsible station does not match the preset trunk line next station and matches the target preset backup next station in at least one preset backup next station, the terminal determines the actual next station of the responsible station as a normal station.
[0068] For example, if the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, the terminal obtains the waybill code according to the waybill information, and generates a preset trunk line route and at least one preset backup route according to the waybill code; if the number of at least one preset backup route is 2, the terminal generates the preset trunk line next station corresponding to the responsible station according to the preset trunk line route, and generates 2 preset backup next stations corresponding to the responsible station according to the 2 preset backup routes; when the express arrives at the actual next station of the responsible station, the terminal performs trunk line route detection and backup route detection on the actual route corresponding to the express; if the actual next station of the responsible station does not match the preset trunk line next station, and matches the 2 preset backup routes If the preset backup next site does not match, the terminal determines that the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and the two preset backup routes, and determines the actual next site of the responsible site as the express route violation site, and generates corresponding express route violation data; if the actual next site of the responsible site matches the preset trunk line next site and does not match the two preset backup next sites, the terminal determines the actual next site of the responsible site as a normal site; if the actual next site of the responsible site does not match the preset trunk line next site and matches the target preset backup next site among the two preset backup next sites, the terminal determines the actual next site of the responsible site as a normal site.
[0069] Or if the number of at least one preset backup route is 3, the terminal generates the preset trunk line next site corresponding to the responsible site according to the preset trunk line route, and generates 3 preset backup next sites corresponding to the responsible site according to the 3 preset backup routes; when the express arrives at the actual next site of the responsible site, the terminal performs trunk line route detection and backup route detection on the actual route corresponding to the express; if the actual next site of the responsible site does not match the preset trunk line next site, and does not match the 3 preset backup next sites, the terminal determines that the actual route corresponding to the express is inconsistent with the preset trunk line route, and is inconsistent with the 3 preset backup routes, and determines the actual next site of the responsible site as an express route violation site, and generates corresponding express route violation data; if the actual next site of the responsible site matches the preset trunk line next site, and does not match the 3 preset backup next sites, the terminal determines the actual next site of the responsible site as a normal site; if the actual next site of the responsible site does not match the preset trunk line next site, and matches the target preset backup next site among the 3 preset backup next sites, the terminal determines the actual next site of the responsible site as a normal site.
[0070] In a feasible implementation, when the preset next site and the actual next site are inconsistent, if the preset next site is a special site, and the actual next site is the corresponding special site, then the actual next site is determined to be a normal site. The special sites are: Shenzhen Company (518000), Shenzhen Distribution (518002), Tangshan Company (963000), Tangshan Distribution (963188), Yichang Company (443000) and Yichang Distribution (443563). For example, when the preset next site and the actual next site are inconsistent, if the preset next site is Shenzhen Company (518000) and the actual next site is Shenzhen Company (518000), then the actual next site is determined to be a normal site.
[0071] In an embodiment of the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain an outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express.
[0072] See also Figure 3Another embodiment of the method for detecting express routes in the embodiment of the present invention includes:
[0073] 301. When the express is at the current station, a loading scanning record detection is performed on the express to obtain a loading scanning record detection result;
[0074] 302. If the result of the loading scan record detection is that the express delivery has a loading scan record, a distribution center type detection is performed on the current site to obtain a target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center, or a non-distribution center;
[0075] 303. When the courier is at the current station, the current station is an intermediate distribution center, the express delivery bill information is obtained, and the outlet type detection is performed on the target outlet corresponding to the express delivery according to the express delivery bill information to obtain the outlet type detection result;
[0076] 304. If the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated. If the actual route corresponding to the express delivery is inconsistent with the target preset multi-location delivery route in the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated;
[0077] Specifically, (1) if the result of the network point type detection is that the target network point is a multi-location delivery network point, the terminal obtains the second-segment code of the waybill based on the waybill information, and generates at least two preset multi-location delivery routes based on the second-segment code of the waybill; (2) the terminal obtains the target preset multi-location delivery route from at least two preset multi-location delivery routes based on the intermediate distribution center; (3) the terminal generates the target preset multi-location delivery next station corresponding to the intermediate distribution center based on the target preset multi-location delivery route; (4) when the express arrives at the actual next station of the intermediate distribution center, the terminal generates the actual route corresponding to the express By performing multi-location delivery route detection; (5) if the actual next site of the intermediate distribution center does not match the target preset multi-location delivery next site, the terminal determines that the actual route corresponding to the express delivery is inconsistent with the target preset multi-location delivery route in at least two preset multi-location delivery routes, and determines the actual next site of the intermediate distribution center as an express delivery route violation site, and generates corresponding express delivery route violation data; (6) if the actual next site of the intermediate distribution center matches the target preset multi-location delivery next site, the terminal determines the actual next site of the intermediate distribution center as a normal site.
[0078] For example, if the result of the outlet type detection is that the target outlet is a multi-location handover outlet, the terminal obtains the waybill two-segment code according to the waybill information, and generates at least two preset multi-location handover routes according to the waybill two-segment code; if the number of at least two preset multi-location handover routes is 2, the two preset multi-location handover routes are: multi-location handover route responsibility site I to multi-location handover route intermediate distribution center J to multi-location handover route intermediate distribution center K to multi-location handover route terminal distribution center L, multi-location handover route responsibility site I to multi-location handover route intermediate distribution center M to multi-location handover route terminal distribution center N, and the intermediate distribution center is K, then the terminal obtains the target preset multi-location handover route in the two preset multi-location handover routes according to the intermediate distribution center K, and the target preset multi-location handover route is multi-location handover route responsibility site I to multi-location handover route intermediate distribution center J to multi-location handover route intermediate distribution center K to multi-location handover route terminal distribution center L. The terminal distribution center L of the multi-location delivery route; the terminal generates the target preset multi-location delivery next site corresponding to the intermediate distribution center K according to the target preset multi-location delivery route, and the target preset multi-location delivery next site is the multi-location delivery route terminal distribution center L; when the express arrives at the actual next site of the intermediate distribution center, the terminal performs a multi-location delivery route detection on the actual route corresponding to the express; if the actual next site of the intermediate distribution center does not match the target preset multi-location delivery next site, the terminal determines that the actual route corresponding to the express is inconsistent with the target preset multi-location delivery route in at least two preset multi-location delivery routes, and determines the actual next site of the intermediate distribution center as an express route violation site, and generates corresponding express route violation data; if the actual next site of the intermediate distribution center matches the target preset multi-location delivery next site, the terminal determines the actual next site of the intermediate distribution center as a normal site.
[0079] 305. If the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated. If the actual route corresponding to the express delivery is inconsistent with the preset trunk route or is inconsistent with the target preset backup route in at least one preset backup route, the corresponding express delivery route violation data is generated.
[0080] Specifically, (1) if the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, the terminal obtains the waybill code according to the waybill information, and generates a preset trunk route and at least one preset backup route according to the waybill code; (2) the terminal obtains the target preset route according to the intermediate distribution center, and the target preset route is the preset trunk route or the target preset backup route in at least one preset backup route; (3) if the target preset route is the preset trunk route, the terminal generates the target preset trunk line next station of the intermediate distribution center according to the preset trunk route; (4) when the express arrives at the actual next station of the intermediate distribution center, the terminal performs a trunk route detection on the actual route corresponding to the express; (5) if the actual next station of the intermediate distribution center does not match the target preset trunk line next station, the terminal determines that the actual route corresponding to the express is inconsistent with the preset trunk route, and determines the actual next station of the intermediate distribution center as a violation station of the express route, and generates the corresponding express route. Violation data; (6) If the actual next station of the intermediate distribution center matches the target preset trunk line next station, the terminal determines the actual next station of the intermediate distribution center as a normal station; (7) If the target preset route is the target preset backup route in at least one preset backup route, the terminal generates the target preset backup next station of the intermediate distribution center according to the target preset backup route; (8) When the express arrives at the actual next station of the intermediate distribution center, the terminal performs a backup route detection on the actual route corresponding to the express; (9) If the actual next station of the intermediate distribution center does not match the target preset backup next station, the terminal determines that the actual route corresponding to the express is inconsistent with the target preset backup route, and determines the actual next station of the intermediate distribution center as an express route violation station, and generates corresponding express route violation data; (10) If the actual next station of the intermediate distribution center matches the target preset backup next station, the terminal determines the actual next station of the intermediate distribution center as a normal station.
[0081] For example, if the result of the outlet type detection is that the target outlet is not a multi-location delivery outlet, the terminal obtains the waybill code segment according to the waybill information, and generates a preset trunk route and at least one preset backup route according to the waybill code segment, the preset trunk route is the trunk route responsible site O to the trunk route intermediate distribution center P to the trunk route terminal distribution center Q, the number of the at least one preset backup route is 2, and the 2 preset backup routes are: the trunk route responsible site O to the backup route intermediate distribution center R to the backup route intermediate distribution center S to the trunk route terminal distribution center Q, the trunk route responsible site O to the backup route intermediate distribution center T to the trunk route terminal distribution center Q; If the intermediate distribution center is P, the terminal obtains the target preset route as the preset trunk route according to the intermediate distribution center P; if the target preset route is the preset trunk route, the terminal generates the target preset trunk line next station of the intermediate distribution center according to the preset trunk route, and the target preset trunk line next station is the trunk route terminal distribution center Q; when the express arrives at the actual next station of the intermediate distribution center, the terminal performs a trunk route detection on the actual route corresponding to the express; if the actual next station of the intermediate distribution center does not match the target preset trunk line next station, the terminal determines that the actual route corresponding to the express is inconsistent with the preset trunk route, and determines the actual next station of the intermediate distribution center as Express route violation site, generate corresponding express route violation data; if the actual next site of the intermediate distribution center matches the target preset trunk line next site, the terminal determines the actual next site of the intermediate distribution center as a normal site; if the intermediate distribution center is R, the terminal obtains the target preset route as the target preset backup route in 2 preset backup routes according to the intermediate distribution center R, and the target preset backup route is the trunk line from the responsible site O to the backup route intermediate distribution center R to the backup route intermediate distribution center S to the trunk line from the terminal distribution center Q; if the target preset route is the target preset backup route in at least one preset backup route, the terminal generates the intermediate preset backup route according to the target preset backup route The target preset backup next site of the intermediate distribution center is the backup route intermediate distribution center S; when the express arrives at the actual next site of the intermediate distribution center, the terminal performs a backup route detection on the actual route corresponding to the express; if the actual next site of the intermediate distribution center does not match the target preset backup next site, the terminal determines that the actual route corresponding to the express is inconsistent with the target preset backup route, and determines the actual next site of the intermediate distribution center as an express route violation site, and generates corresponding express route violation data; if the actual next site of the intermediate distribution center matches the target preset backup next site, the terminal determines the actual next site of the intermediate distribution center as a normal site.
[0082] In an embodiment of the present invention, when the express is at the current site, the current site is an intermediate distribution center, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain an outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with the target preset multi-location delivery route in the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route or is inconsistent with the target preset backup route in at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express.
[0083] The above describes the method for detecting the express route in the embodiment of the present invention. The following describes the detection device for the express route in the embodiment of the present invention. Figure 4 In one embodiment of the present invention, a detection device for express delivery routes includes:
[0084] The acquisition detection module 401 is used to obtain the express delivery bill information when the express is at the current station, and perform the outlet type detection on the target outlet corresponding to the express according to the express delivery bill information to obtain the outlet type detection result;
[0085] The first generating module 402 is used for generating at least two preset multi-location delivery routes if the network point type detection result shows that the target network point is a multi-location delivery network point, and generating corresponding express delivery route violation data if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes;
[0086] The second generation module 403 is used to generate a preset trunk line route and at least one preset backup route if the outlet type detection result is that the target outlet is not a multi-location delivery outlet. If the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and inconsistent with at least one preset backup route, the corresponding express delivery route violation data is generated.
[0087] In an embodiment of the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain an outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express.
[0088] See also Figure 5 Another embodiment of the detection device for express delivery routes in the embodiment of the present invention includes:
[0089] The acquisition detection module 401 is used to obtain the express delivery bill information when the express is at the current station, and perform the outlet type detection on the target outlet corresponding to the express according to the express delivery bill information to obtain the outlet type detection result;
[0090] The first generating module 402 is used for generating at least two preset multi-location delivery routes if the network point type detection result shows that the target network point is a multi-location delivery network point, and generating corresponding express delivery route violation data if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes;
[0091] The second generation module 403 is used to generate a preset trunk line route and at least one preset backup route if the outlet type detection result is that the target outlet is not a multi-location delivery outlet. If the actual route corresponding to the express delivery is inconsistent with the preset trunk line route and inconsistent with at least one preset backup route, the corresponding express delivery route violation data is generated.
[0092] Optionally, the acquisition detection module 401 is specifically used for:
[0093] When the courier is at the current station, the current station is the responsible station, and the express delivery bill information is obtained, and the bill second-segment code is obtained based on the bill information;
[0094] Matching the second segment code of the label with a plurality of preset segment codes, wherein each preset segment code in the plurality of preset segment codes corresponds to a preset network point type;
[0095] If the second segment code of the delivery note matches a target preset segment code among the multiple preset segment codes, and the target preset segment code is used to indicate a preset multi-location delivery point type, then the point type detection result is determined to be that the target point is a multi-location delivery point;
[0096] If the second segment code of the delivery note does not match the target preset segment code, the result of the network point type detection is determined to be that the target network point is not a multi-location delivery network point.
[0097] Optionally, the first generating module 402 is specifically used for:
[0098] If the network point type detection result is that the target network point is a multi-location delivery network point, the second segment code of the waybill is obtained according to the waybill information, and at least two preset multi-location delivery routes are generated according to the second segment code of the waybill;
[0099] Generate at least two preset multi-location dispatch next sites corresponding to the responsible site according to at least two preset multi-location dispatch routes;
[0100] When the courier arrives at the actual next station of the responsible station, the actual route corresponding to the courier is checked for multiple locations;
[0101] If the actual next station of the responsible station does not match at least two preset multi-location delivery next stations, it is determined that the actual route corresponding to the express delivery is inconsistent with at least two preset multi-location delivery routes, and the actual next station of the responsible station is determined as the express delivery route violation station, and the corresponding express delivery route violation data is generated;
[0102] If the actual next site of the responsible site matches the target preset multi-location dispatched next site among at least two preset multi-location dispatched next sites, the actual next site of the responsible site is determined as a normal site.
[0103] Optionally, the second generating module 403 is specifically used for:
[0104] If the network point type detection result is that the target network point is not a multi-location delivery network point, then according to the waybill information, a first segment of the waybill code is obtained, and a preset trunk line route and at least one preset backup route are generated according to the first segment of the waybill code;
[0105] Generate a preset trunk line next site corresponding to the responsible site according to the preset trunk line route, and generate at least one preset backup next site corresponding to the responsible site according to at least one preset backup route;
[0106] When the express arrives at the actual next station of the responsible station, the actual route corresponding to the express is tested for the main line route and the backup route;
[0107] If the actual next station of the responsible station does not match the preset trunk line next station, and does not match at least one preset backup next station, it is determined that the actual route corresponding to the express is inconsistent with the preset trunk line route, and is inconsistent with at least one preset backup route, and the actual next station of the responsible station is determined as the express route violation station, and the corresponding express route violation data is generated;
[0108] If the actual next site of the responsible site matches the preset trunk line next site and does not match at least one preset backup next site, the actual next site of the responsible site is determined as a normal site;
[0109] If the actual next site of the responsible site does not match the preset trunk line next site, and matches the target preset backup next site in at least one preset backup next site, the actual next site of the responsible site is determined as a normal site.
[0110] Optionally, the express route detection device further includes:
[0111] The record detection module 404 is used to perform a loading scan record detection on the express when the express is at the current station, and obtain the loading scan record detection result;
[0112] The type detection module 405 is used to detect the type of distribution center for the current site if the result of the loading scan record detection is that the express delivery has a loading scan record, and obtain the type of the target distribution center corresponding to the current site. The type of the target distribution center is a responsible site, an intermediate distribution center or a non-distribution center;
[0113] The back-calculation processing module 406 is used to perform back-calculation processing on the express after a specified time if the loading scanning record detection result is that there is no loading scanning record for the express, and obtain a back-calculation processing result. The back-calculation processing result is whether the actual route corresponding to the express is a normal route or an illegal route.
[0114] Optionally, the type detection module 405 is specifically used for:
[0115] If the result of the loading scan record detection is that there is a loading scan record for the express delivery, the distribution center type detection is performed on the current site, and the organization code corresponding to the current site is generated according to the loading scan record;
[0116] Matching is performed in a preset distribution center organization code type library according to the organization code, and the preset distribution center organization code type library includes preset responsible site organization code types and preset intermediate distribution center organization code types;
[0117] If the organization code matches the preset responsible site organization code type in the preset distribution center organization code type library, the target distribution center type corresponding to the current site is determined to be the responsible site;
[0118] If the organization code matches the preset intermediate distribution center organization code type in the preset distribution center organization code type library, then the target distribution center type corresponding to the current site is determined to be an intermediate distribution center;
[0119] If the organization code does not conform to each preset distribution center organization code type in the preset distribution center organization code type library, it is determined that the target distribution center type corresponding to the current site is a non-distribution center.
[0120] Optionally, the back calculation processing module 406 is specifically used for:
[0121] If the result of the loading scan record detection is that there is no loading scan record for the express, the express will be back calculated after the specified time;
[0122] Determine whether there is preset scanning information for the express delivery, which is a truck-to-air transport scanning record or an air weighing scanning record;
[0123] If there is preset scanning information for the express delivery, the return calculation result is determined to be that the actual route corresponding to the express delivery is a normal route, and the actual route corresponding to the express delivery is eliminated;
[0124] If there is no preset scanning information for the express, an actual receipt route corresponding to the express is generated, the current site does not exist in the actual receipt route, and the actual receipt route is detected for the express to obtain the actual receipt route detection result;
[0125] If the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route, the back-calculation processing result is determined to be that the actual receipt route corresponding to the express is an illegal route, and the corresponding express route violation data is generated. The preset route is a preset multi-location dispatch route, a preset trunk line route or a preset backup route.
[0126] In an embodiment of the present invention, when the express is at the current site, the current site is the responsible site, the express delivery note information is obtained, and the target outlet corresponding to the express is detected according to the express delivery note information to obtain an outlet type detection result; if the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express is inconsistent with at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated; if the outlet type detection result is that the target outlet is not a multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated, and if the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with at least one preset backup route, corresponding express delivery route violation data is generated, thereby realizing real-time detection of the route status of the express.
[0127] above Figure 4 and Figure 5 The express route detection device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The express route detection device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0128] Figure 6 : is a schematic diagram of the structure of a detection device for express delivery routes provided by an embodiment of the present invention. The detection device 600 for express delivery routes may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 610 (for example, one or more processors) and a memory 620, and one or more storage media 630 (for example, one or more mass storage devices) storing application programs 633 or data 632. Among them, the memory 620 and the storage medium 630 may be short-term storage or permanent storage. The program stored in the storage medium 630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the detection device 600 for express delivery routes. Furthermore, the processor 610 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the detection device 600 for express delivery routes.
[0129] The express route detection device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input and output interfaces 660, and / or one or more operating systems 631, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 6 The structure of the express route detection device shown does not constitute a limitation on the express route detection device, and may include more or less components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0130] The present invention also provides a device for detecting an express route, wherein the computer device comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the method for detecting an express route in the above-mentioned embodiments.
[0131] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the express route detection method.
[0132] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0133] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0134] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting express delivery routes, characterized in that: The express route detection method includes: When the courier is at the current station, the current station is the responsible station, and the responsible station is the starting distribution center of the courier, the express delivery order information of the courier is obtained, and the network type detection is performed on the target network point corresponding to the courier according to the express delivery order information to obtain the network type detection result; If the outlet type detection result is that the target outlet is a multi-location delivery outlet, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated, wherein each multi-location delivery route terminal distribution center in the at least two preset multi-location delivery routes is connected with the multi-location delivery outlet for transportation; If the result of the outlet type detection is that the target outlet is a non-multi-location delivery outlet, a preset trunk route and at least one preset backup route are generated. If the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with the at least one preset backup route, corresponding express route violation data is generated, wherein the trunk route is connected by transportation between the terminal distribution center and the non-multi-location delivery outlet.
2. The method for detecting express delivery routes according to claim 1, characterized in that: When the courier is at the current station, the current station is the responsible station, obtaining the express delivery order information, and performing a network point type detection on the target network point corresponding to the courier according to the express delivery order information to obtain the network point type detection result, including: When the courier is at the current station, the current station is the responsible station, the express delivery bill information is obtained, and the bill second-segment code is obtained according to the bill information; Matching the two-segment code of the face sheet with a plurality of preset segment codes, wherein each preset segment code of the plurality of preset segment codes corresponds to a preset network point type; If the second segment code of the delivery note matches a target preset segment code among multiple preset segment codes, and the target preset segment code is used to indicate a preset multi-location delivery point type, then the point type detection result is determined to be that the target point is a multi-location delivery point; If the second segment code of the delivery note does not match the target preset segment code, it is determined that the network point type detection result is that the target network point is not a multi-location dispatch network point.
3. The express delivery route detection method according to claim 1, characterized in that: If the network point type detection result is that the target network point is a multi-location delivery network point, at least two preset multi-location delivery routes are generated, and if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, corresponding express delivery route violation data is generated, including: If the network point type detection result is that the target network point is a multi-location delivery network point, then obtaining the two-segment code of the waybill according to the waybill information, and generating at least two preset multi-location delivery routes according to the two-segment code of the waybill; Generate at least two preset multi-location handover next sites corresponding to the responsible site according to the at least two preset multi-location handover routes; When the express arrives at the actual next station of the responsible station, a multi-location dispatch route detection is performed on the actual route corresponding to the express; If the actual next station of the responsible station does not match the at least two preset multi-location delivery next stations, it is determined that the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, and the actual next station of the responsible station is determined as an express delivery route violation station, and corresponding express delivery route violation data is generated; If the actual next site of the responsible site matches the target preset multi-location dispatched next site among the at least two preset multi-location dispatched next sites, the actual next site of the responsible site is determined as a normal site.
4. The method for detecting express delivery routes according to claim 1, characterized in that: If the network point type detection result is that the target network point is not a multi-location delivery network point, a preset trunk route and at least one preset backup route are generated; if the actual route corresponding to the express delivery is inconsistent with the preset trunk route and inconsistent with the at least one preset backup route, corresponding express delivery route violation data is generated, including: If the network point type detection result is that the target network point is not a multi-location dispatch network point, obtaining a first segment code of the network point according to the information of the network point, and generating a preset trunk line route and at least one preset backup route according to the first segment code of the network point; Generate a preset trunk line next site corresponding to the responsible site according to the preset trunk line route, and generate at least one preset backup next site corresponding to the responsible site according to the at least one preset backup route; When the express arrives at the actual next station of the responsible station, the actual route corresponding to the express is tested for the main line route and the backup route; If the actual next site of the responsible site does not match the preset trunk line next site, and does not match the at least one preset backup next site, it is determined that the actual route corresponding to the express is inconsistent with the preset trunk line route, and is inconsistent with the at least one preset backup route, and the actual next site of the responsible site is determined as an express route violation site, and corresponding express route violation data is generated; If the actual next site of the responsible site matches the preset trunk line next site and does not match the at least one preset backup next site, the actual next site of the responsible site is determined as a normal site; If the actual next site of the responsible site does not match the preset trunk line next site, and matches the target preset backup next site in the at least one preset backup next site, the actual next site of the responsible site is determined as a normal site.
5. The method for detecting an express delivery route according to any one of claims 1 to 4, characterized in that: When the courier is at the current station, the current station is a responsible station, obtaining the express delivery bill information, and performing a network point type detection on the target network point corresponding to the courier according to the express delivery bill information, before obtaining the network point type detection result, the method further includes: When the express is at the current station, a loading scanning record detection is performed on the express to obtain a loading scanning record detection result; If the result of the loading scan record detection is that the express delivery has a loading scan record, a distribution center type detection is performed on the current site to obtain a target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center or a non-distribution center; If the loading scan record detection result is that there is no loading scan record for the express, the express is back-calculated after a specified time to obtain a back-calculation result, and the back-calculation result is whether the actual route corresponding to the express is a normal route or an illegal route.
6. The method for detecting express delivery routes according to claim 5, characterized in that: If the result of the loading scan record detection is that the express has a loading scan record, the distribution center type detection is performed on the current site to obtain the target distribution center type corresponding to the current site, and the target distribution center type is a responsible site, an intermediate distribution center or a non-distribution center, including: If the result of the loading scan record detection is that the express delivery has a loading scan record, the distribution center type detection is performed on the current site, and the organization code corresponding to the current site is generated according to the loading scan record; Matching is performed in a preset distribution center organization code type library according to the organization code, wherein the preset distribution center organization code type library includes preset responsible site organization code types and preset intermediate distribution center organization code types; If the organization code matches the preset responsible site organization code type in the preset distribution center organization code type library, then determine that the target distribution center type corresponding to the current site is a responsible site; If the organization code matches the intermediate distribution center organization code type preset in the preset distribution center organization code type library, then determining that the target distribution center type corresponding to the current site is an intermediate distribution center; If the organization code does not conform to any preset distribution center organization code type in the preset distribution center organization code type library, it is determined that the target distribution center type corresponding to the current site is a non-distribution center.
7. The method for detecting express delivery routes according to claim 5, characterized in that: If the result of the loading scan record detection is that the express does not have a loading scan record, the express is back-calculated after a specified time to obtain a back-calculation result, and the back-calculation result is whether the actual route corresponding to the express is a normal route or an illegal route, including: If the result of the loading scan record detection is that there is no loading scan record for the express, the express is back-calculated after a specified time; Determine whether there is preset scanning information for the express delivery, wherein the preset scanning information is a steam transportation aviation scanning record or an aviation weighing scanning record; If the express delivery has the preset scanning information, determining that the back-calculation processing result is that the actual route corresponding to the express delivery is a normal route, and eliminating the actual route corresponding to the express delivery; If the express does not contain the preset scanning information, an actual receipt route corresponding to the express is generated, the current site does not exist in the actual receipt route, and an actual receipt route detection is performed on the express to obtain an actual receipt route detection result; If the actual receipt route detection result is that the actual receipt route corresponding to the express is inconsistent with the preset route, the back-calculation processing result is determined to be that the actual receipt route corresponding to the express is a violation route, and the corresponding express route violation data is generated, the preset route is the at least two preset multi-location dispatch routes, the preset trunk route or the at least one preset backup route, wherein the preset multi-location dispatch route includes the multi-location dispatch route responsible site, the multi-location dispatch route terminal distribution center and / or at least one multi-location dispatch route intermediate distribution center, the preset trunk line route includes the trunk line route responsible site, the trunk line route terminal distribution center and / or at least one trunk line route intermediate distribution center, the preset backup route includes the trunk line route responsible site, the trunk line route terminal distribution center and / or at least one backup route intermediate distribution center.
8. A device for detecting express delivery routes, characterized in that: The express route detection device comprises: An acquisition detection module is used to, when the courier is at the current station, the current station is the responsible station, and the responsible station is the starting distribution center of the courier, acquire the express delivery order information of the courier, and perform a network point type detection on the target network point corresponding to the courier according to the express delivery order information to obtain the network point type detection result; A first generating module is used for generating at least two preset multi-location delivery routes if the outlet type detection result shows that the target outlet is a multi-location delivery outlet, and generating corresponding express delivery route violation data if the actual route corresponding to the express delivery is inconsistent with the at least two preset multi-location delivery routes, wherein each multi-location delivery route terminal distribution center in the at least two preset multi-location delivery routes is connected with the multi-location delivery outlet for transportation; The second generation module is used to generate a preset trunk route and at least one preset backup route if the result of the outlet type detection is that the target outlet is a non-multi-location delivery outlet. If the actual route corresponding to the express is inconsistent with the preset trunk route and inconsistent with the at least one preset backup route, the corresponding express route violation data is generated, wherein the trunk route is connected by transportation between the terminal distribution center and the non-multi-location delivery outlet.
9. A device for detecting express delivery routes, characterized in that: The express route detection device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory so that the express route detection device executes the express route detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the express route detection method as described in any one of claims 1-7 is implemented.
Citation Information
Patent Citations
Intelligent route planning method, device and equipment
CN111861009A
Method for co-scheduling public transport vehicles, and equipment
CN113627743A