Express electronic express sheet generation method and related device

By uniformly managing the electronic page templates and number picking functions of multiple e-commerce and express service platforms, the complexity of shipment caused by differences in different platforms is solved, and a fast and accurate multi-platform shipment operation is achieved.

CN119443073AActive Publication Date: 2025-02-14小芒电子商务有限责任公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411535171.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-14
Estimated Expiration
2044-10-30

AI Technical Summary

Technical Problem

There are differences in the electronic page templates, API interface protocols and file formats of different e-commerce and express service platforms, resulting in frequent operations when shipping on multiple platforms, which is time-consuming and prone to errors or missed orders.

Method used

By obtaining express order information, assigning system express delivery, and obtaining system express template information based on system express delivery, assemble the order information, system express and template information into platform interface call parameters, obtaining platform electronic face number and template data, and uniformly generating express delivery electronics Page list.

Benefits of technology

It realizes unified management of electronic page templates and number picking functions of multiple express service platforms and e-commerce platforms, reduces the frequency of merchants operating on different platforms, saves manpower and time, and avoids order errors and misses. The situation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119443073A_ABST
    Figure CN119443073A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic express sheet generation method and a related device, and the method comprises the steps: obtaining express order information issued by an express service platform or an e-commerce platform, distributing a system express for the express order information, obtaining system express template information according to the system express, and generating an electronic express sheet according to the system express template information; the express order information, the system express and the system express template information are assembled into a platform interface calling parameter to obtain a platform electronic express sheet number, and when an express printing instruction is received, the platform electronic express sheet number, the system express and the system express template information are assembled into a platform electronic express sheet calling parameter to obtain platform electronic express sheet template data; and assembling the platform electronic express sheet number and the platform electronic express sheet template data to generate an express electronic express sheet. According to the invention, platform electronic express sheet templates and electronic express sheet numbers of a plurality of express service platforms and e-commerce platforms can be uniformly managed and operated, so that merchants do not need to operate on different platforms when the merchants need to deliver goods on a plurality of platforms, and manpower and time are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of express delivery technology, and more specifically, to a method for generating an express delivery electronic waybill and a related device. Background Art

[0002] At present, the e-commerce and logistics industries are developing rapidly, with many express brands, express service platforms, and e-commerce platforms. Each express service platform and e-commerce platform has its own express electronic waybill system. Some e-commerce platforms also limit orders on this platform to only use the express electronic waybill templates in the express electronic waybill system of this platform. However, there are differences in express electronic waybill templates, open API (Application Programming Interface) interface protocols, and express electronic waybill file formats on different platforms. If merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, merchants need to operate on different platforms, which not only consumes a lot of manpower and time, but also makes it easy for orders to be wrong or missed. Summary of the invention

[0003] In view of this, the present invention discloses a method for generating an express electronic waybill and a related device, so as to realize the unified management and operation of platform electronic waybill templates, electronic waybill number picking and electronic waybill printing of multiple express service platforms and e-commerce platforms, so that when merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, they do not need to operate on different platforms, thereby greatly saving manpower and time, and effectively avoiding the occurrence of order errors and omissions.

[0004] A method for generating an express electronic waybill, comprising:

[0005] Obtaining express order information, where the express order information is issued by an express service platform or an e-commerce platform;

[0006] Allocating a system courier for the courier order information;

[0007] According to the system express, the corresponding system express template information is obtained, and the system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template;

[0008] Assembling the express order information, the system express and the system express template information into platform interface call parameters, and using the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs;

[0009] When receiving an express printing instruction, assembling the platform electronic waybill number, the system express and the system express template information into a platform electronic waybill calling parameter, and using the platform electronic waybill calling parameter to obtain the platform electronic waybill template data from the platform;

[0010] Assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

[0011] Optionally, the process of setting the system express template information includes:

[0012] Display all platform list data on the system template settings page;

[0013] Determine to select the platform to which the express electronic waybill belongs from the platform list data, and create the corresponding system express template;

[0014] Obtain platform configuration parameters according to the platform code corresponding to the platform to which the express electronic waybill belongs;

[0015] Initialize the express electronic waybill printing method and the platform electronic waybill express type according to the platform configuration parameters;

[0016] Determine the platform electronic waybill template according to the platform electronic waybill courier type;

[0017] The system express template, the platform to which the express electronic waybill belongs, the printing method of the express electronic waybill, the express type of the platform electronic waybill and the platform electronic waybill template are stored as the system express template information.

[0018] Optionally, the process of setting the system express template information further includes:

[0019] Determine the platform custom area template based on the platform express type code and platform express template code;

[0020] Template data other than the platform electronic waybill template and the platform custom area template is determined according to the platform express type code, the platform express template code and the platform custom area template code.

[0021] Optionally, the system express setting process includes:

[0022] Open the express creation window on the system express settings page and create an express interface;

[0023] Obtain all system express template list data from the system express template table, and call the express interface to obtain all platform configuration parameters;

[0024] Selecting a system express template from the system express template list data, and saving a system express template code corresponding to the system express template;

[0025] Acquire system express template information from the system express template list data according to the system express template code;

[0026] Using the platform code and platform express type code in the system express template, obtain a platform express company list from the platform configuration parameters;

[0027] When it is detected that the selected platform express company exists in the platform express company list, the platform express company code corresponding to the selected platform express company is saved;

[0028] Initialize the platform express parameters according to the system express template code and the platform express company code;

[0029] After the platform express parameters are initialized, the filling operation of the system express in the system express setting page is completed, and the system express is stored in the system express table.

[0030] Optionally, the initializing platform express parameters according to the system express template code and the platform express company code includes:

