CN113220700B - Method and device for realizing dynamic inventory processing - Google Patents

Method and device for realizing dynamic inventory processing Download PDF

Info

Publication number
CN113220700B
CN113220700B CN202010079851.5A CN202010079851A CN113220700B CN 113220700 B CN113220700 B CN 113220700B CN 202010079851 A CN202010079851 A CN 202010079851A CN 113220700 B CN113220700 B CN 113220700B
Authority
CN
China
Prior art keywords
warehouse
inventory
moving
virtual object
articles
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.)
Active
Application number
CN202010079851.5A
Other languages
Chinese (zh)
Other versions
CN113220700A (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 Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi 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 Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202010079851.5A priority Critical patent/CN113220700B/en
Publication of CN113220700A publication Critical patent/CN113220700A/en
Application granted granted Critical
Publication of CN113220700B publication Critical patent/CN113220700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Computing Systems (AREA)
  • Educational Administration (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for realizing dynamic inventory processing, and relates to the technical field of computers. One specific implementation mode of the method comprises the steps of receiving a warehouse moving task, and obtaining information of a warehouse moving out and information of a warehouse moving in so as to generate a mapping relation between information of articles moved out of the warehouse and information of articles moved in the warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object; calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object. Therefore, the embodiment of the invention can solve the problem that the existing virtual object library cannot be synchronized in a bin moving scene.

Description

Method and device for realizing dynamic inventory processing
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for implementing dynamic inventory processing.
Background
At present, in order to prevent overstock and influence order performance aging, the inventory allocation of a sales channel is closed before the warehouse is moved, and after the warehouse is moved successfully, the inventory allocation of a new warehouse is reset.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
as a result of performing the above process, a difference between the virtual object (e.g., virtual store) inventory and the physical inventory is caused, and the consumer can normally place an order in the virtual object sales channel, but the warehouse cannot produce the performance. Meanwhile, after the bin is moved, the real object is moved out of the originating bin or is moved out of the road or is moved into the destination bin, and the real object inventory is changed, but the virtual object inventory is not changed according to the change of the real object inventory because the moved destination bin does not have the related setting of virtual object inventory allocation, namely the virtual object inventory allocation rule cannot be allocated according to the allocation rule set by a merchant. The virtual object inventory refers to inventory which can be placed by the display of the current sales platform.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a method and a device for realizing dynamic inventory processing, which can solve the problem that the existing virtual object library cannot be synchronized in a bin moving scene.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for implementing dynamic inventory processing, including receiving a warehouse-moving task, acquiring warehouse-moving information and warehouse-moving information, so as to generate a mapping relationship between article information moved out of a warehouse and article information moved in the warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object; calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
Optionally, based on the number of the articles in the warehouse, calculating the inventory of the virtual object corresponding to the warehouse in and the inventory of the virtual object corresponding to the warehouse in according to a preset inventory allocation mode, including:
judging whether the bin-carrying article information of the virtual object is provided with an article inventory allocation mode, if so, calculating the inventory of the virtual object corresponding to the bin-carrying warehouse and the inventory corresponding to the bin-carrying warehouse according to the article inventory allocation mode based on the quantity of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the bin articles in the bin carrying task, calculating the inventory of the virtual object corresponding to the bin carrying-out warehouse and the inventory of the corresponding bin carrying-in warehouse according to a virtual object inventory allocation mode;
The article inventory distribution mode refers to distributing corresponding articles in each warehouse based on article dimensions; the virtual object inventory allocation mode refers to allocation of the objects corresponding to the virtual objects in each warehouse based on the dimensions of the virtual objects.
Optionally, based on the number of the articles in the warehouse, calculating the inventory of the virtual object corresponding to the warehouse in the warehouse and the inventory corresponding to the warehouse in the warehouse according to the article inventory distribution mode includes:
judging whether warehouse information is set in the article inventory allocation mode in the bin carrying article information of the virtual object;
if not, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; acquiring distribution information of the articles in the moving warehouse in an article inventory distribution mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse;
if so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in after the warehouse is moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, and calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse.
Optionally, acquiring the allocation information of the moving warehouse corresponding to the moving warehouse and the allocation information of the corresponding moving warehouse in the article inventory allocation mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse comprises the following steps:
if the distribution information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory distribution mode is a proportion value, judging whether the article inventory distribution mode comprises the distribution information of the carrying-in warehouse or not;
if yes, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse based on the proportion value of the carry-out warehouse allocation information and the proportion value or the fixed value of the carry-in warehouse allocation information;
if not, the proportion value of the allocation information of the moving-out warehouse is assigned to the allocation information of the moving-in warehouse, so that the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated.
Optionally, acquiring the allocation information of the moving warehouse corresponding to the moving warehouse and the allocation information of the corresponding moving warehouse in the article inventory allocation mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse comprises the following steps:
if the allocation information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory allocation mode is a fixed value, judging whether the allocation information of the carrying-in warehouse is included in the article inventory allocation mode;
If so, when the number of the articles in the moving warehouse is greater than or equal to that of the articles in the moving warehouse corresponding to the virtual object currently, updating the fixed value of the allocation information of the moving warehouse to 0, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the corresponding moving warehouse of the virtual object and the inventory of the corresponding moving warehouse; when the quantity of the articles in the moving warehouse is smaller than the quantity of the articles in the moving warehouse corresponding to the virtual object at present, updating the fixed value of the allocation information of the moving warehouse into the difference between the quantity of the articles in the moving warehouse and the quantity of the articles in the moving warehouse corresponding to the virtual object at present, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the moving warehouse corresponding to the virtual object and the inventory of the moving warehouse corresponding to the virtual object;
if not, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, updating the fixed value of the allocation information of the moving warehouse to 0, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, and further calculating the stock of the moving warehouse corresponding to the virtual article and the stock of the corresponding moving warehouse; when the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object, updating the fixed value of the allocation information of the moving warehouse to be the difference between the number of the articles in the moving warehouse and the number of the articles in the moving warehouse corresponding to the virtual object, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, and further calculating the corresponding inventory of the moving warehouse and the corresponding inventory of the moving warehouse corresponding to the virtual object.
In addition, the invention also provides a device for realizing dynamic inventory processing, which comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a bin moving task, acquiring information of a moving-out warehouse and information of a moving-in warehouse so as to generate a mapping relation between information of articles moved out of the moving-out warehouse and information of articles moved in the moving-in warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object;
the processing module is used for calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
Optionally, the processing module is further configured to:
judging whether the bin-carrying article information of the virtual object is provided with an article inventory allocation mode, if so, calculating the inventory of the virtual object corresponding to the bin-carrying warehouse and the inventory corresponding to the bin-carrying warehouse according to the article inventory allocation mode based on the quantity of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the bin articles in the bin carrying task, calculating the inventory of the virtual object corresponding to the bin carrying-out warehouse and the inventory of the corresponding bin carrying-in warehouse according to a virtual object inventory allocation mode;
The article inventory distribution mode refers to distributing corresponding articles in each warehouse based on article dimensions; the virtual object inventory allocation mode refers to allocation of the objects corresponding to the virtual objects in each warehouse based on the dimensions of the virtual objects.
Optionally, the processing module calculates, based on the number of the articles in the warehouse, the inventory of the virtual object corresponding to the warehouse in and the inventory of the warehouse in according to the article inventory allocation mode, including:
judging whether warehouse information is set in the article inventory allocation mode in the bin carrying article information of the virtual object;
if not, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; acquiring distribution information of the articles in the moving warehouse in an article inventory distribution mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse;
if so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in after the warehouse is moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, and calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse.
One embodiment of the above invention has the following advantages or benefits: because the receiving warehouse moving task is adopted, the information of the moving warehouse and the information of the moving warehouse are obtained so as to generate the mapping relation between the information of the articles moved out of the moving warehouse and the information of the articles moved in the moving warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object; calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; the virtual object interface is synchronously called, and the corresponding stock moved out of the warehouse and the corresponding stock moved in the warehouse are sent to update the stock information of the warehoused objects in the virtual object, so that the technical problem that the existing virtual object library cannot be synchronized in the warehouse moving scene is solved, and the technical effect that the stock of the virtual object can be updated along with the change of the stock of the warehouse in the warehouse moving scene in real time is achieved.
Further effects of the above-described non-conventional alternatives are 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 the main flow of implementing a dynamic inventory processing method according to a first embodiment of the invention;
FIG. 2 is a schematic diagram of the main flow of implementing a dynamic inventory processing method according to a second embodiment of the invention;
FIG. 3 is a schematic diagram of the main flow of implementing a dynamic inventory processing method according to a third embodiment of the invention;
FIG. 4 is a schematic diagram of the major modules implementing a dynamic inventory processing apparatus according to an embodiment of the invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 6 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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.
Fig. 1 is a schematic diagram of main flow of implementing a dynamic inventory processing method according to a first embodiment of the present invention, and as shown in fig. 1, the implementing dynamic inventory processing method includes:
step S101, receiving a bin moving task, and acquiring information of a moving-out warehouse and information of a moving-in warehouse to generate a mapping relation between information of articles moved out of the moving-out warehouse and information of articles moved in the moving-in warehouse; and synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-carrying articles in the virtual object.
Step S102, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
In some embodiments, step S102 may determine whether the bin-carrying article information of the virtual object sets an article inventory allocation method in the process of calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse according to the preset inventory allocation method based on the number of the bin-carrying articles in the bin-carrying task, if so, calculate the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse according to the article inventory allocation method based on the number of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the articles carried in the carrying task, calculating the inventory of the virtual object corresponding to the carrying-out warehouse and the inventory corresponding to the carrying-in warehouse according to the virtual object inventory distribution mode.
The article inventory distribution mode refers to distributing corresponding articles in all warehouses based on article dimensions. For example: each warehouse provides 20% inventory for item Z, respectively. The virtual object inventory allocation mode refers to allocation of the objects corresponding to the virtual objects in each warehouse based on the dimensions of the virtual objects. For example: each warehouse was offered to store a in 20% inventory, whether for any item in store a.
The item inventory allocation method is prioritized over the virtual object inventory allocation method.
As a further embodiment, in calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to the inventory allocation method of the articles based on the number of articles in the carry-in warehouse, it may be determined whether the inventory allocation method of the articles in the carry-in warehouse of the virtual object is set with warehouse information. That is, in this embodiment, the difference in supply between the warehouses can be further distinguished on the basis of the item stock distribution manner, and further, supply can be performed more rationally and more accurately.
And according to the judging result, if not, according to the quantity of the articles in the moving warehouse task, calculating the inventory of the moving warehouse and the inventory of the moving warehouse after moving the warehouse. Then, the distribution information of the articles in the carrying bin in the article inventory distribution mode is acquired, and the inventory of the virtual object corresponding to the carrying-out warehouse and the inventory corresponding to the carrying-in warehouse are calculated.
If so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task. Then, the allocation information of the article corresponding to the carry-out warehouse and the allocation information of the corresponding carry-in warehouse in the article inventory allocation mode are obtained, and the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse are calculated.
As a preferred embodiment, in the process of acquiring the allocation information of the carry-in warehouse and the allocation information of the carry-out warehouse corresponding to the carry-in warehouse in the article inventory allocation mode, the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse are calculated: if the distribution information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory distribution mode is a proportion value, judging whether the article inventory distribution mode comprises the distribution information of the carrying-in warehouse. The ratio value refers to that the warehouse supplies goods to the virtual object according to the product of the ratio value corresponding to the object and the inventory.
If so, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse based on the proportion value of the carry-out warehouse allocation information and the proportion value or the fixed value of the carry-in warehouse allocation information. The fixed value refers to that the warehouse supplies goods to the virtual object according to the fixed value corresponding to the article at one time. That is, in this case, the stock corresponding to the carry-out warehouse and the stock corresponding to the carry-in warehouse of the virtual object after the carry-in warehouse are calculated directly from the ratio value of the carry-out warehouse allocation information and the ratio value or the fixed value of the carry-in warehouse allocation information that have been set.
If not, the proportion value of the allocation information of the moving-out warehouse is assigned to the allocation information of the moving-in warehouse, so that the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated. That is, if the allocation information of the carry-in warehouse is not set, the ratio value of the allocation information of the carry-out warehouse may be assigned to the allocation information of the carry-in warehouse, that is, the allocation information of the carry-in warehouse is identical to the allocation information of the carry-out warehouse, and then the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse after the carry-in warehouse are calculated.
As still another preferred embodiment, in the process of acquiring the allocation information of the shipment warehouse corresponding to the shipment warehouse and the allocation information of the shipment warehouse in the article inventory allocation mode, the inventory of the shipment warehouse corresponding to the virtual object and the inventory of the shipment warehouse are calculated: if the allocation information of the article corresponding to the moving warehouse in the article inventory allocation mode is a fixed value, judging whether the allocation information of the moving warehouse is included in the article inventory allocation mode. The fixed value refers to that the warehouse supplies goods to the virtual object according to the fixed value corresponding to the article at one time.
If so, updating the fixed value of the allocation information of the moving warehouse to 0 when the number of the articles in the moving warehouse is larger than or equal to that of the articles in the moving warehouse, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the corresponding inventory of the virtual articles in the moving warehouse and the corresponding inventory of the moving warehouse after moving the warehouse.
When the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object at present, the fixed value of the allocation information of the moving warehouse is updated to be the difference between the number of the articles in the moving warehouse corresponding to the virtual object at present and the number of the articles in the moving warehouse, the proportion value or the fixed value of the allocation information of the moving warehouse is obtained, and the inventory of the moving warehouse corresponding to the virtual object after the moving warehouse and the inventory of the corresponding moving warehouse are calculated.
If not, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, the fixed value of the allocation information of the moving warehouse is updated to 0, and meanwhile, the allocation information of the moving warehouse is set to be the fixed value and equal to the article stock in the moving warehouse, which corresponds to the virtual article in the moving warehouse at present, and then the stock of the virtual article corresponding to the moving warehouse and the stock of the corresponding moving warehouse after the moving warehouse are calculated.
When the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object, updating the fixed value of the allocation information of the moving warehouse to be the difference between the number of the articles in the moving warehouse and the number of the articles in the moving warehouse corresponding to the virtual object, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, and further calculating the corresponding articles in the moving warehouse and the corresponding articles in the moving warehouse corresponding to the virtual object after moving the warehouse.
In some specific embodiments, assume the calculated parameters for bin a: store inventory D A The method comprises the steps of carrying out a first treatment on the surface of the Available inventory N A The method comprises the steps of carrying out a first treatment on the surface of the Store (store is a virtual object described below) dimension setting A warehouse proportion as R A The method comprises the steps of carrying out a first treatment on the surface of the The dimension of the commodity (commodity is sold as a shop) is set to be a warehouse with a fixed value of P A
Calculation parameters of the bin B: store inventory D B The method comprises the steps of carrying out a first treatment on the surface of the Available inventory N B The method comprises the steps of carrying out a first treatment on the surface of the Store dimension setting B warehouse proportion as R B The method comprises the steps of carrying out a first treatment on the surface of the Commodity dimension setting B warehouse fixed value as P B
Assume that warehouse a carries warehouse B real object quantity: x is X
Store dimension ratio is set in store, and after carrying the store:
for example, as shown in the following table, 100 a physical stores are stored, 15B physical stores are carried from a warehouse a to B warehouse B, and no store inventory allocation mode is set in the B warehouse B.
In still other embodiments, if a store sets a fixed value for the dimension of the item, bin A has sold Q when the store is moved A B bin sold Q B . After carrying the bin:
in some preferred embodiments, multiple stores set fixed values in the dimension of the article, after the warehouse is moved:
for example, as shown in the following table, when the bin is moved, 100A real objects are stored, and 15 bin is moved from the bin A to the bin B; the number of stock 10 in the stock B is set with a fixed value for store e and a fixed value for store f for the stock B.
In summary, the method for implementing dynamic inventory processing provided by the invention combines the inventory allocation and the warehouse-moving scene of the virtual object (such as a virtual store, etc.), seamlessly joins the marketable warehouse of the sales channel of the merchant, and accurately processes the virtual object inventory according to the warehouse-moving scene, i.e. achieves the integration of inventory sharing and online and offline. In addition, during and after the warehouse moving, the invention ensures that the inventory calculation of the virtual objects (such as virtual shops and the like) is accurate, and overstock and few buys are avoided. And the seamless connection of the original virtual object inventory allocation rules after the bin moving plan is initiated and after the bin moving period is completed is solved.
Fig. 2 is a schematic diagram of the main flow of implementing a dynamic inventory processing method according to a second embodiment of the present invention, which may include, based on an order management system:
Step S201, receiving the warehouse moving task, and acquiring the information of the moving-out warehouse and the information of the moving-in warehouse so as to generate the mapping relation between the information of the articles moved out of the moving-out warehouse and the information of the articles moved in the moving-in warehouse.
In an embodiment, a warehouse management system may receive a warehouse removal task.
Step S202, synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-carrying articles in the virtual object.
Step S203, it is determined whether the bin item information of the virtual object is provided with an item inventory allocation method, if yes, step S204 is performed, and if not, step S205 is performed.
Step S204, based on the quantity of the articles in the warehouse, the inventory of the virtual object corresponding to the warehouse and the inventory of the warehouse corresponding to the warehouse are calculated according to the article inventory distribution mode, and step S206 is performed.
The article inventory distribution mode refers to distributing corresponding articles in all warehouses based on article dimensions.
Step S205, based on the quantity of the articles carried in the warehouse carrying task, the inventory of the virtual objects corresponding to the carried-out warehouse and the inventory of the corresponding carried-in warehouse are calculated according to the virtual object inventory allocation mode, and step S206 is performed.
The virtual object inventory allocation mode refers to allocation of the objects corresponding to the virtual object in each warehouse based on the dimension of the virtual object.
Step S206, synchronously calling the virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
Fig. 3 is a schematic diagram of the main flow of implementing a dynamic inventory processing method according to a third embodiment of the present invention, which may include, based on an order management system:
step S301, receiving a warehouse moving task, and acquiring information of a warehouse moving out and information of a warehouse moving in to generate a mapping relation between the information of the articles moved out of the warehouse and the information of the articles moved in the warehouse.
In an embodiment, a warehouse management system may receive a warehouse removal task.
Step S302, synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-carrying articles in the virtual object.
Step S303, determining whether the bin item information of the virtual object has an item inventory allocation method, if so, proceeding to step S304, otherwise proceeding to step S307.
Step S304, judging whether the warehouse information is set in the article inventory allocation mode in the article information of the virtual object, if so, proceeding to step S305, otherwise proceeding to step S306.
Step S305, calculating the inventory of the warehouse moved out and the inventory of the warehouse moved in after the warehouse is moved in according to the quantity of the warehouse-moved articles in the warehouse-moved task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse, and performing step S308.
In some preferred embodiments, if the allocation information of the bin item corresponding to the carry-out warehouse in the item inventory allocation mode is a proportion value, determining whether the allocation information of the carry-in warehouse is included in the item inventory allocation mode.
If so, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse based on the proportion value of the carry-out warehouse allocation information and the proportion value or the fixed value of the carry-in warehouse allocation information.
If not, the proportion value of the allocation information of the moving-out warehouse is assigned to the allocation information of the moving-in warehouse, so that the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated.
As another preferred embodiment, if the allocation information of the article in the carrying bin corresponding to the carrying out warehouse in the article inventory allocation mode is a fixed value, whether the allocation information of the carrying in warehouse is included in the article inventory allocation mode is judged.
If so, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, the fixed value of the allocation information of the moving warehouse is updated to 0, the proportion value or the fixed value of the allocation information of the moving warehouse is obtained, and the inventory of the corresponding moving warehouse of the virtual object and the inventory of the corresponding moving warehouse are calculated. When the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object at present, the fixed value of the allocation information of the moving warehouse is updated to be the difference between the number of the articles in the moving warehouse corresponding to the virtual object at present and the number of the articles in the moving warehouse, the proportion value or the fixed value of the allocation information of the moving warehouse is obtained, and the inventory of the corresponding moving warehouse of the virtual object and the inventory of the corresponding moving warehouse are calculated.
If not, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, the fixed value of the allocation information of the moving warehouse is updated to 0, and meanwhile, the allocation information of the moving warehouse is set to be the fixed value and equal to the article stock in the moving warehouse, which corresponds to the virtual article at present, so as to calculate the stock of the moving warehouse corresponding to the virtual article and the stock of the corresponding moving warehouse. When the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object, updating the fixed value of the allocation information of the moving warehouse to be the difference between the number of the articles in the moving warehouse and the number of the articles in the moving warehouse corresponding to the virtual object, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, and further calculating the corresponding inventory of the moving warehouse and the corresponding inventory of the moving warehouse corresponding to the virtual object.
Step S306, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; the distribution information of the warehouse-removed articles in the article inventory distribution mode is acquired, and the inventory of the virtual object corresponding to the warehouse-removed and the inventory corresponding to the warehouse-moved in are calculated, so that step S308 is performed.
Step S307, based on the number of articles to be moved in the moving task, the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated according to the virtual object inventory allocation method, and step S308 is performed.
Step S308, synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
Fig. 4 is a schematic diagram of main modules of an implementation dynamic inventory processing apparatus according to an embodiment of the invention, and as shown in fig. 4, the implementation dynamic inventory processing apparatus 400 includes a receiving module 401 and a processing module 402. Wherein, the receiving module 401 receives the bin moving task, and obtains the information of the moving-out warehouse and the information of the moving-in warehouse, so as to generate the mapping relation between the information of the articles moved out of the moving-out warehouse and the information of the articles moved in the moving-in warehouse; and synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-carrying articles in the virtual object. The processing module 402 calculates the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
In some embodiments, the processing module 402 may further determine whether the bin-carrying article information of the virtual object sets an article inventory allocation mode, if so, calculate, according to the article inventory allocation mode, an inventory of the virtual object corresponding to the out-of-warehouse and an inventory of the corresponding in-warehouse based on the number of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the articles carried in the carrying task, calculating the inventory of the virtual object corresponding to the carrying-out warehouse and the inventory corresponding to the carrying-in warehouse according to the virtual object inventory distribution mode.
The article inventory distribution mode refers to distributing corresponding articles in each warehouse based on article dimensions; the virtual object inventory allocation mode refers to allocation of the objects corresponding to the virtual objects in each warehouse based on the dimensions of the virtual objects.
In a further embodiment, the processing module 402 calculates, based on the number of articles to be moved in the task of moving in the bin, an inventory of the virtual object corresponding to the moved-in warehouse and an inventory of the virtual object corresponding to the moved-out warehouse according to an article inventory allocation method, including:
judging whether warehouse information is set in the article inventory allocation mode in the bin carrying article information of the virtual object;
If not, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; acquiring distribution information of the articles in the moving warehouse in an article inventory distribution mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse;
if so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in after the warehouse is moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, and calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse.
As another preferred embodiment, the processing module obtains allocation information of the shipment warehouse corresponding to the shipment warehouse and allocation information of the shipment warehouse corresponding to the shipment warehouse in the article inventory allocation mode, calculates an inventory of the shipment warehouse corresponding to the virtual object and an inventory of the shipment warehouse corresponding to the shipment warehouse, and includes:
if the distribution information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory distribution mode is a proportion value, judging whether the article inventory distribution mode comprises the distribution information of the carrying-in warehouse or not;
If yes, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse based on the proportion value of the carry-out warehouse allocation information and the proportion value or the fixed value of the carry-in warehouse allocation information;
if not, the proportion value of the allocation information of the moving-out warehouse is assigned to the allocation information of the moving-in warehouse, so that the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated.
As still another preferred embodiment, the processing module 402 obtains allocation information of the shipment warehouse corresponding to the shipment warehouse and allocation information of the shipment warehouse corresponding to the shipment warehouse in the article inventory allocation mode, calculates an inventory of the shipment warehouse corresponding to the virtual object and an inventory of the shipment warehouse corresponding to the shipment warehouse, and includes:
if the allocation information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory allocation mode is a fixed value, judging whether the allocation information of the carrying-in warehouse is included in the article inventory allocation mode;
if so, when the number of the articles in the moving warehouse is greater than or equal to that of the articles in the moving warehouse corresponding to the virtual object currently, updating the fixed value of the allocation information of the moving warehouse to 0, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the corresponding moving warehouse of the virtual object and the inventory of the corresponding moving warehouse; when the quantity of the articles in the moving warehouse is smaller than the quantity of the articles in the moving warehouse corresponding to the virtual object at present, updating the fixed value of the allocation information of the moving warehouse into the difference between the quantity of the articles in the moving warehouse and the quantity of the articles in the moving warehouse corresponding to the virtual object at present, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the moving warehouse corresponding to the virtual object and the inventory of the moving warehouse corresponding to the virtual object;
If not, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, updating the fixed value of the allocation information of the moving warehouse to 0, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, and further calculating the stock of the moving warehouse corresponding to the virtual article and the stock of the corresponding moving warehouse; when the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object, updating the fixed value of the allocation information of the moving warehouse to be the difference between the number of the articles in the moving warehouse and the number of the articles in the moving warehouse corresponding to the virtual object, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, and further calculating the corresponding inventory of the moving warehouse and the corresponding inventory of the moving warehouse corresponding to the virtual object.
It should be noted that, in the implementation dynamic inventory processing method and the implementation dynamic inventory processing device of the present invention, there is a corresponding relationship between implementation contents, so repeated contents will not be described.
Fig. 5 illustrates an exemplary system architecture 500 implementing a dynamic inventory processing method or implementing a dynamic inventory processing apparatus to which embodiments of the invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 is used as a medium to provide communication links between the terminal devices 501, 502, 503 and the server 505. The network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 505 via the network 504 using the terminal devices 501, 502, 503 to receive or send messages or the like. Various communication client applications may be installed on the terminal devices 501, 502, 503, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be a variety of electronic devices with a dynamic inventory processing screen and support web browsing including, but not limited to, smartphones, tablet computers, laptop and desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type websites browsed by users using the terminal devices 501, 502, 503. The background management server may analyze and process the received data such as the product information query request, and feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, the implementation of the dynamic inventory processing method provided by the embodiment of the present invention is generally performed by the server 505, and accordingly, the computing device is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, there is illustrated a schematic diagram of a computer system 600 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 6 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the computer system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal display dynamic inventory processor (LCD), and the like, and a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 601.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 flowcharts 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a receiving module and a processing module. The names of these modules do not constitute a limitation on the module itself in some cases.
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 present alone without being fitted into the device. The computer readable medium carries one or more programs, which when executed by one of the apparatuses, cause the apparatus to include receiving a warehouse-moving task, acquiring warehouse-moving information and warehouse-moving information, and generating a mapping relationship between article information moved out of the warehouse and article information moved in the warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object; calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
According to the technical scheme provided by the embodiment of the invention, the problem that the existing virtual object library cannot be synchronized in a bin moving scene can be solved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method for implementing dynamic inventory processing, comprising:
receiving a bin moving task, and acquiring information of a moving-out warehouse and information of a moving-in warehouse to generate a mapping relation between information of articles moved out of the moving-out warehouse and information of articles moved in the moving-in warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object;
based on the quantity of the articles carried in the warehouse carrying task, calculating the inventory of the virtual object corresponding to the warehouse carrying out and the inventory of the warehouse carrying in according to a preset inventory distribution mode, comprising the following steps: judging whether the bin-carrying article information of the virtual object is provided with an article inventory allocation mode, if so, calculating the inventory of the virtual object corresponding to the bin-carrying warehouse and the inventory corresponding to the bin-carrying warehouse according to the article inventory allocation mode based on the quantity of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the bin articles in the bin carrying task, calculating the inventory of the virtual object corresponding to the bin carrying-out warehouse and the inventory of the corresponding bin carrying-in warehouse according to a virtual object inventory allocation mode; the article inventory distribution mode refers to distributing corresponding articles in each warehouse based on article dimensions; the virtual object inventory allocation mode refers to allocation of objects corresponding to the virtual object in each warehouse based on the dimension of the virtual object;
And synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
2. The method of claim 1, wherein calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse according to the inventory allocation method of the articles based on the number of articles carried in the carry-in task, comprises:
judging whether warehouse information is set in the article inventory allocation mode in the bin carrying article information of the virtual object;
if not, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; acquiring distribution information of the articles in the moving warehouse in an article inventory distribution mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse;
if so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in after the warehouse is moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, and calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse.
3. The method of claim 2, wherein obtaining the allocation information of the shipment item to the shipment warehouse and the allocation information of the shipment warehouse in the item inventory allocation mode, and calculating the inventory of the virtual object to the shipment warehouse and the inventory to the shipment warehouse, comprises:
if the distribution information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory distribution mode is a proportion value, judging whether the article inventory distribution mode comprises the distribution information of the carrying-in warehouse or not;
if yes, calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory of the corresponding carry-in warehouse based on the proportion value of the carry-out warehouse allocation information and the proportion value or the fixed value of the carry-in warehouse allocation information;
if not, the proportion value of the allocation information of the moving-out warehouse is assigned to the allocation information of the moving-in warehouse, so that the inventory of the virtual object corresponding to the moving-out warehouse and the inventory of the corresponding moving-in warehouse are calculated.
4. The method of claim 2, wherein obtaining the allocation information of the shipment item to the shipment warehouse and the allocation information of the shipment warehouse in the item inventory allocation mode, and calculating the inventory of the virtual object to the shipment warehouse and the inventory to the shipment warehouse, comprises:
If the allocation information of the article in the carrying bin corresponding to the carrying-out warehouse in the article inventory allocation mode is a fixed value, judging whether the allocation information of the carrying-in warehouse is included in the article inventory allocation mode;
if so, when the number of the articles in the moving warehouse is greater than or equal to that of the articles in the moving warehouse corresponding to the virtual object currently, updating the fixed value of the allocation information of the moving warehouse to 0, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the corresponding moving warehouse of the virtual object and the inventory of the corresponding moving warehouse; when the quantity of the articles in the moving warehouse is smaller than the quantity of the articles in the moving warehouse corresponding to the virtual object at present, updating the fixed value of the allocation information of the moving warehouse into the difference between the quantity of the articles in the moving warehouse and the quantity of the articles in the moving warehouse corresponding to the virtual object at present, acquiring the proportion value or the fixed value of the allocation information of the moving warehouse, and calculating the inventory of the moving warehouse corresponding to the virtual object and the inventory of the moving warehouse corresponding to the virtual object;
if not, when the number of the articles in the moving warehouse is greater than or equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, updating the fixed value of the allocation information of the moving warehouse to 0, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, which corresponds to the article stock in the moving warehouse at present, and further calculating the stock of the moving warehouse corresponding to the virtual article and the stock of the corresponding moving warehouse; when the number of the articles in the moving warehouse is smaller than the number of the articles in the moving warehouse corresponding to the virtual object, updating the fixed value of the allocation information of the moving warehouse to be the difference between the number of the articles in the moving warehouse and the number of the articles in the moving warehouse corresponding to the virtual object, setting the allocation information of the moving warehouse to be the fixed value and equal to the number of the articles in the moving warehouse, and further calculating the corresponding inventory of the moving warehouse and the corresponding inventory of the moving warehouse corresponding to the virtual object.
5. A device for implementing dynamic inventory processing, comprising:
the receiving module is used for receiving the warehouse moving task, acquiring the information of the moving-out warehouse and the information of the moving-in warehouse, and generating the mapping relation between the information of the articles moved out of the moving-out warehouse and the information of the articles moved in the moving-in warehouse; synchronously calling a virtual object interface, and sending the mapping relation to update the storehouse attribute of the warehouse-moving article in the virtual object;
the processing module is used for calculating the inventory of the virtual object corresponding to the carry-out warehouse and the inventory corresponding to the carry-in warehouse according to a preset inventory allocation mode based on the quantity of the carry-in articles in the carry-in task, and comprises the following steps: judging whether the bin-carrying article information of the virtual object is provided with an article inventory allocation mode, if so, calculating the inventory of the virtual object corresponding to the bin-carrying warehouse and the inventory corresponding to the bin-carrying warehouse according to the article inventory allocation mode based on the quantity of the bin-carrying articles in the bin-carrying task; if not, based on the quantity of the bin articles in the bin carrying task, calculating the inventory of the virtual object corresponding to the bin carrying-out warehouse and the inventory of the corresponding bin carrying-in warehouse according to a virtual object inventory allocation mode; the article inventory distribution mode refers to distributing corresponding articles in each warehouse based on article dimensions; the virtual object inventory allocation mode refers to allocation of objects corresponding to the virtual object in each warehouse based on the dimension of the virtual object; and synchronously calling a virtual object interface, and sending the inventory corresponding to the moving-out warehouse and the inventory corresponding to the moving-in warehouse to update the inventory information of the moving-in articles in the virtual object.
6. The apparatus of claim 5, wherein the processing module calculates an inventory of the virtual object corresponding to the carry-out warehouse and an inventory of the corresponding carry-in warehouse based on the number of the carry-in articles in the carry-in task according to an article inventory allocation method, comprising:
judging whether warehouse information is set in the article inventory allocation mode in the bin carrying article information of the virtual object;
if not, according to the quantity of the articles in the warehouse carrying task, calculating the inventory of the warehouse carried out after the warehouse carrying and the inventory carried in the warehouse; acquiring distribution information of the articles in the moving warehouse in an article inventory distribution mode, and calculating the inventory of the virtual object corresponding to the moving warehouse and the inventory corresponding to the moving warehouse;
if so, calculating the inventory of the warehouse to be moved out and the inventory of the warehouse to be moved in after the warehouse is moved in according to the quantity of the warehouse-moving articles in the warehouse-moving task; and acquiring the distribution information of the articles corresponding to the moving warehouse and the distribution information of the corresponding moving warehouse in the article inventory distribution mode, and calculating the inventory of the virtual objects corresponding to the moving warehouse and the inventory of the corresponding moving warehouse.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
8. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
CN202010079851.5A 2020-02-04 2020-02-04 Method and device for realizing dynamic inventory processing Active CN113220700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010079851.5A CN113220700B (en) 2020-02-04 2020-02-04 Method and device for realizing dynamic inventory processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010079851.5A CN113220700B (en) 2020-02-04 2020-02-04 Method and device for realizing dynamic inventory processing

Publications (2)

Publication Number Publication Date
CN113220700A CN113220700A (en) 2021-08-06
CN113220700B true CN113220700B (en) 2023-11-03

Family

ID=77085653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010079851.5A Active CN113220700B (en) 2020-02-04 2020-02-04 Method and device for realizing dynamic inventory processing

Country Status (1)

Country Link
CN (1) CN113220700B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
CN106203894A (en) * 2015-04-30 2016-12-07 阿里巴巴集团控股有限公司 The processing method of the inventory information of merchandise items and system
JP2019102016A (en) * 2017-12-08 2019-06-24 三菱電機株式会社 Warehouse management server, electronic transaction server, commodity purchase supporting system, and program
CN109948960A (en) * 2017-12-20 2019-06-28 北京京东尚科信息技术有限公司 Remove storehouse outbound, storage method and device and electronic equipment and storage medium
CN110599277A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Inventory deduction method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096015A (en) * 2014-04-23 2015-11-25 阿里巴巴集团控股有限公司 Information processing method and system of commodity object
CN106203894A (en) * 2015-04-30 2016-12-07 阿里巴巴集团控股有限公司 The processing method of the inventory information of merchandise items and system
JP2019102016A (en) * 2017-12-08 2019-06-24 三菱電機株式会社 Warehouse management server, electronic transaction server, commodity purchase supporting system, and program
CN109948960A (en) * 2017-12-20 2019-06-28 北京京东尚科信息技术有限公司 Remove storehouse outbound, storage method and device and electronic equipment and storage medium
CN110599277A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Inventory deduction method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于虚拟仓储的备件库存优化体系;古西睿;宋建社;郭军;王正元;;火力与指挥控制(05);全文 *
备件区域虚拟仓储***在电力企业的应用模式;***;;电力信息化(03);全文 *

Also Published As

Publication number Publication date
CN113220700A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
CN110363456B (en) Method and device for putting articles on shelves
CN107451785B (en) Method and apparatus for outputting information
CN110738436B (en) Method and device for determining available inventory
CN113762858B (en) Inventory management method and device
CN110473036B (en) Method and device for generating order number
CN112884405A (en) Inquiry system and scheduling method thereof
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN111798167B (en) Warehouse replenishment method and device
CN113610448A (en) Article scheduling method and device, electronic equipment and computer readable medium
CN109255563B (en) Method and device for determining storage area of article
CN113762863B (en) Inventory management method and device
CN110555641B (en) Warehouse allocation method and device
CN114066363A (en) Order information processing method and device, electronic equipment and computer readable medium
WO2019015254A1 (en) Information processing method and device
CN113220700B (en) Method and device for realizing dynamic inventory processing
CN113112048A (en) Method and device for returning articles to warehouse
CN112446652A (en) Method and device for processing task set
CN112926907B (en) Warehouse inventory layout method and device
CN110826948A (en) Warehouse product selection method and device
CN115525665A (en) Information processing method and device, electronic equipment and computer readable medium
CN116861397A (en) Request processing method, device, electronic equipment and computer readable medium
CN113222680A (en) Method and device for generating order
CN112308477A (en) Inventory positioning method and device
CN113762825A (en) Method and device for determining ex-warehouse list
CN113112285A (en) Data analysis 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