Sub-order cancelling method and device

By receiving order cancellation requests in the logistics order management system and obtaining the parent order status, the separate cancellation of sub-orders is achieved, solving the problem that all sub-orders need to be pulled back and re-joined when canceling sub-orders in the existing system, and improving logistics timeliness and user experience.

CN120163348APending Publication Date: 2025-06-17BEIJING JINGDONG YUANSHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311735555.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

The existing logistics order management system needs to obtain the order status in real time when the sub-order is cancelled, resulting in all orders produced in the warehousing management system that must be pulled back to the upstream and re-joined orders at any stage, affecting logistics timeliness and customer experience, and causing waste of operational resources.

Method used

By receiving an order cancellation request, a target child order cancellation instruction is generated and the order status of the target parent order is obtained. When the target child order can be cancelled, the target child order details in the target parent order are directly deleted, and the order details of the target parent order are updated to achieve separate cancellation of the target child order.

Benefits of technology

The process of canceling child orders in parent orders is simplified, and the separate cancellation of target child orders is achieved, without affecting the normal production and distribution of other child orders and the entire parent orders, saving operating costs, ensuring logistics timeliness, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120163348A_ABST
    Figure CN120163348A_ABST
Patent Text Reader

Abstract

The invention discloses a sub-order cancelling method and device, and relates to the technical field of logistics order processing. The specific embodiment of the method comprises the following steps: receiving an order cancelling request, and generating a target sub-order cancelling instruction for a to-be-cancelled target sub-order; taking a father order corresponding to the target child order as a target father order, and obtaining an order state of the target father order; and when the order state of the target father order represents that the target child order can be cancelled, deleting the target child order in the target father order based on the target child order cancelling instruction, and updating order details of the target father order. According to the embodiment, the details of the target child orders in the target parent order are directly deleted, the target parent order does not need to be completely cancelled, the other child orders do not need to be completely pulled back to be combined again after the target child orders are deleted, the operation cost is greatly saved, logistics timeliness is guaranteed, the logistics service experience of a user is improved, and client stickiness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of logistics order processing, and in particular, to a method and device for canceling sub-orders. Background Art

[0002] With the development of the logistics industry, logistics order management has gradually become one of the important services in the logistics industry. The management of logistics orders requires real-time control of the entire production and distribution process of logistics orders. When a customer selectively cancels a certain or some sub-orders in a parent order containing multiple sub-orders, it will involve a system with complex background business logic for managing logistics orders. Currently, there are mainly two methods: one is to directly cancel the combined parent order, and at the same time, all sub-orders under the parent order need to be cancelled, and then the un-cancelled sub-orders in the customer order are retrieved again; the other is to ignore the parent order, cancel the sub-orders to be cancelled in the parent order, pull back all the remaining un-cancelled sub-orders for re-combination, and then send them to the production system.

[0003] The current sub-order cancellation method needs to obtain the order status in real time. For orders that have been produced in the warehouse management system, regardless of what stage they are in, they all need to be pulled back upstream for re-combination, which not only affects the logistics timeliness and customer experience, but also causes a great waste of operational resources. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a method and device for canceling sub-orders, which can simplify the process of canceling sub-orders in a parent order, realize the separate cancellation of target sub-orders, do not affect the normal production and distribution of other sub-orders and the entire parent order, save operation costs, and ensure logistics timeliness.

[0005] To achieve the above object, according to one aspect of the embodiments of the present invention, a method for canceling sub-orders is provided.

[0006] A method for canceling sub-orders according to an embodiment of the present invention includes:

[0007] Receiving an order cancellation request, and generating a target sub-order cancellation instruction for a target sub-order to be cancelled;

[0008] Taking the parent order corresponding to the above target sub-order as a target parent order, and obtaining the order status of the above target parent order;

[0009] When the order status of the above target parent order indicates that the target sub-order can be cancelled, deleting the target sub-order in the above target parent order based on the above target sub-order cancellation instruction, and updating the order details of the above target parent order.

[0010] Optionally, after obtaining the order status of the above target parent order, the method further includes:

