Method, device and equipment for determining consumption data of single-box auxiliary materials of cigarettes and medium
By determining the packaging mode according to the cigarette brand, and counting the auxiliary material consumption data during the processing and packaging of the cigarette unit, the consumption data of the auxiliary material in a single box of cigarettes was calculated, the problem of inaccurate calculations in manual packaging mode was solved, and accurate auxiliary material consumption was achieved Data calculation.
Patent Information
- Application Number
- CN202411443064.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-11
AI Technical Summary
When using manual packaging mode during cigarette packaging, it is impossible to accurately calculate the consumption data of single box of cigarette auxiliary materials, resulting in a lack of objective and accurate basis for the calculation.
By determining the packaging mode according to the cigarette grade of the target cigarette, if it is a manual packaging mode, the first auxiliary material consumption data during the processing of the cigarette unit and the second auxiliary material consumption data during the packaging process are determined respectively, and the single calculation is performed based on the sum of the two. Box auxiliary material consumption data.
It realizes the accurate calculation of the consumption data of single-box auxiliary materials in the cigarette packaging stage when using the manual packaging mode in the cigarette packaging stage, and solves the problem of inaccurate calculations in the prior art.
Smart Images

Figure CN119415820A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tobacco processing, and in particular to a method, device, equipment and medium for determining auxiliary material consumption data of a single box of cigarettes. Background Art
[0002] The cigarette processing process involves the cigarette production stage and the cigarette packaging stage. In the cigarette packaging stage, the cigarettes can be packaged in a unit packaging mode or a manual packaging mode.
[0003] However, when the manual packaging mode is adopted, it is impossible to accurately count the auxiliary material consumption data during the cigarette packaging process, resulting in the problem of being unable to accurately calculate the auxiliary material consumption data of a single box of cigarettes. At present, the calculation of the auxiliary material consumption data of a single box of cigarettes in the manual packaging mode is mostly roughly estimated through experience, but this method lacks objective and accurate calculation basis.
[0004] In order to solve the above problems, it is necessary to improve the method for determining the auxiliary material data of a single box of cigarettes. Summary of the invention
[0005] The present invention provides a method, device, equipment and medium for determining auxiliary material consumption data of a single box of cigarettes, so as to solve the problem in the prior art that the auxiliary material consumption data of a single box of cigarettes in the production process cannot be accurately calculated when manual packaging is required during the processing of cigarettes.
[0006] In a first aspect, an embodiment of the present invention provides a method for determining consumption data of auxiliary materials in a single box of cigarettes, comprising:
[0007] Determine the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a machine group packaging mode;
[0008] If the cigarette packaging mode is the manual packaging mode, determining the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing, and determining the second auxiliary material consumption data of the target cigarette during the cigarette packaging process;
[0009] Based on the first auxiliary material consumption data and the second auxiliary material consumption data, the auxiliary material consumption data of a single box corresponding to the target cigarettes is determined.
[0010] In a second aspect, an embodiment of the present invention further provides a device for determining consumption data of auxiliary materials in a single box of cigarettes, comprising:
[0011] A mode determination module, used to determine the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode;
[0012] An auxiliary material consumption data determination module, for determining the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing if the cigarette packaging mode is the manual packaging mode, and determining the second auxiliary material consumption data of the target cigarette during the cigarette packaging process;
[0013] A single-box auxiliary material consumption data determination module is used to determine the single-box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the auxiliary material consumption data of a single box of cigarettes described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the method for determining auxiliary material consumption data of a single box of cigarettes as described in any embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining auxiliary material consumption data of a single box of cigarettes as described in any one of the embodiments of the present invention.
[0020] The technical solution of the embodiment of the present invention determines the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode; if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data of the target cigarette during the cigarette group processing is determined, and the second auxiliary material consumption data of the target cigarette during the cigarette packaging process is determined; based on the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette is determined. In this technical solution, after the cigarette packaging mode corresponding to the target cigarette is determined according to the cigarette brand corresponding to the target cigarette, if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data corresponding to the target cigarette during the cigarette group processing in the production process and the second auxiliary material consumption data corresponding to the target cigarette when the target cigarette is packaged in the manual packaging mode can be calculated, and then based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette in the cigarette processing process when there is manual packaging can be accurately calculated. The invention solves the problem in the prior art that the auxiliary material consumption data of a single box of cigarettes in the production process cannot be accurately calculated when manual packaging is required during the cigarette processing process, and achieves the effect of accurately calculating the auxiliary material consumption data of a single box of cigarettes when the manual packaging mode is used in the cigarette packaging stage.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a method for determining auxiliary material consumption data of a single box of cigarettes provided according to the first embodiment of the present invention;
[0024] Figure 2 is a flow chart of a method for determining auxiliary material consumption data of a single box of cigarettes provided in accordance with the second embodiment of the present invention;
[0025] Figure 3 It is a schematic diagram of the structure of a device for determining auxiliary material consumption data of a single box of cigarettes provided according to the third embodiment of the present invention;
[0026] Figure 4It is a structural schematic diagram of an electronic device for implementing the method for determining auxiliary material consumption data of a single box of cigarettes according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention. The acquisition, transmission, storage, use, and processing of data in the technical scheme of this application are in compliance with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of this application, certain software, components, or models that already exist in the industry may be mentioned. They should be considered as exemplary. Their purpose is only to illustrate the feasibility of the implementation of the technical scheme of this application, but it does not mean that the applicant has or will necessarily use the scheme.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.
[0029] Embodiment 1
[0030] Figure 1 A flow chart of a method for determining auxiliary material consumption data of a single box of cigarettes is provided for embodiment 1 of the present invention. This embodiment can be applicable to the situation where the auxiliary material consumption data of a single box of cigarettes in the process of cigarette processing is accurately calculated when the manual packaging mode is used for packaging at the cigarette packaging stage. The method can be executed by a device for determining the auxiliary material consumption data of a single box of cigarettes. The device for determining the auxiliary material consumption data of a single box of cigarettes can be implemented in the form of hardware and / or software. The device for determining the auxiliary material consumption data of a single box of cigarettes can be configured in a computing device that can execute the method for determining the auxiliary material consumption data of a single box of cigarettes.
[0031] like Figure 1 As shown, the method includes:
[0032] S110: Determine a cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette.
[0033] The cigarette brand number refers to the unique identifying information set for different brands of cigarettes. The cigarette packaging mode is a manual packaging mode or a group packaging mode. The so-called manual packaging mode refers to a mode in which cigarettes are packaged manually during the cigarette packaging stage, and the group packaging mode refers to a mode in which cigarettes are packaged directly based on cigarette packaging equipment.
[0034] In actual applications, tobacco processing institutions usually include cigarette production and cigarette packaging stages when they actually process cigarettes. Generally speaking, cigarette production can be carried out using a cigarette-rolling unit, while the cigarette packaging stage usually includes a manual packaging mode and a unit packaging mode. The reason is that there are certain differences in the cigarette sizes or cigarette packaging requirements corresponding to cigarettes of different cigarette brands, so different packaging equipment is required when packaging cigarettes. In actual applications, the cigarette packaging equipment of cigarette processing institutions may not be able to meet the cigarette packaging requirements of all cigarette brands. Based on this, in addition to the unit packaging mode, the manual packaging mode can also be used to package cigarettes when actually packaging cigarettes. For example, cigarette packaging equipment usually packages cigarettes in fixed sizes, but in actual applications, when the packaging requirements of different cigarette brands are different, the corresponding packaging sizes are different, so there may be cigarettes that cannot be directly packaged by cigarette packaging equipment. Based on this, when packaging cigarettes corresponding to cigarette brands that meet the preset packaging size of the cigarette packaging equipment, the unit packaging mode can be used, while when packaging cigarettes corresponding to cigarette brands that do not meet the preset packaging size of the cigarette packaging equipment, the manual packaging mode needs to be used.
[0035] On this basis, in order to facilitate the determination of the cigarette packaging mode corresponding to the target cigarette, the cigarette packaging modes corresponding to different cigarette brands can be pre-set, and then the cigarette packaging mode corresponding to the target cigarette can be directly determined according to the cigarette brand corresponding to the target cigarette when the target cigarette is processed. It should be noted that in actual applications, the cigarette packaging mode corresponding to cigarettes of the same cigarette brand is generally fixed, so the cigarette packaging mode corresponding to the target cigarette can be directly determined according to the cigarette brand.
[0036] S120: If the cigarette packaging mode is the manual packaging mode, determine the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing, and determine the second auxiliary material consumption data of the target cigarette during the cigarette packaging process.
[0037] Among them, the first auxiliary material consumption data can be understood as the auxiliary material data consumed by the target cigarette during the cigarette production stage. For example, the first auxiliary material consumption data can be auxiliary material data in the tobacco processing process such as cigarette paper, tipping paper, filter rod paper, trademark paper, liner paper, flavor, adhesive and cigarette filter material. The second auxiliary material consumption data can be understood as the auxiliary material data consumed when the target cigarette is packaged in the cigarette packaging stage and the cigarette packaging mode is a manual packaging mode. For example, the second auxiliary material consumption data can be auxiliary material data such as cigarette paper, filter rod, forming paper and tipping paper.
[0038] In practical applications, in order to determine the auxiliary material consumption data of a single box of target cigarettes during the entire tobacco processing process, in addition to calculating the first auxiliary material consumption data of the target cigarettes in the cigarette production stage, it is also necessary to calculate the second auxiliary material consumption data of the target cigarettes in the cigarette packaging stage, and then determine the single box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0039] Optionally, determining the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing includes: determining the completed work orders and unfinished work orders of the target cigarette based on the current production work order of the target cigarette; and determining the first auxiliary material consumption data corresponding to the target cigarette based on the target mapping table and the completed work order.
[0040] The target mapping table includes cigarette production data corresponding to at least one cigarette brand, and first auxiliary material consumption data corresponding to each cigarette brand.
[0041] The current production work order can be understood as work order information for indicating the processing content of the target cigarette. For example, the current production work order may include the cigarette production volume, cigarette processing date, and cigarette processing time of the target cigarette. In actual applications, there may be multiple production work orders for the target cigarette. A completed work order refers to a production work order that has completed cigarette processing, and an unfinished work order refers to a production work order that has not been processed at the current moment.
[0042] Exemplarily, the current production work orders corresponding to the target cigarettes include work order 1, work order 2 and work order 3. If work order 1 and work order 2 have been completed according to tobacco processing requirements at the current moment, and work order 3 has not yet been started or is in the processing process, it can be determined that the completed work orders include work order 1 and work order 2, and the unfinished work order is work order 3.
[0043] When actually counting the first auxiliary material consumption data of the target cigarettes in the cigarette processing stage, the cigarette production data corresponding to the target cigarettes and the first auxiliary material consumption data corresponding to the target cigarettes can be determined based on the preset target mapping table. The reason is that there is a corresponding relationship between the cigarette production and auxiliary material consumption data during the cigarette processing process. After the cigarette production corresponding to the target cigarette is known, the first auxiliary material consumption data corresponding to the target cigarette can be determined.
[0044] It should be noted that, since the target cigarette may correspond to multiple production work orders, when calculating the first auxiliary material consumption data corresponding to the target cigarette, the auxiliary material consumption data of the target cigarette is generally determined based on the cigarette output corresponding to the target cigarette in the completed work order, and there is no need to count the auxiliary material consumption data corresponding to the target cigarette in the unfinished work order. In other words, the first auxiliary material consumption data of the target cigarette can be understood as the auxiliary material consumption data corresponding to the target cigarette determined according to the cigarette output in the completed work order during the cigarette processing process.
[0045] On this basis, it is also necessary to further determine the second auxiliary material consumption data corresponding to the target cigarettes in the cigarette packaging stage, so as to jointly determine the single box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0046] It should be noted that if the cigarette packaging mode of the target cigarette is the group packaging mode, the auxiliary material consumption data used in the target cigarette processing process can generally be directly counted during the group packaging process, while when the cigarette packaging mode is the manual packaging mode, it is impossible to directly count the auxiliary material consumption data during the cigarette packaging process. The second auxiliary material consumption data in this technical solution is the auxiliary material consumption data of the target cigarette in the manual packaging mode.
[0047] S130. Determine the single-box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0048] In practical applications, after the target cigarettes are produced, they need to be packaged to obtain finished cigarettes in boxes. The auxiliary material consumption data of a single box refers to the total auxiliary material data consumed by each box of finished cigarettes during the cigarette processing.
[0049] Optionally, determining the auxiliary material consumption data for a single box of target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data includes: obtaining the auxiliary material consumption data for a single box of target cigarettes according to the sum of the first auxiliary material consumption data and the second auxiliary material consumption data.
[0050] Specifically, in the present technical solution, the processing process of the target cigarettes is divided into a cigarette processing stage and a cigarette packaging stage. It can be understood that a variety of auxiliary materials are involved in the entire processing process of the target cigarettes. When calculating the auxiliary material consumption data of the target cigarettes, the consumption data of a certain auxiliary material can be calculated in a targeted manner, or the consumption data of all auxiliary materials can be calculated and processed.
[0051] Taking the consumption data corresponding to any one auxiliary material as an example, the first auxiliary material consumption data of the target cigarette in the cigarette processing process is determined according to the target mapping table and the completed work order, and the second auxiliary material consumption data of the target cigarette in the cigarette packaging process is calculated. Further, the target cigarette is packaged into finished cigarettes in boxes, and the total auxiliary material consumption data is obtained based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data, and the single box auxiliary material consumption data corresponding to the target cigarette is obtained according to the ratio of the total auxiliary material consumption data to the number of finished cigarette boxes.
[0052] The technical solution of the embodiment of the present invention determines the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode; if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data of the target cigarette during the cigarette group processing is determined, and the second auxiliary material consumption data of the target cigarette during the cigarette packaging process is determined; based on the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette is determined. In this technical solution, after the cigarette packaging mode corresponding to the target cigarette is determined according to the cigarette brand corresponding to the target cigarette, if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data corresponding to the target cigarette during the cigarette group processing in the production process and the second auxiliary material consumption data corresponding to the target cigarette when the target cigarette is packaged in the manual packaging mode can be calculated, and then based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette in the cigarette processing process when there is manual packaging can be accurately calculated. The invention solves the problem in the prior art that the auxiliary material consumption data of a single box of cigarettes in the production process cannot be accurately calculated when manual packaging is required during the cigarette processing process, and achieves the effect of accurately calculating the auxiliary material consumption data of a single box of cigarettes when the manual packaging mode is used in the cigarette packaging stage.
[0053] Embodiment 2
[0054] Figure 2A flow chart of a method for determining auxiliary material consumption data of a single box of cigarettes provided in Example 2 of the present invention, optionally, if the cigarette packaging mode is the manual packaging mode, the first auxiliary material consumption data of the target cigarette in the cigarette unit processing process is determined, and the second auxiliary material consumption data of the target cigarette in the cigarette packaging process is determined and refined.
[0055] like Figure 2 As shown, the method includes:
[0056] S210: Determine a cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette.
[0057] In a specific example, the production auxiliary material consumption data of the target cigarette is obtained, and the cigarette production data and auxiliary material consumption data of the rolling and connecting group in the cigarette production business system are screened to obtain the cigarette production data and auxiliary material consumption data corresponding to the target cigarette. Among them, the auxiliary material consumption data includes first auxiliary material consumption data and second auxiliary material consumption data. In this technical solution, the cigarette packaging mode corresponding to the target cigarette can be determined according to the cigarette brand of the target cigarette to determine the total auxiliary material consumption data of the target cigarette under different cigarette packaging modes. Among them, the cigarette packaging mode includes a manual packaging mode or a group packaging mode.
[0058] It can be understood that in order to accurately determine the auxiliary material consumption data of a single box of target cigarettes during the cigarette production process, after obtaining the auxiliary material consumption data of the target cigarettes during the production process, the obtained auxiliary material data can be stored so that when calculating the auxiliary material consumption data, the corresponding auxiliary material data can be directly retrieved for calculation.
[0059] Exemplarily, at least one data storage dimension is pre-set according to actual needs. For example, the data storage dimensions may include the cigarette production business period dimension, the auxiliary material dimension, and the cigarette processing mode dimension. The auxiliary material data corresponding to the acquired target cigarette is stored in the corresponding storage area according to different data storage dimensions, for example, according to the storage size, storage time, and data storage increment. Among them, if the storage is performed in the form of data storage increment, the incremental storage method can be pre-set. For example, incremental storage is performed according to the cigarette production business period, and 0:00 every day can be used as the time node, and the auxiliary material consumption data belonging to the same cigarette production date can be stored separately, that is, the auxiliary material consumption data consumed by the target cigarette in the No. 1 production process is stored in the first storage area, and the auxiliary material consumption data consumed by the target cigarette in the No. 2 production process is stored in the second storage area, and so on.
[0060] On this basis, in order to automatically obtain the auxiliary material consumption data corresponding to the target cigarette, the user can establish a data source link between the cigarette production business system and the data repository to obtain the cigarette production and auxiliary material consumption data corresponding to the target cigarette through the data repository. Among them, this technical solution does not limit the storage form of the cigarette data related to the target cigarette, for example, it can be stored in the form of text data or in the form of Excel tables.
[0061] Exemplarily, when storing the cigarette-related data of the target cigarette, different data storage dimensions may be set.
[0062] Taking the first auxiliary material consumption data of the target cigarette in the cigarette production stage as an example, the corresponding data storage dimensions may include material dimension, time dimension, unit dimension, organizational dimension and work order dimension, etc. Among them, the material dimension may include the cigarette specification code (i.e., cigarette brand), cigarette characteristic attributes, auxiliary material code, auxiliary material type and auxiliary material characteristic attributes corresponding to the target cigarette. The time dimension can be set to year, half year, quarter, month, business date or accounting date, etc. The unit dimension includes cigarette product output unit or auxiliary material consumption unit, etc. The organizational dimension includes company, factory, workshop, unit or model, etc. The work order dimension includes information such as production work order, production type or work order status.
[0063] Taking the data storage of the second auxiliary material consumption data of the target cigarette in the manual packaging mode as an example, different data storage dimensions can be set. For example, the data storage dimensions that can be set when storing the second auxiliary material consumption data include material dimension, time dimension, organization dimension and unit dimension, etc. Among them, the material dimension can be set to cigarette specification code, cigarette brand, cigarette characteristic attribute, auxiliary material code, auxiliary material type and auxiliary material characteristic attribute, etc. The time dimension can be set to year, half year, quarter, month or business date, etc. The unit dimension can be set to cigarette product output unit or auxiliary material consumption unit, etc. The organizational dimension can be set to company, factory, workshop or team, etc.
[0064] Based on this, in practical applications, after obtaining cigarette-related data corresponding to the target cigarette, the cigarette packaging mode corresponding to the target cigarette can be determined according to the cigarette brand corresponding to the target cigarette.
[0065] S220: If the cigarette packaging mode is the manual packaging mode, determine the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing, and determine the second auxiliary material consumption data of the target cigarette during the cigarette packaging process.
[0066] Specifically, the second auxiliary material consumption data is the auxiliary material consumption data of a single box in the manual shift under the manual packaging mode. Determining the second auxiliary material consumption data of the target cigarettes during the cigarette packaging process includes: obtaining the auxiliary material consumption data of a single box in the manual shift based on the ratio of the auxiliary material consumption data in the manual packaging mode to the cigarette packaging volume.
[0067] In actual applications, if the cigarette packaging mode corresponding to the target cigarette is a manual packaging mode, the auxiliary material consumption data (i.e., the second auxiliary material consumption data) of the manual shift corresponding to the target cigarette in this period can be summarized, and the auxiliary material consumption data of the manual shift corresponding to the target cigarette can be obtained according to the ratio of the auxiliary material consumption data in the manual packaging mode to the cigarette packaging volume. For example, assuming that the number of cigarettes in each box of finished cigarettes is 50,000, the cigarette packaging volume can be obtained according to the ratio of the cigarette production data of the manual shift in this period to the number of cigarettes, and then the auxiliary material consumption data of the target cigarette in the manual shift can be obtained according to the ratio of the auxiliary material consumption data in the manual packaging mode to the cigarette packaging volume.
[0068] Optionally, the second auxiliary material consumption data is the auxiliary material consumption data of the rolling and splicing unit under the unit packaging mode, and the second auxiliary material consumption data of the target cigarettes in the cigarette packaging process is determined, including: if the cigarette output of the rolling and splicing unit is greater than or equal to the cigarette output of the manual shift, then the auxiliary material consumption data of the rolling and splicing unit is determined according to the cigarette packaging volume under the manual packaging mode and the auxiliary material consumption data under the unit packaging mode.
[0069] In actual applications, cigarette production is carried out by the cigarette rolling and connecting unit during the cigarette production process, and then the cigarettes are packaged after production. However, according to the actual cigarette production and packaging needs, the cigarette output and cigarette packaging quantity completed in the same period do not completely match. For example, the cigarette output of the month is 10 million cigarettes, but according to the cigarette packaging demand, only 6 million cigarettes are packaged. Or, the cigarette output of the month is 3 million cigarettes, but according to the cigarette packaging demand, 10 million cigarettes need to be packaged. At this time, it is necessary to complete the corresponding number of cigarette packaging within this month on the premise that the cumulative cigarette output in the historical period meets the number of cigarette packaging.
[0070] It is not difficult to see that there are two situations in the cigarette processing process. One is that the cigarette output of the rolling machine group is greater than or equal to the cigarette packaging volume of the manual team, and the other is that the cigarette output of the rolling machine group is less than the cigarette packaging volume of the manual team.
[0071] Specifically, if the cigarette output of the cigarette-making group is greater than or equal to the cigarette output of the manual class, the auxiliary material consumption data of the cigarette-making group corresponding to the target cigarette can be determined based on the following formula:
[0072] Consumption data of auxiliary materials of the cigarette making machine group = ∑ cigarette production of the manual shift in this period / 5*∑ auxiliary materials consumption of the cigarette making machine group by specification in this period / (∑ cigarette production of the cigarette making machine group by section in this period / 5)
[0073] Among them, 5 is the number of cigarettes in each box of finished cigarettes, the unit is ten thousand, and 5 is only a reference. In practical applications, it can be set according to the actual number of cigarettes in each box of finished cigarettes.
[0074] Optionally, the second auxiliary material consumption data of the target cigarettes in the cigarette packaging process is determined, including: if the cigarette output of the rolling machine group is less than the cigarette output of the manual shift, then the first data to be used is obtained according to the difference between the cigarette output of the manual shift in the current period and the cigarette output of the rolling machine group in the current period; the second data to be used is obtained according to the ratio of the auxiliary material consumption data of the rolling machine group in the previous period and the cigarette output of the rolling machine group in the previous period; the second auxiliary material consumption data of the target cigarette in the cigarette packaging process is determined according to the auxiliary material consumption data of the rolling machine group in the current period, the first data to be used and the second data to be used.
[0075] Specifically, if the cigarette output of the cigarette-making group is less than the cigarette output of the manual shift, the auxiliary material consumption data of the cigarette-making group corresponding to the target cigarette can be determined based on the following formula:
[0076] The consumption data of auxiliary materials of the rolling machine section during the period = ∑ the consumption of auxiliary materials of the rolling machine section by specification during the current period + (the cigarette production of the manual shift during the current period – the cigarette production of the rolling machine section during the current period) / 5 * ∑ the consumption of auxiliary materials of the rolling machine section by specification during the previous period / (∑ the cigarette production of the rolling machine section during the previous period / 5)
[0077] Among them, the cigarette production of the rolling machine section in the previous period is the sum of the total production in the previous period calculated forward. The production of the rolling machine section in the forward period needs to be greater than or equal to the difference (the cigarette production of the manual class in this period - the cigarette production of the rolling machine section in this period). The cigarette production of the rolling machine section in the previous period is the sum of the production of each period.
[0078] S230: Determine the single-box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0079] The technical solution of the embodiment of the present invention determines the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode; if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data of the target cigarette during the cigarette group processing is determined, and the second auxiliary material consumption data of the target cigarette during the cigarette packaging process is determined; based on the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette is determined. In this technical solution, after the cigarette packaging mode corresponding to the target cigarette is determined according to the cigarette brand corresponding to the target cigarette, if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data corresponding to the target cigarette during the cigarette group processing in the production process and the second auxiliary material consumption data corresponding to the target cigarette when the target cigarette is packaged in the manual packaging mode can be calculated, and then based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette in the cigarette processing process when there is manual packaging can be accurately calculated. The invention solves the problem in the prior art that the auxiliary material consumption data of a single box of cigarettes in the production process cannot be accurately calculated when manual packaging is required during the cigarette processing process, and achieves the effect of accurately calculating the auxiliary material consumption data of a single box of cigarettes when the manual packaging mode is used in the cigarette packaging stage.
[0080] Embodiment 3
[0081] Figure 3 This is a schematic diagram of the structure of a device for determining the consumption data of auxiliary materials for a single box of cigarettes provided in the third embodiment of the present invention. Figure 3 As shown, the device includes: a mode determination module 310, an auxiliary material consumption data determination module 320 and a single box auxiliary material consumption data determination module 330.
[0082] The mode determination module 310 is used to determine the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a machine group packaging mode;
[0083] The auxiliary material consumption data determination module 320 is used to determine the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing and determine the second auxiliary material consumption data of the target cigarette during the cigarette packaging process if the cigarette packaging mode is the manual packaging mode;
[0084] The single-box auxiliary material consumption data determination module 330 is used to determine the single-box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
[0085] The technical solution of the embodiment of the present invention determines the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode; if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data of the target cigarette during the cigarette group processing is determined, and the second auxiliary material consumption data of the target cigarette during the cigarette packaging process is determined; based on the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette is determined. In this technical solution, after the cigarette packaging mode corresponding to the target cigarette is determined according to the cigarette brand corresponding to the target cigarette, if the cigarette packaging mode is a manual packaging mode, the first auxiliary material consumption data corresponding to the target cigarette during the cigarette group processing in the production process and the second auxiliary material consumption data corresponding to the target cigarette when the target cigarette is packaged in the manual packaging mode can be calculated, and then based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data, the single box auxiliary material consumption data corresponding to the target cigarette in the cigarette processing process when there is manual packaging can be accurately calculated. The invention solves the problem in the prior art that the auxiliary material consumption data of a single box of cigarettes in the production process cannot be accurately calculated when manual packaging is required during the cigarette processing process, and achieves the effect of accurately calculating the auxiliary material consumption data of a single box of cigarettes when the manual packaging mode is used in the cigarette packaging stage.
[0086] Optionally, the auxiliary material consumption data determination module includes: a work order determination submodule, which is used to determine the completed work orders and unfinished work orders of the target cigarettes according to the current production work orders of the target cigarettes;
[0087] The first auxiliary material consumption data determination submodule is used to determine the first auxiliary material consumption data corresponding to the target cigarette based on the target mapping table and the completed work order; wherein the target mapping table includes cigarette production data corresponding to at least one cigarette brand, and the first auxiliary material consumption data corresponding to each cigarette brand.
[0088] Optionally, the auxiliary material consumption data determination module is used for the second auxiliary material consumption data including the auxiliary material consumption data of a single box in the manual shift under the manual packaging mode, and obtains the auxiliary material consumption data of a single box in the manual shift according to the ratio of the auxiliary material consumption data in the manual packaging mode to the cigarette packaging volume.
[0089] Optionally, the auxiliary material consumption data determination module is used for the second auxiliary material consumption data including the auxiliary material consumption data of the rolling and splicing unit in the unit packaging mode. If the cigarette output of the rolling and splicing unit is greater than or equal to the cigarette output of the manual shift, the auxiliary material consumption data of the rolling and splicing unit is determined based on the cigarette packaging volume in the manual packaging mode and the auxiliary material consumption data in the unit packaging mode.
[0090] Optionally, the auxiliary material consumption data determination module includes: a first data to be used determination submodule, which is used to obtain the first data to be used according to the difference between the cigarette production of the manual shift and the cigarette production of the rolling machine group during the current period if the cigarette production of the rolling machine group is less than the cigarette production of the manual shift;
[0091] A second data to be used determination submodule, used to obtain the second data to be used according to the ratio of the auxiliary material consumption data of the previous cigarette rolling and connecting group and the cigarette output of the previous cigarette rolling and connecting group;
[0092] The second auxiliary material consumption data determination submodule is used to determine the second auxiliary material consumption data of the target cigarette in the cigarette packaging process according to the auxiliary material consumption data of the cigarette-making unit during the current period, the first data to be used and the second data to be used.
[0093] Optionally, the single-box auxiliary material consumption data determination module is used to obtain the single-box auxiliary material consumption data corresponding to the target cigarettes based on the sum of the first auxiliary material consumption data and the second auxiliary material consumption data.
[0094] The device for determining auxiliary material consumption data of a single box of cigarettes provided in an embodiment of the present invention can execute the method for determining auxiliary material consumption data of a single box of cigarettes provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0095] Embodiment 4
[0096] Figure 4 A schematic diagram of the structure of an electronic device 10 of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0097] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0098] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0099] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining the consumption data of a single box of cigarette excipients.
[0100] In some embodiments, the method for determining the auxiliary material consumption data of a single box of cigarettes can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the auxiliary material consumption data of a single box of cigarettes described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for determining the auxiliary material consumption data of a single box of cigarettes in any other appropriate manner (for example, by means of firmware).
[0101] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] The computer program for implementing the method of determining the consumption data of cigarette single box auxiliary materials of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or the block diagram are implemented. The computer program can be executed completely on the machine, partially on the machine, as an independent software package, partially on the machine and partially on the remote machine, or completely on the remote machine or server.
[0103] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0105] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0106] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0107] Embodiment 5
[0108] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining auxiliary material consumption data of a single box of cigarettes as provided in any embodiment of the present application.
[0109] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0111] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining the consumption data of auxiliary materials in a single box of cigarettes, characterized in that: include: Determine the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a machine group packaging mode; If the cigarette packaging mode is the manual packaging mode, determining the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing, and determining the second auxiliary material consumption data of the target cigarette during the cigarette packaging process; Based on the first auxiliary material consumption data and the second auxiliary material consumption data, the single-box auxiliary material consumption data corresponding to the target cigarettes is determined.
2. The method according to claim 1, characterized in that: The determining of the first auxiliary material consumption data of the target cigarette during the cigarette making machine group processing includes: Determining completed work orders and unfinished work orders of the target cigarettes according to the current production work orders of the target cigarettes; The first auxiliary material consumption data corresponding to the target cigarette is determined based on the target mapping table and the completed work order; wherein the target mapping table includes cigarette production data corresponding to at least one cigarette brand, and first auxiliary material consumption data corresponding to each cigarette brand.
3. The method according to claim 1, characterized in that The second auxiliary material consumption data includes auxiliary material consumption data of a single box of manual shifts in a manual packaging mode, and the second auxiliary material consumption data of the target cigarettes in the cigarette packaging process is determined, including: According to the ratio of the auxiliary material consumption data and the cigarette packaging volume in the manual packaging mode, the auxiliary material consumption data of a single box in the manual packaging section is obtained.
4. The method according to claim 3, characterized in that The second auxiliary material consumption data includes auxiliary material consumption data of the cigarette-making unit in the unit packaging mode, and the second auxiliary material consumption data of the target cigarette in the cigarette packaging process is determined, including: If the cigarette output of the rolling and connecting machine group is greater than or equal to the cigarette output of the manual shift, the auxiliary material consumption data of the rolling and connecting machine group is determined according to the cigarette packaging volume in the manual packaging mode and the auxiliary material consumption data in the group packaging mode.
5. The method according to claim 4, characterized in that The determining of the second auxiliary material consumption data of the target cigarette during the cigarette packaging process includes: If the cigarette output of the cigarette-making group is less than the cigarette output of the manual shift, the first data to be used is obtained according to the difference between the cigarette output of the manual shift and the cigarette output of the cigarette-making group during the current period; The second data to be used is obtained according to the ratio of the auxiliary material consumption data of the cigarette making and cigarette making machine group in the previous period to the cigarette production of the cigarette making and cigarette making machine group in the previous period; The second auxiliary material consumption data of the target cigarette in the cigarette packaging process is determined according to the auxiliary material consumption data of the cigarette-making machine group during the present period, the first data to be used and the second data to be used.
6. The method according to claim 1, characterized in that The determining, based on the first auxiliary material consumption data and the second auxiliary material consumption data, the auxiliary material consumption data for a single box corresponding to the target cigarettes comprises: The single-box auxiliary material consumption data corresponding to the target cigarettes is obtained according to the sum of the first auxiliary material consumption data and the second auxiliary material consumption data.
7. A device for determining the consumption data of auxiliary materials in a single box of cigarettes, characterized in that: include: A mode determination module, used to determine the cigarette packaging mode corresponding to the target cigarette according to the cigarette brand of the target cigarette; wherein the cigarette packaging mode is a manual packaging mode or a group packaging mode; An auxiliary material consumption data determination module, for determining the first auxiliary material consumption data of the target cigarette during the cigarette making machine processing if the cigarette packaging mode is the manual packaging mode, and determining the second auxiliary material consumption data of the target cigarette during the cigarette packaging process; A single-box auxiliary material consumption data determination module is used to determine the single-box auxiliary material consumption data corresponding to the target cigarettes based on the first auxiliary material consumption data and the second auxiliary material consumption data.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the auxiliary material consumption data of a single box of cigarettes according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining auxiliary material consumption data of a single box of cigarettes according to any one of claims 1 to 6 when executed.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the method for determining the auxiliary material consumption data of a single box of cigarettes according to any one of claims 1 to 6.