Method and device for determining safe inventory of office supplies, equipment, storage medium and program product
By obtaining the historical collection data of office supplies and the actual delivery time of suppliers, and automatically calculating the safe inventory volume, the problem of experience dependence in traditional methods is solved and more accurate inventory management is achieved.
Patent Information
- Application Number
- CN202510484741.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-07-11
AI Technical Summary
In traditional methods, the determination of office supplies safety inventory is greatly affected by the administrator's experience and lacks scientificity and rationality.
By obtaining historical requisition data for office supplies, calculate the average requisition amount and predict the maximum requisition amount, and automatically determine the safe inventory volume based on the actual length of the supplier's historical delivery time.
It has achieved scientific and reasonable determination of the safety inventory of office supplies, reduced human error, and improved the accuracy and efficiency of inventory management.
Smart Images

Figure CN120297867A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent management of office supplies, and particularly to a method, device, computer device, storage medium, and computer program product for determining the safety inventory of office supplies. Background Art
[0002] Employees within an organization need to use office supplies during the execution of work tasks. To avoid work interruptions caused by shortages of office supplies, it is necessary to ensure the continuous supply of office supplies. One of the key factors in ensuring the continuous supply of office supplies is the rationality of the safety inventory of office supplies. In traditional technologies, generally, the administrator determines it based on experience, and the rationality of the safety inventory of office supplies is greatly affected by individual experience. Summary of the Invention
[0003] Based on this, in view of the above technical problems, it is necessary to provide a method, device, computer device, storage medium, and computer program product for determining the safety inventory of office supplies.
[0004] The present application provides a method for determining the safety inventory of office supplies, and the method includes:
[0005] Obtain the historical usage data of office supplies to obtain the average usage amount and predicted maximum usage amount of the office supplies within a set period;
[0006] Obtain the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies;
[0007] Obtain the difference between the predicted maximum usage amount and the average usage amount, and obtain the safety inventory of the office supplies according to the difference and the current delivery period prediction duration.
[0008] In one embodiment, obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies includes:
[0009] When it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is higher than the delivery stability threshold, use the historical delivery period prediction duration as the current delivery period prediction duration of the supplier;
[0010] When it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is lower than the delivery stability threshold, then obtain the current delivery period prediction duration of the supplier according to the actual historical delivery period duration.
[0011] In one embodiment, obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration includes:
[0012] Determine the weights of the actual historical lead times according to the relative magnitudes among several of the actual historical lead times;
[0013] Perform a weighted sum of several actual historical lead times according to the weights to obtain the current lead time prediction of the supplier.
[0014] In one embodiment, the method further includes:
[0015] Obtain the variance according to several actual historical lead times of the supplier of the office supplies;
[0016] If the variance does not exceed the variance threshold, determine that the delivery stability of the supplier is higher than the delivery stability threshold;
[0017] If the variance exceeds the variance threshold, determine that the delivery stability of the supplier is lower than the delivery stability threshold.
[0018] In one embodiment, the historical lead time prediction is the lead time prediction used for calculating the safety inventory historically.
[0019] In one embodiment, obtaining the safety inventory of the office supplies according to the difference and the current lead time prediction includes:
[0020] Perform a multiplication process on the difference and the current lead time prediction to obtain a product result;
[0021] Obtain the safety inventory of the office supplies according to the product result.
[0022] This application provides a device for determining the safety inventory of office supplies, and the device includes:
[0023] A historical data processing module, configured to obtain historical usage data of office supplies, and obtain the average usage amount and the predicted maximum usage amount of the office supplies within a set period;
[0024] A lead time prediction module, configured to obtain the current lead time prediction of the supplier according to the actual historical lead times of the supplier of the office supplies;
[0025] A safety inventory determination module, configured to obtain the difference between the predicted maximum usage amount and the average usage amount, and obtain the safety inventory of the office supplies according to the difference and the current lead time prediction.
[0026] This application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor executes the above method.
[0027] The present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the above method.
[0028] The present application provides a computer program product, on which a computer program is stored, and the computer program is executed by a processor to perform the above method.
[0029] For the above method, device, computer device, storage medium, and computer program product for determining the safety inventory of office supplies, historical usage data of office supplies is obtained to get the average usage amount and predicted maximum usage amount of the office supplies within a set period; according to the actual lead time of the supplier of the office supplies in the past, the current predicted lead time of the supplier is obtained; the difference between the predicted maximum usage amount and the average usage amount is obtained, and based on the difference and the current predicted lead time, the safety inventory of the office supplies is obtained; with the solution provided by the present application, the safety inventory of office supplies can be automatically determined; moreover, by comprehensively predicting based on the historical usage data of office supplies and the actual lead time of the supplier in the past, a safety inventory with a higher degree of reasonableness can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0031] Figure 1 It is a schematic flowchart of a method for determining the safety inventory of office supplies in an embodiment;
[0032] Figure 2 It is a schematic flowchart of a process for determining the current predicted lead time in an embodiment;
[0033] Figure 3 It is a schematic flowchart of a process for determining the safety inventory in an embodiment;
[0034] Figure 4 It is a structural block diagram of a device for determining the safety inventory of office supplies in an embodiment;
[0035] Figure 5 It is an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0036] To make the objectives, technical solutions and advantages of this application more clear and understandable, the following further elaborates on this application in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely used to explain this application and are not used to limit this application.
[0037] The method for determining the safety stock quantity of office supplies provided by this application may include Figure 1 the steps shown. The steps included in this method may be executed by a computer device.
[0038] Step S101: Obtain the historical usage data of office supplies to obtain the average usage quantity and the predicted maximum usage quantity of office supplies within a set period.
[0039] The duration of the set period may be set according to actual needs. For example, a week may be used as the set period, or half a month may be used as the set period.
[0040] Taking a week as the set period and a pen as an example of office supplies. The historical usage data of pens in the past year can be obtained. By statistically analyzing the historical usage data, the average weekly usage quantity of pens can be obtained. By statistically analyzing the historical usage data, the actual maximum usage quantity of pens in a certain week in the past year can also be obtained, and the actual maximum usage quantity of this week is used as the predicted maximum usage quantity of pens per week.
[0041] Step S102: Obtain the current delivery period prediction duration of the supplier based on the actual historical delivery period duration of the supplier of office supplies.
[0042] Exemplarily, the actual historical delivery period duration of the pen supplier each time in the past year can be obtained. The actual historical delivery period duration describes the actual duration used by the supplier to deliver pens, such as 5 days. After obtaining the actual historical delivery period duration of the supplier each time in the past year, the actual historical delivery period duration of each time in the past year can be statistically analyzed to obtain the current delivery period prediction duration of the supplier. The current delivery period prediction duration describes the estimated duration used by the supplier to deliver pens.
[0043] Step S103: Obtain the difference between the predicted maximum usage quantity and the average usage quantity, and obtain the safety stock quantity of office supplies based on the difference and the current delivery period prediction duration.
[0044] Exemplarily, after determining the predicted maximum usage quantity and the average usage quantity of pens per week according to the foregoing steps, the difference between the predicted maximum usage quantity and the average usage quantity of pens per week can be obtained, and the safety stock quantity of pens can be predicted based on the difference and the current delivery period prediction duration of the supplier.
[0045] In the method for determining the safety stock of the above-mentioned office supplies, historical usage data of office supplies is obtained to obtain the average usage amount of office supplies within a set period and the predicted maximum usage amount; according to the actual historical lead time of the suppliers of office supplies, the current lead time prediction of the suppliers is obtained; the difference between the predicted maximum usage amount and the average usage amount is obtained, and according to the difference and the current lead time prediction, the safety stock of office supplies is obtained; by means of the solution provided in this application, the safety stock of office supplies can be automatically determined; moreover, by comprehensively predicting the historical usage data of office supplies and the actual historical lead time of suppliers, a safety stock with a higher degree of rationality can be obtained.
[0046] In one embodiment, obtaining the current lead time prediction of the supplier according to the actual historical lead time of the supplier of office supplies includes:
[0047] When it is determined according to the actual historical lead time of the supplier of office supplies that the delivery stability of the supplier is higher than the delivery stability threshold, the historical lead time prediction is used as the current lead time prediction of the supplier; when it is determined according to the actual historical lead time of the supplier of office supplies that the delivery stability of the supplier is lower than the delivery stability threshold, the current lead time prediction of the supplier is obtained according to the actual historical lead time.
[0048] Exemplarily, after obtaining the actual historical lead time of each time of the supplier of signature pens in the past year, the delivery stability of the supplier can be analyzed according to the actual historical lead time of each time in the past year.
[0049] If it is analyzed and determined that the delivery stability of the supplier is higher than the delivery stability threshold, the historical lead time prediction can be directly used as the current lead time prediction of the supplier; the historical lead time prediction is the lead time prediction used for calculating the safety stock historically. For example, the historical lead time prediction can be the lead time prediction used for calculating the safety stock of signature pens last time.
[0050] If it is analyzed and determined that the delivery stability of the supplier is lower than the delivery stability threshold, the actual historical lead time of each time in the past year can be statistically analyzed, and according to the statistical results, the current lead time prediction of the supplier is obtained.
[0051] In this embodiment, according to the actual historical lead time of the supplier, it is determined whether the delivery stability of the supplier is higher than the delivery stability threshold; if so, the historical lead time prediction can be directly used as the current lead time prediction, without calculation, improving efficiency; if not, the current lead time prediction can be recalculated according to the actual historical lead time to ensure the rationality of the current lead time prediction.
[0052] In one embodiment, obtaining the current delivery time prediction duration of a supplier according to the actual historical delivery time duration includes Figure 2 the steps shown as follows:
[0053] Step S201: Determine the weights of each actual historical delivery time duration according to the relative magnitudes among several actual historical delivery time durations; Step S202: Perform weighted summation on several actual historical delivery time durations according to the weights to obtain the current delivery time prediction duration of the supplier.
[0054] If the delivery stability of the supplier is lower than the delivery stability threshold, the current delivery time prediction duration can be recalculated according to the actual historical delivery time duration.
[0055] Specifically, the actual historical delivery time duration of each time of the supplier in the past year can be obtained. According to the relative magnitudes among the actual historical delivery time durations of each time in the past year, determine the weights of the actual historical delivery time durations of each time. The greater the actual historical delivery time duration, the greater the weight. Multiply each actual historical delivery time duration by the corresponding weight and then sum them up. The obtained result is the weighted summation result, which can be used as the current delivery time prediction duration of the supplier.
[0056] In this embodiment, by determining the weights of each actual historical delivery time duration according to the relative magnitudes among the actual historical delivery time durations and performing weighted summation according to the weights, a current delivery time prediction duration with relatively high rationality can be obtained.
[0057] In one embodiment, the method provided by this application further includes:
[0058] Obtain the variance according to several actual historical delivery time durations of the supplier of office supplies; if the variance does not exceed the variance threshold, determine that the delivery stability of the supplier is higher than the delivery stability threshold; if the variance exceeds the variance threshold, determine that the delivery stability of the supplier is lower than the delivery stability threshold.
[0059] Exemplarily, after obtaining the actual historical delivery time duration of each time of the supplier of signature pens in the past year, the average value of the actual historical delivery time durations of multiple times in the past year can be obtained through averaging to obtain the average historical delivery time duration; obtain the variance according to the differences between the actual historical delivery time duration of each time in the past year and the average historical delivery time duration. Determine whether the variance exceeds the variance threshold; if the variance does not exceed the variance threshold, it can be determined that the delivery stability of the supplier is higher than the delivery stability threshold; if the variance exceeds the variance threshold, it can be determined that the delivery stability of the supplier is lower than the delivery stability threshold.
[0060] In this embodiment, based on the actual durations of several historical delivery times of the suppliers of office supplies, the variance is obtained. According to the relative magnitudes between the variance and the variance threshold, it is determined whether the delivery stability of the supplier is higher than the delivery stability threshold, and a relatively reasonable judgment result can be obtained.
[0061] In one embodiment, based on the difference and the current delivery period prediction duration, the safety stock quantity of office supplies is obtained, including Figure 3 the steps shown:
[0062] Step S301, multiply the difference by the current delivery period prediction duration to obtain a product result; Step S302, obtain the safety stock quantity of office supplies according to the product result.
[0063] Exemplarily, after determining the predicted maximum weekly consumption amount and the average consumption amount of signature pens, the difference between the predicted maximum weekly consumption amount and the average consumption amount of signature pens can be obtained; multiply the difference by the current delivery period prediction duration of the supplier, and the obtained product result is used as the safety stock quantity of signature pens.
[0064] In this embodiment, after obtaining the difference between the predicted maximum weekly consumption amount and the average consumption amount of office supplies, based on the product result of the difference and the current delivery period prediction duration of the supplier, a relatively accurate safety stock quantity can be obtained.
[0065] To better understand the above method, the following elaborates in detail an application example of the method for determining the safety stock quantity of office supplies in this application. The computer device that executes the steps of this method can be called an office supplies inventory management system.
[0066] The office supplies inventory management system can automatically record the inbound and outbound situations of office supplies, update the inventory data in real time, and provide intelligent analysis and prediction functions. By importing the consumption data within a certain period in the past, the inventory management system can calculate the average consumption amount of office supplies within the set period, and considering the longest delivery time and the normal stock preparation time, automatically set a reasonable safety stock quantity.
[0067] The office supplies inventory management system records and tracks the inventory dynamics of office supplies in real time, including operations such as inbound, outbound, and inventory adjustment. The office supplies inventory management system can automatically update the inventory quantity and provide an inventory warning function. When the inventory quantity is lower than the set safety stock quantity, it automatically reminds the administrator to replenish the stock. To set a relatively reasonable safety stock quantity, in this application example, through data analysis technology, the historical consumption data is analyzed, and indicators such as the average consumption amount and demand fluctuation of office supplies within the set period are calculated. According to the supply chain delay situation, a reasonable safety stock quantity is set. Thus, it can not only ensure the sufficient supply of office supplies but also avoid the capital occupation and increased storage costs caused by excessive inventory.
[0068] This application example mainly includes the following parts:
[0069] I. Office Supplies Inventory Management System
[0070] The office supplies inventory management system is the core tool for office supplies management. It can record and track the inventory status in real time, provide intelligent analysis and prediction functions, and help administrators make more accurate procurement decisions. For example, through the office supplies inventory management system, the inbound and outbound situations of office supplies can be automatically recorded each time, avoiding errors in manual records; the inventory data can be updated in real time to ensure the accuracy of inventory information; and it can also intelligently remind replenishment according to the inventory situation and historical usage data, avoiding insufficient or excessive inventory.
[0071] II. Application of Multiple Inventory Management Methods
[0072] Demand forecasting method: Based on the analysis of historical usage data, predict future demand. Use methods such as moving average method, exponential smoothing method, and regression analysis to predict future demand, and then set the safety stock level according to the demand forecast.
[0073] III. Setting Inventory Warnings and Automatic Replenishment Mechanisms
[0074] Set inventory warnings in the office supplies inventory management system. When the inventory level is lower than the preset safety stock level, the office supplies inventory management system automatically issues a replenishment reminder. At the same time, the office supplies inventory management system can be connected to the organization's procurement system to achieve automatic replenishment and ensure the timely supply of office supplies.
[0075] IV. Regular Inventory Checks and Data Analysis
[0076] Conduct regular inventory checks to ensure the accuracy of inventory data. At the same time, use the data analysis function of the office supplies inventory management system to conduct in-depth analysis of the usage of office supplies, find out usage patterns and trends, and provide a basis for setting a more reasonable safety stock level.
[0077] This application example specifically includes the following steps:
[0078] Obtain the historical usage data of office supplies to get the average usage amount of office supplies within the set period and the predicted maximum usage amount.
[0079] Obtain the variance based on the actual durations of several historical delivery periods of the office supplies suppliers.
[0080] If the variance does not exceed the variance threshold, determine that the delivery stability of the supplier is higher than the delivery stability threshold; when the delivery stability of the supplier is higher than the delivery stability threshold, use the historical delivery period prediction duration as the current delivery period prediction duration of the supplier.
[0081] If the variance exceeds the variance threshold, it is determined that the delivery stability of the supplier is lower than the delivery stability threshold; when the delivery stability of the supplier is lower than the delivery stability threshold, the weights of the actual durations of several historical delivery periods are determined according to the relative magnitudes among the actual durations of several historical delivery periods; and the weighted sum of the actual durations of several historical delivery periods is calculated according to the weights to obtain the predicted duration of the current delivery period of the supplier.
[0082] Obtain the difference between the predicted maximum usage amount and the average usage amount, multiply the difference by the predicted duration of the current delivery period to obtain a product result; and obtain the safety inventory of the office supplies according to the product result.
[0083] Take the office supply of signature pens as an example.
[0084] Obtain the historical usage data of signature pens in the past year, and conduct statistics on the historical usage data. It can be obtained that the average weekly usage amount of signature pens is 1,000 pieces. By conducting statistics on the historical usage data, it can also be obtained that the actual maximum usage amount of signature pens in a certain week in the past year. Take the actual maximum usage amount of this week as the predicted maximum weekly usage amount of signature pens, which is 1,200 pieces. Assume that this value takes into account the volatility of the usage amount. The organization requires that the maximum inventory does not exceed the amount for 12 weeks. Thus, it can be determined that the maximum inventory of signature pens is 12,000 pieces.
[0085] According to the actual durations of the historical delivery periods of the supplier of signature pens, the predicted duration of the current delivery period of the supplier is 10 days. The difference between the predicted maximum weekly usage amount and the average weekly usage amount of signature pens is 200 pieces. The product result of the difference multiplied by the predicted duration of the current delivery period is 2,000 pieces. 2,000 pieces can be used as the safety inventory of signature pens. This means that during the supplier's delivery period, an additional 2,000 signature pens need to be reserved as safety inventory to cope with uncertain factors such as possible increases in usage amounts or supply chain delays.
[0086] Excessively high safety inventory will increase inventory costs, tie up funds, and may lead to product expiration or obsolescence. Therefore, in actual operations, the safety inventory is dynamically adjusted and optimized according to factors such as demand changes, usage strategies, and supplier reliability.
[0087] The effects achieved by this application example include:
[0088] First, achieve real-time monitoring and precise management of office supply inventory. By adopting means such as an office supply inventory management system, intelligent cabinets, and Internet of Things (IoT) technology, it is possible to monitor the inventory situation of office supplies in real time, including inventory quantities, inbound and outbound records, etc., ensuring the accuracy and timeliness of inventory data. This helps administrators understand inventory dynamics at any time, avoiding out-of-stock situations caused by insufficient inventory or resource waste caused by excessive inventory.
[0089] Second, automatically set a reasonable safety stock level. Based on factors such as historical sales data, demand forecasts, and supply chain delays, a relatively reasonable safety stock level is automatically calculated. When the inventory level is lower than the set safety stock threshold, the system will automatically remind the administrator to replenish the stock, thus ensuring an adequate supply of office supplies and avoiding affecting normal office work due to inventory shortages.
[0090] Third, optimize the inventory management process. Through automated and intelligent means, this application example can optimize the inventory management process, reduce manual operations, and improve work efficiency.
[0091] This application example can automatically set a relatively reasonable safety stock level for office supplies, improve the efficiency and accuracy of inventory management, through measures such as an office supply inventory management system, various inventory management methods, setting inventory warnings and automatic replenishment mechanisms, and regular inventory checks and data analysis.
[0092] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0093] Based on the same inventive concept, the embodiments of the present application also provide a device for determining the safety stock level of office supplies for implementing the method for determining the safety stock level of office supplies involved above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the device for determining the safety stock level of office supplies provided below can refer to the limitations on the method for determining the safety stock level of office supplies in the above text, and will not be repeated here.
[0094] In one embodiment, as Figure 4 shown, a device for determining the safety inventory of office supplies is provided, including:
[0095] A historical data processing module 401, configured to obtain the historical usage data of office supplies, and obtain the average usage amount and the predicted maximum usage amount of the office supplies within a set period;
[0096] A delivery period prediction module 402, configured to obtain the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies;
[0097] A safety inventory determination module 403, configured to obtain the difference between the predicted maximum usage amount and the average usage amount, and obtain the safety inventory of the office supplies according to the difference and the current delivery period prediction duration.
[0098] In one embodiment, the delivery period prediction module 402 is further configured to:
[0099] When it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is higher than the delivery stability threshold, use the historical delivery period prediction duration as the current delivery period prediction duration of the supplier; when it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is lower than the delivery stability threshold, then obtain the current delivery period prediction duration of the supplier according to the actual historical delivery period duration.
[0100] In one embodiment, the delivery period prediction module 402 is further configured to:
[0101] Determine the weights of the actual historical delivery period durations according to the relative magnitudes among several of the actual historical delivery period durations; perform a weighted sum of several actual historical delivery period durations according to the weights to obtain the current delivery period prediction duration of the supplier.
[0102] In one embodiment, the device further includes a delivery stability determination module, configured to:
[0103] Obtain the variance according to several actual historical delivery period durations of the supplier of the office supplies; if the variance does not exceed the variance threshold, determine that the delivery stability of the supplier is higher than the delivery stability threshold; if the variance exceeds the variance threshold, determine that the delivery stability of the supplier is lower than the delivery stability threshold.
[0104] In one embodiment, the historical delivery period prediction duration is the delivery period prediction duration used for calculating the historical safety inventory.
[0105] In one embodiment, the safety inventory determination module 403 is further configured to:
[0106] Multiply the difference value by the current lead time prediction duration to obtain a product result; based on the product result, obtain the safety inventory of the office supplies.
[0107] Each module in the above-mentioned device for determining the safety inventory of office supplies can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in the form of hardware or be independent of it, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0108] In an exemplary embodiment, a computer device is provided, and its internal structure diagram can be as Figure 5 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the data involved in the above method. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a method for determining the safety inventory of office supplies.
[0109] Those skilled in the art can understand that Figure 5 the structure shown in
[0110] is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0111] In an embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps in each of the above method embodiments.
[0112] In one embodiment, a computer program product is provided, on which a computer program is stored, and the computer program is executed by a processor to perform the steps in the above method embodiments.
[0113] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0114] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0115] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered that the scope recorded in this application.
[0116] The above-described embodiments only represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application should be subject to the appended claims.
Claims
1. A method for determining the safety stock of office supplies, characterized in that The method includes: Obtaining the historical usage data of office supplies to obtain the average usage amount of the office supplies within a set period and the predicted maximum usage amount; Obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies; Obtaining the difference between the predicted maximum usage amount and the average usage amount, and obtaining the safety inventory of the office supplies according to the difference and the current delivery period prediction duration.
2. The method according to claim 1, characterized in that, Obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies includes: When it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is higher than the delivery stability threshold, using the historical delivery period prediction duration as the current delivery period prediction duration of the supplier; When it is determined according to the actual historical delivery period duration of the supplier of the office supplies that the delivery stability of the supplier is lower than the delivery stability threshold, obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration.
3. The method according to claim 2, wherein Obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration includes: Determining the weights of the actual historical delivery period durations according to the relative magnitudes among several of the actual historical delivery period durations; Performing a weighted sum of several actual historical delivery period durations according to the weights to obtain the current delivery period prediction duration of the supplier.
4. The method according to claim 2, characterized in that, The method further includes: Obtaining the variance according to several actual historical delivery period durations of the supplier of the office supplies; If the variance does not exceed the variance threshold, determining that the delivery stability of the supplier is higher than the delivery stability threshold; If the variance exceeds the variance threshold, determining that the delivery stability of the supplier is lower than the delivery stability threshold.
5. The method according to claim 2, wherein The historical delivery period prediction duration is the delivery period prediction duration used for calculating the safety inventory historically.
6. The method according to claim 1, wherein Obtaining the safety inventory of the office supplies according to the difference and the current delivery period prediction duration includes: Performing a multiplication process on the difference and the current delivery period prediction duration to obtain a product result; Obtaining the safety inventory of the office supplies according to the product result.
7. An apparatus for determining the safety inventory of office supplies, characterized in that The device includes: A historical data processing module for obtaining the historical usage data of office supplies to obtain the average usage amount of the office supplies within a set period and the predicted maximum usage amount; A delivery period prediction module for obtaining the current delivery period prediction duration of the supplier according to the actual historical delivery period duration of the supplier of the office supplies; A safety inventory determination module for obtaining the difference between the predicted maximum usage amount and the average usage amount, and obtaining the safety inventory of the office supplies according to the difference and the current delivery period prediction duration.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method according to any one of claims 1 to 6.