CN110837987A - Method and device for determining storage of warehouse - Google Patents

Method and device for determining storage of warehouse Download PDF

Info

Publication number
CN110837987A
CN110837987A CN201810940745.4A CN201810940745A CN110837987A CN 110837987 A CN110837987 A CN 110837987A CN 201810940745 A CN201810940745 A CN 201810940745A CN 110837987 A CN110837987 A CN 110837987A
Authority
CN
China
Prior art keywords
warehouse
moving
inventory
moved
stock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810940745.4A
Other languages
Chinese (zh)
Other versions
CN110837987B (en
Inventor
李明泽
李小伟
鲁法海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Shangke Information Technology Co Ltd
Priority to CN201810940745.4A priority Critical patent/CN110837987B/en
Publication of CN110837987A publication Critical patent/CN110837987A/en
Application granted granted Critical
Publication of CN110837987B publication Critical patent/CN110837987B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Abstract

The invention discloses a method and a device for determining storage of a warehouse, and relates to the technical field of computers. One embodiment of the method comprises: acquiring the actual number of moved warehouses, wherein the number of moved warehouses is the number of stocks transferred from the moved warehouse to the moved warehouse; based on a preset correction rule, determining the corrected warehouse moving quantity by utilizing the actual warehouse moving quantity, the stock information of the warehouse moving out before warehouse moving and the stock information of the warehouse moving in before warehouse moving; the corrected quantity of the moved warehouse is used to determine the stock information of the moved warehouse or the moved warehouse. According to the embodiment, the warehouse storage can be determined based on the actual warehouse storage number, and the warehouse storage synchronization between the upstream system and the downstream system of logistics management is realized.

Description

Method and device for determining storage of warehouse
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for determining storage of a warehouse.
Background
Currently, logistics management of e-commerce websites is usually completed through cooperation of a plurality of systems and platforms. For example, in a logistics Management solution of a collaborative Warehouse Management System (WMS) through an e-commerce logistics platform, the e-commerce logistics platform as an upstream System may provide a whole set of e-logistics solution for a user, and the Warehouse Management System as a downstream System manages Warehouse services, and implements logistics Management of an e-commerce website through cooperation of the two systems.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: the electronic commerce logistics platform and the warehouse management system have different functional emphasis points and data environments, so that the warehouse storage data are difficult to be synchronously moved between the electronic commerce logistics platform and the warehouse management system. The electronic commerce logistics platform cannot move the stock according to the actual quantity, so that the stock of the two systems is uneven, and a merchant order is issued to a storehouse and cannot be produced.
Therefore, a method and an apparatus for determining warehouse inventory are needed to determine warehouse inventory based on the actual number of warehouses to achieve warehouse inventory synchronization between upstream and downstream systems in logistics management.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for determining a warehouse moving inventory, which can determine the warehouse moving inventory based on an actual warehouse moving quantity, and implement warehouse moving inventory synchronization between an upstream system and a downstream system of logistics management.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of determining inventory of a warehouse, including:
acquiring the actual number of moved warehouses, wherein the number of moved warehouses is the number of stocks transferred from the moved warehouse to the moved warehouse;
based on a preset correction rule, determining the corrected warehouse moving quantity by utilizing the actual warehouse moving quantity, the stock information of the warehouse moving out before warehouse moving and the stock information of the warehouse moving in before warehouse moving;
the corrected quantity of the moved warehouse is used to determine the stock information of the moved warehouse or the moved warehouse.
Further, the inventory information includes: total inventory and available inventory, wherein the available inventory is the inventory in the total inventory which has not been placed with orders; correcting the number of the bins comprises: the total stock correction bin moving quantity and the available stock correction bin moving quantity;
the preset correction rule comprises the following steps:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include a pre-occupied inventory of a moving-out warehouse, and the pre-occupied inventory is an inventory of issued orders in the total inventory;
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity are less than or equal to the actual bin moving quantity;
when the pre-occupied inventory before the warehouse is moved is determined to be a negative number, the value of the pre-occupied inventory is considered to be 0;
when the residual inventory of the moving-out warehouse before moving is determined to be a negative number, the value of the residual inventory is regarded as 0, and the residual inventory of the moving-out warehouse is the difference between the total inventory of the moving-out warehouse before moving and the actual moving quantity;
when the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
Further, the determining the corrected warehouse moving number by using the actual warehouse moving number, the inventory information of the warehouse before moving out of the warehouse, and the inventory information of the warehouse before moving in the warehouse based on a preset correction rule includes:
determining the pre-occupied stock Q ═ ((M-N) + | M-N |)/2 before the warehouse is moved out;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the warehouse before moving, N is the available stock of the warehouse before moving, and X is the actual number of moving.
Further, the determining the inventory information of the warehouse after the warehouse is moved by using the corrected number of the moved warehouse includes:
determining the total stock M _ a _ new after the warehouse is moved out of the warehouse as M-X + M _ C;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
the determining the inventory information of the warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is also provided an apparatus for determining a stock of a carrier, including:
the acquisition module is used for acquiring the actual number of the moved warehouses, wherein the number of the moved warehouses is the number of stocks transferred from the moving warehouse to the moving warehouse;
the correction module is used for determining the corrected moving quantity by utilizing the actual moving quantity, the stock information of the moved warehouse before moving and the stock information of the moved warehouse before moving based on a preset correction rule;
and the determining module is used for determining the inventory information of the moved warehouse or the moved warehouse by utilizing the corrected number of the moved warehouses.
Further, the inventory information includes: total inventory and available inventory, wherein the available inventory is the inventory in the total inventory which has not been placed with orders; correcting the number of the bins comprises: the total stock correction bin moving quantity and the available stock correction bin moving quantity;
in the modification module, the preset modification rule includes:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include a pre-occupied inventory of a moving-out warehouse, and the pre-occupied inventory is an inventory of issued orders in the total inventory;
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity are less than or equal to the actual bin moving quantity;
when the pre-occupied inventory before the warehouse is moved is determined to be a negative number, the value of the pre-occupied inventory is considered to be 0;
when the residual inventory of the moving-out warehouse before moving is determined to be a negative number, the value of the residual inventory is regarded as 0, and the residual inventory of the moving-out warehouse is the difference between the total inventory of the moving-out warehouse before moving and the actual moving quantity;
when the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
Further, the correction module is further configured to determine that the pre-occupied stock Q before the warehouse is moved is ((M-N) + | M-N |)/2;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the warehouse before moving, N is the available stock of the warehouse before moving, and X is the actual number of moving.
Further, the determining module is further configured to determine that the total inventory M _ a _ new of the warehouse after being moved is M-X + M _ C;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
the determining the inventory information of the warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is also provided an electronic device for determining a stock of a carrier, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for determining a moving stock of the present invention.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, the program, when executed by a processor, implementing the method for determining a stock of a bin provided by the present invention.
The method and the device for determining the warehouse moving stock can be applied to a logistics collaborative management system, and a downstream warehouse management system synchronizes the warehouse moving data to an upstream electronic commerce logistics platform. The method is characterized in that the method comprises the steps that when the electronic commerce logistics platform on the upstream calculates the warehouse moving inventory, the electronic commerce logistics platform on the upstream is different from the calculation method of the warehouse management system on the downstream, so that a correction rule is configured, and based on the correction rule, the actual warehouse moving quantity uploaded by the warehouse management system on the downstream is corrected and calculated by combining with the original inventory information, and the inventory data meeting the requirement of the electronic commerce logistics platform on the upstream is obtained. Therefore, the electronic commerce logistics platform at the upstream can determine warehouse storage based on the actual warehouse storage quantity, and warehouse storage synchronization between the upstream system and the downstream system of logistics management is realized.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a method for determining a stock of a carrier according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the main modules of the apparatus for determining the stock of a carrier according to the present invention;
FIG. 3 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 4 is a block diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The invention provides a method for determining stock of a moving bin, as shown in figure 1, the method comprises the following steps: step S101, step S102, and step S103.
In step S101, the actual number of bins to be moved is acquired, and the number of bins to be moved is the number of stocks to be moved from the carry-out warehouse to the carry-in warehouse. Then, in step S102, the corrected number of bins is determined based on a preset correction rule using the actual number of bins to be moved, the stock information of the outgoing warehouse before the movement, and the stock information of the incoming warehouse before the movement. Further, in step S103, the corrected number of the transferred bins is used to specify the stock information after the transfer of the outgoing warehouse or the stock information after the transfer of the incoming warehouse.
In one embodiment of the present invention, the inventory information includes: the method comprises the steps of total inventory and available inventory, wherein the available inventory is the inventory of orders which are not issued in the total inventory; correcting the number of the bins comprises: total inventory correction bin count and available inventory correction bin count.
In one embodiment of the present invention, the preset modification rule includes:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include the pre-occupied inventory of the moving-out warehouse, and the pre-occupied inventory is the inventory of the issued orders in the total inventory.
The total inventory correction bin moving quantity and the available inventory correction bin moving quantity are both smaller than or equal to the actual bin moving quantity.
When the pre-occupied stock of the moving warehouse before the moving is determined to be a negative number, the value is regarded as 0.
When the remaining stock of the warehouse before moving is determined to be a negative number, the value is regarded as 0, and the remaining stock of the warehouse is the difference between the total stock before moving out of the warehouse and the actual number of the moved warehouses.
When the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
In one embodiment of the present invention, the step S102, based on the preset correction rule, determines the corrected number of the bins by using the actual number of the bins moved, the stock information of the warehouse before the bin moved, and the stock information of the warehouse before the bin moved, specifically:
determining the pre-occupied stock Q ═ ((M-N) + | M-N |)/2 before the warehouse is moved out;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the moving warehouse before moving the warehouse, N is the available stock of the moving warehouse before moving the warehouse, and X is the actual moving quantity.
In an embodiment of the present invention, the step S103 of determining the stock information of the warehouse after the warehouse has been moved by using the corrected number of moved warehouses specifically includes:
determining the total stock M _ a _ new after the warehouse is moved out of the warehouse as M-X + M _ C;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
determining the inventory information of the moved warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
The method for determining inventory of a storage is further described below with reference to a specific application scenario. In the application scenario, the method is used for synchronously carrying warehouse storage information between an electronic commerce logistics platform and a downstream warehouse management system which are respectively positioned at the upstream in the logistics management system. And the warehouse management system transmits the actual carrying-in quantity X back to the electronic commerce logistics platform. The electronic commerce logistics platform calculates the total inventory and the available inventory of the warehouse A and the warehouse B before and after the warehouse moving.
The method is characterized in that the method comprises the steps that when the electronic commerce logistics platform on the upstream calculates the warehouse moving inventory, the electronic commerce logistics platform on the upstream is different from the calculation method of the warehouse management system on the downstream, so that a correction rule is configured, and based on the correction rule, the actual warehouse moving quantity uploaded by the warehouse management system on the downstream is corrected and calculated by combining with the original inventory information, and the inventory data meeting the requirement of the electronic commerce logistics platform on the upstream is obtained. Therefore, the electronic commerce logistics platform at the upstream can determine warehouse storage based on the actual warehouse storage quantity, and warehouse storage synchronization between the upstream system and the downstream system of logistics management is realized.
In the business scenario:
m is the total stock of the moved warehouse A before the warehouse is moved, N is the available stock of the moved warehouse A before the warehouse is moved, Y is the total stock of the moved warehouse B before the warehouse is moved, Z is the available stock of the moved warehouse B before the warehouse is moved, M _ a _ new is the total stock of the moved warehouse A after the warehouse is moved, N _ a _ new is the available stock of the moved warehouse A after the warehouse is moved, M _ B _ new is the total stock of the moved warehouse B after the warehouse is moved, N _ B _ new is the available stock of the moved warehouse B after the warehouse is moved, M _ C is the total stock corrected number of the moved warehouses, and N _ C is the available stock corrected number of the moved warehouses,
in this scenario, the modification rule for the e-commerce logistics platform configuration is as follows:
1. ensuring that the total inventory and the available inventory after the transfer are consistent with the total inventory and the available inventory before the transfer:
M=M_a_new+M_C,
N=N_b_new+N_C。
2. and the number of X moved to the warehouse every time is correct, and the default warehouse management system transmits the data which is correct forever, so that the data of the electronic commerce logistics platform cannot be used for reversely deducing whether X is correct or not.
3. As much as possible, the bin moving requirement of X is met, and if X can be moved, X is moved but X is not exceeded.
4. The pre-occupied stock before moving out of the warehouse is not moved on the electronic commerce logistics platform, but because the warehouse management system does not have the concept of pre-occupied stock, the actual operation can move the goods in the pre-occupied stock away.
5. If the pre-occupied stock before moving out of the warehouse is a negative number, the pre-occupied stock is considered as error data, and the pre-occupied stock is considered as 0 without consideration.
In the present invention, if the pre-occupied stock is Q, Q ═ ((M-N) + | M-N |)/2, the formula is such that if the pre-occupied stock is a positive number, the pre-occupied stock is the total stock minus the available stock, and if the pre-occupied stock is a negative number, the problem data is represented, which is not considered, and is regarded as 0, and the formula satisfies the requirement of point 5. Here, Q > is 0.
After X is carried, the total stock remaining amount is R1, and R1 is set to M-X. The formula is that the quantity of the total stock left after X is moved is actually added to a new bin according to the requirement of the 2 nd point, namely the bin quantity when the bin X is greater than the total stock M, at least X-M is newly added to the new bin, and M-X is obtained when the bin X is less than the total stock. Here, R > is 0.
The actual number of bins, i.e. the number of M _ C and N _ C, should be equal, because according to the 4 th requirement, the number of new bins cannot be occupied in the process of bin moving, so M _ C is equal to N _ C, so only after M _ C is calculated, M _ a _ new and N _ b _ new can be calculated according to the 1 st requirement.
The specific calculation process is as follows:
when R1> ═ 0, i.e., X < ═ M:
if Q-R1 ≦ 0 indicates that the amount of space occupied is not large, that is, the number of bins to be transferred, the bins may be directly transferred in X, and the X inside of the transferred bin is not occupied.
If Q-R1>0, it indicates that more pre-emptions are present than the rest, i.e. when moving to a pre-emptive inventory, and the extra is Q-R, where only X- (Q-R) can be moved in, the following formula:
Figure BDA0001768993930000101
when R1<0, i.e., X > M, M numbers are considered to be moved, the remainder is 0, and X-M, i.e., -R1, is added, and the multiple numbers are also present in the carry-in bin, where-R1 > is 0.
According to the formula, the method comprises the following steps:
because:
Figure BDA0001768993930000103
since Q > is 0, therefore:
Figure BDA0001768993930000104
the above formulas are integrated:
let R ═ ((M-X) + | M-X |)/2,
when M-X > is 0, R-R1,
when M-X <0, R is 0,
the above can be written as: m _ C ═ X- ((Q-R) + | Q-R |)/2
Wherein:
Q=((M-N)+|M-N|)/2,
R=((M-X)+|M-X|)/2,
according to the first requirement, the M _ a _ new and the N _ b _ new are reversely deduced to obtain:
total stock of the moved warehouse after the warehouse is moved:
M_a_new=M-X+【(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)+|(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)|】/2;
the available stock of the moved warehouse after the movement:
N_a_new=N-X+【(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)+|(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)|】/2;
total stock of the moved warehouse:
M_b_new=X-【(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)+|(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)|】/2+Y;
the available stock after moving into the warehouse:
N_b_new=X-【(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)+|(((M-N)+|M-N|)/2-((M-X)+|M-X|)/2)|】/2+Z。
an embodiment of the present invention further provides a device for determining a warehouse moving inventory, as shown in fig. 2, including: an acquisition module 201, a correction module 202 and a determination module 203.
The obtaining module 201 is configured to obtain an actual number of moved warehouses, where the number of moved warehouses is an amount of inventory transferred from a moved warehouse to a moved warehouse.
The correction module 202 is configured to determine the corrected warehouse moving amount based on a preset correction rule by using the actual warehouse moving amount, the inventory information of the warehouse before warehouse moving, and the inventory information of the warehouse before warehouse moving.
The determining module 203 is configured to determine the inventory information after the warehouse is moved out of the warehouse or the inventory information after the warehouse is moved into the warehouse by using the corrected number of moved warehouses.
In the present invention, the inventory information includes: the method comprises the steps of total inventory and available inventory, wherein the available inventory is the inventory of orders which are not issued in the total inventory; correcting the number of the bins comprises: the total stock correction bin moving quantity and the available stock correction bin moving quantity;
in the modification module, the preset modification rule includes:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include the pre-occupied inventory of the moving-out warehouse, and the pre-occupied inventory is the inventory of the issued orders in the total inventory;
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity are less than or equal to the actual bin moving quantity;
when the pre-occupied inventory before the warehouse is moved is determined to be a negative number, the value of the pre-occupied inventory is considered to be 0;
when the residual inventory of the moved warehouse before the warehouse is moved is determined to be a negative number, the value of the residual inventory is regarded as 0, and the residual inventory of the moved warehouse is the difference between the total inventory of the moved warehouse before the warehouse is moved and the actual number of the moved warehouses;
when the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
In the invention, the correction module is further used for determining that the pre-occupied stock Q before the warehouse is moved is ((M-N) + | M-N |)/2;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the moving warehouse before moving the warehouse, N is the available stock of the moving warehouse before moving the warehouse, and X is the actual moving quantity.
In the invention, the determining module is further used for determining that the total inventory M _ a _ new after the warehouse is moved is M-X + M _ C;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
determining the inventory information of the moved warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
The method and the device for determining the warehouse moving stock can be applied to a logistics collaborative management system, and a downstream warehouse management system synchronizes the warehouse moving data to an upstream electronic commerce logistics platform. The method is characterized in that the method comprises the steps that when the electronic commerce logistics platform on the upstream calculates the warehouse moving inventory, the electronic commerce logistics platform on the upstream is different from the calculation method of the warehouse management system on the downstream, so that a correction rule is configured, and based on the correction rule, the actual warehouse moving quantity uploaded by the warehouse management system on the downstream is corrected and calculated by combining with the original inventory information, and the inventory data meeting the requirement of the electronic commerce logistics platform on the upstream is obtained. Therefore, the electronic commerce logistics platform at the upstream can determine warehouse storage based on the actual warehouse storage quantity, and warehouse storage synchronization between the upstream system and the downstream system of logistics management is realized. The merchant experience and order fulfillment timeliness are improved.
Fig. 3 illustrates an exemplary system architecture 300 of a method of determining a warehousing inventory or an apparatus for determining a warehousing inventory to which embodiments of the invention may be applied.
As shown in fig. 3, the system architecture 300 may include terminal devices 301, 302, 303, a network 304, and a server 305. The network 304 serves as a medium for providing communication links between the terminal devices 301, 302, 303 and the server 305. Network 304 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal device 301, 302, 303 to interact with the server 305 via the network 304 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 301, 302, 303.
The terminal devices 301, 302, 303 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 305 may be a server that provides various services, such as a background management server that obtains the actual number of bins, and determines the inventory information of the warehouse after the bin is moved out of the warehouse or the inventory information of the warehouse after the bin is moved in the warehouse.
It should be noted that the method for determining the inventory of the warehouse provided by the embodiment of the present invention is generally executed by the server 305, and accordingly, the device for determining the inventory of the warehouse is generally disposed in the server 305.
It should be understood that the number of terminal devices, networks, and servers in fig. 3 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 4, a block diagram of a computer system 400 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 4, the computer system 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the system 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411. The computer program performs the above-described functions defined in the system of the present invention when executed by a Central Processing Unit (CPU) 401.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, a modification module, and a determination module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
acquiring the actual number of moved warehouses, wherein the number of moved warehouses is the number of stocks transferred from the moved warehouse to the moved warehouse;
based on a preset correction rule, determining the corrected warehouse moving quantity by utilizing the actual warehouse moving quantity, the stock information of the warehouse moving out before warehouse moving and the stock information of the warehouse moving in before warehouse moving;
the corrected quantity of the moved warehouse is used to determine the stock information of the moved warehouse or the moved warehouse.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of determining inventory of a warehouse, comprising:
acquiring the actual number of moved warehouses, wherein the number of moved warehouses is the number of stocks transferred from the moved warehouse to the moved warehouse;
based on a preset correction rule, determining the corrected warehouse moving quantity by utilizing the actual warehouse moving quantity, the stock information of the warehouse moving out before warehouse moving and the stock information of the warehouse moving in before warehouse moving;
the corrected quantity of the moved warehouse is used to determine the stock information of the moved warehouse or the moved warehouse.
2. The method of claim 1, wherein the inventory information comprises: total inventory and available inventory, wherein the available inventory is the inventory in the total inventory which has not been placed with orders; correcting the number of the bins comprises: the total stock correction bin moving quantity and the available stock correction bin moving quantity;
the preset correction rule comprises the following steps:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include a pre-occupied inventory of a moving-out warehouse, and the pre-occupied inventory is an inventory of issued orders in the total inventory;
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity are less than or equal to the actual bin moving quantity;
when the pre-occupied inventory before the warehouse is moved is determined to be a negative number, the value of the pre-occupied inventory is considered to be 0;
when the residual inventory of the moving-out warehouse before moving is determined to be a negative number, the value of the residual inventory is regarded as 0, and the residual inventory of the moving-out warehouse is the difference between the total inventory of the moving-out warehouse before moving and the actual moving quantity;
when the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
3. The method of claim 2, wherein the determining a modified quantity of moves using the actual quantity of moves, the inventory information of the out-of-warehouse prior to moving, and the inventory information of the in-warehouse prior to moving based on a preset modification rule comprises:
determining the pre-occupied stock Q ═ ((M-N) + | M-N |)/2 before the warehouse is moved out;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the warehouse before moving, N is the available stock of the warehouse before moving, and X is the actual number of moving.
4. The method of claim 3, wherein said determining inventory information of the moved warehouse after the move using the corrected move quantity comprises:
determining the total stock M _ a _ new after the warehouse is moved out of the warehouse as M-X + M _ C;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
the determining the inventory information of the warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
5. An apparatus for determining a stock of a tote, comprising:
the acquisition module is used for acquiring the actual number of the moved warehouses, wherein the number of the moved warehouses is the number of stocks transferred from the moving warehouse to the moving warehouse;
the correction module is used for determining the corrected moving quantity by utilizing the actual moving quantity, the stock information of the moved warehouse before moving and the stock information of the moved warehouse before moving based on a preset correction rule;
and the determining module is used for determining the inventory information of the moved warehouse or the moved warehouse by utilizing the corrected number of the moved warehouses.
6. The apparatus of claim 5, wherein the inventory information comprises: total inventory and available inventory, wherein the available inventory is the inventory in the total inventory which has not been placed with orders; correcting the number of the bins comprises: the total stock correction bin moving quantity and the available stock correction bin moving quantity;
in the modification module, the preset modification rule includes:
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity do not include a pre-occupied inventory of a moving-out warehouse, and the pre-occupied inventory is an inventory of issued orders in the total inventory;
the total inventory correction bin moving quantity and the available inventory correction bin moving quantity are less than or equal to the actual bin moving quantity;
when the pre-occupied inventory before the warehouse is moved is determined to be a negative number, the value of the pre-occupied inventory is considered to be 0;
when the residual inventory of the moving-out warehouse before moving is determined to be a negative number, the value of the residual inventory is regarded as 0, and the residual inventory of the moving-out warehouse is the difference between the total inventory of the moving-out warehouse before moving and the actual moving quantity;
when the difference between the pre-occupied stock and the remaining stock before the warehouse is moved out of the warehouse is a negative number, the difference is regarded as 0.
7. The apparatus of claim 6, wherein the correction module is further configured to determine that the pre-occupied inventory Q ═ ((M-N) + | M-N |)/2;
determining the residual stock R (as ((M-X) + | M-X |)/2 before the warehouse is moved out;
determining the total stock correction bin moving quantity M _ C ═ X- ((Q-R) + | Q-R |)/2;
wherein M is the total stock of the warehouse before moving, N is the available stock of the warehouse before moving, and X is the actual number of moving.
8. The apparatus of claim 7, wherein the determining module is further configured to determine a total stock M _ a _ new after moving out of the warehouse;
determining available stock N _ a _ new after the warehouse is moved out of the warehouse as N-X + N _ C;
the determining the inventory information of the warehouse after the warehouse is moved by using the corrected number of the moved warehouses comprises the following steps:
determining the total stock M _ b _ new after the warehouse is moved into the warehouse as Y + X-M _ C;
determining available stock N _ b _ new after the warehouse is moved into the warehouse, wherein the available stock N _ b _ new is Z + X-N _ C;
wherein, M _ C is the total inventory correction bin moving quantity, N _ C is the available inventory correction bin moving quantity, M is the total inventory before bin moving of the moving-out warehouse, N is the available inventory before bin moving of the moving-out warehouse, Y is the total inventory before bin moving of the moving-in warehouse, Z is the available inventory before bin moving of the moving-in warehouse, M _ a _ new is the total inventory after bin moving of the moving-out warehouse, N _ a _ new is the available inventory after bin moving of the moving-out warehouse, M _ b _ new is the total inventory after bin moving of the moving-in warehouse, and N _ b _ new is the available inventory after bin moving of the moving-in warehouse.
9. An electronic device for determining a stock of bins, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201810940745.4A 2018-08-17 2018-08-17 Method and device for determining warehouse storage Active CN110837987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810940745.4A CN110837987B (en) 2018-08-17 2018-08-17 Method and device for determining warehouse storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810940745.4A CN110837987B (en) 2018-08-17 2018-08-17 Method and device for determining warehouse storage

Publications (2)

Publication Number Publication Date
CN110837987A true CN110837987A (en) 2020-02-25
CN110837987B CN110837987B (en) 2023-09-29

Family

ID=69573590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810940745.4A Active CN110837987B (en) 2018-08-17 2018-08-17 Method and device for determining warehouse storage

Country Status (1)

Country Link
CN (1) CN110837987B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631619A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Resource management method and system
CN106991543A (en) * 2016-01-20 2017-07-28 阿里巴巴集团控股有限公司 Allot system and allot method
CN107358390A (en) * 2017-07-10 2017-11-17 上海凯诘电子商务股份有限公司 Management method is alloted in storage
US20180025460A1 (en) * 2015-02-20 2018-01-25 Hitachi Transport System, Ltd. Warehouse Management System, Warehouse, and Warehouse Management Method
CN107705056A (en) * 2016-08-09 2018-02-16 菜鸟智能物流控股有限公司 Inventory state monitoring method and device, server and client
CN107944782A (en) * 2016-10-13 2018-04-20 北京京东尚科信息技术有限公司 Divide the method, apparatus and electronic equipment in storehouse for substore

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631619A (en) * 2014-10-30 2016-06-01 阿里巴巴集团控股有限公司 Resource management method and system
US20180025460A1 (en) * 2015-02-20 2018-01-25 Hitachi Transport System, Ltd. Warehouse Management System, Warehouse, and Warehouse Management Method
CN106991543A (en) * 2016-01-20 2017-07-28 阿里巴巴集团控股有限公司 Allot system and allot method
CN107705056A (en) * 2016-08-09 2018-02-16 菜鸟智能物流控股有限公司 Inventory state monitoring method and device, server and client
CN107944782A (en) * 2016-10-13 2018-04-20 北京京东尚科信息技术有限公司 Divide the method, apparatus and electronic equipment in storehouse for substore
CN107358390A (en) * 2017-07-10 2017-11-17 上海凯诘电子商务股份有限公司 Management method is alloted in storage

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
VAN WIJK, A. C. C.: "Optimal allocation policy for a multi-location inventory system with a quick response warehouse", 《OPERATIONS RESEARCH LETTERS》, vol. 41, no. 3, XP028585814, DOI: 10.1016/j.orl.2013.03.002 *
詹盛都: "面向双渠道层级式虚拟仓的库存动态调拨机制研究", 《中国优秀硕士学位论文全文数据库(经济与管理科学)》, no. 11 *
韦渠;: "仓库库存管理系统设计及实现分析", 通讯世界, no. 03 *

Also Published As

Publication number Publication date
CN110837987B (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN110363456B (en) Method and device for putting articles on shelves
CN107070858A (en) A kind of method for processing business and device
CN110826831A (en) Method and device for restocking a picking zone of a warehouse
CN112884405A (en) Inquiry system and scheduling method thereof
CN111798167B (en) Warehouse replenishment method and device
CN110689157A (en) Method and device for determining call relation
CN110738436A (en) method and device for determining available stock
CN112102043B (en) Item recommendation page generation method and device, electronic equipment and readable medium
CN108985805B (en) Method and device for selectively executing push task
US20130103456A1 (en) Method, system and program storage device for production planning
CN110837987B (en) Method and device for determining warehouse storage
CN113762863B (en) Inventory management method and device
CN113762865A (en) Inventory information processing method and device
CN113220700B (en) Method and device for realizing dynamic inventory processing
CN109902847B (en) Method and device for predicting amount of orders in branch warehouse
CN112598337A (en) Article-oriented vehicle control method, apparatus, device and computer readable medium
CN112632384A (en) Data processing method and device for application program, electronic equipment and medium
CN113326680A (en) Method and device for generating table
CN111161067A (en) Method and device for determining transaction route
CN109345173A (en) A kind of method and relevant apparatus that materiel warehouse-out data are determining
CN112015565A (en) Method and device for determining task downloading queue
CN111882118B (en) Decision making system and method
CN113762822B (en) Method and device for processing order
CN112734314B (en) Method and device for determining selection set
CN112926907A (en) Warehouse inventory layout method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant