Insertion identification method and system of specified cigarette, terminal and storage medium

By using multiple sensors to judge the insulation, shape and color of the object to be identified, combined with the signal value-category mapping table, the problem of high cost of identifying designated cigarettes in the prior art is solved, and rapid and accurate identification is achieved and production costs are reduced. .

CN119214374AInactive Publication Date: 2024-12-31HIGOL TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411503053.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2024-12-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the method of identifying designated cigarette patches through label identification methods requires labeling and labeling of all designated cigarette patches in advance, resulting in high production costs.

Method used

By obtaining the preset signal value-category mapping table, combining resistive, infrared photoelectric and color sensors to judge the insulation, shape and color of the object to be identified, quickly identify whether it is a designated cigarette stick, and avoid adding additional marks on the cigarette stick. .

Benefits of technology

It realizes the rapid and accurate identification of whether the inserted object is a designated cigarette patch, reduces production costs, and uses algorithm optimization and adjustment to meet the characteristics of cigarette patches, providing convenience for subsequent upgrades and development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119214374A_ABST
    Figure CN119214374A_ABST
Patent Text Reader

Abstract

The invention discloses a specified cigarette insertion identification method and system, a terminal and a storage medium. The method comprises the following steps: acquiring a preset signal value-category mapping table; judging whether the to-be-identified object is an insulator or not; judging whether the to-be-recognized object is a cylinder or not; identifying and judging whether the color of the to-be-identified object accords with a preset color, and if the result is yes, outputting a specific signal value corresponding to the color; and according to the output specific signal value, matching the category of the corresponding specified cigarette in the signal value-category mapping table. According to the invention, a plurality of sensors are combined for use, whether the object is an insulator, whether the object is a cylinder or not and whether the object is a color are judged and identified in sequence, and whether the inserted object to be identified is a specified cigarette or not is quickly and accurately identified by excluding objects which do not meet conditions, and meanwhile, additional cost does not need to be increased on the specified cigarette, so that the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cigarette identification, and in particular to a method, system, terminal and storage medium for inserting and identifying a designated cigarette. Background Art

[0002] At present, as a substitute for traditional tobacco, the market share of new tobacco is increasing. Among them, heat-not-burn tobacco (HNB), which has the closest taste to traditional tobacco, is one of the mainstream trends in the market. When using heat-not-burn tobacco, the method of identifying whether the inserted object is a designated cigarette in the prior art is mainly through label recognition. Usually, the designated cigarette is marked with a specific electronic tag in advance. That is, when the object is inserted, the information on the label on the object can be directly read by the reader on the identification device, and then it can be determined whether the inserted object is a designated cigarette.

[0003] However, in order to identify whether the inserted object is a designated cigarette by using the tag recognition method, all designated cigarettes must be labeled in advance. However, the process of labeling all designated cigarettes will generate many additional steps and costs. The larger the number of designated cigarettes, the higher the production cost.

[0004] In view of this, it is necessary to provide a method, system, terminal and storage medium for identifying the insertion of a designated cigarette to overcome the above-mentioned defects. Summary of the invention

[0005] The purpose of the present invention is to provide a method, system, terminal and storage medium for identifying the insertion of a designated cigarette, aiming to solve the problem of high production cost of existing cigarette category identification methods, which can not only quickly and accurately identify whether the inserted object is a designated cigarette, but also reduce production costs.

[0006] In order to achieve the above-mentioned object, the first aspect of the present invention provides a method for identifying the insertion of a designated cigarette, comprising:

[0007] Step S10: obtaining a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the specified cigarette in a one-to-one manner, and the color identification corresponds to the signal value in a one-to-one manner;

[0008] Step S20: When the object to be identified passes through the identification device, it is determined whether the object to be identified is an insulator. If the result is yes, the process proceeds to step S30; if the result is no, the identification is deemed to have failed and the identification is terminated.

[0009] Step S30: Determine whether the object to be identified is a cylinder. If the result is yes, proceed to step S40; if the result is no, determine that the identification has failed and end this identification.

[0010] Step S40: Identify and determine whether the color of the object to be identified conforms to the preset color. If the result is yes, output the specific signal value corresponding to the color; if the result is no, determine that the identification fails and end this identification;

[0011] Step S50: Match the corresponding designated cigarette category in the signal value-category mapping table according to the output specific signal value.

[0012] In a preferred embodiment, before step S20, the following steps are further included:

[0013] After receiving the start signal, each sensor is initialized and starts working.

[0014] In a preferred embodiment, step S20 includes:

