Express delivery order printing method, system, device and storage medium

By obtaining the administrative division information in the order data, matching the courier order printing template and querying the courier company, it solves the inefficiency problem of manual selection of courier companies in e-commerce scenarios, realizes automated batch printing of courier orders, and improves delivery efficiency.

CN113031886BActive Publication Date: 2024-10-15SHANGHAI XUNMENG INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110331939.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-29
Publication Date
2024-10-15
Estimated Expiration
2041-03-29

AI Technical Summary

Technical Problem

In the e-commerce scenario, merchants need to select a courier company based on the consumer's address when delivering goods. The existing technology requires manual operations one by one, which makes the operation difficult and inefficient, and it is difficult to process a large number of orders in batches.

Method used

By obtaining the administrative division information in the order data, matching the express delivery order printing template based on the preset delivery matching rules, querying the corresponding express delivery company, and automatically generating and printing express delivery orders to achieve batch selection and printing.

Benefits of technology

It improves the efficiency of express delivery order printing, reduces manual operations, and can quickly handle the delivery tasks of large batch orders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113031886B_ABST
    Figure CN113031886B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, device and storage medium for printing express orders, the method comprising: obtaining order data, extracting administrative division information from the receiving address of each order; obtaining an express order printing template that matches the administrative division information based on a preset delivery matching rule, the delivery matching rule comprising a corresponding relationship between the administrative division information and the express order printing template; querying the express company corresponding to the express order printing template, and generating express order printing information based on the order data of each order; printing the express order based on the express order printing information and the corresponding express company. The present invention improves the express order printing efficiency by constructing a delivery express order printing mechanism for batch processing orders, batch processing order data, batch selecting corresponding express companies and automatically batch printing express orders.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In e-commerce scenarios, it is a common requirement for merchants to select different express delivery companies according to the consumer's address when shipping. In the prior art, merchants generally manually select express delivery companies according to the order address, and then print express delivery orders one by one and ship the goods. This operation is difficult, requires a lot of manpower, and has low shipping efficiency. At the same time, the operation method of printing express delivery orders and shipping in the prior art is difficult to operate in batches, which is very inconvenient for merchants who have a large number of orders in a short period of time. Summary of the invention

[0003] In view of the problems in the prior art, the purpose of the present invention is to provide a courier order printing method, system, device and storage medium, which can batch process order data, batch select corresponding courier companies and automatically print courier orders in batches, thereby improving the printing efficiency of courier orders.

[0004] The embodiment of the present invention provides a method for printing a courier receipt, comprising the following steps:

[0005] Obtain order data and extract administrative division information from the delivery address of each order;

[0006] Based on a preset shipment matching rule, a courier order printing template matching the administrative division information is obtained, wherein the shipment matching rule includes a correspondence between the administrative division information and the courier order printing template;

[0007] Query the courier company corresponding to the courier printing template, and generate courier printing information based on the order data of each order;

[0008] Print the express delivery note based on the express delivery note printing information and the corresponding express delivery company.

[0009] In some embodiments, after extracting the administrative division information from the delivery address of each order, the following steps are also included:

[0010] The administrative division information is deduplicated.

[0011] In some embodiments, obtaining a courier order printing template that matches the administrative division information based on a preset delivery matching rule comprises the following steps:

[0012] Based on the preset delivery matching rules, a courier order printing template is obtained that matches the three-level administrative divisions in the administrative division information.

[0013] In some embodiments, obtaining a courier order printing template that matches the administrative division information based on a preset delivery matching rule comprises the following steps:

[0014] Based on the preset shipment matching rules, it is queried in turn whether there are express delivery note printing templates that match the third-level administrative divisions, the second-level administrative divisions and the first-level administrative divisions in the administrative division information, until a matching express delivery note printing template is found.

[0015] In some embodiments, the method further includes: obtaining a preset shipment matching rule from a user terminal, and configuring the shipment matching rule in a rule engine;

[0016] The obtaining of the express delivery note printing template that matches the administrative division information based on the preset delivery matching rule includes: obtaining the express delivery note printing template that matches the administrative division information through the rule engine.

[0017] In some embodiments, the method further includes: obtaining a courier company matching rule from a user terminal, wherein the courier company matching rule includes a correspondence between each courier order printing template and the courier company;

[0018] Querying the courier company corresponding to the courier order printing template includes: querying the courier company matching rules to determine the courier company corresponding to the courier order printing template.

