Order processing method and apparatus, electronic device, and computer storage medium

By receiving information on item shortages from the warehouse system, filtering user orders, and initiating refunds, the complex order processing issues caused by supply shortages were resolved, the refund process was simplified, and the user experience was improved.

CN114240565BActive Publication Date: 2026-01-23BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111572947.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2026-01-23
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the context of ordering goods, insufficient delivery by suppliers leads to stockouts. Existing order processing technologies are complex and time-consuming, resulting in a poor user experience.

Method used

By receiving information on item shortages from the warehouse system, the system filters out user orders for the target items and determines user orders requiring refunds based on the shortage information and the number of refunded items. The system then proactively initiates the refund process, simplifying the refund procedure.

Benefits of technology

In situations of supply shortages, accurately identifying user orders requiring refunds simplifies the refund process, reduces time consumption, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114240565B_ABST
    Figure CN114240565B_ABST
Patent Text Reader

Abstract

An order processing method and device, electronic equipment and computer storage medium are provided. The method comprises: receiving item shortage information sent by a warehouse system, the item shortage information comprising a shortage quantity of a target item in an item order; screening at least one user order that purchases the target item in the item order; determining a user order that needs to be refunded in the at least one user order according to the item shortage information and the quantity of items that have been refunded for the target item in the item order; and initiating a refund for the target item in the user order that needs to be refunded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and more particularly to an order processing method, apparatus, electronic device, and computer storage medium. Background Technology

[0002] In related technologies, abnormal situations may occur in the item ordering scenario, such as suppliers delivering less than the order demand or warehouse operations causing damage, which may lead to a shortage of items on the supply chain side, making it impossible to meet the item order demand. When the quantity of supplied items cannot meet the item order demand, the order processing flow becomes more complex. Summary of the Invention

[0003] The embodiments of the present invention aim to provide a technical solution for order processing, which can solve the problem that the order processing process is relatively complex in related technologies.

[0004] This invention provides an order processing method, the method comprising:

[0005] Receive item shortage information sent by the warehouse system, the item shortage information including the missing quantity of the target item in the item order;

[0006] Filter out at least one user order that purchased the target item from the item order; based on the item shortage information and the number of refunded items of the target item in the item order, determine the user orders that need to be refunded from the at least one user order;

[0007] Initiate a refund for the target item in the user's order that requires a refund.

[0008] In some embodiments, determining the user orders requiring refunds from the at least one user order based on the item shortage information and the number of refunded items of the target item in the item order includes:

[0009] Determine the reservation quantity of the target item for each user order in the at least one user order;

[0010] Based on the pre-order quantity of the target item in each user order, the shortage information of the item, and the number of refunded items of the target item in the item order, the user orders that need to be refunded are identified from the at least one user order.

[0011] In some embodiments, determining the user orders requiring refunds from the at least one user order based on the pre-order quantity of the target item in each user order, the item shortage information, and the number of refunded items of the target item in the item order includes:

[0012] When the quantity of the missing target item in the order is greater than or equal to the sum of the number of refunded items and the nth quantity, the nth user order in the at least one user order is determined to be a user order that needs to be refunded; the nth quantity represents the reservation quantity of the target item in the nth user order in the at least one user order, where n is an integer greater than or equal to 1.

[0013] In some embodiments, the method further includes:

[0014] If the number of missing items in the order is less than the sum of the number of refunded items and the nth item, then the nth user order is determined to be a user order for which a refund is not required for the target item.

[0015] In some embodiments, after filtering out at least one user order that purchased the target item, the method further includes:

[0016] When the number of at least one user order is greater than 1, the at least one user order is sorted according to a preset order to obtain a sorting result;

[0017] Based on the sorting results, it is determined in sequence whether each user order in the at least one user order is a user order that requires a refund.

[0018] In some embodiments, the preset order is any one of the following: the order of the number of types of items purchased in the at least one user order from smallest to largest, or the order of the amount of the items purchased in the at least one user order from smallest to largest.

