A method and device for tracking inventory

By collecting and analyzing the business data of the warehouse system, the current business node of the target order number is determined, and the inventory comparison and peace of inventory are automatically performed. This solves the problems of resource waste, poor timeliness and high professionalism in the existing technology, and realizes inventory comparison. Efficient timeliness and automation.

CN113516425BActive Publication Date: 2024-09-20BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010279655.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-10
Publication Date
2024-09-20
Estimated Expiration
2040-04-10

AI Technical Summary

Technical Problem

The existing technology has problems such as resource waste, poor timeliness, lack of versatility, and high professional requirements during the inventory comparison process, making it difficult to detect and solve inventory unevenness problems in a timely manner.

Method used

By collecting the business data of each warehouse system, obtain the node data of the target warehouse system, determine the current business node of the target order number, and perform inventory leveling operations when the nodes are inconsistent, use the life cycle of the order number to find differential data, and filter out normal data , to achieve automatic inventory comparison and peace of inventory.

Benefits of technology

Save system resources, improve execution efficiency, promptly discover the reasons for uneven inventory, reduce personnel comparison workload, and reduce professional requirements for technical personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113516425B
    Figure CN113516425B
Patent Text Reader

Abstract

The present invention discloses a method and device for tracking inventory, and relates to the field of computer technology. A specific implementation of the method includes: collecting business data of each warehouse system; obtaining node data of at least two target warehouse systems from the business data, and determining the current business nodes corresponding to the target order number in each target warehouse system; when the current business nodes of each target warehouse system are inconsistent, performing an inventory leveling operation on the target order number. This implementation can save system resources, improve execution efficiency, promptly discover the reasons for inventory imbalance, reduce the workload of personnel comparison, avoid manual data comparison, and has low professional requirements for technical personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for tracking inventory. Background Art

[0002] In the warehousing field, the synchronization of inventory between upstream and downstream systems needs to be achieved through intermediate nodes. If there are many intermediate systems or middleware, any system or middleware will have network or system anomalies, which will lead to uneven inventory and easily lead to overselling. The upstream and downstream systems need to check inventory, troubleshoot problems, and balance inventory in a timely manner. Checking inventory is a very arduous and tedious task, which is time-consuming and labor-intensive.

[0003] At present, inventory verification mainly uses big data technology to extract inventory data from upstream and downstream systems, and regularly compare the inventory data of the two systems based on the dimension of stock keeping units (SKUs). When inventory imbalances are found, technical personnel are promptly notified to check the inventory in order to find out the reasons for the inventory imbalance.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0005] 1. Each comparison is a full comparison of the inventory of all SKUs in the upstream and downstream systems, which wastes system resources and affects the execution efficiency of the system;

[0006] 2. Over-reliance on historical inventory flow data, which is not universal;

[0007] 3. Poor timeliness;

[0008] 4. High professional requirements for technical personnel. Summary of the invention

[0009] In view of this, an embodiment of the present invention provides a method and device for tracking inventory, which discovers difference data through the life cycle of each order number and directly filters out normal data, thereby saving system resources, improving execution efficiency, promptly discovering the reasons for inventory imbalance, reducing the workload of personnel comparison, avoiding manual comparison of data, and having low professional requirements for technical personnel.

[0010] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for tracking inventory is provided.

[0011] A method for tracking inventory according to an embodiment of the present invention includes:

[0012] Collect business data from each warehouse system;

[0013] Obtaining node data of at least two target warehouse systems from the business data, and determining the current business node corresponding to the target order number in each of the target warehouse systems;

[0014] When the current business nodes of the target warehouse systems are inconsistent, the target order number is leveled.

[0015] Optionally, collect business data from each warehouse system, including:

[0016] Enter the warehouse system number, associated warehouse information, warehouse status and warning information of each of the warehouse systems;

[0017] Determine the service completion time and life cycle of each service type; wherein the life cycle includes service nodes executed in service order.

[0018] Optionally, collect business data from each warehouse system, including:

[0019] The node data generated by each warehouse system when executing the business node is collected by extracting logs or data embedding.

[0020] Optionally, the node data includes the warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time; and