[0019] In some embodiments, generating express delivery note printing information based on order data of each order includes the following steps:

[0020] For each order, according to a preset printing information extraction rule, the express delivery receipt information is extracted from the order data;

[0021] Generate the express delivery note printing information according to the express delivery receipt information.

[0022] In some embodiments, generating express delivery note printing information based on order data of each order includes the following steps:

[0023] Query the corresponding express delivery information according to the express delivery order printing template;

[0024] For each order, according to a preset printing information extraction rule, the express delivery receipt information is extracted from the order data;

[0025] The express delivery note printing information is generated according to the express delivery information and the express delivery receipt information.

[0026] In some embodiments, querying the corresponding express delivery information according to the express delivery order printing template includes the following steps:

[0027] The orders corresponding to the same express delivery order printing template are taken as a set to obtain at least one first order set;

[0028] According to the express delivery note printing template of each of the first order sets, query the corresponding express delivery information.

[0029] In some embodiments, the step of printing the express delivery note based on the express delivery note printing information and the corresponding express delivery company includes the following steps:

[0030] Connecting to the electronic waybill system corresponding to the express company, and generating an express electronic waybill printing message according to the express waybill printing information;

[0031] Print the express delivery note based on the express electronic waybill printing message.

[0032] In some embodiments, the connecting to the electronic waybill system corresponding to the courier company includes the following steps:

[0033] According to the courier company corresponding to the courier printing template, determine the corresponding electronic waybill system docking interface and electronic waybill account information;

[0034] The electronic waybill system is connected based on the connection interface of the electronic waybill system and the electronic waybill account information.

[0035] In some embodiments, connecting to the electronic waybill system corresponding to the express company and generating an express electronic waybill printing message according to the express waybill printing information includes the following steps:

[0036] Taking the orders corresponding to the same courier company as a set, obtaining at least one second order set;

[0037] For each order set, the corresponding electronic waybill system is connected to generate the corresponding express electronic waybill printing message according to the express waybill printing information of each order in the second order set.

[0038] The embodiment of the present invention further provides a courier bill printing system, which is applied to the courier bill printing method, and the system includes:

[0039] The data collection module is used to obtain order data and extract the administrative division information from the delivery address of each order;

[0040] A template matching module, used to obtain a courier bill printing template that matches the administrative division information based on a preset shipment matching rule, wherein the shipment matching rule includes a correspondence between the administrative division information and the courier bill printing template;

[0041] An information generation module, used to query the courier company corresponding to the courier printing template, and generate courier printing information based on the order data of each order;

[0042] The express bill printing module is used to print the express bill based on the express bill printing information and the corresponding express company.

[0043] The embodiment of the present invention also provides a courier receipt printing device, comprising:

[0044] processor;

[0045] a memory storing executable instructions of the processor;

[0046] Wherein, the processor is configured to execute the steps of the express delivery slip printing method by executing the executable instructions.

[0047] An embodiment of the present invention also provides a computer-readable storage medium for storing a program, and when the program is executed by a processor, the steps of the express delivery form printing method are implemented.

[0048] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

[0049] The express delivery order printing method, system, device and storage medium of the present invention have the following beneficial effects:

[0050] The present invention constructs a delivery express bill printing mechanism for batch processing orders, batch processes order data and batch selects corresponding express companies without manual selection operations one by one, and after the express company is determined, the express bills can be automatically printed in batches according to the order data and the express company, thereby improving the express bill printing efficiency and facilitating the rapid execution of express bill printing tasks when shipping large quantities of orders. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Other features, objectives and advantages of the present invention will become more apparent from a reading of the detailed description of non-limiting embodiments made with reference to the following accompanying drawings.

[0052] Figure 1 is a flow chart of a method for printing a courier order according to an embodiment of the present invention;

[0053] Figure 2 is a flow chart of matching a courier order printing template according to an embodiment of the present invention;

[0054] Figure 3 This is a flow chart of generating express delivery order printing information according to an embodiment of the present invention;

[0055] Figure 4 This is a flow chart of querying express delivery information according to an embodiment of the present invention;

[0056] Figure 5 is a flow chart of printing a courier order according to an embodiment of the present invention;

[0057] Figure 6 This is a flow chart of an electronic waybill system corresponding to the express company connected to an embodiment of the present invention;

[0058] Figure 7 It is a structural schematic diagram of a courier order printing system according to an embodiment of the present invention;

[0059] Figure 8 This is a schematic diagram of the interaction between the express delivery order printing system and other systems according to an embodiment of the present invention;

[0060] Fig. 9 It is a structural schematic diagram of a courier order printing device according to an embodiment of the present invention;

[0061] Fig.10 It is a schematic diagram of the structure of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0062] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0063] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0064] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined. Therefore, the actual execution order may be changed according to the actual situation.

[0065] like Figure 1 As shown, an embodiment of the present invention provides a method for printing a courier receipt, comprising the following steps:

[0066] S100: Obtain order data and extract administrative division information from the delivery address of each order;

[0067] The order data here can be obtained in batches from a database. For example, a merchant ships at 4 p.m. every day, and all order data from 4 p.m. of the previous day to 4 p.m. of the current day are queried in the database in batches. The order data at least includes the goods information and the recipient information (including but not limited to the recipient's name, address, contact number, etc.);

[0068] The database here can be a server used by merchants, or an order database of an e-commerce platform, or a specially constructed database for storing order data;

[0069] For example, if the delivery address of an order is "Room 305, XX Building, No. XX, XX Street, Xihu District, Hangzhou City, Zhejiang Province", the administrative division information includes: third-level administrative division - Xihu District, second-level administrative division - Hangzhou City, first-level administrative division - Zhejiang Province;

[0070] S200: obtaining a courier bill printing template that matches the administrative division information based on a preset delivery matching rule, wherein the delivery matching rule includes a correspondence between the administrative division information and the courier bill printing template;

[0071] The express order printing template may be named after an administrative division, for example, the name of an express order printing template is "Xihu District", and its corresponding shipping matching rule is that the administrative division information of the receiving address includes the keyword "Xihu District", then the express order printing template "Xihu District" is matched; for another example, the express order printing template may also be named after a number, for example, the name of an express order printing template is "No. 0045", and its corresponding shipping matching rule is that the administrative division information of the receiving address includes the keyword "Xihu District", then the express order printing template "No. 0045" is matched; for another example, the express order printing template may also be named after a region, for example, the name of an express order printing template is "Jiangsu, Zhejiang and Shanghai Region", and its corresponding shipping matching rule is that the administrative division information of the receiving address includes the third-level administrative divisions in the Jiangsu, Zhejiang and Shanghai region, then the express order printing template "Jiangsu, Zhejiang and Shanghai Region" is matched;

[0072] S300: querying the courier company corresponding to the courier printing template, and generating courier printing information based on the order data of each order;

[0073] The correspondence between each express order printing template and the express company is pre-stored in a database, and the database here can be the same database as the database storing the order data, or it can be a different database; the express companies corresponding to all the express order printing templates matched can be queried in batches in the database, thereby improving the data query efficiency;

[0074] S400: Printing the express delivery note based on the express delivery note printing information and the corresponding express delivery company.

[0075] The express delivery order printing method of the present invention first processes the order data in batches through steps S100 and S200 to select the corresponding express delivery companies in batches, without the need for manual selection operations one by one. The delivery matching rules can be set in advance by the merchant, so that one-time setting can be used multiple times in a cycle without the need for repeated selection by the merchant. After the express delivery company is determined, the express delivery orders can be automatically printed in batches according to the order data and the express delivery company through steps S300 and S400, thereby improving the express delivery order printing efficiency and facilitating the rapid execution of express delivery order printing tasks when delivering large quantities of orders.

[0076] The express delivery order printing method of the present invention can be applied to the terminal device or server used by the merchant himself, can also be applied to the server of the e-commerce platform, and can also be applied to a separate server for processing shipments. The device to which the express delivery order printing method is applied can communicate with the database, batch query the corresponding data from the database, and execute the above steps S100 to S400 to realize batch printing of express delivery orders.

[0077] In this embodiment, since the query of the express delivery note printing template in step S200 can be implemented in batches, that is, the express delivery note printing templates corresponding to the administrative division information in the receiving addresses of multiple orders are queried at the same time, the administrative division information in multiple receiving addresses is likely to be repeated. The express delivery note printing templates corresponding to the same administrative division information are also the same. For the same administrative division information, there is no need to repeatedly query the corresponding express delivery note printing templates. Therefore, the step S100: after extracting the administrative division information in the receiving addresses of each order, it also includes: deduplication of the administrative division information. For example, the receiving address of one order is "Room 305, XX Building, No. XX, XX Street, Xihu District, Hangzhou City, Zhejiang Province", and the receiving address of another order is "Room 702, XX Community, XX Street, Xihu District, Hangzhou City, Zhejiang Province". The administrative division information of the receiving addresses of these two orders is the same, so it is necessary to remove the repeatedly extracted administrative division information.

[0078] In this embodiment, the step S200: obtaining a courier order printing template matching the administrative division information based on a preset delivery matching rule includes the following steps:

[0079] Based on the preset delivery matching rules, a courier order printing template matching the third-level administrative division in the administrative division information is obtained. That is, the delivery matching rules include the correspondence between the third-level administrative division and the courier order printing template. For the administrative division information "Xihu District, Hangzhou City, Zhejiang Province", the third-level administrative division "Xihu District" can be directly used to match the courier order printing template.

[0080] Furthermore, in actual applications, when setting the delivery matching rules, merchants may not divide them very finely, that is, they may not necessarily set the delivery matching rules based on the third-level administrative divisions, but may directly set the corresponding relationship between a second-level administrative division and the express delivery order printing template, or directly set the corresponding relationship between a first-level administrative division and the express delivery order printing template.

[0081] The step S200: obtaining a courier order printing template matching the administrative division information based on a preset delivery matching rule, comprises the following steps:

[0082] Based on the preset shipment matching rules, it is queried in turn whether there are express delivery note printing templates that match the third-level administrative divisions, the second-level administrative divisions and the first-level administrative divisions in the administrative division information, until a matching express delivery note printing template is found.

[0083] Specifically, Figure 2 As shown, the step S200: based on the preset delivery matching rule, obtaining a courier order printing template matching the administrative division information includes the following steps:

[0084] S210: Based on a preset delivery matching rule, select a courier order printing template that matches the third-level administrative division in the administrative division information;

[0085] S220: Whether the express delivery order printing template is matched;

[0086] If yes, proceed to step S230: determine the matched express delivery form printing template, and then proceed to step S300;

[0087] If not, continue to S240: based on the preset delivery matching rule, select the express delivery order printing template that matches the secondary administrative division in the administrative division information;

[0088] S250: whether the express printing template is matched;

[0089] If yes, continue to step S230;

[0090] If not, proceed to step S260: based on the preset delivery matching rule, select the express delivery note printing template that matches the first-level administrative division in the administrative division information, and then proceed to step S230.

[0091] For example, the administrative division information in the delivery address of an order is "Anning District, Lanzhou City, Gansu Province". First, based on "Anning District", it is queried whether there is a matching express delivery order printing template. If it is not found, it is queried based on "Lanzhou City" to see if there is a matching express delivery order printing template. If it is not found, it is queried based on "Gansu Province" to see if there is a matching express delivery order printing template. Finally, the matching express delivery order printing template "Gansu Province" is queried. If the express delivery order printing template cannot be found based on the first-level administrative division, an error needs to be reported, and the merchant will manually select or add the corresponding delivery matching rules.

[0092] In this embodiment, the express delivery order printing method further includes: obtaining a preset delivery matching rule from a user terminal, and configuring the delivery matching rule in a rule engine. The user terminal here can be a user terminal used by a merchant, such as a mobile phone, tablet computer, laptop computer, desktop computer, etc. used by a merchant. The merchant can access the delivery matching rule setting page through the user terminal, and configure the express delivery order printing template corresponding to different administrative divisions in the setting page.

[0093] The method of obtaining a courier printing template that matches the administrative division information based on a preset delivery matching rule includes: obtaining a courier printing template that matches the administrative division information through the rule engine. That is, the rule engine executes the following steps: Figure 2 Steps S210 to S260 are shown.

[0094] In this embodiment, the express delivery order printing method further includes: obtaining a courier company matching rule from a user terminal, wherein the courier company matching rule includes a correspondence between each courier order printing template and a courier company. The user terminal here may be a user terminal used by a merchant. After configuring the shipment matching rule, the merchant may further configure the correspondence between each courier order printing template and a courier company, for example, configuring "West Lake District" to send XX courier and "Gansu Province" to send YY courier. This courier company matching rule may be stored in a database.

[0095] In step S300, querying the courier company corresponding to the courier printing template includes: querying the courier company matching rule to determine the courier company corresponding to the courier printing template. When the courier company matching rule is stored in the database, the courier company matching rule is queried from the database in step S300. Since the courier printing template is obtained by querying the administrative division information after deduplication, and the courier company corresponding to the same courier printing template only needs to be queried once, the amount of data query is greatly reduced.

[0096] For example, the administrative division information in the delivery addresses of Order A, Order B, Order C, and Order D all correspond to the express delivery order printing template "Jiangsu, Zhejiang, and Shanghai". According to the traditional method, the merchant needs to manually query the express company corresponding to Order A, the express company corresponding to Order B, the express company corresponding to Order C, and the express company corresponding to Order D. However, by adopting the method of the present invention, it is only necessary to query the express company corresponding to the express delivery order printing template "Jiangsu, Zhejiang, and Shanghai" once, that is, the express company corresponding to Order A, the express company corresponding to Order B, the express company corresponding to Order C, and the express company corresponding to Order D can be obtained at the same time, which greatly improves the data query speed.

[0097] In this embodiment, the step S300 generates express delivery note printing information based on the order data of each order, including the following steps:

[0098] For each order, according to a preset printing information extraction rule, the express delivery information is extracted from the order data, where the printing information extraction rule is the information dimension to be extracted, and the dimension of the express delivery information here at least includes the goods information, the recipient's name, the recipient's address, the recipient's contact information, etc.; the printing information extraction rule may be pre-stored in the database;

[0099] The express delivery note printing information is generated according to the express delivery receipt information. Specifically, the express delivery receipt information can be processed in a unified format according to a preset format of the express delivery note printing information. The format of the express delivery note printing information may include various dimensions and the arrangement order of each dimension. The information of each dimension is filled in according to the express delivery receipt information, and the express delivery note printing information is obtained by combining the arrangement order of each dimension.

[0100] Furthermore, the merchant can also pre-configure some express delivery information, which may include the name of the consignor, the shipping address, the consignor's contact information, the pickup time, and other matters during delivery. For example, for a relatively large merchant, it may have warehouses in many places across the country, and there may be different shipping addresses for different express order printing templates. The merchant can pre-configure the consignor's name, shipping address, and consignor's contact information corresponding to each express order printing template. If the merchant has not configured, the default consignor's name, shipping address, and consignor's contact information can also be used. For another example, the merchant may ship express from different regions or different express companies at different times, and the correspondence between the express order printing template and the pickup time can be configured. These express delivery information can also be further added to the express order printing information, so as to facilitate the direct printing of express orders with complete information.

[0101] Specifically, Figure 3As shown, in this embodiment, in step S300, based on the order data of each order, the express delivery note printing information is generated, including the following steps:

[0102] S310: querying the corresponding express delivery information according to the express delivery note printing template. The correspondence between the express delivery note printing template and the express delivery information may be pre-set by the merchant and stored in a database. The query may be directly queried from the database.

[0103] S320: For each order, extract the express delivery information from the order data according to a preset printing information extraction rule;

[0104] S330: Generate the express delivery note printing information according to the express delivery information and the express delivery receipt information. For example, the express delivery note printing information includes the following dimensions: sender name, sender address, sender contact information, goods name, goods type, goods weight, recipient name, recipient address, recipient contact information, then "sender name, sender address, sender contact information" are obtained according to the express delivery information, and "goods name, goods type, goods weight, recipient name, recipient address, recipient contact information" are obtained according to the express delivery information.

[0105] Since for multiple orders corresponding to the same express delivery order printing template, although the express delivery information is different, the express delivery information is the same, there is no need to repeatedly query the express delivery information for such orders. Figure 4 As shown, in this embodiment, the step S310: querying the corresponding express delivery information according to the express delivery order printing template includes the following steps:

[0106] S311: taking the orders corresponding to the same express delivery order printing template as a set to obtain at least one first order set;

[0107] S312: According to the express delivery printing template of each of the first order sets, the corresponding express delivery information is queried. Since there may be multiple orders in a first order set, there is no need to query the express delivery information for each order in the order set. Instead, it only needs to be queried once, which can be applied to each order in the first order set, thereby greatly improving data query efficiency.

[0108] Then in step S330, the express delivery note printing information is generated according to the express delivery information and the express delivery receipt information, including: for the same first order set, the express delivery note printing information is generated respectively based on the corresponding express delivery information and the express delivery receipt information of each order.

[0109] like Figure 5As shown, in this embodiment, the S400: printing the express bill based on the express bill printing information and the corresponding express company includes the following steps:

[0110] S410: connecting to the electronic waybill system corresponding to the express company, and generating an express electronic waybill printing message according to the express waybill printing information;

[0111] Since the orders corresponding to the same express company can be connected to the same electronic waybill system, the orders connected to the same electronic waybill system can be processed in batches to achieve batch generation of electronic waybill printing messages;

[0112] S420: Printing an express delivery note based on the express electronic delivery note printing message.

[0113] like Figure 6 As shown, in this embodiment, the database also stores the docking interface between the express company and the electronic waybill system and the corresponding relationship between the electronic waybill account information. The step S410: docking the electronic waybill system corresponding to the express company includes the following steps:

[0114] S411: According to the courier company corresponding to the courier printing template, query in the database to determine the corresponding electronic waybill system docking interface and electronic waybill account information;

[0115] S412: Connecting the electronic waybill system based on the connection interface of the electronic waybill system and the electronic waybill account information.

[0116] In this embodiment, the step S410: connecting to the electronic waybill system corresponding to the express company and generating an express electronic waybill printing message according to the express waybill printing information includes the following steps:

[0117] The orders corresponding to the same express company are taken as a set to obtain at least one second order set; since different express order printing templates may also correspond to the same express company, each second order set may include one or more of the above-mentioned first order sets; for example, the express order printing template "Xihu District" and the express order printing template "Minhang District" both correspond to the same express company, so the second order set corresponding to this express company may include the first order set corresponding to the express order printing template "Xihu District" and the first order set corresponding to the express order printing template "Minhang District";

[0118] For each second order set, the corresponding electronic waybill system is connected to generate the corresponding express electronic waybill printing message according to the express waybill printing information of each order in the second order set.

[0119] Since in step S410, different second order sets are distinguished by express delivery companies, the second order sets have a higher degree of aggregation of orders, and the express electronic waybill printing messages corresponding to the orders can be generated in batches more quickly.

[0120] like Figure 7 As shown, the embodiment of the present invention further provides a courier bill printing system M100, which is applied to the courier bill printing method, and the system includes:

[0121] The data collection module M110 is used to obtain order data and extract administrative division information from the delivery address of each order;

[0122] The template matching module M120 is used to obtain a courier bill printing template that matches the administrative division information based on a preset delivery matching rule, wherein the delivery matching rule includes a correspondence between the administrative division information and the courier bill printing template;

[0123] The information generation module M130 is used to query the courier company corresponding to the courier printing template and generate courier printing information based on the order data of each order;

[0124] The express delivery note printing module M140 is used to print the express delivery note based on the express delivery note printing information and the corresponding express delivery company.

[0125] The express order printing system of the present invention first batch processes the order data through the data acquisition module M110 and the template matching module M120 to batch select the corresponding express companies, without the need for manual selection one by one. The delivery matching rules can be set in advance by the merchant, so that one-time setting can be used multiple times in a cycle without the need for the merchant to repeat the selection. After the express company is determined, the express order can be automatically printed in batches according to the order data and the express company through the information generation module M130 and the express order printing module M140, thereby improving the express order printing efficiency, facilitating the rapid execution of the express order printing task when delivering large quantities of orders, and avoiding subsequent repeated data queries.

[0126] like Figure 8 The diagram shows the interaction between the express order printing system of this embodiment and various other systems. In this embodiment, the data acquisition module M110 obtains order data from the database M300. The data acquisition module M110 is also used to perform deduplication processing on the administrative division information extracted from the delivery address of the order.

[0127] The rule engine M200 is configured with a shipping matching rule, which can be pre-set by the merchant using the user terminal M400 and configured in the rule engine M200. The template matching module M120 obtains a courier printing template that matches the administrative division information based on the preset shipping matching rule, including sending the administrative division information in the recipient address to the rule engine M200 in batches, and the rule engine M200 outputs the courier printing template to the template matching module M120 based on the configured shipping matching rule.

[0128] The shipment matching rule may include the correspondence between the third-level administrative divisions and the express order printing template. Further, the shipment matching rule may include not only the correspondence between the third-level administrative divisions and the express order printing template, but also the correspondence between the second-level administrative divisions and the express order printing template, and may also include the correspondence between the first-level administrative divisions and the express order printing template.

[0129] In this embodiment, the information generation module M130 queries the courier company corresponding to the courier printing template, including: querying the courier company matching rules pre-stored in the database M300 to determine the courier company corresponding to the courier printing template. The courier company matching rules can be set by the merchant's user terminal M400 and stored in the database.

[0130] In this embodiment, the information generation module M130 generates express delivery note printing information based on the order data of each order, including: for each order, extracting express delivery receipt information from the order data according to preset printing information extraction rules; and generating the express delivery note printing information based on the express delivery receipt information.

[0131] In another alternative embodiment, the information generation module M130 generates express delivery note printing information based on the order data of each order, and may also include: querying the corresponding express delivery information according to the express delivery note printing template, the correspondence between the express delivery note printing template and the express delivery information may be set by the merchant in advance using the user terminal M400 and stored in the database, so that the query can be directly queried from the database; for each order, according to the preset printing information extraction rules, the express delivery receipt information is extracted from the order data; the express delivery note printing information is generated according to the express delivery information and the express delivery receipt information. Further, the query corresponding to the express delivery information includes: taking the orders corresponding to the same express delivery note printing template as a set to obtain at least one first order set; querying the corresponding express delivery information according to the express delivery note printing template of each of the first order sets, thereby realizing batch query of express delivery information, reducing the amount of data query, and improving data query efficiency.

[0132] like Figure 8 As shown, in this embodiment, the express bill printing module M140 prints the express bill based on the express bill printing information and the corresponding express company, including: connecting to the electronic bill system M500 corresponding to the express company, generating an express electronic bill printing message according to the express bill printing information; and printing the express bill based on the express electronic bill printing message.

[0133] Specifically, docking with the electronic waybill system M500 corresponding to the express company includes: according to the express company corresponding to the express bill printing template, querying in the database to determine the docking interface and electronic waybill account information of the corresponding electronic waybill system; and docking with the electronic waybill system based on the docking interface and electronic waybill account information of the electronic waybill system.

[0134] Furthermore, in this embodiment, the electronic waybill system M500 corresponding to the express company is connected, and an express electronic waybill printing message is generated according to the express bill printing information, including: taking the orders corresponding to the same express company as a set to obtain at least one second order set; for each second order set, the corresponding electronic waybill system is connected, and the corresponding express electronic waybill printing message is generated according to the express bill printing information of each order in the second order set, thereby realizing batch generation of express electronic waybill printing messages and batch execution of express bill printing tasks.

[0135] The express delivery note printing system M100 of the present invention can be deployed on a terminal device or server used by a merchant, and the database M300 can be configured by the merchant on a server used by the merchant. The database M300 can communicate with the server of the e-commerce platform to obtain order data, and can also communicate with the user terminal M400 to obtain relevant configuration rules. The express delivery note printing system M100 and the database M300 can be configured on the same server or different servers. In another alternative embodiment, the database M300 and the express delivery note printing system M100 can also be configured in the server of the e-commerce platform. In yet another alternative embodiment, the database M300 and the express delivery note printing system M100 can also be configured in a single server, or respectively configured in two different servers, all of which fall within the protection scope of the present invention.

[0136] An embodiment of the present invention also provides a courier slip printing device, comprising a processor; a memory, in which executable instructions of the processor are stored; wherein the processor is configured to execute the steps of the courier slip printing method by executing the executable instructions.

[0137] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".

[0138] Refer to the following Fig. 9 The electronic device 600 according to this embodiment of the present invention is described. Fig. 9 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0139] like Fig. 9 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.

