Cigarette case strip information association method and device, electronic equipment and storage medium

By detecting and adjusting the stacking direction of cigarette boxes during the cigarette packaging process, the problem of disordered QR code sequences in small packages was solved, accurate association of box information was achieved, and equipment production efficiency was improved.

CN116956959BActive Publication Date: 2026-06-05CHINA TOBACCO JIANGSU INDAL

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TOBACCO JIANGSU INDAL
Filing Date
2023-07-24
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

During the cigarette packaging process, the stacked double-pack small boxes are damaged, causing the QR code sequence of the small packs to be disordered and unable to be correctly associated with the carton, thus affecting the production efficiency of the equipment.

Method used

When a single cigarette box is detected on the conveyor belt, the stacking area of ​​the cigarette boxes is determined according to the stacking direction, and the cigarette boxes are adjusted to a preset shape to achieve cigarette box stacking and ensure the accurate association of the cigarette box identification sequence.

Benefits of technology

Without stopping the equipment, accurate association of box strip information was achieved, improving equipment production efficiency and reducing downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116956959B_ABST
    Figure CN116956959B_ABST
Patent Text Reader

Abstract

The application discloses a cigarette box strip information association method and device, electronic equipment and a storage medium. The method comprises the following steps: in the case that a single cigarette box is detected at a preset detection position on a conveying belt, determining a cigarette box stacking area corresponding to the single cigarette box according to a cigarette box stacking direction corresponding to the single cigarette box, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveying belt; determining a to-be-adjusted cigarette box located on the conveying belt according to the cigarette box stacking area; adjusting the to-be-adjusted cigarette box to the cigarette box stacking area according to a preset cigarette box stacking mode, and obtaining a cigarette box stack in the cigarette box stacking mode corresponding to the single cigarette box. The technical scheme of the embodiment realizes the effect of accurately associating box strip information without stopping the equipment, and effectively improves the production efficiency of the equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cigarette production technology, and in particular to a method, apparatus, electronic device, and storage medium for associating information on cigarette pack strips. Background Technology

[0002] With the rise of the Internet of Things (IoT) industry, "one item, one code" technology has gained attention from many sectors. The tobacco industry can utilize QR code technology to build an intelligent decision-making and control network system, which is of great significance for optimizing industrial upgrading, improving management and service levels. Therefore, an increasing number of tobacco factories are incorporating QR codes into cigarette packaging.

[0003] Currently, there are many models of cigarette packaging machines in China. To achieve the correct association between the carton and the carton, different models need to adopt different technical solutions, and the accuracy rate of carton-carton association has basically exceeded 99.99%. However, it is difficult to achieve this goal on some models because these models do not send single packs into the packaging machine from the small box transparent film packaging machine to the carton packaging machine, but rather send double packs in stacks.

[0004] However, the stacked double-packaged boxes are often disrupted, forming two single-packaged boxes side by side. At this point, the QR code information of the stacked boxes read by the barcode reader generated from the box sequence is corrupted, the QR code sequence of the small packages is disordered, and it becomes impossible to correctly associate them with the boxes. Summary of the Invention

[0005] This invention provides a method, apparatus, electronic device, and storage medium for associating cigarette pack information, so as to achieve accurate association of pack information without stopping the equipment, thereby effectively improving equipment production efficiency.

[0006] According to one aspect of the present invention, a method for associating cigarette pack strip information is provided, the method comprising:

[0007] When a single cigarette box is detected at a preset detection position on the conveyor belt, the cigarette box stacking area corresponding to the single cigarette box is determined according to the cigarette box stacking direction corresponding to the single cigarette box, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveyor belt.

[0008] Based on the cigarette box stacking area, determine the cigarette boxes to be adjusted located on the conveyor belt;

[0009] The cigarette boxes to be adjusted are adjusted to the cigarette box stacking area according to the preset cigarette box stacking pattern, so as to obtain a cigarette box stacking pattern corresponding to the individual cigarette boxes.

[0010] According to another aspect of the present invention, a cigarette pack information association device is provided, the device comprising:

[0011] The cigarette box stacking area determination module is used to determine the cigarette box stacking area corresponding to the single cigarette box based on the cigarette box stacking direction corresponding to the single cigarette box when a single cigarette box is detected at a preset detection position on the conveyor belt, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveyor belt.

[0012] The cigarette box to be adjusted determination module is used to determine the cigarette boxes to be adjusted located on the conveyor belt based on the cigarette box stacking area;

[0013] The cigarette box adjustment module is used to adjust the cigarette box to be adjusted to the cigarette box stacking area according to the preset cigarette box stacking pattern, so as to obtain a cigarette box stacking pattern corresponding to the individual cigarette box.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and

[0016] A memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the cigarette pack information association method according to any embodiment of the present invention.

[0018] 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 cigarette pack strip information association method according to any embodiment of the present invention.