[0019] This invention also provides an order processing apparatus, the apparatus comprising:

[0020] The receiving module is used to receive the item shortage information sent by the warehouse system, the item shortage information including the missing quantity of the target item in the item order;

[0021] The first processing module is used to filter out at least one user order that purchased the target item from the item order; and to determine the user order that needs to be refunded from the at least one user order based on the item shortage information and the number of refunded items of the target item in the item order.

[0022] The second processing module is used to initiate a refund for the target item in a user order that requires a refund.

[0023] In some embodiments, the first processing module is specifically used for:

[0024] Determine the reservation quantity of the target item for each user order in the at least one user order;

[0025] Based on the pre-order quantity of the target item in each user order, the shortage information of the item, and the number of refunded items of the target item in the item order, the user orders that need to be refunded are identified from the at least one user order.

[0026] In some embodiments, the first processing module is specifically used for:

[0027] When the quantity of the missing target item in the order is greater than or equal to the sum of the number of refunded items and the nth quantity, the nth user order in the at least one user order is determined to be a user order that needs to be refunded; the nth quantity represents the reservation quantity of the target item in the nth user order in the at least one user order, where n is an integer greater than or equal to 1.

[0028] In some embodiments, the first processing module is further configured to:

[0029] If the number of missing items in the order is less than the sum of the number of refunded items and the nth item, then the nth user order is determined to be a user order for which a refund is not required for the target item.

[0030] In some embodiments, the first processing module is further configured to, after filtering out at least one user order that purchased the target item, sort the at least one user order in a preset order when the number of the at least one user order is greater than 1, and obtain a sorting result; and determine, in turn, whether each user order in the at least one user order is a user order that needs a refund based on the sorting result.

[0031] In some embodiments, the preset order is any one of the following: the order of the number of types of items purchased in the at least one user order from smallest to largest, or the order of the amount of the items purchased in the at least one user order from smallest to largest.

[0032] This invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement any of the above-described order processing methods.

[0033] This invention also provides a computer storage medium storing a computer program that, when executed by a processor, implements any of the above-described order processing methods.

[0034] In the order processing method, apparatus, electronic device, and computer storage medium proposed in this invention embodiment, firstly, the system receives item shortage information sent by the warehouse system, the item shortage information including the missing quantity of the target item in the item order; then, at least one user order purchasing the target item is selected from the item orders; based on the item shortage information and the number of refunded items of the target item in the item orders, user orders requiring refunds are determined from the at least one user order; finally, a refund is initiated for the target item in the user orders requiring refunds.

[0035] As can be seen, the embodiments of the present invention can identify user orders that need to be refunded when the quantity of supplied items cannot meet the demand of the item orders, and proactively initiate a refund process for the target items. Since there is no need to initiate after-sales refunds after the user picks up the goods, the refund process for the order is simplified and the time consumption of the refund process is reduced. Attached Figure Description

[0036] Figure 1 This is a flowchart of an order processing method according to an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of the system architecture for implementing the order processing method of this invention;

[0038] Figure 3 This is a schematic diagram of the order processing device according to an embodiment of the present invention;

[0039] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0040] In related technologies, the roles involved in item pre-ordering include e-commerce platforms, managers, end-users (C-end users), and logistics providers. C-end users refer to the users to whom each item order belongs. In practice, C-end users purchase items before the order cutoff time. After the cutoff, based on the manager's coverage area, the purchase requests of C-end users within that area are merged to generate item orders. These orders are then sent to the warehouse for production. After production is completed, the items are delivered to the manager, and the C-end users pick them up from the manager, thus completing the delivery process. Overall logistics and delivery fulfillment is based on the merged item orders and is fulfilled by the manager, who is responsible for processing C-end user orders.

[0041] In related technologies, if the quantity of supplied items cannot meet the quantity required by the order, the manager needs to process the pickup for the user first, and then initiate an after-sales refund. The refund process is complicated, cumbersome, time-consuming, has a poor user experience, and results in a high number of customer complaints.

[0042] To address the aforementioned technical problems in related technologies, the present invention proposes a technical solution.

[0043] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely illustrative and not intended to limit the invention. Furthermore, the embodiments provided below are partial embodiments for implementing the present invention, not all embodiments for implementing the present invention. Unless otherwise specified, the technical solutions described in the embodiments of the present invention can be implemented in any combination.

[0044] It should be noted that, in the embodiments of the present invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly stated, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus, such as portions of circuitry, processors, programs, or software, etc.) in the method or apparatus that includes that element.

[0045] The order processing method provided in this embodiment of the invention includes a series of steps, but the order processing method provided in this embodiment of the invention is not limited to the steps described herein. Similarly, the order processing device provided in this embodiment of the invention includes a series of modules, but the order processing device provided in this embodiment of the invention is not limited to the modules explicitly described herein, but may also include modules that need to be set up for obtaining relevant information or processing based on information.

[0046] This invention can be implemented using an administrator's electronic device, which can be based on a terminal and / or a server. Here, the terminal can be a thin client, a thick client, a handheld or laptop device, a microprocessor-based system, a set-top box, a programmable consumer electronics product, a network PC, a minicomputer system, etc. The server can be a minicomputer system, a mainframe computer system, or a distributed cloud computing environment including any of the above systems, etc.

[0047] Electronic devices such as servers can include program modules that execute instructions. Typically, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are executed by remote processing devices linked through communication networks. In distributed cloud computing environments, program modules can reside on local or remote computing system storage media, including storage devices.

[0048] This invention proposes an order processing method that can be implemented through a mini-program. The mini-program is located on the administrator's electronic device and can provide functions such as item order management, item pickup, refund submission, administrator promotion, and commission calculation.

[0049] Figure 1 This is a flowchart of an order processing method according to an embodiment of the present invention, such as... Figure 1 As shown, the process may include:

[0050] Step 101: Receive the item shortage information sent by the warehouse system. The item shortage information includes the missing quantity of the target item in the item order.

[0051] In this embodiment of the invention, the target item can be one or more items in an item order.

[0052] Here, the warehouse system can provide functions such as item receiving, item issuing, and inventory management. In practical applications, after an item order is generated, the item order can be sent to the warehouse system. The warehouse system can then produce items based on the quantity of items in the order and the inventory quantity. After production is completed, the system can confirm the quantity of missing items. The warehouse system can automatically match the item shortage information to the item order number and send the item order number, the target item number, and the quantity of the target item that is missing to the mini-program.

[0053] In some embodiments, after receiving the item order number, the target item number, and the quantity of the target item that is missing, the mini-program can store the item order number, the target item number, and the quantity of the target item that is missing in the administrator's electronic device.

[0054] Step 102: Filter out at least one user order that purchased the target item from the item orders; based on the item shortage information and the number of refunded items of the target item in the item orders, identify the user orders that need to be refunded from at least one user order.

[0055] In this embodiment of the invention, after determining the target item number, at least one user order that purchased the target item can be filtered out from the item order based on the target item number. In some embodiments, the mini-program can be launched periodically. After each time the mini-program is launched periodically, it performs the following steps: querying the user orders that purchased the target item from the item order based on information such as the item order number and the target item number, and setting the status of at least one user order that purchased the target item to pending refund. For example, the current status of the above-mentioned at least one user order can also be stored in the administrator's electronic device.

[0056] For example, the mini-program can be launched at a set time each day, such as 8 or 9 a.m.; in this way, since there is no need to initiate a refund in the early morning, the harassment to users is reduced.

[0057] Understandably, after filtering out multiple user orders for the target item, since the quantity of the target item in the warehouse system may meet the needs of some user orders, it is not necessary to initiate a refund for each user order for the target item. Instead, a refund can be initiated for a portion of the user orders for the target item. In this embodiment of the invention, based on the item shortage information and the number of refunded items of the target item in the item order, the user orders that need to be refunded are determined from at least one user order. This is beneficial for initiating a refund process for the target item for another group of users while meeting the needs of some users for purchasing the target item.

