Inventory positioning method, apparatus and device, and storage medium
By configuring target positioning rule groups for different business scenarios, the problem of low configurability of general positioning templates in the prior art is solved, and the efficiency and configuration efficiency of inventory positioning are improved.
Patent Information
- Application Number
- CN202311735656.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-06-17
AI Technical Summary
In the prior art, the configurability of the general positioning template is not high, resulting in low adjustment efficiency of inventory positioning strategies and affecting positioning efficiency.
By configuring target positioning rule groups for different business scenarios, decoupling inventory positioning strategies allows independent adjustment of strategies for each business scenario to improve the configurability of positioning templates.
The positioning efficiency of inventory positioning and the configuration efficiency of positioning templates are improved, making it more flexible and efficient when adjusting the inventory positioning strategy.
Smart Images

Figure CN120163527A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technologies, and in particular, to an inventory positioning method, apparatus, device, and storage medium. Background Art
[0002] Currently, when an inventory positioning platform receives a picking order, it can perform inventory positioning on the items in the picking order to determine the location of the item to be picked in the warehouse, so that a picking task can be generated according to the location of the item to be picked in the warehouse and wait for the picker to process. In the prior art, a general positioning template is generally used to perform inventory positioning on items. Specifically, inventory positioning on items can be performed according to the inventory positioning rules in the general positioning template.
[0003] However, in the process of implementing the present invention, it is found that there are at least the following problems in the prior art: To meet the differentiated business requirements in different business scenarios, the inventory positioning rules in the general positioning template couple the inventory positioning strategies in multiple business scenarios. When it is necessary to adjust the inventory positioning strategy of any business scenario, the general positioning template needs to be reconfigured. Therefore, the configurability of the general positioning template used for inventory positioning of items in the prior art is not high, which affects the configuration efficiency. And because there are many coupled inventory positioning strategies in the general positioning template, the positioning efficiency of inventory positioning of items is affected. Summary of the Invention
[0004] The embodiments of the present invention provide an inventory positioning method, apparatus, device, and storage medium, which can improve the positioning efficiency of inventory positioning of items and the configuration efficiency of the positioning template (i.e., the target positioning rule group in the embodiments of the present invention).
[0005] In a first aspect, the embodiments of the present invention provide an inventory positioning method, which may include: obtaining an order processing request; wherein, the order processing request carries at least one positioning input parameter field of a target item; for each target item, determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determining an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and each inventory positioning reference parameter corresponding to each inventory positioning rule in the current target positioning rule group; and determining an order processing result according to the inventory positioning results of each target item.
[0006] In a second aspect, the embodiments of the present invention further provide an inventory positioning apparatus, which may include: an obtaining module, an inventory positioning module, and a determining module;
[0007] Specifically, an obtaining module is configured to obtain an order processing request, where the order processing request carries at least one positioning input parameter field of a target item;
[0008] An inventory positioning module is configured to, for each target item, determine a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determine an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group;
[0009] A determining module is configured to determine an order processing result according to the inventory positioning results of each target item.
[0010] In a third aspect, an embodiment of the present invention provides an inventory positioning device, which includes:
[0011] One or more processors;
[0012] A memory for storing one or more programs;
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the inventory positioning method provided in any embodiment of the present invention.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the inventory positioning method provided in any embodiment of the present invention.
[0015] The above embodiments of the invention have the following advantages or beneficial effects:
[0016] In the technical solution provided by the embodiments of the present invention, corresponding target positioning rule groups can be pre-configured for different business scenarios according to the requirements of business scenarios. After obtaining an order processing request, the positioning input parameter fields of each target item carried in the order processing request can represent the business scenarios corresponding to each target item. Therefore, based on the positioning input parameter fields of each target item, the respective target positioning rule groups corresponding to each target item can be determined. Then, each target item can be subjected to inventory positioning through the respective target positioning rule groups. Specifically, for each target item, the current target positioning rule group corresponding to the current target item can be determined based on the positioning input parameter field of the current target item, and the inventory positioning result for the current target item can be determined according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group. After the inventory positioning results of each target item are determined respectively, the inventory positioning results can be integrated to determine the order processing result for the order processing request. It can be seen that the embodiments of the present invention realize the decoupling of the inventory positioning strategies for different business scenarios by configuring different positioning templates (i.e., the target positioning rule groups in the embodiments of the present invention). In this way, when it is necessary to adjust the inventory positioning strategy for a certain business scenario, only the target positioning rule group corresponding to the business scenario needs to be adjusted. Therefore, compared with the general positioning template in the prior art, the positioning template in the embodiments of the present invention has higher configurability, and thus the configuration efficiency of the positioning template can be improved. In addition, since the decoupling of the inventory positioning strategies for different business scenarios is achieved, the positioning efficiency of inventory positioning for items can also be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a schematic flowchart of an inventory positioning method provided by an embodiment of the present invention;
[0018] Figure 2 is a schematic flowchart of another inventory positioning method provided by an embodiment of the present invention;
[0019] Figure 3 is a schematic model diagram of an inventory positioning model provided by an embodiment of the present invention;
[0020] Figure 4 is a schematic flowchart of yet another inventory positioning method provided by an embodiment of the present invention;
[0021] Figure 5 is a schematic diagram of a task thread of an inventory positioning task provided by an embodiment of the present invention;
[0022] Figure 6 is a schematic flowchart of parameter processing of an inventory positioning component provided by an embodiment of the present invention;
[0023] Figure 7 It is a schematic flow chart of a process for processing each inventory positioning task in a parallel manner provided by an embodiment of the present invention;
[0024] Figure 8 It is a schematic structural diagram of an inventory positioning device provided by an embodiment of the present invention;
[0025] Figure 9 It is a schematic structural diagram of an inventory positioning device provided by an embodiment of the present invention. Detailed implementation manners
[0026] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present invention, rather than limiting the present invention. Additionally, it should be noted that for the sake of description, only parts related to the present invention are shown in the drawings rather than all structures.
[0027] The term "and / or" in this document is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0028] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally further include other unlisted steps or units, or may optionally further include other steps or units inherent to these processes, methods, products, or devices.
[0029] It should be noted that in the embodiments of the present invention, words such as "exemplary" or "such as" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, using words such as "exemplary" or "such as" is intended to present relevant concepts in a specific manner.
[0030] In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "a plurality" or "each" refers to two or more.
[0031] Figure 1 It is a flowchart of an inventory positioning method provided by an embodiment of the present invention. This method can be applied to an application scenario that requires inventory positioning for items ordered by users. This method can be executed by the inventory positioning device provided by the embodiment of the present invention. This device can be implemented in a software and / or hardware manner and integrated in an inventory positioning device.
[0032] In a possible implementation, the inventory positioning method provided by the embodiments of the present invention can be applied to an inventory positioning system including a client and a server. Specifically, the inventory positioning device for executing this method can be configured on the server. Correspondingly, the inventory positioning device integrated with the inventory positioning device can be the corresponding device of the server, such as the server or server cluster of the server.
[0033] As Figure 1 shown, the inventory positioning method provided by the embodiments of the present invention specifically includes the following steps:
[0034] S110. Obtain an order processing request.
[0035] Among them, the order processing request carries at least one positioning input parameter field of the target item.
[0036] In a possible implementation, the order processing request can be a request obtained by the server in response to an order processing instruction triggered by the user on the client. Exemplarily, taking the client as a shopping APP as an example, the user can trigger an order processing instruction by placing an order in the shopping APP. The order processing instruction can carry the item identifier of each target item in the order and the quantity of each target item ordered by the user. The server can respond to the order processing instruction, determine the current business scenario based on the item identifier of each target item, and thus can respectively determine the positioning input parameter field of each target item according to the current business scenario and the quantity of each target item, and obtain an order processing request carrying the positioning input parameter field of each target item.
[0037] In another possible implementation, the order processing request can be a request initiated by the client to the server in response to the user's order placement operation. Exemplarily, still taking the client as a shopping APP as an example, after the user places an order in the shopping APP, the shopping APP can respectively determine the positioning input parameter field of each target item based on the item identifier of each target item selected by the user in the application interface and the quantity of each target item. Then, the shopping APP can initiate an order processing request carrying the positioning input parameter field of each target item to the server.
[0038] It can be understood that in practical applications, the server can also obtain the order processing request through other means, and the embodiments of the present invention do not limit this.
[0039] The positioning input parameter fields can represent the business scenarios currently corresponding to each target item and the quantities of each target item ordered by the user. Exemplarily, if the user orders 5 target items A and 4 target items B in a certain order placement operation, the positioning input parameter fields carried in the order processing request obtained by the server can be the following fields: A-1001-5; B-1002-4. Among them, "A-1001-5" is the positioning input parameter field of target item A, and "B-1002-4" is the positioning input parameter field of target item B. Taking "A-1001-5" as an example, "A" in "A-1001-5" represents the item identifier of target item A, "1001" in "A-1001-5" represents the scenario identifier of the business scenario currently corresponding to target item A, and "5" in "A-1001-5" represents the quantity of target item A ordered by the user.
[0040] S120. For each target item, determine the current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determine the inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters corresponding to each inventory positioning rule in the current target positioning rule group.
[0041] In the embodiments of the present invention, corresponding target positioning rule groups can be pre-configured for different business scenarios according to business scenario requirements. Since the positioning input parameter fields of each target item can represent the business scenarios currently corresponding to each target item, in the case of obtaining an order processing request carrying the positioning input parameter fields of each target item, the target positioning rule groups corresponding to each target item can be determined based on the positioning input parameter fields of each target item, so as to determine the inventory positioning results for each target item according to each target positioning rule group.
[0042] Among them, the positioning rule group (i.e., the target positioning rule group, the pre-configured positioning rule group, the candidate positioning rule group, or the to-be-matched positioning rule group) in the embodiments of the present invention can be a rule group composed of multiple inventory positioning rules, and different inventory positioning rules are used to represent different inventory positioning strategies.
[0043] The inventory positioning reference parameter can be a parameter that needs to be referred to when performing inventory positioning on a target item based on the inventory positioning rule corresponding to the inventory positioning reference parameter. Exemplarily, if the inventory positioning reference parameter corresponding to a certain inventory positioning rule is the batch attribute of the target item (for example, it can be the production date), the inventory positioning strategy of this inventory positioning rule can be: based on the batch attributes of each candidate inventory of the target item, determine the target inventory corresponding to the quantity of the target item ordered by the user from each candidate inventory of the target item.
[0044] Exemplarily, still taking the positioning input parameter fields as the following fields: A-1001-5; B-1002-4 as an example, after the server obtains the two positioning input parameter fields carrying "A-1001-5; B-1002-4", it can determine the target positioning rule group A pre-configured for business scenario A as the target positioning rule group corresponding to target item A, and can determine the target positioning rule group B pre-configured for business scenario B as the target positioning rule group corresponding to target item B. Taking the target positioning rule group A as an example, if the target positioning rule group A includes inventory positioning rule A and inventory positioning rule B, and inventory positioning rule A corresponds to inventory positioning reference parameter A, and inventory positioning rule B corresponds to inventory positioning reference parameter B, then, the initial screening inventories can be determined from each candidate inventory of target item A based on inventory positioning rule A and inventory positioning reference parameter A first, and then, 5 target inventories can be determined from each initial screening inventory based on inventory positioning rule B and inventory positioning reference parameter B, and the inventory positioning result for target item A can be determined according to the location information corresponding to these 5 target inventories (for example, it can include the target storage area of the target inventory in the warehouse, the target roadway in the target storage area, and the target storage location in the target roadway).
[0045] Optionally, the positioning input parameter field can at least include a warehousing identifier. Determining the current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item can include: determining the current target positioning rule group from each pre-configured positioning rule group based on the warehousing identifier in the positioning input parameter field of the current target item.
[0046] Each pre-configured positioning rule group can be a positioning rule group pre-configured for different warehouses respectively, and the warehousing identifier can be used to uniquely identify the warehouse number.
[0047] In a possible implementation manner, the warehouses can be divided according to different suppliers. When replenishing and warehousing the target item, the target item can be stored in the warehouse corresponding to the supplier according to the supplier to which the target item belongs; in another possible implementation manner, the warehouses can also be divided according to different picking modes. When replenishing and warehousing the target item, the target item can be stored in the warehouse corresponding to the picking mode according to the picking mode corresponding to the target item. Exemplarily, the picking modes in the embodiments of the present invention can include manual picking mode, machine picking mode, and human-machine hybrid picking mode. Correspondingly, the warehouses can be divided into multiple warehouses such as a manual picking warehouse, a machine picking warehouse, and a human-machine hybrid picking warehouse.
[0048] It can be understood that in practical applications, the warehouses can also be divided by other means, and the embodiments of the present invention do not limit this. For example, the warehouses can also be divided by combining the supplier and the picking mode.
[0049] In the embodiments of the present invention, since the outbound processes of items in different warehouses are different, the inventory location strategies for the target items stored in different warehouses are also different. Based on this, in the embodiments of the present invention, the inventory location determination for the target items in different warehouses can be determined as different business scenarios, and different pre-configured location rule groups can be pre-configured for different warehouses respectively. When the location input parameter fields carrying each target item are obtained, the warehouse where each target item was stored during the previous replenishment inbound can be determined based on the warehouse identification in the location input parameter fields of each target item. For each target item, the pre-configured location rule group corresponding to the warehouse where the current target item is stored can be determined as the target location rule group of the current target item. It can be seen that the technical solution provided by the embodiments of the present invention can decouple the inventory location strategies corresponding to different warehouses by configuring different pre-configured location rule groups for different warehouses to meet the outbound requirements of different warehouses.
[0050] Optionally, the location input parameter field further includes a business type identifier. Determining the current target location rule group from each pre-configured location rule group based on the warehouse identification in the location input parameter field of the current target item may include: determining each candidate location rule group corresponding to the current target item from each pre-configured location rule group based on the warehouse identification in the location input parameter field of the current target item; and determining the current target location rule group from each candidate location rule group corresponding to the current target item based on the business type identifier in the location input parameter field of the current target item.
[0051] Among them, the business type identifier may be a pre-determined number used to uniquely represent the business type. Exemplarily, the business type may include customer order business type, internal distribution order business type, and return supply order business type. Each candidate location rule group may be a location rule group pre-configured for different business types under a certain warehouse.
[0052] In practical applications, the order quantities for the customer order business, the internal transfer order business, and the return supply order business are generally of different magnitudes. For example, in the customer order business, when the order processing request is initiated by the customer, the order quantity corresponding to the target item in the positioning input parameter field is relatively small, and generally, the target inventory for the target item can be matched from the zero-pick area of the warehouse. For the internal transfer order business and the return supply order business, when the order processing request is initiated by the internal transfer party or the return supply party, the order quantity corresponding to the target item in the positioning input parameter field is relatively large, and the quantity of items that can be stored in the zero-pick area is limited. Therefore, in this case, the target inventory for the target item can generally be matched from the storage area of the warehouse. Among them, a large number of items can be stored in the storage area. In addition, the outbound qualification conditions for the same target item in the customer order business, the internal transfer order business, and the return supply order business may also be different. For example, when the order processing request is initiated by the customer or the internal transfer party, the target inventory matched from the candidate inventories of the target item must be a good product (i.e., an item with qualified quality); when the order processing request is initiated by the return supply party, the target inventory matched from the candidate inventories of the target item can be a defective product (i.e., an item with unqualified quality). It can be seen that the inventory positioning strategies corresponding to different business types are also different. Based on this, on the basis of pre-configuring different pre-configured positioning rule groups for different warehouses respectively, the embodiments of the present invention can also configure different candidate positioning rule groups for different business types under the same warehouse. It can be seen that the technical solution provided by the embodiments of the present invention can decouple the inventory positioning strategies corresponding to different business types by configuring different candidate positioning rule groups for different business types. In this way, the outbound requirements of different warehouses and different business types can be satisfied simultaneously, thereby further improving the configuration efficiency of the target positioning rule group and the positioning efficiency of inventory positioning for items.
[0053] Optionally, after determining the current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, the inventory positioning method provided by the embodiments of the present invention may further include: for each inventory positioning rule in the current target positioning rule group, when the rule type to which the current inventory positioning rule belongs is of the type with unknown reference parameters, determining the inventory positioning reference parameter corresponding to the current inventory positioning rule from the positioning input parameter field of the current target item or determining the inventory positioning reference parameter corresponding to the current inventory positioning rule from the pre-stored reference parameter list.
[0054] Among them, the pre-stored reference parameter list may be a reference parameter list pre-configured by the warehouse management personnel according to the business adjustment requirements in the warehouse. Exemplarily, the reference parameter list may configure the available storage areas, unavailable storage areas, available aisles, unavailable aisles, available storage locations, and unavailable storage locations in the warehouse.
[0055] The inventory positioning rule with known reference parameters, that is, the positioning rule associated with fixed inventory positioning reference parameters. The inventory positioning rule with unknown reference parameters, that is, the positioning rule associated with a certain parameter identifier. Specifically, when pre-configuring the inventory positioning rule with known reference parameters, the inventory positioning rule can be associated with fixed inventory positioning reference parameters. Exemplarily, the inventory positioning strategy of the inventory positioning rule with known reference parameters can be to screen out the target inventory with a good product grade from each candidate inventory of the target item. In another example, the inventory positioning strategy of the inventory positioning rule with known reference parameters can be to screen out the target inventory belonging to the target storage area from each candidate inventory of the target item.
[0056] In addition, when pre-configuring the inventory positioning rule with unknown reference parameters, the inventory positioning rule can be associated with a pre-determined parameter identifier. Exemplarily, the parameter identifier can be a field used to characterize the storage area. Correspondingly, the inventory positioning rule can screen out the target inventory belonging to the target storage area configured by the warehouse manager from each candidate inventory of the target item, where the target storage area configured by the warehouse manager can be obtained from the pre-stored reference parameter list. In addition, the inventory positioning rule can also screen out the target inventory belonging to the target storage area specified by the user from each candidate inventory of the target item, where the target storage area specified by the user is obtained from the positioning input parameter field of the target item.
[0057] In some business scenarios, there may be a need for inventory positioning according to the inventory positioning reference parameters specified by the user or according to the inventory positioning reference parameters configured by the warehouse manager. Based on this, two different types of inventory positioning rules (i.e., the inventory positioning rule with known reference parameters and the inventory positioning rule with unknown reference parameters) are provided in the embodiments of the present invention. In this way, the diverse requirements of the business scenario can be adapted, thereby further improving the configuration efficiency of the target positioning rule group and the positioning efficiency of inventory positioning for items.
[0058] S130. Determine the order processing result according to the inventory positioning results of each target item.
[0059] After the server determines the inventory positioning results of each target item, it can integrate the inventory positioning results of each target item to obtain the order processing result for the order processing request. After that, a picking task can be generated according to the order processing result and wait for the picker to process.
[0060] In the inventory location method provided by the embodiments of the present invention, corresponding target location rule groups can be pre-configured for different business scenarios according to the requirements of the business scenarios. After obtaining an order processing request, the location input parameter fields of each target item carried in the order processing request can represent the business scenarios corresponding to each target item. Therefore, based on the location input parameter fields of each target item, the corresponding target location rule groups respectively corresponding to each target item can be determined first. Then, the inventory locations of each target item can be located through the respective target location rule groups. Specifically, for each target item, the current target location rule group corresponding to the current target item can be determined based on the location input parameter field of the current target item, and according to each inventory location rule in the current target location rule group and the inventory location reference parameters respectively corresponding to each inventory location rule in the current target location rule group, the inventory location result for the current target item can be determined. After the inventory location results of each target item are determined respectively, the inventory location results can be integrated to determine the order processing result for the order processing request. It can be seen that the embodiments of the present invention realize the decoupling of the inventory location strategies for different business scenarios by configuring different location templates (i.e., the target location rule groups in the embodiments of the present invention). In this way, when it is necessary to adjust the inventory location strategy for a certain business scenario, only the target location rule group corresponding to the business scenario needs to be adjusted. Therefore, compared with the general location template in the prior art, the location template in the embodiments of the present invention has higher configurability, and thus the configuration efficiency of the location template can be improved. In addition, since the decoupling of the inventory location strategies for different business scenarios is realized, the location efficiency of item inventory location can also be improved.
[0061] Refer to Figure 2 , which is a schematic flowchart of another inventory location method provided by the embodiments of the present invention. The method in this embodiment can be combined with various optional solutions in the inventory location method provided by the foregoing embodiments to further optimize the inventory location method provided by the foregoing embodiments. As Figure 2 shown, the specific steps are as follows:
[0062] S210. Obtain an order processing request.
[0063] S220. For each target item, based on the location input parameter field of the current target item, determine the respective to-be-matched location rule groups corresponding to the current target item from each pre-configured location rule group.
[0064] S230. For each target item, based on the matching levels respectively corresponding to each group of to-be-matched positioning rules of the current target item, determine the current target positioning rule group from each group of to-be-matched positioning rules of the current target item, and determine the inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group.
[0065] In practical applications, there may be a situation where the number of users placing orders for a certain target item is large. Therefore, a best-selling product area and a non-best-selling product area of the target item can be deployed in the warehouse storing the target item. Based on this, embodiments of the present invention can pre-configure multiple groups of to-be-matched positioning rules for best-selling target items, so as to further meet diverse business requirements.
[0066] Exemplarily, for the best-selling target item A, two positioning rule groups, namely the to-be-matched positioning rule group A and the to-be-matched positioning rule group B, can be pre-configured. The to-be-matched positioning rule group A includes the inventory positioning rule A, and the to-be-matched positioning rule group B includes the inventory positioning rule B. Among them, the inventory positioning strategy of the inventory positioning rule A can be to screen out the target inventory from the best-selling product area of the target item A; the inventory positioning strategy of the inventory positioning rule B can be to screen out the target inventory from the non-best-selling product area of the target item A. In addition, the matching level corresponding to the to-be-matched positioning rule group A is higher than the matching level corresponding to the to-be-matched positioning rule group B.
[0067] Optionally, after determining the inventory positioning result for the current target item, the inventory positioning method provided by embodiments of the present invention may further include: when the inventory positioning result of the current target item is insufficient inventory, re-determine the current target positioning rule group from each group of to-be-matched positioning rules of the current target item based on the matching levels respectively corresponding to each group of to-be-matched positioning rules of the current target item; re-determine the inventory positioning result for the current target item according to each inventory positioning rule in the re-determined current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the re-determined current target positioning rule group.
[0068] Since the limiting conditions of the target positioning rule group with a higher matching level are more stringent, when performing inventory positioning on the target item based on the target positioning rule group with a higher matching level, the inventory positioning result may show a situation of insufficient inventory. At this time, the inventory positioning of the target item can be re-performed based on the target positioning rule group with a lower matching level, so as to ensure that the inventory meeting the user's demand is provided to the user, avoid the user placing multiple orders, and reduce the situation of failed order processing requests.
[0069] Exemplarily, taking the target item A as an example, the inventory location of the target item can be first determined by matching the to-be-matched location rule group A with a higher level. When the inventory location result indicates insufficient inventory, the inventory location of the target item can then be determined by matching the to-be-matched location rule group B with a lower level.
[0070] Optionally, each inventory location rule in the current target location rule group includes: at least one filtering location rule, at least one sorting location rule, and at least one matching location rule; among them, the priority of the filtering location rule is higher than that of the sorting location rule, and the priority of the sorting location rule is higher than that of the matching location rule.
[0071] Exemplarily, the filtering location rules in the embodiments of the present invention may include: storage location basic information filtering rule, specified storage location filtering rule, roadway basic information filtering rule, storage area basic information filtering rule, specified storage area filtering rule, specified storage area type filtering rule, specified batch filtering rule, shelf life filtering rule, specified commodity grade filtering rule, and channel validity period filtering rule, etc.
[0072] Among them, the inventory positioning strategy of the storage location basic information filtering rule can be to screen out unavailable storage locations from the candidate storage locations for storing the target item. For example, the unavailable storage locations can be unconfigured storage locations, suspended removal storage locations, virtual storage locations, on-account storage locations, and temporary storage locations obtained from a pre-stored reference parameter list. The specified storage location filtering rule can include a user-specified storage location filtering rule and a background-specified storage location filtering rule. The inventory positioning strategy of the user-specified storage location filtering rule can be to screen out the storage locations specified by the user from the candidate storage locations for storing the target item; the inventory positioning strategy of the background-specified storage location filtering rule can be to screen out the storage locations pre-configured by the warehouse management personnel from the candidate storage locations for storing the target item. The aisle can be an aisle in the storage area of the warehouse. For example, the storage area can include multiple rows of storage racks, and one storage rack can correspond to one aisle. The inventory positioning strategy of the aisle basic information filtering rule can be to screen out the storage racks corresponding to unavailable aisles and unconfigured aisles from the storage racks for storing the target item. The inventory positioning strategy of the storage area basic information filtering rule can be to screen out unavailable storage areas and unconfigured storage areas from the candidate storage areas for storing the target item. The inventory positioning strategy of the specified storage area filtering rule can be to screen out the storage areas specified by the user or pre-configured by the warehouse management personnel from the candidate storage areas for storing the target item. The inventory positioning strategy of the specified storage area type filtering rule can be to screen out the storage areas of the specified storage area type from the candidate storage areas for storing the target item. For example, the storage area type can include the zero-picking area. The inventory positioning strategy of the specified batch filtering rule can be to screen out the specified batches from the candidate batches corresponding to the target item. The inventory positioning strategy of the shelf life filtering rule can be to screen out the inventories with an expired shelf life status among the candidate inventories according to the shelf life status of the candidate inventories of the target item. The inventory positioning strategy of the specified commodity grade filtering rule can be to screen out the inventories of the specified commodity grade (for example, the commodity grade can be good products) among the candidate inventories according to the commodity grade of the candidate inventories of the target item. The inventory positioning strategy of the channel validity period filtering rule can be to screen out the inventories with an expired channel validity period among the candidate inventories according to the channel validity period corresponding to the candidate inventories of the target item. For example, the channel validity period can be the contract validity period signed between the service provider and the supplier corresponding to the channel.
[0073] It can be understood that in practical applications, the filtering and positioning rules can include other positioning rules, and the embodiments of the present invention do not limit this.
[0074] Exemplarily, the sorting and positioning rules may include: batch attribute sorting rules (the inventory positioning strategy may be first in first out, ascending production date, or ascending storage date), channel expiration date sorting rules (the inventory positioning strategy may be ascending remaining channel expiration date), inventory quantity sorting rules, non-default storage area prioritization for emptying sorting rules (the inventory positioning strategy may be unconfigured storage area first), non-popular item storage area (the inventory positioning strategy may be zero-picking area prior to storage area), popular item storage area (the inventory positioning strategy may be popular item area prior to zero-picking area, and zero-picking area prior to storage area). The matching and positioning rules may include: full storage location matching rules for manual storage area (applicable to orders with particularly large demand), non-mandatory automated storage / retrieval system storage area matching rules, mandatory automated storage / retrieval system storage area matching rules, case picking matching rules (applicable to orders with large demand), and zero-picking matching rules (applicable to orders with small demand).
[0075] It can be understood that in practical applications, the sorting and positioning rules and the matching and positioning rules may also include other positioning rules, which are not limited in the embodiments of the present invention.
[0076] In addition, according to the inventory positioning process of filtering first, then sorting, and then matching provided by the embodiments of the present invention, the positioning efficiency for inventory positioning of target items can be further improved.
[0077] It should be noted that in practical applications, for each filtering and positioning rule in the same positioning rule group, the matching levels may be the same or different, and can be specifically configured according to the requirements of the business scenario. Similarly, for each sorting and positioning rule in the same positioning rule group, the matching levels may be the same or different; for each matching and positioning rule in the same positioning rule group, the matching levels may be the same or different.
[0078] In addition, in the embodiments of the present invention, the inventory positioning of target items can also be combined with warehouse identification, business type identification, and matching level. Refer to Figure 3 , which is a schematic diagram of a model of an inventory positioning model provided by the embodiments of the present invention. As Figure 3 shown, different pre-configured positioning rule groups are provided for Warehouse A, Warehouse B, and Warehouse C in the inventory positioning model, such as Figure 3The pre-configured location rule groups A, B, and C in it. Taking the pre-configured location rule group A as an example, in the inventory location model, candidate location rule groups A1 and A2 are respectively provided for two different operations (such as operation A and operation B) in warehouse A. Taking the candidate location rule group A1 as an example, in the inventory location model, to-be-matched location rule groups A11 and A12 are provided for operation A, where the matching level of the to-be-matched location rule group A11 is higher than that of the to-be-matched location rule group A12. Then, after the server obtains an order processing request, if the location input parameter field of the current target item includes the warehousing identifier of warehouse A and the operation type identifier of operation A, the to-be-matched location rule group A11 can be first determined as the current target location rule group corresponding to the current target item. Exemplarily, as Figure 3 shown, the to-be-matched location rule group A11 may include a filtering location rule, a sorting location rule, and a matching location rule. After the location input parameter field of the current target item is input into the inventory location model, the inventory location model can output an inventory location result for the current target item. Among them, the filtering location rule, the sorting location rule, and the matching location rule in the to-be-matched location rule group A11 may be location rules in the inventory location rule pool. The inventory location rule pool may include various pre-configured location rules. It can be understood that, Figure 3 As an example, the to-be-matched location rule group A11 only includes one filtering location rule, one sorting location rule, and one matching location rule. In practical applications, the to-be-matched location rule group A11 may include multiple filtering location rules, multiple sorting location rules, and multiple matching location rules. The embodiments of the present invention do not limit the number of rules in the to-be-matched location rule group A11.
[0079] S240. Determine an order processing result according to the inventory location results of each target item.
[0080] In the embodiments of the present invention, on the basis of the foregoing embodiments, in order to further meet the differentiated business requirements, multiple target location rule groups may be pre-configured for the same business scenario, and the multiple target location rule groups may correspond to different matching levels. When inventory location of a target item is required, the target item can be first subjected to inventory location based on the target location rule group with a higher matching level. Since the restriction conditions of the target location rule group with a higher matching level are too high, there may be a situation of insufficient inventory quantity in the inventory location result. At this time, the target item can be subjected to inventory location again based on the target location rule group with a lower matching level. It can be seen that the technical solution provided by the embodiments of the present invention can further reduce the coupling of the inventory location strategy, thereby further improving the configuration efficiency of the location template.
[0081] It should be noted that the embodiments of the present invention and the inventory positioning method proposed in the foregoing embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be referred to the foregoing embodiments, and the beneficial effects of the foregoing embodiments are equally applicable in this embodiment.
[0082] Referring to Figure 4 , which is a schematic flowchart of another inventory positioning method provided by an embodiment of the present invention. The method in this embodiment can be combined with each optional solution in the inventory positioning method provided by the foregoing embodiment to further optimize the inventory positioning method provided by the foregoing embodiment. As Figure 4 shown, it specifically includes the following steps:
[0083] S410. Obtain an order processing request.
[0084] S420. For each target item, determine the current target positioning rule group corresponding to the current target item based on the positioning input parameter fields of the current target item, and create an inventory positioning task for the current target item based on each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group.
[0085] Among them, the task content of the inventory positioning task of the current target item is: according to the preset sorting of each inventory positioning rule in the current target positioning rule group, sequentially call the inventory positioning components respectively corresponding to each inventory positioning rule in the current target positioning rule group, and perform inventory positioning processing on the current target item based on the inventory positioning reference parameters respectively corresponding to each inventory positioning rule corresponding to each inventory positioning component.
[0086] The preset sorting can be the sorting determined in advance based on the priorities of each inventory positioning rule in the current target positioning rule group during the process of pre-configuring the current target positioning rule group. The inventory positioning component can be a processing component created in advance for different inventory positioning rules.
[0087] Taking the example that the positioning input parameter fields of the current target item include the warehousing identifier of Warehouse A and the business type identifier of Business A, the Figure 3 to-be-matched positioning rule group A11 therein can be determined as the current target positioning rule group corresponding to the current target item. If the preset sorting of each inventory positioning rule in the to-be-matched positioning rule group A11 is in sequence: filtering positioning rule A1, filtering positioning rule A2, filtering positioning rule A3, sorting positioning rule B1, sorting positioning rule B2, sorting positioning rule B3, matching positioning rule C1, matching positioning rule C2, matching positioning rule C3, then based on this preset sorting, sequentially call the inventory positioning components respectively corresponding to each inventory positioning rule, so as to determine the inventory positioning result for the current target item. Referring to Figure 5, which is a schematic diagram of a task thread for an inventory positioning task provided by an embodiment of the present invention. As Figure 5 shown, the positioning input parameter fields of the current target item can be input into the inventory positioning component A1 corresponding to the filtering positioning rule A1 first. The inventory positioning component A1 can determine a first filtering result based on the inventory positioning reference parameters corresponding to the filtering positioning rule A1, and can input the first filtering result into the inventory positioning component A2 corresponding to the filtering positioning rule A2. The inventory positioning component A2 can determine a second filtering result based on the inventory positioning reference parameters corresponding to the filtering positioning rule A2. Then, the second filtering result can be input into the inventory positioning component A3 corresponding to the filtering positioning rule A3, and the inventory positioning component A3 can determine a third filtering result based on the inventory positioning reference parameters corresponding to the filtering positioning rule A3. Similarly, the third filtering result can be input into the inventory positioning component B1 corresponding to the sorting positioning rule B1, and the inventory positioning components B1, B2, and B3 corresponding to the sorting positioning rules B1, B2, and B3 can be called in sequence. The third sorting result output by the inventory positioning component B3 is input into the inventory positioning component C1 corresponding to the matching positioning rule C1, and the inventory positioning components C1, C2, and C3 corresponding to the matching positioning rules C1, C2, and C3 can be called in sequence. Finally, the inventory positioning result for the current target item output by the inventory positioning component C3 is obtained.
[0088] S430. Execute the inventory positioning tasks of each target item in parallel, and determine the inventory positioning results for each target item according to the execution results.
[0089] Optionally, executing the inventory positioning tasks of each target item in parallel may include: executing the inventory positioning tasks of each target item in parallel, and during the execution of the inventory positioning tasks of each target item, respectively tracking the task threads of the inventory positioning tasks of each target item through a preset link tracing method.
[0090] Among them, the preset link tracing method can be a link tracing method determined in advance for respectively tracking the task threads of each created inventory positioning task. Exemplarily, the preset link tracing method can be the Jaeger (a commonly used link tracing method) link tracing method.
[0091] When the embodiment of the present invention performs inventory positioning on target items, it is necessary to sequentially call multiple inventory positioning components for inventory positioning processing. In this way, when an error occurs in the inventory positioning processing of a certain inventory positioning component, the background cannot determine which inventory positioning component's inventory positioning processing has an error. Based on this, in the embodiment of the present invention, the task threads of the inventory positioning tasks of each target item can be traced through a preset link tracing method. When an error occurs in the task thread of a certain inventory positioning task, it is possible to determine which execution node of the inventory positioning task has an error according to the tracing result of the inventory positioning task, that is, it is possible to determine which inventory positioning component's inventory positioning processing has an error. In this way, it is convenient for the background to quickly determine the reason for the failure of inventory positioning.
[0092] Optionally, the inventory positioning component is configured to: upload the input parameters to a preset storage address before being called, and upload the output parameters to the preset storage address after being called. Among them, the preset storage address can be a pre-determined storage address. For example, the preset storage address can be a pre-determined log center.
[0093] Exemplarily, taking the inventory positioning component A as an example, the embodiment of the present invention can add a tracing plugin to the inventory positioning component A based on the dynamic proxy (AspectOriented Programming, AOP) technology. Refer to Figure 6 , which is a schematic flowchart of the parameter processing of an inventory positioning component provided by the embodiment of the present invention. As Figure 6 shown, when the inventory positioning component A with the tracing plugin is called, it can first report the input parameters to the log center, and then perform inventory positioning processing on the target item based on the input parameters to determine the output parameters. After the inventory positioning component A determines the output parameters, it can first report the output parameters to the log center, and then transmit them to the next execution node.
[0094] In the technical solution provided by the embodiment of the present invention, when an error occurs in the inventory positioning processing of a certain inventory positioning component, the reason for the failure of inventory positioning can be quickly analyzed according to the reported parameters of the inventory positioning component stored in the log center.
[0095] S440. Determine the order processing result according to the inventory positioning results of each target item.
[0096] Exemplarily, taking the case where the order processing request carries the positioning input parameter fields of target item A and target item B as an example, the server can determine the to-be-matched positioning rule groups A11 and A12 corresponding to target item A according to the positioning input parameter fields of target item A, and can determine the to-be-matched positioning rule groups B11 and B12 corresponding to target item B according to the positioning input parameter fields of target item B. Refer toFigure 7 , which is a schematic flowchart of a process for processing each inventory positioning task in a parallel manner provided by an embodiment of the present invention. As Figure 7 shown, the priority of the to-be-matched positioning rule group A11 is higher than that of the to-be-matched positioning rule group A12, and the priority of the to-be-matched positioning rule group B11 is higher than that of the to-be-matched positioning rule group B12. Then, inventory positioning task 1 can be executed first. Inventory positioning task 1 includes two inventory positioning subtasks, which are respectively: performing inventory positioning on target item A based on the to-be-matched positioning rule group A11 to obtain a first positioning result; performing inventory positioning on target item B based on the to-be-matched positioning rule group B11 to obtain a second positioning result. After executing inventory positioning task 1, if both the first positioning result and the second positioning result indicate insufficient inventory, then inventory positioning task 2 can be executed. Inventory positioning task 2 includes two inventory positioning subtasks, which are respectively: performing inventory positioning on target item A based on the to-be-matched positioning rule group A12 to obtain a third positioning result; performing inventory positioning on target item B based on the to-be-matched positioning rule group B12 to obtain a fourth positioning result. Then, the inventory positioning result for target item A can be determined by combining the first positioning result and the third positioning result, and the inventory positioning result for target item B can be determined by combining the second positioning result and the fourth positioning result. Then, the order processing result can be determined according to the inventory positioning result of target item A and the inventory positioning result of target item B.
[0097] In an embodiment of the present invention, based on the foregoing embodiment, corresponding execution components (i.e., the inventory positioning components in the embodiment of the present invention) can be created in advance for different inventory positioning rules. The execution code of the inventory positioning component can be code pre-compiled based on the inventory positioning strategy of the corresponding inventory positioning rule. When the inventory positioning process of a certain target item needs to use a certain inventory positioning rule, the inventory positioning component corresponding to the inventory positioning rule can be directly called to perform inventory positioning processing on the target item. When pre-configuring the target positioning rule group, the required inventory positioning rules can be directly selected from the inventory positioning rule pool. In this way, the configuration of the target positioning rule group can be completed only by simple permutation and combination of the inventory positioning rules provided in the inventory positioning rule pool. Therefore, in the embodiment of the present invention, the same inventory positioning component can be reused for the inventory positioning processes of different target items, which can further improve the configuration efficiency of the target positioning rule group and the scalability of the target positioning rule group.
[0098] In addition, the embodiment of the present invention processes the inventory positioning tasks in a parallel manner, which can achieve simultaneous inventory positioning of multiple target items ordered by the user. In this way, the positioning efficiency of inventory positioning for items can be further improved, and the processing rate of order processing requests can be increased.
[0099] It should be noted that the embodiments of the present invention and the inventory positioning method proposed in the foregoing embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be referred to in the foregoing embodiments, and the beneficial effects of the foregoing embodiments are also applicable in this embodiment.
[0100] Figure 8 FIG. 4 is a schematic structural diagram of an inventory positioning device provided in an embodiment of the present invention. The device includes: an acquisition module 810, an inventory positioning module 820, and a determination module 830.
[0101] Exemplarily, the acquisition module 810 may execute S110 in the foregoing method embodiment, the inventory positioning module 820 may execute S120 in the foregoing method embodiment, and the determination module 830 may execute S130 in the foregoing method embodiment.
[0102] Specifically, the acquisition module 810 is configured to acquire an order processing request; wherein, the order processing request carries at least one positioning input parameter field of a target item.
[0103] The inventory positioning module 820 is configured to, for each target item, determine a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determine an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group.
[0104] The determination module 830 is configured to determine an order processing result according to the inventory positioning results of each target item.
[0105] Optionally, in a possible implementation manner, the positioning input parameter field includes at least a warehousing identifier, and the inventory positioning module 820 is specifically configured to: determine the current target positioning rule group from each pre-configured positioning rule group based on the warehousing identifier in the positioning input parameter field of the current target item.
[0106] Optionally, in another possible implementation manner, the positioning input parameter field further includes a service type identifier, and the inventory positioning module 820 is specifically configured to: determine each candidate positioning rule group corresponding to the current target item from each pre-configured positioning rule group based on the warehousing identifier in the positioning input parameter field of the current target item; determine the current target positioning rule group from each candidate positioning rule group corresponding to the current target item based on the service type identifier in the positioning input parameter field of the current target item.
[0107] Optionally, in another possible implementation, the inventory positioning module 820 is specifically configured to: determine, based on the positioning input parameter fields of the current target item, each to-be-matched positioning rule group corresponding to the current target item from each pre-configured positioning rule group; and determine the current target positioning rule group from each to-be-matched positioning rule group of the current target item based on the matching levels respectively corresponding to each to-be-matched positioning rule group of the current target item.
[0108] Optionally, in another possible implementation, the inventory positioning module 820 is further configured to:
[0109] After determining the inventory positioning result for the current target item, in the case where the inventory positioning result for the current target item is that the inventory quantity is insufficient, re-determine the current target positioning rule group from each to-be-matched positioning rule group of the current target item based on the matching levels respectively corresponding to each to-be-matched positioning rule group of the current target item; and re-determine the inventory positioning result for the current target item according to each inventory positioning rule in the re-determined current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the re-determined current target positioning rule group.
[0110] Optionally, in another possible implementation, the inventory positioning module 820 is specifically further configured to:
[0111] After determining the current target positioning rule group corresponding to the current target item based on the positioning input parameter fields of the current target item, for each inventory positioning rule in the current target positioning rule group, in the case where the rule type to which the current inventory positioning rule belongs is a reference parameter unknown type, determine the inventory positioning reference parameter corresponding to the current inventory positioning rule from the positioning input parameter fields of the current target item or determine the inventory positioning reference parameter corresponding to the current inventory positioning rule from the pre-stored reference parameter list.
[0112] Optionally, in another possible implementation, the inventory positioning module 820 is specifically further configured to:
[0113] Create an inventory positioning task for the current target item based on each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group; wherein, the task content of the inventory positioning task for the current target item is: sequentially call the inventory positioning components respectively corresponding to each inventory positioning rule in the current target positioning rule group according to the preset sorting of each inventory positioning rule in the current target positioning rule group, and perform inventory positioning processing on the current target item based on the inventory positioning reference parameters respectively corresponding to each inventory positioning rule corresponding to each inventory positioning component; execute the inventory positioning tasks of each target item in a parallel manner, and determine the inventory positioning results for each target item according to the execution results.
[0114] Optionally, in another possible implementation, the inventory positioning module 820 is further specifically configured to:
[0115] Execute the inventory positioning tasks of each target item in a parallel manner, and during the execution of the inventory positioning tasks of each target item, trace the task threads of the inventory positioning tasks of each target item respectively through a preset link tracing method.
[0116] Optionally, in another possible implementation, the inventory positioning component is configured to: upload the input parameters to a preset storage address before being called, and upload the output parameters to the preset storage address after being called.
[0117] Optionally, in another possible implementation, each inventory positioning rule in the current target positioning rule group includes: at least one filtering positioning rule, at least one sorting positioning rule, and at least one matching positioning rule; wherein, the priority of the filtering positioning rule is higher than that of the sorting positioning rule, and the priority of the sorting positioning rule is higher than that of the matching positioning rule.
[0118] The inventory positioning device provided by the embodiments of the present invention belongs to the same inventive concept as the inventory positioning methods provided by the foregoing embodiments. Details not described in detail in the embodiments of the inventory positioning device may refer to the relevant content of the foregoing method embodiments, and the corresponding beneficial effects may also be analyzed with reference to the beneficial effects of the foregoing method embodiments.
[0119] Figure 9 It is a schematic structural diagram of an inventory positioning device provided by an embodiment of the present invention. Figure 9 It shows a block diagram of an exemplary inventory positioning device 12 suitable for implementing the embodiments of the present invention. Figure 9 The shown inventory positioning device 12 is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present invention.
[0120] As Figure 9 shown, the inventory positioning device 12 is presented in the form of a general-purpose computing device. The components of the inventory positioning device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
[0121] Bus 18 represents one or more of several types of bus architectures, including a memory bus or memory controller, a peripheral bus, an Accelerated Graphics Port, a processor bus, or a local bus using any of a variety of bus architectures. By way of example, and without limitation, these architectures include the Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0122] The inventory locator device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the inventory locator device 12, including both volatile and nonvolatile media, removable and non-removable media.
[0123] System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory (i.e., Figure 9 the cache in Figure 9 is not shown). The inventory locator device 12 can further include other removable / non-removable, volatile / nonvolatile computer system storage media. By way of example only, storage system 34 can be used for reading from and writing to non-removable, nonvolatile magnetic media ( Figure 9 not shown, typically called a "hard disk drive"). Although Figure 9 not shown in the figures, a disk drive for reading from and writing to removable, nonvolatile magnetic disks (such as a "floppy disk"), and an optical disk drive for reading from and writing to removable, nonvolatile optical disks (such as a CD-ROM, DVD-ROM, or other optical media) can be provided. In each case, the drive can be connected to the bus 18 by one or more data media interfaces. System memory 28 can include at least one program product having a set (at least one) of program modules that are configured to carry out the functions of embodiments of the present invention.
[0124] A program / utility 40 having a set (at least one) of program modules 42 can be stored in, for example, system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, and an implementation of a network environment may be included in some or all of these examples. Program modules 42 generally carry out the functions and / or methods of the embodiments described herein.
[0125] The inventory positioning device 12 can also communicate with one or more external devices 14 (such as keyboards, pointing devices, displays 24, etc.), and can also communicate with one or more devices that enable users to interact with the inventory positioning device 12, and / or communicate with any device that enables the inventory positioning device 12 to communicate with one or more other computing devices (such as network cards, modems, etc.). Such communication can be carried out through the input / output (I / O) interface 22. Moreover, the inventory positioning device 12 can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through the network adapter 20. As Figure 9 shown, the network adapter 20 communicates with other modules of the inventory positioning device 12 through the bus 18. It should be understood that although Figure 9 not shown in the figure, other hardware and / or software modules can be used in combination with the inventory positioning device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0126] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28. For example, it implements the steps of the inventory positioning method provided by the embodiments of the present invention. The method includes: obtaining an order processing request; wherein, the order processing request carries at least one positioning parameter field of a target item; for each target item, determining a current target positioning rule group corresponding to the current target item based on the positioning parameter field of the current target item, and determining an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group; determining an order processing result according to the inventory positioning results of each target item.
[0127] Of course, those skilled in the art can understand that the processor can also implement the technical solutions of the inventory positioning method provided by any embodiment of the present invention.
[0128] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the steps of an inventory positioning method provided in the foregoing embodiments of the present invention. The method includes: obtaining an order processing request; wherein the order processing request carries positioning input parameter fields of at least one target item; for each target item, determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determining an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group; and determining an order processing result according to the inventory positioning results of each target item.
[0129] The computer storage medium of the embodiments of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
[0130] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.
[0131] The program code contained on the computer-readable medium may be transmitted by any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0132] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or inventory location device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0133] Those of ordinary skill in the art should understand that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be concentrated on a single computing device or distributed across a network composed of multiple computing devices. Optionally, they can be implemented using program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0134] Note that the above is only the preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments may be included, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An inventory positioning method, characterized in that, The method includes: Obtaining an order processing request; wherein, the order processing request carries a positioning input parameter field of at least one target item; For each of the target items, determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, and determining an inventory positioning result for the current target item according to each inventory positioning rule in the current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the current target positioning rule group; Determining an order processing result according to the inventory positioning results of each of the target items.
2. The inventory positioning method according to claim 1, characterized in that, The positioning input parameter field at least includes a warehousing identifier, and determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item includes: Determining the current target positioning rule group from each pre-configured positioning rule group based on the warehousing identifier in the positioning input parameter field of the current target item.
3. The inventory positioning method according to claim 2, characterized in that, The positioning input parameter field further includes a business type identifier, and determining the current target positioning rule group from each pre-configured positioning rule group based on the warehousing identifier in the positioning input parameter field of the current target item includes: Determining each candidate positioning rule group corresponding to the current target item from each of the pre-configured positioning rule groups based on the warehousing identifier in the positioning input parameter field of the current target item; Determining the current target positioning rule group from each of the candidate positioning rule groups corresponding to the current target item based on the business type identifier in the positioning input parameter field of the current target item.
4. The inventory positioning method according to claim 1, characterized in that, Determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item includes: Determining each to-be-matched positioning rule group corresponding to the current target item from each pre-configured positioning rule group based on the positioning input parameter field of the current target item; Determining the current target positioning rule group from each of the to-be-matched positioning rule groups corresponding to the current target item based on the matching level respectively corresponding to each of the to-be-matched positioning rule groups of the current target item.
5. The inventory positioning method according to claim 4, characterized in that, After determining the inventory positioning result for the current target item, the method further includes: In the case where the inventory positioning result of the current target item is insufficient inventory, re-determining the current target positioning rule group from each of the to-be-matched positioning rule groups corresponding to the current target item based on the matching level respectively corresponding to each of the to-be-matched positioning rule groups of the current target item; Re-determining the inventory positioning result for the current target item according to each inventory positioning rule in the re-determined current target positioning rule group and the inventory positioning reference parameters respectively corresponding to each inventory positioning rule in the re-determined current target positioning rule group.
6. The inventory positioning method according to claim 1, characterized in that, After determining a current target positioning rule group corresponding to the current target item based on the positioning input parameter field of the current target item, the method further includes: For each inventory location rule in the current target location rule group, when the rule type to which the current inventory location rule belongs is of the type with unknown reference parameters, determine the inventory location reference parameter corresponding to the current inventory location rule from the location input parameter fields of the current target item, or determine the inventory location reference parameter corresponding to the current inventory location rule from the pre-stored reference parameter list.
7. The inventory positioning method according to claim 1, characterized in that, Determining the inventory location result for the current target item according to each inventory location rule in the current target location rule group and the inventory location reference parameters respectively corresponding to each inventory location rule in the current target location rule group includes: Create an inventory location task for the current target item based on each inventory location rule in the current target location rule group and the inventory location reference parameters respectively corresponding to each inventory location rule in the current target location rule group; wherein, the task content of the inventory location task of the current target item is: according to the preset sorting of each inventory location rule in the current target location rule group, sequentially call the inventory location components respectively corresponding to each inventory location rule in the current target location rule group, and perform inventory location processing on the current target item based on the inventory location reference parameters respectively corresponding to each inventory location rule corresponding to each inventory location component. Execute the inventory location tasks of each target item in parallel and determine the inventory location results for each target item according to the execution results.
8. The inventory positioning method according to claim 7, characterized in that, The executing the inventory location tasks of each target item in parallel includes: Execute the inventory location tasks of each target item in the parallel manner, and during the execution of the inventory location tasks of each target item, trace the task threads of the inventory location tasks of each target item respectively through a preset link tracing method.
9. The inventory positioning method according to claim 7, characterized in that, The inventory location component is configured to: upload the input parameter to a preset storage address before being called and upload the output parameter to the preset storage address after being called.
10. The inventory positioning method according to any one of claims 1-9, characterized in that, Each inventory location rule in the current target location rule group includes: at least one filtering location rule, at least one sorting location rule, and at least one matching location rule; wherein, the priority of the filtering location rule is higher than that of the sorting location rule, and the priority of the sorting location rule is higher than that of the matching location rule.
11. An inventory positioning device, characterized in that, Including: An acquisition module for acquiring an order processing request; wherein, the order processing request carries location input parameter fields of at least one target item. An inventory location module for, for each target item, determining the current target location rule group corresponding to the current target item based on the location input parameter fields of the current target item, and determining the inventory location result for the current target item according to each inventory location rule in the current target location rule group and the inventory location reference parameters respectively corresponding to each inventory location rule in the current target location rule group. A determination module for determining the order processing result according to the inventory location results of each target item.
12. An inventory positioning device, characterized in that, The inventory location device includes: One or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the inventory location method according to any one of claims 1-10.
13. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the program is executed by a processor, it implements the inventory location method according to any one of claims 1-10.