[0019] The technical solution of this invention, when a single cigarette box is detected at a preset detection position on the conveyor belt, determines the cigarette box stacking area corresponding to the single cigarette box based on the cigarette box stacking direction corresponding to the single cigarette box. Further, based on the cigarette box stacking area, the cigarette box to be adjusted on the conveyor belt is determined. Finally, the cigarette box to be adjusted is adjusted to the cigarette box stacking area according to a preset cigarette box stacking pattern, resulting in a cigarette box stack in a cigarette box stacking pattern corresponding to the single cigarette box. This solves the problem in related technologies where the QR code information of the stacked small boxes read by the small box sequence generator is damaged, the small package QR code sequence is disordered, and further, it cannot be correctly associated with the carton. It achieves the effect of accurately associating carton and carton information without stopping the equipment, effectively improving equipment production efficiency.

[0020] 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

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

[0022] Figure 1 This is a flowchart of a method for associating cigarette pack strip information according to Embodiment 1 of the present invention;

[0023] Figure 2 This is a schematic diagram of a single cigarette box on a conveyor belt according to Embodiment 1 of the present invention;

[0024] Figure 3 This is a schematic diagram of the structure of a cigarette pack strip information association device according to Embodiment 2 of the present invention;

[0025] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the cigarette box strip information association method of the present invention. Detailed Implementation

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

[0027] 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 a 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.

[0028] Example 1

[0029] Figure 1 This is a flowchart of a cigarette box information association method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where, during the process from a small box transparent film packaging machine to a carton packaging machine, there are individual cigarette boxes on the conveyor belt that do not meet the cigarette box stacking requirements. This method can be executed by a cigarette box information association device, which can be implemented in hardware and / or software, and can be configured in a terminal and / or server. Figure 1 As shown, the method includes:

[0030] S110. When a single cigarette box is detected at a preset detection position on the conveyor belt, the stacking area of ​​the cigarette boxes corresponding to the single cigarette box is determined according to the stacking direction of the cigarette boxes corresponding to the single cigarette box.

[0031] It should be noted that in the cigarette packaging process, cigarettes can be packaged using cigarette packaging machines. These machines can include a small-pack transparent film packaging machine for packaging small packs of cigarettes, and a carton packaging machine for packaging multiple small packs into a carton. In practical applications, after the small packs are packaged by the small-pack transparent film packaging machine, they are conveyed to the carton packaging machine via a conveyor belt. Normally, the packaged small packs are stacked in pairs before entering the conveyor belt. However, during the conveyor belt transport of these stacks of two packs, due to inconsistent speeds between the upper and lower conveyor belts and unstable pressure on the outlet pressure plate of the small-pack transparent film packaging machine, the stacks of two packs are often broken, resulting in single packs placed side-by-side on the lower conveyor belt. At this time, based on the technical solution of the present invention, when a single-pack box is detected on the conveyor belt, the single-pack box stacked on top of the double-pack box combination arranged behind the single-pack box can be adjusted to be above the detected single-pack box, so that the single-pack box and the adjusted single-pack box form a new stacked double-pack box combination and are transported to the carton packaging machine.

[0032] In this embodiment, the conveyor belt is the conveyor belt connecting the small box transparent film packaging machine and the carton packaging machine, and this conveyor belt can be the lower conveyor belt in an upper and lower conveyor belt combination. The upper and lower conveyor belt combination can include both an upper and a lower conveyor belt. The preset detection position can be pre-set and used to detect the stack of cigarette boxes on the conveyor belt. It should be noted that the preset detection position can be any position on the conveyor belt. A single cigarette box is a cigarette box that is being transported on the conveyor belt without any other cigarette boxes stacked on top of it. The cigarette box stacking direction can be the direction on which multiple cigarette boxes are normally stacked into a stack. The cigarette box stacking direction is perpendicular to the conveyor belt's transport direction. The cigarette box stacking area can be the area where, under normal circumstances, a single cigarette box located on the lower conveyor belt forms the base, and other cigarette boxes are stacked into a stack. For example, the cigarette box stacking area can be the area between the upper surface of the single cigarette box on the lower conveyor belt and the upper conveyor belt. The upper surface of the single cigarette box is the surface perpendicular to the surface in contact with the lower conveyor belt.

[0033] In practical applications, after the cigarette boxes are packaged by the small-box transparent film packaging machine, they can be transported via a conveyor belt. During this transport, the cigarette boxes on the conveyor belt can be inspected to determine whether they are being transported towards the carton packaging machine in stacks of multiple boxes. Generally, the inspection information obtained after inspecting a group of cigarette boxes on the conveyor belt usually includes the position information of multiple cigarette boxes. If the inspection information only includes the position information of a single cigarette box, it can be determined that a single cigarette box exists at the preset inspection position on the conveyor belt.

[0034] Optionally, detecting the presence of a single cigarette box at a preset detection position on the conveyor belt includes: acquiring cigarette box stacking detection information corresponding to the detection position; and determining that a single cigarette box exists at the preset detection position if the cigarette box stacking detection information does not include the detection information of the upper layer of the stack.

[0035] In this embodiment, the cigarette box stacking detection information can be the cigarette box position information representing each cigarette box in the cigarette box stack on the conveyor belt. The cigarette box stacking detection information can include upper stacking detection information and / or lower stacking detection information. It should be noted that, under normal circumstances, the cigarette box stacking detection information can include both upper stacking detection information and lower stacking detection information. Under abnormal circumstances, the cigarette box stacking detection information can only include upper stacking detection information, or only lower stacking detection information. Wherein, the upper stacking detection information is the position information corresponding to the cigarette box located at the top in the cigarette box stack combination. The lower stacking detection information is the position information corresponding to the cigarette box located at the bottom in the cigarette box stack combination. For example, if the cigarette box stack combination includes a combination of two cigarette boxes, then the upper stacking detection information is the position information corresponding to the cigarette box located at the top, that is, the cigarette box with a contact surface with the upper conveyor belt; the lower stacking detection information is the position information corresponding to the cigarette box located at the bottom, that is, the cigarette box with a contact surface with the lower conveyor belt.

[0036] In practical applications, during the process of transporting packaged cigarette boxes in multiple stacks on a conveyor belt, the position information of the cigarette box stacks on the conveyor belt can be detected and collected. This results in cigarette box stack detection information, which is then sent to the industrial control computer associated with the cigarette packaging unit. Furthermore, after obtaining the cigarette box stack detection information corresponding to any preset detection position on the conveyor belt, the obtained information can be analyzed to determine whether it includes the position information of each cigarette box in the complete stack, i.e., whether it simultaneously includes both upper and lower stack detection information. If it is determined that the obtained cigarette box stack detection information does not include upper stack detection information, it can be determined that a single cigarette box exists at that detection position on the conveyor belt.

[0037] Furthermore, given that a single cigarette box exists on the conveyor belt, the stacking direction of that single cigarette box can be determined. Subsequently, the stacking area corresponding to that single cigarette box can be determined based on this stacking direction; that is, the area between the upper surface of the single cigarette box on the conveyor belt and the upper conveyor belt itself. This can also be understood as determining the upper stacking area corresponding to that single cigarette box.

[0038] S120. Based on the cigarette box stacking area, determine the cigarette boxes to be adjusted located on the conveyor belt.

[0039] In this embodiment, the cigarette box to be adjusted can be a cigarette box located on a conveyor belt that needs to be positioned.

[0040] In practical applications, after determining that there is a single cigarette box on the conveyor belt and the corresponding cigarette box stacking area, the cigarette box that needs to be repositioned on the conveyor belt can be determined based on the cigarette box stacking area.

[0041] Optionally, based on the cigarette box stacking area, the cigarette boxes to be adjusted on the conveyor belt are determined, including: determining the direction of the cigarette boxes parallel to and opposite to the conveying direction, and sequentially acquiring the cigarette box stacking information corresponding to each detection position after the cigarette box stacking area on the conveyor belt; filtering the acquired cigarette box stacking information based on preset filtering rules, determining the target cigarette box stacking information and the cigarette box stacking information corresponding to the target cigarette box stacking information, and taking the cigarette boxes in the cigarette box stack that are located on the same layer as the cigarette box stacking area as the cigarette boxes to be adjusted.

[0042] In this embodiment, the cigarette box determination direction can be used to determine the direction of the cigarette box to be adjusted to the cigarette box stacking area. The cigarette box determination direction can be parallel to the conveyor belt's conveying direction and opposite to it. For example, if the conveyor belt's conveying direction is from the small box transparent film packaging machine to the carton packaging machine, the cigarette box determination direction can be from the carton packaging machine to the small box transparent film packaging machine. The preset filtering rules can be pre-set rules used to filter the acquired cigarette box stacking information to determine the cigarette box stacking information corresponding to the cigarette box to be adjusted. The target cigarette box stacking information can be the cigarette box stacking information that meets the conditions among the acquired cigarette box stacking information.

[0043] In practical applications, after determining a single cigarette box and its corresponding stacking area, the cigarette box orientation can be determined based on the conveyor belt's direction. The direction parallel to and opposite to the conveyor direction is defined as the cigarette box orientation. Further, according to the determined orientation, cigarette box stacking detectors installed on the cigarette packaging machine sequentially collect position information of the cigarette box stacks at each preset detection position after the stacking area on the conveyor belt, and send the collected stacking information to the industrial control computer. Then, after the industrial control computer sequentially receives the stacking information corresponding to each detection position, it can filter the received stacking information according to preset filtering rules. Thus, the target cigarette box stacking information can be selected from the received stacking information.

[0044] Optionally, the acquired cigarette box stacking information is filtered based on preset filtering rules to determine the target cigarette box stacking information, including: determining whether the acquired cigarette box stacking information includes upper stacking information according to the acquisition order; if the cigarette box stacking information includes upper stacking information, the cigarette box stacking information is determined as the target cigarette box stacking information, and the cigarette box stacking information corresponding to the target cigarette box stacking information is determined as the target cigarette box stacking information.

[0045] In practical applications, after the cigarette box stack detector detects the position information of the cigarette box stack at the detection position after the cigarette box stacking area, the detected cigarette box stack information is sent to the industrial control computer according to the detection order of the cigarette box stacks, which can also be understood as the arrangement order of at least one cigarette box stack on the conveyor belt after the cigarette box stacking area. The arrangement order of the cigarette box stacks can be used as the acquisition order of the cigarette box stack information.

[0046] In practical implementation, after acquiring the cigarette box stacking information corresponding to the detection position after the cigarette box stacking area on the conveyor belt, the acquired cigarette box stacking information can be detected sequentially according to the acquisition order to determine whether the acquired cigarette box stacking information includes information about the upper layer of the stack. Furthermore, if it is determined that the cigarette box stacking information includes information about the upper layer of the stack, then this cigarette box stacking information can be identified as the target cigarette box stacking information, and the cigarette box stack on the conveyor belt corresponding to the target cigarette box stacking information can be identified as the target cigarette box stack.

[0047] Furthermore, after determining the target cigarette box stacking information and the cigarette box stacking information corresponding to the target cigarette box stacking information, the cigarette boxes located on the same layer as the cigarette box stacking area in the target cigarette box stack can be regarded as cigarette boxes to be adjusted.

[0048] S130. Adjust the cigarette boxes to be adjusted to the cigarette box stacking area according to the preset cigarette box stacking pattern to obtain a cigarette box stacking pattern corresponding to a single cigarette box.

[0049] In this embodiment, the cigarette box stacking pattern can be a pre-set pattern used to define the stacking of cigarette boxes normally conveyed on the conveyor belt. For example, the cigarette box stacking pattern can be two cigarette boxes stacked one on top of the other.

[0050] In practical applications, when the cigarette box to be adjusted is determined, it can be adjusted to the cigarette box stacking area corresponding to a single cigarette box according to the pre-set cigarette box stacking pattern, thereby obtaining a cigarette box stack in the form of a cigarette box stack corresponding to a single cigarette box.

[0051] It should be noted that after being processed by the small box transparent film packaging machine, the cigarette boxes transported to the conveyor belt are usually arranged in a preset stacking pattern under normal circumstances, and the conveyor belt always moves towards the box strip packaging machine in the conveying direction. Therefore, if a single cigarette box is detected at any detection position on the conveyor belt, it means that there is a single cigarette box on the side of the single cigarette box near the small box transparent film packaging machine, and these two single cigarette boxes can belong to the same cigarette box stack. In this embodiment, after a single cigarette box is detected, the cigarette box stacking area corresponding to the single cigarette box is determined, and the cigarette box to be adjusted is adjusted to the cigarette box stacking area corresponding to the single cigarette box, the cigarette boxes arranged after the cigarette box to be adjusted will also be adjusted in sequence to ensure that the cigarette boxes on the conveyor belt are all presented on the conveyor belt in a preset stacking pattern. For example, as shown in the figure, the detected single cigarette box is defined as 1B, and the cigarette box belonging to the same cigarette box stack as 1B is defined as 1A. 1A can be the upper layer of the original cigarette box stack, currently located to the right of 1B. 1B can be the lower layer of the original cigarette box stack. The cigarette box stack consisting of 2A and 2B is the closest to 1B. Therefore, 2A is adjusted to the upper layer of 1B, resulting in a cigarette box stack consisting of 2A and 1B. Furthermore, the cigarette box stack consisting of 3A and 3B is the closest to 1A. Therefore, 3A can be adjusted to the upper layer of 1A, resulting in a cigarette box stack consisting of 3A and 1A. This process continues, ensuring that all cigarette boxes on the conveyor belt are presented in the preset stacking configuration.

[0052] In practical applications, after obtaining the stack of cigarette boxes corresponding to a single cigarette box, the stack moves towards the carton packaging machine to package a predetermined number of cigarette boxes together to form a cigarette carton. Generally, while packaging the predetermined number of cigarette boxes together to form a cigarette carton, the corresponding cigarette box identification sequence is determined; that is, the sequence of cigarette box identifications for each cigarette box in the carton. Furthermore, the cigarette box identification sequence can be associated with the cigarette carton identification, completing the process of associating cigarette carton information. Since the cigarette box identifications are pre-collected and stored in the host computer after exiting the small transparent film packaging machine and before entering the conveyor belt, even if no individual cigarette boxes appear on the conveyor belt, the corresponding cigarette box identification sequence can be constructed based on the collection order of the cigarette box identifications. However, when a single cigarette box is detected on the conveyor belt and processed to obtain a new stack of cigarette boxes, the corresponding cigarette box identification sequence cannot be constructed according to the collection order of the cigarette box identification for the single cigarette box and other cigarette box stacks following the single cigarette box. Therefore, after obtaining the cigarette box stacks corresponding to the single cigarette box, the cigarette box identification sequence can be reconstructed.

