A tobacco raw material warehouse inventory disposal method and apparatus

CN122529634APending Publication Date: 2026-08-07CHINA TOBACCO JIANGSU INDAL
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA TOBACCO JIANGSU INDAL
Filing Date
2026-05-12
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0004]上述技术方案的主要缺陷在于:风险识别严重滞后;无法精准定位虽库龄未超限但实际已功能性积压的原料;处置依赖事后被动响应,处置效率低、成本高且易引发次生问题

Benefits of technology

[0010]本申请实施例提供了一种烟叶原料库存处置方法,该方法包括:首先获取各卷烟规格类型对应的叶组配方圈存明细数据、历史生产耗用数据、批发价格分类数据以及配方年度维护次数数据,各类片烟原料对应的库存数据以及在配方替换过程中的使用记录数据;进而,基于叶组配方圈存明细数据和历史生产与耗用数据,确定各卷烟规格类型对各类片烟原料的配方需求,并基于各类片烟原料的库存数据与配方需求,确定片烟原料总库存与全部卷烟规格类型配方需求之间的匹配度属性,进一步的,当匹配度属性不满足匹配度阈值条件时,基于批发价格分类数据、配方年度维护次数数据、使用记录数据和库存数据,从各类片烟原料中确定待调整片烟原料,从而,对待调整片烟原料,基于待调整片烟原料的库存数据,预设卷烟品类中最低产量品规卷烟的生产耗用数据,确定对待调整片烟原料采取的处置策略;其中,处置策略包括将待调整片烟原料列入用于二次组合加工的组合加工序列以提前消耗,或提高待调整片烟原料的使用优先级。本申请的技术方案,实现了对烟叶库存时间价值与使用价值的动态评估、对功能性积压原料的精准识别以及处置路径的主动差异化规划,解决了现有技术中风险识别严重滞后、无法精准定位虽库龄未超限但实际已功能性积压的原料、以及处置依赖事后被动响应所导致的处置效率低成本高的问题,提升了烟叶库存风险的事前预警能力、精准定位能力和智能处置决策效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122529634A_ABST
    Figure CN122529634A_ABST
Patent Text Reader

Abstract

The application provides a tobacco leaf raw material inventory disposal method and device, obtains leaf group formula circle storage detail data of each cigarette specification type, historical production and consumption data, wholesale price classification data and formula annual maintenance frequency data, inventory data of various types of cut tobacco raw materials and use record data in the formula replacement process; based on the leaf group formula circle storage detail data and the historical production and consumption data, the formula demand of each cigarette specification type for each type of cut tobacco raw material is determined, and the matching degree attribute between the total inventory of cut tobacco raw materials and the formula demand of all cigarette specification types is determined; when the matching degree attribute does not satisfy the matching degree threshold condition, the cut tobacco raw material to be adjusted is determined; based on the inventory data of the cut tobacco raw material to be adjusted, the production and consumption data of the minimum output specification cigarette in the cigarette category are preset, and the disposal strategy adopted for the cut tobacco raw material to be adjusted is determined, which improves the pre-warning ability, accurate positioning ability and intelligent disposal decision efficiency of the tobacco leaf inventory risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cigarette production technology, and in particular to a method and apparatus for disposing of tobacco raw material inventory. Background Technology

[0002] Currently, in the production and operation of cigarette manufacturing enterprises, tobacco raw materials are a life-cycle sensitive asset. Their value increases first and then decreases with the aging cycle. At the same time, their industrial applicability dynamically declines due to changes in aging and matching with the target formula. Once stagnation and stockpiling occur, it will cause capital occupation, value loss and disrupt the rhythm of the supply chain.

[0003] Currently, inventory management typically employs a fixed age threshold, setting uniform time warning lines for all tobacco raw materials and combining this with qualitative assessments of industrial applicability based on human experience. Simultaneously, exceeding the age limit and declining applicability are treated as two separate issues. Only when tobacco leaves become substantially stockpiled or the formula becomes unusable are the warehousing or production departments temporarily initiate passive measures such as downgrading or reporting losses.

[0004] The main drawbacks of the above technical solutions are: the risk identification is severely delayed; it is impossible to accurately locate raw materials that are functionally stockpiled even though their storage age has not exceeded the limit; and the disposal relies on reactive response after the fact, which is inefficient, costly, and prone to causing secondary problems. Summary of the Invention

[0005] This application provides a method and apparatus for disposing of tobacco raw material inventory, which enables dynamic assessment of the time value and use value of tobacco inventory, accurate identification of functional stockpiled raw materials, and proactive differentiated planning of disposal paths, thereby improving the early warning capability, accurate positioning capability, and intelligent disposal decision-making efficiency of tobacco inventory risk.

[0006] In a first aspect, embodiments of this application provide a method for disposing of tobacco raw material inventory, the method comprising: Acquire detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement. Based on the leaf group formula inventory details and the historical production and consumption data, the formula requirements of each cigarette specification type for each type of raw tobacco leaf are determined. Based on the inventory data of each type of raw tobacco leaf and the formula requirements, the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications is determined. When the matching degree attribute does not meet the matching degree threshold condition, the tobacco raw materials to be adjusted are determined from various tobacco raw materials based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data. For the raw tobacco leaves to be adjusted, based on the inventory data of the raw tobacco leaves to be adjusted, the production consumption data of the lowest-volume cigarette category is preset, and the disposal strategy for the raw tobacco leaves to be adjusted is determined; wherein, the disposal strategy includes including the raw tobacco leaves to be adjusted in the combination processing sequence for secondary combination processing to consume in advance, or increasing the usage priority of the raw tobacco leaves to be adjusted.

[0007] Secondly, embodiments of this application also provide a tobacco raw material inventory disposal device, the device comprising: The cigarette data acquisition module is used to acquire detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, annual formula maintenance frequency data, inventory data of various types of tobacco raw materials, and usage record data during formula replacement. The matching degree attribute determination module is used to determine the formula requirements of each cigarette specification type for each type of raw tobacco leaf based on the leaf group formula inventory details data and the historical production and consumption data, and to determine the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications based on the inventory data of each type of raw tobacco leaf and the formula requirements. The raw material to be adjusted module is used to determine the raw material to be adjusted from various types of raw tobacco products based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data when the matching degree attribute does not meet the matching degree threshold condition. The disposal strategy determination module is used to determine the disposal strategy for the raw tobacco to be adjusted based on the inventory data of the raw tobacco to be adjusted and the production consumption data of the lowest-yield cigarette specification in the cigarette category. The disposal strategy includes including including the raw tobacco to be adjusted in the combination processing sequence for secondary combination processing to consume it in advance, or increasing the usage priority of the raw tobacco to be adjusted.

[0008] Thirdly, embodiments of this application also provide an electronic device, which includes: One or more processors; Storage device for storing one or more programs. When one or more programs are executed by one or more processors, the one or more processors implement a tobacco raw material inventory disposal method as described in any of the embodiments of this application.

[0009] Fourthly, embodiments of this application also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a tobacco raw material inventory disposal method as described in any of the embodiments of this application.

[0010] This application provides a method for disposing of tobacco raw material inventory. The method includes: first, acquiring detailed inventory data of leaf blend formulas for each cigarette specification type, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data, as well as inventory data for various types of sheet tobacco raw materials and usage records during formula replacement; then, based on the detailed inventory data of leaf blend formulas and historical production and consumption data, determining the formula requirements for various types of sheet tobacco raw materials for each cigarette specification type, and based on the inventory data and formula requirements of various sheet tobacco raw materials, determining the relationship between the total inventory of sheet tobacco raw materials and the formula requirements for all cigarette specifications. Furthermore, when the matching degree attribute does not meet the matching degree threshold condition, based on wholesale price classification data, annual formula maintenance frequency data, usage record data, and inventory data, the raw materials to be adjusted are determined from various types of raw tobacco leaves. Then, based on the inventory data of the raw materials to be adjusted, and the production consumption data of the lowest-yield cigarette category, the disposal strategy for the raw materials to be adjusted is determined. The disposal strategy includes including including the raw materials to be adjusted in the combination processing sequence for secondary processing to consume them in advance, or increasing the usage priority of the raw materials to be adjusted. The technical solution of this application realizes dynamic assessment of the time value and use value of tobacco leaf inventory, accurate identification of functionally stockpiled raw materials, and proactive differentiated planning of disposal paths. It solves the problems of severely lagging risk identification, inability to accurately locate raw materials that are functionally stockpiled even though their storage age has not exceeded the limit, and high disposal efficiency and cost caused by reliance on reactive post-event responses in existing technologies. It improves the pre-warning capability, accurate location capability, and intelligent disposal decision-making efficiency of tobacco leaf inventory risks. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the exemplary embodiments of this application, the accompanying drawings used in describing the embodiments are briefly introduced below. Obviously, the accompanying drawings described are only a portion of the embodiments to be described in this application, and not all of them. For those skilled in the art, other drawings can be obtained from these drawings without any creative effort.

[0012] Figure 1 This is a schematic flowchart illustrating a method for disposing of tobacco raw material inventory provided in an embodiment of this application. Figure 2 This is a schematic flowchart illustrating another method for disposing of tobacco raw material inventory provided in an embodiment of this application. Figure 3 This is a flowchart illustrating another method for disposing of tobacco raw material inventory provided in an embodiment of this application; Figure 4 This is a flowchart illustrating another method for disposing of tobacco raw material inventory provided in an embodiment of this application; Figure 5 This is a flowchart illustrating another method for disposing of tobacco raw material inventory provided in an embodiment of this application; Figure 6 This is a schematic diagram of a tobacco raw material storage and disposal device provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0013] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present application, not the entire structure.

[0014] Before introducing the technical solutions provided in this application, the application scenarios of the solutions can be explained first. This embodiment is applicable to various cigarette production management scenarios that require proactive early warning and differentiated handling of tobacco leaf inventory. Currently, although early warning methods based on fixed storage age thresholds or applicability assessments based on human experience are widely used in inventory risk management, traditional methods have obvious limitations. In practical applications, due to the characteristics of tobacco leaf raw materials such as life cycle sensitivity, value increasing and decreasing with the aging cycle, and industrial applicability dynamically changing with extended storage time and formula adjustments, and the need for inventory management to take into account multiple complex factors such as the occupancy of multiple types of raw materials, formula replacement history, and differentiated needs of multiple grades of cigarettes, traditional early warning methods are difficult to comprehensively quantify the dual risks of time value and use value at the global level, which can easily lead to problems such as delayed risk identification, difficulty in locating functional stockpiled raw materials, and passive response of disposal mechanisms. Therefore, there is an urgent need for an early warning and disposal method that can integrate inventory data, production consumption data, formula maintenance data, and replacement record data, and comprehensively consider inventory year, matching degree attributes, and low-yield product consumption capacity, in order to improve the accuracy of pre-identification of tobacco inventory risks and the proactive planning capability of disposal paths.

[0015] Example 1 Figure 1 This is a flowchart illustrating a method for disposing of tobacco raw material inventory provided in an embodiment of this application. This embodiment is applicable to various situations in cigarette production management that require proactive early warning and intelligent disposal of tobacco inventory. The method can be executed by a tobacco raw material inventory disposal device, which can be implemented in the form of software and / or hardware. The hardware can be a controller, such as a mobile terminal, PC, or server.

[0016] like Figure 1 As shown, the method for disposing of tobacco raw material inventory provided in this embodiment of the invention includes the following steps: S110. Obtain detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement.