[0031] When the system express template code and the platform express company code are not empty, the platform express type code of the platform code set in the system express template is used to obtain the platform express company list from the platform configuration parameters;

[0032] Obtaining a list of platform courier company parameters from the platform configuration parameters using the platform courier company code;

[0033] Loop through the platform express company parameter list to determine whether a single parameter is an optional list;

[0034] If yes, the single parameter is displayed as a single option, and the first value in the list of optional items is set to be selected by default;

[0035] If not, set the optional list to a fill-in input box and display a prompt in the input box.

[0036] Optionally, assembling the express order information, the system express and the system express template information into platform interface call parameters, and using the platform interface call parameters to obtain a platform electronic waybill number from the platform to which the express electronic waybill belongs, includes:

[0037] Assembling the express order information, the system express and the system express template information into platform interface calling parameters;

[0038] Using the platform interface call parameters, obtain the current platform electronic waybill number from the platform to which the express electronic waybill belongs;

[0039] Determine whether the current platform electronic waybill number is consistent with the historical platform electronic waybill number of the platform order;

[0040] If they are inconsistent, the current platform electronic waybill number is determined as the platform electronic waybill number of the express order information;

[0041] If they are consistent, call the platform interface to cancel the current platform electronic waybill number and re-acquire the platform electronic waybill number.

[0042] Optionally, it also includes:

[0043] Print the electronic express delivery bill at the system front desk.

[0044] A system for generating an express electronic waybill, comprising:

[0045] An order information acquisition unit, used to acquire express order information, wherein the express order information is issued by an express service platform or an e-commerce platform;

[0046] An allocating unit, used for allocating system express delivery to the express delivery order information;

[0047] A template information acquisition unit, used for acquiring corresponding system express template information according to the system express, wherein the system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template;

[0048] A tracking number acquisition unit, used to assemble the express order information, the system express and the system express template information into platform interface call parameters, and use the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs;

[0049] A waybill template data acquisition unit, for assembling the platform electronic waybill number, the system express and the system express template information into platform electronic waybill call parameters when receiving an express printing instruction, and using the platform electronic waybill call parameters to acquire the platform electronic waybill template data from the platform;

[0050] The electronic waybill generating unit is used to assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

[0051] A computer storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the method for generating an express electronic waybill as described above is implemented.

[0052] An electronic device, comprising: a memory and a processor;

[0053] The memory is used to store at least one instruction;

[0054] The processor is used to execute the at least one instruction to implement the above-mentioned method for generating the express electronic waybill.

[0055] It can be seen from the above technical solution that the present invention discloses a method for generating an express electronic waybill and a related device, obtains the express order information issued by the express service platform or the e-commerce platform, allocates the system express to the express order information, obtains the corresponding system express template information according to the system express, assembles the express order information, the system express and the system express template information into the platform interface call parameter, so as to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs, and when the express printing instruction is received, assembles the platform electronic waybill number, the system express and the system express template information into the platform electronic waybill call parameter, so as to obtain the platform electronic waybill template data from the platform, assembles the platform electronic waybill number and the platform electronic waybill template data, and generates the express electronic waybill. The present application can manage and operate the platform electronic waybill templates and electronic waybill numbering of multiple express service platforms and e-commerce platforms in a unified manner, so that when merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, they do not need to go to different platforms to operate, thereby greatly saving manpower and time, and effectively avoiding the occurrence of order errors and omissions. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without paying creative work.

[0057] Figure 1 A flow chart of a method for generating an express electronic waybill disclosed in an embodiment of the present invention;

[0058] Figure 2 A schematic diagram of the structure of a device for generating an express electronic waybill disclosed in an embodiment of the present invention;

[0059] Figure 3 The present invention is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] The embodiment of the present invention discloses a method for generating an express electronic waybill and a related device, which obtains express order information issued by an express service platform or an e-commerce platform, allocates system express to the express order information, obtains corresponding system express template information according to the system express, assembles the express order information, system express and system express template information into platform interface call parameters, so as to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs, and when receiving an express printing instruction, assembles the platform electronic waybill number, system express and system express template information into platform electronic waybill call parameters, so as to obtain the platform electronic waybill template data from the platform, assembles the platform electronic waybill number and the platform electronic waybill template data, and generates an express electronic waybill. The present application can uniformly manage and operate the platform electronic waybill templates and electronic waybill numbering of multiple express service platforms and e-commerce platforms, so that when merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, they do not need to go to different platforms to operate, thereby greatly saving manpower and time, and effectively avoiding the occurrence of order errors and omissions.

[0062] See also Figure 1 , a flow chart of a method for generating an express electronic waybill disclosed in an embodiment of the present invention, the method comprising:

[0063] Step S101, obtaining express order information.

[0064] The express order information is issued by an express service platform (such as Express 100) or an e-commerce platform (such as Taobao).

[0065] In actual application, when there is an order on the express service platform or e-commerce platform, the express service platform or e-commerce platform will send the express order information corresponding to the order to the system background used by this application to realize the generation of express electronic waybills.

[0066] Step S102: Allocate system express for the express order information.

[0067] When the system background of the express electronic waybill implemented in this application obtains the express order information, a system courier can be assigned to the express order. The system courier is not a platform courier, but is created in the system background of this application.

[0068] Step S103: Obtain corresponding system express template information according to the system express.

[0069] The system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template.

[0070] In actual applications, the platform's electronic waybill template can be personalized with parameter configurations based on business needs.