[0015] The conductivity of the inserted object to be identified is detected by a resistive sensor, and then it is determined whether the object to be identified is an insulator based on the detected conductivity. If it is determined to be a non-insulator, a 0 signal is output.

[0016] In a preferred embodiment, the step S30 includes:

[0017] At least two infrared photoelectric sensors arranged at intervals are used to detect the distance between the inserted object to be identified and each sensor itself. If the distances detected by all the infrared photoelectric sensors to the object to be identified are less than a preset distance error threshold, the shape of the object to be identified is determined to be a cylinder; if the distance detected by only one of the infrared photoelectric sensors to the object to be identified is greater than or equal to the distance error threshold, a 0 signal is output.

[0018] In a preferred embodiment, the step S40 includes:

[0019] The color sensor determines the color identification of the inserted object to be identified, and determines whether the identified color identification belongs to one of the pre-set ones. If the result is yes, the corresponding signal value is output; otherwise, a 0 signal is output.

[0020] The present invention also provides a designated cigarette insertion identification system, comprising:

[0021] A mapping table acquisition module, used to acquire a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the specified cigarette in a one-to-one manner, and the color identification corresponds to the signal value in a one-to-one manner;

[0022] The insulator judgment module is used to judge whether the object to be identified is an insulator when the object to be identified passes through the identification device. If the result is yes, the judgment result is sent to the cylinder judgment module; if the result is no, it is determined that the identification fails and the identification is terminated;

[0023] The cylinder judgment module is used to judge whether the object to be identified is a cylinder. If the result is yes, the judgment result is sent to the color judgment module; if the result is no, the recognition is deemed to have failed and the recognition is terminated.

[0024] The color judgment module is used to identify and judge whether the color of the object to be identified meets the preset color. If the result is yes, the specific signal value corresponding to the color is output; if the result is no, the identification is deemed to have failed and the identification is terminated;

[0025] The category matching module is used to match the corresponding designated cigarette category in the signal value-category mapping table according to the output specific signal value.

[0026] A third aspect of the present invention provides a terminal, comprising a memory, a processor, and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the various steps of the method for identifying the insertion of a designated cigarette as described in any one of the above-mentioned embodiments.

[0027] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the various steps of the method for identifying the insertion of a designated cigarette as described in any one of the above-mentioned embodiments.

[0028] A fifth aspect of the present invention provides a computer program product, comprising a computer program or instructions, which, when processed and executed, implement the various steps of the method for identifying the insertion of a designated cigarette as described in any one of the above-mentioned embodiments.

[0029] The method, system, terminal and storage medium for identifying the insertion of a designated cigarette provided by the present invention use a plurality of sensors in combination to distinguish the characteristics of the inserted object, that is, to judge and identify whether it is an insulator, whether it is a cylinder and its color in turn, and to exclude objects that do not meet the conditions, thereby quickly and accurately identifying whether the inserted object with identification is a designated cigarette, while reducing production costs without adding additional costs to the designated cigarette. In addition, by modifying and optimizing the algorithm, it is also possible to more conveniently adjust the parameters that meet the characteristics of the designated cigarette, thereby providing assistance for subsequent upgrades and development. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 A flow chart of the designated cigarette insertion identification method provided by the present invention;

[0032] Figure 2 This is a framework diagram of the designated cigarette insertion identification system provided by the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and beneficial technical effect of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the specific implementation methods described in this specification are only for explaining the present invention, not for limiting the present invention.

[0034] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0035] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0036] Embodiment 1

[0037] In an embodiment of the present invention, a method for identifying the insertion of a designated cigarette is provided, which is used to automatically identify the type, model, and brand of the inserted cigarette in a heat-not-burn smoking device. The heat-not-burn smoking device is provided with a slot for inserting the cigarette, and various sensors are arranged near the slot, so that the type of the object to be identified inserted into the slot can be detected.

[0038] like Figure 1 As shown, the method for identifying the insertion of a designated cigarette includes steps S10-S50.

[0039] Step S10: Obtain a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the specified cigarette one-to-one, and the color identifier corresponds to the signal value one-to-one. That is, each cigarette is set to correspond to a color identifier one-to-one. It should be noted that the color identifier here can correspond to a single color or a color combination. It can be understood that the color or color combination of each cigarette is unique.

[0040] Furthermore, before step S20, the method further includes the following steps: after obtaining the start signal, initializing each sensor and starting it to work. That is, when the switch is turned on, initialization is established and each sensor inside the heat-not-burn smoking device starts to work.

[0041] Step S20: When the object to be identified passes through the identification device, it is determined whether the object to be identified is an insulator. If the result is yes, the process proceeds to step S30; if the result is no, the identification is deemed to have failed and the identification is terminated.

