Inventory data processing method and device, equipment and medium
By dividing order processing requests and multi-device processing, the problem of untimely inventory updates is solved, real-time update and accuracy of inventory information is achieved, and order processing efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410162034.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2025-08-05
AI Technical Summary
The existing inventory management system is unable to update the inventory situation in a burst traffic scenario, resulting in statistical errors, affecting the accuracy of commodity outbound, inbound and replenishment operations.
By obtaining order processing requests, the request is divided into multiple sets based on the product identification and quantity, and the sets are processed simultaneously by multiple processing devices to update inventory information in real time, including accuracy verification of inbound and outbound operations.
Real-time update of inventory information is realized, the accuracy of inventory situation is ensured, the processing speed and accuracy of order processing requests is improved, and labor costs and time costs are reduced.
Smart Images

Figure CN120430729A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and particularly to an inventory data processing method, apparatus, device and medium. Background Art
[0002] With the rapid development of economy and electronic information technology, inventory management plays an important role in the development and competition of enterprises. During the inventory management process, users need to understand the inventory situation of goods in real time to perform timely operations such as goods out of storage and goods into storage.
[0003] Existing inventory management generally understands the inventory situation from dimensions such as the quantity or type of goods through statistical methods. However, in the face of sudden traffic scenarios, the existing statistical methods cannot obtain the latest inventory situation in a timely manner. Due to the untimely update of the inventory situation, problems exist in subsequent operations such as goods out of storage, goods into storage, and goods replenishment. Summary of the Invention
[0004] Embodiments of the present invention provide an inventory data processing method, apparatus, device and medium, which are used to solve the problem in the prior art that due to the inability to update the inventory situation in a timely manner, the statistically obtained inventory quantity is incorrect, affecting operations such as goods out of storage, goods into storage, and goods replenishment, and to achieve real-time update of the inventory situation and ensure the accuracy of the inventory situation.
[0005] Embodiments of the present invention provide an inventory data processing method, and the method includes:
[0006] Obtain at least two order processing requests, where the order processing request includes: the product identifier of the product to be processed and the quantity to be processed of the product to be processed, and the order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse;
[0007] Based on the product identifier and the quantity to be processed, divide at least two of the order processing requests into at least two order processing request sets, where each order processing request set includes at least one order processing request;
[0008] Use a target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the product to be processed in the warehouse, where the target number is the number of the order processing request sets, and one processing device corresponds to one order processing request set;
[0009] Based on the modified inventory information, determine the inventory quantity corresponding to the product to be processed.
[0010] According to the inventory data processing method provided by the embodiments of the present invention, the order processing request is further used to indicate performing an inbound operation;
[0011] Processing the order processing requests in the set of order processing requests by using the target number of processing devices to modify the inventory information of the to-be-processed goods in the warehouse, including:
[0012] Each of the processing devices performs the following first request processing operation on each of the order processing requests:
[0013] Obtain the positions where the goods are to be placed, where the positions where the goods are to be placed include the positions in the warehouse that are not occupied by goods;
[0014] Based on the goods identifier and the preset goods placement strategy, determine at least one target position from the positions where the goods are to be placed;
[0015] When obtaining the position occupied flag, modify the inventory information of the to-be-processed goods in the warehouse, where the position occupied flag is used to indicate that there is a position in the at least one target position that is occupied by goods.
[0016] According to the inventory data processing method provided by the embodiment of the present invention, the modifying the inventory information of the to-be-processed goods in the warehouse when obtaining the position occupied flag includes:
[0017] When obtaining the position occupied flag, obtain the information of the goods at the target position corresponding to the position occupied flag;
[0018] Based on the information of the goods at the target position corresponding to the position occupied flag, determine whether the to-be-processed goods are placed accurately;
[0019] When determining that the to-be-processed goods are placed accurately, modify the inventory information of the to-be-processed goods in the warehouse.
[0020] According to the inventory data processing method provided by the embodiment of the present invention, after determining at least one target position from the positions where the goods are to be placed based on the goods identifier and the preset goods placement strategy, it further includes:
[0021] Determine the set of target positions corresponding to the set of order processing requests, where the set of target positions includes at least one of the target positions;
[0022] Determine the first distance information between the target positions in the set of target positions;
[0023] Recommend the target positions whose first distance information is less than the first preset distance.
[0024] According to the inventory data processing method provided by an embodiment of the present invention, the order processing request is further used to indicate an outbound operation;
[0025] Using the processing devices with a target quantity to process the order processing requests in the order processing request set to modify the inventory information of the to-be-processed goods in the warehouse, including:
[0026] Each of the processing devices performs the following second request processing operations on each of the order processing requests:
[0027] Obtain the placement location of the to-be-processed goods in the warehouse;
[0028] When obtaining the location unoccupied flag, modify the inventory information of the to-be-processed goods in the warehouse, where the location unoccupied flag is used to indicate that the goods at the placement location are removed.
[0029] According to the inventory data processing method provided by an embodiment of the present invention, the modifying the inventory information of the to-be-processed goods in the warehouse when obtaining the location unoccupied flag includes:
[0030] When obtaining the location unoccupied flag, obtain the information of the removed goods;
[0031] Based on the information of the removed goods, determine whether the removal of the to-be-processed goods is accurate;
[0032] When determining that the removal of the to-be-processed goods is accurate, modify the inventory information of the to-be-processed goods in the warehouse.
[0033] According to the inventory data processing method provided by an embodiment of the present invention, after obtaining the placement location of the to-be-processed goods in the warehouse, it further includes:
[0034] Determine the placement location set corresponding to the order processing request set, where the placement location set includes at least one placement location;
[0035] Determine the second distance information between the placement locations in the placement location set;
[0036] Recommend the placement locations with the second distance information less than the second preset distance.
[0037] According to the inventory data processing method provided by an embodiment of the present invention, the dividing at least two of the order processing requests into at least two order processing request sets based on the product identifier and the to-be-processed quantity includes:
[0038] Based on the product identifier, determine the product attributes of the to-be-processed goods;
[0039] Classify at least two of the order processing requests based on the product attributes to obtain a classification result;
[0040] Divide at least two of the order processing requests based on the preset processing performance of the processing device, the preset number of the processing devices, the quantity to be processed, and the classification result, to obtain at least two sets of the order processing requests.
[0041] According to the inventory data processing method provided by an embodiment of the present invention, the determining the inventory quantity corresponding to the product to be processed based on the modified inventory information includes:
[0042] Statistically calculate the inventory quantity of the product to be processed based on the modified inventory information, the preset inventory statistical dimensions, and the inventory statistical policies corresponding to the inventory statistical dimensions.
[0043] An embodiment of the present invention further provides an inventory data processing device, where the device includes:
[0044] An obtaining module, configured to obtain at least two order processing requests, where the order processing request includes: a product identifier of the product to be processed and the quantity to be processed of the product to be processed, and the order processing request is used to indicate modifying the inventory information of the product to be processed in a warehouse;
[0045] A dividing module, configured to divide at least two of the order processing requests into at least two sets of order processing requests based on the product identifier and the quantity to be processed, where each set of order processing requests includes at least one order processing request;
[0046] A processing module, configured to use a target number of processing devices to process the order processing requests in the set of order processing requests, so as to modify the inventory information of the product to be processed in the warehouse, where the target number is the number of the set of order processing requests, and one processing device corresponds to one set of order processing requests;
[0047] A determining module, configured to determine the inventory quantity corresponding to the product to be processed based on the modified inventory information.
[0048] An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the inventory data processing method when executing the program.
[0049] An embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program implements the steps of the inventory data processing method when being executed by a processor.
[0050] The inventory data processing method, device, equipment and medium provided by the embodiments of the present invention divide at least two order processing requests obtained to obtain at least two order processing sets; and use different processing devices to process the order processing requests in the order processing sets respectively, so as to improve the processing speed of the order processing requests, ensure the timely processing of the order processing requests and the real-time update of the inventory situation; furthermore, based on the modified inventory information, determine the inventory quantity corresponding to the to-be-processed goods. It can be seen that the present invention solves the problem in the prior art that due to the inability to update the inventory situation in time, the statistically obtained inventory quantity is incorrect, which affects operations such as goods outbound, goods inbound and goods replenishment, and ensures the accuracy of the inventory situation. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0052] Figure 1 is one of the schematic flowcharts of the inventory data processing method provided by the embodiments of the present invention;
[0053] Figure 2 is the second schematic flowchart of the inventory data processing method provided by the embodiments of the present invention;
[0054] Figure 3 is the schematic structural diagram of the inventory data processing device provided by the embodiments of the present invention;
[0055] Figure 4 is the schematic structural diagram of the electronic device provided by the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0056] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, rather than all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0057] The present invention includes the processing of order processing requests in the scenario of burst traffic. Among them, the burst traffic is traffic with an instantaneous traffic greater than a preset traffic value, and the preset traffic value can be set according to its own actual needs, and the present invention does not make any restrictions.
[0058] For the scenario of sudden traffic, a large number of order processing requests are received instantaneously. However, in the existing technology, these requests can only be processed one by one, which takes a long time. As a result, the inventory situation of the goods cannot be updated in a timely manner, which may affect the processing of subsequent received order processing requests, and further affect subsequent operations such as goods out of the warehouse, goods into the warehouse, and goods replenishment.
[0059] To solve the above problems, an embodiment of the present invention provides an inventory data processing method. This method can be applied to a client, such as a smart terminal, for example, a mobile phone, a computer, a tablet, etc. This method can also be applied to a server. Below, taking the application of this method in the server as an example for illustration. Of course, this is only for illustration and is not used to limit the protection scope of the present invention. Some other descriptions in the embodiments of the present invention are for illustration and are not used to limit the protection scope of the present invention, and will not be elaborated one by one hereafter.
[0060] As Figure 1 shown, the method specifically includes:
[0061] Step 101, obtain at least two order processing requests.
[0062] Among them, the order processing request includes: the product identifier of the product to be processed and the quantity to be processed of the product to be processed. The order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse.
[0063] Among them, the product identifier is composed of one or more of the following parameters: the product name of the product to be processed, the product category of the product to be processed, the physical attributes of the product to be processed (such as product volume, product weight), the characteristics of the product to be processed (such as requiring refrigeration), the name of the consignor corresponding to the product to be processed, and the initiator of the order processing request, etc. The present invention does not limit the composition rule of the product identifier, and users can set it according to their actual needs.
[0064] Among them, the inventory information includes the number of inventory pieces (i.e., inventory quantity) of the product to be processed in the warehouse.
[0065] Step 102, based on the product identifier and the quantity to be processed, divide at least two order processing requests into at least two order processing request sets.
[0066] Among them, each order processing request set includes at least one order processing request.
[0067] For example, the placement rule of goods in the warehouse includes: placing goods with the same product category in the same area. For example, shoes are placed in the first area of the warehouse, clothes are placed in the second area, jewelry is placed in the third area, etc.
[0068] Specifically, the product identifier includes the product category. According to the product category, at least two order processing requests are divided, that is, the order processing requests corresponding to the products to be processed of the same product category are divided into one category, and then, for the classified order processing requests, they are divided according to the quantity to be processed, and an order processing request set is obtained.
[0069] For another example, the placement rules of products in the warehouse include: placing the products of the same shipper in the same area. For example, placing the products of shipper A in the fourth area, the products of shipper B in the fifth area, the products of shipper C in the sixth area, and so on.
[0070] Specifically, the product identifier includes the shipper name. According to the shipper name, at least two order processing requests are divided, that is, the order processing requests corresponding to the products to be processed of the same shipper are divided into one category, and then, for the classified order processing requests, they are divided according to the quantity to be processed, and an order processing request set is obtained.
[0071] Step 103: Use the processing devices with the target quantity to process the order processing requests in the order processing request set, so as to modify the inventory information of the products to be processed in the warehouse. [[ID=io]]
[0072] Among them, the target quantity is the quantity of the order processing request set, and one processing device corresponds to one order processing request set.
[0073] Specifically, modify the inventory quantity of the products to be processed in the warehouse.
[0074] Step 104: Based on the modified inventory information, determine the inventory quantity corresponding to the products to be processed.
[0075] Specifically, use the modified inventory quantity as the final inventory quantity of the products to be processed in the warehouse.
[0076] The inventory data processing method provided by the embodiment of the present invention divides at least two obtained order processing requests to obtain at least two order processing sets; and uses different processing devices to process the order processing requests in the order processing sets respectively, so as to improve the processing speed of the order processing requests, ensure the timely processing of the order processing requests and the real-time update of the inventory situation; furthermore, based on the modified inventory information, determine the inventory quantity corresponding to the products to be processed. It can be seen that the present invention solves the problem in the prior art that due to the inability to update the inventory situation in time, the statistically calculated inventory quantity is incorrect, which affects operations such as product outbound, product inbound, and product replenishment, and ensures the accuracy of the inventory situation.
[0077] In a specific embodiment, the specific implementation of dividing at least two order processing requests into at least two order processing request sets based on the product identifier and the quantity to be processed includes:
[0078] Based on the product identifier, determine the product attributes of the product to be processed; based on the product attributes, classify at least two order processing requests to obtain a classification result; based on the processing performance of the preset processing device, the number of preset processing devices, the quantity to be processed, and the classification result, divide at least two order processing requests to obtain at least two order processing request sets.
[0079] Among them, the content included in the product identifier is the product attribute.
[0080] For example, when the product identifier includes the product category, the product attribute is the product category; when the product identifier includes the shipper name, the product attribute is the shipper name; when the product identifier includes the product category and the shipper name, the product attribute is the product category + shipper name; and so on.
[0081] Specifically, when the product identifier includes the product category, the classification result is that the order processing requests corresponding to the products to be processed with the same product category are of one type. Furthermore, based on the quantity to be processed, divide the order processing requests corresponding to each type to obtain at least two order processing request sets.
[0082] Specifically, when the product identifier includes the shipper name, the classification result is that the order processing requests corresponding to the products to be processed with the same shipper name are of one type. Furthermore, based on the quantity to be processed, divide the order processing requests corresponding to each type to obtain at least two order processing request sets.
[0083] Of course, in order to ensure the processing speed of the order processing requests, the present invention uses multiple processing devices to process the order processing requests simultaneously.
[0084] The present invention has pre-obtained the processing performance and the number of devices of each processing device. For example, the processing performance includes: each processing device can simultaneously process about 3200 tasks (order processing requests) at most, and the processing duration of each task is about 10 ms. The number of tasks processed by each processing device under normal circumstances is about 1200.
[0085] Specifically, according to the processing performance of the processing device and the number of processing devices, allocate the corresponding number of order processing requests to it (divide the order processing requests corresponding to each type based on the quantity to be processed) to ensure the fast processing of the order processing requests.
[0086] The present invention divides multiple order processing requests and uses multiple processing devices to process simultaneously, ensuring the processing rate of the order processing requests and providing an important data basis for the update of inventory information.
[0087] In a specific embodiment, the order processing request is further used to indicate a warehousing operation. The specific implementation of using the target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the to-be-processed goods in the warehouse includes:
[0088] Each processing device performs the following first request processing operation on each order processing request:
[0089] Obtain the positions where the goods are to be placed; determine at least one target position from the positions where the goods are to be placed based on the goods identifier and a preset goods placement strategy; and modify the inventory information of the to-be-processed goods in the warehouse when the position occupancy identifier is obtained.
[0090] Among them, the positions where the goods are to be placed include the positions in the warehouse that are not occupied by goods.
[0091] Among them, the position occupancy identifier is used to indicate that there is a position occupied by goods in at least one target position. Generally, one position is occupied by one good. Of course, if there are special goods (for example, the volume of the goods is too large and one position cannot store the goods), it is possible that one good occupies multiple positions.
[0092] Among them, the goods placement strategy includes: determining the position of the goods in the warehouse based on the turnover rate of the goods, determining the position of the goods in the warehouse based on the physical attributes of the goods, determining the position of the goods in the warehouse based on the characteristics of the goods, etc.
[0093] Specifically, information such as the turnover rate, physical attributes, and characteristics of the to-be-processed goods is obtained according to the goods identifier, and the goods placement strategy corresponding to the to-be-processed goods is obtained. According to the goods placement strategy corresponding to the to-be-processed goods, at least one target position is determined from the positions where the goods are to be placed, and at least one target position is recommended to the user (for example, displayed on the display screen of the smart device). The user selects the final target position to place the to-be-processed goods according to the at least one recommended target position, and uses the smart device to determine that the final target position is occupied, so that the smart device generates a position occupancy identifier and transmits it to the server. Furthermore, when the position occupancy identifier is obtained, the inventory information of the to-be-processed goods in the warehouse is modified (for example, when one piece of goods is warehoused, 1 is added to the original inventory quantity).
[0094] The present invention recommends multiple target positions to the user, enabling the user to select the final target position according to their actual situation to warehouse the to-be-processed goods, saving labor costs and time costs, and improving the user experience.
[0095] In a specific embodiment, when obtaining the location occupied flag, obtain the information of the commodity at the target location corresponding to the location occupied flag; based on the information of the commodity at the target location corresponding to the location occupied flag, determine whether the to-be-processed commodity is placed accurately; when it is determined that the to-be-processed commodity is placed accurately, modify the inventory information of the to-be-processed commodity in the warehouse.
[0096] Specifically, when obtaining the location occupied flag, it indicates that the to-be-processed commodity has been put into storage. At this time, it is necessary to verify whether the commodity at the storage location (the final target location) is consistent with the to-be-processed commodity corresponding to the order processing request (that is, whether the to-be-processed commodity is placed accurately).
[0097] Specifically, obtain the information of the commodity at the storage location (for example, the physical attributes of the to-be-processed commodity); compare the physical attributes carried in the order processing request with the obtained physical attributes; when the comparison result is that the two are consistent, determine that the to-be-processed commodity is placed accurately, and when the comparison result is that the two are inconsistent, determine that the to-be-processed commodity is placed incorrectly. If the to-be-processed commodity is placed incorrectly, cancel the location occupied flag corresponding to the placement location.
[0098] The present invention verifies the commodity at the storage location by verifying the accuracy of the commodity at the storage location, which ensures the accuracy of the warehousing operation and further ensures the accuracy of the inventory of the to-be-processed commodity.
[0099] In a specific embodiment, after determining at least one target location from the commodity to-be-placed locations based on the commodity identifier and the preset commodity placement strategy, determine the target location set corresponding to the order processing request set; determine the first distance information between the target locations in the target location set; recommend the target locations with the first distance information less than the first preset distance.
[0100] Among them, the target location set includes at least one target location.
[0101] Specifically, each order processing request includes at least one target location, so each order processing request set includes multiple groups of at least one target location. For each group of at least one target location, calculate the distance of each group of at least one target location as a unit to obtain the first distance information. Recommend the groups with the first distance information less than the first preset distance, and at least one target location in the group.
[0102] Of course, the distance between at least one target location of each order processing request can also be less than the first distance information, so as to reduce the user's journey, improve the warehousing efficiency, and improve the user experience.
[0103] In a specific embodiment, the order processing request is further used to indicate an outbound operation. The specific implementation of using the target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the to-be-processed goods in the warehouse includes:
[0104] Each processing device performs the following second request processing operation on each order processing request:
[0105] Obtain the placement location of the to-be-processed goods in the warehouse; when the obtained location is not occupied flag is obtained, modify the inventory information of the to-be-processed goods in the warehouse.
[0106] Wherein, the location not occupied flag is used to indicate that the goods at the placement location have been removed.
[0107] Specifically, according to the correspondence between the product identifier and the placement location of the product in the warehouse, obtain the placement location of the to-be-processed goods in the warehouse. After obtaining the placement location, the user performs the outbound of the goods, and uses the intelligent device to perform the operation of the outbound of the goods, so that the intelligent device generates a location not occupied flag and transmits it to the server. Furthermore, when the location not occupied flag is obtained, modify the inventory information of the to-be-processed goods in the warehouse (for example, when one piece of goods is out of the warehouse, subtract 1 from the original inventory quantity).
[0108] The present invention ensures the accuracy of the inventory quantity of the to-be-processed goods by modifying the inventory information in the warehouse in real time.
[0109] In a specific embodiment, when the location not occupied flag is obtained, obtain the information of the removed goods; based on the information of the removed goods, determine whether the to-be-processed goods are removed accurately; when it is determined that the to-be-processed goods are removed accurately, modify the inventory information of the to-be-processed goods in the warehouse.
[0110] Specifically, when the location not occupied flag is obtained, mark that the to-be-processed goods have been out of the warehouse. At this time, it is necessary to verify whether the goods at the outbound location (placement location) are consistent with the to-be-processed goods corresponding to the order processing request (that is, whether the to-be-processed goods are placed accurately).
[0111] Specifically, obtain the information of the goods at the outbound location (for example, the physical attributes of the to-be-processed goods); compare the physical attributes carried in the order processing request with the obtained physical attributes; when the comparison result is that the two are consistent, determine that the to-be-processed goods are out of the warehouse accurately, and when the comparison result is that the two are inconsistent, determine that the to-be-processed goods are out of the warehouse incorrectly. If the to-be-processed goods are out of the warehouse incorrectly, cancel the location not occupied flag corresponding to the outbound location.
[0112] The present invention verifies the goods at the outbound location by verifying the accuracy of the goods at the outbound location, ensuring the accuracy of the outbound operation, and thus ensuring the accuracy of the inventory quantity of the goods to be processed.
[0113] In a specific embodiment, after obtaining the placement location of the goods to be processed in the warehouse, a set of placement locations corresponding to the order processing request set is determined; the second distance information between the placement locations in the set of placement locations is determined; and the placement locations with the second distance information less than the second preset distance are recommended.
[0114] Among them, the set of placement locations includes at least one placement location.
[0115] Generally, one commodity occupies one location. Of course, if there are special commodities (for example, the commodity is too large in volume and one location cannot store the commodity), one commodity may occupy multiple locations.
[0116] Next, taking one order processing request corresponding to one goods to be processed and one goods to be processed corresponding to one placement location as an example for illustration.
[0117] Specifically, if each order processing request corresponds to one placement location, then each order processing request set includes multiple placement locations. For the placement locations in each order processing request set, the second distance information between each placement location is calculated, and the placement locations with the second distance information less than the second preset distance are recommended as a group.
[0118] The present invention recommends the nearby placement locations to the user uniformly, reducing the user's travel distance, improving the outbound efficiency, and enhancing the user experience.
[0119] In a specific embodiment, the specific implementation of determining the inventory quantity corresponding to the goods to be processed based on the modified inventory information includes:
[0120] Based on the modified inventory information, the preset inventory statistical dimensions, and the inventory statistical strategies corresponding to each inventory statistical dimension, the inventory quantity of the goods to be processed is statistically calculated.
[0121] Among them, the inventory statistical dimensions include: the dimension of statistically calculating the inventory quantity by consignor, the dimension of statistically calculating the inventory quantity by commodity category, the dimension of statistically calculating the inventory quantity by consignor and the location of the consignor's goods in the warehouse, the dimension of statistically calculating the inventory quantity by the location of the goods in the warehouse, and the dimension of statistically calculating the inventory quantity by commodity exception marking, etc.
[0122] Among them, the inventory statistics strategy corresponding to the dimension of counting inventory quantity by consignor is the inventory statistics strategy by consignor dimension, the inventory statistics strategy corresponding to the dimension of counting inventory quantity by product category is the inventory statistics strategy by product category dimension, the inventory statistics strategy corresponding to the dimension of counting inventory quantity by consignor and the location of the consignor's products in the warehouse is the inventory statistics strategy by consignor and product location dimension, the inventory statistics strategy corresponding to the dimension of counting inventory quantity by the location of the product in the warehouse is the inventory statistics strategy by product location dimension, and the inventory statistics strategy corresponding to the dimension of counting inventory quantity by product abnormality mark is the inventory statistics strategy by product abnormality mark dimension.
[0123] Specifically, based on the modified inventory information, the inventory statistics dimension by consignor, and the inventory statistics strategy by consignor dimension, the specific implementation of inventory statistics for the pending products includes:
[0124] Obtain the modified inventory information from a database or inventory table related to inventory information. This inventory information includes the owner name and inventory quantity. Categorize the inventory information by owner name, count the number of items under each owner name, and obtain the inventory quantity corresponding to each owner name. Alternatively, the total inventory in the warehouse can be obtained by summing the inventory quantities corresponding to each owner name.
[0125] Of course, further statistics can be taken, including inventory statistics based on the batch information under the consignor name. Batch information is personalized information added when the product enters the warehouse, such as the product storage validity period and the product expiration date. Furthermore, inventory statistics can be calculated based on the product expiration date and / or the product expiration date under the consignor name.
[0126] Specifically, based on the modified inventory information, the inventory statistics dimension by product category, and the inventory statistics strategy by product category dimension, the specific implementation of inventory statistics for the pending products includes:
[0127] Obtain the modified inventory information from a database or inventory table related to inventory information. This inventory information includes product names and inventory quantities. Categorize the inventory information by product name, count the number of products under each product name, and obtain the inventory quantity corresponding to each product name. Alternatively, the total inventory quantity in the warehouse can be obtained by summing the inventory quantities corresponding to each product name.
[0128] Of course, further statistics can be done, and inventory quantities can be counted according to the batch information under the product name.
[0129] Specifically, based on the modified inventory information, the inventory quantity dimension is statistically analyzed by owner and the location of the owner's goods in the warehouse, and the inventory statistical strategy by owner and commodity location dimension, the specific implementation of statistically analyzing the inventory quantity of the goods to be processed includes:
[0130] Obtain the modified inventory information from the database or the inventory table related to the inventory information. The inventory information includes: owner name, commodity name, location of the commodity in the warehouse, inventory quantity, etc. Classify the inventory information according to the owner name, and statistically analyze the location of the goods under each owner name in the warehouse to obtain the inventory quantity at the location of each commodity under each owner name in the warehouse. In addition, the total inventory quantity in the warehouse can also be obtained by accumulating the inventory quantities at the locations of each commodity under each owner.
[0131] Specifically, based on the modified inventory information, the inventory quantity dimension is statistically analyzed by the location of the commodity in the warehouse, and the inventory statistical strategy by commodity location dimension, the specific implementation of statistically analyzing the inventory quantity of the goods to be processed includes:
[0132] Obtain the modified inventory information from the database or the inventory table related to the inventory information. The inventory information includes: location of the commodity in the warehouse and inventory quantity, etc. Classify the inventory information according to the location of the commodity in the warehouse, and statistically analyze the quantity of the goods at each location to obtain the inventory quantity at each location. In addition, the total inventory quantity in the warehouse can also be obtained by accumulating the inventory quantities at each location.
[0133] Specifically, based on the modified inventory information, the inventory quantity dimension is statistically analyzed by the commodity exception flag, and the inventory statistical strategy by commodity exception flag dimension, the specific implementation of statistically analyzing the inventory quantity of the goods to be processed includes:
[0134] Obtain the modified inventory information from the database or the inventory table related to the inventory information. The inventory information includes: commodity exception flag and inventory quantity, etc. Statistically analyze the goods with the commodity exception flag to obtain the inventory quantity of the abnormal goods.
[0135] Among them, the commodity exception flag is not restricted in this invention, and the user can determine it according to their own actual needs.
[0136] Next, through Figure 2 Specifically illustrate the present invention:
[0137] Step 201, obtain at least two order processing requests.
[0138] Step 202, based on the commodity identifier, the quantity to be processed, the processing performance of the processing device, the number of the processing devices, and the placement rule of the commodity, divide at least two order processing requests into at least two order processing request sets.
[0139] Step 203: Determine whether the order processing request is for indicating a warehousing operation or an outwarehousing operation. If it is for indicating a warehousing operation, execute Step 204; if it is for indicating an outwarehousing operation, execute Step 208.
[0140] Step 204: When the order processing request is for indicating a warehousing operation, determine at least one target location based on the product identifier and the product placement strategy.
[0141] Step 205: Determine the first distance information between the target locations, and recommend the target locations where the first distance information is less than the first preset distance.
[0142] Step 206: When the location occupied flag is obtained, determine whether the to-be-processed product is placed accurately based on the information of the product at the target location corresponding to the location occupied flag.
[0143] Step 207: When it is determined that the to-be-processed product is placed accurately, modify the inventory information of the to-be-processed product in the warehouse.
[0144] Step 208: When the order processing request is for indicating an outwarehousing operation, determine the placement location based on the product identifier.
[0145] Step 209: Determine the second distance information between the placement locations, and recommend the placement locations where the second distance information is less than the second preset distance.
[0146] Step 210: When the location unoccupied flag is obtained, determine whether the to-be-processed product is removed accurately based on the information of the removed product.
[0147] Step 211: When it is determined that the to-be-processed product is removed accurately, modify the inventory information of the to-be-processed product in the warehouse.
[0148] The present invention divides at least two obtained order processing requests to obtain at least two order processing sets; and uses different processing devices to process the order processing requests in the order processing sets respectively, so as to improve the processing speed of the order processing requests, ensure the timely processing of the order processing requests and the real-time update of the inventory situation; furthermore, based on the modified inventory information, determine the inventory quantity corresponding to the to-be-processed product. It can be seen that the present invention solves the problem in the prior art that due to the inability to update the inventory situation in a timely manner, the statistically calculated inventory quantity is incorrect, which affects operations such as product outwarehousing, product warehousing, and product replenishment, and ensures the accuracy of the inventory situation.
[0149] In addition, the present invention also performs verification operations during product warehousing and product outwarehousing, ensuring the accuracy of product warehousing and product outwarehousing, and further ensuring the accuracy of the inventory quantity of the product.
[0150] The inventory data processing device provided by the embodiments of the present invention will be described below. This device is applied to a client. The inventory data processing device described below can be correspondingly referred to the inventory data processing method described above. For repeated parts, they will not be elaborated again. As Figure 3 shown, the device includes:
[0151] An obtaining module 301, configured to obtain at least two order processing requests. Among them, the order processing request includes: a product identifier of the product to be processed and the quantity to be processed of the product to be processed. The order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse;
[0152] A dividing module 302, configured to divide at least two order processing requests into at least two order processing request sets based on the product identifier and the quantity to be processed. Among them, each order processing request set includes at least one order processing request;
[0153] A processing module 303, configured to use a target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the product to be processed in the warehouse. Among them, the target number is the number of the order processing request sets, and one processing device corresponds to one order processing request set;
[0154] A determining module 304, configured to determine the inventory quantity corresponding to the product to be processed based on the modified inventory information.
[0155] In a specific embodiment, the order processing request is further used to indicate a warehousing operation; the processing module 303 is specifically configured to perform the following first request processing operations on each order processing request by each processing device:
[0156] Obtain the position where the product is to be placed. Among them, the position where the product is to be placed includes the positions in the warehouse that are not occupied by products; determine at least one target position from the positions where the product is to be placed based on the product identifier and the preset product placement strategy; when obtaining a position occupied flag, modify the inventory information of the product to be processed in the warehouse, where the position occupied flag is used to indicate that there is a position occupied by a product among at least one target position.
[0157] In a specific embodiment, the processing module 303 is specifically configured to, when obtaining a position occupied flag, obtain the information of the product at the target position corresponding to the position occupied flag; determine whether the product to be processed is placed accurately based on the information of the product at the target position corresponding to the position occupied flag; when determining that the product to be processed is placed accurately, modify the inventory information of the product to be processed in the warehouse.
[0158] In a specific embodiment, the processing module 303 is specifically configured to determine a set of target locations corresponding to the order processing request set, where the set of target locations includes at least one target location; determine first distance information between the target locations in the set of target locations; and recommend the target locations with the first distance information less than a first preset distance.
[0159] In a specific embodiment, the order processing request is further used to instruct an outbound operation; the processing module 303 is specifically configured to perform the following second request processing operations on each order processing request by each processing device:
[0160] Obtain the placement location of the to-be-processed commodity in the warehouse; modify the inventory information of the to-be-processed commodity in the warehouse when a location unoccupied flag is obtained, where the location unoccupied flag is used to indicate that the commodity at the placement location has been removed.
[0161] In a specific embodiment, the processing module 303 is specifically configured to obtain information of the removed commodity when a location unoccupied flag is obtained; determine whether the to-be-processed commodity is accurately removed based on the information of the removed commodity; and modify the inventory information of the to-be-processed commodity in the warehouse when it is determined that the to-be-processed commodity is accurately removed.
[0162] In a specific embodiment, the processing module 303 is specifically configured to determine a set of placement locations corresponding to the order processing request set, where the set of placement locations includes at least one placement location; determine second distance information between the placement locations in the set of placement locations; and recommend the placement locations with the second distance information less than a second preset distance.
[0163] In a specific embodiment, the partitioning module 302 is specifically configured to determine the commodity attribute of the to-be-processed commodity based on the commodity identifier; classify at least two order processing requests based on the commodity attribute to obtain a classification result; and partition at least two order processing requests based on the processing performance of the preset processing device, the number of preset processing devices, the to-be-processed quantity, and the classification result to obtain at least two order processing request sets.
[0164] In a specific embodiment, the determination module 304 is specifically configured to count the inventory quantity of the to-be-processed commodity based on the modified inventory information, the preset inventory statistical dimension, and the inventory statistical policy corresponding to each inventory statistical dimension.
[0165] Figure 4 Illustrates a schematic physical structure diagram of an electronic device, such as Figure 4As shown in the figure, the electronic device may include: a processor 401, a communications interface 402, a memory 403, and a communication bus 404. Among them, the processor 401, the communications interface 402, and the memory 403 complete mutual communication through the communication bus 404. The processor 401 may invoke the logical instructions in the memory 403 to execute an inventory data processing method, which includes: obtaining at least two order processing requests, where the order processing request includes: the product identifier of the product to be processed and the quantity to be processed of the product to be processed, and the order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse; based on the product identifier and the quantity to be processed, dividing the at least two order processing requests into at least two order processing request sets, where each order processing request set includes at least one order processing request; using a target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the product to be processed in the warehouse, where the target number is the number of order processing request sets, and one processing device corresponds to one order processing request set; based on the modified inventory information, determining the inventory quantity corresponding to the product to be processed.
[0166] In addition, when the logical instructions in the above-mentioned memory 403 are implemented in the form of software functional units and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0167] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the inventory data processing method provided by each of the above methods. The method includes: obtaining at least two order processing requests, where the order processing request includes: the product identifier of the product to be processed and the quantity to be processed of the product to be processed, and the order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse; based on the product identifier and the quantity to be processed, dividing at least two order processing requests into at least two order processing request sets, where each order processing request set includes at least one order processing request; using a target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the product to be processed in the warehouse, where the target number is the number of order processing request sets, and one processing device corresponds to one order processing request set; based on the modified inventory information, determining the inventory quantity corresponding to the product to be processed.
[0168] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the inventory data processing method provided by each of the above. The method includes: obtaining at least two order processing requests, where the order processing request includes: the product identifier of the product to be processed and the quantity to be processed of the product to be processed, and the order processing request is used to indicate modifying the inventory information of the product to be processed in the warehouse; based on the product identifier and the quantity to be processed, dividing at least two order processing requests into at least two order processing request sets, where each order processing request set includes at least one order processing request; using a target number of processing devices to process the order processing requests in the order processing request set to modify the inventory information of the product to be processed in the warehouse, where the target number is the number of order processing request sets, and one processing device corresponds to one order processing request set; based on the modified inventory information, determining the inventory quantity corresponding to the product to be processed.
[0169] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0170] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing inventory data, characterized in that: The method comprises: Obtaining at least two order processing requests, wherein the order processing requests include: a commodity identifier of a commodity to be processed and a quantity to be processed of the commodity to be processed, and the order processing requests are used to instruct modification of inventory information of the commodity to be processed in a warehouse; Based on the commodity identifier and the quantity to be processed, dividing the at least two order processing requests into at least two order processing request sets, wherein each of the order processing request sets includes at least one order processing request; Processing the order processing requests in the order processing request set using a target number of processing devices to modify inventory information of the to-be-processed merchandise in the warehouse, wherein the target number is the number of the order processing request set, and one processing device corresponds to one order processing request set; Based on the modified inventory information, the inventory quantity corresponding to the to-be-processed commodity is determined.
2. The inventory data processing method according to claim 1, characterized in that: The order processing request is also used to instruct the warehousing operation; The processing of the order processing requests in the order processing request set by using a target number of processing devices to modify the inventory information of the to-be-processed goods in the warehouse includes: Each of the processing devices performs the following first request processing operation on each of the order processing requests: Acquire a location where goods are to be placed, wherein the location where goods are to be placed includes a location in the warehouse that is not occupied by goods; Determining at least one target location from among the locations where the product is to be placed based on the product identification and a preset product placement strategy; In the case of obtaining a position occupied flag, the inventory information of the commodity to be processed in the warehouse is modified, wherein the position occupied flag is used to indicate that a position in the at least one target position is occupied by a commodity.
3. The inventory data processing method according to claim 2, characterized in that: When the location is occupied, the inventory information of the commodity to be processed in the warehouse is modified, including: When a position occupied flag is obtained, information of a commodity at a target position corresponding to the position occupied flag is obtained; Determining whether the commodity to be processed is correctly placed based on information of the commodity at the target location corresponding to the occupied location identifier; When it is determined that the merchandise to be processed is correctly placed, the inventory information of the merchandise to be processed in the warehouse is modified.
4. The inventory data processing method according to claim 2, characterized in that: After determining at least one target location from the locations where the product is to be placed based on the product identification and the preset product placement strategy, the method further includes: Determining a target location set corresponding to the order processing request set, wherein the target location set includes at least one target location; Determining first distance information between each target position in the target position set; The target position whose first distance information is smaller than the first preset distance is recommended.
5. The inventory data processing method according to claim 1, characterized in that: The order processing request is also used to instruct the outbound operation; The processing of the order processing requests in the order processing request set by using a target number of processing devices to modify the inventory information of the to-be-processed goods in the warehouse includes: Each of the processing devices performs the following second request processing operation on each of the order processing requests: Obtaining the location of the commodity to be processed in the warehouse; In the case of obtaining an unoccupied position flag, the inventory information of the commodity to be processed in the warehouse is modified, wherein the unoccupied position flag is used to indicate that the commodity at the placement position is removed.
6. The inventory data processing method according to claim 5, characterized in that: The step of modifying the inventory information of the commodity to be processed in the warehouse when the location is not occupied flag is obtained includes: When obtaining an unoccupied location indicator, obtain information about the removed product; Determining whether the product to be processed is removed accurately based on the information of the removed product; When it is determined that the goods to be processed are removed correctly, the inventory information of the goods to be processed in the warehouse is modified.
7. The inventory data processing method according to claim 5, characterized in that: After obtaining the placement location of the commodity to be processed in the warehouse, the method further includes: Determining a placement location set corresponding to the order processing request set, wherein the placement location set includes at least one placement location; Determining second distance information between each placement location in the placement location set; A placement location where the second distance information is smaller than a second preset distance is recommended.
8. The inventory data processing method according to any one of claims 1 to 7, characterized in that: The dividing the at least two order processing requests into at least two order processing request sets based on the commodity identifier and the quantity to be processed includes: Determining the commodity attributes of the commodity to be processed based on the commodity identifier; Classifying at least two of the order processing requests based on the product attributes to obtain a classification result; Based on the preset processing performance of the processing device, the preset number of devices of the processing device, the number to be processed and the classification result, at least two of the order processing requests are divided to obtain at least two order processing request sets.
9. The inventory data processing method according to any one of claims 1 to 7, characterized in that: The determining, based on the modified inventory information, the inventory quantity corresponding to the commodity to be processed includes: Based on the modified inventory information, the preset inventory statistical dimensions and the inventory statistical strategies corresponding to the inventory statistical dimensions, the inventory quantity of the to-be-processed commodity is counted.
10. An inventory data processing device, characterized in that: The device comprises: an acquisition module, configured to acquire at least two order processing requests, wherein the order processing requests include: a commodity identifier of a commodity to be processed and a quantity to be processed of the commodity to be processed, and the order processing requests are used to instruct modification of inventory information of the commodity to be processed in the warehouse; a division module, configured to divide the at least two order processing requests into at least two order processing request sets based on the commodity identifier and the quantity to be processed, wherein each of the order processing request sets includes at least one order processing request; a processing module, configured to process the order processing requests in the order processing request set using a target number of processing devices to modify inventory information of the commodities to be processed in the warehouse, wherein the target number is the number of the order processing request set, and one processing device corresponds to one order processing request set; The determination module is used to determine the inventory quantity corresponding to the to-be-processed commodity based on the modified inventory information.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the inventory data processing method according to any one of claims 1 to 9 is implemented.
12. A non-transitory computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the inventory data processing method according to any one of claims 1 to 9 is implemented.