[0071] In one embodiment, the platform code of the express service platform or e-commerce platform is selected in the system background of the present application to create a system express template, and the corresponding platform electronic waybill template list interface is called according to the selected platform code to obtain the platform electronic waybill template list, and then a platform express type and a platform express template are selected through the system page, and the system express template is bound to the platform electronic waybill template one by one. The system express template number can be used to query the system express template information to determine the platform to which the express electronic waybill belongs, the express electronic waybill printing method, the platform electronic waybill express type and the platform electronic waybill template.

[0072] Step S104: assemble the express order information, the system express and the system express template information into platform interface call parameters, and use the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs.

[0073] Among them, after obtaining the platform electronic waybill number, the platform electronic waybill number can be stored in the order table.

[0074] Step S105: When an express printing instruction is received, the platform electronic waybill number, the system express and the system express template information are assembled into platform electronic waybill calling parameters, and the platform electronic waybill calling parameters are used to obtain the platform electronic waybill template data from the platform.

[0075] When the platform's order needs to print an express electronic waybill in the system background of this application, the system express template information can also be found through the system express assigned to the order information, so as to determine the platform to which the order belongs and the platform electronic waybill template used on the platform based on the system express module information.

[0076] When receiving an express printing instruction, this application assembles the platform electronic waybill number, system express and system express template information into platform electronic waybill calling parameters, and then uses the platform electronic waybill calling parameters to call the platform electronic waybill interface to obtain the platform electronic waybill template data, and the platform electronic waybill template data can be stored in the order table.

[0077] Step S106: Assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

[0078] In summary, the present invention discloses a method for generating an express electronic waybill, obtains express order information issued by an express service platform or an e-commerce platform, allocates system express to the express order information, obtains corresponding system express template information according to the system express, assembles the express order information, system express and system express template information into platform interface call parameters, so as to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs, and when receiving an express printing instruction, assembles the platform electronic waybill number, system express and system express template information into platform electronic waybill call parameters, so as to obtain the platform electronic waybill template data from the platform, assembles the platform electronic waybill number and the platform electronic waybill template data, and generates an express electronic waybill. The present application can manage and operate the platform electronic waybill templates and electronic waybill numbering of multiple express service platforms and e-commerce platforms in a unified manner, so that when merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, they do not need to go to different platforms to operate, thereby greatly saving manpower and time, and effectively avoiding the occurrence of order errors and omissions.

[0079] In addition, when the e-commerce platform does not limit the electronic waybill platform, different express service platforms can also be used for express delivery to reduce costs. Batch printing / automatic printing can also be combined to handle large-volume order shipments.

[0080] In one embodiment, the process of setting the platform configuration information includes: there is a mapping relationship between the system express parameter and all the platform express parameters, and the corresponding system express parameter can be determined according to the platform express parameter corresponding to the platform code.

[0081] In one embodiment, the process of setting the system express template information includes:

[0082] Display all platform list data on the system template settings page;

[0083] Determine to select the platform to which the express electronic waybill belongs from the platform list data, and create the corresponding system express template;

[0084] Obtain platform configuration parameters according to the platform code corresponding to the platform to which the express electronic waybill belongs;

[0085] Initialize the express electronic waybill printing method and the platform electronic waybill express type according to the platform configuration parameters;

[0086] Determine the platform electronic waybill template according to the platform electronic waybill courier type;

[0087] The system express template, the platform to which the express electronic waybill belongs, the printing method of the express electronic waybill, the express type of the platform electronic waybill and the platform electronic waybill template are stored as the system express template information.

[0088] Specifically, (1) all platform list data are displayed on the system template page, and a certain express service platform or e-commerce platform is selected from the platform list data, that is, the platform to which the express electronic waybill belongs, and the corresponding system express template is created. The template interface created by the system background can be called according to the platform code corresponding to the selected platform.

[0089] (2) The platform configuration parameters are obtained according to the platform code corresponding to the platform to which the express electronic waybill belongs. The corresponding platform template list interface can be further called according to the platform code to obtain all platform template list data of the platform to which the express electronic waybill belongs.

[0090] (3) The process of initializing the express electronic waybill printing method includes:

[0091] According to the platform configuration parameters, the list of printing methods supported by the platform is looped through and displayed as single options, and the first printing method in the printing method list is set to the selected state by default and the printing method change monitoring is triggered.

[0092] Monitor changes in printing methods. When a printing method is selected, save the selected express electronic waybill printing method code.

[0093] Determine whether the original selection value of the printing method is empty; if it is empty, execute the platform express type list initialization operation; if it is not empty, continue to determine whether the current printing method selection value is the same as the original selection value, if the same, do not process it, if not the same, re-execute the platform express type list initialization operation.

[0094] The process of initializing the platform's electronic waybill courier type includes:

[0095] According to the platform configuration parameters, the list of courier types supported by the platform is looped through and displayed as single options, and the first courier type in the list is set to selected state by default and the courier type change monitoring is triggered.

[0096] Monitor whether the platform's electronic waybill courier type has changed. When the platform courier type is selected, save the selected platform courier type code.

[0097] Determine whether the original selection value of the platform electronic waybill express type is empty; if it is empty, execute the platform express template list initialization operation; if it is not empty, continue to determine whether the current platform electronic waybill express type is the same as the original selection value, if they are the same, do not process it, if they are not the same, re-execute the platform express template list initialization operation.

[0098] (4) Determine the platform’s electronic waybill template based on the platform’s electronic waybill courier type.

[0099] Get the corresponding express template list data according to the platform electronic waybill express type.

[0100] Determine whether the express template list data is empty; if it is empty, directly execute the platform custom area template list initialization; if it is not empty, loop through the express template list data to display as a single option, and set the first express template to the selected state by default and trigger the express template change monitoring.