[0053] Based on this, in addition to the above technical solutions, the method further includes: determining the number of cigarette box stacks located in front of a single cigarette box along the conveying direction; when the number of stacks is a preset stack value, taking the cigarette box stack corresponding to a single cigarette box as the first cigarette box stack, and sequentially determining a preset number of multiple cigarette box stacks in the opposite direction to the conveying direction from the first cigarette box stack; and constructing a cigarette box identifier sequence based on the cigarette box identifier corresponding to each cigarette box in the first cigarette box stack and the cigarette box identifier corresponding to each cigarette box in the preset number of cigarette box stacks.

[0054] In this embodiment, the preset stacking quantity can be a pre-set value used to limit the number of cigarette boxes stacked in a carton. The preset stacking quantity can be any value, optionally 5. The preset quantity and the preset stacking quantity can differ by 1. For example, if the preset stacking quantity is 5, then the preset quantity is 4. The cigarette box identifier can be an identifier representing the unique attribute of the cigarette box. The cigarette box identifier can be any form of identifier, optionally a QR code. In practical applications, by scanning the cigarette box identifier, information such as the production location, production batch, brand, and tobacco industry information of the cigarettes included in the cigarette box can be obtained. Furthermore, the cigarette box identifier can also help users identify the authenticity of the cigarettes in the cigarette box. The cigarette box identifier sequence can be a sequence obtained by arranging multiple cigarette box identifiers in a preset order.

[0055] In practical applications, all cigarette boxes on the conveyor belt are cigarette boxes whose cigarette box identifiers have been collected. Therefore, after determining a single cigarette box, the number of cigarette box stacks located in front of the cigarette box stack corresponding to the single cigarette box can be determined based on the cigarette box identifier of the single cigarette box and the cigarette box identifiers of all cigarette boxes existing on the conveyor belt.

[0056] Optionally, determining the number of cigarette box stacks located in front of a single cigarette box along the conveying direction includes: acquiring the cigarette box identifier corresponding to each cigarette box on the conveyor belt, and sorting each acquired cigarette box identifier according to the acquisition order to obtain a cigarette box identifier table; acquiring the target cigarette box identifier corresponding to a single cigarette box, and determining the number of cigarette box stacks located in front of a single cigarette box along the conveying direction based on the target cigarette box identifier and the cigarette box identifier table.

[0057] In this embodiment, the order in which cigarette box labels are collected can be the order in which the cigarette boxes are labeled before entering the conveyor belt. The cigarette box label table can be a table representing the correspondence between cigarette boxes and their labels, and the cigarette box labels included in the table are arranged in a preset order.

[0058] In practical applications, the cigarette box identifier for each cigarette box on the conveyor belt can be obtained first. Then, the cigarette box identifiers can be sorted according to the acquisition order, and a cigarette box identifier table can be constructed based on the sorted identifiers. Further, given a single cigarette box, its corresponding identifier is obtained, and its location in the cigarette box identifier table is determined to identify the number of cigarette box identifiers preceding it. Therefore, the number of cigarette box stacks located in front of the single cigarette box along the conveyor direction can be determined based on the determined number of cigarette box identifiers.

[0059] Furthermore, if the number of stacks is determined to be a multiple of the preset number of stacks, it can be shown that the stacks of cigarette boxes located in front of the stack of cigarette boxes corresponding to a single cigarette box can exactly form the corresponding number of cigarette packs. Therefore, the stack of cigarette boxes corresponding to a single cigarette box can be taken as the first stack of cigarette boxes, and a preset number of multiple stacks of cigarette boxes can be determined sequentially in the opposite direction to the conveying direction from the first stack of cigarette boxes. Further, the cigarette box identifier corresponding to each cigarette box in the first stack of cigarette boxes, and the cigarette box identifier corresponding to each cigarette box in the multiple stacks of cigarette boxes, are obtained. Then, a cigarette box identifier sequence can be constructed based on the obtained cigarette box identifiers. Thus, after packaging the cigarette packs including the first stack of cigarette boxes, the constructed cigarette box identifiers can be associated with the cigarette pack identifier of that cigarette pack.

[0060] For example, continuing with the previous example, assume the preset stacking quantity is 5 and the preset quantity is 4. If the number of cigarette box stacks located ahead of 1B along the conveying direction is a multiple of 5, then 2A1B can be used as the first cigarette box stack. The cigarette box identification sequence corresponding to this stack can be 2A1B 3A1A 4A2B 5A3B 6A4B. And so on, the next cigarette box identification sequence can be 7A5B 8A6B 9A7B 10A8B 11A9B.

