Order whole-process cancellation method and device, electronic equipment and computer storage medium

By implementing a full-process order cancellation method, the problem of orders being unable to be cancelled throughout the entire transaction process was solved. This enabled efficient cancellation and coordinated cancellation of combined orders, improving user experience and reducing customer service intervention.

CN113919918BActive Publication Date: 2026-04-28GUANGZHOU PINWEI SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU PINWEI SOFTWARE CO LTD
Filing Date
2021-10-21
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing technologies, orders cannot be cancelled at the end of the transaction process, especially orders that have been packaged but not yet shipped. This results in low cancellation efficiency, poor customer experience, and the need for a large number of customer service interventions.

Method used

This provides a method for canceling orders throughout the entire process. By receiving user cancellation requests, obtaining the order shipment status, sending query instructions to the supply chain system, and processing cancellations based on the query results, it includes direct cancellation for orders that have not yet been shipped and cancellation of delivery work orders for orders that have already been shipped. It also supports the coordinated cancellation of combined orders.

Benefits of technology

It enables full-process order cancellation, improving cancellation efficiency, enhancing customer experience, reducing customer service intervention, and refining order cancellation logic and business processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919918B_ABST
    Figure CN113919918B_ABST
Patent Text Reader

Abstract

The application relates to an order whole-process cancellation method and device, electronic equipment and a computer storage medium, wherein the method comprises the following steps: receiving an order cancellation request of a user, obtaining a delivery state of a to-be-cancelled order in a whole transaction process according to order information; if the delivery state is not delivered, sending an order-cancellation query instruction containing the order information to a supply chain system, so that the supply chain system processes the query instruction to generate a query result; cancelling the to-be-cancelled order according to the query result returned by the supply chain system; if the delivery state is delivered, sending a cancellation distribution work order to the supply chain system, so that the supply chain system sends a cancellation distribution instruction to a carrier system after receiving the cancellation distribution work order and obtains a cancellation distribution result from the carrier system; and cancelling the to-be-cancelled order according to the cancellation distribution result returned by the supply chain system, so that the whole-process order cancellation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of commodity information processing technology, and in particular to a method, apparatus, electronic device, and computer storage medium for canceling an order throughout the entire process. Background Technology

[0002] With the rapid development of the internet, online shopping has become a common way for people to shop. In online shopping, after a user places an order for a certain product, the order system generates a corresponding order. In order to protect consumer rights, buyers are usually allowed to cancel the order.

[0003] Currently, order cancellation is not possible at all stages of the transaction process. For certain stages, such as when an order has been packaged but not shipped for a long time, the user cannot cancel the order and a customer complaint needs to be filed. This not only leads to low order cancellation efficiency and a poor customer experience, but also results in a large number of customer service interventions. Summary of the Invention

[0004] To address the aforementioned technical problems, this invention provides a method, apparatus, electronic device, and computer storage medium for canceling the entire order process, as detailed below:

[0005] Firstly, a method for canceling an order throughout the entire process is provided, applied to an order system, the method comprising:

[0006] Receive a user's order cancellation request, the order request including order information of the order to be cancelled;

[0007] Based on the order information, obtain the shipment status of the order to be cancelled throughout the entire transaction process;

[0008] If the shipment status is "not shipped", a query instruction containing the order information is sent to the supply chain system to determine whether the order can be cancelled, so that the supply chain system processes the query instruction and generates a query result.

[0009] The order to be cancelled is cancelled based on the query results returned by the supply chain system;

[0010] If the shipment status is "shipped", a cancellation order is sent to the supply chain system, so that the supply chain system sends a cancellation instruction to the carrier system after receiving the cancellation order and obtains the cancellation result from the carrier system.

[0011] The order to be cancelled is cancelled based on the cancellation result returned by the supply chain system.

[0012] In a preferred embodiment, the cancellation process for the order to be cancelled is performed based on the query results returned by the supply chain system.

[0013] If the query result indicates that the order can be cancelled, then the order to be cancelled will be cancelled directly.

[0014] If the query result indicates that the delivery cancellation order is not cancelable, then the cancellation order is sent to the supply chain system.

[0015] In a preferred embodiment, if the shipment status is "not shipped," sending a query instruction to the supply chain system regarding whether the order, containing the order information, can be cancelled includes:

[0016] Send a first query instruction for the order to be cancelled to the supply chain system, so that after receiving the first query instruction, the supply chain system generates a first query result based on the packaging status of the order to be cancelled, and returns the first query result to the order system;

[0017] If the first query result is non-cancellable, a second query instruction for the order to be cancelled is sent to the supply chain system, so that after receiving the second query instruction, the supply chain system generates a second query result based on the pickup status of the order to be cancelled, and returns the second query result to the order system;

[0018] The order to be cancelled is cancelled based on the second query result.

[0019] In a preferred embodiment, the method further includes: obtaining the first combined status of the order to be cancelled based on the order information;

[0020] If the first consolidation status is "consolidated", then before sending the query instruction to the supply chain system to determine whether the order to be cancelled can be cancelled, the following steps are included:

[0021] Generate a notification message containing the combined order and send it to the client so that the user can determine whether to cancel the combined order.