[0101] Monitor changes in platform express templates. When a platform express template is selected, save the selected platform express template code.

[0102] Determine whether the original selection value of the platform express template is empty;

[0103] If the original selection value is empty, then determine whether the currently selected express template style image is empty. If the express template style image is empty, do not process it; if the express template style image is not empty, replace the express template style image displayed on the page. Then determine whether the currently selected express template file download link is empty. If the express template file download link is empty, do not process it; if the express template file download link is not empty, replace the express template file download link displayed on the page. Then continue to perform the subsequent platform custom area template list initialization operation.

[0104] If the original selection value is not empty, determine whether the current selection value of the platform express template is the same as the original selection value. If the selection values ​​are the same, do not process it. If the selection values ​​are different, continue to determine whether the currently selected express template style image is empty. If the express template style image is empty, do not process it. If the express template style image is not empty, replace the express template style image displayed on the page. Then determine whether the currently selected express template file download link is empty. If the express template file download link is empty, do not process it. If the express template file download link is not empty, replace the express template file download link displayed on the page. Re-execute the subsequent platform custom area template list initialization operation.

[0105] In one embodiment, the process of setting the system express template information further includes:

[0106] Determine the platform custom area template based on the platform express type code and platform express template code;

[0107] Template data other than the platform electronic waybill template and the platform custom area template is determined according to the platform express type code, the platform express template code and the platform custom area template code.

[0108] Specifically, according to the platform express type code and the platform express template code, the custom area template list data in the express template under the platform express type in the platform template list data is obtained.

[0109] Determine whether the custom area template list data is empty. If it is empty, directly execute the initialization operation of the template data other than the platform electronic waybill template and the platform custom area template; if it is not empty, loop through the custom area template list to display it as a single option, and set the first platform custom area template to the selected state by default and trigger the platform custom area template change monitoring.

[0110] Monitor whether the platform custom area template changes, and when the platform custom area template is selected, save the selected platform custom area template code.

[0111] Determine whether the original selection value of the platform custom area template is empty;

[0112] If the original selection value of the platform custom area template is empty, continue to determine whether the currently selected platform custom area template style image is empty. If it is empty, do not process it; if it is not empty, replace the custom area template style image displayed on the page. Continue to determine whether the currently selected platform custom area template file download link is empty. If it is empty, do not process it; if it is not empty, replace the custom area template file download link displayed on the page. Then perform other platform data initialization operations.

[0113] If the original selection value of the platform custom area template is not empty, determine whether the current selection value of the platform custom area template is the same as the original selection value. If they are the same, do not process them. If they are not the same, determine whether the currently selected platform custom area template style image is empty. If it is empty, do not process it. If it is not empty, replace the custom area template style image displayed on the page. Continue to determine whether the currently selected platform custom area template file download link is empty. If it is empty, do not process it. If it is not empty, replace the custom area template file download link displayed on the page. Then re-execute other platform data initialization operations.

[0114] The process of initializing template data other than the platform electronic bill template and the platform custom area template includes:

[0115] Get the platform express type code, platform express template code and platform custom area template code.

[0116] Determine whether the selected express template code is empty. If it is empty, do not process it. If it is not empty, take out the express template parameter list data of the express template under the platform express type in the returned platform template list data, loop through the express template parameter list data, and determine whether a single parameter is an optional list. If so, loop through the single parameter as an optional list to display it as a single option, and set the first value in the optional list to be selected by default. If not, set it to a fill-in item input box and display a prompt in the input box.

[0117] After selecting and filling in the template information in the system express template page according to the above operations, click OK. The system background will verify whether the parameters are required and whether the data is compliant. If the required items are not filled in or there are errors, a prompt will be displayed on the front end. After confirmation, call the system express template save interface to store the system express template information in the system express template table.

[0118] In one embodiment, the present application also discloses a setting process of system express delivery, which is as follows:

[0119] Open the express creation window on the system express settings page and create an express interface;

[0120] Obtain all system express template list data from the system express template table, and call the express interface to obtain all platform configuration parameters;

[0121] Selecting a system express template from the system express template list data, and saving a system express template code corresponding to the system express template;

[0122] Acquire system express template information from the system express template list data according to the system express template code;

[0123] Using the platform code and platform express type code in the system express template, obtain a platform express company list from the platform configuration parameters;

[0124] When it is detected that the selected platform express company exists in the platform express company list, the platform express company code corresponding to the selected platform express company is saved;

[0125] Initialize the platform express parameters according to the system express template code and the platform express company code;

[0126] After the platform express parameters are initialized, the filling operation of the system express in the system express setting page is completed, and the system express is stored in the system express table.

[0127] Specifically, (1) create a courier on the system courier settings page and call the system background to create a courier interface.

[0128] (2) Query the system express template table to obtain all system express template list data, and then call the express interface to obtain all platform configuration parameters. All the obtained platform configuration parameters can be returned to the system front desk.

[0129] (3) Initialize the system express template list

[0130] Determine whether the system express template list data is empty; if it is empty, pop up an error prompt directly and close the current system express creation window; if it is not empty, display the system express template list data through a drop-down box option, and set the first system express template to selected status by default and trigger the system express template change monitoring.

[0131] Monitor whether the system express template has changed. When it is detected that the system express template has been selected, save the selected system express template code.

[0132] Determine whether the original selection value of the selected system express template is empty; if it is empty, execute the platform express company list initialization operation; if it is not empty, determine whether the current selection value of the system express template is the same as the original selection value, if they are the same, do not process it; if they are not the same, re-execute the platform express company list initialization operation.

