Logistics sorting methods, electronic devices and computer-readable storage media

By obtaining the delivery time information of packages to be sorted, the static or dynamic sorting method can be dynamically selected, which solves the problem of idle static sorting slots and improves the utilization rate of sorting slots.

CN122076709APending Publication Date: 2026-05-26SF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SF TECH CO LTD
Filing Date
2024-11-26
Publication Date
2026-05-26

Smart Images

  • Figure CN122076709A_ABST
    Figure CN122076709A_ABST
Patent Text Reader

Abstract

This application relates to a logistics sorting method, electronic device, computer-readable storage medium, and computer program product, belonging to the field of logistics sorting technology. The method includes: acquiring the delivery time information of each package in a set of packages to be sorted; the delivery time information of each package is used to characterize the sorting start time of each package; based on the delivery time information of each package, determining a target sorting method corresponding to the set of packages from preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting; and sorting each package based on the target sorting method. This method can improve the utilization rate of sorting compartments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of logistics sorting, and in particular to a logistics sorting method, electronic equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] In related technologies, logistics sorting is mainly divided into two sorting methods: static sorting and dynamic sorting. Whether a set of packages is sorted dynamically or statically is usually determined by the number of packages in the set. For example, for a set of packages with a large number of packages, static sorting is used to sort the packages in that set, while for a set of packages with a small number of packages, dynamic sorting is used to sort the packages in that set.

[0003] However, in the logistics sorting methods of related technologies, for a set of packages that uses static sorting, if no corresponding packages arrive at the sorting machine, the static sorting slots corresponding to the set of packages will be idle, resulting in low utilization of the sorting slots. Summary of the Invention

[0004] Therefore, it is necessary to provide a logistics sorting method, electronic device, computer-readable storage medium, and computer program product that can improve the utilization rate of sorting slots, addressing the aforementioned technical problem of low utilization rate of sorting slots.

[0005] Firstly, this application provides a logistics sorting method, including:

[0006] Obtain the supply time information of each package in the set of packages to be sorted; the supply time information of each package is used to characterize the sorting start time of each package.

[0007] Based on the delivery time information of each package to be sorted, a target sorting method corresponding to the set of packages to be sorted is determined from the preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting;

[0008] Based on the target sorting method, each package to be sorted is sorted.

[0009] In one embodiment, determining the target sorting method corresponding to the set of packages to be sorted from preset sorting methods includes:

[0010] Based on the delivery time information of each package to be sorted, the delivery time concentration of the package set to be sorted is determined; the delivery time concentration is used to characterize the degree of concentration of the delivery time information of each package to be sorted.

[0011] Based on the concentration of the supply time, the target sorting method corresponding to the set of packages to be sorted is determined in the preset sorting method.

[0012] In one embodiment, determining the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods based on the concentration of the supply time includes:

[0013] If the concentration of the supply time meets the preset conditions, the dynamic sorting in the preset sorting method will be determined as the target sorting method;

[0014] If the concentration of the supply time does not meet the preset condition, the static sorting in the preset sorting method will be determined as the target sorting method.

[0015] In one embodiment, determining the supply time concentration of the set of packages to be sorted based on the supply time information of each package to be sorted includes:

[0016] Based on the delivery time information of each package to be sorted, the information entropy of the delivery time information of each package to be sorted is determined.

[0017] Based on the information entropy of the delivery time information of each package to be sorted, the delivery time concentration of the package set to be sorted is determined.

[0018] In one embodiment, determining the information entropy of the supply time information of each package to be sorted based on the supply time information of each package to be sorted includes:

[0019] For each first package to be sorted, the correlation between the supply time information of the first package to be sorted and the supply time information of each second package to be sorted is determined; the first package to be sorted is any one of the packages to be sorted, and the second package to be sorted is any one of the packages to be sorted except the first package to be sorted.

[0020] Based on the correlation, a preset number of supply time information are determined from the supply time information of each second package to be sorted, and used as the associated supply time information of the first package to be sorted.

[0021] Based on the associated supply time information of the first package to be sorted, the information entropy of the supply time information of the first package to be sorted is determined.

[0022] In one embodiment, the number of packages to be sorted is multiple;

[0023] Before obtaining the delivery time information of each package in the set of packages to be sorted, the method further includes:

[0024] Obtain the package attribute information of each package to be sorted, and obtain the package set attribute information of each set of packages to be sorted;

[0025] Based on the package attribute information and the package set attribute information, the package to be sorted and the package set to be sorted are matched, and the package to be sorted is added to the matching package set to be sorted.

[0026] In one embodiment, sorting the individual packages to be sorted based on the target sorting method includes:

[0027] If the target sorting method is dynamic sorting, determine whether there are any idle dynamic sorting slots among the multiple dynamic sorting slots of the sorting machine; the dynamic sorting slot is the sorting slot among the multiple sorting slots of the sorting machine used for dynamic sorting.

[0028] If there is an available dynamic sorting slot, the available dynamic sorting slot is determined as the target sorting slot corresponding to the set of packages to be sorted;

[0029] The sorting machine is controlled to transport each package to be sorted to the target sorting slot, so that the packages to be sorted can be dynamically sorted through the target sorting slot.

[0030] In one embodiment, the method further includes:

[0031] If there are no available dynamic sorting slots, control the sorting machine to circulate the packages to be sorted and record the number of circulations of each package to be sorted.

[0032] If the number of cyclic transports is less than or equal to the preset threshold for the number of cyclic transports, and an idle dynamic sorting slot appears, the idle dynamic sorting slot is identified as the target sorting slot, and the sorting machine is controlled to transport each package to be sorted to the target sorting slot so as to perform dynamic sorting of each package to be sorted through the target sorting slot.

[0033] If the number of cyclic transports exceeds the threshold number of cyclic transports and no idle dynamic sorting slots appear, the sorting machine is controlled to transport each package to be sorted to the manual sorting slot corresponding to manual sorting, so that each package to be sorted can be manually sorted.