[0058] Step 103: Initiate a refund for the target item in the user's order that requires a refund.

[0059] In practical applications, after identifying the user who needs a refund, the mini-program can also send a refund request to the quick refund system for the target item and mark the user's order status as refunded. The refund request can include the order number of the user who needs a refund and the item number.

[0060] In this embodiment of the invention, the quick refund system is used to provide an order refund process based on a refund request.

[0061] In one example, after receiving a refund request, the quick refund system can send a refund instruction to the finance system; the finance system can then initiate a refund to the corresponding user based on this instruction. Here, the finance system is responsible for approving fund inflows and outflows.

[0062] In another example, after receiving a refund request, the quick refund system can determine whether preset refund conditions are met. If the conditions are not met, the refund request can be rejected; if the conditions are met, an instruction to refund funds can be sent to the finance system. The finance system can then initiate a refund to the corresponding user based on the refund instruction. In practical applications, refund conditions can be set according to actual needs.

[0063] In practical applications, steps 101 to 103 can be implemented based on the processor of the administrator's electronic device. The processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor.

[0064] As can be seen, the embodiments of the present invention can identify user orders that need to be refunded when the quantity of supplied items cannot meet the demand of the item orders, and proactively initiate a refund process for the target items. Since there is no need to initiate after-sales refunds after the user picks up the goods, the refund process for the order is simplified and the time consumption of the refund process is reduced.

[0065] In some embodiments, determining user orders requiring refunds in at least one user order based on item shortage information and the number of refunded items of the target item in the item order may include: determining the reservation quantity of the target item in each user order in the at least one user order; and determining user orders requiring refunds in at least one user order based on the reservation quantity of the target item in each user order, item shortage information, and the number of refunded items of the target item in the item order.

[0066] In practical applications, the number of refunded items for a target item represents the number of refunds initiated for the target item in any user order within the item order at the current moment. The initial value of the number of refunded items for a target item is 0. When a refund for the target item is initiated for any user order within the item order, the number of refunded items for the target item can be updated.

[0067] As can be seen, based on the shortage information of the items and the number of refunded items of the target items in the item order, the number of items of the target items to be refunded can be determined. Then, based on the number of items of the target items to be refunded and the reservation quantity of the target items in each user's order, the user orders that still need to be refunded can be accurately determined in the item order.

[0068] In some embodiments, if the number of missing target items in an item order is greater than or equal to the sum of the number of refunded items and the nth quantity, the nth user order in at least one user order can be determined as a user order requiring a refund; the nth quantity represents the reservation quantity of the target item in the nth user order in at least one user order, where n is an integer greater than or equal to 1.

[0069] For example, the target item is item A, and the item orders include orders from user 1, user 2, user 3, user 4, and user 5. The missing quantity of item A in the item orders is 5. User 1's order has a pre-order quantity of item A of 2, user 2's order has a pre-order quantity of item A of 3, user 3's order has a pre-order quantity of item A of 2, user 4's order has a pre-order quantity of item A of 1, and user 3's order has a pre-order quantity of item A of 3. If the number of refunded items for the target item in the item orders is 0, any one of user 1's order, user 2's order, user 3's order, user 4's order, and user 5's order can be designated as the order requiring a refund. After designating user 1's order as the order requiring a refund, a refund process for item A in user 1's order can be initiated, and the number of refunded items for item A in the item orders can be updated to 2. Then, user 2's order can be designated as the order requiring a refund.

[0070] As can be seen, the embodiments of the present invention can accurately determine user orders that still need to be refunded in the item order based on the item shortage information and the number of refunded items of the target item in the item order.

[0071] In some embodiments, if the number of missing target items in an item order is less than the sum of the number of refunded items and the nth item, the nth user order can be determined as a user order for which a refund is not required for the target item.