[0011] When the order status of the above target parent order is shipped, it indicates that the target child order cannot be cancelled, and the result of the target child order cancellation failure is fed back.

[0012] Optionally, the above method further includes:

[0013] When the order status of the target parent order is not shipped out, determine the review status of the target child order;

[0014] In response to the review status of the target child order being unreviewed, it is determined whether the target child order can be canceled according to the release status of the target parent order.

[0015] Optionally, in response to the review status of the target child order being unreviewed, determining whether the target child order can be canceled according to the release status of the target parent order includes:

[0016] Determine the details of the target sub-order to be cancelled, and determine whether there are any reviewed commodities in the details of the target sub-order based on the review status of the target sub-order;

[0017] When there are no reviewed commodities in the above-mentioned details to be cancelled, the review status of the target sub-order is indicated as unreviewed, and whether the above-mentioned target sub-order can be cancelled is determined according to the release status of the target parent order.

[0018] Optionally, when the order status of the target parent order indicates that the target child order can be cancelled, the target child order in the target parent order is deleted based on the target child order cancellation instruction, and the order details of the target parent order are updated, including:

[0019] When the issuing status of the target parent order is not issued, it indicates that the target child order can be canceled. Based on the target child order cancellation instruction, the target child order in the target parent order is deleted, and the order details of the target parent order are updated.

[0020] Optionally, when the order status of the target parent order indicates that the target child order can be cancelled, the target child order in the target parent order is deleted based on the target child order cancellation instruction, and the order details of the target parent order are updated, including:

[0021] When the release status of the target parent order is released, determine whether the target child order can be cancelled according to the warehouse status of the target parent order;

[0022] In response to the warehouse status of the above-mentioned target parent order being any one of positioning, picking, delisting, packing, and reviewing, indicating that the above-mentioned target sub-order can be canceled, the target sub-order in the above-mentioned target parent order is deleted based on the above-mentioned target sub-order cancellation instruction, and the order details of the above-mentioned target parent order are updated.

[0023] Optionally, the target sub-orders in the target parent order are deleted based on the above-mentioned target sub-order cancellation instruction, and the order details of the target parent order are updated, including:

[0024] The target sub-order is cancelled based on the above-mentioned target sub-order cancellation instruction, and the goods and quantities of the target sub-order in the target parent order are marked with a cancellation status.

[0025] To achieve the above object, according to another aspect of the embodiments of the present invention, a sub-order cancellation device is provided.

[0026] A sub-order cancellation device according to an embodiment of the present invention includes:

[0027] A receiving module, configured to receive an order cancellation request and generate a target sub-order cancellation instruction for a target sub-order to be cancelled;

[0028] An obtaining module, configured to use the parent order corresponding to the target sub-order as the target parent order and obtain the order status of the target parent order;

[0029] A cancellation module, configured to, when the order status of the target parent order indicates that the target sub-order can be cancelled, delete the target sub-order in the target parent order based on the target sub-order cancellation instruction, and update the order details of the target parent order.

[0030] To achieve the above object, according to yet another aspect of the embodiments of the present invention, an electronic device for sub-order cancellation is provided.

[0031] An electronic device for sub-order cancellation according to an embodiment of the present invention includes: one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement a sub-order cancellation method according to an embodiment of the present invention.

[0032] To achieve the above object, according to still another aspect of the embodiments of the present invention, a computer-readable storage medium is provided.

[0033] A computer-readable storage medium according to an embodiment of the present invention, on which a computer program is stored, and when the program is executed by a processor, implements a sub-order cancellation method according to an embodiment of the present invention.

[0034] One embodiment of the above invention has the following advantages or beneficial effects: By obtaining the order status of the target parent order, it is determined whether the target sub-order can be cancelled. When it is characterized that the target sub-order can be cancelled, the details of the target sub-order in the target parent order are directly deleted, and the order details of the target parent order after deleting the target sub-order are updated. It is not necessary to cancel the entire target parent order, nor is it necessary to pull back all the remaining sub-orders and re-consolidate them after deleting the target sub-order, which greatly saves the operation cost, ensures the logistics timeliness, improves the user's logistics service experience, and increases customer stickiness.

