Parcel sorting method and device

By determining the logistics channel and target sub-channel based on the starting address and distribution address of the package, and generating sorting codes for processing, the problem of insufficient granularity of the initial sorting of the package is solved, efficient and accurate parcel sorting is achieved, and cost is reduced. Improve the timeliness of logistics distribution.

CN119027003APending Publication Date: 2024-11-26BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310595072.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, the initial sorting particle size of the parcel is insufficient, resulting in an increase in the cost of secondary sorting, a decrease in efficiency, and may lead to an extension of the logistics cycle and affecting the delivery time.

Method used

Determine the logistics channel based on the starting address and distribution address of the package to be sorted, select the target sub-channel that meets the parcel attributes, generate a target sorting code for processing, realize fine-grained parcel sorting and avoid secondary sorting.

Benefits of technology

It reduces sorting costs, improves efficiency, ensures the accuracy of sorting results, avoids package return, shortens logistics distribution cycle, and ensures delivery time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027003A_ABST
    Figure CN119027003A_ABST
Patent Text Reader

Abstract

The invention discloses a parcel sorting method and device, and relates to the technical field of logistics. A specific embodiment of the method comprises the following steps: determining a logistics channel according to an initial address and a delivery address of a to-be-sorted package; according to the package attribute of the to-be-sorted package, selecting a target sub-channel of which the transportation condition can meet the package attribute from one or more sub-channels corresponding to the logistics channel; according to the target sub-channel, generating a target sorting code corresponding to the to-be-sorted parcel; and the parcels to be sorted are processed according to the target sorting codes. Therefore, sorting of the parcels with the fine granularity is achieved through one-time sorting, secondary sorting of the parcels is avoided, therefore, the sorting treatment cost is reduced, and the sorting treatment efficiency is improved; and in addition, the accuracy of the package sorting result is ensured through matching verification of the channel transportation conditions and the package attributes, so that the package return condition is avoided, the logistics distribution period is shortened, and the logistics distribution timeliness is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics technology, and in particular to a package sorting method and device. Background Art

[0002] The current cross-border logistics transportation mode is usually to collect parcels at the warehouse at the origin, sort them according to the destination of the parcels, and then deliver the sorted parcels to the transit warehouse of the logistics service provider. Since the parcels are only sorted according to the destination in the warehouse at the origin and the sorting granularity is relatively coarse, the logistics service provider usually needs to sort the parcels again to complete the parcel delivery task.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the related art:

[0004] The secondary sorting of parcels due to insufficient granularity of the initial sorting increases the cost of the sorting process and reduces the efficiency of sorting. In addition, the secondary sorting process may also find parcels that were sorted incorrectly in the initial sorting, which cannot be matched to the corresponding logistics route and need to be returned to the warehouse at the origin, which prolongs the logistics cycle and affects the delivery timeliness of the parcel. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a parcel sorting method and device. In order to accurately sort the parcels in the sorting bin, firstly, the logistics channel is determined according to the starting address and delivery address of the parcel to be sorted, wherein the logistics channel corresponds to one or more sub-channels with different transportation conditions; then, according to the parcel attributes of the parcel to be sorted, a target sub-channel whose transportation conditions can meet the parcel attributes is selected from the one or more sub-channels; then, according to the target sub-channel, a target sorting code corresponding to the parcel to be sorted is generated; finally, according to the target sorting code, the parcel to be sorted is processed. Thus, a finer-grained parcel sorting is achieved through one-time sorting, avoiding the secondary sorting of parcels by logistics service providers, thereby reducing the sorting processing cost and improving the efficiency of sorting processing; in addition, the accuracy of the parcel sorting results is ensured by matching and checking the channel transportation conditions with the parcel attributes, thereby avoiding the parcel return by the logistics service provider, shortening the logistics distribution cycle, and ensuring the logistics distribution timeliness.

[0006] To achieve the above objective, according to one aspect of an embodiment of the present invention, a parcel sorting method is provided.

[0007] A parcel sorting method according to an embodiment of the present invention includes: determining a logistics channel according to a starting address and a delivery address of a parcel to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions; according to the parcel attributes of the parcel to be sorted, selecting a target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels; according to the target sub-channel, generating a target sorting code corresponding to the parcel to be sorted; and processing the parcel to be sorted according to the target sorting code.

[0008] Optionally, when the transportation condition includes any one or more of the following: channel validity period, channel charging type and carrying volume; and the package attribute includes any one or more of the following: package transportation time, package charging type and packaging size, selecting a target sub-channel whose transportation condition can satisfy the package attribute from the one or more sub-channels includes:

[0009] Determine whether the transportation condition meets the package attributes based on any one or more of the following: whether the channel validity period meets the package transportation time, whether the channel charging type matches the package charging type, and whether the carrying volume meets the packaging size.

[0010] Optionally, when the method is applied to parcel sorting of cross-border logistics, and the parcel attributes include customs declaration conditions and / or a postal code corresponding to the delivery address, selecting the target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels includes any one or two of the following: selecting the target sub-channel that meets the customs declaration conditions from the one or more sub-channels according to the customs declaration conditions; determining the logistics zone corresponding to the delivery address of the parcel to be sorted according to the postal code corresponding to the delivery address; selecting the target sub-channel corresponding to the logistics zone from the one or more sub-channels according to the logistics zone corresponding to the delivery address.

