Mail sorting method and device, electronic equipment and storage medium

By extracting address keywords from mail delivery note information and combining regional attributes with sorting schemes, the problem of sorting errors caused by duplicate addresses in county sorting was solved, and accurate mail sorting was achieved.

CN120764531APending Publication Date: 2025-10-10CHINA POST INFORMATION TECH (BEIJING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510887170.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

In county-level sorting operations, mail is sorted incorrectly due to duplicate addresses, making it impossible to sort accurately.

Method used

By extracting address keywords from the mail label information, determining the mail destination and regional attributes based on the keywords, formulating a mail drop plan, and sending the mail sorting information to the target sorting center, including self-operated or third-party sorting centers.

Benefits of technology

It achieves accurate positioning and sorting of duplicate addresses, reduces the probability of sorting errors, and improves sorting efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120764531A_ABST
    Figure CN120764531A_ABST
Patent Text Reader

Abstract

The invention discloses a mail sorting method and device, electronic equipment and a storage medium, and the method comprises the steps: extracting a corresponding address keyword from the express sheet information of a target mail when the target mail is detected to be on a machine; determining a mail destination of the target mail according to the address keyword, and determining a mail grid falling scheme of the target mail according to a region attribute corresponding to the mail destination; wherein the region attribute comprises a same-division and same-matching attribute or a same-division and different-matching attribute, and the mail grid falling scheme comprises a logic grid scheme and a physical grid scheme corresponding to the target mail; and determining a target sorting center of the next sorting node of the target mail according to the mail grid falling scheme, and sending the mail sorting information of the target mail to the target sorting center. According to the mail sorting method and device, the problem that in the prior art, when the address names of the mail addresses have duplicate address names, mail sorting errors possibly exist, and then mails cannot be accurately sorted is solved, and the effect of rapidly and accurately sorting the mails is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mail sorting, and in particular to a mail sorting method, device, electronic equipment and storage medium. Background Art

[0002] The express mail label information contains the personal information and geographic location information of the recipient and sender, and can be used as the only basis for sorting mail.

[0003] Currently, when sorting mail, automated sorting machines can efficiently and accurately sort and sort express parcels within large-scale network operations, such as provincial and municipal operations. However, in county-level sorting operations, due to the existence of duplicate township and village names and the lack of certain administrative divisions in address information, the two aforementioned sorting methods can lead to a large number of misclassifications or the inability of sorting machines to quickly sort parcels.

[0004] In order to solve the above problems, it is necessary to improve the mail sorting method. Summary of the Invention

[0005] The present invention provides a mail sorting method, device, electronic device and storage medium to solve the problem in the prior art that when there are duplicate address names in mail addresses, mail sorting errors may occur, thereby causing mails to be unable to be sorted accurately.

[0006] In a first aspect, an embodiment of the present invention provides a mail sorting method, comprising:

[0007] When detecting that a target mail item is on board, extracting a corresponding address keyword from the mail item's shipping label information;

[0008] Determining the mail destination of the target mail based on the address keyword, and determining a mail slotting scheme for the target mail based on a regional attribute corresponding to the mail destination; wherein the regional attribute includes a same-score same-matching attribute or a same-score different-matching attribute, and the mail slotting scheme includes a logical slotting scheme and a physical slotting scheme corresponding to the target mail;

[0009] The target sorting center of the next sorting node of the target mail is determined according to the mail drop plan, and the mail sorting information of the target mail is sent to the target sorting center; wherein the target sorting center is a self-operated sorting center or a third-party sorting center.

[0010] In a second aspect, an embodiment of the present invention further provides a mail sorting device, comprising:

[0011] A keyword extraction module is used to extract corresponding address keywords from the shipping label information of the target mail when detecting that the target mail is on board;

[0012] The scheme determining module is configured to determine a mail destination of the target mail according to the address keyword, and determine a mail sorting scheme of the target mail according to a region attribute corresponding to the mail destination; wherein the region attribute comprises a homogeny attribute or a heterogeny attribute, and the mail sorting scheme comprises a logical slot scheme and a physical slot scheme corresponding to the target mail.

[0013] The information sharing module is configured to determine a target sorting center of a next sorting node of the target mail according to the mail sorting scheme, and send mail sorting information of the target mail to the target sorting center; wherein the target sorting center is a self-operated sorting center or a third-party sorting center.

[0014] In a third aspect, an electronic device is provided, and the electronic device comprises:

[0015] at least one processor; and

[0016] a memory connected with the at least one processor; wherein

[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the mail sorting method according to any one of the embodiments of the present application.

[0018] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the mail sorting method according to any one of the embodiments of the present application when executed by the processor.

[0019] In a fifth aspect, a computer program product is provided, and the computer program product comprises a computer program, and the computer program is used to implement the mail sorting method according to any one of the embodiments of the present application when executed by a processor.

[0020] The technical scheme of the embodiment of the present application extracts the corresponding address keyword from the envelope information of the target mail when detecting the target mail on the machine; determines the mail destination of the target mail according to the address keyword, and determines the mail sorting scheme of the target mail according to the area attribute corresponding to the mail destination; wherein the area attribute includes the same attribute or different attribute, and the mail sorting scheme includes the logical slot scheme and the physical slot scheme corresponding to the target mail; determines the target sorting center of the next sorting node of the target mail according to the mail sorting scheme, and sends the mail sorting information of the target mail to the target sorting center. In the technical scheme, the repetitive detection is performed on the mail address in the pre-acquired mail address data set, whether the mail address with the same name exists in the mail address data set is determined, if the mail address with the same name exists, the mail address with the same name is renamed in advance, the address keyword corresponding to each mail address is obtained, and the address keyword is used as the unique identification information of the corresponding mail address, so that the mail destination of the mail is accurately positioned according to the mail address keyword when the mail needs to be sorted, and the mail is accurately sorted, thereby reducing the probability of mail sorting error. The problem that the mail sorting error may exist when the address name of the mail address has the same name in the prior art, and the mail cannot be accurately sorted is solved, and the effect of quickly and accurately sorting the mail is achieved.

[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0023] Figure 1 is a flow chart of a mail sorting method according to the first embodiment of the present application;

[0024] Figure 2 is a flow chart of a mail sorting method according to the second embodiment of the present application;

[0025] Figure 3 is a structural schematic diagram of a mail sorting device according to the third embodiment of the present application;

[0026] Figure 4 is a structural schematic diagram of an electronic device for implementing the mail sorting method of the present application. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention. The acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, certain software, components, or models that already exist in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or must use the solution.

[0028] It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, such that the embodiments of the present invention described herein can be practiced in an order other than that illustrated or described herein.

[0029] Example 1

[0030] Figure 1 A flowchart of a mail sorting method is provided for a first embodiment of the present invention. This embodiment is applicable to mail sorting for duplicate mail addresses in the mail sorting field. By re-identifying each duplicate address with a unique address keyword, and upon detecting that a duplicate address exists at the mail destination of a target mail, the mail sorting scheme for the target mail is determined using the address keyword corresponding to the mail address of the target mail, and the target mail is accurately sorted based on the determined mail sorting scheme. The method can be executed by a mail sorting device, which can be implemented in the form of hardware and / or software, and can be configured in a computing device capable of executing the mail sorting method.

[0031] like Figure 1 As shown, the method includes:

[0032] S110. When it is detected that the target mail is on board, the corresponding address keyword is extracted from the label information of the target mail.

[0033] The target mailpiece refers to the express mailpiece currently in the sorting machine's processing area. The delivery note information refers to the mailpiece-related information on the target mailpiece. For example, the delivery note information includes recipient information, sender information, and basic mailpiece information.

[0034] Specifically, in an automated sorting system, by identifying the delivery note information of a target mail, the address keyword of the target mail can be determined, and then the target mail can be accurately sorted according to the address keyword.

[0035] Optionally, when it is detected that the target mail is on the machine, before extracting the corresponding address keyword from the mail label information of the target mail, it also includes: obtaining an email address data set; performing a duplication check on the address names of all email addresses in the email address data set to identify whether there is at least one group of duplicate email addresses; if at least one group of duplicate email addresses is identified, renaming each duplicate email address to be processed in each group to obtain a corresponding address keyword, so as to update the email address data set based on the renamed email address keyword.

[0036] The email address dataset includes at least one email address. Each set of duplicate email addresses includes at least two identical email address names. The email address dataset can be detailed addresses across the country obtained from a nationally authorized department, or can be obtained by compiling and aggregating the receiving and sending addresses of historical mail from a sorting organization. In this technical solution, the acquisition of the email address dataset complies with relevant national laws and regulations.

[0037] It is understandable that due to the wide range of regions across China, duplicate address names may exist during the actual mail sorting process. For example, if Mail Address 1 is "A City, A County, A Village" and Mail Address 2 is "A City, B County, A Village," then Mail Address 1 and Mail Address 2 have the same village-level address. In real life, the mail address a sender fills in when sending a mail may not be complete. For example, if the sender fills in the mail address as "A City, A Village," it will be difficult to accurately identify the destination of the mail during the mail delivery process, resulting in mail delivery errors.

[0038] Based on this, in order to ensure that emails with duplicate address names are accurately sorted during the mail sorting process, this technical solution pre-configures address keywords corresponding to each email address to distinguish emails with duplicate names based on the redefined address keywords, thereby ensuring the accuracy of mail delivery.

[0039] Specifically, after obtaining the email address data set, a duplication check is performed on multiple email addresses in the email address data set to identify whether there is at least one set of duplicate email addresses.

[0040] If so, each to-be-processed duplicate email address in each group is renamed to obtain a corresponding address keyword, so as to update the email address dataset based on the renamed email address keyword, including.

[0041] Specifically, for each group of renamed email addresses, unique identification processing is performed on the address names of at least two identical email addresses in the current group of renamed addresses to obtain address keywords; based on the address keyword results of each group of renamed email addresses, the email address dataset is updated.

[0042] Based on the above example, after performing a duplication check on the email address dataset, we found that the duplicate email addresses to be processed are: Email Address 1: "A City, A County, A Village" and Email Address 2: "A City, B County, A Village". To distinguish Email Address 1 from Email Address 2, we uniquely identify each of them and obtain address keywords. The address keyword corresponding to Email Address 1 is "A City, A1 Village", and the address keyword corresponding to Email Address 2 is "A City, A2 Village". In the email dataset, "A City, A County, A Village" is replaced with "A City, A1 Village", and "A City, B County, A Village" is replaced with "A City, A2 Village".

[0043] It is understandable that the address keywords in the example are only used for illustration. In actual applications, address keywords can also be expressed in other forms, for example, a keyword representing an email address in coded form, or replacing the address name of the email address in the email address dataset with any other uniquely identifying information as the address keyword.

[0044] Optionally, when detecting that the target mail is on board, before extracting the corresponding address keyword from the mail order information of the target mail, it also includes: pre-configuring at least one coverage area corresponding to the sorting center to be used, and determining the regional attributes corresponding to each coverage area, so as to determine the regional attributes of the mail destination according to the coverage area corresponding to the mail destination of the target mail.

[0045] Among them, the sorting center to be used is a self-operated sorting center or a third-party sorting center.

[0046] For example, all areas are divided into area 1, area 2, area 3 and area 4, and the sorting centers to be used include the self-operated sorting center and third-party sorting center A and third-party sorting center B. According to the pre-defined mapping relationship between the sorting centers and the areas, it can be known that the coverage areas of the self-operated sorting center are areas 1 and 2, the coverage area of ​​the third-party sorting center A is area 3, and the coverage area of ​​the third-party sorting center B is area 4. The regional attributes corresponding to each area can be defined based on whether the sorting center corresponding to each area is a self-operated sorting center, that is, the regional attribute corresponding to the area covered by the self-operated sorting center is the same-point same-assignment attribute, and the regional attribute corresponding to the coverage area of ​​the third-party sorting center is the same-point different-assignment attribute. When the regional attribute is the same-point same-assignment attribute, it means that the self-operated sorting center will perform sorting in the area during sorting. When the regional attribute is the same-point different-assignment attribute, it means that the third-party sorting center will perform sorting in the area during sorting.

[0047] S120: Determine the mail destination of the target mail according to the address keyword, and determine the mail drop plan of the target mail according to the regional attribute corresponding to the mail destination.

[0048] The regional attributes include the same-score same-assignment attribute or the same-score different-assignment attribute, and the mail slot plan includes the logical slot plan and the physical slot plan corresponding to the target mail.

[0049] Based on the above example, the regional attribute of the coverage area of ​​the self-operated sorting center is defined as the same-point same-assignment attribute, and the regional attribute of the coverage area of ​​the third-party sorting center is defined as the same-point different-assignment attribute.

[0050] For example, during the sorting process, mail A is sorted by the self-operated sorting center starting from area 1. When passing through area 2, the area attribute corresponding to area 2 is the same-class, same-assignment attribute. Therefore, mail A will continue to be sorted by the self-operated sorting center when sorting in area 2. Furthermore, when mail A continues to be sorted from area 2 and passes through area 3, because the area attribute corresponding to area 3 is the same-class, different-assignment attribute, and the sorting center corresponding to area 3 is third-party sorting center A, mail A will be sorted by third-party sorting center A when passing through area 3. Furthermore, when mail A continues to be sorted from area 3 and passes through area 4, because the area attribute corresponding to area 4 is the same-class, different-assignment attribute, and the sorting center corresponding to area 4 is third-party sorting center B, mail A will be sorted by third-party sorting center B when passing through area 4, until mail A is delivered to its destination.

[0051] On this basis, given the origin and destination of the mail, as well as the areas passed between the origin and destination, the mail's sorting information is determined based on the regional attributes of each area passed through and the sorting center corresponding to the corresponding area, and then the corresponding mail drop plan can be configured.

[0052] S130: Determine the target sorting center for the next sorting node of the target mail according to the mail drop plan, and send mail sorting information of the target mail to the target sorting center.

[0053] The target sorting center is a self-operated sorting center or a third-party sorting center. The mail sorting information at least includes the address keyword of the target mail and the target logical slot or target physical slot information of the target mail in the target sorting center.

[0054] In the actual mail sorting process, the next sorting node after the current sorting node may be the mail sorting center to which the current sorting node belongs, or it may be a third-party sorting center. For example, if the current sorting node is sorting center A, the next sorting node may be sorting center B. The next sorting node can be determined based on the location of the final destination of the mail.

[0055] Specifically, if sorting center A and sorting center B belong to the same mail sorting organization, that is, the sorting method corresponding to the target mail is same sorting and same distribution; if sorting center A and sorting center B correspond to different sorting organizations, then the sorting method corresponding to the target mail is same sorting and different distribution.

[0056] For example, mail sorting mechanism A includes sorting center 1, sorting center 2, and sorting center 3, and mail sorting mechanism B includes sorting center 4 and sorting center 5. The areas corresponding to mail sorting mechanism A include sorting area 1 and sorting area 2, and mail sorting mechanism B includes sorting area 3 and sorting area 4. During the transmission process, the target mail passes through sorting area 1, sorting area 2, and sorting area 3. When the target mail is transmitted from sorting area 1 to sorting area 2, the corresponding sorting method for the target mail is same sorting and same distribution. When the target mail is transmitted from sorting area 2 to sorting area 3, the corresponding sorting method for the target mail is same sorting and different distribution. To promote collaborative sorting between sorting centers, after determining the target sorting center for the next sorting node of the target mail according to the mail drop plan, the mail sorting information can be sent to the target sorting center, so that the target sorting center can sort the target mail until the target mail reaches the mail destination.

[0057] Optionally, a mail sorting trajectory may be generated based on the mail sorting information, and the mail sorting information and the mail sorting trajectory may be transmitted together to a target sorting center.

[0058] The advantage of this setting is that the mail sorting information of the target mail is sent to the target sorting center, realizing the sharing of mail sorting information among various sorting agencies in mixed sorting, as well as the real-time sharing and penetrating visibility of mail among the sorting nodes in the entire link.

[0059] The technical solution of an embodiment of the present invention is to extract the corresponding address keyword from the target mail's label information when detecting that the target mail has been loaded onto the machine; determine the mail destination of the target mail based on the address keyword, and determine the mail drop plan for the target mail based on the regional attributes corresponding to the mail destination; wherein the regional attributes include the same-category same-matching attribute or the same-category different-matching attribute, and the mail drop plan includes the logical slot plan and the physical slot plan corresponding to the target mail; determine the target sorting center of the next sorting node for the target mail based on the mail drop plan, and send the mail sorting information of the target mail to the target sorting center. In this technical solution, by performing a duplication check on the mail addresses in a pre-acquired mail address dataset, it is possible to determine whether there are duplicate mail addresses in the mail address dataset. If so, the duplicate mail addresses are pre-named to obtain the address keywords corresponding to each mail address, and use the address keywords as unique identification information for the corresponding duplicate addresses. When the mail needs to be sorted, the mail destination of the mail can be accurately located based on the mail address keywords, thereby accurately sorting the mail and reducing the probability of mail sorting errors. The invention solves the problem in the prior art that when there are duplicate address names in the mail addresses, mail sorting errors may occur, which leads to the inability to accurately sort the mails, and achieves the effect of quickly and accurately sorting the mails.

[0060] Example 2

[0061] Figure 2 This is a flowchart of a mail sorting method provided in the second embodiment of the present invention. Optionally, the mail destination of the target mail is determined according to the address keyword, and the mail drop plan of the target mail is determined according to the regional attribute corresponding to the mail destination.

[0062] like Figure 2 As shown, the method includes:

[0063] S210: When it is detected that the target mail is on board, the corresponding address keyword is extracted from the label information of the target mail.

[0064] S220: Retrieve the logical format scheme corresponding to the target email according to the address keyword.

[0065] S230: Determine the physical slot scheme corresponding to the target mail according to the logical slot scheme of the target mail and the preset slot mapping relationship.

[0066] The cell mapping relationship is a mapping relationship from a logical cell to a physical cell, and the physical cell solution includes at least one target physical cell.

[0067] For example, if the address keyword associated with a mail item is pre-set as "A City A1 Village," the corresponding logical slot is logical slot 1, and the physical slots corresponding to logical slot 1 are physical slots 1-10. Taking the target mail item as an example, the address keyword is obtained from the shipping label information of the target mail item. If the address keyword is "A City A1 Village," the logical slot scheme for the target mail item is determined to be logical slot 1, and the corresponding physical slot scheme for the target mail item is physical slots 1-10.

[0068] Optionally, before determining the physical slot scheme corresponding to the target mail according to the logical slot scheme of the target mail and the preset slot mapping relationship, the method further includes: obtaining the current slot status of the target physical slot specified in the physical slot scheme in real time or at a fixed time.

[0069] Among them, the current slot status is busy or idle; if the current slot status is busy, the mail associated with the target physical slot will be automatically adjusted to other idle physical slots under the same logical slot according to the address keyword of the mail, and the physical slot plan corresponding to the corresponding mail will be updated.

[0070] Optionally, before determining the physical slot scheme corresponding to the target mail based on the logical slot scheme of the target mail and the preset slot mapping relationship, it also includes: obtaining the mail sorting volume of each physical slot in the historical unit time in real time or at a fixed time, and dynamically adjusting the slot mapping relationship between each logical slot and each physical slot according to the mail sorting volume; based on the adjusted slot mapping relationship, regenerating the physical slot scheme corresponding to each mail for each address keyword.

[0071] Exemplarily, a logical slot 1 in a logical slot scheme corresponding to mail associated with a certain address is pre-configured, and the physical slots 1-10 corresponding to the logical slot 1 are obtained in real time or periodically. The mail sorting volume of each physical slot in a historical unit time (such as within a historical month) is obtained. If the mail sorting volume in the most recent historical month is small, for example, the total amount of historical sorted mail in each physical slot is counted. If the total amount of historical sorted mail is less than the preset mail sorting volume (such as 70%), the slot mapping relationship between each logical slot and each physical slot is dynamically adjusted according to the actual mail sorting volume of physical slots 1-10, for example, the logical slot 1 is adjusted to correspond to the physical slots 1-7, and a pre-configured physical slot scheme is re-generated for each mail according to the adjusted slot mapping relationship.

[0072] The advantage of this setting is that in the field of mail sorting, the mail business volume in the same area fluctuates greatly due to seasonality or e-commerce promotions. By obtaining the grid status of the target physical grid in real time, the mail to be delivered can be accurately sorted. At the same time, dynamic resource optimization of the physical grids in each area can be achieved, thereby improving the global resource utilization rate in the mail sorting process.

[0073] S240: Determine the target sorting center for the next sorting node of the target mail according to the mail drop plan, and send mail sorting information of the target mail to the target sorting center.

[0074] The technical solution of an embodiment of the present invention is to extract the corresponding address keyword from the target mail's label information when detecting that the target mail has been loaded onto the machine; determine the mail destination of the target mail based on the address keyword, and determine the mail drop plan for the target mail based on the regional attributes corresponding to the mail destination; wherein the regional attributes include the same-category same-matching attribute or the same-category different-matching attribute, and the mail drop plan includes the logical slot plan and the physical slot plan corresponding to the target mail; determine the target sorting center of the next sorting node for the target mail based on the mail drop plan, and send the mail sorting information of the target mail to the target sorting center. In this technical solution, by performing a duplication check on the mail addresses in a pre-acquired mail address dataset, it is possible to determine whether there are duplicate mail addresses in the mail address dataset. If so, the duplicate mail addresses are pre-named to obtain the address keywords corresponding to each mail address, and use the address keywords as unique identification information for the corresponding duplicate addresses. When the mail needs to be sorted, the mail destination of the mail can be accurately located based on the mail address keywords, thereby accurately sorting the mail and reducing the probability of mail sorting errors. The invention solves the problem in the prior art that when there are duplicate address names in the mail addresses, mail sorting errors may occur, which leads to the inability to accurately sort the mails, and achieves the effect of quickly and accurately sorting the mails.

[0075] Example 3

[0076] Figure 3 This is a structural diagram of a mail sorting device provided in the third embodiment of the present invention. Figure 3 As shown, the device includes: a keyword extraction module 310 , a solution determination module 320 and an information sharing module 330 .

[0077] The keyword extraction module 310 is used to extract the corresponding address keyword from the label information of the target mail when detecting that the target mail is on board;

[0078] The solution determination module 320 is configured to determine the destination of the target email based on the address keyword and determine the mail placement solution for the target email based on the regional attributes corresponding to the email destination. The regional attributes include the same-score same-matching attribute or the same-score different-matching attribute. The mail placement solution includes the logical slot solution and the physical slot solution corresponding to the target email.

[0079] The information sharing module 330 is used to determine the target sorting center of the next sorting node of the target mail according to the mail drop plan, and send the mail sorting information of the target mail to the target sorting center; wherein the target sorting center is a self-operated sorting center or a third-party sorting center.

[0080] The technical solution of an embodiment of the present invention is to extract the corresponding address keyword from the target mail's label information when detecting that the target mail has been loaded onto the machine; determine the mail destination of the target mail based on the address keyword, and determine the mail drop plan for the target mail based on the regional attributes corresponding to the mail destination; wherein the regional attributes include the same-category same-matching attribute or the same-category different-matching attribute, and the mail drop plan includes the logical slot plan and the physical slot plan corresponding to the target mail; determine the target sorting center of the next sorting node for the target mail based on the mail drop plan, and send the mail sorting information of the target mail to the target sorting center. In this technical solution, by performing a duplication check on the mail addresses in a pre-acquired mail address dataset, it is possible to determine whether there are duplicate mail addresses in the mail address dataset. If so, the duplicate mail addresses are pre-named to obtain the address keywords corresponding to each mail address, and use the address keywords as unique identification information for the corresponding duplicate addresses. When the mail needs to be sorted, the mail destination of the mail can be accurately located based on the mail address keywords, thereby accurately sorting the mail and reducing the probability of mail sorting errors. The invention solves the problem in the prior art that when there are duplicate address names in the mail addresses, mail sorting errors may occur, which leads to the inability to accurately sort the mails, and achieves the effect of quickly and accurately sorting the mails.

[0081] Optionally, the mail sorting device further includes: a data set acquisition module, configured to acquire a mail address data set before extracting a corresponding address keyword from the mail order information of the target mail when detecting that the target mail has been loaded onto the machine; wherein the mail address data set includes at least one mail address;

[0082] A verification module is used to perform duplication verification on the address names of all email addresses in the email address data set to identify whether there is at least one group of duplicate email addresses; wherein each group of duplicate email addresses includes at least two identical email address names;

[0083] The data set updating module is used to rename each to-be-processed duplicate email address in each group to obtain a corresponding address keyword if at least one group of duplicate email addresses is identified, so as to update the email address data set based on the renamed email address keywords.

[0084] Optionally, the data set updating module includes: a unique identification unit configured to perform unique identification processing on the address names of at least two identical email addresses in the current group of renamed email addresses for each group of renamed email addresses to obtain an address keyword;

[0085] The data set updating unit is used to update the email address data set based on the address keyword results of each group of renamed email addresses.

[0086] Optionally, the mail sorting device is further used to pre-configure at least one coverage area corresponding to a sorting center to be used before extracting the corresponding address keyword from the face sheet information of the target mail when detecting that the target mail is loaded onto the machine, and determine the regional attributes corresponding to each coverage area, so as to determine the regional attributes of the mail destination based on the coverage area corresponding to the mail destination of the target mail; wherein the sorting center to be used is a self-operated sorting center or a third-party sorting center.

[0087] Optionally, the solution determination module includes: a logical slot solution determination unit, configured to retrieve a logical slot solution corresponding to the target mailpiece according to the address keyword; wherein the logical slot solution includes at least one target logical slot for the target mailpiece in the current sorting process;

[0088] The physical slot scheme determining unit is used to determine the physical slot scheme corresponding to the target mail according to the logical slot scheme of the target mail and the preset slot mapping relationship; wherein the slot mapping relationship is a mapping relationship from logical slots to physical slots, and the physical slot scheme includes at least one target physical slot.

[0089] Optionally, the mail sorting device further includes: a slot state determination module, configured to obtain, in real time or at a scheduled time, a current slot state of a target physical slot specified in the physical slot plan before determining the physical slot plan corresponding to the target mail according to the logical slot plan of the target mail and a preset slot mapping relationship; wherein the current slot state is a busy state or an idle state;

[0090] The first scheme updating module is used to automatically adjust the mail associated with the target physical slot to other idle physical slots under the same logical slot according to the address keyword of the mail if the current slot status is busy, and update the physical slot scheme corresponding to the corresponding mail.

[0091] Optionally, the mail sorting device further includes: a mapping relationship adjustment module for obtaining, in real time or on a scheduled basis, a mail sorting volume of each physical slot within a historical unit time before determining a physical slot plan corresponding to the target mail based on the logical slot plan of the target mail and a preset slot mapping relationship, and dynamically adjusting the slot mapping relationship between each logical slot and each physical slot based on the mail sorting volume;

[0092] The second solution updating module is configured to regenerate a physical slot solution corresponding to each mail piece for the mail piece corresponding to each address keyword based on the adjusted slot mapping relationship.

[0093] The mail sorting device provided in the embodiment of the present invention can execute the mail sorting method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0094] Example 4

[0095] Figure 4 A schematic diagram of the structure of an electronic device 10 of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0096] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0097] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0098] The processor 11 may be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the mail sorting method.