[0140] The storage unit stores a program code, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the above-mentioned express delivery form printing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .

[0141] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0142] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0143] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0144] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0145] In the express delivery slip printing device, the program in the memory implements the steps of the express delivery slip printing method when executed by the processor. Therefore, the computer storage medium can also obtain the technical effect of the express delivery slip printing method.

[0146] The embodiment of the present invention further provides a computer-readable storage medium for storing a program, wherein the program, when executed by a processor, implements the steps of the express delivery slip printing method. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is executed on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the express delivery slip printing method section of this specification.

[0147] refer to Fig.10 As shown, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be executed on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0148] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0149] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0150] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0151] When the program in the computer storage medium is executed by the processor, the steps of the express delivery slip printing method are implemented. Therefore, the computer storage medium can also obtain the technical effect of the express delivery slip printing method.

[0152] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for printing a courier order, characterized in that: The method comprises: Obtain order data and extract administrative division information from the delivery address of each order; Based on the preset shipment matching rule, a courier bill printing template matching the administrative division information is obtained, wherein the shipment matching rule includes a correspondence between the administrative division information and the courier bill printing template, wherein based on the preset shipment matching rule, it is sequentially queried whether there is a courier bill printing template matching the third-level administrative division, the second-level administrative division, and the first-level administrative division in the administrative division information, until a matching courier bill printing template is found, and the shipment matching rule includes a specific keyword in the administrative division information; Query the courier company corresponding to the courier printing template, and generate courier printing information based on the order data of each order; Print the express delivery note based on the express delivery note printing information and the corresponding express delivery company.