[0011] Optionally, before determining the logistics channel according to the starting address and delivery address of the package to be sorted, the method provided by the present invention also includes: determining the channel code of each logistics channel and the sorting codes corresponding to one or more sub-channels of the logistics channel; associating the channel code of the logistics channel with the sorting codes corresponding to the one or more sub-channels; generating the target sorting code corresponding to the package to be sorted according to the target sub-channel includes: using the sorting code corresponding to the target sub-channel as the target sorting code.

[0012] Optionally, in the case where a newly added sub-channel exists, the method provided by the present invention further includes: determining whether there is a channel code corresponding to the logistics channel of the newly added sub-channel based on the starting address and delivery address of the logistics channel corresponding to the newly added sub-channel; if so, determining whether there is a sorting code corresponding to the newly added sub-channel; if there is no sorting code corresponding to the newly added sub-channel, generating a new sorting code for the newly added sub-channel, and associating the new sorting code with the channel code; if not, generating a new channel code for the logistics channel of the newly added sub-channel, generating a new sorting code for the newly added sub-channel, and associating the new channel code with the new sorting code.

[0013] Optionally, processing the parcel to be sorted according to the target sorting code includes: determining, according to user information corresponding to the parcel to be sorted, whether the target sorting code satisfies the sorting authority corresponding to the user information; if yes, sorting the parcel to be sorted; if not, suspending sorting of the parcel to be sorted, and issuing a prompt message that the target sorting code does not match the sorting authority.

[0014] Optionally, when the packages to be sorted have corresponding delivery time limits, the logistics channel is determined according to the starting address and delivery address of the packages to be sorted, including: determining the logistics channel according to the delivery time limit, starting address and delivery address of the packages to be sorted.

[0015] Optionally, the parcel to be sorted is processed according to the target sorting code, including: determining whether the difference between the expected delivery time of the parcel to be sorted and the current time is less than a preset time length according to the delivery time efficiency; if so, marking the sorting level of the parcel to be sorted as the highest priority, and giving priority to sorting the parcel to be sorted.

[0016] To achieve the above objective, according to another aspect of an embodiment of the present invention, a parcel sorting device is provided.

[0017] A parcel sorting device according to an embodiment of the present invention includes: a channel determination module, which is used to determine a logistics channel according to a starting address and a delivery address of a parcel to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions; a sub-channel selection module, which is used to select a target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels according to the parcel attributes of the parcel to be sorted; a target sorting code generation module: which is used to generate a target sorting code corresponding to the parcel to be sorted according to the target sub-channel; and a sorting processing module, which is used to process the parcel to be sorted according to the target sorting code.

[0018] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device for parcel sorting is provided.

[0019] An electronic device for parcel sorting according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement a parcel sorting method according to an embodiment of the present invention.

[0020] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.

[0021] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, a parcel sorting method according to an embodiment of the present invention is implemented.

[0022] One embodiment of the above invention has the following advantages or beneficial effects: in order to accurately sort the parcels in the sorting bin, first determine the logistics channel according to the starting address and delivery address of the parcel to be sorted, wherein the logistics channel corresponds to one or more sub-channels with different transportation conditions; then select the target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels according to the parcel attributes of the parcel to be sorted; then generate the target sorting code corresponding to the parcel to be sorted according to the target sub-channel; finally, process the parcel to be sorted according to the target sorting code. Thus, a finer-grained parcel sorting is achieved through one-time sorting, avoiding the secondary sorting of the parcel by the service provider, thereby reducing the sorting processing cost and improving the efficiency of the sorting processing; in addition, the accuracy of the parcel sorting result is ensured by matching and checking the channel transportation conditions with the parcel attributes, thereby avoiding the situation where the service provider returns the parcel, shortening the logistics distribution cycle, and ensuring the timeliness of logistics distribution.

[0023] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0025] Figure 1 is a schematic diagram of main steps of a parcel sorting method according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram of a system initialization interface of a parcel sorting method according to an embodiment of the present invention;

[0027] Figure 3is a schematic diagram of the processing logic of a newly added logistics channel of a parcel sorting method according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of main steps of a parcel sorting method according to an embodiment of the present invention;

[0029] Figure 5 is a schematic diagram of main modules of a parcel sorting device according to an embodiment of the present invention;

[0030] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0031] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0033] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.

[0034] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.

[0035] Figure 1 Schematic diagram of main steps of a parcel sorting method according to an embodiment of the present invention.

[0036] like Figure 1 As shown, the parcel sorting method of the embodiment of the present invention mainly includes the following steps:

[0037] Step S101: Determine a logistics channel according to the starting address and delivery address of the package to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions.

[0038] The embodiment of the present invention takes the sorting of cross-border logistics packages as an example to explain the package sorting method in detail.

[0039] In one embodiment of the present invention, before determining the logistics channel according to the starting address and the delivery address of the package to be sorted, the method provided by the present invention further includes: determining the channel code of each logistics channel and the sorting codes corresponding to one or more sub-channels of the logistics channel; and associating the channel code of the logistics channel with the sorting codes corresponding to the one or more sub-channels.