[0061] Based on the above technical solutions, the method further includes: when the number of stacks is not a multiple of the preset stacking value, determining whether other cigarette box stacks opposite to the conveying direction are included, excluding the stack of cigarette boxes corresponding to a single cigarette box; if not, constructing a cigarette box identifier sequence based on the cigarette box identifier corresponding to each cigarette box in the cigarette box stack in front of a single cigarette box, and the cigarette box identifier corresponding to each cigarette box in the cigarette box stack corresponding to a single cigarette box; if yes, constructing a cigarette box identifier sequence based on the cigarette box identifier corresponding to each cigarette box in the cigarette box stack in front of a single cigarette box, the cigarette box identifier corresponding to each cigarette box in the cigarette box stack corresponding to a single cigarette box, and the cigarette box identifier corresponding to each cigarette box in the other cigarette box stacks.

[0062] The technical solution of this invention, when a single cigarette box is detected at a preset detection position on the conveyor belt, determines the cigarette box stacking area corresponding to the single cigarette box based on the cigarette box stacking direction corresponding to the single cigarette box. Further, based on the cigarette box stacking area, the cigarette box to be adjusted on the conveyor belt is determined. Finally, the cigarette box to be adjusted is adjusted to the cigarette box stacking area according to a preset cigarette box stacking pattern, resulting in a cigarette box stack in a cigarette box stacking pattern corresponding to the single cigarette box. This solves the problem in related technologies where, when a single pack is detected on the conveyor belt, manual shutdown is required to clear all cigarettes from the channel and restart the machine, leading to a high downtime rate that severely affects equipment efficiency. This solution achieves accurate association of box information without stopping the equipment, effectively improving equipment production efficiency.

[0063] Example 2

[0064] Figure 3 This is a schematic diagram of the structure of a cigarette pack strip information association device provided in Embodiment 2 of the present invention. Figure 3 As shown, the device includes: a cigarette box stacking area determination module 210, a cigarette box to be adjusted determination module 220, and a cigarette box adjustment module 230.

[0065] The cigarette box stacking area determination module 210 is used to determine the cigarette box stacking area corresponding to the single cigarette box according to the cigarette box stacking direction corresponding to the single cigarette box when a single cigarette box is detected at a preset detection position on the conveyor belt, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveyor belt.

[0066] The cigarette box to be adjusted determination module 220 is used to determine the cigarette boxes to be adjusted located on the conveyor belt based on the cigarette box stacking area;

[0067] The cigarette box adjustment module 230 is used to adjust the cigarette box to be adjusted to the cigarette box stacking area according to the preset cigarette box stacking pattern, so as to obtain a cigarette box stacking pattern corresponding to the individual cigarette box.

[0068] The technical solution of this invention, when a single cigarette box is detected at a preset detection position on the conveyor belt, determines the cigarette box stacking area corresponding to the single cigarette box based on the cigarette box stacking direction corresponding to the single cigarette box. Further, based on the cigarette box stacking area, the cigarette box to be adjusted on the conveyor belt is determined. Finally, the cigarette box to be adjusted is adjusted to the cigarette box stacking area according to a preset cigarette box stacking pattern, resulting in a cigarette box stack in a cigarette box stacking pattern corresponding to the single cigarette box. This solves the problem in related technologies where, when a single pack is detected on the conveyor belt, manual shutdown is required to clear all cigarettes from the channel and restart the machine, leading to a high downtime rate that severely affects equipment efficiency. This solution achieves accurate association of box information without stopping the equipment, effectively improving equipment production efficiency.

[0069] Optionally, the cigarette box stacking area determination module 210 includes: a cigarette box stacking detection information acquisition unit and a single cigarette box determination unit.

[0070] A cigarette box stacking detection information acquisition unit is used to acquire cigarette box stacking detection information corresponding to the detection position, wherein the cigarette box stacking detection information includes upper stacking detection information and / or lower stacking detection information;

[0071] A single cigarette box determination unit is used to determine that a single cigarette box exists at the detection location when the detection information of the upper layer of the stack is not included in the cigarette box stack detection information.

[0072] Optionally, the cigarette box to be adjusted determination module 220 includes: a cigarette box stacking information acquisition unit and a cigarette box to be adjusted determination unit.

[0073] The cigarette box stacking information acquisition unit is used to sequentially acquire the cigarette box stacking information corresponding to each detection position after the cigarette box stacking area on the conveyor belt, according to the direction of the cigarette boxes that are parallel to and opposite to the conveying direction.

[0074] The cigarette box to be adjusted determination unit is used to filter the acquired cigarette box stacking information based on preset filtering rules, determine the target cigarette box stacking information and the target cigarette box stacking information corresponding to the target cigarette box stacking information, and take the cigarette boxes in the target cigarette box stacking that are located on the same layer as the cigarette box stacking area as the cigarette boxes to be adjusted.

[0075] Optionally, the cigarette box to be adjusted determination unit includes: a cigarette box stacking information determination subunit and a target cigarette box stacking information determination subunit.

[0076] The cigarette box stacking information determination subunit is used to determine, according to the order in which the cigarette box stacking information is acquired, whether the acquired cigarette box stacking information includes the upper layer information of the stack.

[0077] The target cigarette box stacking information determination subunit is used to determine the cigarette box stacking information as the target cigarette box stacking information when the cigarette box stacking information includes information on the upper layer of the stack, and to determine the cigarette box stacking corresponding to the target cigarette box stacking information as the target cigarette box stacking.

[0078] Optionally, the device further includes: a stacking quantity determination module, a cigarette box stacking determination module, and a cigarette box identification sequence first construction module.

[0079] The stacking quantity determination module is used to determine the stacking quantity of cigarette boxes located in front of the individual cigarette box along the conveying direction;

[0080] The cigarette box stacking determination module is used to determine, when the number of stacks is equal to a multiple of a preset stacking value, the cigarette box stack corresponding to the single cigarette box as the first cigarette box stack, and sequentially determine a preset number of cigarette box stacks in a direction opposite to the conveying direction from the first cigarette box stack.

[0081] The first cigarette box identification sequence construction module is used to construct a cigarette box identification sequence based on the cigarette box identification corresponding to each cigarette box in the first cigarette box stack and the cigarette box identification corresponding to each cigarette box in the multiple cigarette box stacks.

[0082] Optionally, the stacking quantity determination module includes: a cigarette box identification table determination unit and a stacking quantity determination unit.

[0083] The cigarette box identification table determination unit is used to obtain the cigarette box identification corresponding to each cigarette box on the conveyor belt, and sort each obtained cigarette box identification according to the cigarette box identification acquisition order to obtain the cigarette box identification table.

[0084] The stacking quantity determination unit is used to obtain the target cigarette box identifier corresponding to the single cigarette box, and determine the stacking quantity of cigarette boxes located in front of the single cigarette box along the conveying direction based on the target cigarette box identifier and the cigarette box identifier table.

[0085] Optionally, the device further includes: a cigarette box stacking judgment module, a second cigarette box identification sequence construction module, and a third cigarette box identification sequence construction module.

[0086] The cigarette box stacking determination module is used to determine, based on the stacking quantity and the preset stacking value, whether other cigarette box stacks opposite to the conveying direction are included, excluding the cigarette box stack corresponding to the single cigarette box, when the stacking quantity is not equal to a multiple of the preset stacking value.

[0087] The second cigarette box identification sequence construction module is used to construct a cigarette box identification sequence based on the cigarette box identification corresponding to each cigarette box in the stack of cigarette boxes in front of the single cigarette box, and the cigarette box identification corresponding to each cigarette box in the stack of cigarette boxes corresponding to the single cigarette box, if not.

[0088] The third module for constructing the cigarette box identification sequence is used to construct a cigarette box identification sequence based on the cigarette box identification corresponding to each cigarette box in the stack of cigarette boxes in front of the single cigarette box, the cigarette box identification corresponding to each cigarette box in the stack of cigarette boxes corresponding to the single cigarette box, and the cigarette box identification corresponding to each cigarette box in the other stacks of cigarette boxes.

[0089] The cigarette pack information association device provided in this embodiment of the invention can execute the cigarette pack information association method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method.

[0090] Example 3

[0091] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., 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.

[0092] like Figure 4 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 may 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.

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

[0094] 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, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the cigarette pack strip information association method.

[0095] In some embodiments, the cigarette pack information association method may 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 may 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 cigarette pack information association method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the cigarette pack information association method by any other suitable means (e.g., by means of firmware).

[0096] 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), systems-on-a-chip (SoCs), payload-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.

[0097] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

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

[0099] 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).

[0100] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include 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.

[0101] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. 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.

[0102] 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 this is not limited herein.

[0103] 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 associating information on cigarette pack strips, characterized in that, include: When a single cigarette box is detected at a preset detection position on the conveyor belt, the cigarette box stacking area corresponding to the single cigarette box is determined according to the cigarette box stacking direction corresponding to the single cigarette box, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveyor belt. Based on the cigarette box stacking area, determine the cigarette boxes to be adjusted located on the conveyor belt; According to the preset cigarette box stacking pattern, the cigarette box to be adjusted is adjusted to the cigarette box stacking area to obtain a cigarette box stacking pattern corresponding to the individual cigarette box; The step of determining the cigarette boxes to be adjusted on the conveyor belt based on the cigarette box stacking area includes: determining the direction of the cigarette boxes parallel to and opposite to the conveying direction, sequentially acquiring the cigarette box stacking information corresponding to each detection position after the cigarette box stacking area on the conveyor belt; filtering the acquired cigarette box stacking information based on a preset filtering rule to determine the target cigarette box stacking information and the target cigarette box stacking information corresponding to the target cigarette box stacking information, and taking the cigarette boxes in the target cigarette box stacking that are located on the same layer as the cigarette box stacking area as the cigarette boxes to be adjusted; The step of filtering the acquired cigarette box stacking information based on preset filtering rules to determine the target cigarette box stacking information and the target cigarette box stacking information corresponding to the target cigarette box stacking information includes: determining whether the acquired cigarette box stacking information includes upper stacking information according to the acquisition order of the cigarette box stacking information; if the cigarette box stacking information includes upper stacking information, determining the cigarette box stacking information as the target cigarette box stacking information, and determining the cigarette box stacking information corresponding to the target cigarette box stacking information as the target cigarette box stacking information.