2. The express delivery form printing method according to claim 1, characterized in that: After extracting the administrative division information from the delivery address of each order, the following steps are also included: The administrative division information is deduplicated.

3. The express delivery form printing method according to claim 1, characterized in that: The method of obtaining a courier order printing template that matches the administrative division information based on a preset delivery matching rule comprises the following steps: Based on the preset delivery matching rules, a courier order printing template is obtained that matches the three-level administrative divisions in the administrative division information.

4. The express delivery form printing method according to claim 1, characterized in that: The method further includes: obtaining a preset shipment matching rule from a user terminal, and configuring the shipment matching rule in a rule engine; The obtaining of the express delivery note printing template that matches the administrative division information based on the preset delivery matching rule includes: obtaining the express delivery note printing template that matches the administrative division information through the rule engine.

5. The express delivery form printing method according to claim 4, characterized in that: The method further includes: obtaining a courier company matching rule from a user terminal, wherein the courier company matching rule includes a corresponding relationship between each courier order printing template and the courier company; Querying the courier company corresponding to the courier order printing template includes: querying the courier company matching rules to determine the courier company corresponding to the courier order printing template.

6. The express delivery form printing method according to claim 1, characterized in that: The step of generating express delivery order printing information based on the order data of each order includes the following steps: For each order, according to a preset printing information extraction rule, the express delivery receipt information is extracted from the order data; Generate the express delivery note printing information according to the express delivery receipt information.