[0017] Cigarette specification types refer to different product categories classified according to the quality characteristics, market positioning, or differences in production processes of cigarette products. Each specification type corresponds to a specific cigarette brand and specification with a unique formula composition. Leaf blend formula inventory details refer to a detailed data set that is reserved in advance to ensure the normal production of each cigarette specification type, recording the composition and quantity information of each component in the leaf blend formula. This includes the number of inventory batches confirmed as official formulas, the number of inventory batches of formulas in the preparation stage, the amount of raw materials added per batch for each formula inventory, and the number and usage ratio of specific tobacco raw material grade modules used in each formula inventory.

[0018] Historical production consumption data refers to a collection of historical statistical information recording the actual amount of tobacco raw materials consumed in the cigarette production process for each cigarette specification type over a past period. This includes the average monthly production volume of each cigarette specification, the amount of tobacco consumed per carton, and the monthly consumption of various types of leaf tobacco raw materials. Wholesale price classification data refers to the classification information that categorizes cigarettes according to the range of wholesale prices of finished cigarettes for each cigarette specification type, dividing cigarette specifications into three categories: high-end, mid-range, and low-end cigarettes. Formula annual maintenance frequency data refers to the statistical information on the maintenance and updating of leaf blend formulas for each cigarette specification type within a specified annual cycle, specifically the average annual number of times a preliminary formula is confirmed as a formal formula.

[0019] Among them, sheet tobacco raw materials refer to tobacco leaves that have undergone threshing and re-drying and exist in sheet form. They are the basic unit constituting the cigarette leaf blend, and different categories of sheet tobacco raw materials are formed by combining urban production areas and major grades of tobacco leaves. Inventory data refers to statistical information recording the quantity and storage year of various types of sheet tobacco raw materials stored in the warehouse, including the total inventory quantity at the end of the previous month, as well as the year of each sheet tobacco raw material, the quantity occupied by formal blending, and the quantity available for formal blending and use excluding the quantity occupied by blending.

[0020] Among them, the usage record data in the formula replacement process refers to the dynamic historical information of various tobacco raw materials being adopted, retained or replaced in the process of the cigarette formula changing from the preparatory state to the formal state. Specifically, it includes whether a certain tobacco raw material appears in the preparatory formula of a certain specification of cigarette, the usage ratio in the preparatory formula, and whether the usage ratio of the tobacco raw material becomes zero after the formula is changed to the formal formula.

[0021] Specifically, at the initial stage of implementing the tobacco raw material inventory disposal method, the following can be retrieved from the formula management module of the cigarette production management system: details of the pre-stocked leaf group formula composition and the number of batches in stock for each cigarette specification; the actual tobacco consumption for each cigarette specification in the past production cycle can be retrieved from the historical consumption records of the production execution system; the grade classification information corresponding to the wholesale price range of each cigarette specification can be retrieved from the product pricing system; the average frequency of confirming the pre-formula formula as the official formula for each cigarette specification in a specified year can be counted from the formula maintenance log; at the same time, the quantity and year information of various types of tobacco raw materials stored in the warehouse can be retrieved from the warehouse management system; and the historical records of the use or replacement of various types of tobacco raw materials during the process of formula transitioning from the pre-formula state to the official state can be retrieved from the formula change records.

[0022] S120. Based on the detailed data of leaf group formula inventory and historical production and consumption data, determine the formula requirements of each cigarette specification type for various types of raw materials, and based on the inventory data and formula requirements of various raw materials, determine the matching degree attribute between the total inventory of raw materials and the formula requirements of all cigarette specifications.

[0023] Among them, the formulation requirements of various tobacco raw materials for each cigarette specification type refer to the quantitative expression of the required quantity and proportion of various tobacco raw materials for the leaf blend formulation of that specification type under the premise of ensuring normal production of a specific cigarette specification. This requirement can be characterized by the guaranteed production cycle. The longer the guaranteed production cycle, the more abundant the total stock of the formulation of that specification type is relative to its production speed, that is, the higher the degree of demand satisfaction. The shorter the guaranteed production cycle, the more tight the total stock of the formulation of that specification type is, that is, the greater the demand gap.

[0024] The matching degree attribute refers to the quantitative score of the overall fit between the total inventory of tobacco raw materials and the formulation requirements of all cigarette specifications. The higher the matching degree attribute, the more coordinated the supply capacity of the total tobacco inventory is with the actual demand of each specification formulation; the lower the matching degree attribute, the more severe the imbalance between overall supply and demand.

[0025] Specifically, for each cigarette specification type, the number of official formula batches, the number of reserve formula batches, the amount of raw materials per batch, and the amount of tobacco leaves consumed per carton can be extracted from the leaf blend formula inventory details for each specification type. At the same time, the average monthly production volume of each specification type can be extracted from the historical production consumption data. These data are processed according to preset calculation rules to calculate the duration for which the current inventory of leaf blend formulas for each specification type can guarantee continuous production of that specification type. This duration is used as an indicator to quantify the demand of each specification type for various types of tobacco raw materials. Furthermore, the total inventory of tobacco raw materials at the end of the previous month can be calculated from the inventory data of various tobacco raw materials, and the average monthly tobacco consumption over the past twelve months can be calculated from historical production consumption data. The total inventory of tobacco raw materials and the average monthly tobacco consumption are then used to calculate the total cycle that the total tobacco inventory can guarantee for cigarette production. Then, the difference between the guaranteed production cycle for each cigarette specification type and this total cycle is calculated. Based on the different ranges of each difference, the corresponding score is deducted sequentially from 100% as the initial benchmark value. The final value obtained is the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications.

[0026] S130. When the matching degree attribute does not meet the matching degree threshold condition, the raw materials to be adjusted are determined from various types of tobacco raw materials based on wholesale price classification data, annual formula maintenance frequency data, usage record data and inventory data.

[0027] The matching degree threshold is a dividing standard used to determine whether the matching degree attribute between the current total inventory of tobacco raw materials and the formulation requirements of all cigarette specifications is within a normal range. When the matching degree attribute is greater than the threshold, it indicates that the overall inventory and demand are basically matched and no special treatment is needed for the tobacco raw materials; when the matching degree attribute is less than or equal to the threshold, it indicates that there is a significant imbalance between the overall inventory and demand, and further identification of which specific tobacco raw materials caused this imbalance is required. Optionally, the matching degree threshold can be a matching degree attribute greater than 60%.

[0028] Among them, the tobacco raw materials to be adjusted refer to those tobacco raw materials selected from all types of tobacco raw materials that have low applicability due to their performance in the process of formula replacement or their inventory years and need to be disposed of first.

[0029] Specifically, when the matching degree between the total inventory of raw tobacco flakes and the formula requirements of all cigarette specifications is lower than or equal to the preset threshold, all cigarette specifications can be divided into three categories: high-end cigarettes, mid-range cigarettes, and low-end cigarettes based on wholesale price classification data. Then, based on the annual formula maintenance frequency data, the average annual number of times each cigarette specification confirms the prepared formula as the official formula within a specified annual cycle is determined. Next, for each type of raw tobacco flake, its usage record data in the formula replacement process is retrieved to statistically analyze the replacement frequency of the raw tobacco flake by high-end cigarette formulas, mid-range cigarette formulas, and low-end cigarette formulas, respectively. The inventory data of the raw tobacco flake is retrieved to obtain the raw tobacco flake's own year and the range of years in which the raw tobacco flake was reserved to ensure cigarette production. Finally, the obtained data are compared with their respective judgment criteria, and raw tobacco flakes that meet any judgment criterion are marked as raw tobacco flakes to be adjusted, so as to accurately identify the objects with low applicability that need to be dealt with in particular from all raw tobacco flakes.

[0030] S140. For the raw materials of the tobacco to be adjusted, based on the inventory data of the raw materials of the tobacco to be adjusted, the production consumption data of the lowest output specification of cigarettes in the cigarette category is preset, and the disposal strategy to be adopted for the raw materials of the tobacco to be adjusted is determined.

[0031] The pre-defined cigarette categories refer to the pre-classified cigarette grade categories based on wholesale price data, specifically including three fixed categories: high-end cigarettes, mid-range cigarettes, and low-end cigarettes. The minimum production volume cigarette specification refers to the cigarette specification with the smallest annual production volume within the low-end cigarette category of the pre-defined cigarette categories. This specification serves as a benchmark for measuring the consumption rate of raw materials for the tobacco to be adjusted. Production consumption data refers to the relevant statistical information on consumption during the production process of the minimum production volume cigarette specification, specifically including the annual production quantity of this specification, the amount of tobacco consumed per carton of this specification, and the total number of cartons of raw tobacco used in the formula of this specification. This data is used to calculate the average monthly consumption of raw materials for the tobacco to be adjusted relative to this specification of cigarette.

[0032] The disposal strategy refers to the specific treatment plan adopted for the raw tobacco leaves to be adjusted. This plan includes two mutually exclusive treatment methods: one is to include the raw tobacco leaves to be adjusted in the combination processing sequence for secondary combination processing to consume them in advance, and the other is to increase the priority of the raw tobacco leaves to be adjusted.

[0033] The combined processing sequence refers to a production operation queue in which multiple raw materials for adjusting tobacco flakes are gathered together according to preset rules and then recombined into new raw materials for adjusting tobacco flakes that meet specific quality requirements through a secondary combined processing technology. Being included in this sequence means that the raw materials for adjusting tobacco flakes will be centrally reprocessed. Usage priority refers to the order in which the raw materials for adjusting tobacco flakes are selected during the process of confirming the preliminary formula into the official formula for low-grade cigarettes. Increasing the usage priority means that the raw materials for adjusting tobacco flakes will be given priority in the formula confirmation process over other raw materials, allowing them to be gradually consumed through the normal production process.

[0034] Specifically, for each marked raw tobacco leaf to be adjusted, the quantity of the raw tobacco leaf to be adjusted that can be formally stored and used is first extracted from the inventory data of the raw tobacco leaf to be adjusted. The quantity of the raw tobacco leaf to be formally stored and used is equal to the total inventory of the raw tobacco leaf to be adjusted minus the quantity already used for formal formula storage. At the same time, the annual production quantity of the lowest production volume cigarette, the quantity of tobacco leaves consumed per carton, and the total number of cartons of tobacco leaf raw materials used in the formula are extracted from the production consumption data of the lowest production volume cigarette in the preset cigarette category. These data are processed according to preset calculation rules to calculate the average monthly usage of the raw tobacco leaf to be adjusted relative to the lowest production volume cigarette. Then, the quantity of the raw tobacco leaf to be adjusted that can be formally stored and used is compared with twice the average monthly usage. Based on the different branches of the comparison results, the disposal strategy to be adopted for the raw tobacco leaf to be adjusted is determined. Specifically: when the quantity of tobacco raw material to be officially stored and used is less than or equal to twice the average monthly usage, the determined disposal strategy is to include the tobacco raw material to be adjusted in the combination processing sequence for secondary combination processing in order to consume it in advance; when the quantity of tobacco raw material to be officially stored and used is greater than twice the average monthly usage, the determined disposal strategy is to increase the usage priority of the tobacco raw material to be adjusted and designate it for priority use in the process of confirming the pre-formulated formula as the official formula for low-grade cigarettes in the preset cigarette category.

