Cigarette finished product and tobacco shred association method, device and equipment and storage medium

By establishing the correlation between the weight of cigarette feed and the output of the cigarette rolling machine, and between the output of the cigarette rolling machine and the number of finished small boxes, the material correlation problem in the process from finished tobacco to finished small boxes was solved, and accurate and rapid traceability of data throughout the entire process was achieved.

CN121998493APending Publication Date: 2026-05-08CHINA 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-01-20
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In the existing technology, there is a lack of effective material correlation methods in the process of cigarette production, from finished tobacco to finished cigarette packs, which leads to inaccurate quality traceability and slow speed.

Method used

By establishing a first correlation formula between the weight of cigarette feed and the output of the cigarette making machine, and a second correlation formula between the output of the cigarette making machine and the number of finished small boxes, a target correlation relationship between the target batch of tobacco and the finished small boxes is constructed, thereby achieving full-process data connectivity.

Benefits of technology

It improved the accuracy and speed of quality traceability, and achieved full-process data connectivity from finished tobacco shreds to finished small boxes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121998493A_ABST
    Figure CN121998493A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a cigarette finished product and cut tobacco association method, device and equipment and a storage medium, and the method comprises the steps: determining a first association relationship between a target batch of cut tobacco and the yield of a cigarette making and plug assembling machine based on a first association formula when the cigarette cut tobacco feeding weight reaches a preset association condition; wherein the first correlation formula is used for representing the corresponding relation between the cigarette shred feeding weight and the yield of the cigarette making and plug assembling machine; determining a second association relationship between the cigarette making and plug assembling machine yield and the target finished product small box based on a second association formula; wherein the second correlation formula is used for representing the corresponding relation between the cigarette making and plug assembling machine yield and the finished product small box number; and based on the first association relationship and the second association relationship, determining a target association relationship between the target batch of tobacco shreds and the target finished product small box. According to the technical scheme, the incidence relation between the cigarette cut tobacco feeding weight and the number of the finished small boxes can be constructed based on the yield of the cigarette making and plug assembling machine as an intermediate parameter, and the accuracy and speed of quality tracing are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of tobacco management technology, and in particular to a method, apparatus, equipment and storage medium for associating finished cigarettes with tobacco shreds. Background Technology

[0002] Currently, cigarette manufacturers have achieved data association between raw tobacco leaves and finished tobacco products through batch processing or order numbers in the tobacco processing stage, and the packaging workshop has achieved data association through QR codes on individual boxes, cartons, and packs of cigarettes. However, there is a lack of effective material association methods in the process from finished tobacco products to individual boxes. Summary of the Invention

[0003] This invention provides a method, apparatus, equipment, and storage medium for associating finished cigarette products with tobacco shreds, which can realize end-to-end data flow from finished tobacco shreds to finished cigarette packs, improving the accuracy and speed of quality traceability.

[0004] In a first aspect, embodiments of the present invention provide a method for associating finished cigarettes with tobacco leaves, the method comprising:

[0005] When the cigarette feed weight reaches a preset correlation condition, a first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on a first correlation formula; wherein, the first correlation formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette making machine; a second correlation relationship between the output of the cigarette making machine and the target finished product box is determined based on a second correlation formula; wherein, the second correlation formula is used to represent the correspondence between the output of the cigarette making machine and the number of finished product boxes; based on the first correlation relationship and the second correlation relationship, a target correlation relationship between the target batch of tobacco and the target finished product box is determined.

[0006] Secondly, embodiments of the present invention provide a device for associating finished cigarettes with tobacco leaves, the device comprising:

[0007] The first association determination module is used to determine a first association relationship between the target batch of tobacco and the output of the cigarette-making machine based on a first association formula when the cigarette feed weight reaches a preset association condition; wherein the first association formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette-making machine; the second association determination module is used to determine a second association relationship between the output of the cigarette-making machine and the target finished product box based on a second association formula; wherein the second association formula is used to represent the correspondence between the output of the cigarette-making machine and the number of finished product boxes; the target association determination module is used to determine a target association relationship between the target batch of tobacco and the target finished product box based on the first association relationship and the second association relationship.

[0008] Thirdly, embodiments of the present invention provide a computer device, the computer device comprising:

[0009] One or more processors;

[0010] Memory, used to store one or more programs;

[0011] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for associating finished cigarettes with tobacco as described in any embodiment.

[0012] Fourthly, embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for associating finished cigarettes with tobacco as described in any embodiment.

[0013] The technical solution provided by this invention determines a first correlation between the target batch of tobacco and the output of the cigarette-making machine based on a first correlation formula when the cigarette feed weight reaches a preset correlation condition. The first correlation formula represents the correspondence between the cigarette feed weight and the output of the cigarette-making machine. A second correlation formula is then used to determine a second correlation between the output of the cigarette-making machine and the target finished product box. The second correlation formula represents the correspondence between the output of the cigarette-making machine and the number of finished product boxes. Based on the first and second correlations, a target correlation between the target batch of tobacco and the target finished product box is determined. This invention solves the problem in the prior art of effectively correlating data from finished tobacco to finished product boxes. It can construct a correlation between the cigarette feed weight and the number of finished product boxes based on the output of the cigarette-making machine as an intermediate parameter, achieving end-to-end data connectivity from finished tobacco to finished product boxes, and improving the accuracy and speed of quality traceability. Attached Figure Description

[0014] Figure 1 This is a flowchart of a method for associating finished cigarettes with tobacco shreds provided in an embodiment of the present invention;

[0015] Figure 2 This is a flowchart of another method for associating finished cigarettes with tobacco provided in an embodiment of the present invention;

[0016] Figure 3 This is a flowchart illustrating the determination of key parameters in the process of associating finished cigarettes with tobacco shreds, as provided in an embodiment of the present invention.

[0017] Figure 4 This is a schematic diagram of the structure of a device for associating finished cigarettes with tobacco provided in an embodiment of the present invention;

[0018] Figure 5This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. The acquisition, storage, use, and processing of data in the technical solutions of the embodiments of the present invention all comply with the relevant provisions of national laws and regulations.

[0020] Figure 1 This is a flowchart of a method for associating finished cigarettes and tobacco shreds according to an embodiment of the present invention. The embodiment of the present invention can be applied to scenarios where an association relationship is established between tobacco shreds and finished cigarette boxes. The method can be executed by an association device between finished cigarettes and tobacco shreds, which can be implemented by software and / or hardware.

[0021] like Figure 1 As shown, the method for associating finished cigarettes with tobacco includes the following steps:

[0022] S110. When the weight of the cigarette feed reaches the preset correlation condition, the first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on the first correlation formula.

[0023] The target batch of tobacco can be a batch of tobacco that needs to be associated with the finished cigarette box. For example, finished tobacco from at least one tobacco box can be selected as the target batch of tobacco automatically or manually. The cigarette feed weight can be the statistical weight of the target batch of tobacco fed to the cigarette-making machine. The preset association condition can be the trigger condition for initiating the association between the finished tobacco and the finished cigarette box. Specifically, the preset association condition can be determined based on a preset association condition determination method, combined with the attribute information of the target batch of tobacco.

[0024] Furthermore, the first correlation formula is used to represent the correspondence between the weight of cigarette feed and the output of the cigarette-making machine. The first correlation can be the correlation between the weight of consumed tobacco in the target batch and the output of the cigarette-making machine. For example, a first correlation curve is constructed based on the first correlation formula, relating the weight of consumed tobacco in the target batch to the output of the cigarette-making machine, and this first correlation curve is used as the first correlation relationship.

[0025] S120. Determine the second correlation relationship between the output of the coiling machine and the target finished small box based on the second correlation formula.