[0021] Acquiring node data of at least two target warehouse systems from the business data, and determining the current business node corresponding to the target order number in each of the target warehouse systems, including:

[0022] Parse the node data of each target warehouse system;

[0023] Obtaining a business completion time of a business type corresponding to the business order number, and calculating a business execution time based on the creation time and the last update time;

[0024] Select the business order number whose business execution time is greater than the business completion time to obtain the target order number;

[0025] Determine the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status;

[0026] The life cycle of the target order number in each of the target warehouse systems is graphically displayed based on the life cycle number and the current business node of each of the target warehouse systems.

[0027] Optionally, performing a stock leveling operation on the target order number includes:

[0028] Based on the associated warehouse information, any two associated target warehouse systems are divided into an upstream warehouse system and a downstream warehouse system;

[0029] Compare the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system;

[0030] If the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, the target product is locked in the upstream warehouse system according to the product inventory difference, and an early warning is issued based on the early warning information, and an inventory leveling operation is performed on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory;

[0031] If the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, an early warning is issued based on the early warning information, and the target product is leveled in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory.

[0032] To achieve the above objective, according to another aspect of an embodiment of the present invention, a device for tracking inventory is provided.

[0033] An inventory tracking device according to an embodiment of the present invention includes:

[0034] The collection module is used to collect business data from various warehouse systems;

[0035] A determination module, used to obtain node data of at least two target warehouse systems from the business data, and determine the current business node corresponding to the target order number in each of the target warehouse systems;

[0036] The inventory leveling module is used to perform an inventory leveling operation on the target order number when the current business nodes of each target warehouse system are inconsistent.

[0037] Optionally, an information module is further included, for:

[0038] Enter the warehouse system number, associated warehouse information, warehouse status and warning information of each of the warehouse systems;

[0039] Determine the service completion time and life cycle of each service type; wherein the life cycle includes service nodes executed in service order.

[0040] Optionally, the acquisition module is further used for:

[0041] The node data generated by each warehouse system when executing the business node is collected by extracting logs or data embedding.

[0042] Optionally, the node data includes the warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time; and

[0043] The determining module is also used for:

[0044] Parse the node data of each target warehouse system;

[0045] Obtaining a business completion time of a business type corresponding to the business order number, and calculating a business execution time based on the creation time and the last update time;

[0046] Select the business order number whose business execution time is greater than the business completion time to obtain the target order number;

[0047] Determine the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status;

[0048] The life cycle of the target order number in each of the target warehouse systems is graphically displayed based on the life cycle number and the current business node of each of the target warehouse systems.

[0049] Optionally, the flat inventory module is further used to:

[0050] Based on the associated warehouse information, any two associated target warehouse systems are divided into an upstream warehouse system and a downstream warehouse system;

[0051] Compare the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system;

[0052] If the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, the target product is locked in the upstream warehouse system according to the product inventory difference, and an early warning is issued based on the early warning information, and an inventory leveling operation is performed on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory;

[0053] If the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, an early warning is issued based on the early warning information, and the target product is leveled in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory.

[0054] To achieve the above objective, according to another aspect of an embodiment of the present invention, an electronic device for tracking inventory is provided.

[0055] An electronic device for tracking inventory according to an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement a method for tracking inventory according to an embodiment of the present invention.

[0056] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided.

[0057] A computer-readable storage medium according to an embodiment of the present invention stores a computer program, and when the program is executed by a processor, a method for tracking inventory according to an embodiment of the present invention is implemented.

[0058] One embodiment of the above invention has the following advantages or beneficial effects: because the business data of each warehouse system is collected; the node data of at least two target warehouse systems are obtained from the business data, and the current business node corresponding to the target order number in each target warehouse system is determined; wherein the business data includes at least one node data; when the current business nodes of each target warehouse system are inconsistent, the technical means of performing inventory leveling operations on the target order number discovers difference data through the life cycle of the order number (the same order number in the business nodes of different warehouse systems), and directly filters out normal data, thereby overcoming the technical problems of the prior art wasting system resources, excessive reliance on historical inventory flow data, lack of versatility, poor timeliness, and high professional requirements for technical personnel, thereby achieving the technical effect of saving system resources, improving execution efficiency, timely discovering the reasons for inventory imbalance, reducing the workload of personnel comparison, avoiding manual comparison of data, and having low professional requirements for technical personnel.