[0022] If the user chooses to cancel the order in conjunction with the transaction, a query instruction to be sent to the supply chain system to determine whether the order to be cancelled is cancelable includes:

[0023] Send a third query instruction for the consolidated order to the supply chain system, so that after receiving the third query instruction, the supply chain system generates the third query result based on the pickup status of the consolidated order and returns the third query result to the order system;

[0024] The order to be cancelled is cancelled based on the third query result.

[0025] In a preferred embodiment, if the first consolidation status is not consolidated, sending a query instruction to the supply chain system regarding whether the order to be cancelled can be cancelled includes:

[0026] Send a fourth query instruction for the order to be cancelled to the supply chain system, so that after receiving the fourth query instruction, the supply chain system generates a fourth query result based on the packaging status and the second combined packaging status of the order to be cancelled, and returns the fourth query result to the order system;

[0027] The order to be cancelled is cancelled based on the fourth query result.

[0028] In a preferred embodiment, the step of cancelling the order to be canceled based on the fourth query result includes:

[0029] If the second combined package status in the fourth query result is "combined", then a prompt message containing the combined package order is generated and sent to the client so that the user can determine whether to cancel the combined package order.

[0030] If the user chooses to cancel the order, a fifth query instruction for the combined order is sent to the supply chain system. Upon receiving the fifth query instruction, the supply chain system generates a fifth query result based on the pickup status of the combined order and returns the fifth query result to the order system.

[0031] The order to be cancelled is cancelled based on the fifth query result.

[0032] In a preferred embodiment, the step of cancelling the order to be canceled based on the cancellation delivery result returned by the supply chain system includes:

[0033] If the cancellation result is successful, the order to be cancelled will be cancelled directly.

[0034] If the cancellation result is a cancellation failure, the pending cancellation order will not be processed.

[0035] Secondly, a device for canceling an entire order process is provided, the device comprising:

[0036] The receiving module is used to receive a user's order cancellation request, wherein the order request includes order information of the order to be cancelled;

[0037] The acquisition module is used to obtain the shipment status of the order to be cancelled throughout the entire transaction process based on the order information;

[0038] The query instruction sending module is used to send a query instruction containing the order information to the supply chain system to determine whether the order can be cancelled if the shipment status is "not shipped", so that the supply chain system can process the query instruction and generate a query result.

[0039] The first cancellation module is used to cancel the order to be cancelled based on the query results returned by the supply chain system.

[0040] The cancellation delivery order sending module is used to send a cancellation delivery order to the supply chain system if the delivery status is "delivered", so that the supply chain system sends a cancellation delivery instruction to the carrier system after receiving the cancellation delivery order and obtains the cancellation delivery result from the carrier system.

[0041] The second processing module is used to cancel the order to be cancelled based on the cancellation delivery result returned by the supply chain system.

[0042] Thirdly, an electronic device is provided, characterized in that it comprises:

[0043] One or more processors; and

[0044] A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the method described above.

[0045] Fourthly, a computer storage medium is provided that stores a computer program thereon, wherein the program, when executed by a processor, implements the method described above.

[0046] This invention provides corresponding order cancellation processes at each stage of the entire transaction process, from order placement to packaging, from packaging to pickup, and from pickup to shipment, thereby enabling full-process order cancellation. Furthermore, this invention supports the cancellation of combined orders and linked cancellations, improving the order cancellation logic and business processes, enhancing user experience, and reducing the number of cancelled orders entering the system. Attached Figure Description

[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 This is a flowchart of the order cancellation process in an embodiment of the present invention;

[0049] Figure 2This is a flowchart illustrating order cancellation in the case of non-delivery in an embodiment of the present invention;

[0050] Figure 3 This is a framework diagram of the order cancellation process in an embodiment of the present invention;

[0051] Figure 4 This is a framework diagram of the order cancellation device in an embodiment of the present invention;

[0052] Figure 5 This is an architectural diagram of an electronic device in an embodiment of the present invention. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0054] To address the issue mentioned in the background section that existing technologies cannot cancel orders throughout the entire transaction process, this invention provides a method, apparatus, electronic device, and computer storage medium for canceling orders throughout the entire process, which will be described in detail below with reference to the accompanying drawings.

[0055] like Figure 1 As shown, this invention provides a method for canceling an order throughout the entire process, applied to an order system. The method includes:

[0056] S11. Receive the user's order cancellation request, which includes the order information of the order to be cancelled;

[0057] In this step, the client provides a page for users to select the reason for cancellation, a refund preview, and other cancellation-related information. After the user clicks "Apply for Cancellation" on the client for the order to be cancelled, an order cancellation request is generated. The order cancellation request includes the order information of the order to be cancelled, including the order number. After receiving the order cancellation request, the order system records the reason for order cancellation.

[0058] S12. Obtain the shipment status of the order to be cancelled throughout the entire transaction process based on the order information;

[0059] S13. If the shipment status is "not shipped", send a query instruction containing order information to the supply chain system to determine whether the order can be cancelled, so that the supply chain system can process the query instruction and generate query results.

[0060] S14. Cancel the orders to be cancelled based on the query results returned by the supply chain system;