[0026] The second correlation formula represents the relationship between the output of the cigarette-making machine and the number of finished product boxes. This second correlation can be the relationship between the output of the cigarette-making machine and the number of target finished product boxes during the processing of a target batch of tobacco. Specifically, known parameters can be substituted into the second correlation formula to fit a second correlation curve between the output of the cigarette-making machine and the number of finished product boxes on a coordinate system (horizontal axis: number of target finished product boxes; vertical axis: output of the cigarette-making machine). This second correlation curve can then be used as the second correlation relationship.

[0027] S130. Based on the first association relationship and the second association relationship, determine the target association relationship between the target batch of tobacco and the target finished product box.

[0028] The target correlation can be the relationship between the consumed weight of the target batch of tobacco and the number of target finished product boxes. Specifically, the second correlation can be substituted into the first correlation to obtain the target correlation.

[0029] The technical solution provided by this invention determines a first correlation between the target batch of tobacco and the output of the cigarette-making machine based on a first correlation formula when the cigarette feed weight reaches a preset correlation condition. The first correlation formula represents the correspondence between the cigarette feed weight and the output of the cigarette-making machine. A second correlation formula is then used to determine a second correlation between the output of the cigarette-making machine and the target finished product box. The second correlation formula represents the correspondence between the output of the cigarette-making machine and the number of finished product boxes. Based on the first and second correlations, a target correlation between the target batch of tobacco and the target finished product box is determined. This invention solves the problem in the prior art of effectively correlating data from finished tobacco to finished product boxes. It can construct a correlation between the cigarette feed weight and the number of finished product boxes based on the output of the cigarette-making machine as an intermediate parameter, achieving end-to-end data connectivity from finished tobacco to finished product boxes, and improving the accuracy and speed of quality traceability.

[0030] Figure 2 This is a flowchart of another method for associating finished cigarettes and tobacco shreds provided by an embodiment of the present invention. This embodiment of the present invention can be applied to scenarios where an association relationship is established between tobacco shreds and finished cigarette boxes. Based on the above embodiments, this embodiment further explains how to determine the first association relationship between the target batch of tobacco shreds and the output of the cigarette making machine based on the first association formula when the cigarette feeding weight reaches the preset association condition; and how to update the first association relationship. This device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.

[0031] like Figure 2As shown, the method for associating finished cigarettes with tobacco includes the following steps:

[0032] S210. Obtain the weight of a single box of tobacco shreds in the target batch, and determine the associated weight threshold sequence based on the weight of a single box of tobacco shreds.

[0033] The target batch of tobacco can be a batch of tobacco that needs to be associated with the finished cigarette box. For example, finished tobacco from at least one tobacco box can be selected as the target batch of tobacco automatically or manually. The weight of a single box of tobacco can be the weight of the finished tobacco contained in a single box. For example, the weight of a single box of tobacco can be obtained by scanning an identification code on the surface of the tobacco box, or it can be manually entered by the user.

[0034] Furthermore, the associated weight threshold sequence can be a sequence of weight thresholds from which the finished tobacco products are associated with the finished cigarette boxes. Specifically, the associated weight threshold sequence can contain multiple associated weight thresholds. Whenever the weight of tobacco consumed in the target batch reaches a certain associated weight threshold, the association between the tobacco consumed from the last time the association began and the finished cigarette boxes can begin. Specifically, each threshold in the associated weight threshold sequence can be an integer multiple of the weight of a single box of tobacco, or an integer multiple of 1 / 2, 1 / 3, or 1 / 4 of the weight of a single box of tobacco. The specific setting method can be customized by the user as needed. For example, if the weight of a single box of tobacco is 180kg, the associated weight threshold sequence could be [180, 360, 480, 600, 720…]. By setting the associated weight threshold sequence, the association between the target batch of tobacco and the finished cigarette boxes can be constructed from multiple time points, facilitating more accurate tracking of problematic tobacco during quality traceability.

[0035] S220. When the current cigarette feed weight reaches any of the associated weight thresholds in the associated weight threshold sequence, determine the first association relationship between the target batch of tobacco and the output of the cigarette making machine based on the first association formula.