[0059] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0061] Figure 1 is a schematic diagram of main steps of a method for tracking inventory according to an embodiment of the present invention;

[0062] Figure 2 is a schematic diagram of the main process of a method for tracking inventory according to a reference embodiment of the present invention;

[0063] Figure 3 It is a schematic diagram of the life cycle of an order number in various warehouse systems according to a reference embodiment of the present invention;

[0064] Figure 4 is a schematic diagram showing a life cycle in a graphical manner according to a reference embodiment of the present invention;

[0065] Figure 5 is a schematic diagram of main modules of an apparatus for tracking inventory according to an embodiment of the present invention;

[0066] Figure 6 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0067] Figure 7 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0068] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0069] It should be pointed out that the embodiments of the present invention and the technical features therein may be combined with each other without conflict.

[0070] At present, for upstream and downstream systems with a corresponding relationship in inventory historical flow data, big data technology is used to compare the inventory historical flow of the two systems, screen out inconsistent flow data, and have technical personnel check specific documents based on the flow data to check whether there are any abnormalities in the documents and solve specific problems. For upstream and downstream systems whose inventory historical flow data is difficult to compare, inventory verification requires manual verification. This process requires all historical flow data about SKUs in the two systems, including normal documents, to be compared one by one. Once the same SKU has a difference again, the above process needs to be repeated, which consumes a lot of manpower and time, and is prone to omissions and errors. For historical flow data of a high order, it is almost impossible to verify manually.

[0071] Currently, big data technology is used to extract upstream and downstream inventory, and the inventory data of upstream and downstream systems is regularly compared with the SKU dimension, and the inventory historical flow data of upstream and downstream systems is compared to check the inventory. Although it can save a lot of manpower and time, it has limitations and the following shortcomings:

[0072] 1. Regularly compare the historical flow data of upstream and downstream systems, which has poor timeliness;

[0073] 2. Each time a comparison is performed, regardless of whether there is an inventory imbalance for a SKU, the inventory of all SKUs in the upstream and downstream systems is fully compared, which is a waste of system resources and affects the execution efficiency of the system;

[0074] 3. Checking inventory by comparing historical transaction data of upstream and downstream systems is not universal and cannot be used for upstream and downstream systems whose historical transaction data is difficult to compare;

[0075] 4. It is difficult to locate the problem. It requires professionals to check the documents through the transaction flow and troubleshoot the problem.

[0076] To this end, the embodiment of the present invention finds difference data through the life cycle of the order number (the same order number in the business nodes of different warehouse systems), and directly filters out normal data, so as to troubleshoot the problem. Considering that the inventory difference of a general SKU is inevitably accompanied by an order number, such as a purchase order number, an order number, a customer return order number, a supply return order number, an internal distribution order number, an inventory order number, etc., and this order number will inevitably appear in the upstream and downstream systems, the process of this order number in each warehouse system is regarded as a life cycle. As long as the life cycle of this order number in the two warehouse systems is completely completed, it means that this order number may not be the source of the inventory difference of this SKU. Based on this, it can be determined that as long as the life cycle of the same order number in the two warehouse systems is not completed on one side, it means that this order number may be the order number that generates the inventory difference, thereby avoiding manual comparison of data, directly filtering out normal data, and reducing the comparison workload of technical personnel. In addition, the life cycle of the order number can also be displayed graphically to intuitively display the difference data.

[0077] Figure 1 is a schematic diagram of main steps of a method for tracking inventory according to an embodiment of the present invention.

[0078] like Figure 1 As shown, the method for tracking inventory in an embodiment of the present invention mainly includes the following steps:

[0079] Step S101: Collect business data of each warehouse system.

[0080] Due to supply relationships or management relationships, operations in one warehouse system may affect another warehouse system, such as inventory changes. By collecting operational data (i.e., business data) that affect inventory changes in the warehouse system, inventory tracking can be achieved and the reasons for inventory imbalances can be discovered in a timely manner.