[0035] This application provides a method for disposing of tobacco raw material inventory. It involves acquiring detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, annual formula maintenance frequency data, and inventory data and usage records during formula replacement for each cigarette specification type. Based on this data, it determines the formula requirements of each cigarette specification type for various tobacco raw materials and the matching degree attribute between the total inventory of tobacco raw materials and all formula requirements. When the matching degree attribute does not meet a threshold condition, it identifies tobacco raw materials to be adjusted from various tobacco raw materials. Finally, based on the inventory data of the tobacco raw materials to be adjusted and the production consumption data of the lowest-yield cigarette specification in the preset cigarette category, it determines a disposal strategy to include them in the combined processing sequence or increase their usage priority. The technical solution of this application realizes the dynamic assessment of the time value and use value of tobacco leaf inventory, the accurate identification of functional stockpiled raw materials, and the proactive differentiated planning of disposal paths. It solves the problems of serious lag in risk identification, inability to accurately locate raw materials that are functionally stockpiled even though their storage age has not exceeded the limit, and the high cost and low efficiency of disposal caused by the reliance on passive post-event response in the existing technology. It improves the pre-warning capability, accurate positioning capability, and intelligent disposal decision-making efficiency of tobacco leaf inventory risk.

[0036] Example 2 Figure 2 This is a schematic diagram of a method for disposing of tobacco raw material inventory provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment will provide a more detailed description of step S120. Specific implementation methods can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0037] like Figure 2 As shown, the method specifically includes the following steps: S210. Obtain detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement.

[0038] S220. For each cigarette specification type, based on the leaf group formula inventory details, obtain the number of official formula inventory batches, the number of preliminary formula inventory batches, the quantity of raw materials per batch, and the quantity of tobacco leaves consumed per carton for the current cigarette specification type, and based on historical production consumption data, obtain the average monthly production volume for the current cigarette specification type.

[0039] The term "current cigarette specification type" refers to the cigarette specification type currently being processed. "Formal formula reserve batches" refers to the number of production batches that have been finalized and solidified in the leaf blend formula to ensure the normal production of a specific cigarette specification type; these batches will not be modified. "Reserve formula reserve batches" refers to the number of candidate formula batches pre-designed and reserved for a specific cigarette specification type, which have not yet undergone the final confirmation process. These batches are in a pending review or verification state and may be considered for promotion to formal formulas in subsequent processes.

[0040] Among them, the quantity of raw materials fed per batch refers to the total weight of various types of tobacco leaves required for a single complete production batch in the cigarette production process, according to the leaf blend formula requirements. The quantity of tobacco leaves consumed per carton refers to the actual weight of tobacco leaves consumed in producing one standard unit of finished cigarette carton. The average monthly production volume refers to the average number of cartons of finished cigarettes of a certain specification type produced within a past complete natural monthly period. This value is derived from the statistical average of historical production consumption data.

[0041] Specifically, when processing tobacco raw material inventory, data extraction is performed on a per-cigarette specification type. For the currently processed cigarette specification type, the number of available production batches that have been finalized and solidified in the leaf blend formula is extracted from the collected leaf blend formula inventory details, i.e., the number of official formula inventory batches. At the same time, the number of candidate formula batches that have been pre-designed and reserved but have not yet undergone the final confirmation process is extracted, i.e., the number of reserve formula inventory batches. The total weight of tobacco raw materials required for a single complete production batch of this specification type according to the leaf blend formula requirements is extracted, i.e., the quantity of raw materials fed per batch. The actual weight of tobacco raw materials consumed in producing one standard unit of finished cigarette carton of this specification type is extracted, i.e., the quantity of tobacco consumed per carton. Furthermore, the average number of finished cigarette cartons produced for this specification type in the past complete natural month cycle is extracted from the collected historical production consumption data, i.e., the average monthly production volume. This process is repeated for all cigarette specification types to obtain relevant data for each type.

[0042] S230. Based on the number of batches of formal formula stockpiled, the number of batches of preliminary formula stockpiled, the amount of raw materials fed per batch, the amount of tobacco leaves consumed per carton, and the average monthly production, determine the guaranteed production cycle corresponding to the total stockpiled amount of leaf blend formulas for the current cigarette specification type.

[0043] The guaranteed production cycle refers to the length of time that the current stock of leaf blend formulas can support the continuous production of this specification of cigarettes. This length of time is quantified in calendar months and serves as a core indicator for measuring the adequacy of the formula reserves for this specification type.

[0044] Specifically, the total number of batches of officially approved formulas for a certain cigarette specification can be obtained by adding the number of batches of reserve formulas. Multiplying this total number of batches by the amount of raw materials used per batch for that specification gives the total weight of tobacco leaves that can be used for production from all currently approved formulas for that specification. Dividing this total weight of tobacco leaves by the amount of tobacco leaves consumed per carton for that specification gives the total number of cartons of finished cigarettes that can be produced from the current total approved formulas for that specification. Dividing this total number of cartons of finished cigarettes by the average monthly production for that specification gives the time length in calendar months. This time length is the period during which the current total approved leaf blend formulas for that cigarette specification can guarantee continuous production for that specification. This period value directly reflects the sufficiency of the current formula reserves for that specification.

[0045] S240. Based on the guarantee of production cycle, determine the formulation requirements of various tobacco raw materials for the current cigarette specifications.

[0046] Specifically, the guaranteed production cycle corresponding to the total inventory of leaf blends for the current cigarette specification type is used as a quantitative indicator to measure the demand for various types of tobacco raw materials for that specification type. This can be understood as follows: a larger guaranteed production cycle indicates a greater surplus of the current inventory of blends relative to the production speed, meaning a higher degree of satisfaction of the overall demand for various tobacco raw materials and a lower urgency for new raw material replenishment; conversely, a smaller guaranteed production cycle indicates a greater shortage of the current inventory of blends relative to the production speed, meaning a larger overall demand gap for various tobacco raw materials and a higher urgency for new raw material replenishment. In this way, the guaranteed production cycle value transforms the previously abstract concept of blend demand into a concrete and comparable time-dimensional value, providing a unified input parameter for subsequent calculations of the matching degree between all specification types and the total tobacco leaf inventory.

[0047] S250. Based on the inventory data of various tobacco raw materials at the end of the previous month, determine the total inventory of tobacco raw materials, and based on the historical production consumption data of various tobacco raw materials over the past twelve months, determine the average monthly total consumption of tobacco leaves.

[0048] The total inventory of raw tobacco leaves represents the total stock of tobacco leaves available for cigarette production. The average monthly consumption of raw tobacco leaves represents the average monthly consumption rate of raw tobacco leaves under normal production conditions.

[0049] Specifically, the storage quantities of all categories of tobacco raw materials can be extracted from the warehouse management system up to the last day of the previous full calendar month. These individual quantities are then summed up to obtain a statistical value of the total physical quantity of tobacco raw materials available for production scheduling. Alternatively, the actual consumption quantities of all categories of tobacco raw materials can be extracted from the historical consumption records of the production execution system, tracing back at least 12 full calendar months from the previous month of the current month. The consumption quantities of each item in each month are then summed to obtain the total tobacco consumption for each month. The total tobacco consumption for these at least 12 months is then added together to obtain the total consumption. Finally, this total consumption is divided by the number of months traced back to obtain a statistical value of the average monthly consumption rate of tobacco raw materials under normal production conditions.

[0050] S260. Obtain the guaranteed production cycle for each cigarette specification type; and calculate the difference between the guaranteed production cycle and the total cycle for each cigarette specification type to obtain the cycle difference for each cigarette specification type.

[0051] Among them, the ability to guarantee the production cycle serves as an indicator for quantifying the formulation requirements of raw materials for tobacco sheets for various cigarette specifications and types.

[0052] Specifically, the unique time length value, measured in calendar months, can be retrieved for each cigarette specification type. This value represents the time period during which the current total reserves of the formula for that specification type can guarantee continuous production, i.e., the production cycle. Based on this, for each cigarette specification type, the corresponding guaranteed production cycle value is subtracted from the total cycle value guaranteed by the total tobacco inventory. This subtraction of the guaranteed production cycle value from the total cycle value, or vice versa, yields the difference. This calculation is performed for all cigarette specification types. Thus, after calculating this difference for each cigarette specification type, an independent cycle difference value is generated for each type. This difference value reflects the direction and degree of deviation between the sufficiency of the formula reserves for that specification type and the overall tobacco inventory supply capacity. More specifically, a negative cycle difference value indicates that the guaranteed production cycle for that specification type is shorter than the total cycle, meaning the formula demand for that specification type is relatively tight; a positive cycle difference value indicates that the guaranteed production cycle for that specification type is longer than the total cycle, meaning the formula reserves for that specification type are relatively abundant.

[0053] S270. Based on the preset deduction rules, the matching degree score is calculated for the period difference corresponding to each cigarette specification type to obtain the matching degree attribute.

[0054] Among them, the preset deduction rules refer to the benchmark standards that are established in advance to quantify the relationship between the periodic difference and the matching score of each cigarette specification type.

[0055] Specifically, pre-established deduction rules can be used as the scoring benchmark. For each cigarette specification type, the calculated periodic difference is used to determine the numerical range within which the periodic difference falls and to determine the corresponding deduction score based on the pre-established deduction rules. Then, 100% is used as the initial score. For each cigarette specification type processed, the corresponding deduction score is subtracted from the current score. After all cigarette specifications types have undergone the above deduction operation, the final score obtained after all deduction operations is determined as the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications. The numerical range of this matching degree attribute is from less than zero to 100%. The higher the value, the better the overall matching degree between the supply capacity of the total tobacco inventory and the actual demand of each specification formula; the lower the value, the more serious the imbalance between overall supply and demand.

[0056] In this embodiment, optionally, the matching degree score is calculated based on the periodic difference corresponding to each cigarette specification type according to the preset deduction rules, and the specific implementation method to obtain the matching degree attribute may include: (1) Use 100% as the initial benchmark for matching score.

[0057] In this embodiment, before starting the scoring calculation for each cigarette specification type, the initial value of the matching score is set to 100%, which represents the highest possible score when the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications are in a completely ideal matching state.

[0058] (2) For each cigarette specification type, when the period difference is less than the first threshold, the current matching score is reduced by the first score; when the period difference is greater than or equal to the first threshold and less than the second threshold, the current matching score is reduced by the second score; when the period difference is greater than or equal to the second threshold, the current matching score is reduced by the third score.

[0059] Among them, the first threshold is less than the second threshold, the first score is less than the second score, and the second score is less than the third score.

[0060] In this embodiment, the calculated periodic difference value for each cigarette specification type can be retrieved sequentially. This periodic difference value is then compared with two pre-set threshold values: a first threshold and a second threshold. Different deduction operations are performed based on the different interval branches to which the comparison result belongs: if the periodic difference value is less than the first threshold, a smaller deduction value (the first score) is subtracted from the currently accumulated matching score; if the periodic difference value is greater than or equal to the first threshold but less than the second threshold, a medium-sized deduction value is subtracted from the currently accumulated matching score. The first score is the second score; if the difference in the cycle is greater than or equal to the second threshold, a larger deduction value, the third score, is subtracted from the current accumulated matching score. The first threshold is less than the second threshold, the first score is less than the second score, and the second score is less than the third score. This three-tiered deduction design ensures that the larger the absolute value of the cycle difference, that is, the greater the deviation between the guaranteed production cycle of this specification type and the total guaranteed cigarette production cycle of the total tobacco inventory, the more points are deducted, thus achieving graded penalties for different degrees of deviation.

