Method, device and equipment for determining content of smoke components of cigarette and storage medium
Patent Information
- Application Number
- CN202611233166.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-10-09
AI Technical Summary
[0003]目前,对于现有的烟气成分含量的检测方式主要是通过化学实验进行测定,存在检测过程复杂、检测周期较长、分析成本较高的问题,无法快速便捷地获取与制备参数相关的烟支烟气成分含量信息
[0010]本发明实施例的技术方案,通过获取待检测烟支在被烟支抽吸装置模拟抽吸过程时所对应的第一视频和第二视频,依据预先设置的抽帧维度,从第一视频中确定第三视频和第四视频,以及从第二视频中确定第五视频和第六视频。根据第一视频、第三视频以及第四视频,确定待检测烟支在至少一个燃烧指标下的燃烧数据值,实现了对待检测烟支的燃烧温度场特征的检测,为后续确定烟气气体成分含量提供数据支撑。根据第二视频、第五视频以及第六视频,确定待检测烟支在至少一个炭线特征指标下的炭线数据值,实现了对待检测烟支的炭线特征的检测,为后续确定烟气气体成分含量提供数据支撑。基于至少一个燃烧指标下的燃烧数据值、至少一个炭线特征指标下的炭线数据值、待检测烟支所属的生产批次信息以及构成待检测烟支的原材料信息,确定待检测烟支所对应的第一气体成分含量信息,实现了对待检测烟支的烟气气体成分含量的确定,提高了烟支烟气成分含量的检测全面性。根据同一制备参数下多个待检测烟支的第一气体成分含量,确定与制备参数对应的所有烟支的目标气体成分含量,实现对烟气气体成分含量与制备参数的对应,方便后续根据目标气体成分含量对相应的制备参数进行调整,以提升烟支抽吸体验。本发明解决了现有技术中烟气成分含量的检测过程复杂、检测周期较长以及分析成本较高的问题,无需实验测定烟气成分含量,提高了烟气成分含量检测的效率、全面性以及便捷性,使得可以根据目标气体成分含量对相应的制备参数进行调整,使得调整后的烟支满足实际抽吸需求,提升用户抽吸体验。
Smart Images