[0081] In order to effectively collect business data from the warehouse system, the basic information of the warehouse system can be recorded in advance, such as the warehouse system number, warehouse system name, English abbreviation, contact information of relevant personnel, associated system (used to monitor inventory differences between two warehouse systems), status, whether to lock the difference inventory, etc., as well as the preset business completion time and life cycle corresponding to each business type. The life cycle includes business nodes executed in business order. Taking orders as an example, the life cycle includes locating inventory-picking and taking off the shelves-review, among which "locating inventory", "picking and taking off the shelves" and "review" are each a business node, and each business node is executed in a warehouse system.

[0082] In an embodiment of the present invention, the following steps may be performed before executing step S101: inputting the warehouse system number, associated warehouse information, warehouse status and warning information of each warehouse system; and determining the business completion time and life cycle of each business type.

[0083] Among them, the warehouse status includes the status of the warehouse system, whether the difference inventory is locked, etc., which are used to indicate the operation status of the warehouse system. In the subsequent inventory leveling operation, it can also be indicated that it is correcting the inventory.

[0084] In an embodiment of the present invention, step S101 may be implemented in the following manner: collecting node data generated by each warehouse system when executing a business node by extracting logs or data embedding.

[0085] Extracting logs means extracting specified content from log files. Data embedding is to implant preset codes in specific locations as needed to obtain key behaviors or data. The specific implementation of extracting logs or data embedding can utilize existing technologies or tools, which will not be described in detail in the embodiments of the present invention. In addition, the collection of node data can also be achieved through other means, such as the warehouse system actively sending messages.

[0086] Step S102: Obtain node data of at least two target warehouse systems from the business data, and determine the current business node corresponding to the target order number in each target warehouse system.

[0087] Usually, a business order may exist in multiple warehouse systems, and each system has a corresponding and fixed cycle, which is part of the life cycle. After the cycle ends, the inventory is deducted normally. Therefore, the node data of the target warehouse system can be used to determine which node (i.e., the current business node) the target order number has reached in each target warehouse system, thereby determining whether the target order number is the source of the inventory difference.

[0088] Node data is the data generated when a business node is executed in the warehouse system. Node data may include warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time.

[0089] In an embodiment of the present invention, step S102 can be implemented in the following manner: parsing the node data of each target warehouse system; obtaining the business completion time of the business type corresponding to the business order number, and calculating the business execution time based on the creation time and the last update time; selecting the business order number whose business execution time is greater than the business completion time to obtain the target order number; determining the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status; and graphically displaying the life cycle of the target order number in each target warehouse system according to the life cycle number and the current business node of each target warehouse system.

[0090] The target warehouse system represents the associated warehouse system with inventory differences, and the target order number is the order number of the task order that may cause inventory differences between the target warehouse systems. When there are inventory differences between the associated warehouse systems, the node data of these target warehouse systems are analyzed to ultimately determine the progress of the task order corresponding to the target order number in the target warehouse system, that is, which business node (that is, the current business node) is executed.

[0091] In addition, the progress of the task order in the target warehouse system can also be displayed graphically, so that technicians can check the inventory more intuitively. The graphical display can be realized by using existing technologies or tools, which will not be described in detail in the embodiment of the present invention.

[0092] Step S103: When the current business nodes of the target warehouse systems are inconsistent, the target order number is leveled.

[0093] If the current business nodes of each target warehouse system are inconsistent, it means that the progress of the task order in the target warehouse system is different, that is, there is an inventory difference between the target warehouse systems. At this time, an inventory leveling operation is required.

[0094] When a business node is missing in the life cycle of a task order, inventory differences will occur. The inventory leveling operation is based on the missing business node, calling the corresponding inventory leveling interface to trigger the re-execution of the operation. The inventory leveling interface is an interface provided by the warehouse system for re-executing the operation nodes that affect inventory changes. Each warehouse system has a corresponding inventory leveling interface for each business type and each operation node that affects inventory changes. Different inventory leveling interfaces can be distinguished by calling the business system number, business type or business node.