[0034] Secondly, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0035] Obtain the supply time information of each package in the set of packages to be sorted; the supply time information of each package is used to characterize the sorting start time of each package.

[0036] Based on the delivery time information of each package to be sorted, a target sorting method corresponding to the set of packages to be sorted is determined from the preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting;

[0037] Based on the target sorting method, each package to be sorted is sorted.

[0038] Thirdly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0039] Obtain the supply time information of each package in the set of packages to be sorted; the supply time information of each package is used to characterize the sorting start time of each package.

[0040] Based on the delivery time information of each package to be sorted, a target sorting method corresponding to the set of packages to be sorted is determined from the preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting;

[0041] Based on the target sorting method, each package to be sorted is sorted.

[0042] The aforementioned logistics sorting method, electronic equipment, computer-readable storage medium, and computer program product first acquire the supply time information of each package in the set of packages to be sorted. This supply time information characterizes the sorting start time of each package. Then, based on the supply time information, a target sorting method corresponding to the set of packages is determined from preset sorting methods. The preset sorting methods include at least static sorting and dynamic sorting. Next, based on the target sorting method, each package is sorted. In this way, the target sorting method is determined based on the supply time information characterizing the sorting start time of the packages, thereby sorting each package in the set. This logistics sorting method, considering the sorting start time of each package in the set to determine whether the sorting method is static or dynamic, significantly reduces the occurrence of idle static sorting slots when no corresponding packages arrive at the sorting machine, thus improving the utilization rate of the sorting slots. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a flowchart illustrating a logistics sorting method in one embodiment;

[0045] Figure 2 This is a flowchart illustrating the steps of determining the target sorting method corresponding to the set of packages to be sorted from preset sorting methods in one embodiment.

[0046] Figure 3 This is a flowchart illustrating the steps of determining the target sorting method corresponding to the set of packages to be sorted in a preset sorting method based on the concentration of supply time in one embodiment.

[0047] Figure 4 This is a flowchart illustrating the steps for determining the supply time concentration corresponding to a set of packages to be sorted in one embodiment.

[0048] Figure 5 This is a flowchart illustrating the steps for determining the information entropy of the delivery time information for each package to be sorted in one embodiment.

[0049] Figure 6 This is a flowchart illustrating the steps of determining the set of packages to be sorted corresponding to the packages to be sorted in one embodiment;

[0050] Figure 7 This is a flowchart illustrating the steps of sorting each package to be sorted based on a target sorting method in one embodiment.

[0051] Figure 8 This is a flowchart illustrating the steps of sorting individual packages based on a target sorting method in another embodiment.

[0052] Figure 9 This is a flowchart illustrating a small-item sorting method based on packaged component concentration calculation in one embodiment.

[0053] Figure 10 This is a structural block diagram of a logistics sorting device in one embodiment;

[0054] Figure 11 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0056] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0057] In one embodiment, such as Figure 1 As shown, a logistics sorting method is provided. This embodiment applies the method to a sorting machine. It is understood that this method can also be applied to a server controlling the operation of the sorting machine, or to a system including both a sorting machine and a server, and is implemented through the interaction between the sorting machine and the server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In this embodiment, the method includes the following steps:

[0058] Step S102: Obtain the delivery time information of each package to be sorted in the package set to be sorted.

[0059] Among them, there are multiple packages waiting to be sorted on the sorting machine.

[0060] Before sorting each package, the sorting machine can classify each package and assign each package to a preset set of packages to be sorted, or a set of packages to be sorted that matches the package to be sorted.

[0061] The feed time information for packages to be sorted is used to characterize the sorting start time of the packages. This can be the time when the packages arrive at the sorting machine or the time when they arrive at the sorting area. In practical applications, after each package is transported to the sorting machine, the machine scans it. The moment the package is scanned is the feed time, and this feed time information is the information that characterizes it. The machine then records the feed time information for each package.

[0062] The set of packages to be sorted has corresponding time record information, which is used to record the delivery time information of each package to be sorted in the set of packages to be sorted; the delivery time information of each package to be sorted is arranged in chronological order in the time record information.

[0063] Specifically, the sorting machine determines the set of packages currently existing on the sorting machine that are to be sorted, and for each set of packages to be sorted, it determines the individual supply time information of each package in that set of packages based on the recorded supply time information.

[0064] Step S104: Based on the delivery time information of each package to be sorted, determine the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods.

[0065] The preset sorting methods include at least static sorting and dynamic sorting. In practical applications, the sorting machine has multiple sorting slots; among these multiple sorting slots, the sorting slots used for static sorting are called static sorting slots, and the sorting slots used for dynamic sorting are called dynamic sorting slots.

[0066] Static sorting refers to a sorting method where the correspondence between the set of packages to be sorted and the sorting slots is fixed. Specifically, it means a sorting method where the correspondence between the set of packages to be sorted and the sorting slots is clearly defined. In static sorting, the sorting machine assigns a static sorting slot to each set of packages to be sorted to undertake its sorting task, that is, it pre-defines the correspondence between the set of packages to be sorted and the static sorting slots.

[0067] In practical applications, during static sorting, the correspondence between the set of packages to be sorted and the sorting slots can be either one-to-many or many-to-one. For example, if the sorting machine assigns static sorting slots 10 and 20 to the set of packages A to be sorted as the static sorting slots responsible for its sorting task, then after the packages in the set of packages A are loaded onto the sorting machine, the sorting machine will transport them to static sorting slots 10 and 20.