[0035] The further effects of the above non-conventional optional methods will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings are used to better understand the present invention and do not constitute an improper limitation to the present invention. Among them:

[0037] Figure 1 is a schematic flowchart of a method for cancelling a sub-order according to an embodiment of the present invention;

[0038] Figure 2 is a schematic diagram of generating a parent order by consolidating sub-orders according to an embodiment of the present invention;

[0039] Figure 3 is a schematic flowchart of cancelling a target sub-order according to an embodiment of the present invention;

[0040] Figure 4 is a schematic diagram of a cancellation status mark according to an embodiment of the present invention;

[0041] Figure 5 is a schematic structural diagram of a sub-order cancellation device according to an embodiment of the present invention;

[0042] Figure 6 is an exemplary system architecture diagram to which an embodiment of the present invention can be applied;

[0043] Figure 7 is a schematic structural diagram of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0044] The following describes exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding. It should be considered that they are merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, the description below omits the description of well-known functions and structures.

[0045] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.

[0046] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.

[0047] Figure 1 It is a schematic diagram of the main steps of canceling a sub-order according to an embodiment of the present invention.

[0048] like Figure 1 As shown, the cancellation of a sub-order in the embodiment of the present invention mainly includes the following steps:

[0049] Step S101, receiving an order cancellation request, and generating a target sub-order cancellation instruction for the target sub-order to be cancelled.

[0050] When multiple original orders are received from users, the logistics platform will combine the orders according to the preset order combining rules in the system and treat the multiple orders that meet the order combining rules as sub-orders. After combining the orders, a parent order will be generated, and the parent order will be sent for production operations so that the sub-orders in the parent order can be produced at the same time, thereby improving efficiency and reducing costs.

[0051] When a user needs to cancel an original order, the user initiates an order cancellation request through the service platform. The logistics platform determines whether the corresponding order has an associated parent order based on the order cancellation request. If the order corresponding to the order cancellation request does not have an associated parent order, indicating that the order has not been combined, the order status of the order is obtained, and it is determined whether the order can be canceled and the cancellation result is fed back. If the order corresponding to the order cancellation request has an associated parent order, the above order cancellation request is generated into a target child order cancellation instruction.

[0052] In response to receiving the order cancellation request, the logistics platform generates a target child order cancellation instruction for the target child order to be cancelled. The target child order cancellation instruction indicates that the target parent order is partially cancelled and is cancelled according to the target child order's details to be cancelled. Specifically, the order details of the target parent order are a combination of the order details of all its child orders.

[0053] Step S102: taking the parent order corresponding to the target child order as the target parent order, and obtaining the order status of the target parent order.

[0054] Use the parent order corresponding to the above target sub - order as the target parent order. The logistics platform obtains the order status of the target parent order and determines whether the target sub - order can be cancelled according to the order status of the target parent order. Here, the target parent order contains multiple sub - orders, and the quantity of the above - mentioned target sub - orders is determined based on the order cancellation request, which can be one or more.

[0055] Specifically, the above - mentioned order status refers to the order status in the entire logistics process, including but not limited to the outbound status, the dispatched status, the review status, and the warehouse status.

[0056] Step S103, when the order status of the above - mentioned target parent order indicates that the target sub - order can be cancelled, delete the target sub - order in the above - mentioned target parent order based on the above - mentioned target sub - order cancellation instruction, and update the order details of the above - mentioned target parent order.

[0057] The logistics platform makes a judgment on whether the target sub - order can be cancelled based on the obtained order status of the target parent order. When the order status of the target parent order indicates that the target sub - order can be cancelled, delete the target sub - order in the above - mentioned target parent order based on the above - mentioned target sub - order cancellation instruction, and update the order details of the target parent order. In this process, for the target parent order, the target parent order is partially cancelled, that is, only the order details related to the target sub - order in the target parent order are cancelled and deleted, without paying attention to the order status of other sub - orders in the target parent order. Therefore, no processing is performed on other sub - orders, and it is not necessary to pull back all sub - orders in the target parent order.

