Intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor
Through the intelligent inventory of the original jar of sauce-flavored liquor wine and dynamic management system, the dynamic age weight adjustment and the adaptive scheduling strategy of inventory pressure are solved, and the inventory of the original jar of sauce-flavored liquor wine is realized. Intelligent management improves the accuracy of inventory scheduling and market response capabilities.
Patent Information
- Application Number
- CN202411223500.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-09-03
AI Technical Summary
The inventory management of the original jar of sauce-flavored liquor relies on traditional manual experience and static management models, making it difficult to accurately grasp the inventory status in real time and is unable to cope with changes in market demand, resulting in inventory backlog or shortage, and the dynamic changes in the aging process of raw liquor are not fully considered, which affects the impact of Wine body quality and management efficiency.
Provide a smart inventory and dynamic management system for the original jar of sauce-flavored liquor, including weight calculation unit, evaluation unit and scheduling unit. Through dynamic wine age weight adjustment algorithm and inventory pressure adaptive scheduling strategy, machine learning and deep reinforcement learning are used The algorithm optimizes the scheduling solution, and combines blockchain technology to improve information traceability and transparency.
It has realized intelligent inventory and dynamic management of original jars of sauce-flavored liquor, improved the accuracy and efficiency of inventory scheduling, and can respond to market changes in a timely manner, optimize the inventory structure, and enhance corporate competitiveness and product quality stability.
Smart Images