[0068] Dynamic sorting refers to a sorting method where the correspondence between the set of packages to be sorted and the sorting slots can be changed. Specifically, it refers to a sorting method where the correspondence between the set of packages to be sorted and the sorting slots is ambiguous, meaning the correspondence changes dynamically. In dynamic sorting, the sorting machine determines the correspondence between the set of packages to be sorted and the dynamic sorting slots based on the current situation of the set of packages to be sorted and the dynamic sorting slots, and then assigns a dynamic sorting slot to handle the sorting task. For example, if there are 20 packages to be sorted and 10 dynamic sorting slots, then these 10 dynamic sorting slots will dynamically handle the sorting task for these 20 packages. For instance, in one allocation, the sorting machine assigns the sorting task for package set A to dynamic sorting slot 15, and in the next allocation, it assigns the sorting task for package set A to another dynamic sorting slot 18.

[0069] Because the correspondence changes dynamically, in dynamic sorting, a small number of slots can handle the sorting task of a large number of packages to be sorted. For example, currently, dynamic sorting slot 15 is handling the sorting task of package set B. However, if there are no packages to be sorted from package set B on the sorting machine for a long period of time, then dynamic sorting slot 15 can be released to handle the sorting task of other packages to be sorted.

[0070] Furthermore, in dynamic sorting, the correspondence between the dynamic sorting grid and the set of packages to be sorted within the same time period is one-to-one.

[0071] Furthermore, in dynamic sorting, a first-come, first-served strategy is usually used to determine the correspondence between dynamic sorting slots and the set of packages to be sorted.

[0072] Specifically, for each set of packages to be sorted, the sorting machine determines the distribution of the supply time represented by the supply time information of each package in the set. Based on the distribution of the supply time of each package, the machine determines the optimal sorting method for the set of packages to be sorted in both static and dynamic sorting. This optimal sorting method is the target sorting method corresponding to the set of packages to be sorted.

[0073] For example, for each set of packages to be sorted, the sorting machine counts the feeding time of each package in the set, obtains the concentration of the feeding time of each package, and uses this concentration to characterize the distribution of the feeding time of each package.

[0074] To illustrate further, the sorting machine calculates the distribution of the feeding times of each package to be sorted based on the distance between the feeding times of each package; where the distance between feeding times is used to characterize the time interval between feeding times.

[0075] Furthermore, when the supply time of each package to be sorted is relatively concentrated, the sorting machine will determine dynamic sorting as the target sorting method; when the supply time of each package to be sorted is relatively dispersed, the sorting machine will determine static sorting as the target sorting method.

[0076] Step S106: Based on the target sorting method, sort each package to be sorted.

[0077] Specifically, for each set of packages to be sorted, the sorting machine transports each package to the sorting slot corresponding to the target sorting method, and sorts the packages through the sorting slot corresponding to the target sorting method. For example, if the target sorting method for the set of packages to be sorted is dynamic sorting, the sorting machine determines the correspondence between the set of packages to be sorted and the dynamic sorting grids based on the sorting task assignment of each dynamic sorting grid. It then selects a dynamic sorting grid from among multiple dynamic sorting grids to handle the set of packages to be sorted, and transports each package to be sorted to that dynamic sorting grid for sorting. If the target sorting method for the set of packages to be sorted is static sorting, the sorting machine, based on a pre-defined correspondence between the set of packages to be sorted and the static sorting grids, selects a static sorting grid from among multiple static sorting grids to handle the set of packages to be sorted, and transports each package to be sorted to that static sorting grid for sorting.

[0078] It should be noted that in dynamic sorting, the correspondence between dynamic sorting slots and the set of packages to be sorted within the same time period is one-to-one. Furthermore, a first-come, first-served strategy is typically used to determine this correspondence. That is: (1) If a set of packages with fewer packages arrives at the sorting machine first and occupies all the dynamic sorting slots, then even if a set of packages with more packages arrives before the dynamic sorting slots are released, there will be no available dynamic sorting slots to handle its sorting task; (2) In dynamic sorting, regardless of the number of packages in the set, the sorting task for a set of packages is handled by only one dynamic sorting slot. Therefore, in related technologies, static sorting is typically chosen for sets of packages with more packages, while dynamic sorting is typically chosen for sets of packages with fewer packages, in order to make full use of each sorting slot and thus improve sorting efficiency.

[0079] However, the sorting start time of the packages to be sorted is uncertain. Using the above-mentioned related technologies, for a set of packages to be sorted using static sorting, if there are no corresponding packages to be sorted on the sorting machine, the static sorting slots corresponding to the set of packages to be sorted will be idle, resulting in low utilization of the sorting slots.

[0080] In the aforementioned logistics sorting method, when the supply time of each package to be sorted is relatively concentrated, the sorting machine adopts dynamic sorting; when the supply time of each package to be sorted is relatively dispersed, the sorting machine adopts static sorting. This allows the dynamic sorting method to take advantage of handling the sorting task of a large number of packages to be sorted with a small number of slots, significantly reducing the occurrence of idle static sorting slots when no corresponding packages arrive at the sorting machine, thus improving the utilization rate of sorting slots. At the same time, it fully leverages the high sorting efficiency of static sorting, further improving the utilization rate of sorting slots.

[0081] In the above logistics sorting method, the sorting machine first obtains the supply time information of each package in the set of packages to be sorted; the supply time information of each package is used to characterize the sorting start time of each package; then, based on the supply time information of each package, the sorting machine determines the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting; then, the sorting machine sorts each package based on the target sorting method. In this way, the sorting machine determines the target sorting method corresponding to the set of packages to be sorted based on the supply time information that characterizes the sorting start time of the packages to be sorted, and then sorts each package under the set of packages to be sorted. Based on the above process, the logistics sorting method considers the sorting start time of each package in the package set to determine whether the sorting method corresponding to the package set is static sorting or dynamic sorting, which greatly reduces the occurrence of the situation where the corresponding static sorting slot is idle when no corresponding package arrives at the sorting machine, thus improving the utilization rate of the sorting slot.

[0082] In one exemplary embodiment, such as Figure 2 As shown, step S104 above, which determines the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods, specifically includes the following steps:

[0083] Step S202: Based on the delivery time information of each package to be sorted, determine the delivery time concentration of the package set to be sorted.

[0084] Step S204: Based on the concentration of supply time, determine the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods.