[0040] Before sorting the parcels, you first need to initialize the parcel sorting system. According to the logistics channels provided by the logistics service provider, such as the special line between country A and country B and the special line between country A and country C, configure the logistics channel parameters in the sorting system. In addition, according to the different logistics transportation costs, you can also set logistics channels with different delivery time limits, such as the economic special line between country A and country B, the standard special line between country A and country B, the express special line between country A and country B, the regional products between country A and country B, and the postal parcels between country A and country B. It is understandable that in general, the special line with higher transportation costs will also have a shorter delivery time limit. It is also understandable that the logistics channels can be divided more finely according to other dimensions to obtain the sub-channels corresponding to the logistics channels. For example, the country A-country B standard line can be divided according to the type of parcels transported through the sub-channels and / or the customs ports corresponding to the sub-channels, and the sub-channels corresponding to the country A-country B standard line can be obtained, such as the country A-country B standard line with charge at port L, the country A-country B general cargo (non-charged) standard line at port M, etc.

[0041] During the initial configuration phase of the parcel sorting system, a channel code is configured for each logistics channel, and a sorting code is configured for each sub-channel corresponding to each logistics channel, and the channel code of the logistics channel is bound to the sorting code of one or more sub-channels corresponding to it. Figure 2 As shown, the logistics channel is mainly determined by the starting address and delivery address of the package, and the sub-channel is determined by the specific attributes of the package it transports. It is understandable that other parameters can be added to the initial configuration interface, such as the type of charge, customs declaration conditions, etc., so that the scope of the sub-channel can be more clearly determined based on the type of charge and customs declaration conditions.

[0042] After the package's starting address, such as country A, and the delivery address, such as country B, are determined, the logistics channel can be determined, such as the country A-country B special line. Since the channel code of the logistics channel is bound to the sorting code of one or more corresponding sub-channels, the corresponding sub-channel can be obtained according to the country A-country B special line. Or, according to the delivery time required by the user and the starting address and delivery address of the package, the logistics channel can be determined, such as the country A-country B standard special line. According to the binding relationship between the channel and the sub-channel, the sub-channel can be determined from the country A-country B standard special line with power L port and the country A-country B general cargo (non-powered) M port standard special line.

[0043] Therefore, in the logistics sorting stage, the sorting system can determine the logistics channel according to the starting address and delivery address of the package to be sorted, and obtain the sub-channel corresponding to the logistics channel according to the binding relationship between the logistics channel and its corresponding sub-channel. For example, if the starting address and delivery address of the package to be sorted are country A and country B respectively, the country A-country B special line can be determined based on the origin country A and the destination country B, and one or more sub-channels bound to the country A-country B special line can be determined through the country A-country B special line.

[0044] The transportation conditions of each sub-channel are different, such as channel validity period, channel charging type and carrying volume. The channel validity period is the service period and start and end dates of the sub-channel stipulated in the cooperation agreement signed between logistics service providers; the channel charging type is the type of package transported by the sub-channel, such as charged package or ordinary package; the carrying volume is the restriction imposed by the sub-channel on the packaging size (such as length, width, height, etc.) of the package transported.

[0045] In one embodiment of the present invention, in order to reduce multiple configurations of new channels online and reduce operating costs, in the case of a newly added sub-channel, the method provided by the present invention further includes: determining whether there is a channel code corresponding to the logistics channel of the newly added sub-channel according to the starting address and the delivery address of the logistics channel corresponding to the newly added sub-channel;

[0046] If yes, determine whether there is a sorting code corresponding to the newly added sub-channel; if there is no sorting code corresponding to the newly added sub-channel, generate a new sorting code for the newly added sub-channel, and associate the new sorting code with the channel code;

[0047] If not, a new channel code is generated for the logistics channel of the newly added sub-channel, and a new sorting code is generated for the newly added sub-channel, and the new channel code is associated with the new sorting code.

[0048] Logistics service providers will open up new logistics routes based on business needs. Figure 3The flowchart shown is the business logic of the system for processing newly added logistics routes. For example, if a new R-port dedicated line from country A to country C is added, based on the origin and destination countries of the dedicated line, it can be determined that the main logistics route is country A to country C, and the main line A to country C is compared with the existing logistics channels in the system. If the comparison result shows that the logistics channel A to country C already exists in the system, the channel code of the logistics channel A to country C is determined, and it is determined whether the newly added R-port dedicated line from country A to country C exists in the system. If not, a new sorting code is generated for the newly added R-port dedicated line from country A to country C, and the new sorting code is bound to the channel code of the existing logistics channel A to country C in the system.

[0049] In addition, when the newly added logistics route is the A-D country R-port dedicated line, the logistics channel A-D country is compared with the existing logistics channels in the system to determine that the logistics channel A-D country does not exist in the system. Therefore, a new channel code is generated for the logistics channel A-D country. Obviously, the A-D country R-port dedicated line does not exist in the system. Therefore, a new sorting code is generated for the A-D country R-port dedicated line. Finally, the channel code of the logistics channel A-D country is bound to the sorting code of the A-D country R-port dedicated line.