[0061] (3) Based on the final score after deducting the scores corresponding to the differences in each cycle for all cigarette specifications, the matching degree attribute is obtained.

[0062] In this embodiment, after all cigarette specifications have completed their respective period difference judgments and corresponding score deductions according to the preset deduction rules, the final value accumulated by the matching degree score at this time is taken as the output result. This final score is the remaining score obtained by deducting the score corresponding to each cigarette specification due to the period difference deviating from zero value from the initial baseline value of 100%. This final score value is determined as the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications.

[0063] For example, suppose a cigarette manufacturing company has three cigarette specifications, denoted as Specification A, Specification B, and Specification C. The pre-set first threshold is 6 months, the second threshold is 12 months, and the pre-set first score is 0.5%, the second score is 1%, and the third score is 2%. 100% is used as the initial baseline for the matching score, meaning the matching score is 100% before calculation. The period difference for each cigarette specification is calculated: Specification A's calculated period difference is 4 months, which is less than the first threshold of 6 months. Therefore, the current matching score of 100% is reduced by 0.5%, resulting in a matching score of 99.5%; Specification B's calculated period difference is 9 months, which is greater than or equal to the first threshold of 6 months and less than the second threshold of 12 months. Therefore, the current matching score of 99.5% is reduced by 1%, resulting in a matching score of 98.5%; Specification C's calculated period difference is... The cycle difference is 15 months. Since 15 months is greater than or equal to the second threshold of 12 months, the current matching score of 98.5% is reduced by the third score of 2%, resulting in a matching score of 96.5%. Based on the final score of 96.5% after deducting the corresponding scores for each cycle difference for all cigarette specifications (specifications A, B, and C), the matching attribute is 96.5%. This value indicates that after the deduction penalty for the cycle differences of the three specifications, the overall matching degree between the total inventory of raw tobacco materials and the formula requirements of all cigarette specifications is 96.5%.

[0064] S280. When the matching degree attribute does not meet the matching degree threshold condition, the raw materials to be adjusted are determined from various types of tobacco raw materials based on wholesale price classification data, annual formula maintenance frequency data, usage record data and inventory data.

[0065] S290. For raw materials of tobacco to be adjusted, based on the inventory data of the raw materials of tobacco to be adjusted, the production consumption data of the lowest-volume cigarette category is preset, and the disposal strategy for the raw materials of tobacco to be adjusted is determined.

[0066] The disposal strategies include including including the raw tobacco leaves to be adjusted in the combined processing sequence for secondary combined processing to consume them in advance, or increasing the priority of the raw tobacco leaves to be adjusted.

[0067] The technical solution of this application embodiment, when determining the formulation requirements of various tobacco raw materials for each cigarette specification type, obtains the number of official formulation batches, the number of preliminary formulation batches, the quantity of raw materials per batch, and the quantity of tobacco leaves consumed per carton for each cigarette specification type based on the detailed data of leaf blend formulation inventory. It also obtains the average monthly production volume for the current cigarette specification type based on historical production consumption data. Based on the number of official formulation batches, the number of preliminary formulation batches, the quantity of raw materials per batch, the quantity of tobacco leaves consumed per carton, and the average monthly production volume, it determines the guaranteed production cycle corresponding to the total leaf blend formulation inventory for the current cigarette specification type. Based on the guaranteed production cycle, it determines the formulation requirements of various tobacco raw materials for the current cigarette specification type. The technical solution provided by this embodiment transforms the difficulty in uniformly comparing the demand for tobacco raw materials for different cigarette specifications into specific and quantifiable time values ​​in calendar months. This provides a unified measurement scale for the demand levels between different specification types, laying an objective and calculable data foundation for subsequent calculations of the matching degree between overall inventory and all formulation requirements.

[0068] The technical solution of this application embodiment, when determining the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications, determines the total quantity of tobacco raw material inventory based on the inventory data of various tobacco raw materials at the end of the previous month; determines the average monthly tobacco leaf consumption based on the historical production consumption data of various tobacco raw materials over at least the past twelve months; determines the total cycle that the total tobacco leaf inventory can guarantee for cigarette production based on the ratio of the total quantity of tobacco raw material inventory to the average monthly tobacco leaf consumption; obtains the guaranteed production cycle corresponding to each cigarette specification; wherein, the guaranteed production cycle serves as an indicator for quantifying the formula requirements of tobacco raw materials for each cigarette specification; calculates the difference between the guaranteed production cycle and the total cycle for each cigarette specification to obtain the cycle difference corresponding to each cigarette specification; and scores the matching degree of the cycle difference corresponding to each cigarette specification based on a preset deduction rule to obtain the matching degree attribute. The technical solution provided in this embodiment starts from two dimensions: overall supply capacity and individual demand for each specification. Through difference calculation and graded deduction mechanism, the complex matching relationship between total tobacco inventory and total formula demand is transformed into an intuitive and horizontally comparable quantitative score value, thereby realizing an objective and repeatable automated assessment of the overall supply and demand coordination.

[0069] Example 3 Figure 3 This is a schematic diagram of a method for disposing of tobacco raw material inventory provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment will provide a more detailed description of step S130. Specific implementation methods can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0070] like Figure 3 As shown, the method specifically includes the following steps: S310. Obtain detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement.

[0071] S320. Based on the detailed data of leaf group formula inventory and historical production and consumption data, determine the formula requirements of various tobacco raw materials for each cigarette specification type, and based on the inventory data and formula requirements of various tobacco raw materials, determine the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications.

[0072] S330. Based on wholesale price classification data, all cigarette specifications are divided into high-end cigarettes, mid-range cigarettes, and low-end cigarettes.

[0073] Specifically, it can read the wholesale price classification data corresponding to each cigarette specification type that has been collected. This data contains a grade label for each cigarette specification type based on the range of its finished cigarette wholesale price. Based on this label, all cigarette specifications types are classified into three mutually exclusive sets: high-end cigarettes, mid-range cigarettes, and low-end cigarettes. Specification types with higher wholesale prices are classified into the high-end cigarette set, specifications types with wholesale prices in the middle range are classified into the mid-range cigarette set, and specifications types with lower wholesale prices are classified into the low-end cigarette set.

[0074] S340. For each cigarette specification type, based on the annual average number of times the preliminary formula is determined as the formal formula within a preset time period for the current cigarette specification type, determine the annual average number of formula maintenance times for the current cigarette specification type.

[0075] Among them, the average annual maintenance frequency of the formula represents the average frequency at which the leaf blend formula of a certain cigarette specification is formally updated each year, reflecting the activity level of formula changes for that specification.

[0076] Specifically, the following operations are performed for each cigarette specification type: Extract the total number of times that a formula in the preparation state was officially confirmed as a usable formula within the past preset time span from the annual formula maintenance frequency data for that cigarette specification type. Then, divide the total number of times by the number of years included in the preset time span to calculate the average number of times the formula was officially confirmed in each annual cycle for that cigarette specification type. The calculation result is used as the average annual maintenance frequency of the formula for the current cigarette specification type.

[0077] S350. Based on usage record data, obtain the replacement frequency of the current tobacco raw materials when they are replaced by high-end cigarette formula, mid-range cigarette formula and low-end cigarette formula respectively during the process of the preliminary formula being confirmed as the formal formula.

[0078] Among them, the replacement of high-end cigarette formula refers to the process in which a certain type of tobacco raw material appears in a preliminary formula of a cigarette specification type that is classified as a high-end cigarette and its usage ratio is greater than zero. However, when the preliminary formula is confirmed as the official formula, the usage ratio of the tobacco raw material in the official formula becomes zero. This process indicates that the tobacco raw material is excluded and replaced with other tobacco raw materials during the confirmation process of high-end cigarette formula.

[0079] Among them, the replacement of mid-range cigarette formula refers to the process in which a certain type of tobacco raw material appears in a preliminary formula of a cigarette specification type that is classified as a mid-range cigarette and its usage ratio is greater than zero. However, when the preliminary formula is confirmed as the official formula, the usage ratio of the tobacco raw material in the official formula becomes zero. This process indicates that the tobacco raw material is excluded and replaced with other tobacco raw materials during the confirmation process of mid-range cigarette formula.

[0080] Among them, the replacement of low-grade cigarette formula refers to the process in which a certain type of tobacco raw material appears in a preliminary formula of a cigarette specification type that is classified as low-grade cigarette and the proportion of its use is greater than zero. However, when the preliminary formula is confirmed as the official formula, the proportion of the tobacco raw material used in the official formula becomes zero. This process indicates that the tobacco raw material is excluded and replaced with other tobacco raw materials during the low-grade cigarette formula confirmation process.

[0081] Specifically, for each type of tobacco raw material currently being evaluated, the historical records of all preliminary formulations of that tobacco raw material being confirmed as official formulations can be retrieved from the usage records already collected during the formulation replacement process. From these records, the total number of times that tobacco raw material was replaced during the formulation confirmation process for specifications classified as high-end cigarettes, the total number of times it was replaced during the formulation confirmation process for specifications classified as mid-range cigarettes, and the total number of times it was replaced during the formulation confirmation process for specifications classified as low-end cigarettes can be calculated.

[0082] S360. Based on the first comparison result between the replacement frequency of the high-grade cigarette formula and the product of the annual average maintenance frequency of the high-grade cigarette formula and the first preset coefficient, determine whether to identify the current tobacco raw material as the tobacco raw material to be adjusted.

[0083] In this embodiment, for each type of tobacco raw material currently being evaluated, the frequency of replacement of that tobacco raw material by high-grade cigarette formula in the historical record is used as a numerical value. The annual average maintenance frequency of each cigarette specification type in the high-grade cigarette category is summarized or a representative value is taken and then multiplied by a first preset coefficient to obtain a product threshold. Then, the replacement frequency is compared with the product threshold. A first comparison result is generated based on the greater than relationship of the comparison result. If the comparison result shows that the replacement frequency is greater than the product threshold, the current tobacco raw material is marked as a tobacco raw material to be adjusted; otherwise, it is not marked. This determination logic is used to identify tobacco raw materials that are replaced abnormally frequently during the high-grade cigarette formula confirmation process as objects with low applicability.

[0084] S370. Based on a second comparison between the replacement frequency of the mid-range cigarette formula and the product of the average annual maintenance frequency of the mid-range cigarette formula and a second preset coefficient, determine whether to identify the current tobacco raw material as a tobacco raw material to be adjusted.

[0085] In this embodiment, for each type of tobacco raw material currently being evaluated, the frequency of replacement of that tobacco raw material by mid-range cigarette formulas in historical records is used as a numerical value. The average annual maintenance frequency of each cigarette specification type in the mid-range cigarette category is summarized or its representative value is taken and then multiplied by a second preset coefficient to obtain a product threshold. Then, the replacement frequency is compared with the product threshold. A second comparison result is generated based on the greater than relationship of the comparison result. If the comparison result shows that the replacement frequency is greater than the product threshold, the current tobacco raw material is marked as a tobacco raw material to be adjusted; otherwise, it is not marked. This determination logic is used to identify tobacco raw materials that are replaced abnormally frequently during the mid-range cigarette formula confirmation process as objects with low applicability.