[0061] S15. If the shipment status is "shipped", send a cancellation order to the supply chain system so that the supply chain system can send a cancellation instruction to the carrier system and obtain the cancellation result from the carrier system after receiving the cancellation order.

[0062] S16. Cancel the pending orders based on the cancellation results returned by the supply chain system.

[0063] In the above steps, the order system first obtains the shipping status of orders to be cancelled based on the order information. For orders that have not yet been shipped, the order system sends a query instruction to the supply chain system to determine whether the order can be cancelled. The supply chain system then checks the order information in the query instruction to determine whether the order to be cancelled can be cancelled. Specifically, for orders that have not yet been shipped, their status in the supply chain system includes whether they have been packaged and whether they have been picked up. Therefore, the supply chain system generates query results based on whether the order to be cancelled has been packaged and / or picked up, and the query results include whether the order can be cancelled or not. After receiving the query results, the order system cancels the order to be cancelled. For orders that have already been shipped, the order system issues a cancellation order to the supply chain system. Specifically, the client sends a logistics interception notification. After viewing the notification, the user chooses whether to allow the logistics to be intercepted. If the user chooses to allow the logistics to be intercepted, they are directed to the customer service system, which then issues a cancellation order to the supply chain system. Upon receiving the cancellation order, the supply chain system sends a cancellation instruction to the carrier system. The carrier cancels the delivery of the order and sends the cancellation result back to the supply chain system. The supply chain system then sends the cancellation result back to the order system, which then cancels the order based on the cancellation result.

[0064] Furthermore, to help users understand the order cancellation progress, a feature has been added to query the order cancellation progress and display it on the client side.

[0065] In this invention, upon receiving a user's order cancellation request, the system obtains the shipping status of the order to be cancelled throughout the entire transaction process based on the order information. For orders that have not yet been shipped, the order system sends a query instruction containing order information to the supply chain system to determine whether the order can be cancelled. The supply chain system processes the query instruction and generates a query result. The order system then cancels the order based on the query result returned by the supply chain system. For orders that have already been shipped, the order system sends a cancellation delivery order to the supply chain system. The supply chain system then sends a cancellation delivery instruction to the carrier system. The carrier system generates a cancellation delivery result for the order to be cancelled. The order system then cancels the order based on the cancellation delivery result returned by the supply chain system. This achieves full-process order cancellation throughout the entire order transaction, avoiding the problem of uncancelled, packaged orders that have not yet been shipped being left uncancelled for extended periods in existing technologies. This improves the efficiency of order cancellation, enhances customer experience, and, for different shipping statuses throughout the process, sets corresponding cancellation procedures and displays the entire cancellation progress to the client, avoiding extensive customer service intervention and reducing the pressure on the order system.

[0066] In a preferred embodiment, cancelling an order to be cancelled based on the query results returned by the supply chain system includes:

[0067] If the query result indicates that the order can be cancelled, then the order to be cancelled will be cancelled directly.

[0068] If the query result indicates that the delivery cannot be cancelled, a cancellation order will be sent to the supply chain system.

[0069] In this embodiment, the query results include two cases: cancelable and non-cancellable. Therefore, the processing of orders to be cancelled in this invention includes two cases: one is cancelable, in which case the order system directly cancels the order to be cancelled and sends the cancellation result to the client, while modifying the order status; the other is non-cancellable, in which case a cancellation delivery work order is sent to the supply chain system to initiate the cancellation delivery process. After receiving the cancellation delivery work order, the supply chain system sends a cancellation delivery instruction to the carrier system. The carrier cancels the delivery of the order to be cancelled and sends the cancellation delivery result to the supply chain system. The supply chain system sends the cancellation delivery result to the order system, and the order system cancels the order to be cancelled based on the cancellation delivery result.

[0070] In this embodiment, for orders that have not been shipped, the order system cancels the orders to be cancelled based on the query results. If the order can be cancelled, it is cancelled directly. If the order cannot be cancelled, a cancellation order is sent to the supply chain system to cancel the delivery and follow the cancellation process. This completes the order cancellation process for orders that have not been shipped under different circumstances.

[0071] In a preferred embodiment, such as Figure 2 As shown in S13, if the shipment status is "not shipped," a query instruction is sent to the supply chain system to determine whether the pending order can be cancelled, including:

[0072] S131. Send a first query instruction for the order to be cancelled to the supply chain system, so that after receiving the first query instruction, the supply chain system generates a first query result based on the packaging status of the order to be cancelled, and returns the first query result to the order system;

[0073] S132. If the first query result is non-cancellable, a second query instruction for the order to be cancelled is sent to the supply chain system so that the supply chain system generates a second query result based on the pickup status of the order to be cancelled after receiving the second query instruction, and returns the second query result to the order system.

[0074] S133. Cancel the order to be cancelled based on the second query result.