[0050] Figure 3 It is a schematic diagram of the processing logic of a newly added logistics channel of a parcel sorting method according to an embodiment of the present invention.

[0051] The following takes the addition of a sub-channel in a sorting system as an example to describe in detail the processing logic of the new logistics channel provided by the embodiment of the present invention. Figure 3 As shown, the processing logic for configuring a new logistics channel in the system may include the following steps:

[0052] Step S301: Add a sub-channel.

[0053] Logistics service providers have opened up new logistics routes based on business needs, so new sub-channels need to be configured in the system.

[0054] Step S302: Determine the corresponding logistics channel according to the newly added sub-channel.

[0055] The logistics channel of the newly added sub-channel is determined according to the starting address and delivery address of the logistics channel corresponding to the newly added sub-channel.

[0056] Step S303: Determine whether the logistics channel of the newly added sub-channel exists in the system. If yes, execute step S304; if not, execute step S305.

[0057] According to the starting address and delivery address of the logistics channel corresponding to the newly added sub-channel, determine whether there is a channel code corresponding to the logistics channel of the newly added sub-channel in the system.

[0058] Step S304: Determine whether the newly added sub-channel exists in the system, if yes, execute step S307; if not, execute step S306.

[0059] In the case that there exists a channel code corresponding to the logistics channel of the newly added sub-channel in the system, it is determined whether there exists a sorting code corresponding to the newly added sub-channel in the system.

[0060] Step S305: Generate a new channel code for the logistics channel.

[0061] When there is no channel code corresponding to the logistics channel of the newly added sub-channel in the system, a new channel code is generated for the logistics channel corresponding to the newly added sub-channel.

[0062] Step S306: Generate a new sorting code for the newly added sub-channel.

[0063] When there is no sorting code corresponding to the newly added sub-channel in the system, a new sorting code is generated for the newly added sub-channel.

[0064] Step S307: Bind the channel code and the sorting code.

[0065] Associate the channel code of the logistics channel corresponding to the newly added sub-channel with the sorting code of the newly added sub-channel.

[0066] In one embodiment of the present invention, when the to-be-sorted packages have corresponding delivery time limits, determining the logistics channel according to the starting address and the delivery address of the to-be-sorted packages includes: determining the logistics channel according to the delivery time limit, the starting address, and the delivery address of the to-be-sorted packages.

[0067] Since the transportation costs of each logistics line can largely reflect the delivery time, that is, the delivery time is short if the cost is high, and the delivery time is long if the cost is low. Because when the delivery time is included in the package attributes, the logistics line corresponding to the delivery time is selected from the logistics lines divided according to the transportation costs. For example, according to the cost of logistics transportation, the logistics channels are set to the economic line between country A and country B, the standard line between country A and country B, the express line between country A and country B, the regional products between country A and country B, and the postal parcels between country A and country B. The corresponding delivery time is, for example, 30 days for the economic line between country A and country B, 20 days for the standard line between country A and country B, 10 days for the express line between country A and country B, 15 days for the regional products between country A and country B, and 40 days for the postal parcels between country A and country B.

[0068] The delivery time limit of the parcel to be sorted is 20 days, the starting address is country A, and the delivery address is country B. Therefore, according to the delivery time limit, starting address, and delivery address of the parcel, the logistics channel is determined to be the standard dedicated line between country A and country B. It can be understood that the granularity level of the logistics channel is determined by the relevant information of the referenced parcel, that is, the more relevant information of the referenced parcel, the finer the granularity of the determined logistics channel. For example, referring to the starting address of the parcel in country A and the delivery address in country B, only the logistics channel dedicated line between country A and country B can be determined, while referring to the delivery time limit of 20 days, the starting address in country A, and the delivery address in country B, the logistics channel can be determined to be the standard dedicated line between country A and country B. Similarly, the same principle applies to sub-channels. When selecting the target sub-channel, the more transportation conditions are verified and the more parcel attributes are referenced, the finer the granularity of the determined target sub-channel, especially when there are many sub-channels and the division granularity is fine.

[0069] Step S102: According to the package attributes of the package to be sorted, a target sub-channel whose transportation conditions can meet the package attributes is selected from the one or more sub-channels.

[0070] In one embodiment of the present invention, when the transportation condition includes any one or more of the following: channel validity period, channel charging type and carrying volume; and the package attribute includes any one or more of the following: package transportation time, package charging type and packaging size, selecting a target sub-channel whose transportation condition can satisfy the package attribute from the one or more sub-channels includes:

[0071] Determine whether the transportation condition meets the package attributes based on any one or more of the following: whether the channel validity period meets the package transportation time, whether the channel charging type matches the package charging type, and whether the carrying volume meets the packaging size.

[0072] After the logistics channel and its corresponding multiple sub-channels are determined based on the starting address and delivery address of the package, the channel validity period of the sub-channel is first verified based on the package transportation time to determine the sub-channel that is within the service period when the package needs to be transported, that is, the valid sub-channel. Then, based on the type of charge on the package, such as charged packages, an effective charged channel that can transport charged packages is selected from the valid sub-channels. Further, based on the packaging size of the package, an effective charged channel whose carrying volume can meet the packaging size of the package is selected from the effective charged channels that can transport charged packages. Finally, the effective charged channel that can meet the packaging size of the package is determined as the target sub-channel for the package.