[0072] For example, the target item is item B, and the item orders include orders from user 6, user 7, user 8, user 9, and user 10; the shortage quantity of item B in the item orders is 6, the pre-order quantity of item B in user 6's order is 3, the pre-order quantity of item B in user 7's order is 5, the pre-order quantity of item B in user 8's order is 3, the pre-order quantity of item B in user 9's order is 2, and the pre-order quantity of item B in user 10's order is 1; if the number of refunded items for the target item in the item orders is 0, then user 6's order can be refunded. Any one of the following orders—order 6, User 7's order, User 8's order, User 9's order, and User 10's order—is designated as an order requiring a refund. After designating User 6's order as a refundable order, a refund process can be initiated for item B in User 6's order, and the number of refunded items for item B in the order can be updated to 3. Since the missing quantity of item B in the order is less than the sum of the number of refunded items for item B in the order and the pre-order quantity of item B in User 7's order, User 7's order can be determined as a user order for which a refund for item B is not required. Since the missing quantity of item B in the order equals the sum of the number of refunded items for item B in the order and the pre-order quantity of item B in User 8's order, User 8's order can be designated as an order requiring a refund.

[0073] It can be seen that when the number of missing target items in the order is less than the sum of the number of refunded items and the nth item, it indicates that the nth user order has a large quantity of target items and is not suitable for a full refund of the target items. Therefore, designating the nth user order as the user order for which a refund is not required for the target items is beneficial to meeting the actual needs of the refund scenario.

[0074] In some embodiments, after filtering out at least one user order that purchased the target item, if the number of at least one user order is greater than 1, the at least one user order can be sorted in a preset order to obtain a sorting result; based on the sorting result, it can be determined in turn whether each user order in the at least one user order is a user order that needs a refund.

[0075] In this embodiment of the invention, the preset order can be determined according to actual needs. Therefore, by sequentially determining whether each user order in at least one user order is a user order that needs a refund according to the preset needs, the user orders that need a refund can be determined from the perspective of actual needs.

[0076] In some embodiments, the preset order is any one of the following: the order of the number of types of items purchased in at least one user order from smallest to largest, or the order of the amount of items purchased in at least one user order from smallest to largest.

[0077] For example, an order includes orders from 10 end-users (C-end users), named C-end user 1 to C-end user 10. Each of C-end users 1 to 9 purchased one apple and one pear. The stock keeping unit (SKU) for apples can be denoted as SKU1, and the SKU for pears can be denoted as SKU2. C-end user 10 only purchased one apple. After the order deadline, due to a late arrival from the supplier, the warehouse system can only ship 7 apples and 9 pears. At this point, the warehouse system can send a shortage information message to the mini-program, which could be: SKU1 shortage of 3 apples and SKU2 shortage of 0 apples. Based on the aforementioned information, since C-end user 10 purchased the fewest items, C-end user 10 can be prioritized as the user requiring a refund.

[0078] The system architecture for implementing the order processing method of this invention will now be described with reference to the accompanying drawings.

[0079] Reference Figure 2 The warehouse system can send item dispatch information to the mini-program after confirming item dispatch. When the specified time arrives, the mini-program will tally the missing quantity of the target item in the order (including the target item SKU and the missing quantity). The mini-program can request the order system to query user orders that purchased the target item within the order. In this embodiment, the order system can provide functions such as order query, order storage, and order generation processing. For example, the order system can return the order number of the user order that purchased the target item to the mini-program based on the target item SKU, the administrator's PIN code, and the self-pickup time of each user order within the order.

[0080] Based on the aforementioned information, the mini-program can identify user orders requiring refunds and initiate refunds through the quick refund system. Simultaneously, it can send notification messages to the corresponding user's C-end to inform them that the refund process has been initiated. Here, the C-end is used to provide C-end users with functions such as item inquiry, order placement, and order payment follow-up processing.