[0095] In an embodiment of the present invention, the step of performing an inventory leveling operation on a target order number can be implemented in the following manner: dividing any two associated target warehouse systems into an upstream warehouse system and a downstream warehouse system based on associated warehouse information; comparing the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system; if the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, locking the target product in the upstream warehouse system according to the product inventory difference, and issuing an early warning based on the early warning information, and performing an inventory leveling operation on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, warehouse status, business order number, product number and product inventory; if the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, issuing an early warning based on the early warning information, and performing an inventory leveling operation on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, warehouse status, business order number, product number and product inventory.

[0096] The division of upstream warehouse systems and downstream warehouse systems is based on the related warehouse information. When the same warehouse system is compared with different warehouse systems, it may be an upstream warehouse system or a downstream warehouse system.

[0097] If the inventory in the upstream warehouse system is more than that in the downstream warehouse system, it may indicate a shortage order. There may be physical loss, shortage in the downstream warehouse system, deducted inventory, failure in the process of sending back to the upstream warehouse system, failure to receive the inventory in the upstream warehouse system, or failure to deduct inventory in the upstream warehouse system. In this case, it is necessary to lock the inventory in time and issue an early warning, for example, by notifying relevant personnel by email or text message based on the early warning information, and then triggering the inventory leveling operation for processing.

[0098] If the inventory in the downstream warehouse system is greater than that in the upstream warehouse system, it may indicate a purchase order. It is possible that the inventory in the downstream warehouse system has increased, the transmission back to the upstream warehouse system has failed, or the upstream warehouse system has not increased the inventory. In this case, an early warning is issued and the inventory leveling operation is triggered for processing.

[0099] It can be seen from the method of tracking inventory according to the embodiment of the present invention that the business data of each warehouse system is collected; the node data of at least two target warehouse systems are obtained from the business data, and the current business node corresponding to the target order number in each target warehouse system is determined; wherein the business data includes at least one node data; when the current business nodes of each target warehouse system are inconsistent, the technical means of performing inventory leveling operations on the target order number discovers difference data through the life cycle of the order number (the same order number in the business nodes of different warehouse systems), and directly filters out normal data, thereby overcoming the technical problems of the prior art wasting system resources, excessive reliance on historical inventory flow data, lack of versatility, poor timeliness, and high professional requirements for technical personnel, thereby achieving the technical effect of saving system resources, improving execution efficiency, timely discovering the reasons for inventory imbalance, reducing the workload of personnel comparison, avoiding manual comparison of data, and having low professional requirements for technical personnel.

[0100] In order to further explain the technical idea of ​​the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.

[0101] like Figure 2 As shown, when applying the method for tracking inventory according to the embodiment of the present invention, the following process may be referred to:

[0102] First, initialize the document type

[0103] Pre-set order, purchase order, customer return order, supply return order, internal distribution order, inventory check order and other document types and warning days (i.e. business completion time);

[0104] Second, enter the basic information of the access system

[0105] Enter the basic information of the access system (i.e. warehouse system), including warehouse system number, warehouse system name, English abbreviation, contact information of system-related personnel (mobile phone number + email address), associated system (used to automatically monitor the inventory difference between the two warehouse systems), status, whether to lock the difference inventory, etc.;

[0106] Third, enter the document template information

[0107] Template (i.e. life cycle) information can be entered by warehouse system or document type (i.e. business type) dimension. The entered template information includes template number (i.e. life cycle number), warehouse system number, document type, template name, template (for example: {"status":"10","desc":"Initialize"}, {"status":"20","desc":"Locate inventory"}, {"status":"30","desc":"Pick and remove from shelf"}, {"status":"40","desc":"Review"}), status, etc.

[0108] Fourth, collect data

[0109] The node data that affects inventory changes in each access system can be collected by extracting logs or embedding data points;

[0110] Fifth, inventory comparison

[0111] Compare inventory based on the life cycle dimension. If the life cycle of an order number is completely completed, this order number is not the source of inventory differences for this SKU. When comparing, you can quickly compare by SKU, document type, and time dimension. You can also automatically monitor and prevent overselling, carry forward historical data, and promptly notify system-related personnel for processing documents whose life cycle has not been completely completed within the specified warning days. System-related personnel can quickly locate the problem based on the order number, handle the problem and balance the inventory.