[0036] The current cigarette feed weight can be the weight of tobacco shreds from the target batch fed to the cigarette-making machine at the current moment. The first correlation formula represents the relationship between the cigarette feed weight and the cigarette-making machine's output. Specifically, the first correlation formula is: Feed weight = K1 Tobacco withdrawal weight + K2 Tobacco consumption per 10,000 cigarettes * (Number of cigarettes rejected by the cigarette-making machine + Number of cigarettes rejected by the cigarette-making machine) / 10000. Here, K1 represents the first weighting coefficient corresponding to the tobacco withdrawal weight; K2 represents the second weighting coefficient corresponding to the cigarette-making machine's output; the tobacco withdrawal weight can be the weight of tobacco rejected by the cigarette-making machine; the tobacco consumption per 10,000 cigarettes (which can be manually configured) can be the weight of tobacco consumed to produce 10,000 cigarettes; and the number of cigarettes rejected by the cigarette-making machine can be the number of cigarettes rejected by the cigarette-making machine.

[0037] Specifically, the tobacco feeding weight in the first correlation formula can be considered as the current cigarette feeding weight. By substituting the tobacco removal weight, the number of rejections by the cigarette-making machine, and the cigarette-making machine output into the first correlation formula, the current cigarette feeding weight is obtained. A correlation is established when the current cigarette feeding weight reaches any of the correlation weight thresholds in the correlation weight threshold sequence. The first correlation can be the correlation between the consumed tobacco weight of the target batch and the cigarette-making machine output. Specifically, a first correlation curve is constructed based on the first correlation formula, relating the consumed tobacco weight to the cigarette-making machine output, and this first correlation curve is used as the first correlation relationship. For example, a first coordinate system can be constructed, with the cigarette-making machine output on the horizontal axis and the consumed tobacco weight on the vertical axis, and then the first correlation curve can be fitted into this first coordinate system.

[0038] Optionally, to ensure the accuracy of the first correlation, the first and second weight coefficients can be dynamically updated during the analysis. The dynamic updating method for the first and second weight coefficients includes: at preset intervals, constructing a historical cigarette correlation formula based on historical cigarette data, and using the solution obtained from the historical cigarette correlation formula as the updated first and second weight coefficients.

[0039] Historical cigarette data can be data from the tobacco processing and cigarette production process during a historical period. Specifically, historical cigarette data can include tobacco consumption and cigarette making machine production data. The historical cigarette relationship can be the correlation between tobacco consumption weight and cigarette making machine output, analyzed from historical cigarette data. Specifically, historical data can be selected from the historical cigarette data and substituted into the first correlation formula to obtain the historical cigarette relationship. The historical cigarette relationship can be a linear equation in two variables, where the two unknowns are the first weighting coefficient and the second weighting coefficient. By solving the historical cigarette relationship, updated first and second weighting coefficients can be obtained.

[0040] For example, constructing a historical cigarette relationship based on historical cigarette data includes: selecting two reference cigarette cases from the historical cigarette data; constructing a system of two linear equations based on the historical feed weight, historical tobacco removal weight, historical number of rejections by the cigarette making machine, and historical output of the cigarette making machine in the two reference cigarette cases, and using the constructed system of two linear equations as the historical cigarette relationship.

[0041] The reference cigarette case can be selected from the historical cigarette data used in the two most recent weight updates. Furthermore, for each reference cigarette case, the historical feeding weight, historical tobacco removal weight, historical cigarette making machine rejection count, and historical cigarette making machine output can be substituted into the first correlation formula to obtain a system of two linear equations.

[0042] S230. Determine the second correlation relationship between the output of the coiling machine and the target finished small box based on the second correlation formula.

[0043] The target finished cigarette boxes are obtained by processing the target batch of tobacco. The second correlation formula represents the relationship between the output of the cigarette-making machine and the number of finished cigarette boxes. Specifically, the second correlation formula is: cigarette-making machine output = number of cigarettes ejected + number of cigarette boxes * 20; where the number of cigarettes ejected can be the number of cigarettes discarded during the packaging process into finished cigarette boxes. The second correlation relationship can be the relationship between the output of the cigarette-making machine and the number of target finished cigarette boxes during the processing of the target batch of tobacco. Specifically, the number of cigarettes ejected, the number of cigarette boxes, and the aforementioned cigarette-making machine output can be substituted into the second correlation formula to fit a second correlation curve between the output of the cigarette-making machine and the number of finished cigarette boxes on a second coordinate system (the horizontal axis is the number of target finished cigarette boxes, and the vertical axis is the output of the cigarette-making machine), and this second correlation curve can be used as the second correlation relationship.

[0044] S240. Based on the first association relationship and the second association relationship, determine the target association relationship between the target batch of tobacco and the target finished product box.

[0045] Optionally, upon receiving an association traceability instruction, the number of small boxes to be associated can be determined based on the association traceability instruction; and the batch feed weight corresponding to the number of small boxes to be associated can be determined based on the target association relationship.

[0046] The tracing instruction can be a request instruction to perform tracing of related relationships. For example, a user can manually fill in the quantity numbers of cigarette boxes requiring tracing, and then send it to the device in this embodiment of the invention. Subsequently, the target tobacco corresponding to the filled cigarette box quantity numbers can be determined based on the target tracing relationship. The number of small boxes to be associated can be the count of cigarette boxes requiring tracing (i.e., the quantity numbers of the cigarette boxes). Specifically, the quantity numbers of the cigarette boxes requiring tracing can be extracted from the tracing instruction, and the extracted quantity numbers can be used as the number of small boxes to be associated. Further, the batch tobacco feeding weight can be a range of tobacco consumption weight corresponding to the number of small boxes to be associated. Specifically, the number of small boxes to be associated can be substituted into the target tracing relationship to determine the batch tobacco feeding weight corresponding to the number of small boxes to be associated, achieving a rapid association between the cigarette tobacco feeding weight and the number of finished small boxes.

[0047] Optionally, the association relationship between the tobacco boxes corresponding to the target batch of tobacco can also be obtained. Based on the tobacco box association relationship and the target association relationship, the correspondence between the tobacco box number and the target finished product box can be determined. The tobacco box association relationship represents the correspondence between the weight of the tobacco in the target batch and the tobacco box number. The number correspondence relationship can be the correspondence between the tobacco box number of the target batch of tobacco and the count number of the target finished product box. By constructing the number correspondence between the tobacco box number and the target finished product box, the problematic tobacco box number corresponding to the problematic box can be quickly located.

[0048] For example, in order to better understand the technical solution provided by the present invention, specific embodiments are described below: Figure 3 This is a flowchart illustrating the determination of key parameters in the process of associating finished cigarettes with tobacco shreds, as provided in an embodiment of the present invention. For example... Figure 3 As shown, the workflow for associating finished cigarettes with tobacco includes the following steps:

[0049] After the batch production in the tobacco processing stage is completed, the finished tobacco can be boxed and stored, and the box number (associated with the production batch information of the tobacco) can be obtained. When boxing and storing, one batch of tobacco will correspond to multiple box numbers. When turning the boxes and feeding the tobacco, the tobacco will be discharged according to the box and enter the cigarette rolling machine in the order of turning the boxes. Then the turning the boxes and feeding the tobacco can be carried out. By determining whether the tobacco has been put into production, the tobacco is removed and weighed. The cigarette rolling machine then judges the cigarettes to be qualified and determines the count. Finally, the small box count and the cigarette exit count can be determined based on whether the cigarettes are packaged.

