Consumable recommendation method and device
By using the consumable recommendation method in the warehouse management system, orders are obtained and normalized, and consumable recommendation results are judged and generated, the compatibility and cost problems of the existing technology in personalized scenarios are solved, and efficient and accurate consumable recommendations are achieved.
Patent Information
- Application Number
- CN202311466062.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-05-06
AI Technical Summary
The existing consumables recommendation method faces personalized scenarios with optimal non-volume loading, poor compatibility, high implementation costs, and difficult to meet the needs of sales and operation management.
A consumable recommendation method is proposed, by obtaining the order to be processed, performing normalization processing, determining whether the preset consumable instruction corresponds to, and generating consumable recommendation results based on the preset consumable instruction. This method is compatible with orders from a variety of different sources and provides a space for personalized customization.
It realizes the recommendation of consumables for order items in the warehouse management system, determines the accurate consumable results corresponding to the order items, is compatible with personalized scenarios, reduces R&D costs, supports merchants/customers to quickly import, and improves the diversity and accuracy of consumable recommendations.
Smart Images

Figure CN119941344A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the fields of computer technology and logistics technology, and in particular, to a consumables recommendation method and device. Background Art
[0002] Currently, traditional consumables recommendation methods focus on calculating and recommending consumables based on volume loading optimization ideas, and around this goal, modifications and learning are made to algorithms and methods.
[0003] There are many actual sales scenarios, including many personalized scenarios that are not optimal for volume loading, such as the use of specific packaging sets for cosmetics, customers paying to specify specific packaging, the use of special packaging for alcoholic beverages, and customers requiring packaging with their own logos. These scenarios are mostly for the needs of sales and operations management, and are not scenarios that can be solved through algorithm improvement and learning. These scenarios have poor compatibility and high implementation costs in the current consumables recommendation methods. Summary of the invention
[0004] Embodiments of the present disclosure provide a consumables recommendation method, a consumables recommendation device, an electronic device, and a computer-readable medium.
[0005] In a first aspect, an embodiment of the present disclosure provides a consumables recommendation method, the method comprising: obtaining a pending order, wherein the pending order comprises a plurality of order items; normalizing the pending order to obtain a pending order corresponding to the pending order; determining whether the pending order corresponds to a preset consumables instruction; in response to determining that the pending order corresponds to the preset consumables instruction, generating consumables recommendation results corresponding to the plurality of order items based on the preset consumables instruction.
[0006] In some embodiments, in response to determining that an order to be calculated corresponds to a preset consumable instruction, consumable recommendation results corresponding to multiple order items are generated based on the preset consumable instructions, including: in response to determining that the order to be calculated corresponds to a preset consumable instruction, determining a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction from multiple order items; determining a first consumable result for the first order item based on the preset consumable instruction; determining a second consumable result for the second order item based on the general calculation instruction; and generating consumable recommendation results corresponding to multiple order items based on the first consumable result and the second consumable result.
[0007] In some embodiments, the preset consumable instructions include consumable results corresponding to the order items or consumable rules corresponding to the order items.
[0008] In some embodiments, based on preset consumable instructions, determining the first consumable result of the first order item includes: determining the target consumable recommendation rule corresponding to the first order item based on the consumable recommendation rule corresponding to the order item; determining the first consumable result of the first order item based on the general calculation instruction and the target consumable recommendation rule.
[0009] In some embodiments, in response to determining that the order to be calculated does not correspond to a preset consumable instruction, consumable recommendation results corresponding to multiple order items are generated based on the general calculation instruction.
[0010] In some embodiments, the orders to be processed are normalized to obtain the orders to be calculated corresponding to the orders to be processed, including: in response to obtaining the orders to be processed, performing order processing on the orders to be processed; obtaining the processing node of the orders to be processed; in response to determining that the processing node is a review task initialization node, normalizing the orders to be processed to obtain the orders to be calculated corresponding to the orders to be processed.
[0011] In some embodiments, the method further includes: sending the consumables recommendation result to the client, so that the client displays the consumables recommendation result.
[0012] In a second aspect, an embodiment of the present disclosure provides a consumables recommendation device, which includes: an acquisition module, configured to acquire a pending order, wherein the pending order includes a plurality of order items; a normalization module, configured to normalize the pending order to obtain an order to be calculated corresponding to the pending order; a judgment module, configured to judge whether the order to be calculated corresponds to a preset consumables instruction; and a generation module, configured to generate consumables recommendation results corresponding to a plurality of order items based on the preset consumables instruction in response to determining that the order to be calculated corresponds to the preset consumables instruction.
[0013] In some embodiments, the generation module includes: a first determination unit, configured to: in response to determining that the order to be calculated corresponds to a preset consumable instruction, determine a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction from multiple order items; a second determination unit, configured to: determine a first consumable result for the first order item based on the preset consumable instruction; a third determination unit, configured to: determine a second consumable result for the second order item based on the general calculation instruction; and a generation unit, configured to: generate consumable recommendation results corresponding to multiple order items based on the first consumable result and the second consumable result.
[0014] In some embodiments, the preset consumable instructions include consumable results corresponding to the order items or consumable rules corresponding to the order items.
[0015] In some embodiments, the first determination unit is further configured to: determine a target consumable recommendation rule corresponding to the first order item based on the consumable recommendation rule corresponding to the order item; and determine a first consumable result for the first order item based on the general computing instruction and the target consumable recommendation rule.
[0016] In some embodiments, the generation module is further configured to: in response to determining that the order to be calculated does not correspond to a preset consumable instruction, generate consumable recommendation results corresponding to multiple order items based on the general calculation instruction.
[0017] In some embodiments, the normalization module is further configured to: in response to obtaining a pending order, perform order processing on the pending order; obtain a processing node for the pending order; in response to determining that the processing node is a review task initialization node, normalize the pending order to obtain a pending order corresponding to the pending order.
[0018] In some embodiments, the device further includes a sending module; the sending module is configured to: send the consumables recommendation result to the client, so that the client displays the consumables recommendation result.
[0019] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: one or more processors; a storage device on which one or more programs are stored; when the one or more programs are executed by one or more processors, the one or more processors implement the consumables recommendation method described in any embodiment of the first aspect.
[0020] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the consumables recommendation method as described in any embodiment of the first aspect.
[0021] The consumables recommendation method provided by the embodiment of the present disclosure, the above-mentioned execution body first obtains a pending order, which includes multiple order items, and then normalizes the pending order to obtain a pending order corresponding to the pending order, and then determines whether the pending order corresponds to a preset consumables instruction. Finally, in response to determining that the pending order corresponds to the preset consumables instruction, based on the preset consumables instruction, a plurality of consumables recommendation results corresponding to the order items are generated, and consumables recommendations for order items can be made in the warehouse management system to determine the precise consumables results corresponding to the order items. It is also possible to receive pending orders from multiple different sources, such as multiple merchants and multiple platforms, and normalize the pending orders from multiple sources to obtain pending orders that can be uniformly processed by the warehouse management system, thereby supporting compatible pending orders from multiple sources, and being able to generate consumables recommendation results corresponding to multiple order items based on the preset consumables instruction, providing each cooperative customer with a personalized customization space, integrating the personalized requirements of each customer, so as to achieve the purpose of being compatible with personalized scenarios and reducing R&D costs, supporting merchants / customers to quickly import, and improving the diversity and accuracy of consumables recommendations. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0023] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0024] Figure 2 is a flow chart of an embodiment of a consumables recommendation method according to the present disclosure;
[0025] Figure 3 is a flow chart of an embodiment of generating consumables recommendation results corresponding to multiple order items according to the present disclosure;
[0026] Figure 4 is a flow chart of an embodiment of normalizing pending orders according to the present disclosure;
[0027] Figure 5 is a schematic structural diagram of an embodiment of a consumables recommendation device according to the present disclosure;
[0028] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION
[0029] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant disclosure, rather than to limit the disclosure. It is also necessary to explain that, for ease of description, only the parts related to the relevant disclosure are shown in the accompanying drawings.
[0030] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0031] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the consumables recommendation method or consumables recommendation apparatus of the present application can be applied.
[0032] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a warehouse management system 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the warehouse management system 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0033] The user can use the terminal devices 101, 102, 103 to interact with the warehouse management system 105 through the network 104 to receive or send messages, etc. The terminal devices 101, 102, 103 can be user terminal devices, on which various client applications can be installed, such as e-commerce platform applications, image applications, video applications, search applications, financial applications, etc.
[0034] The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting receiving server messages, including but not limited to smart phones, tablet computers, e-book readers, electronic players, laptop computers, desktop computers, and the like.
[0035] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, multiple software modules for providing distributed services), or they can be implemented as a single software or software module. No specific limitation is made here.
[0036] The warehouse management system 105 may be a server that provides various services, such as a backend server that receives requests sent by a terminal device that establishes a communication connection with the backend server. The backend server may receive and analyze the requests sent by the terminal device and generate a processing result.
[0037] The warehouse management system 105 can obtain pending orders, which include multiple order items, and then normalize the pending orders to obtain pending orders corresponding to the pending orders. It then determines whether the pending orders correspond to preset consumable instructions. Finally, in response to determining that the pending orders correspond to the preset consumable instructions, it generates consumable recommendation results corresponding to multiple order items based on the preset consumable instructions.
[0038] It should be noted that the server can be hardware or software. When the server is hardware, it can be various electronic devices that provide various services to the terminal device. When the server is software, it can be implemented as multiple software or software modules that provide various services to the terminal device, or it can be implemented as a single software or software module that provides various services to the terminal device. No specific limitation is made here.
[0039] It should be noted that the consumables recommendation method provided in the embodiment of the present disclosure may be executed by the warehouse management system 105 , and accordingly, the consumables recommendation device may be disposed in the warehouse management system 105 .
[0040] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0041] refer to Figure 2 , a flowchart 200 of an embodiment of a consumables recommendation method according to the present disclosure is shown. The consumables recommendation method comprises the following steps:
[0042] Step 210, obtaining pending orders.
[0043] In this step, the execution subject (eg Figure 1 The warehouse management system 105) can obtain pending orders from a terminal device or locally through network reading, etc. At this time, the terminal device can be an upstream device for the warehouse management system, such as an order generation system, etc. The pending orders can be orders that need to be sorted and packaged by the warehouse management system. Different pending orders can be orders from various sources, orders from different users, orders from different platforms, etc., and can include multiple order items.
[0044] Step 220, normalize the orders to be processed to obtain the orders to be calculated corresponding to the orders to be processed.
[0045] In this step, after the above-mentioned execution entity obtains the pending orders, it can use the normalization model to normalize the pending orders, convert the order format of the pending orders, and obtain the processed orders with a unified format, thereby obtaining the pending orders corresponding to the pending orders. The pending orders correspond to the pending orders, and the pending orders have different order formats from the pending orders. The pending orders are orders that can be processed uniformly by the warehouse management system.
[0046] Step 230, determining whether the order to be calculated corresponds to a preset consumables instruction.
[0047] In this step, after the above-mentioned execution entity obtains the order to be calculated, it can extract the order information from the order to be calculated, and determine whether the order information includes preset consumable instructions. The preset consumable instructions can be the consumable instructions set by the item merchant for the item, or the consumable instructions set by the item buyer for the item, thereby determining whether the order to be calculated corresponds to the preset consumable instructions.
[0048] Step 240 , in response to determining that the order to be calculated corresponds to a preset consumable instruction, generating consumable recommendation results corresponding to a plurality of order items based on the preset consumable instruction.
[0049] In this step, the above-mentioned execution entity determines that the preset consumable instructions correspond to the order to be calculated, and can determine the consumable results corresponding to each order item based on the preset consumable instructions corresponding to the order to be calculated, and generate consumable recommendation results corresponding to multiple order items based on the consumable results corresponding to each order item.
[0050] As an example, the above-mentioned order to be calculated includes item A, item B and item C, and the preset consumable instructions include using package A for item A and using package B for items B and C. Therefore, the above-mentioned execution entity determines, based on the preset consumable instructions, that the consumable result for item A is package A, and the consumable result for items B and C is package B, and the recommended consumable results for multiple order items are [package A: item A, package B: item B and item C].
[0051] The consumables recommendation method provided by the embodiment of the present disclosure, the above-mentioned execution body first obtains a pending order, which includes multiple order items, and then normalizes the pending order to obtain a pending order corresponding to the pending order, and then determines whether the pending order corresponds to a preset consumables instruction. Finally, in response to determining that the pending order corresponds to the preset consumables instruction, based on the preset consumables instruction, a plurality of consumables recommendation results corresponding to the order items are generated, and consumables recommendations for order items can be made in the warehouse management system to determine the precise consumables results corresponding to the order items. It is also possible to receive pending orders from multiple different sources, such as multiple merchants and multiple platforms, and normalize the pending orders from multiple sources to obtain pending orders that can be uniformly processed by the warehouse management system, thereby supporting compatible pending orders from multiple sources, and being able to generate consumables recommendation results corresponding to multiple order items based on the preset consumables instruction, providing each cooperative customer with a personalized customization space, integrating the personalized requirements of each customer, so as to achieve the purpose of being compatible with personalized scenarios and reducing R&D costs, supporting merchants / customers to quickly import, and improving the diversity and accuracy of consumables recommendations.
[0052] As an optional implementation, continue to refer to Figure 2 The above-mentioned consumables recommendation method may further include: step 250, in response to determining that the order to be calculated does not correspond to the preset consumables instruction, generating consumables recommendation results corresponding to multiple order items based on the general calculation instruction.
[0053] Specifically, after determining that the order to be calculated does not correspond to the preset consumables instruction, the above-mentioned execution entity uses general calculation instructions to perform consumables calculation on multiple order items in the order to be calculated, for example, uses a general algorithm Jar package to perform consumables calculation on multiple order items to generate consumables recommendation results corresponding to the multiple order items.
[0054] In this implementation, when the order to be calculated does not correspond to the preset consumables instruction, the general calculation instructions are used to generate consumables recommendation results corresponding to multiple order items, thereby improving the flexibility of consumables calculation.
[0055] See also Figure 3 , Figure 3 A flowchart 300 is shown of an embodiment of generating consumables recommendation results corresponding to multiple order items, that is, the above step 240, in response to determining that the order to be calculated corresponds to a preset consumable instruction, generating consumables recommendation results corresponding to multiple order items based on the preset consumable instruction, which may include the following steps:
[0056] Step 310, in response to determining that the order to be calculated corresponds to the preset consumable instruction, determining a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction from a plurality of order items.
[0057] In this step, the above-mentioned execution entity determines through judgment that the order to be calculated corresponds to a preset consumable instruction. Then, the order item corresponding to the preset consumable instruction can be used to select the first order item corresponding to the preset consumable instruction from multiple order items, and the remaining items in the multiple order items can be determined as the second order items corresponding to the general calculation instruction, thereby obtaining the first order item corresponding to the preset consumable instruction and the second order item corresponding to the general calculation instruction.
[0058] As an example, the order to be calculated includes item A, item B and item C, and the preset consumable instruction includes using packaging box A for item A, so that the execution entity determines, based on the preset consumable instruction, item A corresponding to the preset consumable instruction and items B and C corresponding to the general calculation instruction from multiple order items.
[0059] Step 320: Determine a first consumable result for the first order item based on the preset consumable instruction.
[0060] In this step, after the execution subject determines the first order item corresponding to the preset consumable instruction, it can determine the first consumable result of the first order item according to the preset consumable instruction.
[0061] As an example, the preset consumables instruction includes using packaging box A for item A, so that the execution subject determines that the first consumable result corresponding to item A is [packaging box A: item A] according to the preset consumables instruction.
[0062] As an optional implementation, the preset consumables instruction may include consumables results corresponding to the order items or consumables rules corresponding to the order items. The consumables results corresponding to the order items may be specific consumables results corresponding to the order items, such as using packaging box A for item A, etc. The consumables rules corresponding to the order items may be consumables recommendation rules corresponding to the order items, such as using thickened carton type for item B, etc.
[0063] Step 330 , determining a second consumable result for the second order item based on the general computing instruction.
[0064] In this step, after the above-mentioned execution entity determines the second order item corresponding to the general computing instruction, it can perform consumable calculations on the second order item according to the general computing instructions, for example, using the general algorithm Jar package to perform consumable calculations on the second order item to determine the second consumable result of the second order item.
[0065] Step 340: Generate consumable recommendation results corresponding to a plurality of order items based on the first consumable result and the second consumable result.
[0066] In this step, after the execution subject determines the first consumable result and the second consumable result, the first consumable result and the second consumable result can be combined to generate consumable recommendation results corresponding to multiple order items.
[0067] As an example, the above-mentioned order to be calculated includes item A, item B and item C, and the preset consumable instruction includes using packaging box A for item A, so that the above-mentioned execution entity determines that the first consumable result corresponding to item A is [packaging box A: item A] according to the preset consumable instruction, and determines that the second consumable result corresponding to items B and C is [, packaging box B: item B and item C] according to the general calculation instruction, and the consumable recommendation result generated by merging the first consumable result and the second consumable result is [packaging box A: item A, packaging box B: item B and item C].
[0068] In this embodiment, by calculating the preset consumable instructions and general calculation instructions for the order to be calculated, on the basis of the general algorithm recommending consumables, combined with the preset consumable instructions, a space for personalized customization is provided, which can integrate personalized requirements and general recommended calculation results to obtain the final consumable recommendation results, so as to achieve the purpose of being compatible with personalized scenarios and reducing R&D costs.
[0069] As an optional implementation, if the above-mentioned preset consumable instructions include consumable rules corresponding to order items, the above-mentioned step 320, based on the preset consumable instructions, determines the first consumable result of the first order item, and may include the following steps: based on the consumable recommendation rules corresponding to the order items, determines the target consumable recommendation rules corresponding to the first order item; based on the general calculation instructions and the target consumable recommendation rules, determines the first consumable result of the first order item.
[0070] Specifically, the execution subject determines that the preset consumables instruction includes the consumables rules corresponding to the order items, and then determines the target consumables recommendation rule corresponding to the first order item, and the target consumables recommendation rule is the consumables rule for the first order item. Then the execution subject can use the general calculation instruction and the target consumables recommendation rule to perform consumables calculation on the first order item, for example, use the general algorithm Jar package and the target consumables recommendation rule to perform consumables calculation on the first order item, and determine the first consumable result of the first order item.
[0071] As an example, the first order item includes a bottle of 750ml functional beverage, and based on the preset consumables rule, the target consumable recommendation rule is determined as the thickened carton type for 750ml functional beverage. Then the execution subject uses the general algorithm to calculate the recommended consumables for the first order item according to the thickened carton type for 750ml functional beverage, and the first consumable result is [1 bottle of 750ml functional beverage: HC003 (thickened carton)].
[0072] In this implementation, by calculating the preset consumable instructions and general calculation instructions for the calculation order, on the basis of the general algorithm recommending consumables, combined with the consumable rules corresponding to the order items, it not only provides space for personalized customization, but also combines universal consumable recommendations. It can integrate personalized requirements and universal recommended calculation results to obtain the final consumable results, so as to achieve the purpose of being compatible with personalized scenarios and reducing R&D costs.
[0073] refer to Figure 4 , Figure 4 A flowchart 400 of an embodiment of normalizing the orders to be processed is shown, that is, the above step 220, normalizing the orders to be processed to obtain the orders to be calculated corresponding to the orders to be processed, which may include the following steps:
[0074] Step 410: In response to obtaining the pending order, order processing is performed on the pending order.
[0075] In this step, after the execution entity obtains the pending orders, it can process the pending orders and perform operations such as document information processing, sorting and packaging on the pending orders.
[0076] Step 420, obtaining the processing node of the order to be processed.
[0077] In this step, the execution entity can obtain the processing node of the order to be processed in real time.
[0078] Step 430, in response to determining that the processing node is a review task initialization node, normalize the orders to be processed to obtain the to-be-calculated orders corresponding to the orders to be processed.
[0079] In this step, if the execution subject determines that the processing node of the pending order is the review task initialization node, it starts to execute asynchronous tasks on the pending order, normalizes the pending order, and obtains the pending order corresponding to the pending order.
[0080] In this embodiment, by considering the impact of both data accuracy and system operating performance, the consumables recommendation is accessed during the review process as the node with the most accurate data. By utilizing dual asynchronous tasks, the system response requirements are low, and there is no need to consider the confluence situation. Temporarily following a set of recommendations can ensure the accuracy of the consumables recommendation and system performance.
[0081] As an optional implementation manner, the above consumables recommendation method may further include the following steps: sending the consumables recommendation result to the client, so that the client displays the consumables recommendation result.
[0082] Specifically, after the above-mentioned execution entity obtains the consumable recommendation results corresponding to the pending order, the consumable recommendation results can be sent to the client so that the client can display the consumable recommendation results, display and apply them at the user interaction level, and the user can record the usage result data based on the consumable recommendation results.
[0083] In this implementation, by sending the consumables recommendation results to the client, the user can timely understand the consumables recommendation results corresponding to the pending orders.
[0084] refer to Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a consumables recommendation device. Figure 2 The method embodiments shown correspond.
[0085] like Figure 5 As shown, the consumables recommendation device 500 of this embodiment may include: an acquisition module 510 , a normalization module 520 , a judgment module 530 and a generation module 540 .
[0086] The acquisition module 510 is configured to acquire a pending order, wherein the pending order includes a plurality of order items;
[0087] A normalization module 520 is configured to perform normalization processing on the pending orders to obtain pending orders corresponding to the pending orders;
[0088] The determination module 530 is configured to determine whether the order to be calculated corresponds to a preset consumables instruction;
[0089] The generation module 540 is configured to generate consumables recommendation results corresponding to the multiple order items based on the preset consumables instruction in response to determining that the order to be calculated corresponds to the preset consumables instruction.
[0090] In some optional implementations of the present embodiment, the generation module 540 includes: a first determination unit, configured to: in response to determining that the order to be calculated corresponds to a preset consumable instruction, determine a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction from multiple order items; a second determination unit, configured to: determine a first consumable result for the first order item based on the preset consumable instruction; a third determination unit, configured to: determine a second consumable result for the second order item based on the general calculation instruction; and a generation unit, configured to: generate consumable recommendation results corresponding to multiple order items based on the first consumable result and the second consumable result.
[0091] In some optional implementations of the present embodiment, the preset consumables instruction includes the consumables results corresponding to the order items or the consumables rules corresponding to the order items.
[0092] In some optional implementations of the present embodiment, the first determination unit is further configured to: determine the target consumables recommendation rule corresponding to the first order item based on the consumables recommendation rule corresponding to the order item; determine the first consumables result of the first order item based on the general computing instructions and the target consumables recommendation rule.
[0093] In some optional implementations of the present embodiment, the generation module 540 is further configured to: in response to determining that the order to be calculated does not correspond to the preset consumables instruction, generate consumables recommendation results corresponding to multiple order items based on the general calculation instructions.
[0094] In some optional implementations of the present embodiment, the normalization module 520 is further configured to: in response to obtaining a pending order, perform order processing on the pending order; obtain a processing node for the pending order; in response to determining that the processing node is a review task initialization node, normalize the pending order to obtain a pending order corresponding to the pending order.
[0095] In some optional implementations of the present embodiment, the device further includes a sending module; the sending module is configured to: send the consumables recommendation result to the client, so that the client displays the consumables recommendation result.
[0096] The consumables recommendation device provided by the above-mentioned embodiment of the present disclosure, the above-mentioned execution body first obtains a pending order, which includes multiple order items, and then normalizes the pending order to obtain a pending order corresponding to the pending order, and then determines whether the pending order corresponds to a preset consumables instruction. Finally, in response to determining that the pending order corresponds to the preset consumables instruction, based on the preset consumables instruction, a plurality of consumables recommendation results corresponding to the order items are generated, and consumables recommendations for order items can be made in the warehouse management system to determine the precise consumables results corresponding to the order items. It is also possible to receive pending orders from multiple different sources, such as multiple merchants and multiple platforms, and normalize the pending orders from multiple sources to obtain pending orders that can be uniformly processed by the warehouse management system, thereby supporting compatible pending orders from multiple sources, and being able to generate consumables recommendation results corresponding to multiple order items based on the preset consumables instruction, providing each cooperative customer with a personalized customization space, integrating the personalized requirements of each customer, so as to achieve the purpose of being compatible with personalized scenarios and reducing R&D costs, supporting merchants / customers to quickly import, and improving the diversity and accuracy of consumables recommendations.
[0097] Those skilled in the art will appreciate that the above-mentioned device also includes some other well-known structures, such as a processor, a memory, etc. In order to unnecessarily obscure the embodiments of the present disclosure, these well-known structures are described in detail. Figure 5 Not shown.
[0098] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0099] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as smart screens, notebook computers, PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0100] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0101] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0102] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium of the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
[0103] Computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0104] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0105] The units involved in the embodiments described in the present application may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module, a normalization module, a judgment module and a generation module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases.
[0106] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device; or may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device: obtains a pending order, wherein the pending order includes multiple order items; normalizes the pending order to obtain an order to be calculated corresponding to the pending order; determines whether the order to be calculated corresponds to a preset consumable instruction; in response to determining that the order to be calculated corresponds to the preset consumable instruction, generates a consumable recommendation result corresponding to multiple order items based on the preset consumable instruction.
[0107] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A consumables recommendation method, applied to a warehouse management system, comprising: Obtaining a pending order, wherein the pending order includes a plurality of order items; Normalizing the pending orders to obtain pending orders corresponding to the pending orders; Determining whether the order to be calculated corresponds to a preset consumables instruction; In response to determining that the order to be calculated corresponds to the preset consumables instruction, consumables recommendation results corresponding to the multiple order items are generated based on the preset consumables instruction.
2. The method according to claim 1, wherein: In response to determining that the order to be calculated corresponds to the preset consumables instruction, generating consumables recommendation results corresponding to the plurality of order items based on the preset consumables instruction, includes: In response to determining that the order to be calculated corresponds to the preset consumable instruction, determining, from the plurality of order items, a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction; Determining a first consumable result for the first order item based on the preset consumable instruction; Determining a second consumable result for the second order item based on the general calculation instruction; Based on the first consumable result and the second consumable result, consumable recommendation results corresponding to the plurality of order items are generated.
3. The method according to claim 2, wherein: The preset consumables instruction includes consumables results corresponding to the order items or consumables rules corresponding to the order items.
4. The method according to claim 3, wherein: The determining, based on the preset consumables instruction, a first consumable result of the first order item includes: Determine a target consumables recommendation rule corresponding to the first order item based on the consumables recommendation rule corresponding to the order item; Based on the general calculation instruction and the target consumables recommendation rule, a first consumables result of the first order item is determined.
5. The method according to claim 1, further comprising: In response to determining that the order to be calculated does not correspond to the preset consumables instruction, based on the general calculation instruction, consumables recommendation results corresponding to the multiple order items are generated.
6. The method according to claim 1, wherein: The normalizing the pending orders to obtain the pending orders corresponding to the pending orders includes: In response to obtaining the pending order, performing order processing on the pending order; Obtaining the processing node of the pending order; In response to determining that the processing node is a review task initialization node, the to-be-processed orders are normalized to obtain to-be-calculated orders corresponding to the to-be-processed orders.
7. The method according to any one of claims 1 to 6, further comprising: The consumables recommendation result is sent to the client, so that the client displays the consumables recommendation result.
8. A consumables recommendation device, applied to a warehouse management system, comprising: An acquisition module is configured to acquire a pending order, wherein the pending order includes a plurality of order items; A normalization module is configured to perform normalization processing on the pending orders to obtain the pending orders corresponding to the pending orders; A determination module, configured to determine whether the order to be calculated corresponds to a preset consumables instruction; The generation module is configured to generate consumables recommendation results corresponding to the multiple order items based on the preset consumables instructions in response to determining that the order to be calculated corresponds to the preset consumables instructions.
9. The device according to claim 8, wherein: The generation module comprises: A first determining unit is configured to: in response to determining that the order to be calculated corresponds to the preset consumable instruction, determine a first order item corresponding to the preset consumable instruction and a second order item corresponding to the general calculation instruction from the multiple order items; A second determining unit is configured to: determine a first consumable result of the first order item based on the preset consumable instruction; A third determining unit is configured to: determine a second consumable result of the second order item based on the general calculation instruction; The generating unit is configured to generate consumable recommendation results corresponding to the plurality of order items based on the first consumable result and the second consumable result.
10. The device according to claim 9, wherein: The first determining unit is further configured to: Determine a target consumables recommendation rule corresponding to the first order item based on the consumables recommendation rule corresponding to the order item; Based on the general calculation instruction and the target consumables recommendation rule, a first consumables result of the first order item is determined.
11. The device according to claim 8, wherein: The normalization module is further configured to: In response to obtaining the pending order, performing order processing on the pending order; Obtaining the processing node of the pending order; In response to determining that the processing node is a review task initialization node, the to-be-processed orders are normalized to obtain to-be-calculated orders corresponding to the to-be-processed orders.
12. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 7.
13. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for processing order data
CN113762835A
Material and order matching method, device and equipment and computer readable storage medium
CN114202276A
Order information processing method and equipment
CN116681363A