[0081] The quick refund system can initiate the entire order cancellation and refund process for a user's order and send a refund instruction to the finance system, enabling the finance system to execute the financial refund process.

[0082] The quick refund system can update the order message progress according to the refund process and synchronize the order cancellation progress to the C-end and the mini-program; the financial system can also synchronize the refund amount of user orders to the mini-program, so that users can also view the refund progress of user orders by running the mini-program.

[0083] Based on the order processing method proposed in the foregoing embodiments, this invention also proposes an order processing device.

[0084] Figure 3 This is a schematic diagram of the composition structure of the order processing device according to an embodiment of the present invention, as shown below. Figure 3 As shown, the device may include:

[0085] The receiving module 301 is used to receive the item shortage information sent by the warehouse system, wherein the item shortage information includes the missing quantity of the target item in the item order;

[0086] The first processing module 302 is used to filter out at least one user order that purchased the target item from the item order; and to determine the user order that needs to be refunded from the at least one user order based on the item shortage information and the number of refunded items of the target item in the item order.

[0087] The second processing module 303 is used to initiate a refund for the target item in a user order that requires a refund.

[0088] In some embodiments, the first processing module 302 is specifically used for:

[0089] Determine the reservation quantity of the target item for each user order in the at least one user order;

[0090] Based on the pre-order quantity of the target item in each user order, the shortage information of the item, and the number of refunded items of the target item in the item order, the user orders that need to be refunded are identified from the at least one user order.

[0091] In some embodiments, the first processing module 302 is specifically used for:

[0092] When the quantity of the missing target item in the order is greater than or equal to the sum of the number of refunded items and the nth quantity, the nth user order in the at least one user order is determined to be a user order that needs to be refunded; the nth quantity represents the reservation quantity of the target item in the nth user order in the at least one user order, where n is an integer greater than or equal to 1.

[0093] In some embodiments, the first processing module 302 is further configured to:

[0094] If the number of missing items in the order is less than the sum of the number of refunded items and the nth item, then the nth user order is determined to be a user order for which a refund is not required for the target item.

[0095] In some embodiments, the first processing module 302 is further configured to, after filtering out at least one user order that purchased the target item, sort the at least one user order in a preset order when the number of the at least one user order is greater than 1, and obtain a sorting result; and determine, in turn, whether each user order in the at least one user order is a user order that needs a refund based on the sorting result.

[0096] In some embodiments, the preset order is any one of the following: the order of the number of types of items purchased in the at least one user order from smallest to largest, or the order of the amount of the items purchased in the at least one user order from smallest to largest.

[0097] The receiving module 301, the first processing module 302, and the second processing module 303 can all be implemented by a processor located in an electronic device. The processor is at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

[0098] Furthermore, in this embodiment, the functional modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional module.

[0099] If the integrated unit is implemented as a software functional module and not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0100] Specifically, the computer program instructions corresponding to an order processing method in this embodiment can be stored on storage media such as optical discs, hard disks, and USB flash drives. When the computer program instructions corresponding to an order processing method in the storage media are read or executed by an electronic device, any of the order processing methods in the aforementioned embodiments can be implemented.

[0101] Based on the same technical concept as the foregoing embodiments, see Figure 4 This illustrates an electronic device 40 provided by an embodiment of the present invention, which may include: a memory 401, a processor 402, and a computer program stored on the memory 401 and executable on the processor 402; wherein,

[0102] Memory 401 is used to store computer programs and data;

[0103] The processor 402 is configured to execute a computer program stored in the memory to implement any of the order processing methods described in the foregoing embodiments.

[0104] In practical applications, the memory 401 mentioned above can be volatile memory, such as RAM; or non-volatile memory, such as ROM, flash memory, hard disk drive (HDD) or solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 402.

[0105] The processor 402 mentioned above can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

[0106] In some embodiments, the functions or modules included in the apparatus provided by the present invention can be used to execute the methods described in the above method embodiments. Specific implementations can be referred to the descriptions in the above method embodiments; for brevity, they will not be repeated here.