[0099] In some embodiments, the mail sorting method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the mail sorting method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the mail sorting method in any other suitable manner (e.g., via firmware).

[0100] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0101] Computer programs for implementing the mail sorting method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that, when executed by the processor, the computer programs implement the functions / operations specified in the flowcharts and / or block diagrams. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0102] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0103] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0104] The systems and techniques described here can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0105] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0106] Embodiment Five

[0107] The embodiment of the application further provides a computer program product, comprising a computer program which, when executed by a processor, implements the mail sorting method provided in any embodiment of the application.

[0108] The computer program code implementing the application can be written in one or more programming languages or combinations of languages including object oriented languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0109] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0110] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A mail sorting method, characterized in that: include: When detecting that a target mail item is on board, extracting a corresponding address keyword from the mail item's shipping label information; Determining the mail destination of the target mail based on the address keyword, and determining a mail slotting scheme for the target mail based on a regional attribute corresponding to the mail destination; wherein the regional attribute includes a same-score same-matching attribute or a same-score different-matching attribute, and the mail slotting scheme includes a logical slotting scheme and a physical slotting scheme corresponding to the target mail; The target sorting center of the next sorting node of the target mail is determined according to the mail drop plan, and the mail sorting information of the target mail is sent to the target sorting center; wherein the target sorting center is a self-operated sorting center or a third-party sorting center.