7. The express delivery form printing method according to claim 6, characterized in that: The step of generating express delivery order printing information based on the order data of each order includes the following steps: Query the corresponding express delivery information according to the express delivery order printing template; For each order, according to a preset printing information extraction rule, the express delivery receipt information is extracted from the order data; The express delivery note printing information is generated according to the express delivery information and the express delivery receipt information.

8. The express delivery form printing method according to claim 6, characterized in that: Querying the corresponding express delivery information according to the express delivery order printing template includes the following steps: The orders corresponding to the same express delivery order printing template are taken as a set to obtain at least one first order set; According to the express delivery note printing template of each of the first order sets, query the corresponding express delivery information.

9. The express delivery form printing method according to claim 1, characterized in that: The method of printing the express delivery note based on the express delivery note printing information and the corresponding express delivery company comprises the following steps: Connecting to the electronic waybill system corresponding to the express company, and generating an express electronic waybill printing message according to the express waybill printing information; Print the express delivery note based on the express electronic waybill printing message.

10. The express delivery bill printing method according to claim 9, characterized in that: The step of connecting to the electronic waybill system corresponding to the express company includes the following steps: According to the courier company corresponding to the courier printing template, determine the corresponding electronic waybill system docking interface and electronic waybill account information; The electronic waybill system is connected based on the connection interface of the electronic waybill system and the electronic waybill account information.

11. The express delivery form printing method according to claim 10, characterized in that: Connecting to the electronic waybill system corresponding to the express company and generating an express electronic waybill printing message according to the express waybill printing information includes the following steps: Taking the orders corresponding to the same courier company as a set, obtaining at least one second order set; For each order set, the corresponding electronic waybill system is connected to generate the corresponding express electronic waybill printing message according to the express waybill printing information of each order in the second order set.

12. A courier bill printing system, characterized in that: The express delivery bill printing method applied to any one of claims 1 to 11, the system comprising: The data collection module is used to obtain order data and extract the administrative division information from the delivery address of each order; A template matching module, used to obtain a courier bill printing template that matches the administrative division information based on a preset shipment matching rule, wherein the shipment matching rule includes a correspondence between the administrative division information and the courier bill printing template; An information generation module, used to query the courier company corresponding to the courier printing template, and generate courier printing information based on the order data of each order; The express bill printing module is used to print the express bill based on the express bill printing information and the corresponding express company.

13. An electronic device, characterized in that: The electronic device comprises: processor; A memory having a computer program stored thereon, wherein the computer program, when executed by the processor, executes the express delivery slip printing method according to any one of claims 1 to 11.

14. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the express delivery form printing method according to any one of claims 1 to 11 is executed.