[0107] The description of the various embodiments above tends to emphasize the differences between them. Similarities or commonalities can be referenced interchangeably, and for the sake of brevity, will not be repeated here.

[0108] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict.

[0109] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0110] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0112] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. An order processing method, characterized in that, A computer program applied to an electronic device for managing a user, the method comprising: The system receives item shortage information automatically sent by the warehouse system. The item shortage information includes the missing quantity of the target item in the item order confirmed by the warehouse system. After receiving the item order, the warehouse system is used to produce according to the item quantity in the item order and the inventory quantity, and to confirm the quantity of missing items after the production is completed. Filter at least one user order that purchased the target item from the item order; based on the item shortage information and the number of refunded items of the target item in the item order, determine the user orders that need to be refunded from the at least one user order; after determining the user orders that need to be refunded, periodically send a refund request for the target item to the fast refund system, so that the fast refund system will proactively initiate a refund for the target item from the user orders that need to be refunded.

2. The method according to claim 1, characterized in that, The step of determining the user orders requiring refunds from at least one user order based on the item shortage information and the number of refunded items of the target item in the item order includes: Determine the reservation quantity of the target item for each user order in the at least one user order; Based on the pre-order quantity of the target item in each user order, the shortage information of the item, and the number of refunded items of the target item in the item order, the user orders that need to be refunded are identified from the at least one user order.

3. The method according to claim 2, characterized in that, The step of determining the user orders requiring refunds from at least one user order based on the pre-order quantity of the target item in each user order, the item shortage information, and the number of refunded items of the target item in the item order includes: When the quantity of the missing target item in the order is greater than or equal to the sum of the number of refunded items and the nth quantity, the nth user order in the at least one user order is determined to be a user order that needs to be refunded; the nth quantity represents the reservation quantity of the target item in the nth user order in the at least one user order, where n is an integer greater than or equal to 1.

4. The method according to claim 3, characterized in that, The method further includes: If the number of missing items in the order is less than the sum of the number of refunded items and the nth item, then the nth user order is determined to be a user order for which a refund is not required for the target item.

5. The method according to any one of claims 1 to 4, characterized in that, After identifying at least one user order that purchased the target item, the method further includes: When the number of at least one user order is greater than 1, the at least one user order is sorted according to a preset order to obtain a sorting result; Based on the sorting results, it is determined in sequence whether each user order in the at least one user order is a user order that requires a refund.

6. The method according to claim 5, characterized in that, The preset order is any one of the following: the order of the number of types of items purchased in the at least one user order from smallest to largest, or the order of the amount of the items purchased in the at least one user order from smallest to largest.

7. An order processing device, characterized in that, A computer program applied to an electronic device for managing a system, the device comprising: The receiving module is used to receive item shortage information automatically sent by the warehouse system. The item shortage information includes the missing quantity of the target item in the item order confirmed by the warehouse system. After receiving the item order, the warehouse system is used to produce according to the item quantity in the item order and the inventory quantity, and to confirm the quantity of missing items after the production is completed. The first processing module is used to filter out at least one user order that purchased the target item from the item order; and to determine the user order that needs to be refunded from the at least one user order based on the item shortage information and the number of refunded items of the target item in the item order. The second processing module is used to periodically send a refund request for the target item to the quick refund system after determining the user order that needs a refund, so that the quick refund system can proactively initiate a refund for the target item in the user order that needs a refund.

8. The apparatus according to claim 7, characterized in that, The first processing module is specifically used for: Determine the reservation quantity of the target item for each user order in the at least one user order; Based on the pre-order quantity of the target item in each user order, the shortage information of the item, and the number of refunded items of the target item in the item order, the user orders that need to be refunded are identified from the at least one user order.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the order processing method according to any one of claims 1 to 6.

10. A computer storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the order processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Out-of-stock data management method and device

    CN106651239A

  • Online transaction method and device based on intelligent contract, equipment and medium

    CN113128985A