Figure CN122882446A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, device, and storage medium for determining the content of smoke components in cigarettes. Background Technology
[0002] During combustion, cigarettes release smoke. This smoke contains components such as tar, nicotine, carbon monoxide, and polycyclic aromatic hydrocarbons. The composition of the smoke directly affects the user's smoking experience. Therefore, to improve the user's smoking experience, the composition content of cigarettes is usually predicted to adjust the cigarette manufacturing process, ensuring that the cigarettes meet actual smoking needs.
[0003] Currently, the main method for detecting the content of cigarette smoke components is through chemical experiments. This method is complex, has a long testing cycle, and is costly. It cannot quickly and conveniently obtain information on the content of cigarette smoke components related to the preparation parameters. Summary of the Invention
[0004] This invention provides a method, apparatus, equipment, and storage medium for determining the content of smoke components in cigarettes, which improves the convenience of detecting the content of smoke components and provides data support for cigarette production and adjustment.
[0005] According to one aspect of the present invention, a method for determining the content of smoke components in a cigarette is provided, wherein the filter of the cigarette to be tested is fixed to a first end of a cigarette fixing device, and a cigarette suction device is installed at a second end of the cigarette fixing device, the first end and the second end being two ends of the same cavity, the cigarette suction device being used to simulate the state of the cigarette to be tested being inhaled, and when the cigarette suction device is in a working state, the method includes: Acquire a first video and a second video corresponding to the simulated smoking process of the cigarette to be detected by the cigarette smoking device, wherein the first video is an infrared video acquired by an infrared thermal imaging acquisition device, and the second video is a video acquired by a visible light imaging acquisition device; the first deployment position of the infrared thermal imaging acquisition device satisfies a first preset positional relationship with the cigarette to be detected, and the second deployment position of the visible light imaging acquisition device satisfies a second preset positional relationship with the cigarette to be detected; Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video; wherein the third and fifth videos correspond to the cigarette being smoked, and the fourth and sixth videos correspond to the cigarette not being smoked. Based on the first video, the third video, and the fourth video, determine the combustion data value of the cigarette to be tested under at least one combustion index; Based on the second video, the fifth video, and the sixth video, determine the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index; Based on the combustion data value under the at least one combustion index, the carbon line data value under the at least one carbon line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested, the content information of the first gas component corresponding to the cigarette to be tested is determined. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, determine the target gas component content of all cigarettes corresponding to the preparation parameters. The same preparation parameters include at least production batch information and raw material information.
[0006] According to another aspect of the present invention, an apparatus for determining the smoke composition content of a cigarette is provided. The filter of the cigarette to be tested is fixed to a first end of a cigarette fixing device, and a cigarette inhalation device is installed at a second end of the cigarette fixing device. The first end and the second end are the two ends of the same cavity. The cigarette inhalation device is used to simulate the state of the cigarette to be tested being inhaled. When the cigarette inhalation device is in operation, the apparatus includes: The video acquisition module is used to acquire a first video and a second video corresponding to the simulated smoking process of the cigarette to be detected by the cigarette smoking device. The first video is an infrared video acquired by the infrared thermal imaging acquisition device, and the second video is a video acquired by the visible light imaging acquisition device. The first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected satisfy a first preset positional relationship, and the second deployment position of the visible light imaging acquisition device and the cigarette to be detected satisfy a second preset positional relationship. The video frame extraction module is used to determine the third and fourth videos from the first video and the fifth and sixth videos from the second video according to a pre-set frame extraction dimension; wherein the third and fifth videos correspond to the cigarette to be detected being smoked, and the fourth and sixth videos correspond to the cigarette to be detected not being smoked; The combustion data determination module is used to determine the combustion data value of the cigarette to be detected under at least one combustion index based on the first video, the third video, and the fourth video. The carbon line data determination module is used to determine the carbon line data value of the cigarette to be detected under at least one carbon line characteristic index based on the second video, the fifth video and the sixth video; The gas composition prediction module is used to determine the first gas composition content information corresponding to the cigarette to be tested based on the combustion data value under the at least one combustion index, the carbon line data value under the at least one carbon line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested. The gas composition content determination module is used to determine the target gas composition content of all cigarettes corresponding to the preparation parameters based on the first gas composition content of multiple cigarettes to be tested under the same preparation parameters. The same preparation parameters include at least production batch information and raw material information.
[0007] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and A memory that is communicatively connected to at least one processor; wherein, The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the method for determining the smoke composition content of cigarettes according to any embodiment of the present invention.
[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the method for determining the smoke component content of a cigarette according to any embodiment of the present invention.
[0009] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, characterized in that, when executed by a processor, the computer program implements a method for determining the content of smoke components in a cigarette as described in any embodiment of the present invention.
[0010] The technical solution of this invention acquires a first video and a second video corresponding to the simulated smoking process of the cigarette under test using a cigarette smoking device. Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video. Based on the first, third, and fourth videos, the combustion data values of the cigarette under test under at least one combustion index are determined, realizing the detection of the combustion temperature field characteristics of the cigarette under test and providing data support for subsequent determination of the smoke gas composition content. Based on the second, fifth, and sixth videos, the carbon line data values of the cigarette under test under at least one carbon line characteristic index are determined, realizing the detection of the carbon line characteristics of the cigarette under test and providing data support for subsequent determination of the smoke gas composition content. Based on the combustion data values under at least one combustion index, the carbon line data values under at least one carbon line characteristic index, the production batch information of the cigarette under test, and the raw material information constituting the cigarette under test, the first gas component content information corresponding to the cigarette under test is determined, realizing the determination of the smoke gas composition content of the cigarette under test and improving the comprehensiveness of cigarette smoke composition content detection. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, the target gas component content of all cigarettes corresponding to the preparation parameters is determined, realizing the correspondence between the smoke gas component content and the preparation parameters. This facilitates subsequent adjustments to the corresponding preparation parameters based on the target gas component content, thereby improving the smoking experience. This invention solves the problems of complex smoke component content detection processes, long detection cycles, and high analysis costs in existing technologies. It eliminates the need for experimental determination of smoke component content, improving the efficiency, comprehensiveness, and convenience of smoke component content detection. It allows for adjustments to the corresponding preparation parameters based on the target gas component content, ensuring that the adjusted cigarettes meet actual smoking needs and enhance the user's smoking experience.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart of a method for determining the content of smoke components in a cigarette according to an embodiment of the present invention; Figure 2This is an example diagram of a simulated smoking scenario of a cigarette to be tested, provided in an embodiment of the present invention; Figure 3 This is an example diagram showing the temperature of the cigarette under test during combustion, provided in an embodiment of the present invention. Figure 4 This is a flowchart of a method for determining the content of smoke components in a cigarette according to an embodiment of the present invention; Figure 5 This is an example diagram of the region of interest in a video frame of a video to be processed, provided in an embodiment of the present invention. Figure 6 This is an example diagram of the region of interest in a two-dimensional coordinate system provided in the embodiments of the present invention; Figure 7 This is a schematic diagram of a device for determining the smoke composition content of a cigarette provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of an electronic device that implements the method for determining the smoke component content of a cigarette according to an embodiment of the present invention. Detailed Implementation
[0014] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0016] Example 1 Figure 1This is a flowchart of a method for determining the smoke component content of a cigarette according to Embodiment 1 of the present invention. This embodiment is applicable to situations where the smoke component content of a cigarette needs to be determined. This method can be executed by a device for determining the smoke component content of a cigarette. This device can be implemented in hardware and / or software and can be configured in electronic devices such as mobile phones, computers, or servers. Figure 1 As shown, the method includes: S110. Obtain the first video and the second video corresponding to the cigarette to be tested during the simulated smoking process of the cigarette smoking device.
[0017] The process of simulating inhalation of the cigarette under test by the cigarette inhalation device is as follows: the filter of the cigarette under test is fixed to the first end of the cigarette fixing device, and the cigarette inhalation device is installed at the second end of the cigarette fixing device. The first and second ends are the two ends of the same cavity. The cigarette inhalation device is used to simulate the state of inhalation of the cigarette under test. When the cigarette inhalation device is in working condition, it can realize the simulated inhalation of the cigarette under test. It should be noted that the simulated inhalation process for the cigarette under test includes both the processing of the cigarette under test being inhaled and the processing of the cigarette not being inhaled.
[0018] The cigarette to be tested can be any cigarette for which the smoke composition needs to be analyzed. The cigarette inhalation device is used to simulate the inhalation of a cigarette. For example, the cigarette inhalation device can be a syringe from a smoking machine. The cigarette fixing device is used to hold the cigarette to be tested in place.
[0019] The first video is an infrared video acquired by an infrared thermal imaging acquisition device. This device is used to acquire infrared video of the cigarette under test during simulated smoking, specifically when it is in a burning state. The first video can be infrared video of the cigarette under test during simulated smoking. It should be noted that the infrared thermal imaging acquisition device can acquire video when it detects the inhalation of the cigarette under test by the inhalation device. Alternatively, video can be acquired before the inhalation device is activated. By analyzing the image features of the first few frames of the acquired video, removing idle video frames that have not yet started inhalation and the video frame corresponding to the first puff, multiple consecutive valid video frames are obtained, and these multiple consecutive valid video frames are used as the first video.
[0020] The first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected satisfy a first preset positional relationship. This first preset positional relationship can be a pre-set condition used to characterize the positional relationship between the infrared thermal imaging acquisition device and the cigarette to be detected. Optionally, the first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected are determined to satisfy the first preset positional relationship when the tobacco segment of the cigarette to be detected appears in the field of view of the infrared thermal imaging acquisition device, and the straight-line distance between the cigarette to be detected and the infrared thermal imaging acquisition device conforms to a preset distance range.
[0021] The second video is a video acquired using a visible light imaging acquisition device. This device is used to acquire normal video of the simulated smoking process of the cigarette to be tested. In this embodiment, the second video is used to analyze the carbon line characteristic information during the smoking process of the cigarette to be tested. Correspondingly, the second video has the same video duration as the first video, and it is also the effective video obtained by removing idle video frames before smoking begins and the video frames corresponding to the first puff. The difference is that the second video is a normal video, while the first video is an infrared video.
[0022] The second deployment position of the visible light imaging acquisition device and the cigarette to be detected satisfy a second preset positional relationship. This second preset positional relationship can be a pre-set condition used to characterize the positional relationship between the visible light imaging acquisition device and the cigarette to be detected. Optionally, the second deployment position of the visible light imaging acquisition device and the cigarette to be detected are determined to satisfy the second preset positional relationship when the tobacco segment of the cigarette to be detected appears in the field of view of the visible light imaging acquisition device, and the straight-line distance between the cigarette to be detected and the visible light imaging acquisition device conforms to a preset distance range.
[0023] Specifically, the filter of the cigarette to be tested is fixed to the first end of a cigarette fixing device, and a cigarette suction device is installed at the second end of the cigarette fixing device to process the filter of the cigarette to be tested, simulating the cigarette smoking process. The distance between the infrared thermal imaging acquisition device and the cigarette to be tested is adjusted so that when the tobacco segment of the cigarette to be tested appears in the field of view of the infrared thermal imaging acquisition device, and the straight-line distance between the cigarette to be tested and the infrared thermal imaging acquisition device meets a preset distance range, the first deployment position of the infrared thermal imaging acquisition device and the cigarette to be tested are determined to satisfy a first preset positional relationship. Similarly, the distance between the visible light imaging acquisition device and the cigarette to be tested is adjusted so that when the tobacco segment of the cigarette to be tested appears in the field of view of the visible light imaging acquisition device, and the straight-line distance between the cigarette to be tested and the visible light imaging acquisition device meets a preset spacing range, the second deployment position of the visible light imaging acquisition device and the cigarette to be tested are determined to satisfy a second preset positional relationship. The cigarette to be tested is lit, and the cigarette is simultaneously simulated for inhalation using a cigarette inhalation device. At the same time, an infrared thermal imaging acquisition device acquires a first video of the cigarette being simulated for inhalation using the cigarette inhalation device, and a visible light imaging acquisition device acquires a second video of the cigarette being simulated for inhalation using the cigarette inhalation device.
[0024] For example, acquiring the second video using a visible light imaging acquisition device is similar to acquiring the first video using an infrared thermal imaging acquisition device. The following explanation uses the acquisition of the first video as an example. See [link to documentation]. Figure 2 , Figure 2 The fixed structure is the cigarette holder, the cigarette is the one to be tested, and the infrared thermal imager is the infrared thermal imaging acquisition device. The smoking machine syringe corresponds to the cigarette inhalation device mentioned above. After balancing the cigarette to be tested, it is placed in the fixed structure, the rear end of which is connected to the smoking machine syringe. The distance between the infrared thermal imager and the cigarette to be tested is adjusted so that the tobacco section of the cigarette (between position 1 and position 2) appears in the field of view of the infrared thermal imager. Simultaneously, the distance between the infrared thermal imager and the cigarette to be tested must conform to a preset distance range to avoid reducing detection accuracy. The focal length, emissivity, and frame rate of the infrared thermal imager are adjusted to meet video acquisition requirements. After starting temperature field recording with the infrared thermal imager, the cigarette to be tested is ignited and simulated inhalation is performed so that the infrared thermal imaging acquisition device can acquire video of the cigarette to be tested. After the cigarette under test has finished burning, the simulated smoking process of the cigarette under test by the cigarette smoking device is stopped. At the same time, the temperature field recording of the infrared thermal imager is stopped to obtain the first video corresponding to the entire simulated smoking process of the cigarette under test.
[0025] S120. Based on the pre-set frame extraction dimension, determine the third and fourth videos from the first video, and determine the fifth and sixth videos from the second video.
[0026] The frame extraction dimension can be a pre-set dimension used to perform frame extraction processing on multiple video frames contained in the first video. Optionally, during the entire combustion process of the cigarette to be detected, the cigarette to be detected can include two states: being inhaled and not being inhaled. The frame extraction dimension can be related to these two states of the cigarette to be detected.
[0027] The third and fifth videos correspond to the cigarette being smoked, while the fourth and sixth videos correspond to the cigarette not being smoked. That is, the third video can include multiple infrared video frames corresponding to when the cigarette is smoked, and the fourth video can include multiple infrared video frames corresponding to when the cigarette is not smoked. Similarly, the fifth video can include multiple normal video frames corresponding to when the cigarette is smoked, and the sixth video can include multiple normal video frames corresponding to when the cigarette is not smoked.
[0028] Specifically, based on a pre-set frame extraction dimension, multiple infrared video frames in the first video are extracted to obtain a third video corresponding to when the cigarette to be detected is smoked, and a fourth video corresponding to when the cigarette to be detected is not smoked. Similarly, based on the pre-set frame extraction dimension, multiple normal video frames in the second video are extracted to obtain a fifth video corresponding to when the cigarette to be detected is smoked, and a sixth video corresponding to when the cigarette to be detected is not smoked.
[0029] In this embodiment of the invention, the frame extraction dimension is related to the time distribution of the cigarette to be detected in different states. The method for determining the third and fourth videos from the first video based on the frame extraction dimension can be as follows: Based on pre-recorded first time distribution information of the cigarette to be detected in a smoking state, the first video is processed by frame extraction to obtain the third video; and based on pre-recorded second time distribution information of the cigarette to be detected in a non-smoked state, the first video is processed by frame extraction to obtain the fourth video; wherein the union of the third and fourth videos constitutes the first video.
[0030] The first time distribution information can characterize multiple time segments corresponding to the period when the cigarette under test is in the inhalation state during the entire combustion process of the cigarette under test. The inhalation state refers to the period when the cigarette under test is being inhaled. The second time distribution information can characterize multiple time segments corresponding to the period when the cigarette under test is not being inhaled during the entire combustion process of the cigarette under test.
[0031] Specifically, based on the pre-recorded first time distribution information of the cigarette to be detected in the smoking state, multiple infrared video frames of the first video are processed to determine the third video corresponding to the cigarette being smoked. Based on the pre-recorded second time distribution information of the cigarette to be detected in the non-smoked state, the first video is processed to obtain the fourth video.
[0032] For example, the smoking time of the cigarette to be detected can be determined based on the smoking process corresponding to the cigarette smoking device, or a corresponding example image can be drawn based on the maximum or average pixel value corresponding to each video frame in the first video being collected, such as... Figure 3 As shown, the moment when the highest or average temperature of the area of the cigarette to be tested suddenly rises is determined as the inhalation moment. (Where, the highest temperature of the area can be the highest temperature of the region of interest in the video frame, and the region of interest corresponds to the combustion cone region of the cigarette to be tested.) The period from the moment of inhalation to two seconds after the moment of inhalation is defined as the inhalation interval. The inhalation interval corresponds to the cigarette being tested being in an inhalation state. Multiple inhalation intervals may be included during the entire combustion process of the cigarette being tested. Video frames in the first video are determined based on these multiple inhalation intervals to obtain the third video. It should be noted that the two seconds mentioned above are merely an example, and the embodiments of this invention do not specifically limit the duration corresponding to the inhalation interval.
[0033] The time interval from two seconds after the first puff to the next puff is defined as the smoldering interval. The smoldering interval corresponds to the time when the cigarette under test has not been puffed. Multiple smoldering intervals can be included throughout the entire process of the cigarette under test. Video frames in the first video are determined based on these multiple smoldering intervals to obtain the fourth video.
[0034] It should be noted that the entire combustion process of the cigarette to be tested corresponding to the first video can be from the second puff to the last puff, and this process can be regarded as the entire combustion process of the cigarette to be tested.
[0035] Correspondingly, the frame extraction process for the second video is similar to that for the first video. Optionally, the fifth and sixth videos can be determined from the second video by: extracting frames from the second video based on pre-recorded first time distribution information of the cigarette to be detected in the smoking state to obtain the fifth video; and extracting frames from the second video based on pre-recorded second time distribution information of the cigarette to be detected in the non-smoked state to obtain the sixth video; wherein the union of the fifth and sixth videos constitutes the second video.
[0036] Specifically, based on the pre-recorded first time distribution information of the cigarette to be detected in the smoking state, multiple video frames of the second video are extracted to determine the fifth video corresponding to the cigarette being smoked. Based on the pre-recorded second time distribution information of the cigarette to be detected when it is not smoked, the second video is extracted to obtain the sixth video.
[0037] S130. Based on the first video, the third video, and the fourth video, determine the combustion data value of the cigarette to be tested under at least one combustion index.
[0038] Combustion indices can be used to characterize the temperature field features of the cigarette under test during the combustion and smoking process. The combustion data values under the combustion indices can be the temperature field feature data under the combustion indices. For example, the combustion index can be the highest temperature in a region of the cigarette under test (the region, i.e., the region of interest, corresponding to the combustion cone of the cigarette under test), and the corresponding combustion data values can be the temperature values corresponding to the highest temperature in that region.
[0039] Specifically, based on multiple infrared video frames in the first video, the combustion data value of the cigarette to be detected corresponding to the first video under at least one combustion index is determined; based on multiple video frames in the third video, the combustion data value of the cigarette to be detected corresponding to the third video under at least one combustion index is determined; based on multiple video frames in the fourth video, the combustion data value of the cigarette to be detected corresponding to the fourth video under at least one combustion index is determined, so as to evaluate and predict the smoke component content of the cigarette to be detected based on the combustion data values corresponding to the above three videos under at least one combustion index.
[0040] S140. Based on the second video, the fifth video, and the sixth video, determine the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index.
[0041] The charred line (carbonized line) is the black charred boundary line formed between the bottom of the combustion cone and the unburned section when the cigarette paper wrapping the tobacco burns. The charred line feature can be used to characterize the combustion state, combustion rate, ash-binding performance, and airflow transmission characteristics of the cigarette under test during simulated smoking. Correspondingly, the charred line data value is the characteristic data under the charred line feature index; for example, the charred line feature index can be the charred line width, and the charred line data value can be the corresponding width data.
[0042] Specifically, based on multiple video frames in the second video, the carbon line data value of the cigarette to be tested corresponding to the second video under at least one carbon line characteristic index is determined; based on multiple video frames in the fifth video, the carbon line data value of the cigarette to be tested corresponding to the fifth video under at least one carbon line characteristic index is determined; based on multiple video frames in the sixth video, the carbon line data value of the cigarette to be tested corresponding to the sixth video under at least one carbon line characteristic index is determined, so as to evaluate and predict the smoke component content of the cigarette to be tested based on the carbon line data values of at least one carbon line characteristic index corresponding to the above three videos.
[0043] Optionally, a mapping relationship can be established based on the combustion data value of the cigarette to be tested under at least one combustion index, the production batch information and raw material information corresponding to the cigarette to be tested, so that when another cigarette with the same production batch information and the same raw material information is received, the combustion data value of the other cigarette under at least one combustion index can be directly determined according to the mapping relationship.
[0044] Optionally, a mapping relationship can be established based on the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index, the production batch information and raw material information corresponding to the cigarette to be tested, so that when another cigarette with the same production batch information and the same raw material information is received, the carbon line data value of the other cigarette under at least one carbon line characteristic index can be directly determined according to the mapping relationship.
[0045] S150. Based on combustion data values under at least one combustion index, carbon line data values under at least one carbon line characteristic index, production batch information of the cigarette to be tested, and raw material information constituting the cigarette to be tested, determine the content information of the first gas component corresponding to the cigarette to be tested.
[0046] The information includes the production batch of the cigarette to be tested, along with the corresponding production process parameters. Raw material information includes information on the tobacco raw materials and auxiliary materials in the cigarette. Tobacco raw material information includes the tobacco type (e.g., flue-cured, sun-cured) and chemical composition. Auxiliary materials include cigarette paper, tipping paper, forming paper, and filter rods. Auxiliary material parameters include physical parameters (e.g., weight, air permeability) and chemical composition (e.g., flavorings, binders). The first gas component content information characterizes the content of various smoke components released during the combustion of the cigarette. Smoke components include tar, nicotine, carbon monoxide, and polycyclic aromatic hydrocarbons.
[0047] Specifically, based on the combustion data values of at least one combustion index corresponding to the first video, the combustion data values of at least one combustion index corresponding to the third video, the combustion data values of at least one combustion index corresponding to the fourth video, the carbon line data values of at least one carbon line feature index corresponding to the second video, the carbon line data values of at least one carbon line feature index corresponding to the fifth video, the carbon line data values of at least one carbon line feature index corresponding to the sixth video, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested, the content information of the first gas component corresponding to the cigarette to be tested is determined.
[0048] In this embodiment of the invention, the first gas component content information can be determined in the following way: the combustion data value under at least one combustion index, the carbon line data value under at least one carbon line characteristic index, the production batch information and the raw material information are input into the pre-obtained cigarette gas component content prediction model, and the first gas component content information of the cigarette to be detected is output.
[0049] Among them, the cigarette gas composition prediction model can be used to determine the release amount of each smoke component during cigarette combustion.
[0050] Optionally, the cigarette gas composition content prediction model can be a neural network model. Correspondingly, the training process of the cigarette gas composition content prediction model can be determined by training the cigarette gas composition content prediction model to be trained based on the combustion data values of historical sample cigarettes under at least one combustion index, the char line data values under at least one char line characteristic index, the production batch information and raw material information of historical sample cigarettes, and the sample gas composition content information of the historical sample cigarettes in advance.
[0051] Optionally, the cigarette gas composition content prediction model can be a mathematical model. It can construct a mapping relationship between the combustion data values of at least one combustion index, the char line data values of at least one char line characteristic index, the production batch information and raw material information of historical sample cigarettes, and the sample gas composition content information of pre-determined historical sample cigarettes. The mapping relationship can be repeatedly adjusted and verified based on multiple historical cigarette samples, and the verified cigarette gas composition content prediction model can be used as the pre-obtained cigarette gas composition content prediction model.
[0052] Specifically, the combustion data values under at least one combustion index corresponding to the first video, the combustion data values under at least one combustion index corresponding to the second video, the combustion data values under at least one combustion index corresponding to the third video, the carbon line data values under at least one carbon line feature index corresponding to the second video, the carbon line data values under at least one carbon line feature index corresponding to the fifth video, and the carbon line data values under at least one carbon line feature index corresponding to the sixth video, along with production batch information and raw material information, are input into a pre-prepared cigarette gas component content prediction model to determine the first gas component content information of the cigarette to be tested. Based on this, the problems of complex detection process, long detection cycle, and high analysis cost in existing technologies for detecting cigarette smoke component content can be solved, improving the convenience of detecting cigarette smoke component content.
[0053] S160. Based on the content of the first gas component of multiple cigarettes to be tested under the same preparation parameters, determine the content of the target gas component of all cigarettes corresponding to the preparation parameters.
[0054] The same preparation parameters include at least production batch information and raw material information. The target gas component content is used to characterize the gas component content of cigarettes with the same preparation parameters as the cigarette being tested. The corresponding preparation parameters can be adjusted based on the target gas component content to improve the smoking experience.
[0055] Specifically, based on the content of the first gas component of multiple cigarettes to be tested with the same preparation parameters, the content of the target gas component used to characterize all cigarettes under the same preparation parameters is determined, so as to determine whether the preparation parameters of the cigarettes meet the requirements based on the content of the target gas component.
[0056] For example, for multiple cigarettes to be tested under the same preparation parameters, the first gas component content corresponding to each cigarette to be tested is obtained by repeating the above process S110 to S150. In order to determine the gas component content representing all cigarettes under the same preparation parameters, the first gas component content corresponding to multiple cigarettes to be tested is averaged, and the average gas component content is used as the target gas component content. When a cigarette under the same preparation parameters is detected, the target gas component content is directly used as the target gas component content of that cigarette, thereby reducing unnecessary redundant prediction of gas component content.
[0057] Optionally, if the content data of at least one gas in the target gas composition does not meet the preset reference gas composition content, the preparation parameters are adjusted based on the type of gas that does not meet the condition.
[0058] The content data can be information on the content of gas components in flue gas. The content of the reference gas components is related to the gas type. Different flue gas types can correspond to different reference gas component contents.
[0059] Specifically, based on the content data of each gas in the target gas composition, it is determined whether the content data of each gas meets the pre-set benchmark gas composition content. If one or more gases do not meet the corresponding benchmark gas composition content, the type of gas that does not meet the benchmark gas composition content can be identified. Based on each type of gas that does not meet the benchmark gas composition content, the preparation parameters corresponding to the cigarette to be tested are adjusted. That is, one or more parameters in the production process parameters in the production batch information, the tobacco raw material information in the raw material information, and the cigarette auxiliary material parameters can be adjusted.
[0060] Optionally, for the cigarette to be tested after adjusting the preparation parameters, repeat the gas component content determination process of S110 to S160 above to obtain the adjusted gas component content corresponding to the cigarette to be tested after adjusting the preparation parameters.
[0061] Correspondingly, the content of the adjusting gas component can be compared again with the corresponding reference gas component content to determine whether further adjustments to the preparation parameters are needed. This process is repeated until the content of the adjusting gas component meets the reference gas component content; at this point, the preparation parameters are used as the preparation parameters for subsequent cigarette production.
[0062] The technical solution of this embodiment acquires a first video and a second video corresponding to the simulated smoking process of the cigarette under test using a cigarette smoking device. Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video. Based on the first, third, and fourth videos, the combustion data values of the cigarette under test under at least one combustion index are determined, realizing the detection of the combustion temperature field characteristics of the cigarette under test, providing data support for subsequent determination of the smoke gas composition content. Based on the second, fifth, and sixth videos, the carbon line data values of the cigarette under test under at least one carbon line characteristic index are determined, realizing the detection of the carbon line characteristics of the cigarette under test, providing data support for subsequent determination of the smoke gas composition content. Based on the combustion data values under at least one combustion index, the carbon line data values under at least one carbon line characteristic index, the production batch information of the cigarette under test, and the raw material information constituting the cigarette under test, the first gas component content information corresponding to the cigarette under test is determined, realizing the determination of the smoke gas composition content of the cigarette under test, and improving the comprehensiveness of cigarette smoke composition content detection. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, the target gas component content of all cigarettes corresponding to the preparation parameters is determined, realizing the correspondence between the smoke gas component content and the preparation parameters. This facilitates subsequent adjustments to the corresponding preparation parameters based on the target gas component content, thereby improving the smoking experience. This invention solves the problems of complex smoke component content detection processes, long detection cycles, and high analysis costs in existing technologies. It improves the efficiency, comprehensiveness, and convenience of smoke component content detection, allowing for adjustments to the corresponding preparation parameters based on the target gas component content. This ensures that the adjusted cigarettes meet actual smoking needs and enhance the user's smoking experience.
[0063] Example 2 Figure 4 This is a flowchart of a method for determining the smoke component content of a cigarette according to Embodiment 2 of the present invention. This embodiment is a preferred embodiment of the above embodiments. For specific implementation details, please refer to the technical solution of this embodiment. Technical terms that are the same as or corresponding to those in the above embodiments will not be repeated here. Figure 4 As shown, the method includes: S210. Obtain the first video and the second video corresponding to the cigarette to be tested during the simulated smoking process by the cigarette smoking device.
[0064] The first video is an infrared video acquired by an infrared thermal imaging acquisition device, and the second video is a video acquired by a visible light imaging acquisition device; the first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected satisfy a first preset positional relationship, and the second deployment position of the visible light imaging acquisition device and the cigarette to be detected satisfy a second preset positional relationship.
[0065] S220. Based on the pre-set frame extraction dimension, determine the third and fourth videos from the first video, and determine the fifth and sixth videos from the second video.
[0066] The third and fifth videos correspond to the cigarette being smoked, while the fourth and sixth videos correspond to the cigarette not being smoked.
[0067] S230. For any one of the first video, the third video, and the fourth video to be processed, obtain the pixel value to be processed for each video frame in the video to be processed, and determine the region of interest in the video frame based on the pixel value to be processed.
[0068] It should be noted that since the processing methods for determining the combustion data values under at least one combustion index in the first video, the third video, and the fourth video are similar, the first video, the third video, and the fourth video can be used as videos to be processed, so as to interpret the specific processing of determining the combustion data values under at least one combustion index based on the videos to be processed.
[0069] The video to be processed can be a first video, a third video, or a fourth video. The video to be processed may include multiple infrared video frames. The pixel values to be processed can be understood as the pixel values corresponding to each pixel point in the infrared video frame. The region of interest in the infrared video frame is related to the combustion cone region of the cigarette to be detected. For example, see... Figure 5 , Figure 5 This is an example diagram of the region of interest in a video frame of the video to be processed.
[0070] Specifically, for any one of the first, third, and fourth videos to be processed, based on the pixel value to be processed of each pixel in each infrared video frame of the video to be processed, the pixels whose pixel values exceed a preset pixel threshold are identified as the pixels corresponding to the region of interest in the infrared video frame, so as to determine the region of interest in each infrared video frame based on multiple pixels whose pixel values exceed the preset pixel threshold.
[0071] S240. Based on the information of the pixels to be processed within the region of interest, determine the first value of the region of interest under at least one combustion index.
[0072] The pixel information to be processed includes at least the pixel coordinates and pixel value of each pixel within the region of interest. Optionally, the pixel coordinates can be the pixel coordinates of each pixel within the region of interest in a preset two-dimensional coordinate system. For example, see... Figure 6 , Figure 6 This is an example image of the region of interest in a preset two-dimensional coordinate system.
[0073] Combustion metrics are related to the region of interest (combustion cone region). At least one combustion metric includes one or more of the following: region maximum temperature, region mean temperature, region median temperature, region temperature standard deviation, region area, region length, region width, region aspect ratio, region center location, and pixel ratio within a preset temperature range. A first value is used to characterize the temperature feature value under at least one combustion metric corresponding to the infrared video frame.
[0074] The highest temperature in the region can be the highest temperature of the combustion cone corresponding to the region of interest. The highest temperature in the region can be determined based on the maximum pixel value in the region of interest and the mapping relationship between pixel values and temperature values. Optionally, the highest temperature in the region can be characterized by the following function: in, This represents the temperature value corresponding to the pixel value of each pixel in the region of interest. This indicates the highest temperature in the region.
[0075] The region-average temperature can be the average temperature of the combustion cone corresponding to the region of interest. The region-average temperature can be determined based on the average pixel value in the region of interest and the mapping relationship between pixel values and temperature values. Optionally, the region-average temperature can be characterized by the following function: ; in, This represents the temperature value corresponding to the pixel value of each pixel in the region of interest. This indicates the number of pixels (number of temperature values). This indicates the average temperature of the region.
[0076] The regional median temperature can be the median temperature of the combustion cone corresponding to the region of interest. The regional median temperature can be determined based on the pixel value of each pixel in the region of interest and the mapping relationship between pixel values and temperature values. Optionally, the regional median temperature can be determined using the following function: ; in, This represents the temperature value corresponding to the pixel value of each pixel in the region of interest. This indicates the medium temperature of the region. Optionally, the first combustion temperature can also be selected. Second combustion temperature It is also used as a combustion indicator. Among them, the first combustion temperature This indicates that 75% of the pixels in the region of interest correspond to a temperature value lower than the first combustion temperature, while 25% of the pixels correspond to a temperature value higher than the first combustion temperature. Second combustion temperature. This indicates that 25% of the pixels in the region of interest correspond to a temperature value lower than the second combustion temperature, while 75% of the pixels correspond to a temperature value higher than the second combustion temperature. It should be noted that the combustion data value for this combustion index can also be determined based on the pixel values of other percentages of pixels in the region of interest.
[0077] The regional temperature standard deviation can be used to characterize the temperature uniformity of the combustion cone corresponding to the region of interest. The regional temperature standard deviation can be determined based on the pixel value of each pixel in the region of interest, the mean temperature of the region, and the mapping relationship between pixel values and temperature values. Optionally, the regional temperature standard deviation can be determined using the following function: ; in, This represents the temperature value corresponding to the pixel value of each pixel in the region of interest. This indicates the number of pixels (number of temperature values). This indicates the average temperature of the region. This represents the standard deviation of regional temperature.
[0078] The region area can be understood as the area of the combustion cone region corresponding to the region of interest. The region area can be determined based on the number and size of pixels in the region of interest. Optionally, the region area can be represented by the following function: ; in, This represents the number of pixels in the region of interest. This represents the actual size of each pixel, expressed in millimeters per pixel. Indicates the area of the region.
[0079] When the combustion index is the region length, the region length can have three cases: 1. The maximum length of the combustion cone corresponding to the region of interest; 2. The maximum horizontal length of the combustion cone corresponding to the region of interest; 3. The average horizontal length of the combustion cone corresponding to the region of interest.
[0080] In the case where the region length is the maximum length of the combustion cone corresponding to the region of interest, the region length can be determined based on the maximum and minimum x-coordinates of all pixels within the region of interest. That is, the maximum length of the combustion cone corresponding to the region of interest can be determined using the following function: ; in, This represents the maximum x-coordinate among all pixel coordinates in the region of interest. This represents the minimum x-coordinate among all pixel coordinates in the region of interest. This represents the actual size corresponding to each pixel. Indicates the length of the region.
[0081] Given a region length equal to the maximum horizontal length of the combustion cone corresponding to the region of interest, the difference in horizontal coordinates between the region of interest and the corresponding row can be determined based on the maximum and minimum horizontal coordinates of multiple pixels within the same row. This is used to determine the difference in horizontal coordinates for each row within the region of interest. For multiple differences in horizontal coordinates, the maximum difference is taken as the maximum horizontal length of the combustion cone corresponding to the region of interest.
[0082] Given that the region length is equal to the average length of the combustion cone corresponding to the region of interest, after determining the difference in the horizontal coordinates of each row in the region of interest, the average length of the combustion cone corresponding to the region of interest is obtained by averaging the multiple differences in the horizontal coordinates.
[0083] Accordingly, when the combustion index is the region width, the region width can have three cases: 1. The maximum width of the combustion cone corresponding to the region of interest; 2. The maximum vertical width of the combustion cone corresponding to the region of interest; 3. The average vertical width of the combustion cone corresponding to the region of interest.
[0084] In the case where the region width is the maximum width of the combustion cone corresponding to the region of interest, the region width can be determined based on the maximum and minimum ordinates of all pixels within the region of interest. Optionally, the region width in this case can be determined using the following function: ; in, This represents the maximum ordinate among all pixel coordinates in the region of interest. This represents the minimum ordinate among all pixel coordinates of the region of interest. This represents the actual size corresponding to each pixel. Indicates the width of the area.
[0085] When the region width is equal to the maximum vertical width of the combustion cone corresponding to the region of interest, the difference in ordinates between the region of interest and the column can be determined based on the maximum and minimum ordinates among multiple pixels in the same column. This is used to determine the ordinate difference for each column within the region of interest. For multiple ordinate differences, the maximum ordinate difference is taken as the maximum vertical width of the combustion cone corresponding to the region of interest.
[0086] Given that the width of the region is equal to the average vertical width of the combustion cone corresponding to the region of interest, after determining the difference in the ordinates of each column in the region of interest, the average of the multiple ordinate differences is calculated to obtain the average vertical width of the combustion cone corresponding to the region of interest.
[0087] The aspect ratio of a region can be the ratio of its length to its width. Alternatively, the aspect ratio can be determined using the following function: ; in, This represents the length of the region (which can be the length of the region in any of the above cases). This indicates the width of the region (which can be the width of the region in any of the above cases). This indicates the aspect ratio of the region.
[0088] The location of the region center can be understood as the centroid coordinates of the combustion cone corresponding to the region of interest. The location of the region center can be characterized based on the pixel coordinates corresponding to the centroid of the region of interest.
[0089] The preset temperature range can be a pre-defined range used to represent the temperature of the combustion cone. For example, the preset temperature range can be from 300 degrees to 600 degrees. The pixel ratio within the preset temperature range can be determined based on the pixel value of each pixel in the region of interest, the mapping relationship between pixel values and temperature values, the preset temperature range, and the number of pixels in the region of interest.
[0090] Optionally, based on the pixel value of each pixel in the region of interest and the mapping relationship between pixel values and temperature values, determine the temperature value corresponding to each pixel. Determine the number of pixels whose temperature values fall within a preset temperature range. Compare the number of pixels falling within the preset temperature range with the total number of pixels in the region of interest to determine the proportion of pixels falling within the preset temperature range.
[0091] Alternatively, multiple preset temperature ranges can be set to determine the pixel ratio corresponding to different preset temperature ranges. For example, the first preset temperature range can be set to 300 degrees to 600 degrees, the second preset temperature range to above 300 degrees, and the third preset temperature range to above 600 degrees. Based on the number of pixels with temperature values falling within the first preset temperature range and the number of pixels with temperature values falling within the second preset temperature range, the number of pixels corresponding to 300 degrees to 600 degrees is determined relative to the number of pixels corresponding to above 300 degrees, thus obtaining the proportion of low-temperature areas. Based on the number of pixels with temperature values falling within the third preset temperature range and the number of pixels with temperature values falling within the second preset temperature range, the number of pixels corresponding to 600 degrees is determined relative to the number of pixels corresponding to above 300 degrees, thus obtaining the proportion of high-temperature areas.
[0092] Specifically, for each video frame in the video to be processed, based on the pixel value and pixel coordinates of each pixel point in the region of interest, the first value of the region of interest is determined under at least one combustion index among the region's highest temperature, region's average temperature, region's median temperature, region's temperature standard deviation, region's area, region's length, region's width, region's aspect ratio, region's center position, and the pixel ratio within a preset temperature range.
[0093] S250. Based on the first value of each video frame in the video to be processed under at least one combustion index, determine the combustion data value of the cigarette to be detected under at least one combustion index.
[0094] Among them, the combustion data value is used to characterize the temperature feature value under at least one combustion index corresponding to the video to be processed.
[0095] Specifically, based on the first data under at least one burning index corresponding to each video frame of the video to be processed, a burning data value under at least one burning index that can represent the entire video to be processed is determined.
[0096] In this embodiment of the invention, the method for determining the combustion data value of the cigarette to be detected under at least one combustion index may be as follows: for combustion indices other than the regional center position index, the combustion data value of the combustion index is obtained by averaging the first values of all video frames in the video to be processed; based on the first value of each video frame in the video to be processed under the regional center position index, the centroid movement distance of the cigarette to be detected is determined, and the centroid movement distance is used as the combustion data value of the regional center position index.
[0097] The first value of the region center position index for each video frame is the centroid position (pixel coordinates) of the combustion cone corresponding to the region of interest in each video frame. The centroid movement distance can be determined based on the distance between the centroid positions of the starting and ending video frames in the video to be processed.
[0098] Specifically, for combustion indicators other than the regional center position indicator, the combustion data value for each indicator is determined by averaging the first values of the combustion indicators across all video frames in the video to be processed. The centroid movement distance is determined based on the centroid positions of the starting and ending video frames in the video to be processed. This centroid movement distance is then used as the combustion data value for the regional center position indicator.
[0099] S260. Based on the second video, the fifth video, and the sixth video, determine the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index.
[0100] Optionally, the method for determining the carbon line data value of the cigarette to be detected under at least one carbon line feature index can be as follows: for any one of the second video, the fifth video, and the sixth video to be used, obtain the pixel value to be used for each video frame in the video to be used, and determine the carbon line region in the video frame based on the pixel value to be used; determine the second value of the carbon line region under at least one carbon line feature index based on the pixel information to be used in the carbon line region; and determine the carbon line data value of the cigarette to be detected under at least one carbon line feature index based on the second value of each video frame in the video to be used under at least one carbon line feature index.
[0101] It should be noted that since the processing methods for determining the carbon line data values under at least one carbon line characteristic index are similar in the second, fifth, and sixth videos, the second, fifth, and sixth videos can be used as videos to interpret the specific processing for determining the carbon line data values under at least one carbon line characteristic index based on the videos to be used.
[0102] The video to be used can be the second, fifth, or sixth video. The video to be used can include multiple normal video frames (to distinguish it from infrared video frames; the term "normal video frame" will be used below). The pixel values to be used can be understood as the pixel values corresponding to each pixel point in the video frame. The carbon line region is the region corresponding to the carbon lines of the cigarette to be detected.
[0103] The pixel information to be used includes at least the pixel coordinates and pixel value of each pixel within the carbon line region. Optionally, the pixel coordinates can be the pixel coordinates of pixels within the carbon line region in a preset two-dimensional coordinate system.
[0104] The carbon line feature index is related to the carbon line region. At least one carbon line feature index includes one or more of the following: carbon line width, carbon line position, carbon line uniformity, carbon line movement distance, and carbon line movement speed. A second value is used to characterize the feature value under at least one carbon line feature index corresponding to the video frame.
[0105] The carbon line width can be the average width of the carbon line region in the video frame. The carbon line position is used to characterize the center or centroid position of the carbon line region in the video frame. The carbon line uniformity is used to characterize the uniformity of the carbon lines in the cigarette to be tested. Optionally, the carbon line uniformity can be determined based on the pixels within the carbon line region. The carbon line movement distance can be used to characterize the distance between the carbon line positions in the starting and ending video frames of the video to be used. Alternatively, the carbon line movement distance can be used to characterize the distance between the carbon line position in each video frame of the video to be used and the carbon line position in the previous video frame.
[0106] The carbon line movement rate is used to characterize how fast the carbon line moves during the combustion of the cigarette under test. The carbon line movement rate can be obtained by comparing the positional distance between the carbon line position in each video frame and the carbon line position in the previous video frame with the frame length of the video frame.
[0107] Carbon line data values are used to characterize the feature values under at least one carbon line feature index corresponding to the video to be used.
[0108] Specifically, for any one of the second, fifth, and sixth videos to be used, the pixel values to be used for each video frame in the video to be used are obtained. The carbon line regions in the video frames are determined based on the pixel values to be used.
[0109] For each video frame in the video to be used, based on the pixel coordinates and pixel values of each pixel within the charcoal line region, determine a second value for the charcoal line region under at least one of the following charcoal line characteristic indicators: charcoal line width, charcoal line position, charcoal line uniformity, charcoal line movement distance, and charcoal line movement speed. Based on the second value of each video frame in the video to be used under at least one charcoal line characteristic indicator, determine charcoal line data values that can represent the entire video to be used, under at least one charcoal line characteristic indicator.
[0110] S270. Based on combustion data values under at least one combustion index, carbon line data values under at least one carbon line characteristic index, production batch information of the cigarette to be tested, and raw material information constituting the cigarette to be tested, determine the content information of the first gas component corresponding to the cigarette to be tested.
[0111] S280. Based on the content of the first gas component of multiple cigarettes to be tested under the same preparation parameters, determine the content of the target gas component of all cigarettes corresponding to the preparation parameters.
[0112] Among them, the same preparation parameters include at least production batch information and raw material information.
[0113] The technical solution of this embodiment acquires a first video and a second video corresponding to the simulated smoking process of the cigarette to be tested using a cigarette smoking device. Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video. For any of the first, third, and fourth videos to be processed, the pixel values to be processed for each video frame in the video to be processed are acquired, and a region of interest (ROI) is determined in the video frame based on the pixel values to be processed. Based on the pixel information to be processed within the ROI, a first value of the ROI under at least one combustion index is determined. Based on the first value of each video frame under at least one combustion index in the video to be processed, the combustion data value of the cigarette to be tested under at least one combustion index is determined, thus realizing the detection of the combustion temperature field characteristics of the cigarette to be tested and providing data support for the subsequent determination of the smoke gas composition content. Based on the second, fifth, and sixth videos, the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index is determined, thus realizing the detection of the carbon line characteristics of the cigarette to be tested and providing data support for the subsequent determination of the smoke gas composition content. Based on combustion data values under at least one combustion index, charcoal line data values under at least one charcoal line characteristic index, production batch information of the cigarette to be tested, and raw material information constituting the cigarette to be tested, the content of the first gas component corresponding to the cigarette to be tested is determined, realizing the determination of the smoke gas component content of the cigarette to be tested and improving the comprehensiveness of cigarette smoke component content detection. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, the target gas component content of all cigarettes corresponding to the preparation parameters is determined, realizing the correspondence between smoke gas component content and preparation parameters. This facilitates subsequent adjustment of the corresponding preparation parameters based on the target gas component content to improve the smoking experience. This invention solves the problems of complex smoke component content detection process, long detection cycle, and high analysis cost in the prior art. It eliminates the need for experimental determination of smoke component content, improving the efficiency, comprehensiveness, and convenience of smoke component content detection. It allows for adjustment of the corresponding preparation parameters based on the target gas component content, ensuring that the adjusted cigarette meets actual smoking needs and improves the user's smoking experience.
[0114] Example 3 Figure 7 This is a schematic diagram of a device for determining the smoke composition content of a cigarette according to Embodiment 3 of the present invention. Figure 7As shown, the filter of the cigarette to be tested is fixed to the first end of the cigarette fixing device, and a cigarette suction device is installed at the second end of the cigarette fixing device. The first end and the second end are the two ends of the same cavity. The cigarette suction device is used to simulate the state of the cigarette to be tested being sucked. When the cigarette suction device is in working state, the device includes: a video acquisition module 310, a video frame extraction module 320, a combustion data determination module 330, a charcoal wire data determination module 340, a gas composition prediction module 350, and a gas composition content determination module 360.
[0115] The video acquisition module 310 is used to acquire a first video and a second video corresponding to the cigarette to be detected being simulated by the cigarette inhalation device during the inhalation process. The first video is an infrared video acquired by an infrared thermal imaging acquisition device, and the second video is a video acquired by a visible light imaging acquisition device. The first deployment position of the infrared thermal imaging acquisition device satisfies a first preset positional relationship with the cigarette to be detected, and the second deployment position of the visible light imaging acquisition device satisfies a second preset positional relationship with the cigarette to be detected. The video frame extraction module 320 is used to determine a third and fourth video from the first video and a fifth and sixth video from the second video according to a preset frame extraction dimension. The third and fifth videos correspond to the cigarette to be detected being inhaled, and the fourth and sixth videos correspond to the cigarette to be detected not being inhaled. The combustion data determination module 330 is used to determine the combustion data based on the first... The video, the third video, and the fourth video determine the combustion data value of the cigarette to be tested under at least one combustion index; the charcoal line data determination module 340 is used to determine the charcoal line data value of the cigarette to be tested under at least one charcoal line characteristic index based on the second video, the fifth video, and the sixth video; the gas composition prediction module 350 is used to determine the first gas component content information corresponding to the cigarette to be tested based on the combustion data value under the at least one combustion index, the charcoal line data value under the at least one charcoal line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested; the gas component content determination module 360 is used to determine the target gas component content of all cigarettes corresponding to the preparation parameter based on the first gas component content of multiple cigarettes to be tested under the same preparation parameter; wherein, the same preparation parameter includes at least the production batch information and the raw material information.
[0116] The technical solution of this embodiment acquires a first video and a second video corresponding to the simulated smoking process of the cigarette under test using a cigarette smoking device. Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video. Based on the first, third, and fourth videos, the combustion data values of the cigarette under test under at least one combustion index are determined, realizing the detection of the combustion temperature field characteristics of the cigarette under test, providing data support for subsequent determination of the smoke gas composition content. Based on the second, fifth, and sixth videos, the carbon line data values of the cigarette under test under at least one carbon line characteristic index are determined, realizing the detection of the carbon line characteristics of the cigarette under test, providing data support for subsequent determination of the smoke gas composition content. Based on the combustion data values under at least one combustion index, the carbon line data values under at least one carbon line characteristic index, the production batch information of the cigarette under test, and the raw material information constituting the cigarette under test, the first gas component content information corresponding to the cigarette under test is determined, realizing the determination of the smoke gas composition content of the cigarette under test, and improving the comprehensiveness of cigarette smoke composition content detection. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, the target gas component content of all cigarettes corresponding to the preparation parameters is determined, realizing the correspondence between the smoke gas component content and the preparation parameters. This facilitates subsequent adjustment of the corresponding preparation parameters based on the target gas component content, thereby improving the smoking experience. This invention solves the problems of complex smoke component content detection processes, long detection cycles, and high analysis costs in existing technologies. It eliminates the need for experimental determination of smoke component content, improving the efficiency, comprehensiveness, and convenience of smoke component content detection. It allows for adjustment of the corresponding preparation parameters based on the target gas component content, ensuring that the adjusted cigarettes meet actual smoking needs and enhance the user's smoking experience.
[0117] Based on the above embodiments, optionally, the frame extraction dimension is related to the time distribution of the cigarette to be detected in different states. The video frame extraction module is used to process the first video by extracting frames based on the first time distribution information of the cigarette to be detected in the smoking state, which is recorded in advance, to obtain the third video; and to process the first video by extracting frames based on the second time distribution information of the cigarette to be detected in the state of not being smoked, which is recorded in advance, to obtain the fourth video; wherein the union of the third video and the fourth video is the first video.
[0118] Optionally, the combustion data determination module includes: a region determination unit, configured to, for any one of the first video, the third video, and the fourth video, acquire the pixel value to be processed for each video frame in the video to be processed, and determine the region of interest in the video frame based on the pixel value to be processed; a first value determination unit, configured to, based on the pixel information to be processed within the region of interest, determine a first value of the region of interest under at least one combustion index; wherein the at least one combustion index includes one or more of the following: region maximum temperature, region average temperature, region median temperature, region temperature standard deviation, region area, region length, region width, region aspect ratio, region center position, and pixel ratio within a preset temperature range; and a combustion data value determination unit, configured to, based on the first value of each video frame in the video to be processed under at least one combustion index, determine the combustion data value of the cigarette to be detected under at least one combustion index.
[0119] Optionally, the combustion data value determination unit is used to obtain the combustion data value of the combustion index by averaging the first values of the combustion index across all video frames in the video to be processed for other combustion indices besides the regional center position index; and to determine the centroid movement distance of the cigarette to be detected based on the first value of each video frame in the video to be processed under the regional center position index, and to use the centroid movement distance as the combustion data value of the regional center position index.
[0120] Optionally, the charcoal line data determination module is used to, for any one of the second video, the fifth video, and the sixth video to be used, obtain the pixel values to be used for each video frame in the video to be used, and determine the charcoal line region in the video frame based on the pixel values to be used; determine a second value of the charcoal line region under at least one charcoal line feature index based on the pixel information to be used within the charcoal line region; wherein the at least one charcoal line feature index includes one or more of charcoal line width, charcoal line position, charcoal line neatness, charcoal line movement distance, and charcoal line movement speed; and determine the charcoal line data value of the cigarette to be detected under at least one charcoal line feature index based on the second value of each video frame in the video to be used under at least one charcoal line feature index.
[0121] Optionally, a gas composition prediction module is used to input the combustion data value under the at least one combustion index, the charcoal data value under the at least one charcoal characteristic index, the production batch information, and the raw material information into a pre-obtained cigarette gas composition content prediction model, and output the first gas composition content information of the cigarette to be detected.
[0122] Optionally, the device further includes a preparation parameter adjustment module, used to adjust the preparation parameters based on the type of gas that does not meet the pre-set reference gas component content when the content data of at least one gas in the target gas component content does not meet the pre-set reference gas component content.
[0123] The device for determining the smoke component content of cigarettes provided in this embodiment of the invention can execute the method for determining the smoke component content of cigarettes provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0124] Example 4 Figure 8 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. The electronic device 10 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 assistants, cellular phones, smartphones, 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 illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0125] like Figure 8 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0126] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0127] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as methods for determining the content of smoke components in a cigarette.
[0128] In some embodiments, the method for determining the smoke composition content of a cigarette can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for determining the smoke composition content of a cigarette described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the method for determining the smoke composition content of a cigarette by any other suitable means (e.g., by means of firmware).
[0129] Various embodiments 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), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0130] The computer program used to implement the method for determining the smoke composition content of cigarettes according to 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, such that when executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are performed. The computer program can be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0131] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.
[0132] Example 5 Embodiment 5 of the present invention also provides a computer-readable storage medium storing computer instructions for causing a processor to execute a method for determining the content of smoke components in a cigarette. The filter of the cigarette to be tested is fixed to a first end of a cigarette fixing device, and a cigarette suction device is installed at a second end of the cigarette fixing device. The first end and the second end are the two ends of the same cavity. The cigarette suction device is used to simulate the state of the cigarette to be tested being inhaled. When the cigarette suction device is in working condition, the method includes: Acquire a first video and a second video corresponding to the simulated smoking process of the cigarette to be detected by the cigarette smoking device, wherein the first video is an infrared video acquired by an infrared thermal imaging acquisition device, and the second video is a video acquired by a visible light imaging acquisition device; the first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected satisfy a first preset positional relationship, and the second deployment position of the visible light imaging acquisition device and the cigarette to be detected satisfy a second preset positional relationship; according to a preset frame extraction dimension, determine a third video and a fourth video from the first video, and determine a fifth video and a sixth video from the second video; wherein the third video and the fifth video correspond to the cigarette to be detected being smoked, and the fourth video and the sixth video correspond to the cigarette to be detected not being smoked; according to the The combustion data values of the cigarette to be tested under at least one combustion index are determined based on the first video, the third video, and the fourth video; the charcoal line data values of the cigarette to be tested under at least one charcoal line characteristic index are determined based on the second video, the fifth video, and the sixth video; the first gas component content information corresponding to the cigarette to be tested is determined based on the combustion data values under the at least one combustion index, the charcoal line data values under the at least one charcoal line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested; the target gas component content of all cigarettes corresponding to the preparation parameter is determined based on the first gas component content of multiple cigarettes to be tested under the same preparation parameter; wherein, the same preparation parameter includes at least the production batch information and the raw material information.
[0133] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0134] To provide interaction with a user, the systems and techniques described herein can 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 pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0135] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0136] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through a communication network. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0137] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.
[0138] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for determining the content of smoke components in a cigarette, characterized in that, The filter of the cigarette to be tested is fixed to the first end of a cigarette fixing device, and a cigarette suction device is installed at the second end of the cigarette fixing device. The first end and the second end are the two ends of the same cavity. The cigarette suction device is used to simulate the state of the cigarette to be tested being sucked. When the cigarette suction device is in working condition, the method includes: Acquire a first video and a second video corresponding to the simulated smoking process of the cigarette to be detected by the cigarette smoking device, wherein the first video is an infrared video acquired by an infrared thermal imaging acquisition device, and the second video is a video acquired by a visible light imaging acquisition device; the first deployment position of the infrared thermal imaging acquisition device satisfies a first preset positional relationship with the cigarette to be detected, and the second deployment position of the visible light imaging acquisition device satisfies a second preset positional relationship with the cigarette to be detected; Based on a pre-set frame extraction dimension, a third and fourth video are determined from the first video, and a fifth and sixth video are determined from the second video; wherein the third and fifth videos correspond to the cigarette being smoked, and the fourth and sixth videos correspond to the cigarette not being smoked. Based on the first video, the third video, and the fourth video, determine the combustion data value of the cigarette to be tested under at least one combustion index; Based on the second video, the fifth video, and the sixth video, determine the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index; Based on the combustion data value under the at least one combustion index, the carbon line data value under the at least one carbon line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested, the content information of the first gas component corresponding to the cigarette to be tested is determined. Based on the first gas component content of multiple cigarettes to be tested under the same preparation parameters, determine the target gas component content of all cigarettes corresponding to the preparation parameters. The same preparation parameters include at least production batch information and raw material information.
2. The method according to claim 1, characterized in that, The frame extraction dimension is related to the time distribution of the cigarette to be detected in different states. The step of determining the third and fourth videos from the first video based on the pre-set frame extraction dimension includes: Based on the pre-recorded first-time distribution information of the cigarettes to be detected in the smoking state, the first video is processed by frame extraction to obtain the third video; and, Based on the pre-recorded second time distribution information of the cigarette to be detected when it is not being smoked, the first video is processed by frame extraction to obtain the fourth video; The union of the third video and the fourth video is the first video.
3. The method according to claim 1, characterized in that, The step of determining the combustion data value of the cigarette to be tested under at least one combustion index based on the first video, the third video, and the fourth video includes: For any one of the first video, the third video, and the fourth video to be processed, obtain the pixel value to be processed for each video frame in the video to be processed, and determine the region of interest in the video frame based on the pixel value to be processed; Based on the pixel information to be processed within the region of interest, a first value of the region of interest under at least one combustion index is determined; wherein, the at least one combustion index includes one or more of the following: region maximum temperature, region average temperature, region median temperature, region temperature standard deviation, region area, region length, region width, region aspect ratio, region center position, and pixel ratio within a preset temperature range. Based on the first value of each video frame in the video to be processed under at least one combustion index, the combustion data value of the cigarette to be detected under at least one combustion index is determined.
4. The method according to claim 3, characterized in that, The step of determining the combustion data value of the cigarette to be detected under at least one combustion index based on the first value of each video frame in the video to be processed under at least one combustion index includes: For other combustion indicators besides the regional center location indicator, the combustion data value of the combustion indicator is obtained by averaging the first values of the combustion indicators across all video frames in the video to be processed. Based on the first value of each video frame in the video to be processed under the regional center position index, the centroid movement distance of the cigarette to be detected is determined, and the centroid movement distance is used as the combustion data value of the regional center position index.
5. The method according to claim 1, characterized in that, The step of determining the carbon line data value of the cigarette to be tested under at least one carbon line characteristic index based on the second video, the fifth video, and the sixth video includes: For any one of the second video, the fifth video, and the sixth video to be used, obtain the pixel value to be used for each video frame in the video to be used, and determine the carbon line region in the video frame based on the pixel value to be used; Based on the pixel information to be used within the carbon line region, a second value of the carbon line region under at least one carbon line feature index is determined; wherein, the at least one carbon line feature index includes one or more of carbon line width, carbon line position, carbon line neatness, carbon line moving distance, and carbon line moving speed. The carbon line data value of the cigarette to be detected under at least one carbon line feature index is determined based on the second value of each video frame in the video to be used under at least one carbon line feature index.
6. The method according to claim 1, characterized in that, The determination of the first gas component content information corresponding to the cigarette to be tested, based on the combustion data value under the at least one combustion index, the charcoal line data value under the at least one charcoal line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested, includes: The combustion data values under the at least one combustion index, the charcoal line data values under the at least one charcoal line characteristic index, the production batch information, and the raw material information are input into the pre-obtained cigarette gas component content prediction model, and the first gas component content information of the cigarette to be tested is output.
7. The method according to claim 1, characterized in that, The method further includes: When the content data of at least one gas in the target gas component content does not meet the preset benchmark gas component content, the preparation parameters are adjusted based on the type of gas that does not meet the condition.
8. A device for determining the content of smoke components in a cigarette, characterized in that, The filter of the cigarette to be tested is fixed to the first end of the cigarette fixing device, and a cigarette suction device is installed at the second end of the cigarette fixing device. The first end and the second end are the two ends of the same cavity. The cigarette suction device is used to simulate the state of the cigarette to be tested being sucked. When the cigarette suction device is in working condition, the cigarette smoke composition content determination device includes: The video acquisition module is used to acquire a first video and a second video corresponding to the simulated smoking process of the cigarette to be detected by the cigarette smoking device. The first video is an infrared video acquired by the infrared thermal imaging acquisition device, and the second video is a video acquired by the visible light imaging acquisition device. The first deployment position of the infrared thermal imaging acquisition device and the cigarette to be detected satisfy a first preset positional relationship, and the second deployment position of the visible light imaging acquisition device and the cigarette to be detected satisfy a second preset positional relationship. The video frame extraction module is used to determine the third and fourth videos from the first video and the fifth and sixth videos from the second video according to a pre-set frame extraction dimension; wherein the third and fifth videos correspond to the cigarette to be detected being smoked, and the fourth and sixth videos correspond to the cigarette to be detected not being smoked; The combustion data determination module is used to determine the combustion data value of the cigarette to be detected under at least one combustion index based on the first video, the third video, and the fourth video. The carbon line data determination module is used to determine the carbon line data value of the cigarette to be detected under at least one carbon line characteristic index based on the second video, the fifth video and the sixth video; The gas composition prediction module is used to determine the first gas composition content information corresponding to the cigarette to be tested based on the combustion data value under the at least one combustion index, the carbon line data value under the at least one carbon line characteristic index, the production batch information of the cigarette to be tested, and the raw material information constituting the cigarette to be tested. The gas composition content determination module is used to determine the target gas composition content of all cigarettes corresponding to the preparation parameters based on the first gas composition content of multiple cigarettes to be tested under the same preparation parameters. The same preparation parameters include at least production batch information and raw material information.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for determining the smoke composition content of the cigarette as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for determining the smoke composition content of a cigarette as described in any one of claims 1-7.