[0058] In an optional embodiment, after obtaining the order status of the above - mentioned target parent order, the method further includes: when the order status of the above - mentioned target parent order is out - of - warehouse, indicating that the target sub - order cannot be cancelled, feedback the result of the failure to cancel the target sub - order.

[0059] Here, first judge the outbound status in the order status of the target parent order. Among them, the outbound status includes two states: out - of - warehouse and not out - of - warehouse. When the order status of the target parent order is out - of - warehouse, it indicates that the target sub - order cannot be cancelled, generate the result of the failure to cancel the target sub - order and feedback it to the user terminal. Out - of - warehouse means that the goods corresponding to the target parent order have been taken out of the warehouse. Therefore, the target sub - order cannot be cancelled.

[0060] In an optional embodiment, the method further includes: when the order status of the above - mentioned target parent order is not out - of - warehouse, determine the review status of the target sub - order; in response to the review status of the above - mentioned target sub - order being unreviewed, determine whether the above - mentioned target sub - order can be cancelled according to the dispatched status of the target parent order.

[0061] Among them, the above - mentioned not - out - of - warehouse status includes but not limited to initialization, dispatched, not dispatched, and pulled back.

[0062] In an alternative embodiment, in response to the review status of the target sub - order being unreviewed, determining whether the target sub - order can be cancelled according to the issuance status of the target parent order includes:

[0063] Determining the details of the goods to be cancelled for the target sub - order, and based on the review status of the target sub - order, determining whether there are reviewed goods in the details of the goods to be cancelled;

[0064] When there are no reviewed goods in the details of the goods to be cancelled, indicating that the review status of the target sub - order is unreviewed, determining whether the target sub - order can be cancelled according to the issuance status of the target parent order.

[0065] Further, when there are both reviewed goods and unreviewed goods in the details of the goods to be cancelled, it indicates that the review status of the target sub - order is in the process of review; when all the goods in the details of the goods to be cancelled are reviewed goods, it indicates that the review status of the target sub - order is completed. When the review status of the target sub - order is in the process of review or completed, a failure result for cancelling the target sub - order is generated and fed back to the user terminal. The details of the goods to be cancelled include the goods to be cancelled and the corresponding quantities to be cancelled.

[0066] In an alternative embodiment, when the order status of the target parent order indicates that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order includes:

[0067] When the issuance status of the target parent order is not issued, indicating that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order.

[0068] Not issued means that the target parent order has not been issued to the warehouse. Here, the reasons for not being issued include but are not limited to suspension of issuance, order exception, not reaching the issuance time, etc. Among them, the suspension of issuance can be caused by various situations such as the warehouse inventory taking to stop operations.

[0069] In an alternative embodiment, when the order status of the target parent order indicates that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order includes:

[0070] When the issuance status of the target parent order is issued, determining whether the target sub - order can be cancelled according to the warehouse status of the target parent order;

[0071] In response to the warehouse status of the above-mentioned target parent order being any one of locating, picking, unloading, packing, and rechecking, it is indicated that the above-mentioned target sub-order can be cancelled. Based on the above-mentioned target sub-order cancellation instruction, the target sub-order in the above-mentioned target parent order is deleted, and the order details of the above-mentioned target parent order are updated.

[0072] Among them, "issued" means that the target parent order has been issued to the warehouse. The warehouse status mainly includes locating, picking, unloading, packing, and rechecking. Here, when the target parent order is in the state of locating, picking, unloading, or packing, the target sub-order can be cancelled. For the target parent order in the rechecking state, the rechecking status of the target sub-order needs to be obtained. Since the rechecking status of the target sub-order has been determined in the above steps, therefore, there is no need to obtain the rechecking status of the target sub-order again here.

[0073] In an alternative embodiment, the deleting the target sub-order in the above-mentioned target parent order based on the above-mentioned target sub-order cancellation instruction and updating the order details of the above-mentioned target parent order includes:

[0074] Cancelling the above-mentioned target sub-order based on the above-mentioned target sub-order cancellation instruction, and marking the cancellation status of the goods and quantities of the above-mentioned target sub-order in the above-mentioned target parent order. Among them, marking the cancellation status is for status prompt in subsequent logistics links.