[0075] In this embodiment, before sending a query instruction to the supply chain system to determine whether the order to be cancelled can be cancelled, the order system further includes determining whether the order to be cancelled has been captured by the supply chain system based on the order information. If it has not been captured, the order system directly cancels the order to be cancelled. If it has been captured, the order system sends a first query instruction to the supply chain system. The first query instruction contains the order information of the order to be cancelled. After receiving the first query instruction, the supply chain system queries the packaging status of the order to be cancelled. Specifically, for step S131, the query is performed through the warehouse management system in the supply chain system. Since the supply chain system will automatically mark the order to be cancelled as cancelled if it is cancelable after querying the order to be cancelled, it first needs to determine whether the order to be cancelled has been cancelled. If it has been cancelled, the first query result is cancelled. If it has not been cancelled, the packaging status of the order to be cancelled is determined. If any package corresponding to the order to be cancelled has been packaged, the first query result is non-cancellable. If none of the packages corresponding to the order to be cancelled have been packaged, the first query result is cancelable.

[0076] If the first query result is cancelable, then the order to be canceled will be canceled according to the first query result. That is, if none of the packages corresponding to the order to be canceled have been packed, then process S141 will be executed to directly cancel the order to be canceled, thereby canceling the order to be canceled in a timely manner.

[0077] For step S132, if the first query result is non-cancellable, that is, any package corresponding to the order to be cancelled has been packed, then it is necessary to continue to query the pickup status of the supply chain system. Specifically, the transportation management system in the supply chain system queries after receiving the second query instruction. If the order to be cancelled has been cancelled, then the pickup status is not picked up and the second query result is cancelable. If it is not cancelled, then it is determined whether the package corresponding to the order has been shipped out of the warehouse. If it has been shipped out of the warehouse, then the pickup status is picked up and the second query result is non-cancellable. If it has not been shipped out of the warehouse, then it is determined whether any package corresponding to the order to be cancelled has been picked up. If it is, then the pickup status is picked up and the second query result is non-cancellable. If not, then it is not picked up and the second query result is cancelable.

[0078] For step S133, if the second query result is cancelable, then step S141 is executed to directly cancel the order to be canceled. If the second query result is non-cancellable, then step S142 is executed, that is, a cancellation delivery order is sent to the supply chain system to initiate the cancellation delivery process. After receiving the cancellation delivery order, the supply chain system sends a cancellation delivery instruction to the carrier system. The carrier cancels the delivery of the order to be canceled and sends the cancellation delivery result to the supply chain system. The supply chain system sends the cancellation delivery result to the order system, and the order system cancels the order to be canceled based on the cancellation delivery result.

[0079] In a preferred embodiment, the method further includes:

[0080] Obtain the first combined status of the order to be cancelled based on the order information;

[0081] If the first consolidation status is "consolidated," the process includes the following before sending a query to the supply chain system to inquire whether the pending order can be cancelled:

[0082] Generate a notification message containing the combined order information and send it to the client so that the user can decide whether to cancel the combined order.

[0083] If the user chooses to cancel the order in conjunction with the order, a query instruction will be sent to the supply chain system to determine whether the order can be cancelled. This instruction includes:

[0084] Send a third query instruction for the consolidated order to the supply chain system, so that after receiving the third query instruction, the supply chain system can generate a third query result based on the pickup status of the consolidated order and return the third query result to the order system;

[0085] The order to be cancelled will be cancelled based on the results of the third query.

[0086] In practical applications, users may purchase different goods at different times, generating different orders. If the goods are shipped from the same warehouse, the warehouse management system in the supply chain system will merge and package different orders from the same user within a preset time period, generating a combined order. The warehouse management system then sends the combined order's combination identifier to the order system. At this point, the combined status of the order in the order system is "combined"; otherwise, it is "uncombined." Therefore, before sending a query instruction to the supply chain system, the order system needs to determine the first combined status of the order to be cancelled. Specifically, the order system can query based on the order information. If the first combined status is "combined," it means that the goods corresponding to the order to be cancelled have been combined and packaged with goods from other orders. Therefore, the order system generates a prompt message containing the combined order and sends it to the client. The user needs to further determine whether to cancel all orders in the combined order, that is, whether to cancel them together. If the user chooses to cancel together, the order system sends a third query instruction for the combined order to the supply chain system. After receiving the third query instruction, the supply chain system generates a third query result based on the pickup status of the combined order. If the user chooses to cancel without linkage, the order to be cancelled cannot be cancelled, and the subsequent transaction process will proceed normally.

[0087] If any corresponding package in the combined order has been shipped from the warehouse, the third query result will be "cannot be cancelled". If it has not been shipped from the warehouse, it will be determined whether any corresponding package in the combined order has been picked up. If yes, the third query result will be "cannot be cancelled". If no, the third query result will be "cancellable".

[0088] If the third query result indicates cancellation is possible, proceed to step S141 to directly cancel the order to be cancelled. If the third query result indicates non-cancellation, proceed to step S142 to send a cancellation order to the supply chain system and initiate the cancellation process. After receiving the cancellation order, the supply chain system sends a cancellation instruction to the carrier system. The carrier cancels the delivery of the combined order and sends the cancellation result back to the supply chain system. The supply chain system then sends the cancellation result to the order system, which cancels the order to be cancelled based on the cancellation result.

[0089] In a preferred embodiment, if the first consolidation status is not consolidated, sending a query instruction to the supply chain system regarding whether the pending order can be cancelled includes:

[0090] Send a fourth query instruction for the order to be cancelled to the supply chain system, so that after receiving the fourth query instruction, the supply chain system generates a fourth query result based on the packaging status and the second consolidation status of the order to be cancelled, and returns the fourth query result to the order system;

