Order processing method and apparatus
By responding to update instructions during the order outbound process and dynamically adjusting the production mode of the target node, the flexibility and complexity issues of traditional warehouse management systems in processing orders are solved, resulting in more efficient order processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING JINGDONG YUANSHENG TECH CO LTD
- Filing Date
- 2024-12-23
- Publication Date
- 2026-06-23
AI Technical Summary
Traditional warehouse management systems lack flexibility in order processing, cannot quickly respond to urgent and special order needs, and have a high degree of complexity in the outbound process, which increases operational risks.
By responding to update instructions in the order outbound process, the target node is identified and its production mode is configured to the target mode indicated by the update instruction, enabling real-time changes during the order processing.
It improves the flexibility and efficiency of order processing, reduces operational complexity and error risk, and enhances the ability to respond to emergencies.
Smart Images

Figure CN122264682A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to the field of warehousing technology, and more particularly to an order processing method and apparatus. Background Technology
[0002] Traditional warehouse management systems typically rely on fixed-configuration production models when processing orders, lacking flexibility and particularly unsuitable for the rapid response requirements of self-built small and medium-sized warehouses for live-streaming e-commerce, especially for urgent and special-demand orders. Specific problems include:
[0003] (1) The warehouse management system cannot cope with unexpected events that do not follow the original process. Even if it can be programmed and configured, it requires front-end operation personnel to configure it, and subsequent front-line personnel can only operate strictly according to the predetermined steps.
[0004] (2) The outbound process of the warehouse management system involves multiple steps (order receiving, task allocation, picking, verification, packing and shipping, etc.). Each step requires the warehouse management system to make judgments and execute, which increases the complexity of the operation and the risk of errors, and affects the effectiveness of order processing. Summary of the Invention
[0005] This application provides an order processing method, apparatus, device, and storage medium.
[0006] According to a first aspect, embodiments of this application provide an order processing method, the method comprising: in response to detecting an update instruction for an order outbound process, determining a target node from the order outbound process based on the update instruction; configuring the production mode of the target node to the target mode indicated by the update instruction; and in response to the order outbound process being executed to the target node, processing the order based on the target mode.
[0007] According to a second aspect, embodiments of this application provide an order processing apparatus, which includes: a determining module, a configuring module, and a processing module, wherein the determining module is configured to determine a target node from the order outbound process based on the update instruction in response to detecting an update instruction for the order outbound process; the configuring module is configured to configure the production mode of the target node to the target mode indicated by the update instruction; and the processing module is configured to configure the production mode of the target node to the target mode indicated by the update instruction.
[0008] According to a third aspect, embodiments of this application provide an electronic device including one or more processors; and a storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement an order processing method as described in any embodiment of the first aspect.
[0009] According to a fourth aspect, embodiments of this application provide a computer-readable medium having a computer program stored thereon that, when executed by a processor, implements an order processing method as described in any embodiment of the first aspect.
[0010] This application, in response to the detection of an update instruction for the order outbound process, determines the target node from the order outbound process based on the update instruction; configures the production mode of the target node to the target mode indicated by the update instruction; and processes the order based on the target mode in response to the execution of the order outbound process to the target node. This enables real-time changes to the production mode of the order outbound process node during the order processing, and subsequent order processing based on the changed production mode, thereby improving the flexibility and effectiveness of order processing.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0012] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;
[0013] Figure 2 This is a flowchart of one embodiment of the order processing method according to this application;
[0014] Figure 3 This is a flowchart of yet another embodiment of the order processing method according to this application;
[0015] Figure 4a This is a schematic diagram illustrating an application scenario of the order processing method according to this application;
[0016] Figure 4b This is a schematic diagram illustrating another application scenario of the order processing method according to this application;
[0017] Figure 5 This is a flowchart of yet another embodiment of the order processing apparatus according to this application;
[0018] Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing the server embodiments of this application. Detailed Implementation
[0019] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of this application, including various details to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0020] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0021] Figure 1 An exemplary system architecture 100 is shown, in which the order processing method of this application can be applied.
[0022] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0023] Terminal devices 101, 102, and 103 interact with server 105 via network 104 to receive or send messages, etc. Various application platforms can be installed on terminal devices 101, 102, and 103.
[0024] Terminal devices 101, 102, and 103 can be either hardware or software. When terminal devices 101, 102, and 103 are hardware, they can be various electronic devices with displays, including but not limited to mobile phones, laptops, and scanning devices. When terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software programs or software modules (e.g., used to provide order processing services) or as a single software program or software module. No specific limitations are made here.
[0025] Server 105 can be a server that provides various services, such as: in response to detecting an update instruction for the order outbound process, determining the target node from the order outbound process based on the update instruction; configuring the production mode of the target node to the target mode indicated by the update instruction; and processing the order based on the target mode in response to the order outbound process being executed to the target node.
[0026] It should be noted that server 105 can be either hardware or software. When server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 105 is software, it can be implemented as multiple software programs or software modules (e.g., used to provide order processing services), or as a single software program or software module. No specific limitations are made here.
[0027] It should be noted that the order processing method provided in the embodiments of this disclosure can be executed by server 105, by terminal devices 101, 102, and 103, or by server 105 and terminal devices 101, 102, and 103 in cooperation with each other. Accordingly, all parts (e.g., units, sub-units, modules, and sub-modules) of the order processing device can be entirely located in server 105, entirely located in terminal devices 101, 102, and 103, or separately located in server 105 and terminal devices 101, 102, and 103.
[0028] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0029] Figure 2 A flow 200 is shown as an embodiment of the order processing method applicable to this application. In this embodiment, the order processing method includes the following steps:
[0030] Step 201: In response to detecting an update instruction for the order outbound process, determine the target node from the order outbound process based on the update instruction.
[0031] In this embodiment, the executing entity can read the pre-configured order outbound process for the order to be processed and process the order to be processed according to the order outbound process.
[0032] Here, the order outbound process can include multiple nodes arranged in a preset process execution order, i.e., task nodes, such as sorting nodes, verification nodes, etc. Each node corresponds to a production mode, which can include automatic mode (i.e., the machine completes the corresponding operation simulating human operation) and manual mode.
[0033] The order outbound process can be determined based on the order information, warehouse information, and production mode of each node in the outbound process corresponding to the order information and warehouse information configured by the user through the outbound process configuration center.
[0034] Furthermore, after generating the order outbound process, the executing entity can persist the order outbound process to the database and synchronously write it to the Redis cache. When reading the order outbound process corresponding to the order to be processed, it can first read from the Redis cache; if the read fails, it will read from the database and update the cache.
[0035] Furthermore, during the execution of the order outbound process, the executing entity can monitor the user's update instructions for the order outbound process in real time or periodically. If an update instruction for the order outbound process is detected, the executing entity can first determine the order status of the order being processed in the order outbound process. If the order status is not outbound, the target node can be determined in the order outbound process according to the update instruction.
[0036] The update instruction can include the target node and the target mode corresponding to the target node. The target mode can be manual mode or automatic mode. The target node can be one or more nodes following the current node in the order outbound process.
[0037] If there are multiple target nodes, the target nodes can be multiple adjacent nodes in the order outbound process or multiple non-adjacent nodes in the order outbound process. This application does not limit this.
[0038] In some optional methods, the order outbound process can be generated as follows: determine the outbound process template based on the order information and warehouse information of the order to be processed; generate the order outbound process based on the configuration results of the production mode for each node in the outbound process template.
[0039] In this implementation, the executing entity can determine the outbound process template based on the order information and warehouse information of the pending orders configured by the user through the configuration center, and present the outbound process template.
[0040] Furthermore, users can configure the production mode of each node in the presented outbound process template. In response to detecting the user's configuration results for the production mode of each node in the outbound process template, the execution entity can generate the order outbound process based on the configuration results.
[0041] The order information may include the order number, order type, and order owner, while the warehouse information may include the warehouse type and warehouse number.
[0042] Specifically, the executing entity can determine the outbound process template based on the warehouse type (e.g., self-built warehouse, cloud warehouse, etc.) and order type (e.g., electronic product order, clothing order, etc.) input by the user. The outbound process template can include a location node, a grouping node, a picking node, a verification node, a packing node, and a shipping node. Furthermore, the executing entity can generate the order outbound process based on the production mode of each node configured by the user, such as a location node with automatic production mode, a grouping node with manual production mode, a picking node with manual production mode, a verification node with automatic production mode, a packing node with automatic outbound production mode, and a shipping node with manual production mode.
[0043] In addition, the order outbound process can also include an order number, and the executing entity can retrieve the order outbound process corresponding to the order to be processed based on the order number of the order to be processed.
[0044] This implementation method determines the outbound process template based on the order information and warehouse information of the orders to be processed; and generates the order outbound process based on the configuration results of the production mode for each node in the outbound process template, thereby improving the reliability of the order outbound process configuration.
[0045] Step 202: Configure the production mode of the target node to the target mode indicated by the update command.
[0046] In this embodiment, after determining the target node, the executing entity can directly configure the production mode of the target node to the target mode indicated by the update command, or it can first determine whether the target mode matches the initial mode of the production mode. If not, it can configure the production mode of the target node to the target mode indicated by the update command, that is, switch the production mode of the target node from the initial mode to the target mode.
[0047] Specifically, the target node is the verification node. The initial mode of this node is manual mode, and the target mode is automatic mode. The target mode does not match the initial mode. The executing entity can switch the production mode of the verification node from the initial mode to the target mode.
[0048] Step 203: In response to the order outbound process reaching the target node, the order is processed based on the target mode.
[0049] In this embodiment, the executing entity can monitor the execution progress of the order outbound process in real time or periodically. If the order outbound process is detected to have reached the target node, the order can be processed according to the target mode.
[0050] Specifically, the target node is the review node, and the target mode is the automatic mode. If the order outbound process reaches the review node, the order will be processed in the automatic mode.
[0051] In some optional approaches, in response to the order outbound process reaching the target node, order processing is performed based on the target mode, including: in response to the order outbound process reaching the target node with the highest execution order among multiple target nodes, order processing is performed using the automatic mode corresponding to each target node according to the execution order of the target nodes.
[0052] In this implementation, there can be multiple target nodes, and the execution order of these target nodes is adjacent. The target mode is automatic. If the executing entity detects that the order outbound process has reached the target node with the highest execution order among the multiple target nodes, it can process the order according to the automatic mode corresponding to each target node, that is, process the order according to the automation strategy corresponding to each target node.
[0053] Specifically, the target nodes include the review node, the packaging node, and the outbound node. When the execution entity reaches the review node, it can review the order according to the automation strategy corresponding to the review node, and automatically jump to the packaging node after the review is completed. At the packaging node, the order is packaged according to the automation strategy corresponding to the packaging node, and automatically jump to the outbound node after the packaging is completed. At the outbound node, the order is outbound according to the automation strategy corresponding to the outbound node, and jump to the next node or end the order processing after the outbound is completed.
[0054] This implementation responds to the first target node in the execution order among multiple target nodes in the order of the order outbound process. According to the execution order of the target nodes, it adopts the automatic mode corresponding to each target node to process the order. This enables real-time changes and execution of the order outbound process when there are multiple target orders and the target mode is automatic, further improving the flexibility of order processing.
[0055] In some alternative approaches, after configuring the production mode of the target node to the target mode indicated by the update instruction, the method further includes: identifying the final node among all nodes in the order outbound process and generating a prompt message based on the final node.
[0056] In this implementation, after configuring the production mode of the target node to the target mode indicated by the update instruction, the executing entity can determine the final node among all nodes in the order outbound process and generate prompt information based on the final node.
[0057] The final node is the last node in the order outbound process where the production mode is manual.
[0058] Here, the prompt message indicates that it is prohibited to cancel the order corresponding to the order outbound process after the final node is completed.
[0059] Specifically, after configuring the production mode of the target node to the target mode indicated by the update instruction, the generation modes of each node in the order outbound process are as follows: Positioning node (automatic production mode) - Grouping node (manual production mode) - Picking node (manual production mode) - Verification node (manual production mode) - Packing node (automatic production mode) - Shipping node (manual production mode) - Production mode (automatic production mode). The last node with a manual production mode is the packing node, therefore, the packing node is the final node. The prompt message generated by the final node can be "Cancellation of orders after the packing node is prohibited."
[0060] This implementation method identifies the final node in all stages of the order outbound process and generates prompt information based on the final node. This helps to promptly remind users when to cancel their orders and avoids failing to respond to users' order cancellation instructions in a timely manner.
[0061] In some alternative approaches, the method also includes monitoring the execution of the order outbound process and generating monitoring logs.
[0062] In this implementation, the executing entity can use a distributed monitoring system and log management tools to monitor the execution process of the order outbound process, record the attribute information of the update instructions received during the execution process (e.g., the generation time of the update instruction, the specific content of the update instruction, the source of the update instruction (i.e., the user who configured the update instruction), etc.), as well as the change process of the node production mode for the update instruction, the processing process of the order after the change of the node production mode, generate monitoring logs, and persist the monitoring logs to the database.
[0063] Specifically, the executing entity can record the attribute information of the update command by embedding points such as user, time, and order, generate monitoring logs for the update command, and persist the monitoring logs to the database.
[0064] This implementation method monitors the execution process of the order outbound process and generates monitoring logs, enabling real-time tracking of the order processing and improving subsequent fault diagnosis capabilities.
[0065] Figure 3 A flow 300 is shown as an embodiment of the order processing method applicable to this application. In this embodiment, the order processing method includes the following steps:
[0066] Step 301: In response to detecting an update instruction for the order outbound process, determine the target node from the order outbound process based on the update instruction.
[0067] In this embodiment, the implementation details and technical effects of step 301 can be found in the description of step 201, and will not be repeated here.
[0068] Step 302: In response to the determination that the target mode indicated by the update command does not match the initial mode of the target node, the production mode of the target node is switched from the initial mode to the target mode.
[0069] In this embodiment, after determining the target node, the executing entity can match the target mode indicated by the update command with the initial mode of the target node's production mode. If they do not match, the production mode of the target node is switched from the initial mode to the target mode.
[0070] The number of target nodes can be one or more, and the initial production mode of the target nodes can be manual or automatic.
[0071] Specifically, for example, the number of target nodes is 1, which is the verification node. The initial mode of the verification node is manual mode, and the target mode indicated by the update command is automatic mode. Since the target mode does not match the initial mode, the production mode of the verification node can be switched from the initial mode to the target mode, that is, the production mode of the verification node can be switched from manual mode to automatic mode.
[0072] For example, there are three target nodes: picking node, packing node, and outbound node. The initial mode of the picking node is automatic mode, the initial mode of the packing node is manual mode, and the initial mode of the outbound node is automatic mode. The update instruction indicates that the target mode of the picking node, the packing node, and the outbound node is manual mode. For the picking node and the outbound node, the initial mode and the target mode do not match. Therefore, the production mode of the picking node and the outbound node is switched from the initial mode to the target mode, that is, the production mode of the picking node and the outbound node is switched from automatic mode to manual mode. The production mode of the packing node remains in the initial mode, that is, manual mode.
[0073] In some alternative approaches, in response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node, the production mode of the target node is switched from the initial mode to the target mode, including: in response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node, verifying the target mode indicated by the update instruction according to the verification conditions of the target order for the production mode of the target node; and in response to passing the verification, switching the production mode of the target node from the initial mode to the target mode.
[0074] In this implementation, after determining that the target mode indicated by the update command does not match the initial mode of the target node, the executing entity can first obtain the target order, i.e., the order corresponding to the order outbound process, the verification conditions of the production mode of the target node, and verify the target mode indicated by the update command according to the verification conditions of the production mode of the target node of the order corresponding to the order outbound process. If the verification passes, the production mode of the target node will be switched from the initial mode to the target mode. If the verification fails, the production mode of the target node will not be configured, i.e., the initial mode of the target node will remain unchanged.
[0075] The verification conditions are typically determined based on order attributes, such as value attributes, geographical location attributes, customer category attributes, and / or the personalized requirements of the order owner. For example, if the order items are electronic products or precious metal items, the verification conditions may include prohibiting the use of automatic mode for the review node.
[0076] Specifically, the target node is the verification node. The verification conditions for the production mode of the order corresponding to the order outbound process for the target node include: automatic mode is prohibited for the verification node. If the target mode indicated by the update command is automatic mode, the two do not match, that is, the verification fails, and the production mode of the target node is not configured. If the target mode indicated by the update command is manual mode, the two match, that is, the verification passes, and the production mode of the target node is switched from the initial mode to the target mode.
[0077] This implementation improves the effectiveness and reliability of configuring the production mode of the target node by responding to the mismatch between the target mode indicated by the update command and the initial mode of the target node, based on the verification conditions of the target order for the production mode of the target node; and in response to the successful verification, switching the production mode of the target node from the initial mode to the target mode.
[0078] Step 303: In response to the order outbound process reaching the target node, the order is processed based on the target mode.
[0079] In this embodiment, the implementation details and technical effects of step 303 can be found in the description of step 203, and will not be repeated here.
[0080] from Figure 3 It can be seen from this that, with Figure 2 Compared to the corresponding embodiments, the order processing flow 300 in this embodiment reflects the response to the mismatch between the target mode indicated by the determination update instruction and the initial mode indicated by the production mode of the target node, and switches the production mode of the target node from the initial mode to the target mode, which effectively improves the efficiency of configuring the production mode of the target node.
[0081] See also Figure 4a , Figure 4a This is a schematic diagram of an application scenario of the order processing method according to this embodiment.
[0082] In this embodiment, users can configure the order outbound process for an order through the configuration center and persist the order outbound process to the database, while simultaneously writing it to the Redis cache. During the execution of the order outbound process, the execution entity can listen for update commands input by the user through a listening component and determine the target node in the order outbound process based on the update command, such as the verification node. Furthermore, the execution entity can perform intelligent matching, that is, determine whether the target mode indicated by the update command matches the initial mode of the target node. If they do not match, the target mode indicated by the update command can be further verified according to the verification conditions of the production mode of the target node corresponding to the order in the order outbound process. If the verification passes, the production mode of the target node is switched from the initial mode to the target mode indicated by the update command, that is, the production mode of the target node in the order outbound process is changed, and a change message for the order outbound process can be generated. The change message is recorded and persisted to the database through instrumentation.
[0083] Furthermore, the executing entity can respond to the order outbound process through the executor based on asynchronous tasks and execute to the target node, process the order based on the target pattern, and record and persist the execution process to the database through instrumentation.
[0084] See also Figure 4b , Figure 4b This is a schematic diagram of another application scenario of the order processing method according to this embodiment.
[0085] During product promotions, when a user triggers a one-click outbound order on the operation page, an update instruction is generated to configure the production mode of all nodes following the current node in the order outbound process to automatic mode. If the current node is a group order node, the one-click outbound operation generates an update instruction to set the production mode of the picking, distribution, verification, packing, and outbound nodes following the group order node to automatic mode. If the current node is a picking node, the update instruction sets the production mode of the distribution, verification, packing, and outbound nodes following the picking node to automatic mode.
[0086] Upon receiving the update instruction, the executing entity determines the target node and can further verify the target mode indicated by the update instruction based on the verification conditions of the production mode of the target node for the order corresponding to the order outbound process. Upon successful verification, the entity sends a change message to the change order outbound process interface through an asynchronous task to configure the production mode of the target node in the order outbound process to the target mode indicated by the update instruction, i.e., process node mode change.
[0087] Furthermore, by utilizing asynchronous tasks, the final node is determined among all nodes in the order outbound process. Based on the final node, a prompt message is generated, which locks the order to prevent it from being canceled after entering the one-click outbound process.
[0088] Furthermore, by utilizing asynchronous task responses to detect when the order outbound process reaches the target node, order processing can be performed according to the target mode. That is, if the target node is a picking node, a distribution node, a verification node, a packing node, and an outbound node, when the order outbound process reaches the picking node, the picking node, distribution node, verification node, packing node, and outbound node are executed in automatic mode. That is, automatic picking, automatic distribution, automatic verification, automatic packing, and automatic outbound are executed according to the preset automation strategies corresponding to each node. If the target node is a distribution node, a verification node, a packing node, and an outbound node, then automatic distribution, automatic verification, automatic packing, and automatic outbound are executed according to the preset automation strategies corresponding to each node.
[0089] Furthermore, the executing entity receives query instructions for the order outbound process through the command query component, presents the latest order outbound process through the query order outbound process interface, can also receive order cancellation instructions through the command query component, and cancel orders based on the latest order outbound process through the query order outbound process interface.
[0090] Further reference Figure 5 As an implementation of the methods shown in the above figures, this application provides an embodiment of an order processing apparatus, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.
[0091] like Figure 5 As shown, the order processing device 500 of this embodiment includes: a determination module 501, a configuration module 502, and a processing module 503.
[0092] The determination module 501 can be configured to determine the target node from the order outbound process based on the update instruction detected in response to the update instruction for the order outbound process.
[0093] Configuration module 502 can be configured to configure the production mode of the target node to the target mode indicated by the update command.
[0094] Processing module 503 can be configured to configure the production mode of the target node to the target mode indicated by the update command.
[0095] In some optional embodiments of this example, the configuration module is further configured to: in response to determining that the target mode indicated by the update command does not match the initial mode of the target node, switch the production mode of the target node from the initial mode to the target mode.
[0096] In some optional embodiments of this example, the configuration module is further configured to, in response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node, verify the target mode indicated by the update instruction according to the verification conditions of the production mode of the target node for the target order; and in response to passing the verification, switch the production mode of the target node from the initial mode to the target mode.
[0097] In some optional embodiments of this invention, the device further includes: a prompting module configured to determine the final node among all nodes in the order outbound process; and to generate prompting information based on the final node.
[0098] In some optional embodiments of this example, the processing module is further configured to respond to the order outbound process reaching the first target node in the execution order among multiple target nodes, and to process the order using the automatic mode corresponding to each target node according to the execution order of the target nodes.
[0099] In some optional ways of this embodiment, the order outbound process is generated in the following manner: an outbound process template is determined based on the order information and warehouse information of the order to be processed; and the order outbound process is generated based on the configuration results of the production mode for each node in the outbound process template.
[0100] In some optional embodiments of this invention, the device further includes a monitoring module configured to monitor the execution of the order outbound process and generate monitoring logs.
[0101] It should be noted that the collection, gathering, updating, analysis, processing, use, transmission, and storage of user personal information involved in this disclosed technical solution all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.
[0102] According to embodiments of this application, this application also provides an electronic device and a readable storage medium.
[0103] like Figure 6The diagram shown is a block diagram of an electronic device for an order processing method according to an embodiment of this application.
[0104] 600 is a block diagram of an electronic device for an order processing method according to embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.
[0105] like Figure 6 As shown, the electronic device includes one or more processors 601, a memory 602, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components are interconnected via different buses and can be mounted on a common motherboard or otherwise as required. The processors can process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 6 Take the 601 processor as an example.
[0106] The memory 602 is the non-transitory computer-readable storage medium provided in this application. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the order processing method provided in this application. The non-transitory computer-readable storage medium of this application stores computer instructions for causing a computer to perform the order processing method provided in this application.
[0107] Memory 602, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the order processing method in the embodiments of this application (e.g., attached...). Figure 5 The processor 601 (shown as the determining module 501, configuration module 502, and processing module 503) executes various server functions and data processing by running non-transient software programs, instructions, and modules stored in the memory 602, thereby implementing the order processing method in the above method embodiments.
[0108] Memory 602 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the use of the order processing electronic device. Furthermore, memory 602 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 602 may optionally include memory remotely located relative to processor 601, and this remote memory may be connected to the order processing electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0109] The electronic device for the order processing method may further include an input device 603 and an output device 604. The processor 601, memory 602, input device 603, and output device 604 can be connected via a bus or other means. Figure 6 Taking the example of a connection between China and Israel via a bus.
[0110] Input device 603 can receive input numerical or character information, such as a touchscreen, keypad, mouse, trackpad, touchpad, joystick, one or more mouse buttons, trackball, joystick, etc. Output device 604 may include a display device, auxiliary lighting device (e.g., LED), and haptic feedback device (e.g., vibration motor). The display device may include, but is not limited to, a liquid crystal display (LCD), a light-emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touchscreen.
[0111] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, application-specific integrated circuits (ASICs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transferring data and instructions to the storage system, the at least one input device, and the at least one output device.
[0112] These computational programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms “machine-readable medium” and “computer-readable medium” refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term “machine-readable signal” refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0113] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0114] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0115] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.
[0116] The technical solution according to the embodiments of this application effectively improves the flexibility and efficiency of order processing.
[0117] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application can be achieved, and this is not limited herein.
[0118] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An order processing method, the method comprising: In response to detecting an update instruction for the order outbound process, a target node is determined from the order outbound process based on the update instruction, wherein the target node is the node following the current node executed in the order outbound process; Configure the production mode of the target node to the target mode indicated by the update command; In response to the order outbound process reaching the target node, the order is processed based on the target mode.
2. The method of claim 1, wherein, The step of configuring the production mode of the target node to the target mode indicated by the update command includes: In response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node, the production mode of the target node is switched from the initial mode to the target mode.
3. The method of claim 2, wherein, The step of switching the production mode of the target node from the initial mode to the target mode in response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node includes: In response to determining that the target mode indicated by the update instruction does not match the initial mode of the target node, the target mode indicated by the update instruction is verified according to the verification conditions of the production mode of the target order for the target node, wherein the target order is the order corresponding to the order outbound process; In response to successful verification, the production mode of the target node is switched from the initial mode to the target mode.
4. The method according to claim 1, after configuring the production mode of the target node to the target mode indicated by the update instruction, the method further includes: The final node is determined among all nodes in the order outbound process, wherein the final node is the last node in the order outbound process whose production mode is manual mode; A prompt message is generated based on the final node, and the prompt message is used to indicate that it is forbidden to cancel the order corresponding to the order outbound process after the final node is completed.
5. The method according to claim 1, wherein, The number of target nodes is multiple and their execution order is adjacent. The target mode is automatic mode. The order processing based on the target mode, in response to the order outbound process being executed to the target node, includes: In response to the order outbound process reaching the first target node in the execution order among multiple target nodes, the order is processed in the automatic mode corresponding to each target node according to the execution order of the target nodes.
6. The method according to claim 1, wherein, The order outbound process is generated in the following way: Based on the order information and warehouse information of the orders to be processed, determine the outbound process template; The order outbound process is generated based on the configuration results of the production mode for each node in the outbound process template.
7. An order processing apparatus, the apparatus comprising: The determination module is configured to, in response to detecting an update instruction for the order outbound process, determine a target node from the order outbound process based on the update instruction, wherein the target node is the node following the current node executed in the order outbound process; The configuration module is configured to configure the production mode of the target node to the target mode indicated by the update command; The processing module is configured to process orders based on the target mode in response to the execution of the order outbound process to the target node.
8. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores information that can be executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1-6.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-6.
10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-6.