[0042] Specifically, this step detects the conductivity of the inserted object to be identified by a resistive sensor, and then determines whether the object to be identified is an insulator based on the detected conductivity. If it is determined to be a non-insulator, a 0 signal is output. For example, detection is performed by resistivity, conductivity, etc., and then the inserted object to be identified is determined to be an insulator based on the mainstream insulator judgment condition, thereby quantifying the conductivity characteristics of the object to be identified.

[0043] Step S30: Determine whether the object to be identified is a cylinder. If the result is yes, proceed to step S40; if the result is no, determine that the identification has failed and end this identification.

[0044] Specifically, this step can detect the distance between the inserted object to be identified and each sensor itself through at least two infrared photoelectric sensors arranged at intervals. If the distance between all infrared photoelectric sensors and the object to be identified is less than a preset distance error threshold, the shape of the object to be identified is determined to be a cylinder; if the distance between only one of the infrared photoelectric sensors and the object to be identified is greater than or equal to the distance error threshold, a 0 signal is output. Among them, multiple infrared photoelectric sensors can be evenly arranged around the slot, so as to perform distance detection on various parts of the object to be identified inserted into the slot, so as to quantify the shape of the object to be identified.

[0045] Step S40: Identify and determine whether the color of the object to be identified conforms to the preset color. If the result is yes, output the specific signal value corresponding to the color; if the result is no, determine that the identification has failed and end this identification.

[0046] Specifically, in this step, the color sensor can be used to determine the color identification of the inserted object to be identified, and determine whether the identified color identification belongs to one of the pre-set ones. If the result is yes, the corresponding signal value is output; otherwise, a 0 signal is output. For example, color detection can be performed by detecting the RGB value of the surface of the object to be identified, thereby quantifying the color characteristics.

[0047] Step S50: Match the corresponding designated cigarette category in the signal value-category mapping table according to the output specific signal value.

[0048] It should be noted that in the above steps, if the recognition fails, a 0 signal is output externally. If the insulation, cylinder and color detection are passed at the same time, the corresponding signal value is output externally according to the color, which is the corresponding category of the inserted cigarette.

[0049] Therefore, the present invention uses sensors to quantify the characteristics of insulation, shape, and color, and the detection is simple and accurate. Then, the quantified data is combined with the algorithm to identify whether the object is a designated cigarette, without adding extra costs to the designated cigarette. In addition, by modifying and optimizing the algorithm, the parameters that meet the characteristics of the designated cigarette can be adjusted more conveniently, thereby providing help for subsequent upgrades and development.

[0050] Embodiment 2

[0051] The present invention also provides a designated cigarette insertion identification system 100, which is used to automatically identify the type, model, and brand of a cigarette inserted into a heat-not-burn smoking device. It should be noted that the implementation principle and specific implementation of the designated cigarette insertion identification system 100 can refer to the designated cigarette insertion identification method described above, so it will not be described in detail below.

[0052] like Figure 2 As shown, the designated cigarette insertion identification system 100 includes:

[0053] A mapping table acquisition module 10 is used to acquire a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the specified cigarette in a one-to-one manner, and the color identification corresponds to the signal value in a one-to-one manner;

[0054] The insulator judgment module 20 is used to judge whether the object to be identified is an insulator when the object to be identified passes through the identification device. If the result is yes, the judgment result is sent to the cylinder judgment module; if the result is no, it is determined that the identification fails and the identification is terminated;

[0055] The cylinder judging module 30 is used to judge whether the object to be identified is a cylinder. If the result is yes, the judgment result is sent to the color judging module; if the result is no, the recognition is deemed to have failed and the recognition is terminated.

[0056] The color judgment module 40 is used to identify and judge whether the color of the object to be identified meets the preset color. If the result is yes, the specific signal value corresponding to the color is output; if the result is no, it is determined that the identification fails and the identification is terminated;

[0057] The category matching module 50 is used to match the category of the corresponding designated cigarette in the signal value-category mapping table according to the output specific signal value.

[0058] Embodiment 3

[0059] The present invention provides a terminal, which includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, the various steps of the insertion identification method of a designated cigarette as described in any one of the above-mentioned implementation modes are implemented.

[0060] Embodiment 4

[0061] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the various steps of the method for inserting and identifying a designated cigarette as described in any one of the above-mentioned implementation modes.

[0062] Embodiment 5

[0063] The present invention provides a computer program product, including a computer program or instructions, which, when processed and executed, implements the various steps of the method for inserting and identifying a designated cigarette as described in any one of the above-mentioned implementation modes.