[0091] The order to be cancelled will be cancelled based on the results of the fourth query.

[0092] In practical applications, there is a certain time lag between when the warehouse management system merges and packages different orders from users within a preset time and when it sends the merged package identifier to the order system. Therefore, there may be situations where the order system does not have a second merged package status, but the warehouse management system has already merged and packaged the order. Therefore, when the order system finds that the order to be cancelled does not have a second merged package status, it sends a fourth query instruction for the order to be cancelled to the supply chain system. After receiving the fourth query instruction, the supply chain system queries the packaging status of the order to be cancelled and whether it has a second merged package status.

[0093] If the order to be cancelled has not been packaged, then the second state is "combined package". In the fourth query result, it will be "cancellable", and the order system can cancel it directly.

[0094] If the order to be cancelled has already been packaged and the second package status is not packaged, then the fourth query result is that it cannot be cancelled. In this case, the order system will further send a query instruction on the pickup status. For details, please refer to the explanation of steps S132 and S133, which will not be repeated here.

[0095] If the order to be cancelled has already been packaged and the second combined status is "combined", then the fourth query result is "cannot be cancelled". In this case, the combined order containing both the non-cancellable and the order to be cancelled in the fourth query result is sent to the order system.

[0096] In this invention, different order cancellation processes are adopted for the combined status of orders to be cancelled. Furthermore, for combined orders that need to be cancelled, a linked cancellation is adopted, thereby realizing the cancellation of orders to be cancelled after being combined.

[0097] In a preferred embodiment, cancelling the order to be canceled based on the fourth query result includes:

[0098] If the second bundle status in the fourth query result is "bundled", then a prompt message containing the bundle order will be generated and sent to the client so that the user can determine whether to cancel the bundle order.

[0099] If the user chooses to cancel the order, the fifth query instruction for the consolidated order will be sent to the supply chain system. After receiving the fifth query instruction, the supply chain system will generate the fifth query result based on the pickup status of the consolidated order and return the fifth query result to the order system.

[0100] The order to be cancelled will be cancelled based on the results of the fifth query.

[0101] In this embodiment, if the order to be cancelled is not packaged, then in the second packaged state, step S141 is executed, and the order system directly cancels the order to be cancelled.

[0102] If the order to be cancelled has already been packaged and the second consolidation status is "consolidated," then the fourth query result is "cannot be cancelled." The fourth query result, containing both the non-cancellable and the order to be cancelled consolidation orders, is sent to the order system. Upon receiving the fourth query result, the order system generates a prompt message containing the consolidation order and sends it to the client, allowing the user to determine whether to cancel the consolidation order in conjunction with the order. If the user chooses to cancel in conjunction with the order, the order system sends a fifth query instruction for the consolidation order to the supply chain system. Upon receiving the fifth query instruction, the supply chain system generates a fifth query result based on the consolidation order's pickup status. For details, please refer to the explanation of the third query result generation process; it will not be repeated here. Next, the process of cancelling the order to be cancelled based on the fifth query result is described in the explanation of cancelling the order to be cancelled based on the third query result; it will not be repeated here.

[0103] If the order to be cancelled has already been packaged and the second package status is not packaged, then the fourth query result is that it cannot be cancelled. After receiving the fourth query result, the order system sends a sixth query instruction for the order to be cancelled to the supply chain system. After receiving the sixth query instruction, the supply chain system generates a sixth query result based on the pickup status of the order to be cancelled. The specific description of step S132 will not be repeated here. The order system cancels the order to be cancelled based on the sixth query result. For details, please refer to the description of step S133, which will not be repeated here.

[0104] In a preferred embodiment, S16, cancelling the order to be canceled based on the cancellation result returned by the supply chain system includes:

[0105] If the cancellation result is successful, the order to be cancelled will be cancelled directly.

[0106] If the cancellation result is "cancellation failed", the pending order will not be cancelled.

[0107] In this step, after receiving the cancellation result, the order system performs the corresponding operation based on the cancellation result. If the cancellation result is successful, the order system will directly cancel the order to be cancelled. If the cancellation result is unsuccessful, the order system cannot cancel the order. This scenario occurs when the order package has already started delivery, and it is impossible to intercept the order package.

[0108] like Figure 3 The diagram shown is a framework diagram of the entire order cancellation process of this invention:

[0109] S31. The client initiates an order cancellation request;

[0110] S32. The order system retrieves the shipping status of orders to be cancelled, indicating whether they have been shipped.

[0111] S321. If the order has already been shipped, the order system will determine whether the order to be cancelled has been combined into a single package.

[0112] S3211. If the package has been combined, the order system will initiate a cancellation order for the combined package to the supply chain system.

[0113] S3212. If the order is not combined with another order, the order system will initiate a cancellation order for the pending order to the supply chain system.

[0114] S322. If the order has not been shipped, the order system will determine whether the order has been captured.

[0115] S3221. If the data has already been captured, the order system will directly cancel the order to be cancelled.

[0116] S3222. If the data is not captured, the order system will determine whether the order to be cancelled has been combined into a single package.

[0117] S32221. If the order has been combined into one package, the order system will generate a notification message and send it to the client for confirmation.