2. The method according to claim 1, characterized in that, The detection of a single cigarette box at a preset detection position on the conveyor belt includes: Obtain the cigarette box stacking detection information corresponding to the detection position, wherein the cigarette box stacking detection information includes the upper layer detection information and / or the lower layer detection information; If the detection information of the upper layer of the stack is not included in the cigarette box stack detection information, it is determined that there is a single cigarette box at the detection location.

3. The method according to claim 1, characterized in that, Also includes: Determine the number of stacks of cigarette boxes located in front of the individual cigarette box along the conveying direction; When the number of stacks is equal to a multiple of the preset stack value, the stack of cigarette boxes corresponding to the single cigarette box is taken as the first cigarette box stack, and a preset number of cigarette box stacks are sequentially determined in the direction opposite to the conveying direction. A cigarette box identifier sequence is constructed based on the cigarette box identifier corresponding to each cigarette box in the first cigarette box stack and the cigarette box identifier corresponding to each cigarette box in the multiple cigarette box stacks.

4. The method according to claim 3, characterized in that, Determining the number of stacks of cigarette boxes located in front of the individual cigarette box along the conveying direction includes: Obtain the cigarette box identifier corresponding to each cigarette box on the conveyor belt, and sort each obtained cigarette box identifier according to the acquisition order to obtain a cigarette box identifier table; Obtain the target cigarette box identifier corresponding to the single cigarette box, and determine the stacking quantity of cigarette boxes located in front of the single cigarette box along the conveying direction based on the target cigarette box identifier and the cigarette box identifier table.

5. The method according to claim 3, characterized in that, Also includes: If the number of stacks is not a multiple of the preset stack value, determine whether to include other cigarette box stacks opposite to the conveying direction, other than the cigarette box stack corresponding to the single cigarette box; If not, then construct a cigarette box identifier sequence based on the cigarette box identifier corresponding to each cigarette box in the stack of cigarette boxes on the front side of the single cigarette box, and the cigarette box identifier corresponding to each cigarette box in the stack of cigarette boxes corresponding to the single cigarette box; If so, then a cigarette box identifier sequence is constructed based on the cigarette box identifier corresponding to each cigarette box in the stack of cigarette boxes in front of the single cigarette box, the cigarette box identifier corresponding to each cigarette box in the stack of cigarette boxes corresponding to the single cigarette box, and the cigarette box identifier corresponding to each cigarette box in the other stacks of cigarette boxes.

6. A device for associating information on cigarette pack strips, characterized in that, include: The cigarette box stacking area determination module is used to determine the cigarette box stacking area corresponding to the single cigarette box based on the cigarette box stacking direction corresponding to the single cigarette box when a single cigarette box is detected at a preset detection position on the conveyor belt, wherein the cigarette box stacking direction is perpendicular to the conveying direction of the conveyor belt. The cigarette box to be adjusted determination module is used to determine the cigarette boxes to be adjusted located on the conveyor belt based on the cigarette box stacking area; The cigarette box adjustment module is used to adjust the cigarette box to be adjusted to the cigarette box stacking area according to the preset cigarette box stacking pattern, so as to obtain a cigarette box stacking pattern corresponding to the individual cigarette box; The cigarette box to be adjusted determination module includes: a cigarette box stacking information acquisition unit and a cigarette box to be adjusted determination unit; the cigarette box stacking information acquisition unit is used to sequentially acquire cigarette box stacking information corresponding to each detection position on the conveyor belt after the cigarette box stacking area, according to a cigarette box determination direction parallel to and opposite to the conveying direction; the cigarette box to be adjusted determination unit is used to filter the acquired cigarette box stacking information based on a preset filtering rule, determine the target cigarette box stacking information and the target cigarette box stacking information corresponding to the target cigarette box stacking information, and take the cigarette boxes in the target cigarette box stacking that are located on the same layer as the cigarette box stacking area as the cigarette boxes to be adjusted; The unit for determining cigarette boxes to be adjusted includes: a cigarette box stacking information determination subunit and a target cigarette box stacking information determination subunit; the cigarette box stacking information determination subunit is used to determine, according to the acquisition order of the cigarette box stacking information, whether the acquired cigarette box stacking information includes upper stacking information; the target cigarette box stacking information determination subunit is used to determine the cigarette box stacking information as the target cigarette box stacking information when the cigarette box stacking information includes upper stacking information, and to determine the cigarette box stacking corresponding to the target cigarette box stacking information as the target cigarette box stacking.

7. 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 cigarette pack information association method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the cigarette pack strip information association method according to any one of claims 1-5.