[0085] Among them, the concentration of delivery time is used to characterize the degree of concentration of delivery time information for each package to be sorted.

[0086] Specifically, for each set of packages to be sorted, the sorting machine calculates a supply time concentration degree, which characterizes the degree of concentration of the supply time information of each package in the set, based on the supply time information of each package in the set. This supply time concentration degree is then used as the supply time concentration degree for the set of packages to be sorted. Based on the supply time concentration degree, the sorting machine determines the target sorting method for the set of packages to be sorted in both static and dynamic sorting.

[0087] In practical applications, sorting machines can, for each set of packages to be sorted, obtain a supply time series corresponding to that set based on the supply time information of each package in that set. By analyzing the supply time series, the distribution of the supply time of each package within the supply time series is calculated, thus obtaining the supply time concentration, which characterizes the degree of concentration of the supply time information for each package. The methods for analyzing the supply time series include, but are not limited to, standard deviation analysis, coefficient of variation analysis, range analysis, Kozachenko-Leonenko K-nearest neighbor analysis, coefficient of variation analysis, and analysis of variance.

[0088] Furthermore, when the supply time concentration is high, it indicates that the supply time distribution of each package to be sorted is relatively concentrated, meaning that each package to be sorted is sent to the sorting machine in a concentrated manner. Therefore, centralized sorting is required, and the sorting machine will determine dynamic sorting as the corresponding target sorting method. This will fully leverage the advantage of dynamic sorting in handling a large number of packages to be sorted with a small number of slots, significantly reducing the occurrence of idle static sorting slots when no corresponding packages arrive at the sorting machine. Conversely, when the supply time concentration is low, it indicates that the supply time distribution of each package to be sorted is relatively dispersed, meaning that each package to be sorted is sent to the sorting machine in a dispersed manner. Therefore, the sorting machine will determine static sorting as the corresponding target sorting method, thus fully leveraging the advantage of static sorting's high sorting efficiency.

[0089] In this embodiment, the sorting machine determines the corresponding target sorting method by using the supply time information, which characterizes the concentration of supply time information for each package to be sorted. This can improve the utilization rate of the sorting slots by giving full play to the advantages of dynamic sorting and static sorting.

[0090] In one exemplary embodiment, such as Figure 3 As shown, step S204 above, based on the concentration of supply time, determines the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods, specifically including the following steps:

[0091] Step S302: If the concentration of the supply time meets the preset conditions, the dynamic sorting in the preset sorting method is determined as the target sorting method.

[0092] Step S304: If the concentration of supply time does not meet the preset conditions, static sorting in the preset sorting methods is determined as the target sorting method.

[0093] The preset conditions can be either a preset threshold for the concentration of supply time or a preset sorting result based on the concentration of supply time.

[0094] Specifically, under the preset condition of a preset supply time concentration threshold, when the supply time concentration of the package set to be sorted is greater than or equal to the preset supply time concentration threshold, the sorting machine will determine dynamic sorting as the corresponding target sorting method. This will fully leverage the advantage of dynamic sorting in handling a large number of packages to be sorted with a small number of slots, significantly reducing the occurrence of idle static sorting slots when no packages arrive at the sorting machine. When the supply time concentration of the package set to be sorted is less than the preset supply time concentration threshold, static sorting will be determined as the corresponding target sorting method, fully leveraging the advantage of higher sorting efficiency of static sorting.

[0095] Specifically, under the preset condition of sorting results based on a preset supply time concentration threshold, the sorting machine sorts each set of packages to be sorted in descending order of supply time concentration. Packages whose sorting results are higher than or equal to the preset supply time concentration threshold are designated as dynamic sorting. This leverages the advantage of dynamic sorting, which handles a large number of packages with a small number of slots, significantly reducing the occurrence of idle static sorting slots when no packages arrive at the sorting machine. Packages whose sorting results are lower than the preset supply time concentration threshold are designated as static sorting, fully utilizing the higher sorting efficiency of static sorting.

[0096] In this embodiment, the sorting machine determines the corresponding target sorting method by comparing the concentration of the supply time with the preset conditions. By giving full play to the advantages of dynamic sorting and static sorting, the utilization rate of the sorting slots is improved.

[0097] In one exemplary embodiment, such as Figure 4 As shown, step S202 above, based on the supply time information of each package to be sorted, determines the supply time concentration corresponding to the set of packages to be sorted, specifically including the following steps:

[0098] Step S402: Based on the delivery time information of each package to be sorted, determine the information entropy of the delivery time information of each package to be sorted.

[0099] Step S404: Based on the information entropy of the supply time information of each package to be sorted, determine the supply time concentration of the package set to be sorted.

[0100] Specifically, for each package in the set of packages to be sorted, the sorting machine calculates the information entropy of the supply time information of that package based on the supply time information of that package and the supply time information of the other packages in the set of packages to be sorted; then, the sorting machine combines the information entropy of the supply time information of each package to be sorted to calculate the supply time concentration of the set of packages to be sorted.

[0101] For example, for each package to be sorted, the sorting machine calculates the information entropy of the supply time information of that package and the supply time information of each of the other packages to be sorted. Then, the sorting machine calculates the average value of the information entropy of the supply time information of each package to be sorted, and determines the supply time concentration corresponding to the set of packages to be sorted based on the average value of the information entropy of the supply time information of each package to be sorted. It is easy to understand that the higher the average value, the more dispersed the supply time of each package to be sorted is, and the lower the supply time concentration is. Conversely, the lower the average value, the more concentrated the supply time of each package to be sorted is, and the higher the supply time concentration is.

[0102] In this embodiment, the sorting machine measures the distribution of the supply time information of each package to be sorted by the information entropy of the supply time information, which can improve the accuracy of the calculation of the concentration of supply time, thereby optimizing the determination logic of the target sorting method and thus improving the utilization rate of the sorting slots.