[0075] Specifically, when the target sub-order can be cancelled and there are unloaded goods in the goods details to be cancelled, the operation of returning the unloaded goods to the shelf is supported for the above-mentioned unloaded goods.

[0076] Furthermore, after the target sub-order is deleted, it is also necessary to generate a successful result of cancelling the target sub-order and feedback it to the user terminal.

[0077] The following uses a specific embodiment to illustrate the process of cancelling the sub-order in detail:

[0078] Figure 2 It is a schematic diagram of generating a parent order by combining sub-orders according to an embodiment of the present invention. As Figure 2 shown, when the logistics platform receives the sales outbond orders ESL001, ESL002, and ESL003 issued by the user terminal, according to the preset order combination rule, the above three orders can be combined as sub-orders into 1 parent order, that is, the sales outbond order ESL004.

[0079] Figure 3 It is a schematic diagram of the process of cancelling the target sub-order according to an embodiment of the present invention. As Figure 3As shown in the figure, when the logistics platform receives an order cancellation request for sales delivery order ESL001 and finds that ESL001 has an associated parent order ESL004, this order cancellation request indicates a request to cancel the child order ESL001 in the parent order ESL004. The access layer of the logistics platform calls the transaction layer cancellation interface to generate and issue a target child order cancellation instruction for ESL001.

[0080] Taking the associated parent order ESL004 of the target child order ESL001 as the target parent order, the transaction layer of the logistics platform obtains the order status of the target parent order ESL004 and conducts a status check.

[0081] First, judge the outbound status of the target parent order ESL004. When the outbound status of the target parent order ESL004 is "outbound", it indicates that the target child order ESL001 cannot be cancelled. The transaction layer generates a result of failed cancellation of the target child order ESL001 and feedbacks it to the user side, and the process of cancelling the target child order ends.

[0082] When the outbound status of the target parent order ESL004 is "not outbound", the transaction layer further determines the review status of the target child order ESL001. When the review status of the target child order is "under review" or "review completed", a result of failed cancellation of the target child order ESL001 is generated and feedbacked to the user side, and the process of cancelling the target child order ends; when the review status of the target child order is "not reviewed", the target child order cancellation instruction is issued to the fulfillment layer to determine whether the above target child order can be cancelled according to the issued status of the target parent order ESL004.

[0083] When the fulfillment layer receives the target child order cancellation instruction, it determines the issued status of the target parent order ESL004. When the issued status of the target parent order ESL004 is "not issued", it indicates that the target child order ESL001 can be cancelled. According to the target child order cancellation instruction, the corresponding quantity of goods represented by the details to be cancelled in the target parent order ESL004 is deleted, the order details of the target parent order ESL004 are updated, and a cancellation status mark is made for the goods and quantities that have been cancelled in the target parent order ESL004, as Figure 4 shown, so as to facilitate a pop-up prompt in subsequent logistics links that this order has been partially cancelled and the current effective quantity of goods to prevent errors, and then a result of successful cancellation of the target child order ESL001 is generated and feedbacked to the user side, and the process of cancelling the target child order ends.

[0084] When the issued status of the target parent order ESL004 is "issued", the fulfillment layer issues the target child order cancellation instruction to the WMS (Warehouse Management System) to determine whether the above target child order can be cancelled according to the warehouse status of the target parent order ESL004.

[0085] When the WMS receives the target sub - order cancellation instruction, it determines the warehouse status of the target parent order ESL004. When the warehouse status of the target parent order ESL004 is any one of positioning, picking, unloading, and packing, it indicates that the above - mentioned target sub - order ESL001 can be cancelled. According to the target sub - order cancellation instruction, the corresponding quantity of goods represented by the details to be cancelled in the target parent order ESL004 is deleted, the order details of the target parent order ESL004 are updated, and a cancellation status mark is made for the goods and quantities that have been cancelled in the target parent order ESL004, so as to give a prompt in the subsequent logistics links to prevent errors. Then, a successful cancellation result of the target sub - order ESL001 is generated and fed back to the user side, and the process of cancelling the target sub - order ends.