[0118] S322211. If the user chooses to cancel the order together, the order system sends a query request to the supply chain system, and the supply chain system queries the status of the pickup.

[0119] S3222111. If cancellation is possible, the order will be cancelled directly by the system.

[0120] S3222112. If cancellation is not possible, the order system will initiate a cancellation order for the combined order to the supply chain system.

[0121] S322212. If the user chooses not to cancel the order, the order system will end the process.

[0122] S32222 If the order is not consolidated, the order system will query the supply chain system to see if it can be cancelled;

[0123] S322221. If cancellation is possible, the order system will directly cancel the order to be cancelled;

[0124] S322222 If cancellation is not possible, the supply chain system determines whether the package has already been packed.

[0125] S3222221. If the order is not packaged, the order system will directly cancel the order to be cancelled.

[0126] S3222222: If the package has been packed, the supply chain system determines whether the package has been consolidated.

[0127] S32222221. If the package has been combined, the order system will return the combined order to the client for confirmation.

[0128] S322222211, Repeat steps S322211 to S322212;

[0129] S32222222 If the package is not consolidated, the order system sends a query request to the supply chain system, and the supply chain system queries based on the pickup status.

[0130] S322222221. If the shipment has not been picked up, it will be cancelled directly.

[0131] S322222222: If the package has already been picked up, a cancellation order for delivery will be issued.

[0132] Furthermore, in this invention, after canceling an order to be cancelled, the order system sends a cancellation instruction to the supply chain system. Upon receiving the cancellation instruction, the supply chain system changes the order to be cancelled. Specifically, for the warehouse management system, changing an order to be cancelled to be cancelled can be done in the warehousing segment according to the order, without waiting for all cancellation instructions of the bundled orders to be collected. However, for the transportation management system, it first needs to determine whether the order has been cancelled. If it has not been cancelled, it then determines whether it is a bundled order. If it is a bundled order, it needs to collect the cancellation instructions of each order in the bundled order before executing the operation of changing the order to cancellation.

[0133] Furthermore, in this invention, when the carrier system picks up an order, it sends a pickup instruction to the supply chain system. The supply chain system then determines whether the pickup can proceed normally. Specifically, after receiving the pickup instruction, the supply chain system queries the order corresponding to the waybill and whether the order is subject to consolidation. If there is no consolidation, it directly checks whether the order has been cancelled. If it has been cancelled, pickup cannot proceed normally. If there is consolidation, it determines whether the consolidation order has been cancelled. If the consolidation order has been cancelled, pickup cannot proceed normally.

[0134] Furthermore, in this invention, the specific process of the order system issuing a cancellation order to the supply chain system is as follows: the order system sends a logistics interception prompt to the client, the user enters the customer service system, the customer service system creates a cancellation order, and after receiving the cancellation order, the supply chain system determines whether the order to be cancelled is a combined order. If it is a combined order, it needs to wait for all orders in the combined order to collect the cancellation order before sending the interception process to the carrier system. If it is not a combined order, it directly sends the interception process to the carrier system.

[0135] In this invention, there are corresponding order cancellation processes at each stage of the entire transaction process, from order placement to packaging, from packaging to pickup, and from pickup to shipment, thereby realizing the cancellation of orders throughout the entire process. Furthermore, this invention supports the cancellation of combined orders and linked cancellations, improves the order cancellation logic and business process, enhances user experience, and reduces the number of cancelled orders entering the system.

[0136] like Figure 4 As shown, the present invention also provides an order cancellation device for the entire process, the device comprising:

[0137] Receiving module 41 is used to receive a user's order cancellation request, which includes order information of the order to be cancelled;

[0138] Module 42 is used to obtain the shipping status of the order to be cancelled throughout the entire transaction process based on the order information;

[0139] The query instruction sending module 43 is used to send a query instruction containing order information to the supply chain system to determine whether the order can be cancelled if the shipment status is not shipped, so that the supply chain system can process the query instruction and generate query results.

[0140] The first cancellation module 44 is used to cancel orders to be cancelled based on the query results returned by the supply chain system.

[0141] The cancellation delivery order sending module 45 is used to send a cancellation delivery order to the supply chain system if the delivery status is "delivered". This allows the supply chain system to send a cancellation delivery instruction to the carrier system after receiving the cancellation delivery order and obtain the cancellation delivery result from the carrier system.

[0142] The second cancellation module 46 is used to cancel orders to be cancelled based on the cancellation delivery results returned by the supply chain system.

[0143] In a preferred embodiment, the first cancellation module 44 is further configured to cancel the order to be cancelled directly if the query result is that it can be cancelled; and to send a cancellation order to the supply chain system if the query result is that it cannot be cancelled.

[0144] In a preferred embodiment, the query instruction sending module 43 further includes:

[0145] The first query instruction sending unit is used to send a first query instruction for the order to be cancelled to the supply chain system, so that after receiving the first query instruction, the supply chain system generates a first query result based on the packaging status of the order to be cancelled and returns the first query result to the order system;

[0146] The second query instruction sending unit is used to send a second query instruction for the order to be cancelled to the supply chain system if the first query result is non-cancellable, so that the supply chain system can generate a second query result based on the pickup status of the order to be cancelled after receiving the second query instruction, and return the second query result to the order system.