[0103] In one exemplary embodiment, such as Figure 5 As shown, step S402 above, based on the delivery time information of each package to be sorted, determines the information entropy of the delivery time information of each package to be sorted, specifically including the following steps:

[0104] Step S502: For each first package to be sorted, determine the correlation between the supply time information of the first package to be sorted and the supply time information of each second package to be sorted.

[0105] Step S504: Based on the correlation, a preset number of supply time information are determined from the supply time information of each second package to be sorted, and used as the associated supply time information of the first package to be sorted.

[0106] Step S506: Based on the associated supply time information of the first package to be sorted, determine the information entropy of the supply time information of the first package to be sorted.

[0107] Among them, the first package to be sorted is any one of the packages to be sorted, and the second package to be sorted is any one of the packages to be sorted other than the first package.

[0108] Among them, the correlation degree is used to characterize the distance between the supply time information of two corresponding packages to be sorted, specifically the distance between the supply times represented by the supply time information of the two packages to be sorted.

[0109] Specifically, in this embodiment, the Kozachenko-Leonenko K-nearest neighbor analysis method is used to calculate the concentration of supply time corresponding to the set of packages to be sorted. For each package to be sorted (the first package to be sorted) in the set of packages to be sorted, the sorting machine first calculates the distance between the supply time represented by the supply time information of the package to be sorted and the supply time represented by the supply time information of each of the other packages to be sorted (the second package to be sorted) in the set of packages to be sorted, which is used as the correlation degree between the supply time information of the package to be sorted and the supply time information of each other package to be sorted; then, the sorting machine sorts the supply time information of each other package to be sorted in descending order of the corresponding correlation degree, and obtains the sorting result of the supply time information. The first K supply time information in the sorting result is determined as the associated supply time information of the package to be sorted; finally, the sorting machine calculates the information entropy of the supply time information of the package to be sorted based on the associated supply time information of the package to be sorted.

[0110] Kozachenko-Leonenko K-Nearest Neighbor Analysis (KNN), an information theory-based concentration assessment method, possesses advantages such as nonparametric nature, wide applicability, information measurement, computational simplicity, and robustness. It can effectively assess the concentration of the feeding times of various packages to be sorted over time, providing valuable reference for data analysis and decision-making. Therefore, in this embodiment, the sorting machine uses KNN to calculate the feeding time concentration, which improves the accuracy of the calculation, thereby optimizing the logic for determining the target sorting method and ultimately improving the utilization rate of the sorting slots.

[0111] In one exemplary embodiment, there are multiple sets of packages to be sorted, and each set of packages to be sorted has package set attribute information.

[0112] The package set attribute information of the packages to be sorted is obtained through pre-setting. The package set attribute information of each package set to be sorted is used to characterize the package attribute information of each package to be sorted in that package set. For example, if the package set attribute information of package set A to be sorted is preset to "land transport + flow to city A + no special label", then all packages to be sorted with the corresponding package attribute information of "land transport + flow to city + no special label" can be assigned to package set A to be sorted.

[0113] Each package awaiting sorting corresponds to a package attribute information, which is used to characterize the waybill elements of the package. The waybill elements consist of the transportation method, transportation destination, and other information that needs to be noted. For example, if the waybill elements of package A1 awaiting sorting are "land transportation + destination in City A + no special label", then the package attribute information of package A1 awaiting sorting is "land transportation + destination in City A + no special label".

[0114] Furthermore, each set of parcels to be sorted has at least one set of parcel attribute information; for example, if the parcel attribute information of parcel set A to be sorted includes "land transport + flow to city A + no special label" and "land transport + flow to city B + five easy and two cold label", then parcels with the corresponding parcel attribute information (waybill elements) of "land transport + flow to city + no special label" or "land transport + flow to city B + five easy and two cold label" can be assigned to parcel set A to be sorted.

[0115] like Figure 6 As shown, the logistics sorting method provided in this application, before obtaining the delivery time information of each package to be sorted in the package to be sorted set in step S102 above, further includes the following steps for determining the package to be sorted set corresponding to the package to be sorted:

[0116] Step S602: Obtain the package attribute information of each package to be sorted, and obtain the package set attribute information of each set of packages to be sorted.

[0117] Step S604: Match the packages to be sorted and the packages to be sorted according to the package attribute information and the package set attribute information, and add the packages to be sorted to the matching packages to be sorted.

[0118] Each package awaiting sorting corresponds to a package attribute information, which is used to characterize the waybill elements of the package. The waybill elements consist of the transportation method, transportation destination, and other information that needs to be noted; for example, if the waybill elements of package A1 are "land transportation + destination in city A + no special label", then the package attribute information of package A1 is "land transportation + destination in city A + no special label".

[0119] In practical applications, sorting machines can obtain package attribute information of packages to be sorted by scanning the package label of the package to be sorted.

[0120] The phrase "the corresponding package set attribute information matches the package attribute information of the package to be sorted" means that the corresponding package set attribute information contains package set attribute information that is identical to the package attribute information of the package to be sorted. For example, the package set attribute information of package set A to be sorted includes "land transport + flow to city A + no special label" and "land transport + flow to city B + five easy and two cold label". There are existing package A1 to be sorted with attribute information of "land transport + flow to city A + no special label" and package A2 to be sorted with attribute information of "land transport + flow to city B + five easy and two cold label". Then the package set attribute information of package set A to be sorted matches the attribute information of package A1 and the attribute information of package A2 to be sorted, respectively.

[0121] Specifically, when scanning each package to be sorted, the sorting machine also scans the package label of the package to be sorted to obtain the package attribute information of the package to be sorted. Then, the sorting machine obtains the package set attribute information of each preset set of packages to be sorted, and based on the package attribute information of the package to be sorted, the sorting machine determines the set of packages to be sorted whose package set attribute information matches the package attribute information of the package to be sorted in each preset set of packages to be sorted, and takes it as the set of packages to be sorted that matches the package to be sorted. Then, the sorting machine assigns the package to be sorted to the set of packages to be sorted and identifies it as a package to be sorted in the set of packages to be sorted.