[0086] S380. Based on the third comparison result between the replacement frequency of the low-grade cigarette formula and the product of the annual average maintenance frequency of the low-grade cigarette formula and the third preset coefficient, determine whether to identify the current tobacco raw material as the tobacco raw material to be adjusted.

[0087] In this embodiment, for each type of tobacco raw material currently being evaluated, the frequency of replacement by low-grade cigarette formulas in the historical records is used as a numerical value. The annual average maintenance frequency of each cigarette specification type in the low-grade cigarette category is summarized or a representative value is taken and then multiplied by a third preset coefficient to obtain a product threshold. Then, the replacement frequency is compared with the product threshold. A third comparison result is generated based on the greater than relationship of the comparison result. If the comparison result shows that the replacement frequency is greater than the product threshold, the current tobacco raw material is marked as a tobacco raw material to be adjusted; otherwise, it is not marked. This determination logic is used to identify tobacco raw materials that are replaced abnormally frequently during the low-grade cigarette formula confirmation process as objects with low applicability.

[0088] For example, suppose the tobacco raw material currently being assessed is a certain grade of tobacco raw material from a certain city's production area. This tobacco raw material has been replaced 3 times in the historical replacement records of high-end cigarette formulas. The annual average maintenance frequency for all cigarette specifications in the high-end cigarette category is calculated to be 10 times. The first preset coefficient is 0.2. 10 multiplied by 0.2 equals 2. Since 3 is greater than 2, the first comparison result is greater than 2. Therefore, this tobacco raw material is identified as a tobacco raw material to be adjusted. Similarly, for this tobacco raw material, the historical replacement frequency of mid-range cigarette formulas is 4 times, and the annual average maintenance frequency for mid-range cigarette formulas is 10 times. The second preset coefficient... Let the coefficient be 0.3. 10 multiplied by 0.3 equals 3. Since 4 is greater than 3, the second comparison result is also greater than 3, further confirming that the raw material of this tobacco sheet is identified as the raw material of tobacco sheet to be adjusted. Similarly, for this raw material of tobacco sheet, the replacement frequency in the historical replacement record of its low-grade cigarette formula is 5 times, and the annual average maintenance frequency of the low-grade cigarette category formula is 10 times. The third preset coefficient is 0.5. 10 multiplied by 0.5 equals 5. Since 5 is not greater than 5, the third comparison result is not greater than 5. Therefore, the comparison result of the low-grade cigarette dimension does not trigger the determination operation. However, since the judgment condition of the high-grade cigarette dimension has been met, the raw material of this tobacco sheet is still ultimately identified as the raw material of tobacco sheet to be adjusted.

[0089] In this embodiment, optionally, as another implementation method, the specific steps for determining whether the current tobacco leaf raw material is the tobacco leaf raw material to be adjusted may further include: (1) Obtain the year of each tobacco raw material based on inventory data.

[0090] Specifically, the original year information of tobacco leaf production, harvesting or processing of each type of tobacco leaf raw material can be extracted from the inventory data corresponding to the various types of tobacco leaf raw materials that have been collected. This original year is a fixed year identifier assigned to each type of tobacco leaf raw material after the tobacco leaf harvest and subsequent processing is completed, which is used to characterize the storage time and aging cycle stage of this type of tobacco leaf raw material.

[0091] (2) Determine the range of years in which the current tobacco raw materials are stored to ensure cigarette production based on the leaf group formula storage details.

[0092] Specifically, for each type of tobacco raw material currently being assessed, all formula storage records containing that type of tobacco raw material are retrieved from the collected detailed data on leaf blend formula storage for each cigarette specification type. Based on the cigarette specification type associated with these formula storage records and the validity period information of the stored formulas, it is comprehensively estimated which years of cigarette production activities this type of tobacco raw material has been planned to support. This determines a continuous time interval from the start year to the end year, and this year range represents the time window in which this type of tobacco raw material is expected to be consumed in the existing storage arrangement.

[0093] (3) When the current year and the range of years being stored meet the preset conditions, the current tobacco raw material is determined as the tobacco raw material to be adjusted.

[0094] Optionally, the preset conditions are: the year of the tobacco raw material is n, the time range of the stored leaf blend formula should guarantee the production of cigarettes from the (n+2)th year to the (n+4)th year, and the tobacco raw material is used to guarantee production beyond the (n+4)th year.

[0095] Specifically, when the current year and the range of years it is stored meet a preset condition, the current tobacco raw material is identified as a tobacco raw material to be adjusted. This means comparing the current year value of each type of tobacco raw material with the range of years it is stored to ensure cigarette production, and determining whether the positional relationship between the current year and the range of years conforms to a preset judgment rule. The preset condition is as follows: if the current year of the tobacco raw material is n, and the tobacco raw material is stored to ensure cigarette production for more than n plus 4 years, that is, the tobacco raw material is arranged to be used in a future time window more than 4 years away from its current year, then the preset condition is determined to be met. At this time, the current tobacco raw material is marked as a tobacco raw material to be adjusted. This judgment logic is used to identify tobacco raw materials whose applicability is reduced due to being stored to future years that are too far away.

[0096] S390. For raw materials of tobacco to be adjusted, based on the inventory data of the raw materials of tobacco to be adjusted, the production consumption data of the lowest output specification of cigarettes in the cigarette category is preset, and the disposal strategy for the raw materials of tobacco to be adjusted is determined.

[0097] The disposal strategies include including including the raw tobacco leaves to be adjusted in the combined processing sequence for secondary combined processing to consume them in advance, or increasing the priority of the raw tobacco leaves to be adjusted.

[0098] The technical solution of this application embodiment, when determining the tobacco raw materials to be adjusted from various types of tobacco raw materials, classifies all cigarette specifications into high-end cigarettes, mid-range cigarettes, and low-end cigarettes based on wholesale price classification data; for each cigarette specification, the average annual maintenance frequency of the formula for the current cigarette specification is determined based on the average number of times the preliminary formula is confirmed as the official formula within a preset time period; the replacement frequency of the current tobacco raw materials being replaced by high-end cigarette formulas, mid-range cigarette formulas, and low-end cigarette formulas respectively during the process of the preliminary formula being confirmed as the official formula is obtained based on usage record data; and the replacement frequency of the current tobacco raw materials being replaced by high-end cigarette formulas is determined based on the replacement frequency of high-end cigarette formulas. The technical solution provided in this embodiment sets differentiated judgment criteria based on the differences in the activity level of cigarette formula changes at different grade levels. It can accurately identify cigarette raw materials that are replaced at abnormally high frequencies during the confirmation process of cigarette formulas at specific grade levels. This allows for the selection of less suitable raw materials from a large pool of cigarette raw materials that require priority handling, achieving automated and multi-dimensional accurate determination of the cigarette raw materials to be adjusted. A second comparison between the replacement frequency of cigarettes replaced by mid-grade cigarette formulas and the product of the annual average maintenance frequency of mid-grade cigarette formulas and a second preset coefficient determines whether the current tobacco raw material is to be identified as a raw material to be adjusted.

[0099] Example 4 Figure 4 This is a schematic diagram of a method for disposing of tobacco raw material inventory provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment will provide a more detailed description of step S140. Specific implementation methods can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0100] like Figure 4 As shown, the method specifically includes the following steps: S410. Obtain detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement.

[0101] S420. Based on the detailed data of leaf group formula inventory and historical production and consumption data, determine the formula requirements of various types of tobacco raw materials for each cigarette specification type, and based on the inventory data and formula requirements of various types of tobacco raw materials, determine the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications types.

[0102] S430. When the matching degree attribute does not meet the matching degree threshold condition, the raw materials to be adjusted are determined from various types of tobacco raw materials based on wholesale price classification data, annual formula maintenance frequency data, usage record data and inventory data.

[0103] S440. Based on the inventory data of the raw tobacco to be adjusted, obtain the year of the raw tobacco to be adjusted and the year of the current calculation time.

[0104] Specifically, the original year information of tobacco leaf production, harvesting or processing of the raw materials to be adjusted can be extracted from the inventory data of the identified raw materials as the original year. At the same time, the year of the target time corresponding to the execution of the current inventory disposal method can be obtained from the system clock or the time parameter input by the user as the year of the current calculation time. These two year values ​​will serve as the basic input data for subsequent calculation of the year difference.

[0105] S450. Determine the year difference based on the difference between the current year and its own year.

[0106] In this embodiment, the year value of the current calculation time can be subtracted from the year value of the raw tobacco to be adjusted to obtain a positive integer or zero value representing the number of years between the two years. The result of this difference calculation is defined as the year difference, which is used to quantify the length of time the raw tobacco to be adjusted has gone from its own year to the current calculation time, thereby reflecting the length of time the batch of raw tobacco has been stored.

[0107] S460. When the year difference is greater than five years, the disposal strategy for the raw materials to be adjusted is to include all the raw materials to be adjusted, except for the quantity already occupied by the formal formula, in the combination processing sequence for secondary combination processing.

[0108] Specifically, the difference between the current year of the calculated tobacco raw material to be adjusted and its own year can be compared with a pre-set five-year threshold. If the difference is greater than five, it is determined that the tobacco raw material to be adjusted has been stored for a relatively long period of more than five years. In this case, the disposal method for the tobacco raw material to be adjusted is to subtract the portion that has been reserved by the official formula of each cigarette specification and cannot be misappropriated from the total inventory of the tobacco raw material to be adjusted. The remaining all available quantity is then included in the combination processing sequence at once and centrally reprocessed through the secondary combination processing technology of tobacco to achieve early consumption and avoid further loss of tobacco value due to excessive storage time.

[0109] After including the raw tobacco leaves to be adjusted in the combined processing sequence, the following steps are performed to further clarify the quality control standards for secondary combined processing: S1. When the handling strategy is to include the raw materials of the tobacco to be adjusted in the combined processing sequence, the guaranteed production cycles are arranged in descending order based on the guaranteed production cycles corresponding to each of the cigarette specifications.

[0110] In this embodiment, after determining that the processing method of a certain tobacco raw material to be adjusted is to include it in the combined processing sequence, the guaranteed production cycle values ​​of all cigarette specifications that have been calculated in the previous steps can be retrieved. These values ​​are sorted from largest to smallest to form a sequence from the cigarette specification with the longest guaranteed production cycle to the cigarette specification with the shortest guaranteed production cycle.

[0111] S2. Determine the proportion of leaf blend ingredients corresponding to the three lowest-ranked cigarette specifications as the target proportion of the blended ingredients for processing.

[0112] The target formula component ratio refers to the leaf group formula composition standard set in advance as a quality benchmark when the raw materials of the tobacco to be adjusted in the combined processing sequence are subjected to secondary combined processing.

[0113] Specifically, after arranging all cigarette specifications in descending order according to their respective guaranteed production cycles, the last three cigarette specifications are selected from the end of the arrangement. The composition and proportion of various raw materials in the leaf blend formula of each of these three specifications are extracted. These composition and proportion are set as the quality targets that need to be achieved or approached when the raw materials to be adjusted are combined and processed. Even if the last three specifications have the shortest guaranteed production cycle and the most strained inventory under the current conditions, their formula component ratios are still used as the quality reference standard for the combined processed finished cigarettes.

[0114] S3. Based on the grade and quantity of the tobacco raw materials to be adjusted in the combined processing sequence, a combination design is carried out, and it is detected whether the various chemical indicators of the tobacco raw materials obtained after combined processing meet the chemical indicator threshold range corresponding to the proportion of the target formulation components.