[0086] When the warehouse status of the target parent order ESL004 is verification, since the above steps have confirmed that the verification status of the target sub - order ESL001 is un - verified, therefore, there is no need to judge the verification status of the sub - orders in the target parent order again. The above - mentioned target sub - order ESL001 can be cancelled. According to the target sub - order cancellation instruction, the corresponding quantity of goods represented by the details to be cancelled in the target parent order ESL004 is deleted, the order details of the target parent order ESL004 are updated, and a cancellation status mark is made for the goods and quantities that have been cancelled in the target parent order ESL004, so as to give a prompt in the subsequent logistics links to prevent errors. Then, a successful cancellation result of the target sub - order ESL001 is generated and fed back to the user side, and the process of cancelling the target sub - order ends.

[0087] When the warehouse status of the target parent order ESL004 is other or abnormal, it is necessary to obtain the specific reasons for the target parent order ESL004 being in other status or abnormal status, and judge whether the target sub - order ESL001 can be cancelled based on the specific reasons and the actual situation, which is not limited one by one here.

[0088] It can be seen from the sub - order cancellation method according to the embodiments of the present invention that by obtaining the order status of the target parent order and the target sub - order, it is determined whether the target sub - order can be cancelled, and the scenarios of sub - order cancellation are refined. When it indicates that the target sub - order can be cancelled, the details of the target sub - order in the target parent order are directly deleted, and the order details of the target parent order after deleting the target sub - order are updated. There is no need to cancel the entire target parent order, nor to pull back all the remaining sub - orders for re - combining after deleting the target sub - order, which greatly saves the operation cost, ensures the logistics timeliness, improves the user's logistics service experience, and increases customer stickiness.

[0089] Figure 5 It is a schematic diagram of the main modules of the sub - order cancellation device according to the embodiments of the present invention.

[0090] As Figure 5 shown, the sub - order cancellation device 500 according to the embodiments of the present invention includes:

[0091] A receiving module 501, configured to receive an order cancellation request and generate a target sub - order cancellation instruction for a target sub - order to be cancelled;

[0092] An obtaining module 502, configured to use the parent order corresponding to the above - mentioned target sub - order as a target parent order and obtain the order status of the above - mentioned target parent order;

[0093] A cancellation module 503, configured to when the order status of the above - mentioned target parent order indicates that the target sub - order can be cancelled, delete the target sub - order in the above - mentioned target parent order based on the above - mentioned target sub - order cancellation instruction, and update the order details of the above - mentioned target parent order.

[0094] In an optional embodiment of the present invention, after the above - mentioned obtaining module 502, the device 500 further includes: a feedback module, configured to when the order status of the above - mentioned target parent order is out of the warehouse, indicating that the target sub - order cannot be cancelled, feedback a target sub - order cancellation failure result.

[0095] In an optional embodiment of the present invention, the device 500 further includes: a determination module, configured to when the order status of the above - mentioned target parent order is not out of the warehouse, determine the review status of the target sub - order; in response to the review status of the above - mentioned target sub - order being unreviewed, determine whether the target sub - order can be cancelled according to the issuance status of the target parent order.

[0096] In an optional embodiment of the present invention, the step of in response to the review status of the above - mentioned target sub - order being unreviewed, determining whether the target sub - order can be cancelled according to the issuance status of the target parent order includes: determining the details to be cancelled of the above - mentioned target sub - order, and judging whether there are reviewed commodities in the details to be cancelled based on the review status of the above - mentioned target sub - order; when there are no reviewed commodities in the details to be cancelled, indicating that the review status of the target sub - order is unreviewed, and determining whether the target sub - order can be cancelled according to the issuance status of the target parent order.

[0097] In an optional embodiment of the present invention, the above - mentioned cancellation module 503 is further configured to: when the issuance status of the above - mentioned target parent order is not issued, indicating that the above - mentioned target sub - order can be cancelled, delete the target sub - order in the above - mentioned target parent order based on the above - mentioned target sub - order cancellation instruction, and update the order details of the above - mentioned target parent order.