[0133] (4) Initialize the platform express company list

[0134] Get the system express template code, and from the platform configuration parameters returned by the interface, extract the available platform express company list data through the platform code and platform express type code in the system express template, and determine whether the platform express company list data is empty. If it is empty, an error prompt will be popped up directly, and the current system express creation window will be closed; if it is not empty, the platform express company list data will be displayed through a drop-down box option, and the first platform express company will be set to selected status by default, and the system platform express company change monitoring will be triggered.

[0135] Monitor whether the platform express company has changed. When it is detected that the platform express company has been selected, save the selected platform express company code.

[0136] Determine whether the original selection value of the selected platform express company is empty. If it is empty, perform the platform express parameter initialization operation. If it is not empty, determine whether the current selection value of the selected platform express company is the same as the original selection value. If they are the same, do not process it. If they are not the same, re-execute the platform express parameter initialization operation.

[0137] (5) Initializing the platform express parameters according to the system express template code and the platform express company code.

[0138] (6) After the platform express parameters are initialized, complete the filling operation of the system express in the system express setting page (that is, select the set to complete the system express data in the system express setting page), click OK, the system background will verify whether the parameters are required and whether the data is compliant. If the required items are not filled in or there are errors, the front-end will prompt. After confirmation, call the system express save interface to store the system express data in the system express table.

[0139] In one embodiment, the platform express parameters are initialized according to the system express template code and the platform express company code, including:

[0140] When the system express template code and the platform express company code are not empty, the platform express type code of the platform code set in the system express template is used to obtain the platform express company list from the platform configuration parameters;

[0141] Obtaining a list of platform courier company parameters from the platform configuration parameters using the platform courier company code;

[0142] Loop through the platform express company parameter list to determine whether a single parameter is an optional list;

[0143] If yes, the single parameter is displayed as a single option, and the first value in the list of optional items is set to be selected by default;

[0144] If not, set the optional list to a fill-in input box and display a prompt in the input box.

[0145] Specifically, the process of initializing the platform express parameters according to the system express template code and the platform express company code is as follows:

[0146] Get the selected system express template code and platform express company code;

[0147] Determine whether the selected system express template code and platform express company code are empty. If so, do not process them. If not, extract the available platform express company list data from the platform configuration parameters returned by the interface through the platform code and platform express type code in the system express template. Take out the platform express company parameter list data through the platform express company code, loop through the platform express company parameter list data, and determine whether a single parameter is an optional list. If so, loop through the single parameter as an optional list to display it as a single option, and set the first value in the optional list to be selected by default. If not, set it to a fill-in item input box and display a prompt in the input box.

[0148] In one embodiment, step S104 may specifically include:

[0149] Assembling the express order information, the system express and the system express template information into platform interface calling parameters;

[0150] Using the platform interface call parameters, obtain the current platform electronic waybill number from the platform to which the express electronic waybill belongs;

[0151] Determine whether the current platform electronic waybill number is consistent with the historical platform electronic waybill number of the platform order;

[0152] If they are inconsistent, the current platform electronic waybill number is determined as the platform electronic waybill number of the express order information;

[0153] If they are consistent, call the platform interface to cancel the current platform electronic waybill number and re-acquire the platform electronic waybill number.

[0154] Specifically, (1) obtain the system order list data, loop through the system order list data, extract the order platform code in each system order data, use the preset platform configuration parameter method to obtain the corresponding platform configuration parameter according to the order platform code, obtain the express template printing method list data available for selection for the order platform from the platform configuration parameter, query the system express template table with the condition that the printing method of the system express template is included in the express template printing method list data of the order platform, obtain the printing template list data available for the order, query the system express table with the condition that the printing template code of the system express is included in the printing template list data available for the order, finally obtain the system express list data available for the order, and return all the data to the system front desk.

[0155] (2) The list of system couriers available for each order is displayed in each system order line through a drop-down box, and the first system courier is set to selected by default and the system courier change monitoring is triggered to monitor whether the system courier has changed. When the system courier is selected, the system courier code will be saved in the system order table.

[0156] (3) Select all system orders that need to be numbered. When obtaining the electronic waybill number, determine whether each selected order has a system express code. If not, output an error prompt and select system express. If so, call the system background electronic waybill number collection interface and pass in the system order code.

[0157] (4) Extract the system order data and system order product data through the incoming system order number, extract the system express through the system express code in the system order data, and extract the system express template information through the system express template code in the system express data. Use the platform configuration parameter method to pass in the platform code in the system express template information, obtain the platform configuration parameters, determine the platform code in the system express template information, call the custom method of the platform in the system to obtain the platform electronic waybill number, and pass in the system order data, system order product data, system express data, system express template information, and platform configuration parameters.

[0158] (5) Assemble the express order information, system express and system express template information according to the data format required by the platform electronic waybill number collection interface to obtain the platform interface call parameters, and use the platform interface call parameters to call the platform electronic waybill number collection interface to obtain the platform electronic waybill number.

[0159] Determine whether there is a platform electronic bill of lading number in the data returned by the platform. If not, directly output an error prompt message at the system foreground. If yes, determine whether the current platform electronic bill of lading number returned by the platform interface is consistent with the historical platform electronic bill of lading number of the platform order. If they are inconsistent, output the platform electronic bill of lading number returned by the platform, and determine the platform electronic bill of lading number as the platform order number of the express order information. If they are consistent, it means that the current platform electronic bill of lading number and other data returned by the platform interface are historical electronic bill of lading data, and it is necessary to call the platform interface to cancel the historical platform electronic bill of lading number, and then call the platform interface again to obtain the platform electronic bill of lading number again.