2. The method according to claim 1, characterized in that Before extracting the corresponding address keyword from the shipping label information of the target mail when the target mail is detected to be on board, the method further includes: Obtain an email address dataset; wherein the email address dataset includes at least one email address; Performing a duplication check on the address names of all email addresses in the email address data set to identify whether there is at least one group of duplicate email addresses; wherein each group of duplicate email addresses includes at least two identical email address names; If at least one group of duplicate email addresses is identified, each duplicate email address to be processed in each group is renamed to obtain a corresponding address keyword, so as to update the email address dataset based on the renamed email address keyword.

3. The method according to claim 2, characterized in that Renaming each to-be-processed duplicate email address in each group to obtain a corresponding address keyword, and updating the email address dataset based on the renamed email address keyword, includes: For each group of renamed email addresses, unique identification processing is performed on the address names of at least two identical email addresses in the current group of renamed addresses to obtain an address keyword; The email address dataset is updated based on the address keyword results of each group of the renamed email addresses.

4. The method according to claim 1, wherein Before extracting the corresponding address keyword from the shipping label information of the target mail when the target mail is detected to be on board, the method further includes: Preconfigure a coverage area corresponding to at least one sorting center to be used, and determine regional attributes corresponding to each coverage area, so as to determine the regional attribute of the mail destination of the target mail according to the coverage area corresponding to the mail destination of the target mail; wherein the sorting center to be used is a self-operated sorting center or a third-party sorting center.