[0098] In an optional embodiment of the present invention, the above - mentioned cancellation module 503 is further configured to: when the issuance status of the above - mentioned target parent order is issued, determine whether the target sub - order can be cancelled according to the warehouse status of the target parent order; in response to the warehouse status of the above - mentioned target parent order being any one of locating, picking, shelving, packing, and reviewing, indicating that the above - mentioned target sub - order can be cancelled, delete the target sub - order in the above - mentioned target parent order based on the above - mentioned target sub - order cancellation instruction, and update the order details of the above - mentioned target parent order.

[0099] In an alternative embodiment of the present invention, deleting the target sub - order in the target parent order based on the above - mentioned target sub - order cancellation instruction and updating the order details of the target parent order includes: canceling the target sub - order based on the target sub - order cancellation instruction, and marking the cancellation status of the goods and quantity of the target sub - order in the target parent order.

[0100] According to the sub - order cancellation device of the embodiment of the present invention, by obtaining the order status of the target parent order, it is determined whether the target sub - order can be cancelled. When it is characterized that the target sub - order can be cancelled, the details of the target sub - order in the target parent order are directly deleted, and the order details of the target parent order after deleting the target sub - order are updated. There is no need to cancel the entire target parent order, nor to pull back all the remaining sub - orders for re - combining after deleting the target sub - order, which greatly saves the operation cost, ensures the logistics timeliness, improves the user's logistics service experience, and increases customer stickiness.

[0101] Figure 6 Exemplary system architecture 600 to which the sub - order cancellation method or sub - order cancellation device of the embodiment of the present invention can be applied is shown.

[0102] As Figure 6 shown, system architecture 600 may include terminal devices 601, 602, 603, network 604, and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0103] Users can use terminal devices 601, 602, 603 to interact with server 605 through network 604 to receive or send data, etc. Various communication client applications can be installed on terminal devices 601, 602, 603, such as shopping - type applications, web browser applications, search - type applications, instant messaging tools, email clients, social platform software, etc.

[0104] Terminal devices 601, 602, 603 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, and desktop computers, etc.

[0105] Server 605 can be a server providing various services, such as a background management server that supports the order cancellation requests sent by users using terminal devices 601, 602, 603. The background management server can perform processing such as target sub - order cancellation based on the obtained order status of the target parent order, and feedback the processing result (such as the result of successful cancellation of the target sub - order) to the terminal device.

[0106] It should be noted that the sub - order cancellation method provided by the embodiments of the present invention is generally executed by the server 605. Correspondingly, the sub - order cancellation device is generally disposed in the server 605.

[0107] It should be understood that Figure 6 the numbers of the terminal devices, networks, and servers in

[0108] are merely illustrative. According to actual requirements, there can be any number of terminal devices, networks, and servers. Figure 7 is a schematic structural diagram of a computer system 700 of a terminal device suitable for implementing the embodiments of the present invention. Figure 7 The terminal device shown is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.

[0109] As Figure 7 shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the programs stored in the read - only memory (ROM) 702 or the programs loaded from the storage section 708 into the random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other via a bus 704. The input / output (I / O) first interface 705 is also connected to the bus 704.

[0110] The following components are connected to the I / O first interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network first interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O first interface 705 as required. A removable medium 711, such as a magnetic disk, an optical disk, a magneto - optical disk, a semiconductor memory, etc., is installed on the drive 710 as required so that the computer program read from it can be installed into the storage section 708 as required.

[0111] In particular, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above functions defined in the system of the present invention are executed.

[0112] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code, and the above-mentioned module, segment of a program, or part of code includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as combinations of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0114] The modules involved in the embodiments of the present invention can be implemented in software or in hardware. The described modules can also be provided in a processor. For example, it can be described as: a processor includes a receiving module, an obtaining module, and a canceling module. Among them, the names of these modules do not constitute a limitation on the module itself in some cases. For example, the receiving module can also be described as "a module that receives an order cancellation request and generates a target sub-order cancellation instruction for the target sub-order to be canceled".