[0122] For example, the package set attribute information of the package set A to be sorted includes "land transport + flow to city A + no special label" and "land transport + flow to city B + five easy and two cold label"; the sorting machine identifies both package A1 with package attribute information of "land transport + flow to city A + no special label" and package A2 with package attribute information of "land transport + flow to city B + five easy and two cold label" as packages to be sorted in the package set A to be sorted.

[0123] In practical applications, each set of parcels to be sorted, which is divided according to the set of waybill elements, is called a parcel tag. In this embodiment, the parcels to be sorted under the parcel tag are sorted by parcel tag.

[0124] In this embodiment, the sorting machine classifies the packages to be sorted according to the waybill elements, obtaining different package tags, thereby enabling logistics sorting of packages by package tag.

[0125] In one exemplary embodiment, such as Figure 7 As shown, step S106 above, which sorts each package to be sorted based on the target sorting method, specifically includes the following steps:

[0126] Step S702: If the target sorting method is dynamic sorting, determine whether there are any idle dynamic sorting slots among the multiple dynamic sorting slots of the sorting machine.

[0127] Step S704: If there is an idle dynamic sorting slot, the idle dynamic sorting slot is determined as the target sorting slot corresponding to the set of packages to be sorted.

[0128] Step S706: Control the sorting machine to transport each package to be sorted to the target sorting slot, so as to dynamically sort each package through the target sorting slot.

[0129] The sorting machine has multiple sorting slots, including multiple dynamic sorting slots and multiple static sorting slots. The dynamic sorting slots are the sorting slots used for dynamic sorting, and the static sorting slots are the sorting slots used for static sorting.

[0130] Idle dynamic sorting slots refer to dynamic sorting slots that are not currently undertaking sorting tasks.

[0131] Specifically, in dynamic sorting, the correspondence between the set of sorted packages and the sorting slots changes dynamically, and the correspondence between the dynamic sorting slots and the set of packages to be sorted is one-to-one within the same time period; therefore, when the target sorting method for the set of packages to be sorted is dynamic sorting, the sorting machine needs to first determine whether there are any idle dynamic sorting slots that are not currently undertaking any sorting tasks among the multiple dynamic sorting slots corresponding to dynamic sorting; if there are idle dynamic sorting slots, the sorting machine determines the idle dynamic sorting slot as the target sorting slot for the set of packages to be sorted, and controls the sorting machine to transport each package to be sorted to the target sorting slot, so as to perform dynamic sorting of each package through the target sorting slot.

[0132] In this embodiment, the sorting machine can ensure the normal dynamic sorting of packages by judging whether there are idle dynamic sorting slots, while following the dynamic sorting logic.

[0133] In one exemplary embodiment, such as Figure 8 As shown, step S106 above, which sorts each package to be sorted based on the target sorting method, further includes the following steps:

[0134] Step S802: If there are no idle dynamic sorting slots, control the sorting machine to circulate and transport each package to be sorted, and record the number of circulations of each package to be sorted.

[0135] Step S804: If the number of cyclic transports is less than or equal to the preset threshold for the number of cyclic transports, and an idle dynamic sorting slot appears, the idle dynamic sorting slot is identified as the target sorting slot, and the sorting machine is controlled to transport each package to be sorted to the target sorting slot so as to perform dynamic sorting of each package to be sorted through the target sorting slot.

[0136] Step S806: If the number of cyclic transports exceeds the threshold for the number of cyclic transports and no idle dynamic sorting slots appear, control the sorting machine to transport each package to be sorted to the manual sorting slot corresponding to the manual sorting, so as to manually sort each package.

[0137] The sorting machine has a conveyor belt that transports packages to be sorted to each sorting slot, and the conveyor belt is a circular conveyor belt; circular transportation refers to the process of the packages to be sorted starting from the starting point of the conveyor belt and returning to the starting point of the conveyor belt.

[0138] Specifically, when there are no idle dynamic sorting slots in the dynamic sorting slots, the sorting machine controls the sorting machine to circulate and transport each package to be sorted, and records the number of circulations of each package to be sorted. If the number of circulations does not exceed (is less than or equal to) a preset threshold for the number of circulations, and an idle dynamic sorting slot appears, the idle dynamic sorting slot is identified as the target sorting slot corresponding to the set of packages to be sorted, and the sorting machine is controlled to transport each package to be sorted to the target sorting slot for dynamic sorting. Alternatively, if the number of circulations exceeds (is greater than) the threshold for the number of circulations, and no idle dynamic sorting slot appears, the sorting machine is controlled to transport each package to be sorted to the manual sorting slot corresponding to manual sorting for manual sorting.

[0139] For example, assuming a preset threshold for the number of cyclic transports is three, if the sorting machine has transported each package to be sorted no more than three times (e.g., once, twice, or three times) and a dynamic sorting slot has been released, the newly released dynamic sorting slot will be designated as the target sorting slot for the set of packages to be sorted, and the packages will be dynamically sorted through this target sorting slot. If the number of cyclic transports for each package to be sorted exceeds three times (e.g., four times) and no dynamic sorting slot has been released, the sorting machine will transport each package to the manual sorting slot corresponding to manual sorting for manual sorting.

[0140] In this embodiment, when the sorting machine is undertaking other sorting tasks at each dynamic sorting grid, the normal sorting of the packages to be sorted can be ensured by manually sorting the packages to be sorted.

[0141] In one exemplary embodiment, the sorting machine has at least one corresponding static sorting slot for each preset set of packages to be sorted.

[0142] Step S106 above, which sorts each package to be sorted based on the target sorting method, specifically includes the following: if there is no idle dynamic sorting slot, determine the static sorting slot corresponding to the set of packages to be sorted, and use the static sorting slot corresponding to the set of packages to be sorted as the target sorting slot corresponding to the set of packages to be sorted; control the sorting machine to transport each package to be sorted to the target sorting slot, so as to perform static sorting of each package to be sorted through the target sorting slot.