[0073] In one embodiment of the present invention, when the method is applied to parcel sorting in cross-border logistics, and the parcel attributes include customs declaration conditions and / or a postal code corresponding to a delivery address, selecting a target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels includes any one or both of the following:

[0074] According to the customs declaration conditions, selecting the target sub-channel that meets the customs declaration conditions from the one or more sub-channels;

[0075] According to the postal code corresponding to the delivery address, determine the logistics zone corresponding to the delivery address of the package to be sorted; according to the logistics zone corresponding to the delivery address, select the target sub-channel corresponding to the logistics zone from the one or more sub-channels.

[0076] In cross-border logistics, in order to reduce logistics costs, logistics service providers set up corresponding import / export customs ports according to the declared value range of the package. For example, the dedicated line from country A to country C sets two ranges of 0-800 pounds and 800-1,000,000 pounds according to the declared value of the package, and at the same time corresponds the two declared value ranges to two different customs ports, such as Port N and Port P. Therefore, when selecting a target sub-channel from multiple sub-channels, the customs declaration conditions of the package, such as the customs declared value of 500 pounds, can be used to determine the customs port corresponding to the package, such as Port N, and the sub-channel passing through Port N can be determined from multiple sub-channels based on the determined Port N, and finally the sub-channel passing through Port N can be used as the target sub-channel.

[0077] Different countries have different ways of dividing logistics areas. For example, country B divides logistics areas according to postal codes. Therefore, when setting up logistics channels and sub-channels for packages in country B, you need to set them according to postal codes. When sorting packages with a delivery destination in country B, you need to determine the logistics area according to the postal code corresponding to the package delivery address, and select the target sub-channel from multiple sub-channels based on the logistics area. The target sub-channel is the final sorting route for the package.

[0078] Step S103: generating a target sorting code corresponding to the to-be-sorted package according to the target sub-channel.

[0079] In one embodiment of the present invention, generating the target sorting code corresponding to the to-be-sorted package according to the target sub-channel includes: using the sorting code corresponding to the target sub-channel as the target sorting code.

[0080] The channel code and sorting code are configured in the sorting system as the codes of the logistics channel and its corresponding sub-channel respectively, and the channel code and the corresponding sorting code are mutually associated. Therefore, when the logistics channel is determined, the channel code can be determined, and when the channel code is determined, the sorting code and its corresponding sub-channel can be determined. After the target sub-channel is determined from multiple sub-channels according to the channel transportation conditions and package attributes, the corresponding sorting code is determined according to the target sub-channel, and the sorting code is the target sorting code. During the sorting process, the package is sorted according to the target sorting code.

[0081] Step S104: Processing the parcel to be sorted according to the target sorting code.

[0082] In one embodiment of the present invention, processing the parcel to be sorted according to the target sorting code includes: determining, according to user information corresponding to the parcel to be sorted, whether the target sorting code satisfies the sorting authority corresponding to the user information; if yes, sorting the parcel to be sorted; if not, suspending the sorting of the parcel to be sorted, and issuing a prompt message that the target sorting code does not match the sorting authority.

[0083] Users purchase logistics transportation services to entrust logistics service providers to transport logistics packages for them. In the sorting system, the corresponding sub-channels are configured for the user according to the logistics services purchased by the user, and the user information of the user is associated with the sorting authority corresponding to the sub-channel. When sorting packages, the user information corresponding to the package and the sorting authority corresponding to the user can be displayed.

[0084] When sorting the parcel, after determining the target sorting code for the parcel, the sorting system can also match the target sorting code with the sorting authority corresponding to the user to determine whether the sub-channel corresponding to the target sorting code is consistent with the sub-channel corresponding to the user's sorting authority. If they are consistent, the parcel is sorted; if they are inconsistent, a sorting error alarm is issued and the parcel is not sorted temporarily.

[0085] In one embodiment of the present invention, processing the parcel to be sorted according to the target sorting code includes: determining whether the difference between the expected delivery time of the parcel to be sorted and the current time is less than a preset time length according to the delivery time efficiency; if so, marking the sorting level of the parcel to be sorted as the highest priority, and giving priority to sorting the parcel to be sorted.

[0086] In order to ensure the delivery time of the package, the delivery time of the package can also be verified during sorting, and the remaining packages with shorter delivery time can be given priority to ensure that the package can be delivered to the delivery destination within the expected time. The specific operation is to calculate the expected delivery time of the package according to the user's order time and the delivery time reserved by the user, calculate the difference between the expected delivery time and the current time, set the preset time according to the transportation time from the origin to the destination of the sub-channel corresponding to the target sorting code, and determine whether the difference between the expected delivery time and the current time is less than the preset time. If the difference is less than the preset time, it is determined that the actual delivery time of the package may be later than the expected delivery time, so the package is sorted first.

[0087] Figure 4 Schematic diagram of main steps of a parcel sorting method according to an embodiment of the present invention.

[0088] The following still takes the sorting of cross-border logistics parcels as an example to describe in detail the parcel sorting method provided by the embodiment of the present invention. Figure 4 As shown, the method may include the following steps:

[0089] Step S401: Determine the logistics channel according to the origin address and delivery address of the package.

[0090] The logistics channel corresponds to one or more sub-channels with different transportation conditions. In the initial configuration phase of the parcel sorting system, a channel code is configured for each logistics channel, and a sorting code is configured for each sub-channel corresponding to the logistics channel, and the channel code of the logistics channel is bound to the sorting code of one or more sub-channels corresponding to it. Therefore, in the sorting phase, the sorting system can determine the logistics channel according to the starting address and delivery address of the package, and obtain the sub-channel corresponding to the logistics channel according to the binding relationship between the logistics channel and its corresponding sub-channel.

[0091] Step S402: performing channel validity verification on one or more sub-channels corresponding to the logistics channel.

[0092] The channel validity period of the sub-channel is verified according to the package transportation time to determine the sub-channel that is within the service period when the package needs to be transported, that is, the valid sub-channel.

[0093] Step S403: Verify the channel charging type and carrying volume of the valid sub-channel.

[0094] Based on the charge type of the package, for example, a charged package, select an effective sub-channel that can transport the charged package from the effective sub-channels. Further, based on the packaging size of the package, select an effective sub-channel whose carrying volume can meet the packaging size of the package from the effective sub-channels that can transport the charged package.

[0095] Step S404: Screen the sub-channels according to the customs declaration conditions of the package.

[0096] According to the customs declaration conditions of the package, the customs port corresponding to the package is determined. According to the determined port, the sub-channel passing through the port is determined from the effective electronic channels that can meet the packaging size of the package, and it is used as the quasi-target sub-channel.

[0097] Step S405: further filter the sub-channels according to the postal code corresponding to the delivery address of the package.

[0098] The logistics zone is determined according to the postal code corresponding to the package delivery address, and the target sub-channel is determined in the quasi-target sub-channel according to the logistics zone as the final sorting route for the package.

[0099] Step S406: Generate a corresponding target sorting code according to the target sub-channel.

[0100] After determining the target sub-channel from multiple sub-channels according to the channel transportation conditions and package attributes, the corresponding sorting code is determined according to the target sub-channel, and the sorting code is the target sorting code.

[0101] Step S407: According to the target sorting code, determine whether the sub-channel corresponding to the target sorting code is consistent with the sub-channel corresponding to the user's sorting authority. If yes, execute step S408; if not, execute step S409.

[0102] When sorting the parcel, after determining the target sorting code for the parcel, the sorting system may also match the target sorting code with the sorting authority corresponding to the user to determine whether the sub-channel corresponding to the target sorting code is consistent with the sub-channel corresponding to the sorting authority of the user.

[0103] Step S408: sorting the packages.

[0104] When the sub-channel corresponding to the target sorting code is consistent with the sub-channel corresponding to the user's sorting authority, the parcel is sorted.

[0105] Step S409: an alarm prompting a sorting error is issued, and the package assembly operation is temporarily not performed on the package.

[0106] If the sub-channel corresponding to the target sorting code is inconsistent with the sub-channel corresponding to the user's sorting authority, the package will not be sorted for the time being.

[0107] From this, it can be seen that by binding the logistics channel with its corresponding sub-channel, the main logistics channel is determined according to the origin and destination of the package, and then according to the channel transportation conditions and package attributes, a finer-grained sub-channel is determined from the corresponding multiple sub-channels, achieving the purpose of achieving finer-grained package sorting through a single sorting.

[0108] It can be seen from the parcel sorting method according to the embodiment of the present invention that in order to accurately sort the parcels in the sorting bin, first determine the logistics channel according to the starting address and delivery address of the parcel to be sorted, wherein the logistics channel corresponds to one or more sub-channels with different transportation conditions; then select the target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels according to the parcel attributes of the parcel to be sorted; then generate the target sorting code corresponding to the parcel to be sorted according to the target sub-channel; finally, process the parcel to be sorted according to the target sorting code. Thus, a finer-grained parcel sorting is achieved through one-time sorting, avoiding the secondary sorting of parcels by the service provider, thereby reducing the sorting processing cost and improving the efficiency of the sorting processing; in addition, the accuracy of the parcel sorting results is ensured by matching and checking the channel transportation conditions with the parcel attributes, thereby avoiding the situation where the service provider returns the parcel, shortening the logistics distribution cycle, and ensuring the timeliness of logistics distribution.

[0109] Figure 5 Schematic diagram of main modules of a parcel sorting device according to an embodiment of the present invention.

[0110] like Figure 5 As shown, the parcel sorting device 500 of the embodiment of the present invention includes:

[0111] The channel determination module 501 is used to determine the logistics channel according to the starting address and the delivery address of the package to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions;

[0112] A sub-channel selection module 502 is used to select a target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels according to the parcel attributes of the parcel to be sorted;

[0113] Target sorting code generation module 503: used to generate a target sorting code corresponding to the to-be-sorted package according to the target sub-channel;

[0114] The sorting processing module 504 is used to process the parcel to be sorted according to the target sorting code.