[0115] As another aspect, the present invention also provides a computer-readable medium, which can be included in the device described in the above embodiments; or can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by a device, the device includes: receiving an order cancellation request, generating a target sub-order cancellation instruction for the target sub-order to be canceled; taking the parent order corresponding to the above target sub-order as the target parent order, and obtaining the order status of the above target parent order; when the order status of the above target parent order indicates that the target sub-order can be canceled, deleting the target sub-order in the above target parent order based on the above target sub-order cancellation instruction, and updating the order details of the above target parent order.

[0116] According to the technical solution of the embodiments of the present invention, it is possible to determine whether the target sub-order can be canceled by obtaining the order status of the target parent order. When it indicates that the target sub-order can be canceled, directly delete the details of the target sub-order in the target parent order, and update the order details of the target parent order after deleting the target sub-order, without canceling the entire target parent order, nor pulling back all the remaining sub-orders and re-merging them after deleting the target sub-order, which greatly saves the operation cost, ensures the logistics timeliness, improves the user's logistics service experience, and increases customer stickiness.

[0117] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for canceling a sub - order, characterized in that, Including: Receiving an order cancellation request, and generating a target sub - order cancellation instruction for the target sub - order to be cancelled; Regarding the parent order corresponding to the target sub - order as the target parent order, and obtaining the order status of the target parent order; When the order status of the target parent order indicates that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order.

2. The method for canceling a sub - order according to claim 1, characterized in that, After obtaining the order status of the target parent order, the method further includes: When the order status of the target parent order is "shipped out", indicating that the target sub - order cannot be cancelled, feedbacking the result of the failure to cancel the target sub - order.

3. The method for canceling a sub - order according to claim 2, characterized in that, The method further includes: When the order status of the target parent order is "not shipped out", determining the review status of the target sub - order; In response to the review status of the target sub - order being "not reviewed", determining whether the target sub - order can be cancelled according to the issued status of the target parent order.

4. The method for canceling a sub - order according to claim 3, characterized in that, The step of, in response to the review status of the target sub - order being "not reviewed", determining whether the target sub - order can be cancelled according to the issued status of the target parent order includes: Determining the details to be cancelled of the target sub - order, and judging whether there are reviewed items in the details to be cancelled based on the review status of the target sub - order; When there are no reviewed items in the details to be cancelled, indicating that the review status of the target sub - order is "not reviewed", determining whether the target sub - order can be cancelled according to the issued status of the target parent order.

5. The method for canceling a sub - order according to claim 4, characterized in that, The step of, when the order status of the target parent order indicates that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order includes: When the issued status of the target parent order is "not issued", indicating that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order.

6. The method for canceling a sub - order according to claim 5, characterized in that, The step of, when the order status of the target parent order indicates that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order includes: When the issued status of the target parent order is "issued", determining whether the target sub - order can be cancelled according to the warehouse status of the target parent order; In response to the warehouse status of the target parent order being any one of "locating", "picking", "unloading from shelves", "packing", "reviewing", indicating that the target sub - order can be cancelled, deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order.

7. The method for canceling a sub - order according to any one of claims 5 or 6, characterized in that, The step of deleting the target sub - order in the target parent order based on the target sub - order cancellation instruction, and updating the order details of the target parent order includes: Cancelling the target sub - order based on the target sub - order cancellation instruction, and marking the status of cancellation for the items and quantities of the target sub - order in the target parent order.

8. A device for canceling a sub - order, characterized in that, Including: A receiving module, configured to receive an order cancellation request, and generate a target sub - order cancellation instruction for the target sub - order to be cancelled; An obtaining module, configured to regard the parent order corresponding to the target sub - order as the target parent order, and obtain the order status of the target parent order; A cancellation module, configured to, when the order status of the target parent order indicates that the target sub - order can be cancelled, delete the target sub - order in the target parent order based on the target sub - order cancellation instruction, and update the order details of the target parent order.

9. An electronic device for canceling a sub - order, characterized in that, It includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 - 7.

10. A computer - readable medium, on which a computer program is stored, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1 - 7.