[0160] (6) The platform electronic waybill number and platform courier company code returned by the electronic waybill number retrieval interface are stored in the system database order.

[0161] In one embodiment, the method for generating an express electronic waybill further includes:

[0162] Print the electronic express delivery bill at the system front desk.

[0163] The printing process of the express electronic waybill is as follows:

[0164] (1) Obtain the system order list data and return the system order list data to the system front end.

[0165] (2) Select all the express electronic waybills that need to be printed. When printing the express electronic waybills, determine whether each express electronic waybill has a platform electronic waybill number. If not, state the error and obtain the platform electronic waybill number. If yes, call the system background to obtain the electronic waybill data interface and pass in the system order code.

[0166] (3) In the interface for obtaining electronic waybill data, the system order data is extracted through the passed-in system order number, the system express is extracted through the system express code in the system order data, and the system express template information is extracted through the system express template code in the system express. It is determined whether there is platform electronic waybill data in the order data. If so, the parameters are directly assembled; if not, the custom method for obtaining electronic waybill data from the system platform is called according to the platform code in the system express template information, and the system order data, system express data, and system express template information are passed in.

[0167] (4) Assemble all data according to the data format required by the platform's electronic waybill data interface, then call the platform's electronic waybill data interface to determine whether the returned data contains electronic waybill data. If not, directly output an error message; if so, store the platform's electronic waybill data returned by the platform's electronic waybill data interface into the system database order table.

[0168] (5) Determine the printing method code in the system express template information, combine the platform electronic waybill data, system order data, system express data, and system express template information according to the data format specified by different printing methods, and return them to the system front desk, such as printer configuration parameter data and electronic waybill data.

[0169] (6) Determine the printing method code in the system express template information, and call the local printing component corresponding to the printing method for initialization according to different printing methods.

[0170] (7) The local printing component initialization process includes:

[0171] Connect the system to the printing component. If the printing component fails to connect, an error prompt will pop up directly so that the user can handle it in time, such as downloading the printing component, opening the printing component, etc. If the printing component is connected successfully, get the list of connected printers in the computer settings. If the printer list is empty, an error prompt will pop up directly to guide the user to connect the printer. If the printer list is not empty, the printer list will be displayed directly in the foreground through a drop-down box, and the first printer will be set to selected by default and printer change monitoring will be triggered to monitor whether the printer changes. When the printer is selected, the selected printer code is saved.

[0172] (8) Printing of electronic express delivery bills (i.e., platform electronic delivery bills)

[0173] Trigger the print button to print the electronic express delivery bill and obtain the selected printer code.

[0174] Determine whether the local printing component corresponding to the printing method code in the system express template information is connected normally. If the connection is abnormal, re-execute the local printing component initialization.

[0175] Determine whether the selected printer code is empty. If it is empty, prompt to select a printer.

[0176] Set printer parameters, such as electronic form width / height, printing direction, etc., and input the selected printer code and printer configuration parameter data returned by the interface.

[0177] According to the printing method code in the system express template information, call the corresponding printing component printing method, pass in the electronic waybill data returned by the interface, and print the express electronic waybill.

[0178] In summary, the present invention can unify the management and operation of electronic waybill templates, electronic waybill number collection, and electronic waybill acquisition / preview / printing of multiple express service platforms and multiple e-commerce platforms. It only needs to set the template and express information to automatically match the express for the order according to different express matching rules. Combined with automated tasks, the entire electronic waybill number collection and printing process for orders from different e-commerce platforms can be fully automated.

[0179] Corresponding to the above method embodiment, the present invention also discloses a system for generating an express electronic waybill.

[0180] See also Figure 2 , a schematic diagram of the structure of a system for generating an express electronic waybill disclosed in an embodiment of the present invention, the system comprising:

[0181] The order information acquisition unit 201 is used to acquire express order information, which is issued by an express service platform or an e-commerce platform.

[0182] The express order information is issued by an express service platform (such as Express 100) or an e-commerce platform (such as Taobao).

[0183] In actual application, when there is an order on the express service platform or e-commerce platform, the express service platform or e-commerce platform will send the express order information corresponding to the order to the system background used by this application to realize the generation of express electronic waybills.

[0184] The allocating unit 202 is used to allocate system express to the express order information.

[0185] When the system background of the express electronic waybill implemented in this application obtains the express order information, a system courier can be assigned to the express order. The system courier is not a platform courier, but is created in the system background of this application.

[0186] The template information acquisition unit 203 is used to acquire the corresponding system express template information according to the system express, and the system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template.

[0187] The system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template.

[0188] In actual applications, the platform's electronic waybill template can be personalized with parameter configurations based on business needs.

[0189] In one embodiment, the platform code of the express service platform or e-commerce platform is selected in the system background of the present application to create a system express template, and the corresponding platform electronic waybill template list interface is called according to the selected platform code to obtain the platform electronic waybill template list, and then a platform express type and a platform express template are selected through the system page, and the system express template is bound to the platform electronic waybill template one by one. The system express template number can be used to query the system express template information to determine the platform to which the express electronic waybill belongs, the express electronic waybill printing method, the platform electronic waybill express type and the platform electronic waybill template.

[0190] The order number acquisition unit 204 is used to assemble the express order information, the system express and the system express template information into platform interface calling parameters, and use the platform interface calling parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs.

[0191] Among them, after obtaining the platform electronic waybill number, the platform electronic waybill number can be stored in the order table.

[0192] The waybill template data acquisition unit 205 is used to assemble the platform electronic waybill number, the system express and the system express template information into platform electronic waybill calling parameters when receiving an express printing instruction, and use the platform electronic waybill calling parameters to obtain the platform electronic waybill template data from the platform.

[0193] When the platform's order needs to print an express electronic waybill in the system background of this application, the system express template information can also be found through the system express assigned to the order information, so as to determine the platform to which the order belongs and the platform electronic waybill template used on the platform based on the system express module information.

[0194] When receiving an express printing instruction, this application assembles the platform electronic waybill number, system express and system express template information into platform electronic waybill calling parameters, and then uses the platform electronic waybill calling parameters to call the platform electronic waybill interface to obtain the platform electronic waybill template data, and the platform electronic waybill template data can be stored in the order table.

[0195] The electronic waybill generating unit 206 is used to assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

[0196] In summary, the present invention discloses a system for generating an express electronic waybill, obtains express order information issued by an express service platform or an e-commerce platform, allocates system express to the express order information, obtains corresponding system express template information according to the system express, assembles the express order information, system express and system express template information into platform interface call parameters, so as to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs, and when receiving an express printing instruction, assembles the platform electronic waybill number, system express and system express template information into platform electronic waybill call parameters, so as to obtain the platform electronic waybill template data from the platform, assembles the platform electronic waybill number and the platform electronic waybill template data, and generates an express electronic waybill. The present application can manage and operate the platform electronic waybill templates and electronic waybill numbering of multiple express service platforms and e-commerce platforms in a unified manner, so that when merchants need to ship goods on multiple e-commerce platforms and / or multiple express service platforms, they do not need to go to different platforms to operate, thereby greatly saving manpower and time, and effectively avoiding the occurrence of order errors and omissions.

[0197] In addition, when the e-commerce platform does not limit the electronic waybill platform, different express service platforms can also be used for express delivery to reduce costs. Batch printing / automatic printing can also be combined to handle large-volume order shipments.

[0198] In one embodiment, the system for generating an express electronic waybill may further include:

[0199] The express template setting unit is used to set the system express template information.

[0200] The Express Template Settings unit can also be used to:

[0201] Display all platform list data on the system template settings page;

[0202] Determine to select the platform to which the express electronic waybill belongs from the platform list data, and create the corresponding system express template;

[0203] Obtain platform configuration parameters according to the platform code corresponding to the platform to which the express electronic waybill belongs;

[0204] Initialize the express electronic waybill printing method and the platform electronic waybill express type according to the platform configuration parameters;

[0205] Determine the platform electronic waybill template according to the platform electronic waybill courier type;

[0206] The system express template, the platform to which the express electronic waybill belongs, the printing method of the express electronic waybill, the express type of the platform electronic waybill and the platform electronic waybill template are stored as the system express template information.

[0207] The Express Template Settings unit can also be used to:

[0208] Determine the platform custom area template based on the platform express type code and platform express template code;

[0209] Template data other than the platform electronic waybill template and the platform custom area template is determined according to the platform express type code, the platform express template code and the platform custom area template code.

[0210] In one embodiment, the system for generating an express electronic waybill may further include:

[0211] System express setting unit, used to set system express.

[0212] The system express setup unit can also be used to:

[0213] Open the express creation window on the system express settings page and create an express interface;

[0214] Obtain all system express template list data from the system express template table, and call the express interface to obtain all platform configuration parameters;

[0215] Selecting a system express template from the system express template list data, and saving a system express template code corresponding to the system express template;

[0216] Acquire system express template information from the system express template list data according to the system express template code;

[0217] Using the platform code and platform express type code in the system express template, obtain a platform express company list from the platform configuration parameters;

[0218] When it is detected that the selected platform express company exists in the platform express company list, the platform express company code corresponding to the selected platform express company is saved;

[0219] Initialize the platform express parameters according to the system express template code and the platform express company code;

[0220] After the platform express parameters are initialized, the filling operation of the system express in the system express setting page is completed, and the system express is stored in the system express table.

[0221] The system express setup unit can also be used to:

[0222] When the system express template code and the platform express company code are not empty, the platform express type code of the platform code set in the system express template is used to obtain the platform express company list from the platform configuration parameters;

[0223] Obtaining a list of platform courier company parameters from the platform configuration parameters using the platform courier company code;

[0224] Loop through the platform express company parameter list to determine whether a single parameter is an optional list;

[0225] If yes, the single parameter is displayed as a single option, and the first value in the list of optional items is set to be selected by default;

[0226] If not, set the optional list to a fill-in input box and display a prompt in the input box.

[0227] In one embodiment, the order number obtaining unit 204 may also be used to:

[0228] Assembling the express order information, the system express and the system express template information into platform interface calling parameters;

[0229] Using the platform interface call parameters, obtain the current platform electronic waybill number from the platform to which the express electronic waybill belongs;

[0230] Determine whether the current platform electronic waybill number is consistent with the historical platform electronic waybill number of the platform order;

[0231] If they are inconsistent, the current platform electronic waybill number is determined as the platform electronic waybill number of the express order information;

[0232] If they are consistent, call the platform interface to cancel the current platform electronic waybill number and re-acquire the platform electronic waybill number.

[0233] In one embodiment, the system for generating an express electronic waybill may further include:

[0234] The printing unit is used to print the express electronic waybill at the system front desk.

[0235] It should be noted that for the specific working principles of each component in the system embodiment, please refer to the corresponding part of the method embodiment, which will not be repeated here.

[0236] Corresponding to the above-mentioned embodiments, the present invention further discloses a computer storage medium, which stores at least one instruction, and when the at least one instruction is executed by a processor, the steps shown in the embodiment of the method for generating an express electronic waybill are implemented.

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

