Delivery information return method, device, equipment and medium
By matching and correcting the package information returned from the warehouse management system in the order management system, the corresponding shipping information for e-commerce platform orders is generated. This solves the problems of inaccurate and complex warehouse shipping information, achieves accurate shipping information return, and reduces maintenance costs.
Patent Information
- Application Number
- CN202511666298.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-13
- Publication Date
- 2026-02-06
AI Technical Summary
In existing technologies, when warehouse shipping information is sent back to the order management system (OMS), the information is inaccurate and complex, leading to errors in the processing of shipping information on e-commerce platforms and high maintenance costs.
By matching and correcting the package information returned from the warehouse management system in the order management system, the corresponding shipping information for e-commerce platform orders is generated, including matching package details and correcting product quantities. A unified logic is used to handle the interface requirements of different e-commerce platforms.
It reduces the information processing complexity of the order management system, avoids errors in the return of shipping information, and reduces maintenance costs.
Smart Images

Figure CN121481674A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of platform information processing, and in particular relates to a delivery information feedback method and device, equipment and a medium. BACKGROUND
[0002] After the warehouse finishes delivery, the package information of the delivery is fed back to the OMS (i.e. order management system), the OMS informs the e-commerce platform corresponding to the order of the information, and then the e-commerce platform updates the order status to "seller has delivered", and the buyer can also see the delivery information and logistics track of the purchased goods. However, the package information fed back by the warehouse to the OMS may not be accurate, and may be quite different from the product information of the order itself. The interface provided by each e-commerce platform for delivery feedback is different, and the OMS needs to process the package information fed back by the warehouse, and feed back to different e-commerce platforms, which has very high complexity and extremely high maintenance cost and is prone to errors.
[0003] Therefore, how to reduce the complexity of information processing of the order management system and avoid errors in the delivery information feedback platform is a technical problem to be solved at present. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a delivery information feedback method, device, equipment and medium, which can reduce the complexity of information processing of the order management system and avoid errors in the delivery information feedback platform. The specific scheme is as follows:
[0005] In a first aspect, the present application provides a delivery information feedback method, comprising:
[0006] obtaining package information fed back by a warehouse management system, wherein the package information is obtained after delivery processing based on a management order, and the management order is an order generated and pushed to the warehouse management system by an order management system based on an e-commerce platform order;
[0007] matching order information in the management order with the package information, and correcting the package information based on the order information in the case of inconsistent target information items to obtain a matching processing result;
[0008] generating delivery information corresponding to the e-commerce platform order based on the matching processing result;
[0009] feeding back the delivery information to a target e-commerce platform corresponding to the e-commerce platform order.
[0010] Optionally, matching order information in the management order with the package information, and correcting the package information based on the order information in the case of inconsistent target information items to obtain a matching processing result, comprises:
[0011] If the package information is information corresponding to one package, and there is no package detail in the package information, generating a package detail of the package based on the order information, if the package information contains a package detail, matching the order information and the package detail according to the management system sub-single identification, and correcting the number of goods in the package detail based on the order information in the case of inconsistency of the number of goods corresponding to the same management system sub-single identification, to obtain a matching processing result; wherein the package detail includes a management system sub-single identification and a number of goods;
[0012] If the package information is information corresponding to multiple packages, and there is a package detail in each of the multiple packages, counting the number of goods corresponding to the same management system sub-single identification in the package information, matching the package information and the order information according to the management system sub-single identification, and correcting the number of goods in the package detail based on the order information in the case of inconsistency of the number of goods corresponding to the same management system sub-single identification, to obtain a matching processing result.
[0013] Optionally, it further comprises:
[0014] If the package information is information corresponding to multiple packages, and there is no package detail in any of the multiple packages, determining that the return mode corresponding to the management order is not to refer to the package detail, otherwise, to refer to the package detail.
[0015] Optionally, generating the delivery information corresponding to the e-commerce platform order based on the matching processing result, comprising:
[0016] If the return type corresponding to the target e-commerce platform is platform order return, and the return mode corresponding to the management order is not to refer to the package detail, determining the e-commerce platform order corresponding to the management order, and generating the delivery information corresponding to the e-commerce platform order based on all the packages in the matching processing result; wherein the platform order return is a mode of returning the platform order number and the express number corresponding to the package.
[0017] Optionally, generating the delivery information corresponding to the e-commerce platform order based on the matching processing result, comprising:
[0018] If the return type corresponding to the target e-commerce platform is platform sub-single return, and the return mode corresponding to the management order is not to refer to the package detail, assigning the packages in the matching processing result to the platform sub-single corresponding to the e-commerce platform order based on a preset allocation algorithm, and generating the delivery information corresponding to the e-commerce platform order based on the assigned packages, wherein the platform sub-single return is a mode of returning the express number and the number of goods corresponding to the package of each platform sub-single.
[0019] Optionally, the delivery information corresponding to the e-commerce platform order is generated based on the matching processing result, and the delivery information corresponding to the e-commerce platform order is generated based on the matching processing result.
[0020] If the return type corresponding to the target e-commerce platform is platform order return, and the return mode corresponding to the management order is reference package details, the platform suborder is matched according to the management system suborder identifier in the package details, the e-commerce platform order is found based on the matched platform suborder, the e-commerce platform order corresponding to the package is obtained, the delivery information corresponding to the e-commerce platform order is generated, and for the package that does not find the e-commerce platform order and the e-commerce platform order that does not match the package, the package that does not find the e-commerce platform order is assigned to the e-commerce platform order that does not match the package according to a preset matching algorithm, and the delivery information corresponding to the e-commerce platform order is generated; wherein the platform order return is a return mode of returning the platform order number and the express number corresponding to the package.
[0021] Optionally, the delivery information corresponding to the e-commerce platform order is generated based on the matching processing result, and the delivery information corresponding to the e-commerce platform order is generated based on the matching processing result.
[0022] If the return type corresponding to the target e-commerce platform is platform suborder return, and the return mode corresponding to the management order is reference package details, the platform suborder is matched according to the management system suborder identifier in the package details to associate the corresponding package in the platform suborder, and the number of goods in the package details of the associated package is corrected based on the number of goods in the platform suborder in the case that the number of goods in the platform suborder is inconsistent with the number of goods in the management system suborder, and the delivery information corresponding to the e-commerce platform order is generated based on the package associated with the platform suborder; wherein the platform suborder return is a mode of returning the express number and the number of goods corresponding to the package of each platform suborder.
[0023] In a second aspect, the present application provides a delivery information return device, comprising:
[0024] A package information acquisition module is configured to acquire package information returned by a warehouse management system, wherein the package information is obtained after delivery processing based on a management order, and the management order is an order generated and pushed to the warehouse management system by an order management system based on an e-commerce platform order.
[0025] A package information matching module is configured to match order information in the management order and the package information, and correct the package information based on the order information in the case that the target information items are inconsistent, to obtain a matching processing result.
[0026] A delivery information generation module is configured to generate delivery information corresponding to the e-commerce platform order based on the matching processing result.
[0027] The delivery information feedback module is configured to feed back the delivery information to a target e-commerce platform corresponding to the e-commerce platform order.
[0028] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein:
[0029] The memory is configured to store a computer program.
[0030] The processor is configured to execute the computer program to implement the delivery information feedback method.
[0031] In a fourth aspect, the present application provides a computer readable storage medium configured to store a computer program, wherein the computer program is executed by a processor to implement the delivery information feedback method.
[0032] In a fifth aspect, the present application provides a computer program product comprising computer programs / instructions, which are executed by a processor to implement the steps of the delivery information feedback method.
[0033] According to the above scheme, the present application provides a delivery information feedback method, comprising: obtaining package information fed back by a warehouse management system, wherein the package information is information obtained after a management order is processed for delivery, and the management order is an order generated and pushed to the warehouse management system by an order management system based on an e-commerce platform order; matching order information in the management order and the package information, and correcting the package information based on the order information in the case of inconsistent target information items to obtain a matching processing result; generating delivery information corresponding to the e-commerce platform order based on the matching processing result; and feeding back the delivery information to a target e-commerce platform corresponding to the e-commerce platform order.
[0034] It can be seen that the present application has the following beneficial effects: when feeding back delivery information, the package information fed back by the warehouse management system is first matched based on the management order of the order management system, and in the case of inconsistent target information items, the package information is corrected based on the order information of the management order, and after matching and correction, the delivery information corresponding to the e-commerce platform order is generated, and the delivery information is fed back to the target e-commerce platform corresponding to the e-commerce platform order. In this way, the package information can be matched and corrected through unified logic, and the delivery information corresponding to the platform order can be generated, and then fed back to the target e-commerce platform, which can reduce the complexity of information processing of the order management system and avoid errors in the delivery information of the feedback platform.
[0035] Correspondingly, the delivery information feedback device, equipment, readable storage medium and product provided by the present application also have the above technical effects. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description only constitute a part of the embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of the provided drawings.
[0037] Figure 1 A delivery information feedback method flow chart is provided for the embodiments of the present application.
[0038] Figure 2 A delivery feedback schematic diagram is provided for the embodiments of the present application.
[0039] Figure 3 A delivery information feedback method schematic diagram is provided for the embodiments of the present application.
[0040] Figure 4 A package information schematic diagram is provided for the embodiments of the present application.
[0041] Figure 5 An order information schematic diagram is provided for the embodiments of the present application.
[0042] Figure 6 A matching processing result schematic diagram is provided for the embodiments of the present application.
[0043] Figure 7 An order matching schematic diagram is provided for the embodiments of the present application.
[0044] Figure 8 A delivery information feedback device structure schematic diagram is provided for the embodiments of the present application.
[0045] Figure 9 An electronic device structure diagram is provided for the embodiments of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described clearly and completely in the following with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only constitute a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0047] First, the terms involved in the present application are explained:
[0048] Oms, order management system, is responsible for pulling orders from the platform, pushing warehouse delivery, receiving warehouse delivery information, managing inventory and feedback platform, etc.
[0049] Wms means the wms system used by the warehouse, the warehouse management system, responsible for managing the goods in the warehouse, including inventory, order delivery and other functions.
[0050] Oms order means the order generated by the oms system, here specifically refers to the sales order, in order to process uniformity, the platform order will be converted into an oms order after downloading for processing, and the main interface of the oms system and the warehouse is the oms order.
[0051] E-commerce platform order means the sales order of each platform, which is pulled to the oms system through authorization from the platform.
[0052] Delivery feedback means the behavior of the oms system returning the delivery information of the order, such as the express order number, express company and corresponding commodity information, to the e-commerce platform.
[0053] Virtual goods means goods without physical objects, such as e-commerce platform recharge.
[0054] Package information means the information transmitted to the oms after the warehouse packages the goods and sends them to the express company, which includes the express company, express order number and package detail information. Package details refer to the information of which goods are included in the package and how many corresponding quantities.
[0055] After the warehouse sends out the goods, it will return the package information including the express order number, express company and corresponding commodity information to the oms, and the oms will inform the e-commerce platform such as Taobao, Jingdong, Pinduoduo, Douzheng and Kuai Shou of the information, and then the e-commerce platform will update the order status to seller shipped, and the buyer can also see the delivery information and logistics track of the goods purchased. The delivery information sent by the warehouse to the oms may not be accurate, and may be very different from the commodity information of the order itself. The interface provided by each e-commerce platform for delivery feedback is also different, which may be as simple as an order number and an express order number, or as complex as an order number, sub-order number and corresponding express company, express order number, partial delivery, etc. The oms needs to process the delivery information sent by the warehouse, and return it to different e-commerce platforms, which has very high complexity and very high maintenance cost and is prone to errors.
[0056] After the OMS pushes the order to the warehouse, the warehouse ships the goods according to the order information and returns the shipping information to the OMS. In this process, different WMS systems used by the warehouse will have different results. Some are strictly based on order information, some miss some sub-order information, and some packages have no detailed information. After the OMS receives the package information from the warehouse, it is saved to the system, and then the package information is packaged according to the requirements of the e-commerce platform and returned to the e-commerce platform according to the platform to which the order belongs. If the return fails, the order on the e-commerce platform cannot display that the merchant has shipped, which usually affects the consumer's after-sales process. The usual shipping return is processed according to the platform dimension. Each platform writes a set of logic, and then the inconsistent warehouse package information needs to be processed specifically, which leads to the complexity of the code being the product of the number N of e-commerce platforms and the number M of types of WMS used by the warehouse. If the WMS used by the warehouse changes or the e-commerce platform interface changes, the overall change is very large. In the OMS system, the logic of the shipping return has always been the most complex, the most difficult to maintain, and the most prone to errors.
[0057] In the existing technology, both the warehouse WMS system and the e-commerce platform dominate the complexity of the shipping return. When processing their own business, neither of them considers the other. Large warehouse WMS systems are rigorous and have few errors, small WMS systems are arbitrary and have many errors, and some special warehouses such as cross-border warehouses have special requirements. Similarly, e-commerce platforms such as Taobao, Jingdong, and Douyin have very detailed requirements. Each package contains which goods and how many. It is very difficult. Small ones generally only need a courier number and courier company information, and the interface is relatively low. Therefore, as the interface between the two parties, the OMS is easy to accumulate code with patches on the east and patches on the west.
[0058] The present application aims to solve this patchwork business processing method. From a macro perspective, the entire shipping return business is structured into four steps, including order verification, package processing and order matching, e-commerce platform interface calling, and data updating. The general package processing uses a general algorithm to process various warehouse return information, which eliminates the uncertainty of the warehouse end. This part of the logic is not universal. The e-commerce platform interface calling includes the unique logic of each platform, which cannot be avoided. The last part is data updating, which is general and unrelated to the e-commerce platform. Therefore, only the platform-related part needs to be maintained and modified in the end, which greatly reduces the maintenance cost and complexity.
[0059] Referring to Figure 1 The embodiment of the present application discloses a shipping information return method, comprising:
[0060] Step S11: obtaining package information returned by the warehouse management system, wherein the package information is information obtained after a delivery process based on a management order, and the management order is an order generated and pushed to the warehouse management system by the order management system based on an e-commerce platform order.
[0061] In the embodiment of the application, the package information corresponding to the management order returned by the warehouse management system is obtained. The package information corresponding to one management order can be the information of one package or the information of multiple packages. One management order can correspond to one or more e-commerce platform orders. One management order can include multiple management system suborders. One e-commerce platform order can include multiple platform suborders. The scheme of the application can be applied to the order management system and processed according to each management order. Referring to Figure 2 Figure 2 A delivery return schematic diagram is provided in the embodiment of the application. The order management system interfaces with the warehouse management system and the e-commerce platform.
[0062] The embodiment can also filter the management order. The target management order is not executed in step S11 and the subsequent steps. The target management order is the order corresponding to the virtual goods and the manually entered order. That is, the non-target management order executes step S11 and the subsequent steps.
[0063] The package information can include the package identifier and the package details corresponding to each package. One package can have one or more package details. The package details include the package detail identifier, the management system suborder identifier, and the number of goods. The package information can also include the express delivery number and the express company of each package.
[0064] Step S12: matching the order information in the management order and the package information, and correcting the package information based on the order information in the case of inconsistent target information items to obtain a matching processing result.
[0065] The target information item can be the number of goods. The order information of the management order can include the management system suborder identifier and the number of goods. Matching the order information in the management order and the package information can be matching according to the management system suborder identifier. The management system suborder identifier is the management system suborder number.
[0066] In addition, if the package information is the information corresponding to multiple packages, and any of the multiple packages does not have package details, it is determined that the return mode corresponding to the management order is not to refer to the package details, otherwise it is to refer to the package details. The return mode without referring to the package details is not to refer to the information in the package details, and the return mode with referring to the package details is to refer to the details in the package information.
[0067] In the embodiments of the present application, if the package information is information corresponding to one package, and there is no package detail in the package information, the package detail of the package is generated based on the order information; if the package information contains package details, the order information and the package details are matched according to the management system sub-single identification, and in the case that the number of goods corresponding to the same management system sub-single identification is inconsistent, the number of goods in the package details is corrected based on the order information to obtain a matching processing result; wherein the package details include the management system sub-single identification and the number of goods.
[0068] If there is only one package, after the matching processing, the return mode is determined as the reference package detail. If the package has no package detail, all the goods details of the management order are determined as the details of the package. That is, the management system sub-single identification and the number of goods in the management order are determined as the package details of the package, and a package detail identification can be generated for the package details. If the package has package details, the matching is performed according to the management system sub-single identification of both parties, and the target package detail is removed. The target package detail is the package detail corresponding to the management system sub-single identification that is not in the order information. If the same management system sub-single identification, the number of goods corresponding to the management system sub-single identification in the package details and the order information is inconsistent, the number of goods corresponding to the management system sub-single identification in the package details is corrected to the number of goods corresponding to the management system sub-single identification in the order information.
[0069] Further, if the package information is information corresponding to multiple packages, and the multiple packages all have package details, the number of goods corresponding to the same management system sub-single identification in the package information is counted, the package information and the order information are matched according to the management system sub-single identification, and in the case that the number of goods corresponding to the same management system sub-single identification is inconsistent, the number of goods in the package details is corrected based on the order information to obtain a matching processing result.
[0070] If there is more than one package, first check each package, if there is a package without package details, consider the entire matching result as not referencing package details, clear all package details in the package, and end the matching. Otherwise, match according to the following algorithm: group all package information according to the management system sub-single identifier, then find the corresponding management order for each management system sub-single identifier, and find the corresponding commodity quantity of the management system sub-single identifier. If the quantities are consistent, the matching is correct, and the next management system sub-single identifier is matched. If the quantities do not match, the quantity in the package details needs to be corrected. For a certain management system sub-single identifier, if the total quantity of the commodity quantity in all package details is less than the commodity quantity in the management order, select a package detail and add the insufficient quantity, for example, add the insufficient quantity in the first package detail. For a certain management system sub-single identifier, if the total quantity of the commodity quantity in all package details is greater than the commodity quantity in the management order, the commodity quantity in the package details is subtracted in order, and at most the quantity is 1. If all the commodity quantities in the package details are 1, but the total quantity is still greater than the commodity quantity in the management order, then the commodity in a certain package detail is removed, and the package detail with other commodities in the package is removed first. Process in turn until the total quantity of all package details is equal to the commodity quantity in the management order.
[0071] The matching processing result can include the correspondence between the management system sub-single identifier and the commodity quantity in the order information and the package, that is, the package identifier and the package details corresponding to the management system sub-single identifier and the commodity quantity. The package details include the package detail identifier, the management system sub-single identifier, and the commodity quantity, which is the corrected commodity quantity.
[0072] Step S13: generating the delivery information corresponding to the e-commerce platform order based on the matching processing result.
[0073] The embodiment of the present application matches the matching processing result with the e-commerce platform order to generate the delivery information corresponding to the e-commerce platform order. The matching result can be the association of the management order and the e-commerce platform order, the association of the e-commerce platform order and the package, and further, the association of the package and the e-commerce platform sub-single and the commodity quantity. The associated information is the delivery information.
[0074] If the target e-commerce platform corresponds to a back type of platform order back, and the management order corresponds to a back mode of not referencing package details, the e-commerce platform order corresponding to the management order is determined, and the delivery information corresponding to the e-commerce platform order is generated based on all the packages in the matching processing result; wherein the platform order back is a way of returning the platform order number and the corresponding express number of the package.
[0075] That is, for the case of not referring to the package details and returning the platform order, it is determined that the package corresponding to each e-commerce platform order associated with the management order is all the packages in the matching processing result. Assuming that there are two packages, package 1 and package 2, and the management order corresponds to two e-commerce platform orders ool and oo2 (the management order has been combined), it is considered that ool sends package 1 and package 2, and oo2 also sends package 1 and package 2, and the matching ends.
[0076] If the return type corresponding to the target e-commerce platform is platform sub-order return, and the return mode corresponding to the management order is not to refer to the package details, the package in the matching processing result is allocated to the platform sub-order corresponding to the e-commerce platform order based on a preset allocation algorithm, and the shipping information corresponding to the e-commerce platform order is generated based on the allocated package, wherein the platform sub-order return is a way of returning the express waybill number and the number of goods corresponding to each platform sub-order.
[0077] In the embodiments of the present application, for the case of not referring to the package details and returning the platform sub-order, since it is not known which platform sub-order goods are contained in the package, a preset allocation algorithm is used to allocate the platform sub-order to the corresponding package. The preset allocation algorithm is: if the number of packages corresponding to the management order is the same as the number of e-commerce platform orders, one e-commerce platform order is allocated one package, if the number of packages is greater than the number of e-commerce platform orders, one e-commerce platform order is allocated one package, and then one e-commerce platform order is selected to allocate all the remaining packages, such as the last e-commerce platform order. For example, there are four packages, pkg1-pkg4, and two corresponding platform orders ool and oo2, and the allocation result is that ool sends pkg1, oo2 sends pkg2, pkg3 and pkg4. If the number of packages is less than the number of e-commerce platform orders, first allocate one-to-one, and then select one package to allocate all the remaining e-commerce platform orders, such as the last allocated package corresponding to all the remaining e-commerce platform orders. The platform sub-order of the e-commerce platform order is allocated the package allocated by the e-commerce platform order, if the number of platform sub-orders is equal to the number of packages, one platform sub-order is allocated one package, if the number of packages is greater than the number of platform sub-orders, one platform sub-order is allocated one package, and then one platform sub-order is selected to allocate all the remaining packages, such as the last platform sub-order. If the number of packages is less than the number of e-commerce platform orders, first allocate one-to-one, and the remaining all platform sub-orders correspond to the last allocated package.
[0078] If the target e-commerce platform corresponds to a backhaul type of platform order backhaul, and the management order corresponds to a backhaul mode of reference package details, then the platform sub-order is matched according to the management system sub-order identifier in the package details, the e-commerce platform order is found based on the matched platform sub-order, the e-commerce platform order corresponding to the package is obtained, the delivery information corresponding to the e-commerce platform order is generated, and for the package that does not find the e-commerce platform order and the e-commerce platform order that does not match the package, the preset matching algorithm is used to allocate the package that does not find the e-commerce platform order to the e-commerce platform order that does not match the package, and the delivery information corresponding to the e-commerce platform order is generated; wherein the platform order backhaul is a way of backhauling platform order number and package corresponding express number.
[0079] In the embodiments of the present application, for the case of reference package details and platform order backhaul, only the corresponding platform sub-order is found according to the management system sub-order in the package details, and then the platform order is found according to the platform sub-order, so that the platform order information corresponding to the package can be obtained. Some management system sub-orders cannot find corresponding platform orders, so that some packages do not have corresponding platform order information, and some platform orders may also not have corresponding package information, so it is necessary to process these unmatched packages or unmatched platform orders. The preset matching algorithm is: if the number of remaining unmatched packages and unmatched platform orders is the same, then 1 to 1 allocation is performed. Because the package details do not know which platform sub-order corresponds to it, direct backhaul after allocation can be performed. If the number of remaining unmatched packages is greater than the number of unmatched platform orders, then after 1 to 1 allocation, a platform order is selected to allocate the remaining packages. If the number of remaining unmatched packages is less than the number of unmatched platform orders, then 1 to 1 allocation is performed first, a package is selected, and the remaining platform orders are allocated, such as the last package, and those platform orders that are more than the package are backhauled.
[0080] If the target e-commerce platform corresponds to a backhaul type of platform order backhaul, and the management order corresponds to a backhaul mode of reference package details, then the platform sub-order is matched according to the management system sub-order identifier in the package details to associate the corresponding package with the platform sub-order, in the case that the number of goods in the platform sub-order is inconsistent with the number of goods in the management system sub-order, the number of goods in the package details of the associated package is corrected based on the number of goods in the platform sub-order, and the delivery information corresponding to the e-commerce platform order is generated based on the package associated with the platform sub-order; wherein the platform sub-order backhaul is a way of backhauling the express number and the number of goods corresponding to the package of each platform sub-order.
[0081] In this embodiment, for cases where reference package details are returned according to platform sub-orders, all package details must have corresponding platform sub-orders, and for a certain product, the total product quantity must equal the product quantity sold in the platform sub-order, neither exceeding nor decreasing. In this embodiment, the corresponding platform sub-order is first located based on the management system sub-order identifier in the package details, and the product quantity of the platform sub-order corresponding to that management system sub-order identifier is calculated. If the product quantity corresponding to the management system sub-order identifier remains unchanged and maintains a one-to-one correspondence with the platform sub-order, then the product quantity can be taken as the product quantity corresponding to the management system sub-order identifier. In actual business, a product may be a package or a single item. If it is a package, it may be split into different management system sub-orders during actual shipment, i.e., a platform sub-order is... If it's a package deal, then the corresponding sub-order in the management system might only be... The management system's sub-orders may also experience product replacements, deletions, additions, order splits, package breakups, and modifications. Therefore, calculating the number of platform sub-orders corresponding to the management system's sub-orders can be complex. Thus, all scenarios are handled based on whether the platform sub-order's product is a single item or a package. In cases of inconsistent product quantities, the specific handling can be as follows:
[0082] If a product in a platform sub-order is a single item, all packages containing that product are sorted. This sorting is done based on the sub-order identifier in the management system, such as by time or identifier. The system also checks if the package contains products from other platform sub-orders. The quantity of the product from the platform sub-order is then allocated among the corresponding packages, with each package receiving one quantity. Priority is given to packages without products from other platform sub-orders, until all available product quantities from other platform sub-orders are allocated. If the quantity of products in a platform sub-order exceeds the quantity of products corresponding to a sub-order in the management system, the remaining quantity is allocated to packages containing products from other platform sub-orders. Alternatively, a package corresponding to a single platform order can be selected, and the remaining quantity allocated to that package (e.g., the first package). In other words, if the number of items in a platform sub-order is less than the number of items corresponding to the sub-order identifier in the package details, then packages without items from other platform sub-orders will be allocated first, based on the number of items corresponding to the sub-order identifier in the package information. If the number of items in a platform sub-order is greater than the number of items corresponding to the sub-order identifier in the package details, then packages without items from other platform sub-orders will be allocated first, based on the number of items corresponding to the sub-order identifier in the package information. The remaining unallocated items can be allocated to packages containing items from other platform sub-orders, or randomly selected from the first available packages, or allocated from the first available package.
[0083] For example, the quantity of goods of og1 (i.e. the management system sub-order identifier) in the platform sub-order is 5, and in the package details, og1 is in 3 packages, the quantity of goods in pkg1 is 2, the quantity of goods in pkg2 is 2, and the quantity of goods in pkg3 is 1. The quantity of goods of og1 in the platform sub-order is 3, and in the package details, og1 is in 3 packages, the quantity of goods in pkg1 is 2, the quantity of goods in pkg2 is 2, and the quantity of goods in pkg1 is 1. The goods are preferentially allocated in pkg1 and pkg2, i.e. the allocated quantities are 2 and 1 respectively. The allocated quantity of goods does not exceed the quantity of goods in the package details, i.e. if the quantities allocated in pkg1 and pkg2 reach the quantities in the details, and the quantity of goods in the platform sub-order is not allocated, the goods can be allocated to other platform sub-orders. The quantity of goods of og1 in the platform sub-order is 6, and in the package details, og1 is in 3 packages, the quantity of goods in pkg1 is 2, the quantity of goods in pkg2 is 2, and the quantity of goods in pkg1 is 1. The goods are allocated in pkg1 and pkg2, i.e. the allocated quantities are 2 and 2 respectively. The quantity of goods in pkg1 is 1, and the remaining 1 is allocated to pkg1. That is, the quantity of goods in the package is the allocated quantity, not the original quantity.
[0084] If the goods of the platform sub-order are a package, first, calculate how many packages are contained in the package. The calculation method is that if the goods of the management system sub-order identifier are contained in the package of the platform sub-order, the quantity of goods of the package management system sub-order is divided by the quantity of goods corresponding to the platform sub-order package, and the result is rounded down. After all the goods corresponding to the platform sub-order are processed, the minimum value is the quantity of the package. For example, the package is , A and B represent different goods, and a certain package contains 2 A and 1 B. Then 2 / 3 is rounded down to 0, 1 / 2 is rounded down to 0, and the minimum value of 0 and 0 is 0. Therefore, the quantity of the package corresponding to the package is 0. If the goods of the management system sub-order are not contained in the platform sub-order package, the calculation is 1. After this processing, similar to the calculation logic of the single product, the quantity of the package containing the platform sub-order package in each package is obtained. The calculation logic of the single product is that the platform sub-order package is regarded as a whole, and the quantity of the platform sub-order package is allocated in the package corresponding to the platform sub-order. Each package is allocated 1, and the package without other platform sub-order goods is preferentially allocated, until the available quantity of the platform sub-order goods is allocated. If the quantity of the platform sub-order goods exceeds the quantity of the goods corresponding to the management system sub-order, the remaining quantity is allocated to the package containing other platform sub-order goods, or the remaining quantity is allocated to the package corresponding to the platform sub-order, such as the first package.
[0085] After the previous step is completed, the management order corresponds to several platform orders, and each platform order corresponds to which packages, and the packages contain which platform sub-order goods and the number of corresponding single products or sets are determined. However, some packages in the management system sub-order cannot find corresponding platform sub-orders, and some platform sub-orders do not correspond to any package. Therefore, the application provides an algorithm to match these platform sub-orders and packages. That is, the package corresponding to the platform sub-order has no corresponding platform sub-order, and the platform sub-order has no corresponding package. In the case that the platform sub-order belongs to the platform order without corresponding empty package, the number of platform sub-order goods is distributed to a certain package corresponding to the platform order, such as the first package corresponding to the platform order. If there is an empty package, the number of platform sub-order goods is distributed to the empty package. In actual business, there may be multiple empty packages and multiple unmatched platform sub-orders. Therefore, in principle, one empty package corresponds to one platform sub-order. If the platform sub-order is greater than the number of empty packages, the excess platform sub-order is placed in the last empty package. If the number of empty packages is greater than the platform sub-order, the last platform sub-order corresponds to the excess empty package. In this way, the platform sub-order is associated with the corresponding package.
[0086] Step S14: return the shipping information to the target e-commerce platform corresponding to the e-commerce platform order.
[0087] The embodiment of the application encapsulates and returns based on the shipping information according to the processing logic of the target e-commerce platform. Each e-commerce platform has a unique logic. Because the package and the corresponding platform order or the platform sub-order and the number have been allocated in the previous step, the platform unique logic only needs to encapsulate the parameters according to the platform's own shipping return interface, and then process the platform order state and category and other special requirements, and then call the platform shipping return interface. This part will change according to the business rules of the e-commerce platform.
[0088] As can be seen, in the embodiment of the application, when returning the shipping information, the package information returned by the warehouse management system is matched based on the management order of the order management system, and in the case that the target information items are inconsistent, the package information is corrected based on the order information of the management order. After matching and correcting, the shipping information corresponding to the e-commerce platform order is generated, and the shipping information is returned to the target e-commerce platform corresponding to the e-commerce platform order. In this way, the package information can be matched and corrected through a unified logic, and the shipping information corresponding to the platform order can be generated, and then returned to the target e-commerce platform. This can reduce the complexity of information processing of the order management system and avoid errors in the shipping information returned to the platform.
[0089] Referring to Figure 3 As shown in Figure 3 A shipping information return method provided by the embodiment of the application.
[0090] 1) Order verification mainly handles the judgment of whether the order needs to be shipped back. Due to the different types of orders, the demand for shipping back operation is also different, for example, the order of virtual goods does not involve physical goods, so it does not need to return to the platform, and there is no corresponding logistics number. In addition, manual order recording is not related to the order of the e-commerce platform, so it also does not need to be returned, and so on. This step handles all these, and the logic is simple and fast, without complex algorithm logic, and the later modification is relatively small.
[0091] 2) Package processing and order matching logic includes two parts: package processing and order matching. Package matching is used to process various package information returned by the warehouse wms, and order matching is used to match the matched package information with the e-commerce platform order, and finally obtain which packages and package details correspond to the platform order, express number and express company.
[0092] 2.1) The package information of the warehouse shipment is obtained based on the oms order (i.e. management order). Ideally, the package information and the oms order information are one-to-one, but because the wms used by the warehouse is different, the package information received by the oms often lacks, such as a package missing the package details inside, the number of goods added up in a sub-order is not equal to the number of sub-orders corresponding to the oms order, or even the sub-order cannot find the package information. If the package data with a high possibility of error is directly used for matching and shipping back, it will lead to a lot of abnormal situations to be handled. Therefore, the processing of the present application is to match the package information and the oms order information before returning. In practice, there are many matching results, such as some package matching is correct, and some package cannot find the corresponding sub-order. These matching results will increase the complexity of business processing and have no benefit, so the present application sets the matching result to two kinds, one is that all the package details are completely matched with the order information, which is referred to as reference package details, and the other is that all the packages cannot find the corresponding order information, which is referred to as non-reference package details. This processing is very beneficial to subsequent processing and does not affect the shipping back effect. The processing logic of the entire algorithm will be described in detail below:
[0093] 2.1.1) The entire package information of the order can be represented by the formula: , where pkg represents the package (i.e. package identifier), pkgdt represents the package details (i.e. package detail identifier), og represents the sub-order number (i.e. management system sub-order identifier), and num represents the number of goods corresponding to the sub-order. , the order information can be represented by the formula: , the expected reference package details result is: , and the non-reference package details result is: The package contained no details whatsoever. See also... Figure 4 As shown, Figure 4 This is a schematic diagram of package information provided in an embodiment of this application. pkg1, pkg2, and pkg3 are three packages, pkgdt1~6 are package detail identifiers, and og1 to 4 are system sub-order identifiers. Figure 5 This is a schematic diagram of order information provided in an embodiment of this application. Figure 6 This is a schematic diagram of a matching process result provided in an embodiment of this application.
[0094] 2.1.2) If there is only one package, the matching result will necessarily be based on the package details. The specific processing is as follows: a. If the package does not have package details, then all product details of the OMS order will be considered as the package details. b. If the package has package details, then the matching will be performed according to the OG information of both parties. OG information that exists in the package details but not in the order will be removed from the package information. If the quantity of products corresponding to the same OG in the package details and the sub-order is inconsistent, then the quantity in the package details will be corrected to the quantity corresponding to the sub-order.
[0095] 2.1.3) If there are more than one package, first check each package. If any package lacks package details, the entire matching result is considered to be without package details, and the package details in all packages are cleared, ending the matching. Other cases are matched according to the following algorithm: a. Group all package information by OG, then for each OG, find the quantity corresponding to that OG in the corresponding order. If the quantity matches correctly, proceed to the next OG; if the quantity does not match, correct the quantity in the package details. b. For a given OG, if the total quantity of all corresponding package details is less than the order's product quantity, add the insufficient quantity to the first package detail. Package order follows a preset sorting logic. c. For a given OG, if the total quantity of all package details is greater than the order's product quantity, subtract the product quantity from the package details sequentially, down to a maximum of 1. If all product quantities in the package details are 1, but the total quantity is still greater than the order's product quantity, remove that product from a particular package detail, prioritizing package details containing other products. Process them sequentially until the total number of all package details equals the number of items in the order.
[0096] 2.2) By analyzing the delivery return interface of the e-commerce platform, it is found that they can be summarized into two types, one is by platform order return, this return mode only needs to return platform order number and express order number, the other is by platform sub-order return, this return requires platform sub-order and commodity quantity, express order number, whether all return and other information corresponding to each package, that is, according to platform sub-order, return corresponding package and commodity quantity. The parameters returned by the e-commerce platform are platform order number and platform sub-order number, but the order number in the package details is the order number and sub-order number of oms itself, so after the package matching is completed, the next step is to find the corresponding platform sub-order number for the oms sub-order number in the package details, that is, order matching. According to the classification of e-commerce platform delivery return interface and the package matching result of the previous step, there will be four combination situations when order matching: not referring to package details and returning by platform order, not referring to package details and returning by platform sub-order, referring to package details and returning by platform order, and referring to package details and returning by platform sub-order. The order matching algorithm is also different for the four situations, which will be described in detail below.
[0097] 2.3) For the case of not referring to package details and returning by platform order, it is considered that the package corresponding to each platform order of the oms single is all these packages. Suppose there are two packages, package 1 and package 2, and the oms single corresponds to two platform orders ool, oo2 (the oms single has been combined), then it is considered that ool sends package 1 and package 2, and oo2 also sends package 1 and package 2. The matching is completed.
[0098] 2.4) For the case of not referring to package details and returning by platform sub-order, since it is not known which platform sub-order is contained in the package, only one algorithm is needed to assign platform sub-order to the corresponding package:
[0099] 2.4.1) Assuming the number of packages is n and the number of platform orders is m, a rule of one platform order corresponding to one package is used for matching. When , exactly one package corresponds to one platform order.
[0100] 2.4.2) If , it means that there are more packages, so the last platform order is assigned to all the remaining packages. For example, there are four packages, pkg1-pkg4, and two platform orders, ool and oo2, then the assignment result is ool sends pkg1, oo2 sends pkg2, pkg3 and pkg4.
[0101] 2.4.3) If , then it means the platform order is more, then the last package corresponds to all the remaining platform orders. If the package has 3, pkg1-pkg3, and the corresponding original order has 5, oo1-oo5, then the allocation result is oo1 sends pkg1, oo2 sends pkg2, oo3, oo4, and oo5 sends pkg3.
[0102] 2.4.4) After assigning the original order to the package, then assign the platform order sub-order to the corresponding package, according to the number of platform sub-orders and the number of packages to match, this process is similar to the above, that is, a platform sub-order is assigned to a package in principle, if the number of packages exceeds the number of platform sub-orders, then the last platform sub-order corresponds to the extra packages. If the number of platform sub-orders exceeds the number of packages, then the last few platform sub-orders correspond to the last package.
[0103] 2.5) For the case of returning according to platform order by referring to package details, only need to find the corresponding platform sub-order according to the oms sub-order in the package details, and then find the platform order according to the platform sub-order, to get the platform order information corresponding to the package. Some oms sub-orders cannot find the corresponding platform order, then some packages have no corresponding platform order information, and some platform orders may also have no corresponding package information, then you need to process these unmatched packages or unmatched platform orders, as follows:
[0104] 2.5.1) If the number of remaining unmatched packages and unmatched platform orders is the same, then assign 1 to 1. Because the package details itself does not know which platform sub-order it corresponds to, so after assigning, it can be directly returned.
[0105] 2.5.2) If the number of remaining unmatched packages is greater than the number of unmatched platform orders, then the last platform order can get several extra packages.
[0106] 2.5.3) If the number of remaining unmatched packages is less than the number of unmatched platform orders, then the last package is given to the extra platform orders, that is, the extra platform orders are returned with this package.
[0107] 2.6) For the case of returning according to platform sub-order by referring to package details, all package details must have corresponding platform sub-orders, and the total number must equal the number of platform sub-orders sold, which cannot exceed or decrease, and since a platform order may correspond to multiple oms, one or more oms may have been shipped first, resulting in the oms shipped later can only transmit the remaining number of platform sub-orders.
[0108] 2.6.1) First find the corresponding platform sub-order according to the oms sub-order in the package details, and calculate how many platform sub-order goods the oms sub-order corresponds to, if the oms sub-order goods do not change, and the platform sub-order maintains a one-to-one correspondence, then the quantity can take the quantity of the oms sub-order. In actual business, the goods may be a package or a single product. If it is a package, it may be split into different oms orders during actual delivery, that is, the platform sub-order is a package of A*3+B*2, and the corresponding oms order may only be A*2. The oms order may also have goods replacement, goods deletion, goods addition, split order, package disassembly, and modification, so calculating the number of goods of the oms sub-order corresponding to the platform sub-order can be very complex. All situations are processed according to whether the goods of the platform sub-order are single or package, and the specific processing is as follows:
[0109] a. If the platform sub-order is a single product, then sort all packages containing the goods in the platform sub-order, and mark whether the package has other platform sub-order goods. Distribute the number of platform sub-order goods in these packages, each package is allocated a quantity of 1, and the package without other platform sub-order goods is preferentially allocated, until the available platform sub-order quantity is allocated. If the number of platform sub-orders exceeds the number of oms sub-order corresponding goods, the remaining number is allocated to the package containing other platform sub-order goods.
[0110] b. If the platform sub-order is a package, first calculate how many packages contain the package in the package. The calculation method is that if the oms sub-order goods in the package are contained in the platform sub-order package, then the number of package oms sub-order goods is divided by the number of corresponding goods in the corresponding platform sub-order package, and the result is rounded down. After all the goods corresponding to the platform sub-order are processed, the minimum value is the number of packages. If the oms sub-order goods in the package are not contained in the platform sub-order package, then calculate it as 1. After processing in this way, the calculation logic similar to single product is performed on all packages containing the platform sub-order, and finally the number of platform sub-orders contained in each package is obtained.
[0111] 2.6.2) After the previous step is completed, the oms order corresponds to several platform orders, and each platform order corresponds to which package, and the platform sub-order and the number of corresponding single or package in the package are determined. However, some oms sub-orders in the package cannot find corresponding platform sub-orders, and some platform sub-orders do not correspond to any package, so an algorithm is needed to match these platform sub-orders and packages. Suppose the oms order corresponds to three platform orders ool, oo2 and oo3, ool corresponds to platform sub-orders oog1 with a quantity of 3 and oog2 with a quantity of 2; oo2 corresponds to platform sub-orders oog3 with a quantity of 1 and oog5 with a quantity of 2; and oo3 corresponds to platform sub-orders oog4 with a quantity of 2, oog6 with a quantity of 1 and oog7 with a quantity of 1. The result after the previous step is matched is shown in Table 2. Figure 7 Figure 7 An order matching diagram provided by an embodiment of the present application.
[0112] a. If there is no empty package, the remaining platform sub-order is selected to return to the first package. For example, in the above example, platform order oo2 has a platform sub-order oog5 that does not correspond to a package. Since there is no empty package, after adjustment, the quantity of oog5 is calculated to be 2 in the package pkg2 of platform order oo2.
[0113] b. If there is an empty package, the platform sub-order is calculated in the empty package. For example, in the above example, pkg4 is adjusted to return oog6 with a quantity of 1 and oog7 with a quantity of 1. In actual business, there may be multiple empty packages and multiple unmatched platform sub-orders, so in principle, one package corresponds to one platform sub-order. If the platform sub-order is greater than the number of packages, the excess platform sub-order is placed in the last empty package. If the number of packages is greater than the platform sub-order, the last platform sub-order corresponds to excess packages.
[0114] 2.7) After the package processing and order matching are completed, the next step is the unique logic of each e-commerce platform. Because the package and corresponding platform order or platform sub-order and quantity have been allocated in the previous step, the platform unique logic only needs to encapsulate the parameters according to the delivery return interface of each platform, and then process the platform order state and category special requirements, and then call the platform delivery return interface. This part will change according to the business rules of e-commerce platforms.
[0115] 2.8) Finally, the general logic of data update is unchanged and is independent of the platform.
[0116] In this way, the package information returned by the warehouse is uniformly processed, and no additional development work is required for subsequent maintenance and new warehouse access scenarios. The entire shipment return design solves various problems that have plagued e-commerce OMS in processing order shipment return. After the entire function is put into operation, the focus of the later stage is only on different platform characteristics, and problems are few, stable, good maintenance, and extensible in the use process. For e-commerce personnel, they hope that the warehouse can immediately synchronize to the corresponding e-commerce platform after the goods are shipped, which can reduce the workload of customer service and reduce the risk of capital loss. The shipment return needs to face various warehouse WMS and different e-commerce platforms, and the business scenario is one of the most complex in the entire e-commerce link. If it is not done well, it will waste time and effort for e-commerce operators and OMS system developers. The present application considers the changes and constants in the entire shipment return link, and successfully realizes a result that satisfies all parties.
[0117] Referring to Figure 8 The embodiment of the present application provides a shipment information return device, which comprises:
[0118] The package information acquisition module 11 is configured to acquire package information returned by a warehouse management system, wherein the package information is information obtained after a management order is processed for shipment, and the management order is an order generated and pushed to the warehouse management system by an order management system based on an e-commerce platform order;
[0119] The package information matching module 12 is configured to match order information in the management order and the package information, and correct the package information based on the order information in the case of inconsistent target information items, to obtain a matching processing result;
[0120] The shipment information generation module 13 is configured to generate shipment information corresponding to the e-commerce platform order based on the matching processing result;
[0121] The shipment information return module 14 is configured to return the shipment information to a target e-commerce platform corresponding to the e-commerce platform order.
[0122] The package information matching module 12 can be specifically configured to:
[0123] If the package information is information corresponding to one package, and there is no package detail in the package information, the package details of the package are generated based on the order information. If the package information contains package details, the order information and the package details are matched according to the management system sub-order identifier, and the number of goods in the package details is corrected based on the order information in the case of inconsistent number of goods corresponding to the same management system sub-order identifier, to obtain a matching processing result; wherein the package details include a management system sub-order identifier and a number of goods.
[0124] If the package information corresponds to multiple packages, and package details exist for each of the multiple packages, the number of goods corresponding to the same management system sub-single identifier in the package information is counted, the package information and the order information are matched according to the management system sub-single identifier, and in the case where the number of goods corresponding to the same management system sub-single identifier is inconsistent, the number of goods in the package details is corrected based on the order information to obtain a matching processing result.
[0125] Further, the apparatus is further configured to:
[0126] If the package information corresponds to multiple packages, and package details do not exist for any of the multiple packages, it is determined that the return mode corresponding to the management order is not to refer to the package details, otherwise it is to refer to the package details.
[0127] The shipment information generation module 13 can be specifically configured to:
[0128] If the return type corresponding to the target e-commerce platform is platform order return, and the return mode corresponding to the management order is not to refer to the package details, the e-commerce platform order corresponding to the management order is determined, and the shipment information corresponding to the e-commerce platform order is generated based on all the packages in the matching processing result; wherein the platform order return is a mode of returning the platform order number and the express number corresponding to the package.
[0129] If the return type corresponding to the target e-commerce platform is platform sub-single return, and the return mode corresponding to the management order is not to refer to the package details, the packages in the matching processing result are allocated to the platform sub-single corresponding to the e-commerce platform order based on a preset allocation algorithm, and the shipment information corresponding to the e-commerce platform order is generated based on the allocated packages, wherein the platform sub-single return is a mode of returning the express number and the number of goods of the package corresponding to each platform sub-single.
[0130] If the return type corresponding to the target e-commerce platform is platform order return, and the return mode corresponding to the management order is to refer to the package details, the platform sub-single is matched according to the management system sub-single identifier in the package details, the e-commerce platform order is found based on the matched platform sub-single to obtain the e-commerce platform order corresponding to the package, and the shipment information corresponding to the e-commerce platform order is generated, for the package for which the e-commerce platform order is not found and the e-commerce platform order for which the package is not matched, the package for which the e-commerce platform order is not found is allocated to the e-commerce platform order for which the package is not matched according to a preset matching algorithm, and the shipment information corresponding to the e-commerce platform order is generated; wherein the platform order return is a mode of returning the platform order number and the express number corresponding to the package.
[0131] If the backhaul type corresponding to the target e-commerce platform is a platform sub-single backhaul, and the backhaul mode corresponding to the management order is to refer to the package details, then the platform sub-single is matched according to the management system sub-single identifier in the package details to associate the platform sub-single with the corresponding package, in the case that the number of goods in the platform sub-single is inconsistent with the number of goods in the management system sub-single, the number of goods in the package details of the associated package is corrected based on the number of goods in the platform sub-single, and the delivery information corresponding to the e-commerce platform order is generated based on the package associated with the platform sub-single. The platform sub-single backhaul is a way of returning the express number and the number of goods corresponding to each platform sub-single.
[0132] It can be seen that, when the delivery information is returned, the package information returned by the warehouse management system based on the management order of the order management system is matched first, and in the case that the target information items are inconsistent, the package information is corrected based on the order information of the management order, and after matching and correcting, the delivery information corresponding to the e-commerce platform order is generated and returned to the target e-commerce platform. In this way, the package information can be matched and corrected through unified logic first, and the delivery information corresponding to the platform order is generated, and then returned to the target e-commerce platform, which can reduce the complexity of information processing of the order management system and avoid errors in the delivery information returned to the platform.
[0133] Referring to Figure 9 The electronic device 20 disclosed in the embodiment comprises a processor 21 and a memory 22. The memory 22 is used to save a computer program. The processor 21 is used to execute the computer program, and the delivery information return method disclosed in the foregoing embodiments.
[0134] The specific process of the delivery information return method can refer to the corresponding content disclosed in the foregoing embodiments, which will not be described here.
[0135] In addition, the memory 22 as a carrier for storing resources can be a read-only memory, a random access memory, a magnetic disk or an optical disk, and the storage mode can be temporary storage or permanent storage.
[0136] In addition, the electronic device 20 further comprises a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26. The power supply 23 is used to provide working voltage for each hardware device on the electronic device 20. The communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol followed by the communication interface 24 can be any communication protocol applicable to the technical solution of the present application, which will not be limited here. The input / output interface 25 is used to obtain external input data or output data to the outside, and the specific interface type can be selected according to the specific application needs, which will not be limited here.
[0137] Further, the embodiment of the present application further discloses a computer readable storage medium for storing a computer program, wherein the computer program is executed by a processor to realize the delivery information feedback method disclosed in the foregoing embodiment.
[0138] The specific process of the delivery information feedback method can refer to the corresponding content disclosed in the foregoing embodiment, and will not be repeated here.
[0139] Further, the embodiment of the present application further provides a computer program product, comprising computer programs / instructions, which are executed by a processor to realize the delivery information feedback method disclosed in the foregoing embodiment.
[0140] The specific process of the delivery information feedback method can refer to the corresponding content disclosed in the foregoing embodiment, and will not be repeated here.
[0141] The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the related parts can be referred to the method part.
[0142] The steps of the method or algorithm described in combination with the embodiments disclosed herein can be implemented directly with hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0143] The above provides a delivery information feedback method, device, equipment and medium, the principle and implementation mode of the present application are described in the text by applying specific examples, the above embodiment is only used to help understand the method and core idea of the present application; At the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; The above description should not be understood as the limitation of the present application.
Claims
1. A method for transmitting shipping information, characterized in that, include: Obtain package information returned by the warehouse management system, wherein the package information is obtained after processing the shipment based on the management order, and the management order is the order generated by the order management system based on the e-commerce platform order and pushed to the warehouse management system; The order information and package information in the managed order are matched, and if the target information items are inconsistent, the package information is corrected based on the order information to obtain the matching result; Based on the matching results, the shipping information corresponding to the e-commerce platform order is generated. The shipping information is sent back to the target e-commerce platform corresponding to the order.
2. The shipping information feedback method according to claim 1, characterized in that, The order information and package information in the managed order are matched, and if the target information items are inconsistent, the package information is corrected based on the order information to obtain the matching result, including: If the package information pertains to a single package and does not contain package details, then package details for that package are generated based on the order information. If the package information contains package details, then the order information and package details are matched according to the management system sub-order identifier. If the quantity of goods corresponding to the same management system sub-order identifier is inconsistent, the quantity of goods in the package details is corrected based on the order information to obtain the matching result. The package details include the management system sub-order identifier and the quantity of goods. If the package information corresponds to multiple packages, and all of the multiple packages have package details, then the number of goods corresponding to the same management system sub-order identifier in the package information is counted. The package information and the order information are matched according to the management system sub-order identifier. If the number of goods corresponding to the same management system sub-order identifier is inconsistent, the number of goods in the package details is corrected based on the order information to obtain the matching result.
3. The shipping information feedback method according to claim 2, characterized in that, Also includes: If the package information corresponds to multiple packages, and none of the multiple packages has package details, then the return method corresponding to the management order is determined to be "do not refer to package details"; otherwise, it is "reference to package details".
4. The shipping information feedback method according to claim 3, characterized in that, Based on the matching process results, shipping information corresponding to the e-commerce platform order is generated, including: If the return type corresponding to the target e-commerce platform is return by platform order, and the return method corresponding to the management order is not referencing package details, then the e-commerce platform order corresponding to the management order is determined, and the shipping information corresponding to the e-commerce platform order is generated based on all packages in the matching processing result; wherein, the return by platform order is the method of returning the platform order number and the express tracking number corresponding to the package.
5. The shipping information feedback method according to claim 3, characterized in that, Based on the matching process results, shipping information corresponding to the e-commerce platform order is generated, including: If the return type corresponding to the target e-commerce platform is return by platform sub-order, and the return method corresponding to the managed order is not to refer to package details, then based on the preset allocation algorithm, the package in the matching processing result is allocated to the platform sub-order corresponding to the e-commerce platform order, and the shipping information corresponding to the e-commerce platform order is generated based on the allocated package. Here, the return by platform sub-order is the method of returning the express tracking number and the quantity of goods of the package corresponding to each platform sub-order.
6. The shipping information feedback method according to claim 3, characterized in that, Based on the matching process results, shipping information corresponding to the e-commerce platform order is generated, including: If the return type corresponding to the target e-commerce platform is return by platform order, and the return method corresponding to the management order is reference package details, then the platform sub-order is matched according to the management system sub-order identifier in the package details. Based on the matched platform sub-order, the e-commerce platform order is searched to obtain the e-commerce platform order corresponding to the package, and the shipping information corresponding to the e-commerce platform order is generated. For packages for which no e-commerce platform order is found or for e-commerce platform orders for which no package is matched, the package for which no e-commerce platform order is found is assigned according to a preset matching algorithm, and the shipping information corresponding to the e-commerce platform order is generated. Here, the return by platform order refers to the method of returning the platform order number and the express tracking number corresponding to the package.
7. The shipping information feedback method according to claim 3, characterized in that, Based on the matching process results, shipping information corresponding to the e-commerce platform order is generated, including: If the return type corresponding to the target e-commerce platform is return by platform sub-order, and the return method corresponding to the managed order is reference package details, then the platform sub-order is matched according to the management system sub-order identifier in the package details to associate the platform sub-order with the corresponding package. If the quantity of goods in the platform sub-order is inconsistent with the quantity of goods in the management system sub-order, the quantity of goods in the package details of the associated package is corrected based on the quantity of goods in the platform sub-order, and the shipping information corresponding to the e-commerce platform order is generated based on the package associated with the platform sub-order. Here, the return by platform sub-order refers to the method of returning the tracking number and quantity of goods of the package corresponding to each platform sub-order.
8. A shipping information feedback device, characterized in that, include: The package information acquisition module is used to acquire package information returned by the warehouse management system. The package information is obtained after processing the shipment based on the managed order. The managed order is an order generated by the order management system based on the e-commerce platform order and pushed to the warehouse management system. The package information matching module is used to match the order information and the package information in the managed order, and to correct the package information based on the order information when the target information items are inconsistent, so as to obtain the matching result; The shipping information generation module is used to generate shipping information corresponding to the e-commerce platform order based on the matching processing result. The shipping information feedback module is used to send the shipping information back to the target e-commerce platform corresponding to the e-commerce platform order.
9. An electronic device, characterized in that, Includes memory and processor, wherein: The memory is used to store computer programs; The processor is configured to execute the computer program to implement the shipping information feedback method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Used to store a computer program, wherein the computer program, when executed by a processor, implements the shipping information return method as described in any one of claims 1 to 7.