Mail sorting method, device and equipment based on three-segment code, medium and product
By extracting three-segment codes and sorting plans from mail advance information, the problems of sorting errors and information sharing difficulties caused by damaged mail barcodes are solved, and real-time sharing and accurate sorting of mail among sorting nodes in the entire link are realized.
Patent Information
- Application Number
- CN202510888158.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-10-17
AI Technical Summary
In the prior art, the damaged mail barcode makes it impossible to accurately obtain the mail three-segment code, which in turn affects the accuracy of mail sorting and makes it impossible to achieve information sharing in the sorting process.
When the target mail is detected on the machine, the three-segment code to be matched is extracted from the pre-received mail notice information, the pre-sorting plan is called up, and when the next sorting node is determined to be a third-party sorting center, the third-party sorting information is sent to the corresponding center, realizing real-time sharing and penetrating visibility of mail sorting information.
It solves the problem of sorting errors caused by damaged mail barcodes, realizes real-time sharing and accurate sorting of mail among sorting nodes in the entire link, and improves sorting efficiency and information transparency.
Smart Images

Figure CN120790516A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of mail sorting, and in particular to a mail sorting method, device, equipment, medium and product based on three-part code. BACKGROUND
[0002] With the rapid development of e-commerce, the global express business volume is showing explosive growth, and the efficiency of mail sorting has become a core bottleneck affecting the smoothness of the logistics link.
[0003] Currently, when performing mail sorting, three-part code recognition is mainly achieved through optical character recognition (OCR) or bar code recognition, and then mail sorting is performed according to the three-part code of the mail. However, when there is dirt on the surface of the mail bar code, the three-part code of the mail cannot be accurately recognized, resulting in mail delivery errors and the inability to share information with cooperating sorting agencies during the mail sorting process.
[0004] In order to solve the above problems, it is necessary to improve the mail sorting method. SUMMARY
[0005] The present application provides a mail sorting method, device, equipment, medium and product based on three-part code to solve the problem that in the prior art, due to the dirt on the mail bar code, the three-part code of the mail cannot be accurately obtained, and mail sorting is then performed based on the three-part code, and mail sorting information cannot be shared in the sorting process.
[0006] In a first aspect, the present application provides a mail sorting method based on three-part code, comprising:
[0007] When detecting that the target mail is on the machine, extracting the to-be-matched three-part code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail;
[0008] Based on the to-be-matched three-part code, calling a pre-sorting scheme corresponding to the target mail; wherein the pre-sorting scheme includes a target logical compartment and / or a target physical compartment of the target mail in the current sorting center;
[0009] If it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center, then the third-party sorting information of the target mail is sent to the corresponding third-party sorting center; wherein the third-party sorting information at least includes the three-part code of the target mail and the target logical compartment or target physical compartment information of the target mail in the third-party sorting center.
[0010] In a second aspect, the embodiment of the present application further provides a mail sorting device based on three-part code, comprising:
[0011] a three-part code extraction module configured to extract a to-be-matched three-part code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when detecting that the target mail is loaded;
[0012] a scheme calling module configured to call a pre-sorting scheme corresponding to the target mail based on the to-be-matched three-part code; wherein the pre-sorting scheme comprises a target logical grid port and / or a target physical grid port of the target mail in a current sorting center;
[0013] an information sending module configured to send third-party sorting information of the target mail to a corresponding third-party sorting center if it is determined according to the pre-sorting scheme that a next sorting node of the target mail is a third-party sorting center; wherein the third-party sorting information at least comprises a three-part code of the target mail and target logical grid port or target physical grid port information of the target mail in the third-party sorting center.
[0014] In a third aspect, the embodiment of the present application further provides an electronic device, comprising:
[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 based on three-part code according to any one of the embodiments of the present application.
[0018] In a fourth aspect, the embodiment of the present application further provides a computer readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the mail sorting method based on three-part code according to any one of the embodiments of the present application when executed by the processor.
[0019] In a fifth aspect, the embodiment of the present application further provides a computer program product comprising a computer program, and the computer program is used to implement the mail sorting method based on three-part code 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 to-be-matched three-segment code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when the target mail is detected to be on the machine; based on the to-be-matched three-segment code, the pre-sorting scheme corresponding to the target mail is called; wherein the pre-sorting scheme includes the target logical grid and / or the target physical grid of the target mail in the current sorting center; if it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center. The problem that the three-segment code of the mail cannot be accurately obtained due to the pollution of the mail bar code in the prior art, and the mail sorting based on the three-segment code and the sharing of the mail sorting information in the sorting process cannot be performed are solved. By directly obtaining the information from the pre-received mail pre-warning information sent by the third-party sorting center, the three-segment code of the target mail can be accurately obtained, and then the pre-configured sorting scheme of the target mail is called according to the three-segment code to perform mail sorting. When it is determined that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center, and real-time sharing and penetration visibility of the mail between the whole-link sorting nodes are realized.
[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 also be obtained by those skilled in the art without creative labor.
[0023] Figure 1 is a flowchart of a mail sorting method based on three-segment code according to the first embodiment of the present application;
[0024] Figure 2 is a flowchart of a mail sorting method based on three-segment code according to the second embodiment of the present application;
[0025] Figure 3 is a structural schematic diagram of a mail sorting device based on three-segment code 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 based on three-segment code of the embodiment 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 based on a three-segment code is provided for the first embodiment of the present invention. This embodiment is applicable to situations in which, during a mail sorting process, the three-segment code of each mail item is directly obtained from pre-received mail notice information, a corresponding mail sorting scheme is retrieved based on the three-segment code, and the mail sorting information is shared with a cooperating sorting center during the mail sorting process. The method can be executed by a mail sorting device based on a three-segment code. The mail sorting device based on a three-segment code can be implemented in hardware and / or software and can be configured in a computing device capable of executing the mail sorting method based on a three-segment code.
[0031] like Figure 1 As shown, the method includes:
[0032] S110 , when it is detected that the target email is uploaded to the computer, extract the three-segment code to be matched corresponding to the target email from the pre-received email notice information according to the email number information of the target email.
[0033] The target mail refers to a physical mail currently located in a sorting machine processing area. In the field of mail sorting, the mail number information is unique identifying information of the target mail. The mail pre-advice information refers to pre-advice information sent by an upstream sorting node to a current sorting node before the mail arrives at the current sorting node. The mail pre-advice information includes at least one three-part code of a pre-advice mail and mail association information of each pre-advice mail. The pre-advice mail refers to a mail sent in advance to the current sorting center by a third-party sorting center. The mail association information can include the weight, volume, type, sorting identifier and the like of the mail.
[0034] In an automated sorting system, the mail barcode is the core carrier for efficient processing, because the barcode generated at the time of sending carries the unique mail number information of the mail, so that the sorting machine can obtain the mail identifier in real time through optical scanning, and then sort the mail according to the mail identifier.
[0035] However, in actual application, when the barcode area of the mail has stains, is missing, or the sorting machine has a fault, the sorting machine cannot obtain the three-part code and the mail association information of the mail in time when sorting the mail, and thus cannot accurately sort and deliver the mail.
[0036] Therefore, in the technical scheme, when the mail leaves the upstream sorting node (such as a third-party sorting center) during the mail sorting process, the node pushes the mail pre-advice information containing the three-part code and the mail association information to the downstream node in advance. When the downstream sorting machine scans the mail barcode to obtain the mail number information, the three-part code and the mail association information of the mail can be directly obtained from the mail pre-advice information.
[0037] Exemplarily, taking the current sorting node as an example, the upstream sorting node of the current sorting node packs the three-part code of at least one mail and the mail association information of each mail to obtain the mail pre-advice information, and sends the mail pre-advice information to the current sorting node according to a predetermined data transmission mode. After receiving the mail pre-advice information, the current sorting node stores the mail pre-advice information, so that when the sorting machine of the current sorting node detects the target mail, the mail number information can be obtained by scanning the mail barcode, and then the to-be-matched three-part code corresponding to the target mail can be directly obtained from the mail pre-advice information according to the mail number information.
[0038] S120, based on the to-be-matched three-part code, calling a pre-sorting scheme corresponding to the target mail.
[0039] The pre-sorting scheme includes a target logical grid and / or a target physical grid of the target mail in the current sorting center. The target logical grid can be understood as a virtual destination of the target mail on the processing logic and routing cabinet. The target physical grid can be understood as a mail carrying area where the target mail is finally put in the real world, i.e., a place where the target mail is finally actually put in.
[0040] On the basis of the above examples, after the mail pre-advice information is received by the current sorting node, the three-segment code basic information is maintained on the three-segment code management interface. For example, for each pre-advice mail in the mail pre-advice information, the three-segment code corresponding to each pre-advice mail, the organization information of the current sorting center, the organization information of the upstream sorting node, the mail association information of the pre-advice mail, the mail delivery information, and the pre-sorting scheme corresponding to the pre-advice mail are filled in the three-segment code management interface, respectively.
[0041] After the to-be-matched three-segment code is directly obtained based on the mail pre-advice information, the pre-sorting scheme corresponding to the target mail can be directly obtained from the mail pre-advice information according to the to-be-matched three-segment code.
[0042] S130, if the next sorting node of the target mail is determined to be a third-party sorting center according to the pre-sorting scheme, third-party sorting information of the target mail is sent to the corresponding third-party sorting center.
[0043] The third-party sorting information at least includes the three-segment code of the target mail and the target logical grid or target physical grid information of the target mail in the third-party sorting center.
[0044] In the actual mail sorting process, the next sorting node of the current sorting node can be a mail sorting center to which the current sorting node belongs, or a third-party sorting center. For example, the current sorting node is sorting center A, and the next sorting node is sorting center B. According to the area where the final destination of the mail is located, the next sorting node can be determined.
[0045] Specifically, if the sorting center A and the sorting center B belong to the same mail sorting mechanism, the mail information can be transmitted within the mail sorting mechanism. If the sorting center A and the sorting center B correspond to different sorting mechanisms, the third-party sorting information of the target mail is sent to the sorting center B, i.e., the third-party sorting center. The basis for determining whether the next sorting node is a third-party sorting center is usually according to the pre-set sorting area. For example, the mail sorting mechanism A includes sorting center 1, sorting center 2 and sorting center 3, the mail sorting mechanism B includes sorting center 4 and sorting center 5, the area corresponding to the mail sorting mechanism A includes sorting area 1 and sorting area 2, the mail sorting mechanism B includes sorting area 3 and sorting area 4, and the target mail passes through the sorting area 1, the sorting area 2 and the sorting area 3 in the transmission process. When the target mail is transmitted from the sorting area 1 to the sorting area 2, the sorting center thereof belongs to the sorting mechanism A, and at this time, the mail sorting information of the target mail is mainly transmitted within the sorting mechanism A. When the target mail is transmitted from the sorting area 2 to the sorting area 3, the sorting mechanisms thereof correspond to the sorting mechanism A and the sorting mechanism B respectively, and the transmission of the sorting information of the target mail involves the information transmission between different sorting mechanisms. At this time, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center, i.e., the sorting mechanism B.
[0046] Optionally, the mail sorting trajectory is generated according to the historical sorting information and the third-party sorting information of the target mail, and the mail sorting trajectory is sent to the third-party sorting center.
[0047] The historical sorting information refers to all records generated in the sorting process of the target mail, including time stamp, sorting center name, operation event (such as scanning, sorting to slot), and state change (such as received or in transit, etc.). The mail sorting trajectory refers to a trajectory based on time sequence generated according to the historical sorting information of the target mail, used to describe all sorting steps of the target mail from the starting position to the current sorting node, and the motion trajectory from the current sorting node to the next sorting node.
[0048] The advantage of such setting is that when the next sorting node of the target mail is a third-party sorting center, the mail sorting information and the mail sorting trajectory of the target mail are sent to the third-party sorting center, realizing the information sharing of the mail sorting information between the sorting mechanisms in the mixed sorting, and the real-time sharing and penetration visibility of the mail between the full-link sorting nodes.
[0049] The technical scheme of the embodiment of the present application extracts the to-be-matched three-segment code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when the target mail is detected to be on the machine; based on the to-be-matched three-segment code, the pre-sorting scheme corresponding to the target mail is called; wherein the pre-sorting scheme includes the target logical grid port and / or the target physical grid port of the target mail in the current sorting center; if it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center. The problem that the three-segment code of the mail cannot be accurately obtained due to the pollution of the mail bar code in the prior art, and the mail sorting based on the three-segment code and the sharing of the mail sorting information in the sorting process cannot be performed are solved. By directly obtaining the information from the mail pre-warning information sent by the third-party sorting center in advance, the three-segment code of the target mail can be accurately obtained, and then the pre-configured sorting scheme of the target mail is called according to the three-segment code to perform mail sorting. When it is determined that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center, and real-time sharing and penetration visibility of the mail between the whole-link sorting nodes are realized.
[0050] Embodiment two
[0051] Figure 2 A flowchart of a mail sorting method based on three-segment code provided for the second embodiment of the present application is provided. Optionally, if the three-segment code matched with the target mail does not exist in the mail pre-warning information, an abnormal processing flow is performed.
[0052] As Figure 2 shown, the method comprises:
[0053] S210, when the target mail is detected to be on the machine, the to-be-matched three-segment code corresponding to the target mail is extracted from the pre-received mail pre-warning information according to the mail number information of the target mail.
[0054] In the technical scheme, before the to-be-matched three-segment code of the target mail is determined according to the mail bar code when the target mail is detected, it further comprises: before the sorting operation starts, receiving the mail pre-warning information sent from the upstream system or the sorting center; based on the mail association information of each pre-warning mail in the mail pre-warning information, creating a pre-configured logical grid port scheme for each pre-warning mail; for each pre-warning mail, generating a pre-configured physical grid port scheme corresponding to the current pre-warning mail according to the pre-configured logical grid port scheme of the current pre-warning mail and the preset grid port mapping relationship.
[0055] The mail preview information includes at least one three-segment code of a preview mail and mail association information of each preview mail. The preconfigured logical slot scheme includes at least one target logical slot of the preview mail in the current sorting process. The slot mapping relationship is a mapping relationship from a logical slot to a physical slot, and the preconfigured physical slot scheme includes at least one target physical slot.
[0056] In the actual mail sorting process, the three-segment code, the logical slot scheme and the physical slot scheme are closely related to each other and jointly constitute the basis for efficient and accurate operation of the sorting center. Specifically, before the current sorting operation of the sorting center, mail preview information is received from an upstream system or a distribution center (i.e., a previous sorting node). For each preview mail, the three-segment code of the current preview mail is obtained from the mail preview information, and mail association information corresponding to each preview mail is configured in a three-segment code management interface. On this basis, a preconfigured logical slot scheme is created for each preview mail, and a preconfigured physical slot scheme corresponding to the current preview mail is generated according to the preconfigured logical slot scheme of the current preview mail and a preset slot mapping relationship.
[0057] Illustratively, when the three-segment code range is set to 700-730, the corresponding logical slot is logical slot 1, and the physical slot corresponding to the logical slot 1 is physical slot 1-10. Taking the current preview mail as an example, the three-segment code of the current preview mail is obtained from the mail preview information. If the three-segment code of the current preview mail is 718, it is determined that the preconfigured logical slot scheme of the current preview mail is logical slot 1, and accordingly, the preconfigured physical slot scheme corresponding to the current preview mail is physical slot 1-10.
[0058] Optionally, the current slot state of the target physical slot specified in the preconfigured physical slot scheme is obtained in real time or at a specified time. If the current slot state is in a busy state, the mail associated with the target physical slot is automatically adjusted to other idle physical slots under the same logical slot, and the preconfigured physical slot scheme of each mail under the target physical slot is updated.
[0059] Optionally, the mail sorting amount of each physical slot in a historical unit of time is obtained in real time or at a specified time, and the slot mapping relationship between each logical slot and each physical slot is dynamically adjusted according to the mail sorting amount. Based on the adjusted slot mapping relationship, the preconfigured physical slot scheme for the corresponding mail is regenerated.
[0060] Exemplarily, the logical slot 1 in the preconfigured logical slot scheme corresponds to the physical slot 1-10 in the preconfigured physical slot scheme, the mail sorting amount of each physical slot in a historical unit of time (such as a historical month) is acquired in real time or in a timing manner, if the mail sorting amount in the nearest historical month is less, such as the total amount of historical sorted mails in each physical slot is counted, if the total amount of historical sorted mails is less than a preset mail sorting amount (such as 70%), the slot mapping relationship between each logical slot and each physical slot is dynamically adjusted according to the actual mail sorting amount of the physical slot 1-10, such as the logical slot 1 corresponds to the physical slot 1-7, and each mail is generated with a preconfigured physical slot scheme again according to the adjusted slot mapping relationship.
[0061] The advantage of such a setting is that in the field of mail sorting, the mail business volume in the same region also has a larger floating range due to the influence of seasonality or e-commerce preferential activities, by acquiring the slot state of the target physical slot in real time, the to-be-delivered mail can be accurately delivered, and dynamic resource optimization of the physical slots in each region can also be realized, and the global resource utilization rate in the mail sorting process is improved.
[0062] S220, based on the to-be-matched three-segment code, a pre-sorting scheme corresponding to the target mail is called.
[0063] S230, if the three-segment code matched with the target mail does not exist in the mail pre-advice information, an exception processing procedure is executed.
[0064] The exception processing procedure includes sorting the target mail to a preset exception mail physical slot, or sending an exception notification to the upper sorting node of the target mail, and the exception notification at least contains the bar code information and the exception type identifier of the target mail.
[0065] The technical scheme of the embodiment of the present application extracts the to-be-matched three-segment code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when detecting the target mail on the machine; based on the to-be-matched three-segment code, the pre-sorting scheme corresponding to the target mail is called; wherein the pre-sorting scheme includes the target logical grid and / or target physical grid of the target mail in the current sorting center; if it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center. The problem that the three-segment code of the mail cannot be accurately obtained due to the pollution of the mail bar code in the prior art, and the mail sorting based on the three-segment code and the sharing of the mail sorting information in the sorting process cannot be performed are solved. By directly obtaining the information from the pre-received mail pre-warning information sent by the third-party sorting center, the three-segment code of the target mail can be accurately obtained, and then the pre-configured sorting scheme of the target mail is called according to the three-segment code to perform the mail sorting. When it is determined that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center, and the real-time sharing and penetration visibility of the mail between the whole-link sorting nodes are realized.
[0066] Embodiment three
[0067] Figure 3 A structure schematic diagram of a mail sorting device based on three-segment code provided for the embodiment three of the present application is shown in FIG. 3. Figure 3 As shown in the figure, the device includes a three-segment code extraction module 310, a scheme calling module 320 and an information sending module 330.
[0068] The three-segment code extraction module 310 is configured to extract the to-be-matched three-segment code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when detecting the target mail on the machine.
[0069] The scheme calling module 320 is configured to call the pre-sorting scheme corresponding to the target mail based on the to-be-matched three-segment code; wherein the pre-sorting scheme includes the target logical grid and / or target physical grid of the target mail in the current sorting center.
[0070] The information sending module 330 is configured to send the third-party sorting information of the target mail to the corresponding third-party sorting center if it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center; wherein the third-party sorting information at least includes the three-segment code of the target mail and the target logical grid or target physical grid information of the target mail in the third-party sorting center.
[0071] The technical scheme of the embodiment of the application extracts the to-be-matched three-segment code corresponding to the target mail from the pre-received mail pre-warning information according to the mail number information of the target mail when the target mail is detected to be on the machine; based on the to-be-matched three-segment code, the pre-sorting scheme corresponding to the target mail is called; wherein the pre-sorting scheme includes the target logical grid port and / or the target physical grid port of the target mail in the current sorting center; if it is determined according to the pre-sorting scheme that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center. The problem that the three-segment code of the mail cannot be accurately obtained due to the pollution of the mail bar code in the prior art, and the mail sorting based on the three-segment code and the sharing of the mail sorting information in the sorting process cannot be performed, the three-segment code of the target mail can be accurately obtained by directly obtaining the information from the mail pre-warning information sent by the third-party sorting center in advance, and then the pre-configured sorting scheme of the target mail is called according to the three-segment code to perform the mail sorting, and when it is determined that the next sorting node of the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center, thereby realizing the real-time sharing and penetration visibility of the mail between the whole-link sorting nodes.
[0072] Optionally, the mail sorting device based on the three-segment code further comprises: an information receiving module, configured to receive the mail pre-warning information sent by an upstream system or a sorting center before the sorting operation starts; wherein the mail pre-warning information comprises the three-segment code of at least one pre-warning mail and the mail association information of each pre-warning mail.
[0073] A logical grid port scheme creating module is configured to create a pre-configured logical grid port scheme for each pre-warning mail based on the mail association information of each pre-warning mail in the mail pre-warning information; wherein the pre-configured logical grid port scheme comprises at least one target logical grid port of the pre-warning mail in the current sorting process.
[0074] A physical grid port scheme generating module is configured to generate a pre-configured physical grid port scheme corresponding to each pre-warning mail according to the pre-configured logical grid port scheme of the current pre-warning mail and a preset grid port mapping relationship; wherein the grid port mapping relationship is a mapping relationship from the logical grid port to the physical grid port, and the pre-configured physical grid port scheme comprises at least one target physical grid port.
[0075] Optionally, the mail sorting device based on the three-segment code further comprises: a grid port state determining module, configured to obtain the current grid port state of the target physical grid port specified in the pre-configured physical grid port scheme in real time or at a fixed time; wherein the current grid port state is a busy state or an idle state.
[0076] The first updating module is configured to automatically adjust the target physical slot to other idle physical slots under the same logical slot if the current slot state is in a busy state, and update the preconfigured physical slot scheme of each mail under the target physical slot.
[0077] Optionally, the mail sorting device based on the three-segment code further comprises a mapping relationship adjusting module configured to acquire the mail sorting amount of each physical slot in a historical unit time in real time or at a timing, and dynamically adjust the slot mapping relationship between each logical slot and each physical slot according to the mail sorting amount.
[0078] The second updating module is configured to generate a preconfigured physical slot scheme for the corresponding mail based on the adjusted slot mapping relationship.
[0079] Optionally, the mail sorting device based on the three-segment code is further configured to execute an exception processing procedure if the three-segment code matching the target mail does not exist in the mail pre-advice information, wherein the exception processing procedure comprises sorting the target mail to a preset exception mail physical slot, or sending an exception notification to the upper sorting node of the target mail, and the exception notification at least contains the barcode information and the exception type identifier of the target mail.
[0080] Optionally, the mail sorting device based on the three-segment code is further configured to generate a mail sorting track according to the historical sorting information and the third-party sorting information of the target mail, and send the mail sorting track to the third-party sorting center.
[0081] The mail sorting device based on the three-segment code provided by the embodiment of the present application can execute the mail sorting method based on the three-segment code provided by any embodiment of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0082] Embodiment four
[0083] Figure 4 A structural schematic diagram of an electronic device 10 of an embodiment of the present application is shown. The electronic device is intended to represent a variety of forms including digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent a variety of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.
[0084] As Figure 4As 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., communicatively connected to the at least one processor 11, where the memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or 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, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0085] Various 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, a speaker, 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 through a computer network, such as the Internet, and / or various telecommunication networks.
[0086] The processor 11 can be various general and / or special-purpose processing components 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 special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the three-part code-based mail sorting method.
[0087] In some embodiments, the three-part code-based mail sorting method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the three-part code-based mail sorting method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the three-part code-based mail sorting method by any other appropriate means, such as by means of firmware.
[0088] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0089] Computer programs used to implement the three-segment code based mail sorting method of the present application 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, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program running on the processor implements the functions / operations specified in the flow diagrams and / or block diagrams. The computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine and partly on a remote machine or entirely on a remote machine or server.
[0090] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0091] To provide for interaction with a user, the systems and techniques described here 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 a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, 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, speech, or tactile input.
[0092] 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), blockchain network, and the Internet.
[0093] 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.
[0094] Embodiment five
[0095] 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 based on three-segment code as provided in any embodiment of the application.
[0096] The computer program code can also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce the computer implemented process such that the
[0097] It should be understood that the various forms of flow shown in the figures are illustrative examples of implementing the steps of the application. Several steps have been described as being performed by a single device. It will be understood that these steps can be performed by a single device or multiple devices. It will also be understood that the steps can be performed in a different order than that shown in the figures. It will also be understood that the steps can be performed concurrently or sequentially. It will also be understood that the steps can be performed by different entities. It will also be understood that the steps can be performed by a combination of devices and entities.
[0098] The specific embodiments have been shown and described for the purposes of illustrating the physiological principles of the application and its practical application. This description is in no way intended to limit the scope of the application. Various modifications, combinations, sub-combinations, and alternatives can occur to one of ordinary skill in the art upon reading this description. Such modifications, combinations, sub-combinations, and alternatives are intended to fall within the scope of the application. The description should be understood that all connections between elements are direct connections, indirect connections or a combination thereof.
Claims
1. A mail sorting method based on three-segment code, characterized in that: include: When a target mail is detected on the machine, the three-segment code to be matched corresponding to the target mail is extracted from the pre-received mail notice information according to the mail number information of the target mail; Based on the three-segment code to be matched, a pre-sorting plan corresponding to the target mailpiece is retrieved; wherein the pre-sorting plan includes a target logical slot and / or a target physical slot of the target mailpiece in the current sorting center; If it is determined according to the pre-sorting plan that the next sorting node for the target mail is a third-party sorting center, the third-party sorting information of the target mail is sent to the corresponding third-party sorting center; wherein the third-party sorting information includes at least the three-segment code of the target mail and the target logical slot or target physical slot information of the target mail in the third-party sorting center.
2. The method according to claim 1, characterized in that Before determining the three-segment code to be matched of the target mail according to the mail barcode when the target mail is detected, the method further includes: Before the sorting operation begins, mail advance information is received from an upstream system or a sorting center; wherein the mail advance information includes at least one three-segment code of the advance mail and mail-related information of each advance mail; Based on the mail association information of each announced mail in the mail announcement information, a pre-configured logical slot plan is created for each announced mail; wherein the pre-configured logical slot plan includes at least one target logical slot for the announced mail in the current sorting process; For each preview mail, a preconfigured physical slot scheme corresponding to the current preview mail is generated based on the preconfigured logical slot scheme of the current preview mail and the preset slot mapping relationship; wherein the slot mapping relationship is a mapping relationship from logical slots to physical slots, and the preconfigured physical slot scheme includes at least one target physical slot.
3. The method according to claim 2, characterized in that Also includes: Acquire the current slot state of the target physical slot specified in the pre-configured physical slot solution 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 mails associated with the target physical slot are automatically adjusted to other idle physical slots under the same logical slot, and the pre-configured physical slot plan for each mail under the target physical slot is updated.
4. The method according to claim 2, characterized in that Also 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 pre-configured physical slot plan is re-generated for the corresponding mail.
5. The method according to claim 1, wherein Also includes: If there is no three-segment code matching the target mail in the mail advance information, an exception handling process is executed; wherein, the exception handling process includes sorting the target mail to a preset physical slot for abnormal mail, or sending an exception notification to the upper-level sorting node of the target mail, and the exception notification at least includes the barcode information of the target mail and the exception type identifier.
6. The method according to claim 1, characterized in that Also includes: A mail sorting track is generated according to the historical sorting information of the target mail and the third-party sorting information, and the mail sorting track is sent to the third-party sorting center.
7. A mail sorting device based on three-segment code, characterized in that: include: A three-segment code extraction module is used to extract the three-segment code to be matched with the target email from the pre-received email notice information according to the email number information of the target email when the target email is detected on the machine; A solution retrieval module is configured to retrieve a pre-sorting solution corresponding to the target mailpiece based on the three-segment code to be matched; wherein the pre-sorting solution includes a target logical slot and / or a target physical slot for the target mailpiece in the current sorting center; an information sending module, configured to send third-party sorting information of the target mail to the corresponding third-party sorting center if the next sorting node for the target mail is determined to be a third-party sorting center according to the pre-sorting plan; wherein the third-party sorting information includes at least the three-segment code of the target mail and information about the target logical slot or target physical slot of the target mail in the third-party sorting center.
8. 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 based on three-segment codes according to any one of claims 1 to 6.
9. 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 based on three-segment codes according to any one of claims 1 to 6 when executed.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the mail sorting method based on three-segment codes according to any one of claims 1 to 6.