[0112] The method for tracking inventory in the embodiment of the present invention is universal. As long as the order number is consistent, the inventory can be compared between upstream and downstream systems even if there is an intermediate system between them, which greatly reduces the workload of technicians in comparing inventory, handling problems, and balancing inventory, improves work efficiency, and reduces the error rate.

[0113] A business order has a fixed business cycle. After the business cycle ends, the relevant warehouse systems will normally deduct the product inventory of the product involved in the business order. Taking orders as an example, the life cycle of an order number in various warehouse systems is as follows: Figure 3 As shown, you can compare inventory by SKU, document type, and time dimension, or you can only display the difference data, filter out the normal data, and display the comparison results in a page graphical way, such as Figure 4 shown.

[0114] According to the associated system, monitor abnormal documents whose recent life cycle has not been completely completed within the warning days by document or SKU dimension, register abnormal document data, and continue Figure 4 Take the example in for illustration, the life cycle of two orders ESL110606530004 and ESL110606530005 is completely completed in only one warehouse system, which can be judged as abnormal documents, which may cause the corresponding sku inventory to be uneven. Then, the inventory of several warehouse systems related to the order is compared, among which the inventory system is the upstream of the Canghai system, and the Canghai system is the downstream of the inventory system; at the same time, the Canghai system is the upstream of the warehousing system, and the warehousing system is the downstream of the Canghai system. In the specific comparison process:

[0115] If there is too much inventory in the upstream (i.e., the upstream warehouse system), the access system will trigger the inventory lock interface to lock the upstream difference inventory to prevent overselling, and notify the relevant system personnel by email or SMS. The relevant personnel can troubleshoot the problem based on the abnormal data in the document, and call the inventory leveling interface provided by the access system to level the inventory by triggering the exception handling button corresponding to the abnormal data in the document;

[0116] If the downstream (i.e., downstream warehouse system) has a lot of inventory, the relevant system personnel will be notified by email or SMS. The relevant personnel can troubleshoot the problem based on the abnormal data in the document and call the inventory leveling interface provided by the access system to level the inventory by triggering the abnormal processing button corresponding to the abnormal data in the document;

[0117] It should be noted that, when applied, each warehouse system provides a document inventory leveling interface for each document type and each operation node that affects inventory changes, but there is only one exception handling button. Different inventory leveling interfaces can be distinguished by business system number, business type or business node.

[0118] Historical data of inventory that has been balanced can be carried forward. Based on the dimensions of time points and documents, historical data whose order numbers have completed their life cycles in various systems can be carried forward. There is no need to compare inventory with the entire amount of data, which improves comparison or monitoring efficiency.

[0119] Figure 5 is a schematic diagram of main modules of an apparatus for tracking inventory according to an embodiment of the present invention.

[0120] like Figure 5 As shown, the device 500 for tracking inventory according to the embodiment of the present invention includes: a collection module 501 , a determination module 502 and a flat inventory module 503 .

[0121] in,

[0122] The collection module 501 is used to collect business data of each warehouse system;

[0123] A determination module 502 is used to obtain node data of at least two target warehouse systems from the business data, and determine the current business node corresponding to the target order number in each of the target warehouse systems;

[0124] The inventory leveling module 503 is used to perform an inventory leveling operation on the target order number when the current business nodes of the target warehouse systems are inconsistent.

[0125] In the embodiment of the present invention, the device 500 for tracking inventory may further include an information module (not shown in the figure) for:

[0126] Enter the warehouse system number, associated warehouse information, warehouse status and warning information of each of the warehouse systems;

[0127] Determine the service completion time and life cycle of each service type; wherein the life cycle includes service nodes executed in service order.

[0128] In the embodiment of the present invention, the acquisition module 501 may also be used for:

[0129] The node data generated by each warehouse system when executing the business node is collected by extracting logs or data embedding.

[0130] In addition, the node data may include the warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time.

[0131] In the embodiment of the present invention, the determining module 502 may also be used for:

[0132] Parse the node data of each target warehouse system;