[0238] Corresponding to the above embodiment, Figure 3 As shown, the present invention also provides an electronic device, which may include: a processor 1 and a memory 2;

[0239] The processor 1 and the memory 2 communicate with each other via a communication bus 3;

[0240] Processor 1, configured to execute at least one instruction;

[0241] Memory 2, used to store at least one instruction;

[0242] The processor 1 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0243] The memory 2 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0244] Among them, the processor executes at least one instruction to implement the steps shown in the embodiment of the method for generating an express electronic waybill.

[0245] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0246] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0247] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for generating an express electronic waybill, characterized in that: include: Obtaining express order information, where the express order information is issued by an express service platform or an e-commerce platform; Allocating a system courier for the courier order information; Obtain corresponding system express template information according to the system express, wherein the system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template; Assembling the express order information, the system express and the system express template information into platform interface call parameters, and using the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs; When receiving an express printing instruction, assembling the platform electronic waybill number, the system express and the system express template information into a platform electronic waybill calling parameter, and using the platform electronic waybill calling parameter to obtain the platform electronic waybill template data from the platform; Assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

2. The generation method according to claim 1, characterized in that: The process of setting the system express template information includes: Display all platform list data on the system template settings page; Determine to select the platform to which the express electronic waybill belongs from the platform list data, and create the corresponding system express template; Obtain platform configuration parameters according to the platform code corresponding to the platform to which the express electronic waybill belongs; Initialize the express electronic waybill printing method and the platform electronic waybill express type according to the platform configuration parameters; Determine the platform electronic waybill template according to the platform electronic waybill courier type; The system express template, the platform to which the express electronic waybill belongs, the printing method of the express electronic waybill, the express type of the platform electronic waybill and the platform electronic waybill template are stored as the system express template information.

3. The generation method according to claim 2, characterized in that: The process of setting the system express template information also includes: Determine the platform custom area template based on the platform express type code and platform express template code; Template data other than the platform electronic waybill template and the platform custom area template is determined according to the platform express type code, the platform express template code and the platform custom area template code.

4. The generation method according to claim 1, characterized in that: The setup process of the system express includes: Open the express creation window on the system express settings page and create an express interface; Obtain all system express template list data from the system express template table, and call the express interface to obtain all platform configuration parameters; Selecting a system express template from the system express template list data, and saving a system express template code corresponding to the system express template; Acquire system express template information from the system express template list data according to the system express template code; Using the platform code and platform express type code in the system express template, obtain a platform express company list from the platform configuration parameters; When it is detected that the selected platform express company exists in the platform express company list, the platform express company code corresponding to the selected platform express company is saved; Initialize the platform express parameters according to the system express template code and the platform express company code; After the platform express parameters are initialized, the filling operation of the system express in the system express setting page is completed, and the system express is stored in the system express table.

5. The generation method according to claim 4, characterized in that: Initializing the platform express parameters according to the system express template code and the platform express company code includes: When the system express template code and the platform express company code are not empty, the platform express type code of the platform code set in the system express template is used to obtain the platform express company list from the platform configuration parameters; Obtaining a list of platform courier company parameters from the platform configuration parameters using the platform courier company code; Loop through the platform express company parameter list to determine whether a single parameter is an optional list; If yes, the single parameter is displayed as a single option, and the first value in the list of optional items is set to be selected by default; If not, set the optional list to a fill-in input box and display a prompt in the input box.

6. The generation method according to any one of claims 1 to 5, characterized in that: The step of assembling the express order information, the system express and the system express template information into platform interface call parameters, and using the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs, includes: Assembling the express order information, the system express and the system express template information into platform interface calling parameters; Using the platform interface call parameters, obtain the current platform electronic waybill number from the platform to which the express electronic waybill belongs; Determine whether the current platform electronic waybill number is consistent with the historical platform electronic waybill number of the platform order; If they are inconsistent, the current platform electronic waybill number is determined as the platform electronic waybill number of the express order information; If they are consistent, call the platform interface to cancel the current platform electronic waybill number and re-acquire the platform electronic waybill number.

7. The generation method according to claim 1, characterized in that: Also includes: Print the electronic express delivery bill at the system front desk.

8. A system for generating an express electronic waybill, characterized in that: include: An order information acquisition unit, used to acquire express order information, wherein the express order information is issued by an express service platform or an e-commerce platform; An allocating unit, used for allocating system express delivery to the express delivery order information; A template information acquisition unit, used for acquiring corresponding system express template information according to the system express, wherein the system express template information includes: system express template, express electronic waybill platform, express electronic waybill printing method, platform electronic waybill express type and platform electronic waybill template; A tracking number acquisition unit, used to assemble the express order information, the system express and the system express template information into platform interface call parameters, and use the platform interface call parameters to obtain the platform electronic waybill number from the platform to which the express electronic waybill belongs; A waybill template data acquisition unit, for assembling the platform electronic waybill number, the system express and the system express template information into platform electronic waybill call parameters when receiving an express printing instruction, and using the platform electronic waybill call parameters to acquire the platform electronic waybill template data from the platform; The electronic waybill generating unit is used to assemble the platform electronic waybill number and the platform electronic waybill template data to generate an express electronic waybill.

9. A computer storage medium, characterized in that The computer storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, it implements the method for generating an express electronic waybill as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: The electronic device comprises: a memory and a processor; The memory is used to store at least one instruction; The processor is used to execute the at least one instruction to implement the method for generating an express electronic waybill as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Express bill printing method and system, equipment and storage medium

    CN113031886A

  • Intelligent printing method and system for electronic express sheet

    CN114168090A