[0143] Each preset set of packages to be sorted corresponds to at least one static sorting grid in multiple static sorting grids.

[0144] In one exemplary embodiment, the sorting machine has at least one corresponding static sorting slot for each preset set of packages to be sorted.

[0145] Step S106 above, which sorts each package to be sorted based on the target sorting method, specifically includes the following: if the target sorting method is static sorting, the static sorting grid corresponding to the set of packages to be sorted is determined as the target sorting grid corresponding to the set of packages to be sorted; the sorting machine is controlled to transport each package to be sorted to the target sorting grid so as to perform static sorting of each package to be sorted through the target sorting grid.

[0146] Each preset set of packages to be sorted corresponds to at least one static sorting grid in multiple static sorting grids.

[0147] In an exemplary embodiment, in the logistics sorting method provided in this application, the sorting machine performs the processing of steps S102 to S106 once at a preset time interval, that is, the sorting machine re-determines the target sorting method corresponding to each set of packages to be sorted every certain period of time.

[0148] To more clearly illustrate the logistics sorting method provided in the embodiments of this application, a specific embodiment is used below to describe the logistics sorting method in detail. However, it should be understood that the embodiments of this application are not limited thereto. Figure 9 As shown, in one exemplary embodiment, this application also provides a small-item sorting method based on packaged component concentration calculation, specifically including the following steps:

[0149] Step S902: Obtain the delivery time information of each package to be sorted in the package set to be sorted.

[0150] Each set of packages to be sorted corresponds to a package tag; the delivery time information refers to the delivery timestamp of the packages to be sorted, which is used to characterize the time when the packages are put on the sorting machine.

[0151] Specifically, for each package label, the sorting machine obtains the supply timestamp of each package to be sorted under that label.

[0152] Step S904: Based on the delivery time information of each package to be sorted, determine the delivery time concentration of the package set to be sorted.

[0153] Among them, the supply time concentration is used to characterize the discreteness of the supply time information of each package to be sorted in the set of packages to be sorted.

[0154] Specifically, the sorting machine uses the Kozachenko-Leonenko K-nearest neighbor analysis method to perform time series analysis on the supply timestamps of each package under the package label, calculates the dispersion of the supply timestamps of each package, and obtains the supply time concentration corresponding to the package label.

[0155] Following step S904, either step S906 or step S908 may occur:

[0156] Step S906: When the supply time is highly concentrated, the dynamic sorting method in the preset sorting method is determined as the target sorting method.

[0157] Step S908: When the concentration of supply time is low, static sorting in the preset sorting methods is determined as the target sorting method.

[0158] Specifically, the sorting machine sorts packages with high concentration of supply time through dynamic sorting and packages with low concentration of supply time through static sorting.

[0159] In practical applications, the level of supply time concentration can be based on the absolute level of a preset supply time concentration threshold, or it can be based on the relative level of a preset supply time concentration ranking result.

[0160] In this embodiment, the Kozachenko-Leonenko K-nearest neighbor analysis method is used to calculate the supply time concentration of each package tag, thereby determining whether the package tag participates in dynamic sorting or static sorting. This can give full play to the advantages of dynamic sorting and static sorting, improve the utilization rate of sorting slots, and thus improve the overall sorting efficiency of packages and optimize sorting capacity.

[0161] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0162] Based on the same inventive concept, this application also provides a logistics sorting device for implementing the logistics sorting method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more logistics sorting device embodiments provided below can be found in the limitations of the logistics sorting method described above, and will not be repeated here.

[0163] In one exemplary embodiment, such as Figure 10 As shown, a logistics sorting device is provided, including: an information acquisition module 1002, a method determination module 1004, and a package sorting module 1006, wherein:

[0164] The information acquisition module 1002 is used to acquire the supply time information of each package to be sorted in the set of packages to be sorted; the supply time information of each package to be sorted is used to characterize the sorting start time of each package to be sorted.

[0165] The method determination module 1004 is used to determine the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods based on the supply time information of each package to be sorted; the preset sorting methods include at least static sorting and dynamic sorting.

[0166] The package sorting module 1006 is used to sort each package to be sorted based on the target sorting method.

[0167] In an exemplary embodiment, the method determination module 1004 is further configured to determine the supply time concentration of the set of packages to be sorted based on the supply time information of each package to be sorted; the supply time concentration is used to characterize the degree of concentration of the supply time information of each package to be sorted; and based on the supply time concentration, determine the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods.

[0168] In an exemplary embodiment, the method determination module 1004 is further configured to determine dynamic sorting in the preset sorting methods as the target sorting method when the concentration of supply time meets the preset conditions; and to determine static sorting in the preset sorting methods as the target sorting method when the concentration of supply time does not meet the preset conditions.

[0169] In an exemplary embodiment, the method determination module 1004 is further configured to determine the information entropy of the supply time information of each package to be sorted based on the supply time information of each package to be sorted; and to determine the supply time concentration corresponding to the set of packages to be sorted based on the information entropy of the supply time information of each package to be sorted.

[0170] In an exemplary embodiment, the method determination module 1004 is further configured to, for each first package to be sorted, determine the correlation degree between the supply time information of the first package to be sorted and the supply time information of each second package to be sorted; the first package to be sorted is any one of the packages to be sorted, and the second package to be sorted is any one of the packages to be sorted other than the first package to be sorted; based on the correlation degree, a preset number of supply time information are determined from the supply time information of each second package to be sorted as associated supply time information of the first package to be sorted; based on the associated supply time information of the first package to be sorted, the information entropy of the supply time information of the first package to be sorted is determined.

[0171] In one exemplary embodiment, the number of packages to be sorted is multiple.

[0172] The logistics sorting device also includes a package allocation module, which is used to obtain the package attribute information of each package to be sorted and the package set attribute information of each set of packages to be sorted; based on the package attribute information and the package set attribute information, the package to be sorted and the set of packages to be sorted are matched, and the package to be sorted is added to the matching set of packages to be sorted.