Figure CN118735416B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent management, and in particular to an intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor. Background Art
[0002] As an important part of traditional Chinese wine culture, Maotai-flavor liquor is deeply loved by consumers for its unique brewing process and mellow taste. However, with the fluctuation of market demand and the expansion of production scale, the inventory management of Maotai-flavor liquor original jars has become a major challenge facing the industry. The original jar inventory management involves key links such as storage, aging and blending of original liquor, which directly affects product quality and business efficiency. Effective original jar inventory management can not only ensure the stability of wine quality, but also optimize production resource allocation, reduce inventory costs, and improve the market responsiveness of enterprises. Therefore, the original jar inventory management of Maotai-flavor liquor is of great significance for maintaining product quality, enhancing corporate competitiveness and promoting sustainable development of the industry. At present, the original jar inventory management of Maotai-flavor liquor mainly relies on traditional manual experience and static management mode. This management method is usually based on a fixed inventory cycle and a preset scheduling plan, combined with regular inventory and quality inspection. Specifically, the staff will regularly inventory, sample and taste the original jars according to the production plan and sales forecast, and then formulate a blending plan based on the results. Although this method can meet basic needs to a certain extent, it has many problems: first, manual operation is prone to errors, and it is difficult to grasp the real-time status of large-scale original jar inventory in a timely and accurate manner; second, the static management model is difficult to cope with the rapid changes in market demand, and it is easy to cause inventory backlogs or shortages; third, the traditional method cannot fully consider the dynamic changes in the aging process of the original wine, which may lead to fluctuations in the quality of the wine; finally, manual management is inefficient, and it is difficult to achieve refined and intelligent inventory scheduling.
[0003] In recent years, with the development of information technology, some companies have begun to try to introduce information systems to assist in the management of raw wine inventory. These systems usually include technologies such as barcode recognition, electronic tags and database management, which can improve the accuracy of inventory information and management efficiency to a certain extent. However, these methods still have limitations: they mainly focus on the collection and storage of static data, lack the ability to monitor and predict the dynamic changes of raw wine in real time; at the same time, these systems are often isolated and difficult to effectively integrate with other links such as production scheduling, market demand and quality control, and cannot achieve comprehensive intelligent management. These methods have obvious deficiencies in dynamics, adaptability and comprehensive decision-making capabilities.
[0004] Therefore, there is an urgent need for a technical solution that can realize the intelligent inventory and dynamic management of the original jars of Maotai-flavor liquor. Summary of the invention
[0005] In order to solve the deficiencies of the prior art, the embodiment of the present application provides an intelligent inventory and dynamic management system for the original jar inventory of Maotai-flavor liquor. The present application solves the technical problems of the prior art such as the original jar inventory scheduling and inventory backlog of Maotai-flavor liquor.
[0006] The present application provides an intelligent inventory and dynamic management system for the original jars of Maotai-flavor liquor, comprising: a weight calculation unit, an evaluation unit and a scheduling unit; wherein the weight calculation unit is used to obtain parameter information of the original jars, and based on time data and demand data, calculate the weight value of the original jars by applying a dynamic wine age weight adjustment algorithm, and store the calculation result in a distributed database; the method comprises: collecting quality parameters by using a wine quality testing instrument, recording the wine age based on a high-precision time server, and collecting market demand data through an enterprise resource planning system; applying a preset dynamic wine age weight adjustment algorithm, and calculating an initial weight value according to the original jar wine age, the best wine age and the current date; the dynamic wine age weight adjustment algorithm comprises: ,in, represents the weight of the wine age t, Indicates the best age for wine. Indicates the current date, represents the adjustment parameter, ; The evaluation unit is used to calculate the pressure index based on the inventory status, dynamically optimize the scheduling strategy parameters, integrate the original jar weight value and the optimization strategy, and generate a scheduling plan using a heuristic algorithm; the scheduling unit is used to implement the generated scheduling plan, perform the original jar scheduling operation, record the operation results and market feedback data, apply the machine learning model to analyze the feedback information, and automatically optimize the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters.
[0007] A possible implementation also includes: storing the weight value in a distributed database system, and implementing a data backup and recovery strategy, including real-time synchronous replication to an off-site data center and / or regular full backup.
[0008] In a possible implementation, the pressure index is calculated according to the inventory status, the scheduling strategy parameters are dynamically optimized, the original jar weight value and the optimization strategy are integrated, and the scheduling plan is generated by a heuristic algorithm, including: obtaining the original jar inventory data, including the capacity and wine age information of each original jar, and calculating the inventory pressure index based on the original jar inventory data, wherein the inventory pressure index is determined by the ratio of the exponential function to the total storage capacity; according to the inventory pressure index, the scheduling strategy parameters are dynamically optimized using an adaptive parameter adjustment formula; the original jar weight value and the optimized scheduling strategy parameters are integrated to construct a fitness function, and a heuristic algorithm is used to generate multiple candidate scheduling plans based on the fitness function; wherein the fitness function includes: ,in, and Indicates The weights and parameters of the scheduled altars, Indicates the strategy parameters actually achieved by the solution, represents the adaptively adjusted strategy parameters, It represents the estimated pressure index after executing the scheduling plan. represents the target pressure index, represents the weight coefficient;
[0009] A Monte Carlo simulation is performed on the candidate scheduling schemes, and the scheme with the highest reliability is selected as the final intelligent scheduling scheme output.
[0010] In a possible implementation, calculating the inventory pressure index includes: ,
[0011] Among them, P represents the inventory pressure index, represents the capacity of the i-th altar, represents the age of the i-th original jar, Indicates the minimum drinking age. represents the total storage capacity, represents the pressure coefficient, λ∈[0.01, 0.05].
[0012] In a possible implementation, the generated scheduling plan is implemented, the original jar scheduling operation is performed, the operation results and market feedback data are recorded, the feedback information is analyzed by a machine learning model, and the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters are automatically optimized, including: executing the generated scheduling plan, accurately moving and positioning the original jar through an automated warehousing system, and using real-time monitoring and emergency processing modules to identify and respond to abnormal situations; using real-time data stream processing technology to record scheduling operation results, and collecting market feedback data through integration with the sales system, and calculating key performance indicators in real time; wherein the key performance indicators include scheduling completion rate, original jar turnover rate and / or inventory pressure changes; applying a machine learning model to analyze feedback information, modeling the inventory management process as a Markov decision process, and using a deep Q network algorithm to learn the optimal strategy; based on the learning results, automatically optimizing the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters.
[0013] In a possible implementation, before storing the weight value in the distributed database system, the method further includes: using a hierarchical computing strategy to adjust the weight based on the computing frequency, the original altar capacity and the quality score; wherein the adjustment includes: ,in, express The parameters adjusted at all times, express The parameters before the moment adjustment, represents the calculation interval, Indicates the original altar capacity, represents the average capacity, represents the capacity standard deviation, Indicates the original altar quality rating, Indicates the lowest rating. Indicates the highest rating. Represents the impact factor.
[0014] In a possible implementation, wherein the scheduling strategy parameters are dynamically optimized using an adaptive parameter adjustment formula, including:
[0015] ,
[0016] in, represents the adjusted strategy parameters, represents the reference parameter value, Indicates the current inventory pressure index, represents the target inventory pressure index, Indicates the adjustment sensitivity coefficient.
[0017] In the intelligent inventory and dynamic management system of the original jars of Maotai-flavor liquor provided above, the embodiment of the present application realizes the intelligent inventory and dynamic management of the original jars of Maotai-flavor liquor by dynamically adjusting the weight of the original jars and the adaptive scheduling strategy. Further, in some embodiments, by introducing a deep reinforcement learning algorithm, the parameter selection and scheduling strategy generation of the dynamic wine age weight adjustment algorithm can be continuously optimized. Further, in some embodiments, by combining blockchain technology, the traceability of the original jar information and the transparency of the scheduling process can be improved, while ensuring the security and non-tamperability of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A schematic block diagram of an intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor provided in an embodiment of the present application;
[0020] Figure 2 A flowchart of an intelligent inventory counting and dynamic management method for original jars of Maotai-flavor liquor provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0022] Those skilled in the art will appreciate that the terms "first", "second" and the like in the embodiments of the present application are only used to distinguish different steps, devices or modules, etc., and do not represent any specific technical meaning, nor do they represent the necessary logical order between them. It should also be understood that in the embodiments of the present application, "multiple" may refer to two or more, and "at least one" may refer to one, two or more. It should also be understood that for any component, data or structure mentioned in the embodiments of the present application, in the absence of explicit limitation or contrary revelation given in the context, it can generally be understood as one or more. In addition, the term "and / or" in the present application is only a kind of association relationship describing the associated objects, indicating that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present application generally indicates that the associated objects before and after are an "or" relationship. It should also be understood that the description of each embodiment in the present application emphasizes the differences between the embodiments, and the same or similar parts can refer to each other. For the sake of brevity, they will not be repeated one by one.
[0023] At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present application and its application or use. The techniques, methods and devices known to ordinary technicians in the relevant fields may not be discussed in detail, but where appropriate, the techniques, methods and devices should be considered as part of the specification. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] Figure 1A schematic block diagram of an intelligent inventory and dynamic management system for the original jars of Maotai-flavor liquor provided in an embodiment of the present application. It should be understood that the system shown in the figure is exemplary and not restrictive. This means that the system architecture involved is not limited to a specific form or design, but is presented as an example. In other words, the architecture shown in the figure can be regarded as a way of expression to clearly describe related concepts and relationships, and does not exclude other forms of architecture. Therefore, when interpreting the architecture in the picture, it should be understood that the model is flexible and diverse, and its purpose is to provide an exemplary description rather than a restrictive provision on a specific form.
[0026] The embodiment of the present application discloses an intelligent inventory and dynamic management system for the original jars of Maotai-flavor liquor, comprising: a weight calculation unit 101, an evaluation unit 102 and a scheduling unit 103; wherein the weight calculation unit 101 is used to obtain the parameter information of the original jars, and based on the time data and the demand data, calculate the weight value of the original jars by applying a dynamic weight calculation model, and store the calculation result in a distributed database; the evaluation unit 102 is used to calculate the pressure index according to the inventory status, dynamically optimize the scheduling strategy parameters, integrate the original jar weight value and the optimization strategy, and generate a scheduling plan by using a heuristic algorithm; the scheduling unit 103 is used to implement the generated scheduling plan, execute the original jar scheduling operation, record the operation results and market feedback data, apply the machine learning model to analyze the feedback information, and automatically optimize the parameters of the dynamic weight calculation model and the pressure adaptive scheduling strategy.
[0027] Figure 2 A flowchart of a method for intelligent inventory and dynamic management of original jars of Maotai-flavor liquor provided in an embodiment of the present application. It should be understood that the present application discloses an intelligent inventory and dynamic management system for original jars of Maotai-flavor liquor, and the technical problems of intelligent scheduling and inventory backlog of original jars of Maotai-flavor liquor to be solved by the solution are solved by a dynamic wine age weight adjustment algorithm and an inventory pressure adaptive scheduling strategy technical means.
[0028] like Figure 2 As shown, in step S201, the original jar parameter information is obtained, and the original jar weight value is calculated based on the time data and demand data using the dynamic weight calculation model, and the calculation result is stored in the distributed database. This includes: using wine quality testing instruments to collect quality parameters, recording wine age based on a high-precision time server, and collecting market demand data through an enterprise resource planning system; applying a preset dynamic wine age weight adjustment algorithm to calculate the initial weight value based on the original jar wine age, the best wine age and the current date; storing the weight value in a distributed database system, and implementing data backup and recovery strategies, including real-time synchronous replication to a remote data center and / or regular full backup.
[0029] Specifically, in the intelligent dynamic management system for the original jar inventory of Maotai-flavor liquor, the main task of the weight calculation unit is to collect the original jar information, calculate the weight and store the result, providing a key basis for subsequent scheduling decisions. In the specific implementation process, multiple aspects need to be considered to ensure the efficient operation and accuracy of the system.
[0030] First, in the information collection process, the Internet of Things technology can be used to realize the automatic collection of original jar information. For example, RFID tags (such as ALN-9740 "Squiggle" tags) can be installed on each original jar, and fixed RFID readers (such as Speedway Revolution R420 readers) can be used to automatically identify and track the original jars. These devices can collect information such as the location and movement trajectory of the original jars in real time. At the same time, professional wine quality testing instruments (such as Agilent 1260Infinity II liquid chromatographs) can be used to regularly test and record the quality parameters of the liquor in the original jars, such as alcohol content, acidity, ester content, etc.
[0031] For wine age records, a high-precision time server (such as SyncServer S600) can be used to ensure the accuracy of system time, thereby accurately calculating the actual storage time of each original jar. The collection of market demand data can be achieved through real-time docking between the enterprise resource planning (ERP) system (such as SAP S / 4HANA) and the sales terminal to ensure the latest market trends.
[0032] In actual application, the preset dynamic wine age weight adjustment algorithm is applied to calculate the initial weight value according to the original wine age, the best wine age and the current date, including: ,
[0033] in, represents the weight of the wine age t, Indicates the best age for wine. Indicates the current date, represents the adjustment parameter, For the parameter selection of the dynamic age weight adjustment algorithm, we can take a certain sauce-flavor liquor production company as an example. Through historical data analysis and expert experience, we can preliminarily set =1.2, =0.05, =0.2. Here =1.2 indicates that the overall importance of wine age is high. =0.05 indicates moderate sensitivity to the optimal age of wine. = 0.2 reflects the moderate influence of seasonal factors on the weight. For example, the age of a wine in a certain original jar is 5 years, and the best age is The weight of the original jar can be calculated as follows: Calculate exp(-0.05 * (5 - 8)^2) ≈ 0.6065, calculate sin(2π * 180 / 365) ≈ 0, and substitute into the complete formula: W(5) =1.2 * 0.6065 * (1 + 0.2 * 0) ≈ 0.7278. This result shows that the weight of the original jar of the 5-year-old wine is 0.7278, which is slightly lower than the best 8-year-old wine, but still has considerable value.
[0034] Before storing the weight value in the distributed database system, it also includes: using a hierarchical calculation strategy to adjust the weight based on the calculation frequency, original forum capacity and quality score. In the weight calculation process, the problem of calculation efficiency also needs to be considered. When the number of original forums is large, real-time calculation of the weights of all original forums may cause system burden. For this reason, a hierarchical calculation strategy can be introduced, which can be expressed as follows in a mathematical formula: ,in, , is the time interval from the last calculation, , Q is the original altar capacity, is the average capacity, is the capacity standard deviation, , S is the quality score of the original forum. This hierarchical calculation formula takes into account the impact of calculation frequency (F function), original forum capacity (G function) and quality score (H function) on the final weight. Parameters ρ, η, and μ control the influence of these three factors respectively, and can be adjusted according to actual conditions. For example, ρ=0.1, η=0.05, and μ=0.1 can be set.
[0035] In practical applications, the value of F(ΔT) can be used to determine whether the weight of a certain source needs to be recalculated. For example, when F(ΔT) < 0.05, the last calculation result can be used, which greatly reduces the amount of calculation. At the same time, the G(Q) and H(S) functions can help to more finely distinguish the value of different sources and provide richer information for subsequent scheduling decisions.
[0036] Finally, for the storage of calculation results. Given the importance and access frequency of data, a distributed database system such as Apache Cassandra or Amazon DynamoDB can be used. These systems can provide high availability, scalability, and fast read and write performance. At the same time, a strict data backup and recovery strategy needs to be implemented, such as real-time synchronous replication to an off-site data center and regular full backup to ensure data security and integrity.
[0037] At step S202, the pressure index is calculated according to the inventory status, the scheduling strategy parameters are dynamically optimized, the original jar weight value and the optimization strategy are integrated, and the scheduling plan is generated by using a heuristic algorithm. This includes: obtaining the original jar inventory data, including the capacity and wine age information of each original jar, and calculating the inventory pressure index based on the original jar inventory data, wherein the inventory pressure index is determined by the ratio of the exponential function to the total storage capacity; according to the inventory pressure index, the scheduling strategy parameters are dynamically optimized using an adaptive parameter adjustment formula; the original jar weight value and the optimized scheduling strategy parameters are integrated to construct a fitness function, and a heuristic algorithm is used to generate multiple candidate scheduling plans based on the fitness function; the candidate scheduling plans are subjected to Monte Carlo simulation, and the plan with the highest reliability is selected as the final intelligent scheduling plan output.
[0038] Specifically, the main responsibility of the evaluation unit in the intelligent dynamic management system for the original jar inventory of Maotai-flavor liquor is to calculate the inventory pressure index, dynamically adjust the scheduling strategy parameters, and generate an intelligent scheduling plan. In the specific implementation process, it is necessary to deeply consider multiple technical details and actual application scenarios to ensure the accuracy and practicality of the evaluation unit.
[0039] First, when calculating the inventory pressure index, it is necessary to accurately obtain the capacity and age information of each original jar. This can be achieved through a database shared with the weight calculation unit. To improve data access efficiency, high-performance in-memory databases such as Redis or MemSQL can be used. These databases can provide millisecond response times to ensure that they will not become a system bottleneck when processing large-scale original jar data.
[0040] Among them, the calculation of inventory pressure index includes: ,
[0041] Among them, P represents the inventory pressure index, represents the capacity of the i-th altar, represents the age of the i-th original jar, Indicates the minimum drinking age. represents the total storage capacity, represents the pressure coefficient, λ∈[0.01, 0.05].
[0042] In practical applications, the selection of the calculation parameter λ of the inventory pressure index can be taken as an example of a large-scale sauce-flavor liquor production enterprise. By analyzing historical inventory data and sales, λ=0.03 can be preliminarily set. This value reflects the company's moderate sensitivity to inventory pressure. The calculation process of the inventory pressure index can be illustrated by a specific calculation example: for example, the company has 1,000 original jars and the total storage capacity C is 100,000 liters. Among them:
[0043] 300 original jars, each with a capacity of 80 liters, aged 3 years
[0044] 400 original jars, each with a capacity of 100 liters, aged 5 years
[0045] 300 original jars, each with a capacity of 120 liters, aged 8 years
[0046] The minimum age is 3 years, and the calculation steps are as follows:
[0047] Calculate the contribution of each group of original altars:
[0048] 3 years old: 300 * 80 * exp(0.03 * (3 - 3)) = 24000
[0049] 5-year-old wine: 400 * 100 * exp(0.03 * (5 - 3)) ≈ 42544.16
[0050] 8 years old: 300 * 120 * exp(0.03 * (8 - 3)) ≈ 42305.71
[0051] Sum and divide by the total storage capacity: P = (24000 + 42544.16 + 42305.71) / 100000 ≈1.0885. This result indicates that the current inventory pressure is slightly higher than the average level (1.0885 > 1), and it may be necessary to speed up the outbound delivery or adjust the production plan. Based on the calculated inventory pressure index, the scheduling strategy parameters need to be adjusted dynamically. Here, the adaptive parameter adjustment formula can be used to dynamically optimize the scheduling strategy parameters, including: ,
[0052] in, represents the adjusted strategy parameters, represents the reference parameter value, Indicates the current inventory pressure index, represents the target inventory pressure index, Indicates the adjustment sensitivity coefficient.
[0053] For example, there is a parameter θ that represents the outbound speed, and its baseline value is = 100 (unit: liter / day). Set ω = 0.5, current P = 1.0885, = 1, then: = 100 * (1 + 0.5 * ln(1.0885 / 1)) ≈104.24, which means that the outbound speed should be increased to about 104.24 liters / day to alleviate the current inventory pressure.
[0054] When generating intelligent scheduling solutions, it is necessary to comprehensively consider the original weights and the adjusted policy parameters. Here, heuristic algorithms such as genetic algorithms or simulated annealing algorithms can be used. Taking genetic algorithms as an example, a fitness function can be designed to evaluate the pros and cons of each scheduling solution:
[0055] ,in and are the weight and volume of the ith scheduled original altar, is the actual outbound speed achieved by the solution, It is the inventory pressure index predicted after the scheduling plan is executed, and k1, k2, and k3 are weight coefficients.
[0056] In practical applications, parallel computing technology can be used to accelerate the execution of genetic algorithms. For example, NVIDIA Tesla V100 GPU and CUDA parallel computing framework can be used to parallelize population evaluation and genetic operations, thereby generating high-quality scheduling solutions in a short time.
[0057] In order to further improve the reliability of the scheduling scheme, Monte Carlo simulation technology can be introduced. Specifically, for each candidate scheduling scheme, multiple random simulations can be performed to consider the impact of uncertain factors such as market demand fluctuations and production plan changes. This can be achieved through the following formula:
[0058] R reliability = Σ(I(F fitness > F threshold) / N sim), where I(·) is an indicator function, which is 1 when the condition is met and 0 otherwise. F threshold is the preset fitness threshold, and N sim is the number of simulations. This reliability index can help select a scheduling solution that performs well in different situations.
[0059] In the actual deployment of the evaluation unit, it is necessary to consider the reasonable allocation of computing resources. Containerization technologies, such as Docker and Kubernetes, can be used to achieve elastic scaling of the evaluation unit. When inventory pressure is high or market fluctuations are drastic, the system can automatically add computing nodes to ensure that a large number of evaluation and optimization calculations are completed in a short time.
[0060] In addition, the evaluation unit should also have self-diagnosis and tuning capabilities. A meta-evaluation module can be designed to regularly analyze the performance indicators of the evaluation unit, such as calculation time, solution quality, prediction accuracy, etc. When performance degradation is found, the parameter recalibration process can be automatically triggered, such as using the Bayesian optimization algorithm to adjust key parameters such as λ and ω to adapt to the changing market environment and inventory status.
[0061] Through the above implementation plan, the evaluation unit can accurately calculate inventory pressure, flexibly adjust strategy parameters, and generate high-quality intelligent scheduling solutions.
[0062] At step S203, the generated scheduling scheme is implemented, the original altar scheduling operation is performed, the operation results and market feedback data are recorded, the machine learning model is applied to analyze the feedback information, and the parameters of the dynamic weight calculation model and the pressure adaptive scheduling strategy are automatically optimized. This includes: executing the generated scheduling scheme, accurately moving and positioning the original altar through the automated warehousing system, and using the real-time monitoring and emergency processing module to identify and respond to abnormal situations; using real-time data stream processing technology to record the scheduling operation results, and collecting market feedback data through integration with the sales system, and calculating key performance indicators in real time; applying the machine learning model to analyze the feedback information, modeling the inventory management process as a Markov decision process, and using the deep Q network algorithm to learn the optimal strategy; based on the learning results, automatically optimizing the parameters of the dynamic weight calculation model and the pressure adaptive scheduling strategy.
[0063] Specifically, the intelligent scheduling scheme generated by the evaluation unit is put into practice, and the system performance is continuously optimized through feedback analysis. In the specific implementation process, multiple links such as scheduling execution, data recording, feedback analysis and parameter optimization need to be considered in depth to ensure the efficient operation and continuous improvement of the system.
[0064] First, when implementing the intelligent scheduling plan, the feasibility and efficiency of the actual operation need to be considered. Automated warehousing systems such as stackers and automated guided vehicles (AGVs) can be introduced to achieve precise movement and positioning of the original altar. For example, Siemens' Simatic S7-1500 PLC system can be used to control the stacker, and KUKA's KMP 1500 automated guided vehicle can be used to achieve flexible transportation of the original altar. These devices can be connected to the central control system via industrial Ethernet to achieve real-time command issuance and status feedback.
[0065] During the scheduling execution process, it is necessary to take into account possible abnormal situations, such as equipment failure, broken altar, etc. For this purpose, a real-time monitoring and emergency handling module can be designed. This module can use a rule-based expert system to quickly identify and respond to abnormal situations. For example, when it is detected that the AGV running path is accidentally blocked, the system can automatically calculate an alternative path, or suspend the relevant scheduling tasks and issue a request for manual intervention when necessary. This expert system can be represented by the following pseudo code:
[0066] IF detectedException(ExceptionType, ExceptionParameters)
[0067] CASE Exception Type OF
[0068] Device failure: Execute device failure handling process (device ID, failure type)
[0069] Original altar damaged: Execute the original altar damage handling process (original altar ID, damage degree)
[0070] Path blocking: perform path replanning (current position, target position) ...
[0072] END CASE
[0073] IF cannot be automatically resolved
[0074] Send manual intervention request (exception details)
[0075] END IF
[0076] END IF
[0077] In terms of recording scheduling results and market feedback data, real-time data stream processing technology can be used. For example, Apache Kafka can be used as a message queue to push various events generated during the scheduling execution process (such as original altar movement, outbound delivery, quality inspection, etc.) to the data processing pipeline in real time. Then Apache Flink is used for streaming data processing to calculate key performance indicators (KPIs) in real time, such as scheduling completion rate, original altar turnover rate, inventory pressure changes, etc.
[0078] The collection of market feedback data can be achieved through deep integration with the sales system. For example, a mobile application can be developed for sales staff to input feedback information in real time at the customer site, such as taste evaluation, customer satisfaction, etc. This data can be transmitted to the backend server in real time via the WebSocket protocol, ensuring that the system can respond quickly to market changes.
[0079] In order to make full use of this data for system optimization, a machine learning algorithm can be introduced to analyze the feedback information and automatically fine-tune the parameters of the dynamic wine age weight adjustment algorithm and the inventory pressure adaptive scheduling strategy. Here, the reinforcement learning method can be used to model the entire inventory management process as a Markov decision process (MDP). Specifically, it can be defined as:
[0080] State space S: includes the age, capacity, quality, market demand, inventory pressure and other information of each original jar;
[0081] Action space A: includes adjusting weight parameters α, β, γ, and scheduling strategy parameters λ, ω, etc.
[0082] Reward function R: weighted based on indicators such as inventory turnover, customer satisfaction, and profit margin.
[0083] Then, the Deep Q Network (DQN) algorithm can be used to learn the optimal policy. The core of DQN is a deep neural network that is used to approximate the action-value function Q(s, a). The network structure can be designed as follows:
[0084] Input layer: state vector s, including original information and market data;
[0085] Hidden layer 1: 256 neurons, using ReLU activation function;
[0086] Hidden layer 2: 128 neurons, using ReLU activation function;
[0087] Output layer: corresponds to the Q value of each possible action in the action space A.
[0088] During the training process, the ε-greedy strategy can be used to balance exploration and exploitation. As the training progresses, the ε value is gradually reduced so that the system is more inclined to choose the action that is currently considered optimal. The training algorithm can be expressed as:
[0089] Initialize experience replay memory D
[0090] Initialize the action value network Q and the target network Q'
[0091] FOR EACH TURN:
[0092] Initialization state
[0093] WHILE Round not over:
[0094] Choose a random action a with probability ε, otherwise choose a = argmax_a Q(s, a)
[0095] Perform action a, observe reward r and new state s'
[0096] Store the experience (s, a, r, s') in D
[0097] Randomly sample a batch of experiences from D
[0098] Calculate the target value for each sample (s_j, a_j, r_j, s_j'):
[0099] y_j = r_j + γ * max_a' Q'(s_j', a')
[0100] Use (y_j - Q(s_j, a_j))^2 as the loss function and update the Q network
[0101] Update the Q' network parameters every C steps
[0102] s = s'
[0103] END WHILE
[0104] END FOR
[0105] In practical applications, you can use deep learning frameworks such as TensorFlow or PyTorch to implement the DQN algorithm. To improve training efficiency, you can use distributed training techniques such as the Horovod framework to train models in parallel on multiple GPUs or multiple servers.
[0106] In addition, in order to cope with the long-term trend of the Maotai-flavor liquor market, time series analysis technology can be introduced. For example, the ARIMA (autoregressive integrated moving average) model can be used to predict future market demand trends. The ARIMA model can be expressed as: ARIMA(p, d, q): φ(B)(1-B)^d X t = θ(B)ε t, where B is the lag operator, φ(B) is the autoregressive polynomial, θ(B) is the moving average polynomial, and d is the difference order.
[0107] During the training process, the ε-greedy strategy can be used to balance exploration and exploitation. As the training progresses, the ε value is gradually reduced so that the system is more inclined to choose the action that is currently considered optimal. The training algorithm can be expressed as:
[0108] Initialize experience replay memory D
[0109] Initialize the action value network Q and the target network Q'
[0110] FOR EACH TURN:
[0111] Initialization state
[0112] WHILE Round not over:
[0113] Choose a random action a with probability ε, otherwise choose a = argmax_a Q(s, a)
[0114] Perform action a, observe reward r and new state s'
[0115] Store the experience (s, a, r, s') in D
[0116] Randomly sample a batch of experiences from D
[0117] Calculate the target value for each sample (s_j, a_j, r_j, s_j'):
[0118] y_j = r_j + γ * max_a' Q'(s_j', a')
[0119] Use (y_j - Q(s_j, a_j))^2 as the loss function and update the Q network
[0120] Update the Q' network parameters every C steps
[0121] s = s'
[0122] END WHILE
[0123] END FOR
[0124] In practical applications, you can use deep learning frameworks such as TensorFlow or PyTorch to implement the DQN algorithm. To improve training efficiency, you can use distributed training techniques such as the Horovod framework to train models in parallel on multiple GPUs or multiple servers.
[0125] In addition, in order to cope with the long-term trend of the Maotai-flavor liquor market, time series analysis technology can be introduced. For example, the ARIMA (Autoregressive Integrated Moving Average) model can be used to predict future market demand trends. The ARIMA model can be expressed as: ARIMA(p, d, q): φ(B)(1-B)^d X_t = θ(B)ε_t, where B is the lag operator, φ(B) is the autoregressive polynomial, θ(B) is the moving average polynomial, and d is the difference order.
[0126] By analyzing historical sales data, we can determine the appropriate p, d, and q parameters. For example, if we get the ARIMA(2,1,1) model, we can express it as: (1 - φ_1B - φ_2B^2)(1-B)X_t = (1 + θ_1B)ε_t, where φ_1, φ_2, and θ_1 are the parameters that need to be estimated. We can use the maximum likelihood estimation method to determine the values of these parameters.
[0127] Combined with the prediction results of the ARIMA model, the decision-making process of the reinforcement learning algorithm can be further optimized. Specifically, the predicted market demand trend can be used as part of the state space, allowing the system to prepare for future demand changes in advance.
[0128] In order to ensure the interpretability and controllability of the system, a human-machine collaboration mechanism can also be introduced. For example, a visual dashboard can be designed to display the system's operating status, decision-making basis, and prediction results in real time. Managers can monitor system performance through this dashboard and perform manual intervention when necessary. Manual intervention can be recorded as additional training data for reinforcement learning algorithms, thereby achieving continuous optimization of human-machine collaboration.
[0129] Finally, in order to ensure the security of data and the reliability of the system, strict security measures need to be implemented. This includes:
[0130] Data encryption: Use high-strength encryption algorithms such as AES-256 to protect sensitive data;
[0131] Access control: Implement role-based access control (RBAC) to ensure that only authorized personnel can access critical functions;
[0132] Audit log: records all key operations for easy tracking and analysis;
[0133] Disaster recovery backup: Use off-site real-time backup and regular snapshots to ensure data recoverability;
[0134] Intrusion detection: Deploy an intrusion detection system (IDS) to promptly detect and respond to potential security threats.
[0135] Through the above detailed implementation plan, the dispatch unit can efficiently execute the intelligent dispatch plan, accurately record the dispatch results and market feedback, and continuously optimize the system performance through machine learning algorithms. This can not only improve the efficiency of the original jar inventory management of Maotai-flavor liquor, but also help enterprises better respond to market changes and improve their overall competitiveness.
[0136] In summary, the present application discloses an intelligent inventory and dynamic management system for the original jar inventory of Maotai-flavor liquor. The technical problems of intelligent scheduling and inventory backlog of original jar inventory of Maotai-flavor liquor to be solved by this solution are solved by the technical means of dynamic wine age weight adjustment algorithm and inventory pressure adaptive scheduling strategy. This solution realizes the intelligent inventory and dynamic management of the original jar inventory of Maotai-flavor liquor by dynamically adjusting the original jar weight and adaptive scheduling strategy. Furthermore, in some embodiments, by introducing a deep reinforcement learning algorithm, the parameter selection and scheduling strategy generation of the dynamic wine age weight adjustment algorithm can be continuously optimized. Furthermore, in some embodiments, by combining blockchain technology, the traceability of the original jar information and the transparency of the scheduling process can be improved, while ensuring the security and non-tamperability of the data.
[0137] Furthermore, an embodiment of the present application also provides an intelligent inventory and dynamic management device for the original jars of Maotai-flavor liquor, comprising: a processor, a memory, and a system bus; the processor and the memory are connected via the system bus; the memory is used to store one or more programs, and the one or more programs include instructions, which, when executed by the processor, enable the processor to execute any of the above methods.
[0138] Furthermore, an embodiment of the present application also provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute any of the above methods.
[0139] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0140] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0141] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0142] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An intelligent inventory and dynamic management system for the original jars of Maotai-flavor liquor, characterized in that: include: Weight calculation unit, evaluation unit and scheduling unit; wherein, The weight calculation unit is used to obtain the original jar parameter information, and based on the time data and demand data, calculate the original jar weight value by applying the dynamic wine age weight adjustment algorithm, and store the calculation result in the distributed database; including: using the wine quality detection instrument to collect quality parameters, recording the wine age based on the high-precision time server, and collecting market demand data through the enterprise resource planning system; applying the preset dynamic wine age weight adjustment algorithm, according to the original jar wine age, the best wine age and the current date, calculate the initial weight value; the dynamic wine age weight adjustment algorithm includes: ,in, represents the weight of the wine age t, Indicates the best age for wine. Indicates the current date, represents the adjustment parameter, ; The evaluation unit is used to calculate the pressure index according to the inventory status, dynamically optimize the scheduling strategy parameters, integrate the original weight value and the optimization strategy, and generate the scheduling plan using the heuristic algorithm; The scheduling unit is used to implement the generated scheduling plan, perform the original jar scheduling operation, record the operation results and market feedback data, apply the machine learning model to analyze the feedback information, and automatically optimize the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters.
2. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 1 is characterized in that: Also includes: The weight values are stored in a distributed database system, and a data backup and recovery strategy is implemented, including real-time synchronous replication to off-site data centers and / or regular full backup.
3. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 1 is characterized in that: in, Calculate the pressure index based on inventory status, dynamically optimize scheduling strategy parameters, integrate the original weight value and optimization strategy, and use heuristic algorithms to generate scheduling solutions, including: Obtaining original jar inventory data, including the capacity and wine age information of each original jar, and calculating an inventory pressure index based on the original jar inventory data, wherein the inventory pressure index is determined by the ratio of an exponential function to the total storage capacity; According to the inventory pressure index, the scheduling strategy parameters are dynamically optimized using an adaptive parameter adjustment formula; Integrate the original weight value and the optimized scheduling strategy parameters to construct a fitness function, and use a heuristic algorithm to generate multiple candidate scheduling solutions based on the fitness function; wherein the fitness function includes: ,in, and Indicates The weights and parameters of the scheduled altars, Indicates the strategy parameters actually achieved by the solution, represents the adaptively adjusted strategy parameters, It represents the estimated pressure index after executing the scheduling plan. represents the target pressure index, represents the weight coefficient; A Monte Carlo simulation is performed on the candidate scheduling schemes, and the scheme with the highest reliability is selected as the final intelligent scheduling scheme output.
4. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 3 is characterized in that: in, Calculate the inventory pressure index, including: , Among them, P represents the inventory pressure index, represents the capacity of the i-th altar, represents the age of the i-th original jar, Indicates the minimum drinking age. represents the total storage capacity, represents the pressure coefficient, λ∈[0.01, 0.05].
5. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 1 is characterized in that: in, Implement the generated scheduling plan, perform the original jar scheduling operation, record the operation results and market feedback data, apply the machine learning model to analyze the feedback information, and automatically optimize the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters, including: Execute the generated dispatch plan, accurately move and locate the original altar through the automated storage system, and use the real-time monitoring and emergency processing modules to identify and respond to abnormal situations; Use real-time data stream processing technology to record the results of scheduling operations, collect market feedback data through integration with the sales system, and calculate key performance indicators in real time; wherein the key performance indicators include scheduling completion rate, original jar turnover rate and / or inventory pressure changes; Apply machine learning models to analyze feedback information, model the inventory management process as a Markov decision process, and use deep Q-network algorithms to learn the optimal strategy; Based on the learning results, the dynamic wine age weight adjustment algorithm and the scheduling strategy parameters are automatically optimized.
6. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 2 is characterized in that: in, Before storing the weight value in the distributed database system, it also includes: The weights are adjusted based on the calculation frequency, the original altar capacity and the quality score by using a hierarchical calculation strategy; wherein the adjustment includes: ,in, express The parameters adjusted at all times, express The parameters before the moment adjustment, represents the calculation interval, Indicates the original altar capacity, represents the average capacity, represents the capacity standard deviation, Indicates the original altar quality rating, Indicates the lowest rating. Indicates the highest rating. Represents the impact factor.
7. The intelligent inventory counting and dynamic management system for original jars of Maotai-flavor liquor according to claim 3, wherein: Use adaptive parameter adjustment formulas to dynamically optimize scheduling strategy parameters, including: , in, represents the adjusted strategy parameters, represents the reference parameter value, Indicates the current inventory pressure index, represents the target inventory pressure index, Indicates the adjustment sensitivity coefficient.