[0064] In summary, the method, system, terminal and storage medium for identifying the insertion of a designated cigarette provided by the present invention use multiple sensors in combination to distinguish the characteristics of the inserted object, that is, to judge and identify whether it is an insulator, whether it is a cylinder and its color in turn, and to exclude objects that do not meet the conditions, so as to quickly and accurately identify whether the inserted object with identification is a designated cigarette, while reducing production costs without adding additional costs to the designated cigarette. In addition, by modifying and optimizing the algorithm, it is also possible to more conveniently adjust the parameters that meet the characteristics of the designated cigarette, thereby providing assistance for subsequent upgrades and development.

[0065] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0066] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0067] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0068] In the embodiments provided by the present invention, it should be understood that the disclosed systems or devices / terminal equipment and methods can be implemented in other ways. For example, the system or device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the system or unit can be electrical, mechanical or other forms.

[0069] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0070] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0071] The present invention is not limited to what is described in the specification and implementation modes, and therefore additional advantages and modifications can be easily realized by those skilled in the art. Therefore, without departing from the spirit and scope of the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details, representative devices, and illustrative examples shown and described herein.

Claims

1. A method for identifying the insertion of a designated cigarette, characterized in that: include: Step S10: obtaining a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the designated cigarette in a one-to-one manner, and the color identification corresponds to the signal value in a one-to-one manner; Step S20: When the object to be identified passes through the identification device, it is determined whether the object to be identified is an insulator. If the result is yes, the process proceeds to step S30; if the result is no, the identification is deemed to have failed and the identification is terminated. Step S30: Determine whether the object to be identified is a cylinder. If the result is yes, proceed to step S40; if the result is no, determine that the identification has failed and end this identification. Step S40: Identify and determine whether the color of the object to be identified conforms to the preset color. If the result is yes, output the specific signal value corresponding to the color; if the result is no, determine that the identification fails and end this identification; Step S50: Match the corresponding designated cigarette category in the signal value-category mapping table according to the output specific signal value.

2. The method for identifying the insertion of a designated cigarette according to claim 1, characterized in that: Before step S20, the method further includes the following steps: After receiving the start signal, each sensor is initialized and starts working.

3. The method for identifying the insertion of a designated cigarette according to claim 1, characterized in that: The step S20 comprises: The conductivity of the inserted object to be identified is detected by a resistive sensor, and then it is determined whether the object to be identified is an insulator based on the detected conductivity. If it is determined to be a non-insulator, a 0 signal is output.

4. The method for identifying the insertion of a designated cigarette according to claim 1, characterized in that: The step S30 comprises: At least two infrared photoelectric sensors arranged at intervals are used to detect the distance between the inserted object to be identified and each sensor itself. If the distances detected by all the infrared photoelectric sensors to the object to be identified are less than a preset distance error threshold, the shape of the object to be identified is determined to be a cylinder; if the distance detected by only one of the infrared photoelectric sensors to the object to be identified is greater than or equal to the distance error threshold, a 0 signal is output.

5. The method for identifying the insertion of a designated cigarette according to claim 1, characterized in that: The step S40 comprises: The color sensor determines the color identification of the inserted object to be identified, and determines whether the identified color identification belongs to one of the pre-set ones. If the result is yes, the corresponding signal value is output; otherwise, a 0 signal is output.

6. A designated cigarette insertion identification system, characterized in that: include: A mapping table acquisition module, used to acquire a preset signal value-category mapping table; wherein, in the signal value-category mapping table, the signal value corresponds to the category of the specified cigarette in a one-to-one manner, and the color identification corresponds to the signal value in a one-to-one manner; The insulator judgment module is used to judge whether the object to be identified is an insulator when the object to be identified passes through the identification device. If the result is yes, the judgment result is sent to the cylinder judgment module; if the result is no, the identification is deemed to have failed and the identification is terminated; The cylinder judgment module is used to judge whether the object to be identified is a cylinder. If the result is yes, the judgment result is sent to the color judgment module; if the result is no, the recognition is deemed to have failed and the recognition is terminated; The color judgment module is used to identify and judge whether the color of the object to be identified meets the preset color. If the result is yes, the specific signal value corresponding to the color is output; if the result is no, the identification is deemed to have failed and the identification is terminated; The category matching module is used to match the corresponding designated cigarette category in the signal value-category mapping table according to the output specific signal value.

7. A terminal, characterized in that: The terminal includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, each step of the method for identifying the insertion of a designated cigarette as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step of the method for identifying the insertion of a designated cigarette as described in any one of claims 1 to 5 is implemented.