[0050] Furthermore, assuming a box of finished tobacco weighs 180kg, when the weight of K1 tobacco removed from the weighing scale + K2 tobacco consumption per 10,000 cigarettes * (rejection count by the cigarette making machine + production count by the cigarette making machine) / 10000 reaches 180kg, the association between the finished tobacco information of this box and the cigarettes ends. Subsequently, the total number of cigarettes produced by the finished tobacco of this box can be obtained (production count by the cigarette making machine). When the production count by the cigarette making machine = cigarette removal count + small box count * 20, the one-to-many association between the finished tobacco of this box and the small boxes is completed.

[0051] The technical solution provided by this invention obtains the weight of a single carton of tobacco from a target batch and determines a sequence of associated weight thresholds based on that weight. When the current cigarette feeding weight reaches any associated weight threshold in the sequence, a first association relationship is determined between the target batch of tobacco and the output of the cigarette-making machine based on a first association formula. A second association relationship is determined between the output of the cigarette-making machine and the target finished product box based on a second association formula. Based on the first and second association relationships, a target association relationship is determined between the target batch of tobacco and the target finished product box. This invention solves the problem in the prior art of effectively associating tobacco from finished product to finished product box. It can construct a relationship between the cigarette feeding weight and the number of finished product boxes based on the output of the cigarette-making machine as an intermediate parameter, achieving end-to-end data connectivity from finished tobacco to finished product box, and improving the accuracy and speed of quality traceability.

[0052] Figure 4 This is a schematic diagram of a device for associating finished cigarettes and tobacco shreds according to an embodiment of the present invention. The embodiment of the present invention can be applied to scenarios where a relationship is established between tobacco shreds and finished cigarette boxes. The device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.

[0053] like Figure 4 As shown, the association device between finished cigarettes and tobacco includes: a first association relationship determination module 310, a second association relationship determination module 320, and a target association relationship determination module 330.

[0054] The first association determination module 310 is used to determine a first association relationship between the target batch of tobacco and the output of the cigarette-making machine based on a first association formula when the cigarette feed weight reaches a preset association condition; wherein the first association formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette-making machine; the second association determination module 320 is used to determine a second association relationship between the output of the cigarette-making machine and the target finished product box based on a second association formula; wherein the second association formula is used to represent the correspondence between the output of the cigarette-making machine and the number of finished product boxes; the target association determination module 330 is used to determine a target association relationship between the target batch of tobacco and the target finished product box based on the first association relationship and the second association relationship.

[0055] The technical solution provided by this invention determines a first correlation between the target batch of tobacco and the output of the cigarette-making machine based on a first correlation formula when the cigarette feed weight reaches a preset correlation condition. The first correlation formula represents the correspondence between the cigarette feed weight and the output of the cigarette-making machine. A second correlation formula is then used to determine a second correlation between the output of the cigarette-making machine and the target finished product box. The second correlation formula represents the correspondence between the output of the cigarette-making machine and the number of finished product boxes. Based on the first and second correlations, a target correlation between the target batch of tobacco and the target finished product box is determined. This invention solves the problem in the prior art of effectively correlating data from finished tobacco to finished product boxes. It can construct a correlation between the cigarette feed weight and the number of finished product boxes based on the output of the cigarette-making machine as an intermediate parameter, achieving end-to-end data connectivity from finished tobacco to finished product boxes, and improving the accuracy and speed of quality traceability.

[0056] In an optional implementation, the first correlation determination module 310 is specifically used to: obtain the weight of a single box of tobacco shreds in the target batch, and determine a correlation weight threshold sequence based on the weight of the single box of tobacco shreds; and, when the current cigarette feed weight reaches any correlation weight threshold in the correlation weight threshold sequence, determine a first correlation between the target batch of tobacco shreds and the output of the cigarette making machine based on a first correlation formula.

[0057] In one optional implementation, the first correlation formula is: Feed weight = K1 Tobacco weight removed + K2 Tobacco consumption per 10,000 cigarettes * (Number of cigarettes rejected by the cigarette-making machine + Output of the cigarette-making machine) / 10000; wherein, K1 represents the first weighting coefficient corresponding to the tobacco weight removed, and K2 represents the second weighting coefficient corresponding to the output of the cigarette-making machine; the second correlation formula is: Output of the cigarette-making machine = Number of cigarettes removed + Number of small boxes * 20.