[0173] In an exemplary embodiment, the package sorting module 1006 is further configured to, if the target sorting method is dynamic sorting, determine whether there are any idle dynamic sorting slots among the multiple dynamic sorting slots of the sorting machine; the dynamic sorting slot is the sorting slot among the multiple sorting slots of the sorting machine used for dynamic sorting; if there are idle dynamic sorting slots, determine the idle dynamic sorting slot as the target sorting slot corresponding to the set of packages to be sorted; control the sorting machine to transport each package to be sorted to the target sorting slot, so as to perform dynamic sorting on each package to be sorted through the target sorting slot.

[0174] In an exemplary embodiment, the package sorting module 1006 is further configured to: control the sorting machine to cyclically transport each package to be sorted if no idle dynamic sorting slot exists, and record the number of cyclic transports for each package to be sorted; if the number of cyclic transports is less than or equal to a preset threshold for the number of cyclic transports, and an idle dynamic sorting slot appears, determine the idle dynamic sorting slot as the target sorting slot, and control the sorting machine to transport each package to be sorted to the target sorting slot for dynamic sorting through the target sorting slot; if the number of cyclic transports is greater than the threshold for the number of cyclic transports, and no idle dynamic sorting slot appears, control the sorting machine to transport each package to be sorted to the manual sorting slot corresponding to manual sorting for manual sorting of each package.

[0175] Each module in the aforementioned logistics sorting device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the electronic device in hardware form or independent of it, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.

[0176] In one exemplary embodiment, an electronic device is provided, which may be a sorting machine, and its internal structure diagram may be as follows: Figure 11 As shown, this electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a logistics sorting method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0177] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0178] In one exemplary embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0179] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above-described method embodiments.

[0180] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0181] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0182] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0183] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A logistics sorting method, characterized in that, The method includes: Obtain the supply time information of each package in the set of packages to be sorted; the supply time information of each package is used to characterize the sorting start time of each package. Based on the delivery time information of each package to be sorted, a target sorting method corresponding to the set of packages to be sorted is determined from the preset sorting methods; the preset sorting methods include at least static sorting and dynamic sorting; Based on the target sorting method, each package to be sorted is sorted.

2. The method according to claim 1, characterized in that, The step of determining the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods includes: Based on the delivery time information of each package to be sorted, the delivery time concentration of the package set to be sorted is determined; the delivery time concentration is used to characterize the degree of concentration of the delivery time information of each package to be sorted. Based on the concentration of the supply time, the target sorting method corresponding to the set of packages to be sorted is determined in the preset sorting method.

3. The method according to claim 2, characterized in that, The step of determining the target sorting method corresponding to the set of packages to be sorted from the preset sorting methods based on the concentration of the supply time includes: If the concentration of the supply time meets the preset conditions, the dynamic sorting in the preset sorting method will be determined as the target sorting method; If the concentration of the supply time does not meet the preset condition, the static sorting in the preset sorting method will be determined as the target sorting method.

4. The method according to claim 2, characterized in that, The step of determining the supply time concentration of the set of packages to be sorted based on the supply time information of each package to be sorted includes: Based on the delivery time information of each package to be sorted, the information entropy of the delivery time information of each package to be sorted is determined. Based on the information entropy of the delivery time information of each package to be sorted, the delivery time concentration of the package set to be sorted is determined.

5. The method according to claim 4, characterized in that, The determination of the information entropy of the supply time information of each package to be sorted based on the supply time information of each package to be sorted includes: For each first package to be sorted, the correlation between the supply time information of the first package to be sorted and the supply time information of each second package to be sorted is determined; the first package to be sorted is any one of the packages to be sorted, and the second package to be sorted is any one of the packages to be sorted except the first package to be sorted. Based on the correlation, a preset number of supply time information are determined from the supply time information of each second package to be sorted, and used as the associated supply time information of the first package to be sorted. Based on the associated supply time information of the first package to be sorted, the information entropy of the supply time information of the first package to be sorted is determined.

6. The method according to any one of claims 1 to 5, characterized in that, The number of packages to be sorted is multiple; Before obtaining the delivery time information of each package in the set of packages to be sorted, the method further includes: Obtain the package attribute information of each package to be sorted, and obtain the package set attribute information of each set of packages to be sorted; Based on the package attribute information and the package set attribute information, the package to be sorted and the package set to be sorted are matched, and the package to be sorted is added to the matching package set to be sorted.

7. The method according to any one of claims 1 to 5, characterized in that, The sorting of each package to be sorted based on the target sorting method includes: If the target sorting method is dynamic sorting, determine whether there are any idle dynamic sorting slots among the multiple dynamic sorting slots of the sorting machine; the dynamic sorting slot is the sorting slot among the multiple sorting slots of the sorting machine used for dynamic sorting. If there is an available dynamic sorting slot, the available dynamic sorting slot is determined as the target sorting slot corresponding to the set of packages to be sorted; The sorting machine is controlled to transport each package to be sorted to the target sorting slot, so that the packages to be sorted can be dynamically sorted through the target sorting slot.

8. The method according to claim 7, characterized in that, The method further includes: If there are no available dynamic sorting slots, control the sorting machine to circulate the packages to be sorted and record the number of circulations of each package to be sorted. If the number of cyclic transports is less than or equal to the preset threshold for the number of cyclic transports, and an idle dynamic sorting slot appears, the idle dynamic sorting slot is identified as the target sorting slot, and the sorting machine is controlled to transport each package to be sorted to the target sorting slot so as to perform dynamic sorting of each package to be sorted through the target sorting slot. If the number of cyclic transports exceeds the threshold number of cyclic transports and no idle dynamic sorting slots appear, the sorting machine is controlled to transport each package to be sorted to the manual sorting slot corresponding to manual sorting, so that each package to be sorted can be manually sorted.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.