[0115] Specifically, the raw tobacco leaves to be adjusted, which have been included in the combined processing sequence, can be used as the material basis. Based on the tobacco grade attributes of each type of raw tobacco leaf to be adjusted and their respective inventory quantities, the mixing ratio scheme between different grades of raw materials can be determined through calculation and blending to form a production formula for combined processing. After the secondary combined processing of tobacco leaves is completed according to the formula, the processed finished products are sampled and tested to obtain the actual measured values ​​of various chemical indicators. These values ​​are then compared one by one with the chemical indicator threshold range corresponding to the proportion of the target formula components to determine whether each test indicator falls within its respective allowable fluctuation range, thereby verifying whether the combined processing results meet the preset quality requirements.

[0116] S4. If not satisfied, add adjusting tobacco raw materials to adjust the chemical indicators of the tobacco raw materials obtained after combined processing, until the chemical indicators fall within the chemical indicator threshold range corresponding to the proportion of the target formulation components.

[0117] In this embodiment, if any of the chemical indicators of the combined processed tobacco raw materials fails to fall within the threshold range corresponding to the proportion of the target formulation components, the current combined processing result is deemed not to meet the quality requirements. At this time, pre-selected regulating tobacco raw materials are added from outside, and a certain proportion of the regulating tobacco raw materials are mixed into the processed tobacco raw materials for recombination. The chemical indicators of the mixed tobacco raw materials are then tested again. The operation cycle of adding regulating tobacco raw materials, mixing, and testing is repeated until the measured values ​​of all chemical indicators fall within their respective allowable threshold ranges, thereby ensuring that the final combined processed product can meet the preset quality standards.

[0118] In this embodiment, optionally, the specific implementation of adding adjusting tobacco raw materials may include: determining the guaranteed production cycle for each type of tobacco raw material based on the inventory quantity of various tobacco raw materials at the end of the previous month and the average monthly consumption quantity of various tobacco raw materials over at least the past 12 months; obtaining the total cycle of cigarette production guaranteed by the total tobacco inventory; determining the range of tobacco raw materials whose guaranteed production cycle ranges from the maximum value to equal to the total cycle as the selection range of adjusting tobacco raw materials; and selecting adjusting tobacco raw materials from the selection range for addition.

[0119] S470. When the year difference is less than or equal to five years, the disposal strategy for the raw materials to be adjusted shall be to give priority to all the raw materials to be adjusted except for the quantity already occupied by the formal formula, and designate the raw materials to be adjusted to be used first in the process of confirming the pre-formula into the formal formula.

[0120] Specifically, the difference between the current year of the calculated time of the raw material to be adjusted and its own year can be compared with a pre-set five-year threshold. If the difference is less than or equal to five, it is determined that the raw material to be adjusted has not been stored for more than five years and is still in a relatively new state. In this case, the handling method for the raw material to be adjusted is to subtract the portion that has been reserved and occupied by the official formulas of various cigarette specifications and cannot be misappropriated from the total inventory of the raw material to be adjusted. The remaining all available quantity is given priority to be used higher than other similar raw materials. In the low-grade cigarette category, the raw material to be adjusted is set to be selected and included first in the process of the preliminary formula being confirmed as the official formula, so that it is gradually consumed through the normal formula confirmation process, thereby avoiding direct entry into the combination processing sequence and generating additional processing costs.

[0121] The technical solution of this application embodiment, when determining the disposal strategy for the raw materials to be adjusted, obtains the year of the raw materials to be adjusted based on the inventory data of the raw materials to be adjusted, and obtains the year of the current calculation time; determines the year difference based on the difference between the year of the current calculation time and the original year; when the year difference is greater than five years, the disposal strategy for the raw materials to be adjusted is to include all the raw materials to be adjusted, except for the quantity already occupied by the formal formula, in the combination processing sequence for secondary combination processing; when the year difference is less than or equal to five years, the disposal strategy for the raw materials to be adjusted is to increase the usage priority of all the raw materials to be adjusted, except for the quantity already occupied by the formal formula, and designate the raw materials to be adjusted to be used preferentially in the process of confirming the preliminary formula into the formal formula. The technical solution provided in this embodiment achieves differentiated graded disposal based on the storage time of the raw materials to be adjusted: for old raw materials stored for more than five years, all of them except for those officially stored and occupied are included in the combined processing sequence for centralized reprocessing to consume them in advance and avoid further loss of value; for relatively new raw materials stored for no more than five years, they are included in the normal formula confirmation process and consumed gradually by increasing their usage priority, thereby reducing processing costs while achieving rational utilization of raw materials.

[0122] Example 5 Figure 5 This is a schematic diagram of a method for disposing of tobacco raw material inventory provided in an embodiment of this application. Based on the foregoing embodiments, this embodiment will provide a more detailed description of step S140. Specific implementation methods can be found in the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here.

[0123] like Figure 5 As shown, the method specifically includes the following steps: S510. Obtain detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement.

[0124] S520. Based on the detailed data of leaf group formula inventory and historical production and consumption data, determine the formula requirements of various tobacco raw materials for each cigarette specification type, and based on the inventory data and formula requirements of various tobacco raw materials, determine the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements of all cigarette specifications.

[0125] S530. When the matching degree attribute does not meet the matching degree threshold condition, the raw materials to be adjusted are determined from various types of tobacco raw materials based on wholesale price classification data, annual formula maintenance frequency data, usage record data and inventory data.

[0126] S540. Obtain the quantity of tobacco raw materials that can be officially stored and used based on the inventory data of the raw materials to be adjusted.

[0127] The quantity that can be officially stored and used is the total quantity of tobacco raw materials to be adjusted, excluding the quantity already used for storage in the official formula.

[0128] In this embodiment, the total inventory quantity of the tobacco raw materials to be adjusted can be extracted from the inventory data corresponding to the identified raw materials. The quantity that has been reserved and occupied by the formal formula of each cigarette specification type and cannot be misappropriated can be extracted from the same inventory data. The difference between the total inventory quantity and the quantity reserved and occupied by the formal formula is the quantity that can be reserved and used. This quantity represents the total amount of tobacco raw materials that are actually available for disposal operations in the current inventory and are not subject to the formal formula lock-in constraint.

[0129] S550. Based on the annual production quantity of the lowest-yield cigarette brand in the low-end cigarette category, the amount of tobacco leaves consumed per carton of the lowest-yield cigarette brand, and the total number of cartons of tobacco raw materials used in the formulation of the lowest-yield cigarette brand, determine the average monthly usage of the raw materials to be adjusted relative to the lowest-yield cigarette brand.

[0130] In this embodiment, firstly, the cigarette specification type with the smallest annual production volume can be selected from the low-end cigarette categories in the preset cigarette categories as the minimum production specification. The annual production volume of this specification is obtained, as well as the weight of tobacco raw materials consumed in producing each standard carton of this specification, i.e., the amount of tobacco consumed per carton. The total number of cartons of all sheet tobacco raw materials included in the leaf blend formula of this specification is obtained, i.e., the total number of cartons of tobacco raw materials used in the formula. Then, the annual production volume is divided by twelve to obtain the average monthly production volume of this specification. The average monthly production volume is multiplied by the amount of tobacco consumed per carton to obtain the average monthly total weight of tobacco raw materials consumed by this specification. Finally, the average monthly total weight of tobacco raw materials consumed is divided by the total number of cartons of tobacco raw materials used in the formula to obtain the average monthly usage of sheet tobacco raw materials per carton in the production of this specification. This value is used as the quantitative value of the average monthly usage of sheet tobacco raw materials to be adjusted relative to the minimum production specification of cigarettes.

[0131] S560. When the quantity of tobacco raw materials that can be formally stored and used is less than or equal to twice the average monthly usage, the disposal strategy for the tobacco raw materials to be adjusted shall be to include the tobacco raw materials to be adjusted in the combination processing sequence for secondary combination processing.

[0132] In this embodiment, the calculated quantity of tobacco raw materials to be adjusted that can be formally stored and used can be compared with twice the average monthly usage. If the quantity that can be formally stored and used is less than or equal to twice the average monthly usage, it is determined that the quantity of tobacco raw materials to be adjusted is relatively small compared to the normal consumption rate of the lowest production grade of cigarettes, and is insufficient to support long-term gradual consumption. In this case, the disposal method for the tobacco raw materials to be adjusted is to include all the quantity of tobacco raw materials to be adjusted that can be formally stored and used at once into the combined processing sequence, and to carry out centralized reprocessing through the secondary combined processing technology of tobacco to achieve rapid consumption.

[0133] S570. When the quantity of tobacco raw materials that can be formally stored and used is greater than twice the average monthly usage, the disposal strategy for the tobacco raw materials to be adjusted shall be to increase the usage priority of the tobacco raw materials to be adjusted, and to designate the tobacco raw materials to be adjusted to be used first in the process of confirming the pre-formulation into the formal formulation.

[0134] In this embodiment, the calculated quantity of tobacco raw material to be adjusted that can be formally stored and used can be compared with twice the average monthly usage. If the quantity that can be formally stored and used is greater than twice the average monthly usage, it is determined that the quantity of tobacco raw material to be adjusted is sufficient relative to the normal consumption rate of the lowest production grade of cigarettes, enough to support gradual consumption over a longer period of time. In this case, the handling method for the tobacco raw material to be adjusted is to raise the usage priority of the entire quantity of tobacco raw material to be formally stored and used to a level higher than that of other similar tobacco raw materials, and set the tobacco raw material to be adjusted to be prioritized for selection and inclusion in the process of confirming the preliminary formula into the formal formula in the low-grade cigarette category, so that it can be gradually consumed through the normal formula confirmation process, thereby avoiding additional processing costs caused by directly entering the combination processing sequence.

[0135] The technical solution of this application embodiment, when determining the disposal strategy for the raw materials of the tobacco to be adjusted, obtains the quantity of the raw materials that can be formally stored and used based on the inventory data of the raw materials to be adjusted; wherein, the quantity that can be formally stored and used is the total quantity of the raw materials to be adjusted excluding the quantity already stored and used in the formal formula; based on the annual production quantity of the lowest-yield cigarette specification in low-end cigarettes, the quantity of tobacco leaves consumed per carton of the lowest-yield cigarette specification, and the total number of cartons of tobacco leaves used in the formula of the lowest-yield cigarette specification, the average monthly usage of the raw materials to be adjusted relative to the lowest-yield cigarette specification is determined; when the quantity that can be formally stored and used is less than or equal to twice the average monthly usage, the disposal strategy for the raw materials to be adjusted is determined to include the raw materials to be adjusted in the combination processing sequence for secondary combination processing; when the quantity that can be formally stored and used is greater than twice the average monthly usage, the disposal strategy for the raw materials to be adjusted is determined to increase the usage priority of the raw materials to be adjusted, and designate the raw materials to be adjusted to be used preferentially in the process of confirming the pre-formula into the formal formula. The technical solution provided in this embodiment achieves differentiated graded disposal based on the order of magnitude between the available quantity of the raw tobacco material to be adjusted and the consumption rate of the lowest-volume cigarette product: when the available quantity is small, it is included in the combined processing sequence for centralized and rapid consumption to avoid long-term inventory occupation; when the available quantity is sufficient, it is included in the normal formula confirmation process for gradual consumption by increasing its usage priority, thereby ensuring consumption efficiency while reasonably controlling processing costs and achieving precise classification and disposal of the raw tobacco material to be adjusted.