[0058] In an optional embodiment, the device for associating finished cigarettes with tobacco shreds further includes a weight coefficient update module, configured to: at preset intervals, construct a historical cigarette relationship based on historical cigarette data regarding the first weight coefficient and the second weight coefficient, and use the solution obtained from the historical cigarette relationship as the updated first weight coefficient and second weight coefficient.

[0059] In one optional implementation, the weight coefficient update module includes a historical cigarette relationship construction unit, used to: select two reference cigarette cases from the historical cigarette data; construct a system of two linear equations based on the historical feeding weight, historical tobacco removal weight, historical cigarette making machine rejection count and historical cigarette making machine output in the two reference cigarette cases, and use the constructed system of two linear equations as the historical cigarette relationship.

[0060] In an optional embodiment, the device for associating finished cigarettes with tobacco shreds further includes: an association traceability analysis module, used to: upon receiving an association traceability instruction, determine the number of small boxes to be associated based on the association traceability instruction; and determine the batch feed weight corresponding to the number of small boxes to be associated based on the target association relationship.

[0061] In an optional embodiment, the device for associating finished cigarettes with tobacco shreds further includes: a number association construction module, used to: obtain the association relationship of the cigarette box corresponding to the target batch of tobacco shreds; wherein, the cigarette box association relationship is used to represent the correspondence between the tobacco shred weight of the target batch of tobacco shreds and the tobacco box number; and based on the cigarette box association relationship and the target association relationship, determine the number correspondence between the tobacco box number and the target finished product box.

[0062] The cigarette-to-tobacco association device provided in this embodiment of the invention can execute the cigarette-tobacco association method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0063] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 5 A block diagram of an exemplary computer device 12 suitable for implementing embodiments of the present invention is shown. Figure 5 The computer device 12 shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capabilities and can be configured in the associated device for finished cigarettes and tobacco.

[0064] like Figure 5 As shown, the computer device 12 is represented in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0065] Bus 18 can be one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, 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.

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

[0067] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (… Figure 5 Not shown; usually referred to as a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 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 the present invention.

[0068] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 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 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0069] Computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through input / output (I / O) interface 22. Furthermore, computer device 12 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 20. Figure 5 As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 5As not shown, it can be used in conjunction with computer device 12 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0070] Processing unit 16 executes various functional applications and data processing by running programs stored in system memory 28, such as implementing the method for associating finished cigarettes and tobacco provided in this embodiment of the invention, which includes:

[0071] When the cigarette feed weight reaches a preset correlation condition, a first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on a first correlation formula; wherein, the first correlation formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette making machine; a second correlation relationship between the output of the cigarette making machine and the target finished product box is determined based on a second correlation formula; wherein, the second correlation formula is used to represent the correspondence between the output of the cigarette making machine and the number of finished product boxes; based on the first correlation relationship and the second correlation relationship, a target correlation relationship between the target batch of tobacco and the target finished product box is determined.

[0072] This embodiment provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for associating finished cigarettes with tobacco as provided in any embodiment of the present invention, including:

[0073] When the cigarette feed weight reaches a preset correlation condition, a first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on a first correlation formula; wherein, the first correlation formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette making machine; a second correlation relationship between the output of the cigarette making machine and the target finished product box is determined based on a second correlation formula; wherein, the second correlation formula is used to represent the correspondence between the output of the cigarette making machine and the number of finished product boxes; based on the first correlation relationship and the second correlation relationship, a target correlation relationship between the target batch of tobacco and the target finished product box is determined.

[0074] The computer storage medium of this invention 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.

[0075] 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.

[0076] 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.