[0115] In one embodiment of the present invention, when the transportation conditions include any one or more of the following: channel validity period, channel charging type and carrying volume; and the package attributes include any one or more of the following: package transportation time, package charging type and packaging size, the sub-channel selection module 502 is used to determine whether the transportation conditions meet the package attributes according to any one or more of the following: whether the channel validity period meets the package transportation time, whether the channel charging type matches the package charging type, and whether the carrying volume meets the packaging size.

[0116] In one embodiment of the present invention, when the method is applied to parcel sorting of cross-border logistics, and the parcel attributes include customs declaration conditions and / or a postal code corresponding to the delivery address, the sub-channel selection module 502 is used to select the target sub-channel that meets the customs declaration conditions from the one or more sub-channels according to the customs declaration conditions; and / or the sub-channel selection module 502 is used to determine the logistics partition corresponding to the delivery address of the parcel to be sorted according to the postal code corresponding to the delivery address; according to the logistics partition corresponding to the delivery address, select the target sub-channel corresponding to the logistics partition from the one or more sub-channels.

[0117] In one embodiment of the present invention, before determining the logistics channel according to the starting address and the delivery address of the package to be sorted, the channel determination module 501 is used to determine the channel code of each logistics channel and the sorting code corresponding to one or more sub-channels of the logistics channel; associate the channel code of the logistics channel with the sorting code corresponding to the one or more sub-channels; and the target sorting code generation module 503 is used to use the sorting code corresponding to the target sub-channel as the target sorting code.

[0118] In one embodiment of the present invention, in the case of a newly added sub-channel, the channel determination module 501 is used to determine whether there is a channel code corresponding to the logistics channel of the newly added sub-channel based on the starting address and the delivery address of the logistics channel corresponding to the newly added sub-channel; if so, determine whether there is a sorting code corresponding to the newly added sub-channel; if there is no sorting code corresponding to the newly added sub-channel, generate a new sorting code for the newly added sub-channel, and associate the new sorting code with the channel code; if not, generate a new channel code for the logistics channel of the newly added sub-channel, generate a new sorting code for the newly added sub-channel, and associate the new channel code with the new sorting code.

[0119] In one embodiment of the present invention, the sorting processing module 504 is used to determine whether the target sorting code meets the sorting authority corresponding to the user information according to the user information corresponding to the package to be sorted; if yes, sorting the package to be sorted is performed; if not, sorting the package to be sorted is suspended, and a prompt message is issued that the target sorting code does not match the sorting authority.

[0120] In one embodiment of the present invention, when the parcel to be sorted has a delivery time limit, the channel determination module 501 is used to determine the logistics channel according to the delivery time limit, the starting address, and the delivery address of the parcel to be sorted.

[0121] In one embodiment of the present invention, the sorting processing module 504 is used to determine whether the difference between the expected delivery time of the package to be sorted and the current time is less than a preset time length according to the delivery time efficiency; if so, the sorting level of the package to be sorted is marked as the highest priority, and the package to be sorted is sorted preferentially.

[0122] It can be seen from the parcel sorting device according to the embodiment of the present invention that in order to accurately sort the parcels in the sorting bin, firstly, the logistics channel is determined according to the starting address and delivery address of the parcel to be sorted, wherein the logistics channel corresponds to one or more sub-channels with different transportation conditions; then, according to the parcel attributes of the parcel to be sorted, the target sub-channel whose transportation conditions can meet the parcel attributes is selected from the one or more sub-channels; then, according to the target sub-channel, a target sorting code corresponding to the parcel to be sorted is generated; finally, according to the target sorting code, the parcel to be sorted is processed. Thus, a finer-grained parcel sorting is achieved through one-time sorting, avoiding the secondary sorting of the parcel by the service provider, thereby reducing the sorting processing cost and improving the efficiency of the sorting processing; in addition, the accuracy of the parcel sorting result is ensured by matching and checking the channel transportation conditions with the parcel attributes, thereby avoiding the situation where the service provider returns the parcel, shortening the logistics distribution cycle, and ensuring the timeliness of logistics distribution.

[0123] Figure 6 An exemplary system architecture 600 is shown to which a parcel sorting method or a parcel sorting device according to an embodiment of the present invention can be applied.

[0124] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0125] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0126] The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting feedback of package sorting results, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0127] The server 605 may be a server that provides various services, such as a background management server that supports the processing of the package attribute data obtained by the user using the terminal devices 601, 602, and 603. The background management server may analyze and process the received user information, the package attribute data such as the starting address and delivery address of the package, and feed back the package sorting message to the terminal device, which then displays the package sorting message.

[0128] It should be noted that the parcel sorting method provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the parcel sorting device is generally disposed in the server 605 .

[0129] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0130] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0131] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0132] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0133] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0134] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0135] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0136] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a channel determination module, a sub-channel selection module, a target sorting code generation module and a sorting processing module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the sorting processing module may also be described as a "module for processing the parcel to be sorted".

[0137] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining a logistics channel according to the starting address and delivery address of the package to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions; according to the package attributes of the package to be sorted, selecting a target sub-channel from the one or more sub-channels whose transportation conditions can meet the package attributes; according to the target sub-channel, generating a target sorting code corresponding to the package to be sorted; and processing the package to be sorted according to the target sorting code.