[0136] Example 6 Figure 6 A schematic diagram of a tobacco raw material inventory disposal device provided in this application embodiment includes: The cigarette data acquisition module 610 is used to acquire detailed data of leaf group formula inventory, historical production consumption data, wholesale price classification data, formula annual maintenance frequency data, inventory data of various types of tobacco raw materials, and usage record data during formula replacement. The matching degree attribute determination module 620 is used to determine the formula requirements of each cigarette specification type for each type of raw tobacco leaf based on the leaf group formula inventory details data and the historical production and consumption data, and to determine the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications based on the inventory data of each type of raw tobacco leaf and the formula requirements. The raw material to be adjusted determination module 630 is used to determine the raw material to be adjusted from various types of raw tobacco flakes based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data when the matching degree attribute does not meet the matching degree threshold condition. The disposal strategy determination module 640 is used to determine the disposal strategy for the raw tobacco to be adjusted based on the inventory data of the raw tobacco to be adjusted and the production consumption data of the lowest-yield cigarette specification in the cigarette category; wherein, the disposal strategy includes including including the raw tobacco to be adjusted in the combination processing sequence for secondary combination processing to consume it in advance, or increasing the usage priority of the raw tobacco to be adjusted.

[0137] This application provides a tobacco raw material inventory disposal device. When in use, this device acquires detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of sheet tobacco raw materials and usage records during formula replacement. Based on the detailed leaf blend formula inventory data and historical production and consumption data, it determines the formula requirements for various types of sheet tobacco raw materials for each cigarette specification type, and based on the inventory data and formula requirements of various sheet tobacco raw materials, it determines the total inventory of sheet tobacco raw materials and the formula requirements for all cigarette specifications. The matching degree attribute between them; when the matching degree attribute does not meet the matching degree threshold condition, based on wholesale price classification data, annual formula maintenance frequency data, usage record data and inventory data, the raw materials to be adjusted are determined from various types of raw materials; for the raw materials to be adjusted, based on the inventory data of the raw materials to be adjusted, the production consumption data of the lowest output specification of cigarettes in the cigarette category is preset to determine the disposal strategy for the raw materials to be adjusted; among them, the disposal strategy includes including the raw materials to be adjusted in the combination processing sequence for secondary combination processing to consume them in advance, or increasing the usage priority of the raw materials to be adjusted. The technical solution of this application realizes the dynamic evaluation of the time value and use value of tobacco leaf inventory, the accurate identification of functional backlog raw materials, and the proactive differentiated planning of disposal paths. It solves the problems of serious lag in risk identification, inability to accurately locate raw materials that are functionally backlogged even though the storage age has not exceeded the limit, and the high cost and low efficiency of disposal caused by the reliance on post-event passive response in the prior art. It improves the pre-event early warning capability, accurate positioning capability and intelligent disposal decision efficiency of tobacco leaf inventory risk.

[0138] Based on the above-mentioned device, optionally, the matching degree attribute determination module 620 includes: a formula requirement determination unit and a matching degree attribute determination unit; The formula requirement determination unit is used to obtain, based on the leaf blend formula inventory details, the number of official formula inventory batches, the number of preliminary formula inventory batches, the quantity of raw materials per batch, and the quantity of tobacco leaves consumed per carton for each of the cigarette specifications, and to obtain the average monthly production volume of the current cigarette specifications based on the historical production consumption data; based on the number of official formula inventory batches, the number of preliminary formula inventory batches, the quantity of raw materials per batch, the quantity of tobacco leaves consumed per carton, and the average monthly production volume, to determine the guaranteed production cycle corresponding to the total leaf blend formula inventory of the current cigarette specifications; and based on the guaranteed production cycle, to determine the formula requirements for various types of tobacco raw materials for the current cigarette specifications.

[0139] The matching degree attribute determination unit is used to determine the total quantity of tobacco raw material inventory based on the inventory data of various tobacco raw materials at the end of the previous month; determine the average monthly tobacco leaf consumption based on the historical production consumption data of various tobacco raw materials over at least the past twelve months; determine the total cycle that the total tobacco leaf inventory can guarantee for cigarette production based on the ratio of the total quantity of tobacco raw material inventory to the average monthly tobacco leaf consumption; obtain the guaranteed production cycle corresponding to each cigarette specification type; wherein, the guaranteed production cycle serves as an indicator for quantifying the formulation requirements of tobacco raw materials for each cigarette specification type; calculate the difference between the guaranteed production cycle of each cigarette specification type and the total cycle to obtain the cycle difference corresponding to each cigarette specification type; and score the matching degree of the cycle difference corresponding to each cigarette specification type based on a preset deduction rule to obtain the matching degree attribute.

[0140] Based on the above-mentioned device, optionally, a matching degree attribute determination unit is used to use 100% as the initial benchmark value for the matching degree score; for each cigarette specification type corresponding to the periodic difference, when the periodic difference is less than a first threshold, the current matching degree score is reduced by a first score; when the periodic difference is greater than or equal to the first threshold and less than a second threshold, the current matching degree score is reduced by a second score; when the periodic difference is greater than or equal to the second threshold, the current matching degree score is reduced by a third score; based on the final score after deducting the scores corresponding to each periodic difference for all cigarette specification types, the matching degree attribute is obtained; Wherein, the first threshold is less than the second threshold, the first score is less than the second score, and the second score is less than the third score.

[0141] Optionally, based on the above-mentioned device, the raw material determination module 630 is specifically used to classify all cigarette specifications into high-end cigarettes, mid-range cigarettes, and low-end cigarettes based on the wholesale price classification data; for each cigarette specification, determine the average annual maintenance frequency of the formula for the current cigarette specification based on the average number of times the preliminary formula is determined as the official formula within a preset time period; obtain the replacement frequency of the current tobacco raw material by high-end cigarette formula, mid-range cigarette formula, and low-end cigarette formula respectively during the process of the preliminary formula being confirmed as the official formula based on the usage record data; and determine the replacement frequency of the high-end cigarette formula based on the replacement frequency of the raw material. Based on a first comparison between the replacement frequency of the high-grade cigarette formula and the product of the annual average maintenance frequency of the formula and a first preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted; based on a second comparison between the replacement frequency of the mid-grade cigarette formula and the product of the annual average maintenance frequency of the mid-grade cigarette formula and a second preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted; based on a third comparison between the replacement frequency of the low-grade cigarette formula and the product of the annual average maintenance frequency of the low-grade cigarette formula and a third preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted.

[0142] Based on the above-mentioned device, optionally, the raw material to be adjusted determination module 630 is further used to obtain the year of each of the tobacco raw materials based on the inventory data; determine the year range in which the current tobacco raw material is reserved to ensure cigarette production based on the leaf group formula reservation details data; and determine the current tobacco raw material as the tobacco raw material to be adjusted when the year of the raw material and the year range in which the tobacco is reserved meet the preset conditions.

[0143] Based on the above-mentioned device, optionally, a disposal strategy determination module 640 is used to obtain the year of the raw material to be adjusted based on the inventory data of the raw material to be adjusted, and obtain the year of the current calculation time; determine the year difference based on the difference between the year of the current calculation time and the raw material's own year; when the year difference is greater than five years, determine the disposal strategy for the raw material to be adjusted as including all the raw material to be adjusted, except for the quantity already occupied by the formal formula, in the combination processing sequence for secondary combination processing; when the year difference is less than or equal to five years, determine the disposal strategy for the raw material to be adjusted as increasing the usage priority of all the raw material to be adjusted, except for the quantity already occupied by the formal formula, and specifying that the raw material to be adjusted is used preferentially in the process of confirming the preliminary formula as the formal formula.

[0144] Based on the aforementioned device, optionally, the production consumption data includes annual production quantity, quantity of tobacco leaves consumed per carton, and total number of cartons of tobacco raw materials. The disposal strategy determination module 640 is further configured to obtain the quantity of tobacco raw materials to be adjusted that can be formally stored and used based on the inventory data of the raw materials to be adjusted; wherein, the quantity that can be formally stored and used is the total quantity of the tobacco raw materials to be adjusted excluding the quantity already stored and used in the formal formulation; based on the annual production quantity of the lowest-yield cigarette specification in low-end cigarettes, the quantity of tobacco leaves consumed per carton of the lowest-yield cigarette specification, and the amount of tobacco used in the formulation of the lowest-yield cigarette specification. The total number of cartons of raw tobacco leaves is used to determine the average monthly usage of the raw tobacco leaves to be adjusted relative to the minimum production grade of cigarettes. When the quantity that can be formally stored and used is less than or equal to twice the average monthly usage, the disposal strategy for the raw tobacco leaves to be adjusted is to include them in the combination processing sequence for secondary combination processing. When the quantity that can be formally stored and used is greater than twice the average monthly usage, the disposal strategy for the raw tobacco leaves to be adjusted is to increase their usage priority and designate them for priority use in the process of confirming the preliminary formula into the formal formula.

[0145] Based on the above-mentioned device, the tobacco raw material inventory disposal device may optionally include: a combined processing adjustment module, used to re-execute the steps of determining the production guarantee cycle, constructing multiple inventory data groups, and performing leaf group formula inventory calculation when the inventory recalculation trigger condition is detected, so as to update the leaf group formula inventory details of each cigarette product brand; wherein, the inventory recalculation trigger condition includes: changes in the tobacco sheet inventory other than production input, changes in the pre-arranged production plan quantity, all newly purchased tobacco sheet raw materials in the new agricultural year have been put into storage, existing pre-formulated formulas have been locked as formal formulas and have changed from the original tobacco sheet raw material category and grade, and the addition or withdrawal of cigarette product brands.

[0146] The tobacco raw material inventory disposal device provided in this application embodiment can execute the tobacco raw material inventory disposal method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of the method.

[0147] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this application.

[0148] Example 7 Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7A block diagram is shown of an exemplary electronic device 70 suitable for implementing embodiments of the present application. Figure 7 The electronic device 70 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0149] like Figure 7 As shown, the electronic device 70 is presented in the form of a general-purpose computing device. The components of the electronic device 70 may include, but are not limited to: one or more processors or processing units 701, system memory 702, and bus 703 connecting different system components (including system memory 702 and processing unit 701).

[0150] Bus 703 represents one or more of several bus architectures, including memory buses or memory electronics, peripheral buses, graphics acceleration ports, processors, or local buses using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0151] Electronic device 70 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 70, including volatile and non-volatile media, removable and non-removable media.

[0152] System memory 702 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 704 and / or cache memory 705. Electronic device 70 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 706 may be used to read and write non-removable, non-volatile magnetic media (… Figure 7 Not shown (usually referred to as a hard drive). Although Figure 7 As not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a floppy disk) and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 703 via one or more data media interfaces. Memory 702 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.

[0153] A program / utility 708 having a set (at least one) of program modules 707 may be stored, for example, in memory 702. Such program modules 707 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 707 typically perform the functions and / or methods described in the embodiments of this application.

[0154] Electronic device 70 can also communicate with one or more external devices 709 (e.g., keyboard, pointing device, display 710, etc.), and with one or more devices that enable a user to interact with the electronic device 70, and / or with any device that enables the electronic device 70 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 711. Furthermore, electronic device 70 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 712. As shown, network adapter 712 communicates with other modules of electronic device 70 via bus 703. It should be understood that, although... Figure 7 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 70, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0155] The processing unit 701 executes various functional applications and page processing by running programs stored in the system memory 702, such as implementing the tobacco raw material inventory disposal method provided in the embodiments of this application.