[0147] The first cancellation module 44 is also used to cancel the order to be cancelled based on the second query result.

[0148] In a preferred embodiment, the acquisition module 42 is further configured to acquire the first bundled status of the order to be cancelled based on the order information;

[0149] The device also includes a prompt message generation module, which generates a prompt message containing the combined order and sends it to the client if the first combined order status is already combined, so that the user can determine whether to cancel the combined order.

[0150] The query instruction sending module 43 also includes a third query instruction sending unit, which is used to send a third query instruction for the consolidated order to the supply chain system if the user chooses to cancel the linkage, so that the supply chain system can generate a third query result based on the pickup status of the consolidated order after receiving the third query instruction, and return the third query result to the order system;

[0151] The first cancellation module 44 is also used to cancel orders to be cancelled based on the third query results.

[0152] In a preferred embodiment, if the first packaged status is not packaged, the query instruction sending module 43 further includes a fourth query instruction sending unit, which is used to send a fourth query instruction for the order to be cancelled to the supply chain system, so that after receiving the fourth query instruction, the supply chain system generates a fourth query result based on the packaging status of the order to be cancelled and the second packaged status, and returns the fourth query result to the order system.

[0153] The first cancellation module 44 is also used to cancel orders to be cancelled based on the fourth query result.

[0154] In a preferred embodiment, the prompt message generation module is further configured to generate a prompt message containing the combined order and send it to the client if the second combined status in the fourth query result is already combined, so that the user can determine whether to cancel the combined order.

[0155] The query instruction sending module 43 also includes a fifth query instruction sending unit for sending a fifth query instruction for the consolidated order to the supply chain system if the user chooses to cancel the linkage, so that the supply chain system can generate a fifth query result based on the pickup status of the consolidated order after receiving the fifth query instruction, and return the fifth query result to the order system;

[0156] The first cancellation module 44 is also used to cancel orders to be cancelled based on the fifth query result.

[0157] In a preferred embodiment, the second cancellation module 46 is further configured to directly cancel the order to be cancelled if the cancellation result is successful; and not cancel the order to be cancelled if the cancellation result is unsuccessful.

[0158] The present invention also provides an electronic device, comprising:

[0159] One or more processors; and

[0160] A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, execute a method for canceling the entire order process.

[0161] Please refer to the description of the order cancellation process in the order system for the execution process and the technical effects achieved in this embodiment. It will not be repeated here.

[0162] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the order cancellation method for the entire process applied to the order system as described above. The execution process and the technical effects achieved by the method are described above and will not be repeated here.

[0163] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the order cancellation method for the entire process applied to the order system as described above. The execution process and the technical effects achieved by the method are described above and will not be repeated here.

[0164] in, Figure 5 An exemplary system architecture of an electronic device is shown, which may specifically include a processor 410, a video display adapter 511, a disk drive 512, an input / output interface 513, a network interface 514, and a memory 520. The processor 510, video display adapter 511, disk drive 512, input / output interface 513, network interface 514, and memory 520 can communicate with each other via a communication bus 530.

[0165] The processor 510 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to achieve the technical solution provided by this invention.

[0166] The memory 520 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 520 can store the operating system 521 for controlling the operation of the computer system, and the basic input / output system (BIOS) for controlling the low-level operations of the computer system. Additionally, it can store a web browser 523, a data storage management system 524, and a device identification information processing system 525, etc. The aforementioned device identification information processing system 525 can be the application program that specifically implements the aforementioned steps in this embodiment of the invention. In summary, when the technical solution provided by this invention is implemented through software or firmware, the relevant program code is stored in the memory 520 and is called and executed by the processor 510.

[0167] Input / output interface 513 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.

[0168] Network interface 514 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0169] Bus 530 includes a pathway for transmitting information between various components of the device, such as processor 510, video display adapter 511, disk drive 512, input / output interface 513, network interface 514, and memory 520.

[0170] It should be noted that although the above-described device only shows the processor 510, video display adapter 511, disk drive 512, input / output interface 513, network interface 514, memory 520, bus 530, etc., in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the present invention, and not necessarily all the components shown in the figures.

[0171] The computer program product of the present invention includes a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from a memory, or installed from a ROM. When the computer program is executed by a processor, it performs the functions defined in the methods of embodiments of the present invention.

[0172] It should be noted that the computer-readable medium in embodiments of the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In embodiments of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In embodiments of the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.

[0173] The aforementioned computer-readable medium may be included in the aforementioned server; or it may exist independently and not assembled into the server. The aforementioned computer-readable medium carries one or more programs that, when executed by the server, cause the server to: in response to detecting that the peripheral mode of the terminal is not activated, acquire the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determine whether the client is acquiring the terminal's screen information; and in response to the determination that the client is not acquiring the terminal's screen information, control the screen to enter an immediate dimming mode.