[0077] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as C, Java, Smalltalk, C++, C#, and Python, as well as conventional procedural programming languages ​​such as the "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 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 it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0078] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0079] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention 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 the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A method for associating finished cigarettes with tobacco leaves, characterized in that, include: When the cigarette feed weight reaches a preset correlation condition, a first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on a first correlation formula; wherein, the first correlation formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette making machine. The second correlation formula is used to determine the second correlation relationship between the output of the coiling machine and the target finished product boxes; wherein, the second correlation formula is used to represent the correspondence between the output of the coiling machine and the number of finished product boxes; Based on the first association relationship and the second association relationship, the target association relationship between the target batch of tobacco and the target finished product box is determined.

2. The method according to claim 1, characterized in that, When the cigarette feed weight reaches a preset correlation condition, the first correlation relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on the first correlation formula, including: Obtain the weight of a single box of tobacco shreds in the target batch, and determine an associated weight threshold sequence based on the weight of the single box of tobacco shreds; When the current cigarette feed weight reaches any of the associated weight thresholds in the associated weight threshold sequence, a first association relationship between the target batch of tobacco and the output of the cigarette making machine is determined based on the first association formula.

3. The method according to claim 1, characterized in that, The first correlation formula is: Feed weight = K1 tobacco strip exit weight + K2 tobacco strip consumption per 10,000 cigarettes * (number rejected by the cigarette making machine + output of the cigarette making machine) / 10000; Wherein, K1 is used to represent the first weighting coefficient corresponding to the weight of the tobacco strips exiting the machine, and K2 is used to represent the second weighting coefficient corresponding to the output of the cigarette making machine. The second correlation formula is: cigarette production = number of cigarettes ejected + number of small boxes * 20.

4. The method according to claim 3, characterized in that, The dynamic update methods for the first weight coefficient and the second weight coefficient include: At each preset interval, a historical cigarette relationship is constructed based on historical cigarette data, relating the first weight coefficient and the second weight coefficient. The solution obtained from the historical cigarette relationship is then used as the updated first weight coefficient and second weight coefficient.

5. The method according to claim 4, characterized in that, The construction of the historical cigarette relationship formula based on historical cigarette data regarding the first weighting coefficient and the second weighting coefficient includes: Two reference cigarette cases were selected from the historical cigarette data; Based on the historical feed weight, historical tobacco removal weight, historical rejection count of the cigarette making machine, and historical output of the cigarette making machine in two reference cigarette cases, a system of two linear equations in two variables is constructed, and the constructed system of two linear equations in two variables is used as the historical cigarette relationship.

6. The method according to claim 1, characterized in that, The method further includes: Upon receiving an association and tracing instruction, the number of small boxes to be associated is determined based on the association and tracing instruction; The batch feed weight corresponding to the number of small boxes to be associated is determined based on the target association relationship.

7. The method according to claim 1, characterized in that, The method further includes: Obtain the association relationship of the tobacco boxes corresponding to the target batch of tobacco; wherein, the association relationship of the tobacco boxes is used to represent the correspondence between the weight of the tobacco in the target batch and the tobacco box number; Based on the tobacco box association relationship and the target association relationship, the number correspondence between the tobacco box number and the target finished product box is determined.

8. A device for connecting finished cigarettes and tobacco leaves, characterized in that, The device includes: The first correlation determination module is used to determine the first correlation between the target batch of tobacco and the output of the cigarette-making machine based on the first correlation formula when the cigarette feed weight reaches the preset correlation condition; wherein, the first correlation formula is used to represent the correspondence between the cigarette feed weight and the output of the cigarette-making machine. The second correlation determination module is used to determine the second correlation between the output of the coiling machine and the target finished product box based on the second correlation formula; wherein, the second correlation formula is used to represent the correspondence between the output of the coiling machine and the number of finished product boxes; The target association determination module is used to determine the target association between the target batch of tobacco and the target finished product box based on the first association and the second association.

9. A computer device, characterized in that, The computer device includes: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method for associating finished cigarettes with tobacco as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the method for associating finished cigarettes with tobacco as described in any one of claims 1-7.