[0138] According to the technical solution of the embodiment of the present invention, in order to accurately sort the parcels in the sorting bin, first determine the logistics channel according to the starting address and delivery address of the parcel to be sorted, wherein the logistics channel corresponds to one or more sub-channels with different transportation conditions; then select the target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels according to the parcel attributes of the parcel to be sorted; then generate the target sorting code corresponding to the parcel to be sorted according to the target sub-channel; finally, process the parcel to be sorted according to the target sorting code. Thus, a finer-grained parcel sorting is achieved through one-time sorting, avoiding the secondary sorting of parcels by the service provider, thereby reducing the sorting processing cost and improving the efficiency of the sorting processing; in addition, the accuracy of the parcel sorting results is ensured by matching and checking the channel transportation conditions with the parcel attributes, thereby avoiding the situation where the service provider returns the parcel, shortening the logistics distribution cycle, and ensuring the timeliness of logistics distribution.

[0139] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A parcel sorting method, characterized in that: include: Determine a logistics channel according to the starting address and the delivery address of the package to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions; According to the parcel attributes of the parcel to be sorted, selecting, from the one or more sub-channels, a target sub-channel whose transportation conditions can meet the parcel attributes; According to the target sub-channel, generating a target sorting code corresponding to the package to be sorted; The parcel to be sorted is processed according to the target sorting code.

2. The method according to claim 1, characterized in that The transportation condition includes any one or more of the following: channel validity period, channel charging type and carrying volume; the package attributes include any one or more of the following: package transportation time, package charging type and packaging size; the selecting, from the one or more sub-channels, a target sub-channel whose transportation condition can meet the package attributes includes: Determine whether the transportation condition meets the package attributes based on any one or more of the following: whether the channel validity period meets the package transportation time, whether the channel charging type matches the package charging type, and whether the carrying volume meets the packaging size.

3. The method according to claim 1, characterized in that The method is applied to parcel sorting in cross-border logistics; wherein the parcel attributes include customs declaration conditions and / or a postal code corresponding to a delivery address; and selecting a target sub-channel whose transportation conditions can meet the parcel attributes from the one or more sub-channels includes any one or both of the following: According to the customs declaration conditions, selecting the target sub-channel that meets the customs declaration conditions from the one or more sub-channels; According to the postal code corresponding to the delivery address, determine the logistics zone corresponding to the delivery address of the package to be sorted; according to the logistics zone corresponding to the delivery address, select the target sub-channel corresponding to the logistics zone from the one or more sub-channels.

4. The method according to claim 1, characterized in that Before determining the logistics channel according to the starting address and delivery address of the package to be sorted, it also includes: Determine the channel code of each logistics channel and the sorting codes corresponding to one or more sub-channels of the logistics channel; Associating the channel code of the logistics channel with the sorting codes corresponding to the one or more sub-channels; Generating a target sorting code corresponding to the to-be-sorted package according to the target sub-channel includes: The sorting code corresponding to the target sub-channel is used as the target sorting code.

5. The method according to claim 4, characterized in that In the case of newly added sub-channels, it also includes: Determine whether there is a channel code corresponding to the logistics channel of the newly added sub-channel according to the starting address and the delivery address of the logistics channel corresponding to the newly added sub-channel; If yes, determine whether there is a sorting code corresponding to the newly added sub-channel; if there is no sorting code corresponding to the newly added sub-channel, generate a new sorting code for the newly added sub-channel, and associate the new sorting code with the channel code; If not, a new channel code is generated for the logistics channel of the newly added sub-channel, and a new sorting code is generated for the newly added sub-channel, and the new channel code is associated with the new sorting code.

6. The method according to claim 4, characterized in that Processing the parcel to be sorted according to the target sorting code includes: According to the user information corresponding to the to-be-sorted package, determining whether the target sorting code satisfies the sorting authority corresponding to the user information; If yes, sort the parcel to be sorted; If not, the sorting process of the parcel to be sorted is suspended, and a prompt message is issued that the target sorting code does not match the sorting authority.

7. The method according to claim 1, characterized in that In the case where the parcels to be sorted have a delivery time limit, the logistics channel is determined according to the starting address and the delivery address of the parcels to be sorted, including: The logistics channel is determined according to the delivery time, starting address and delivery address of the parcel to be sorted.

8. The method according to claim 7, characterized in that Processing the parcel to be sorted according to the target sorting code includes: According to the delivery time efficiency, determine whether the difference between the expected delivery time of the parcel to be sorted and the current time is less than a preset time length; If yes, the sorting level of the parcel to be sorted is marked as the highest priority, and the parcel to be sorted is sorted preferentially.

9. A parcel sorting device, characterized in that: include: A channel determination module, used to determine a logistics channel according to the starting address and the delivery address of the package to be sorted; the logistics channel corresponds to one or more sub-channels with different transportation conditions; A sub-channel selection module, configured to select, from the one or more sub-channels, a target sub-channel whose transportation conditions can meet the parcel attributes according to the parcel attributes of the parcel to be sorted; Target sorting code generation module: used to generate a target sorting code corresponding to the package to be sorted according to the target sub-channel; The sorting processing module is used to process the parcels to be sorted according to the target sorting code.

10. An electronic device for parcel sorting, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

11. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.