[0174] Computer program code for performing the operations of embodiments of the present invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the client computer, partially on the client computer, as a standalone software package, partially on the client computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the client computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0175] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0176] The order cancellation method, apparatus, electronic device, and computer-readable storage medium provided by this invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application; at the same time, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for canceling an order throughout the entire process, characterized in that, When applied to an order system, the method includes: Receive a user's order cancellation request, the order cancellation request including the order information of the order to be cancelled; Based on the order information, obtain the shipment status of the order to be cancelled throughout the entire transaction process; If the shipment status is "not shipped", then determine whether the order to be cancelled has been captured by the supply chain system based on the order information. If the order to be cancelled is not captured by the supply chain system, the order to be cancelled will be cancelled directly. If the order to be cancelled has been captured by the supply chain system, the first combined status of the order to be cancelled is obtained according to the order information. If the first combined status is already combined, a prompt message containing the combined order is generated and sent to the client so that the user can determine whether to cancel the combined order. If the user chooses not to cancel the combined order, the cancellation process ends. If the user decides to cancel the combined order, a query instruction containing the order information is sent to the supply chain system to determine whether the order can be cancelled, so that the supply chain system can process the query instruction and generate query results. The order to be cancelled is cancelled based on the query results returned by the supply chain system; After canceling the order to be cancelled, a cancellation instruction is sent to the supply chain system so that the supply chain system changes the status of the order to be cancelled to cancelled. If the shipment status is "shipped", a logistics interception prompt is sent to the client. If the user confirms the interception, a cancellation order is sent to the supply chain system, so that the supply chain system can send a cancellation order to the carrier system and obtain the cancellation result from the carrier system after receiving the cancellation order. The order to be cancelled is cancelled based on the cancellation result returned by the supply chain system; The order to be cancelled is then cancelled based on the query results returned by the supply chain system. If the query result indicates that the order can be cancelled, then the order to be cancelled will be cancelled directly. If the query result is non-cancellable, then send the cancellation order to the supply chain system; If the shipment status is "not shipped," then sending a query instruction to the supply chain system, including the order information, to determine whether the order can be cancelled includes: Send a first query instruction for the order to be cancelled to the supply chain system, so that after receiving the first query instruction, the supply chain system generates a first query result based on the packaging status of the order to be cancelled, and returns the first query result to the order system; If the first query result is non-cancellable, a second query instruction for the order to be cancelled is sent to the supply chain system, so that after receiving the second query instruction, the supply chain system generates a second query result based on the pickup status of the order to be cancelled, and returns the second query result to the order system; The order to be cancelled is cancelled based on the second query result; The method further includes: If the user chooses to cancel the order in conjunction with the transaction, a query instruction to be sent to the supply chain system to determine whether the order to be cancelled is cancelable includes: Send a third query instruction for the consolidated order to the supply chain system, so that after receiving the third query instruction, the supply chain system generates a third query result based on the pickup status of the consolidated order and returns the third query result to the order system; The order to be cancelled is cancelled based on the third query result; If the first consolidation status is not consolidated, then sending a query instruction to the supply chain system to determine whether the order to be cancelled can be cancelled includes: Send a fourth query instruction for the order to be cancelled to the supply chain system, so that after receiving the fourth query instruction, the supply chain system generates a fourth query result based on the packaging status and the second combined packaging status of the order to be cancelled, and returns the fourth query result to the order system; The order to be cancelled is cancelled based on the fourth query result; The step of cancelling the order to be canceled based on the fourth query result includes: If the second combined package status in the fourth query result is "combined", then a prompt message containing the combined package order is generated and sent to the client so that the user can determine whether to cancel the combined package order. If the user chooses to cancel the order, a fifth query instruction for the combined order is sent to the supply chain system. Upon receiving the fifth query instruction, the supply chain system generates a fifth query result based on the pickup status of the combined order and returns the fifth query result to the order system. The order to be cancelled is cancelled based on the fifth query result.

2. The method according to claim 1, characterized in that, The process of cancelling the order to be canceled based on the cancellation delivery result returned by the supply chain system includes: If the cancellation result is successful, the order to be cancelled will be cancelled directly. If the cancellation result is a cancellation failure, the order to be cancelled will not be cancelled.

3. A device for canceling an entire order process, characterized in that, For implementing the method as claimed in claim 1 or 2, the apparatus comprises: The receiving module is used to receive a user's order cancellation request, wherein the order cancellation request includes order information of the order to be cancelled; The acquisition module is used to obtain the shipment status of the order to be cancelled throughout the entire transaction process based on the order information; The query instruction sending module is used to send a query instruction containing the order information to the supply chain system to determine whether the order can be cancelled if the shipment status is "not shipped", so that the supply chain system can process the query instruction and generate a query result. The first cancellation module is used to cancel the order to be cancelled based on the query results returned by the supply chain system. The cancellation delivery order sending module is used to send a cancellation delivery order to the supply chain system if the delivery status is "delivered", so that the supply chain system sends a cancellation delivery instruction to the carrier system after receiving the cancellation delivery order and obtains the cancellation delivery result from the carrier system. The second processing module is used to cancel the order to be cancelled based on the cancellation delivery result returned by the supply chain system.

4. An electronic device, characterized in that, include: One or more processors; as well as A memory associated with the one or more processors, the memory being used to store program instructions that, when read and executed by the one or more processors, perform the method as described in claim 1 or 2.

5. A computer storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in claim 1 or 2.

Citation Information

Patent Citations

  • Order processing method and device, storage medium and equipment

    CN111127157A