[0156] Example 8 This application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a method for disposing of tobacco raw material inventory, the method comprising: Acquire detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement. Based on the leaf group formula inventory details and the historical production and consumption data, the formula requirements of each cigarette specification type for each type of raw tobacco leaf are determined. Based on the inventory data of each type of raw tobacco leaf and the formula requirements, the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications is determined. When the matching degree attribute does not meet the matching degree threshold condition, the tobacco raw materials to be adjusted are determined from various tobacco raw materials based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data. For the raw tobacco leaves to be adjusted, based on the inventory data of the raw tobacco leaves to be adjusted, the production consumption data of the lowest-volume cigarette category is preset, and the disposal strategy for the raw tobacco leaves to be adjusted is determined; wherein, the disposal strategy includes including the raw tobacco leaves to be adjusted in the combination processing sequence for secondary combination processing to consume in advance, or increasing the usage priority of the raw tobacco leaves to be adjusted.

[0157] The computer storage medium in this application embodiment can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0158] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0159] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0160] Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as C or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0161] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.

Claims

1. A method for disposing of tobacco raw material inventory, characterized in that, The method includes: Acquire detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, and annual formula maintenance frequency data for each cigarette specification type, as well as inventory data for various types of tobacco raw materials and usage records during formula replacement. Based on the leaf group formula inventory details and the historical production and consumption data, the formula requirements of each cigarette specification type for each type of raw tobacco leaf are determined. Based on the inventory data of each type of raw tobacco leaf and the formula requirements, the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications is determined. When the matching degree attribute does not meet the matching degree threshold condition, the tobacco raw materials to be adjusted are determined from various tobacco raw materials based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data. For the raw tobacco leaves to be adjusted, based on the inventory data of the raw tobacco leaves to be adjusted, the production consumption data of the lowest-volume cigarette category is preset, and the disposal strategy for the raw tobacco leaves to be adjusted is determined; wherein, the disposal strategy includes including the raw tobacco leaves to be adjusted in the combination processing sequence for secondary combination processing to consume in advance, or increasing the usage priority of the raw tobacco leaves to be adjusted.

2. The method according to claim 1, characterized in that, The determination of the formulation requirements for various types of tobacco raw materials for each cigarette specification type, based on the detailed data of the leaf blend formulation and the historical production consumption data, includes: For each of the cigarette specifications, the number of official formula stockpiles, the number of preliminary formula stockpiles, the quantity of raw materials per batch, and the quantity of tobacco leaves consumed per carton for the current cigarette specification are obtained based on the leaf group formula stockpiling details data. The average monthly production volume of the current cigarette specification is also obtained based on the historical production consumption data. Based on the number of batches of the formal formula in stock, the number of batches of the preliminary formula in stock, the amount of raw materials fed per batch, the amount of tobacco leaves consumed per box, and the average monthly production, the guaranteed production cycle corresponding to the total amount of leaf blend formula in stock for the current cigarette specification type is determined. Based on the guaranteed production cycle, the formulation requirements of various tobacco raw materials for the current cigarette specifications are determined.

3. The method according to claim 1, characterized in that, The determination of the matching degree attribute between the total inventory of tobacco raw materials and the formula requirements based on the inventory data of various types of tobacco raw materials and the formula requirements of all cigarette specifications includes: Based on the inventory data of various tobacco raw materials at the end of the previous month, determine the total inventory quantity of tobacco raw materials; Based on historical production and consumption data of various tobacco raw materials over at least the past twelve months, the total monthly average tobacco leaf consumption was determined. Based on the ratio of the total quantity of raw tobacco leaves in stock to the total quantity of tobacco leaves consumed on average each month, the total quantity of tobacco leaves in stock is determined to ensure the total cycle of cigarette production. Obtain the guaranteed production cycle for each cigarette specification type; wherein, the guaranteed production cycle serves as an indicator to quantify the formulation requirements of each cigarette specification type for tobacco raw materials. The difference between the guaranteed production cycle for each cigarette specification type and the total cycle is calculated to obtain the cycle difference for each cigarette specification type. Based on preset deduction rules, the matching degree score is obtained by evaluating the period difference corresponding to each cigarette specification type to obtain the matching degree attribute.

4. The method according to claim 3, characterized in that, The matching degree attribute is obtained by scoring the period difference corresponding to each cigarette specification type based on the preset deduction rules, including: One hundred percent was used as the initial baseline for the match score; For each cigarette specification type, when the period difference is less than the first threshold, the current matching score is reduced by the first score. When the period difference is greater than or equal to the first threshold and less than the second threshold, the current matching score will be reduced by the second score. When the period difference is greater than or equal to the second threshold, the current matching score will be reduced by a third score; The matching degree attribute is obtained based on the final score after deducting the scores corresponding to the differences in each cycle for all cigarette specifications. Wherein, the first threshold is less than the second threshold, the first score is less than the second score, and the second score is less than the third score.

5. The method according to claim 1, characterized in that, The process of determining the tobacco raw materials to be adjusted from various tobacco raw materials based on the wholesale price classification data, the annual formula maintenance frequency data, the usage record data, and the inventory data includes: Based on the aforementioned wholesale price classification data, all cigarette specifications are divided into high-end cigarettes, mid-range cigarettes, and low-end cigarettes. For each of the cigarette specifications, the average annual maintenance frequency of the formula for the current cigarette specification is determined based on the average number of times the prepared formula is determined as the official formula within a preset time period for the current cigarette specification. Based on the usage record data, the replacement frequency of the current tobacco raw materials during the process of the preliminary formula being confirmed as the formal formula was obtained by replacing them with high-end cigarette formula, mid-range cigarette formula and low-end cigarette formula respectively. Based on the first comparison result between the replacement frequency of the high-end cigarette formula and the product of the annual average maintenance frequency of the high-end cigarette formula and the first preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted. Based on a second comparison between the replacement frequency of the mid-range cigarette formula and the product of the average annual maintenance frequency of the mid-range cigarette formula and a second preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted. Based on a third comparison result between the replacement frequency of the low-grade cigarette formula and the product of the annual average maintenance frequency of the low-grade cigarette formula and a third preset coefficient, it is determined whether the current tobacco raw material is identified as a tobacco raw material to be adjusted.

6. The method according to claim 5, characterized in that, The method further includes: Based on the inventory data, the year of each of the tobacco raw materials is obtained; Based on the leaf group formula storage details, the range of years in which the current sheet tobacco raw materials are stored to ensure cigarette production is determined. When the current year and the range of years being stored meet the preset conditions, the current tobacco raw material is determined as the tobacco raw material to be adjusted.

7. The method according to claim 1, characterized in that, Based on the inventory data of the raw tobacco leaves to be adjusted, and pre-setting the production consumption data of the lowest-volume cigarette specification in the cigarette category, the disposal strategy for the raw tobacco leaves to be adjusted is determined, including: Based on the inventory data of the raw tobacco to be adjusted, obtain the year of the raw tobacco to be adjusted and the year of the current calculation time; The year difference is determined based on the difference between the current year and its own year. When the year difference is greater than five years, the disposal strategy for the raw tobacco materials to be adjusted is to include all the raw tobacco materials to be adjusted, except for the quantity that has been reserved and occupied by the formal formula, in the combination processing sequence for secondary combination processing. When the year difference is less than or equal to five years, the disposal strategy for the raw tobacco materials to be adjusted is to prioritize the use of all raw tobacco materials to be adjusted, except for the quantity already reserved and occupied by the formal formula, and designate the raw tobacco materials to be adjusted to be used first in the process of confirming the preliminary formula as the formal formula.

8. The method according to claim 1, characterized in that, The production consumption data includes annual production quantity, quantity of tobacco leaves consumed per box, and total number of boxes of raw tobacco leaves. Based on the inventory data of the raw tobacco leaves to be adjusted, the production consumption data of the lowest-volume cigarette product category is preset, and the disposal strategy for the raw tobacco leaves to be adjusted is determined, including: Based on the inventory data of the raw materials to be adjusted, the quantity of the raw materials to be adjusted that can be formally stored and used is obtained; wherein, the quantity of the raw materials to be adjusted that can be formally stored and used is the total quantity of the raw materials to be adjusted excluding the quantity that has been stored and used by the formal formula. Based on the annual production quantity of the lowest-yield cigarette brand in the low-end cigarette category, the amount of tobacco leaves consumed per carton of the lowest-yield cigarette brand, and the total number of cartons of tobacco leaf raw materials used in the formulation of the lowest-yield cigarette brand, the average monthly usage of the tobacco leaf raw materials to be adjusted relative to the lowest-yield cigarette brand is determined. When the quantity that can be officially deposited and used is less than or equal to twice the average monthly usage, the disposal strategy for the raw tobacco material to be adjusted is to include the raw tobacco material to be adjusted in the combination processing sequence for secondary combination processing. When the quantity of tobacco raw materials that can be officially stored and used is greater than twice the average monthly usage, the disposal strategy for the tobacco raw materials to be adjusted is determined to be to increase the usage priority of the tobacco raw materials to be adjusted, and to designate the tobacco raw materials to be adjusted to be used first in the process of confirming the pre-formulation into the formal formulation.

9. The method according to claim 1, characterized in that, The method further includes: When the handling strategy is to include the raw tobacco leaves to be adjusted in the combined processing sequence, the guaranteed production cycles are arranged in descending order based on the guaranteed production cycles corresponding to each of the cigarette specifications. The proportions of leaf blend ingredients corresponding to the three lowest-ranked cigarette specifications are determined as the target proportions of the blended ingredients for processing. The combination design is carried out based on the grade and quantity of the tobacco raw materials to be adjusted in the combined processing sequence, and the chemical indicators of the tobacco raw materials obtained after combined processing are detected to meet the chemical indicator threshold range corresponding to the proportion of the target formula components. If the requirements are not met, adjust the chemical properties of the tobacco raw materials obtained after combined processing by adding and adjusting the chemical properties until the chemical properties fall within the threshold range corresponding to the proportion of the target formulation components.

10. A device for handling tobacco raw material inventory, characterized in that, The device includes: The cigarette data acquisition module is used to acquire detailed data on leaf blend formula inventory, historical production consumption data, wholesale price classification data, annual formula maintenance frequency data, inventory data of various types of tobacco raw materials, and usage record data during formula replacement. The matching degree attribute determination module is used to determine the formula requirements of each cigarette specification type for each type of raw tobacco leaf based on the leaf group formula inventory details data and the historical production and consumption data, and to determine the matching degree attribute between the total inventory of raw tobacco leaf and the formula requirements of all cigarette specifications based on the inventory data of each type of raw tobacco leaf and the formula requirements. The raw material to be adjusted module is used to determine the raw material to be adjusted from various types of raw tobacco products based on the wholesale price classification data, the annual maintenance frequency data of the formula, the usage record data and the inventory data when the matching degree attribute does not meet the matching degree threshold condition. The disposal strategy determination module is used to determine the disposal strategy for the raw tobacco to be adjusted based on the inventory data of the raw tobacco to be adjusted and the production consumption data of the lowest-yield cigarette specification in the cigarette category. The disposal strategy includes including including the raw tobacco to be adjusted in the combination processing sequence for secondary combination processing to consume it in advance, or increasing the usage priority of the raw tobacco to be adjusted.