[0133] Obtaining a business completion time of a business type corresponding to the business order number, and calculating a business execution time based on the creation time and the last update time;

[0134] Select the business order number whose business execution time is greater than the business completion time to obtain the target order number;

[0135] Determine the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status;

[0136] The life cycle of the target order number in each of the target warehouse systems is graphically displayed based on the life cycle number and the current business node of each of the target warehouse systems.

[0137] In the embodiment of the present invention, the flat inventory module 503 may also be used for:

[0138] Based on the associated warehouse information, any two associated target warehouse systems are divided into an upstream warehouse system and a downstream warehouse system;

[0139] Compare the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system;

[0140] If the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, the target product is locked in the upstream warehouse system according to the product inventory difference, and an early warning is issued based on the early warning information, and an inventory leveling operation is performed on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory;

[0141] If the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, an early warning is issued based on the early warning information, and the target product is leveled in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory.

[0142] It can be seen from the device for tracking inventory according to the embodiment of the present invention that the business data of each warehouse system is collected; the node data of at least two target warehouse systems are obtained from the business data, and the current business node corresponding to the target order number in each target warehouse system is determined; wherein the business data includes at least one node data; when the current business nodes of each target warehouse system are inconsistent, the technical means of performing inventory leveling operations on the target order number discovers difference data through the life cycle of the order number (the same order number in the business nodes of different warehouse systems), and directly filters out normal data, thereby overcoming the technical problems of the prior art wasting system resources, excessive reliance on historical inventory flow data, lack of versatility, poor timeliness, and high professional requirements for technical personnel, thereby achieving the technical effect of saving system resources, improving execution efficiency, timely discovering the causes of inventory imbalance, reducing the workload of personnel comparison, avoiding manual comparison of data, and having low professional requirements for technical personnel.

[0143] Figure 6 An exemplary system architecture 600 is shown to which the method for tracking inventory or the apparatus for tracking inventory according to the embodiments of the present invention can be applied.

[0144] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, network 604 and server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0145] The user can use the terminal devices 601, 602, 603 to interact with the server 605 through the network 604 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 601, 602, 603, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0146] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0147] The server 605 may be a server that provides various services, such as a backend management server that provides support for shopping websites browsed by users using the terminal devices 601, 602, and 603. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information and product information) to the terminal device.

[0148] It should be noted that the method for tracking inventory provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the device for tracking inventory is generally set in the server 605 .

[0149] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0150] Reference below Figure 7 , which shows a schematic diagram of the structure of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0151] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0152] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage section 708 as needed.

[0153] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0154] It should be noted that 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 above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0156] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a collection module, a determination module and a flat inventory module. The names of these modules do not constitute a limitation on the modules themselves in some cases, for example, the collection module may also be described as a "module for collecting business data of each warehouse system".

[0157] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: step S101: collecting business data of each warehouse system; step S102: obtaining node data of at least two target warehouse systems from the business data, and determining the current business node corresponding to the target order number in each target warehouse system; step S103: when the current business nodes of each target warehouse system are inconsistent, performing a flat inventory operation on the target order number.

[0158] According to the technical solution of the embodiment of the present invention, the business data of each warehouse system is collected; the node data of at least two target warehouse systems are obtained from the business data, and the current business node corresponding to the target order number in each target warehouse system is determined; wherein the business data includes at least one node data; when the current business nodes of each target warehouse system are inconsistent, the technical means of performing inventory leveling operations on the target order number is used, and the difference data is discovered through the life cycle of the order number (the same order number in the business nodes of different warehouse systems), and the normal data is directly filtered out, so as to overcome the technical problems of the prior art wasting system resources, excessive reliance on historical inventory flow data, lack of versatility, poor timeliness, and high professional requirements for technical personnel, thereby achieving the technical effect of saving system resources, improving execution efficiency, timely discovering the reasons for inventory imbalance, reducing the workload of personnel comparison, avoiding manual comparison of data, and having low professional requirements for technical personnel.