5. The method according to claim 1, wherein The determining of the mail destination of the target mail according to the address keyword and determining the mail drop scheme of the target mail according to the area attribute corresponding to the mail destination includes: Retrieving a logical slot plan corresponding to the target mailpiece according to the address keyword; wherein the logical slot plan includes at least one target logical slot for the target mailpiece in the current sorting process; The physical slot scheme corresponding to the target mail is determined according to the logical slot scheme of the target mail and a preset slot mapping relationship; wherein the slot mapping relationship is a mapping relationship from logical slots to physical slots, and the physical slot scheme includes at least one target physical slot.

6. The method according to claim 5, characterized in that Before determining the physical slot scheme corresponding to the target mail according to the logical slot scheme of the target mail and the preset slot mapping relationship, the method further includes: Acquire the current slot state of the target physical slot specified in the physical slot plan in real time or periodically; wherein the current slot state is a busy state or an idle state; If the current slot state is busy, the mail associated with the target physical slot is automatically adjusted to other idle physical slots under the same logical slot according to the address keyword of the mail, and the physical slot plan corresponding to the corresponding mail is updated.

7. The method according to claim 5, characterized in that Before determining the physical slot scheme corresponding to the target mail according to the logical slot scheme of the target mail and the preset slot mapping relationship, the method further includes: Acquire the mail sorting volume of each physical slot in a historical unit time in real time or at regular intervals, and dynamically adjust the slot mapping relationship between each logical slot and each physical slot according to the mail sorting volume; Based on the adjusted slot mapping relationship, a physical slot plan corresponding to each mail is regenerated for each mail corresponding to the address keyword.

8. A mail sorting device, characterized in that: include: A keyword extraction module is used to extract corresponding address keywords from the shipping label information of the target mail when detecting that the target mail is on board; a scheme determination module, configured to determine the destination of the target email based on the address keyword, and determine a mail slot scheme for the target email based on a regional attribute corresponding to the email destination; wherein the regional attribute includes a same-score same-matching attribute or a same-score different-matching attribute, and the mail slot scheme includes a logical slot scheme and a physical slot scheme corresponding to the target email; An information sharing module is used to determine a target sorting center for the next sorting node of the target mail according to the mail drop plan, and send mail sorting information of the target mail to the target sorting center; wherein the target sorting center is a self-operated sorting center or a third-party sorting center.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the mail sorting method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the mail sorting method according to any one of claims 1 to 7 when executed.