[0159] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method of tracking inventory, It is characterized in that include: Collect business data from each warehouse system; Obtain node data of at least two target warehouse systems from the business data, and determine the current business node corresponding to the target order number in each of the target warehouse systems; the target order number is the order number of the task order that may cause inventory differences between the target warehouse systems, and the node data includes at least one of the following: the warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time; When the current business nodes of the target warehouse systems are inconsistent, the target order number is leveled.

2. The method according to claim 1, It is characterized in that Collect business data from various warehouse systems, including: Enter the warehouse system number, associated warehouse information, warehouse status and warning information of each of the warehouse systems; Determine the service completion time and life cycle of each service type; wherein the life cycle includes service nodes executed in service order.

3. The method according to claim 2, It is characterized in that Collect business data from various warehouse systems, including: The node data generated by each warehouse system when executing the business node is collected by extracting logs or data embedding.

4. The method according to claim 2, It is characterized in that Acquiring node data of at least two target warehouse systems from the business data, and determining the current business node corresponding to the target order number in each of the target warehouse systems, including: Parse the node data of each target warehouse system; Obtaining a business completion time of a business type corresponding to the business order number, and calculating a business execution time based on the creation time and the last update time; Select the business order number whose business execution time is greater than the business completion time to obtain the target order number; Determine the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status; The life cycle of the target order number in each of the target warehouse systems is graphically displayed based on the life cycle number and the current business node of each of the target warehouse systems.

5. The method according to claim 4, It is characterized in that Performing inventory leveling operations on the target order number includes: Based on the associated warehouse information, any two associated target warehouse systems are divided into an upstream warehouse system and a downstream warehouse system; Compare the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system; If the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, the target product is locked in the upstream warehouse system according to the product inventory difference, and an early warning is issued based on the early warning information, and an inventory leveling operation is performed on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory; If the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, an early warning is issued based on the early warning information, and the target product is leveled in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory.

6. A device for tracking inventory, It is characterized in that include: The collection module is used to collect business data from various warehouse systems; A determination module is used to obtain node data of at least two target warehouse systems from the business data, and determine the current business node corresponding to the target order number in each of the target warehouse systems; the target order number is the order number of the task order that may cause inventory differences between the target warehouse systems, and the node data includes at least one of the following: the warehouse system number, business order number, life cycle number, product number, product inventory, node status, creation time, and last update time; The inventory leveling module is used to perform an inventory leveling operation on the target order number when the current business nodes of each target warehouse system are inconsistent.

7. The device according to claim 6, It is characterized in that Also included are information modules for: Enter the warehouse system number, associated warehouse information, warehouse status and warning information of each of the warehouse systems; Determine the service completion time and life cycle of each service type; wherein the life cycle includes service nodes executed in service order.

8. The device according to claim 7, It is characterized in that The acquisition module is also used for: The node data generated by each warehouse system when executing the business node is collected by extracting logs or data embedding.

9. The device according to claim 7, It is characterized in that The determining module is also used for: Parse the node data of each target warehouse system; Obtaining a business completion time of a business type corresponding to the business order number, and calculating a business execution time based on the creation time and the last update time; Select the business order number whose business execution time is greater than the business completion time to obtain the target order number; Determine the current business node corresponding to the target order number in each target warehouse system according to the warehouse system number and the node status; The life cycle of the target order number in each of the target warehouse systems is graphically displayed based on the life cycle number and the current business node of each of the target warehouse systems.

10. The device according to claim 9, It is characterized in that The flat inventory module is also used to: Based on the associated warehouse information, any two associated target warehouse systems are divided into an upstream warehouse system and a downstream warehouse system; Compare the product inventory of the target product corresponding to the target order number in the upstream warehouse system and the downstream warehouse system; If the product inventory of the upstream warehouse system is greater than the product inventory of the downstream warehouse system, the target product is locked in the upstream warehouse system according to the product inventory difference, and an early warning is issued based on the early warning information, and an inventory leveling operation is performed on the target product in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory; If the product inventory of the upstream warehouse system is less than the product inventory of the downstream warehouse system, an early warning is issued based on the early warning information, and the target product is leveled in the upstream warehouse system or the downstream warehouse system based on the warehouse system number, the warehouse status, the business order number, the product number and the product inventory.

11. An electronic device that tracks inventory. It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

12. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.