CN111861508B - Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method - Google Patents

Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method Download PDF

Info

Publication number
CN111861508B
CN111861508B CN202010644028.4A CN202010644028A CN111861508B CN 111861508 B CN111861508 B CN 111861508B CN 202010644028 A CN202010644028 A CN 202010644028A CN 111861508 B CN111861508 B CN 111861508B
Authority
CN
China
Prior art keywords
code
cigarette
cigarettes
dimensional code
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010644028.4A
Other languages
Chinese (zh)
Other versions
CN111861508A (en
Inventor
朱立明
周小忠
章强
刘万里
许小双
范礼峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Zhejiang Industrial Co Ltd
Original Assignee
China Tobacco Zhejiang Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Tobacco Zhejiang Industrial Co Ltd filed Critical China Tobacco Zhejiang Industrial Co Ltd
Priority to CN202010644028.4A priority Critical patent/CN111861508B/en
Publication of CN111861508A publication Critical patent/CN111861508A/en
Application granted granted Critical
Publication of CN111861508B publication Critical patent/CN111861508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Wrapping Of Specific Fragile Articles (AREA)

Abstract

The application discloses a self-consistent method for accurately associating a two-dimensional bar code with a first-number engineering code of a piece cigarette, which comprises the following steps: (1) Collecting two-dimensional codes of cigarettes on an inlet cache channel of a case sealer, and sequentially storing the two-dimensional codes to form a two-dimensional code sequence of the cigarettes; (2) Generating a boxing internal code after the smoke box is in place, and setting the state mark position of the boxing internal code as 'to-be-sealed box'; (3) After the cigarette lifter is full of 5 cigarettes, lifting action is executed, and the two-dimensional code of the cigarette on the rightmost side of the lifter is collected; (4) Judging whether the current cigarettes are disordered, and if so, performing disordered calculation processing; if the two-dimensional code sequence is not disordered, the earliest 5 pieces of two-dimensional code information in the two-dimensional code sequence of the cigarette are associated with the boxing internal code; (5) Repeatedly executing the steps (3) - (4) until the state flag bit of the in-box code is full, obtaining the cigarette, generating a first cigarette engineering code, and associating the first cigarette engineering code with the current in-box code. The method is used for realizing the accurate association of the cigarette carton and the inspection.

Description

Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method
Technical Field
The application relates to the field of cigarette manufacturing, in particular to a self-consistent type two-dimension code of a cigarette and a first engineering code of a piece of cigarette, which aim to solve the problem that all cigarettes are associated with a cigarette box because of the disorder of a cigarette sequence caused by an abnormal process of a certain time, thereby realizing accurate and effective product tracking and quality tracing.
Background
In the production process of cigarette products, three main technological processes of cut tobacco making, rolling and packaging are needed, and the above processes are also core technological processes of cigarette processing enterprises. The equipment adopted in the existing tobacco industry packaging process is a cigarette packaging machine, and the packaging process in the current industry is basically divided into 3 large flows: 1) The small box machine is used for completing the process of forming small boxes from various packaging materials and packaging 20 cigarettes into the small boxes; 2) The small box transparent paper machine is used for finishing the process of coating a layer of transparent paper on the small box; 3) The big strip machine is used for completing the process of combining the small boxes with transparent paper of every 10 strips into one cigarette, and the 3 sub-machines form a cigarette packaging machine to complete the main technological process of cigarette packaging: namely 20 cigarettes to 1 pack of cigarettes, and 10 packs to 1 pack of cigarettes. After the cigarettes are packaged, the cigarettes enter a carton sealing process, and the current common practice adopted in the tobacco industry is 50 cigarettes to 1 cigarette.
At present, after the quality problem of cigarette products is found in the market, related information (production date, production machine table and operator) of production time period is manually traced back through the first engineering code of cigarette and the steel seal information at the bottom of the small box, tracing efficiency is low, accuracy is low, and particularly when the quality problem of cigarettes is concerned, trace back workload is large and accurate information association is basically unavailable due to the fact that the correlation between cigarettes is lacking.
Along with the promotion of an Internet and two-dimension code product tracking and quality tracing system in the tobacco industry, the tobacco rate in Zhejiang is firstly and vertically controlled by the whole process of packet-strip-piece cigarette manufacturing based on the Internet and two-dimension code product tracking and quality tracing system, a two-dimension code carrier is added in the outer package design of small packets and strips of cigarettes, unique identification codes (one packet and one strip and one code) containing brands and other information are arranged in the two-dimension code carrier, and a correlation system from the packets, strips to pieces in the cigarette manufacturing process is built front and back through a two-dimension code identification technology, so that the product tracking and quality tracing tamping basis is realized, and the requirements of fine and accurate management and control of enterprises and industries are met. However, in the daily production process of a cigarette factory, a production mode that one box sealer is connected with a plurality of packing machines is adopted, namely, the plurality of packing machines convey cigarettes to the box sealer through a cigarette conveyor line, and then every 50 cigarettes are filled into a cigarette box (carton) through the box sealer. In the process, as a plurality of packing machines are in butt joint with each case sealer, the buffer channel of the case sealer is short, extrusion, manual intervention and the like are easy to generate when cigarettes are put into the case, the sequence of cigarettes originally pushed into the cigarette case in sequence is easy to be disordered, and the association of the case bars is disordered, so that the preset sequence of obtaining information of the actual 50 cigarettes in the case accurately according to the bar code of the cigarette case is broken, and accurate product tracking and quality tracing cannot be realized.
Disclosure of Invention
In order to solve the technical problems, the application aims to provide a self-consistent type strip cigarette two-dimension code and one-number engineering code precise association method, which is suitable for self-healing of a sequence after a strip cigarette motion sequence is destroyed due to the conditions of buffer channel blockage of a box sealing machine, manual intervention in transmission, equipment failure of the box sealing machine and the like, so as to solve the problem that the disorder of the strip cigarette sequence association between all strip cigarettes and a cigarette box is caused by disorder of the strip cigarette sequence caused by a certain time abnormal process, thereby realizing precise and effective product tracking and quality tracing.
Based on the above purpose, the application provides a self-consistent method for accurately associating a two-dimension code of a cigarette with a first engineering code of a cigarette, which comprises the following steps:
(1) Collecting two-dimensional codes of cigarettes on an inlet cache channel of a case sealer, and sequentially storing the two-dimensional codes to form a two-dimensional code sequence of the cigarettes;
(2) Generating a boxing internal code after the smoke box is in place, and setting the state mark position of the boxing internal code as 'to-be-sealed box';
(3) After the cigarette lifter is full of 5 cigarettes, lifting action is executed, and the two-dimensional code of the cigarette on the rightmost side of the lifter is collected;
(4) Judging whether the current cigarettes are disordered, and if so, performing disordered calculation processing; if the two-dimensional code sequence is not disordered, the earliest 5 pieces of two-dimensional code information in the two-dimensional code sequence of the cigarette are associated with the boxing internal code;
(5) Repeatedly executing the steps (3) - (4) until the state flag bit of the in-box code is full, obtaining the cigarette, generating a first cigarette engineering code, and associating the first cigarette engineering code with the current in-box code.
Preferably, in the step (1), at least two scanning terminals with complementary intake angles are arranged at the entrance buffer channel of the case sealer in advance.
Preferably, in the step (4), the specific method for judging whether the current cigarette is disordered is as follows:
extracting the earliest five two-dimensional codes in the two-dimensional code sequence of the cigarettes, comparing the earliest five two-dimensional codes with the two-dimensional code sequence of the cigarettes on the right side acquired in the step (3) by using the two-dimensional code of the cigarettes on the right side as a check code, and judging that the cigarettes are not disordered if the same item exists; if not, judging that the sequence is out of order.
Preferably, the specific method for performing the out-of-order calculation processing in the step (4) is as follows:
firstly judging whether the current boxing internal code state is a half box or a to-be-boxed state, if the current boxing internal code state is the half box, removing the last 25 two-dimensional codes associated with the current boxing internal code from the sealed two-dimensional code sequence to a rejected sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code of the cigarettes to the sealed two-dimensional code sequence associated with the current internal code; if the two-dimensional code sequence is to be packaged, removing the last 25 two-dimensional codes associated with the last packaged internal code from the packaged two-dimensional code sequence to a removed sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code sequence of the cigarettes to the packaged two-dimensional code sequence associated with the last internal code; and finally, the first 5 two-dimensional code information in the two-dimensional code sequence of the cigarette is moved, the two-dimensional code sequence of the sealed case is added, and the two-dimensional code sequence is associated with the current case packing internal code.
Preferably, the step (5) further includes detecting whether the current piece of cigarettes lacks strips, and if the missing strip abnormal signals are found, associating the missing strip marks on the bin internal codes corresponding to the piece of cigarettes.
Compared with the prior art, the application has the beneficial effects that:
the application realizes association of cigarettes/cigarettes by the association mode of two-dimensional code sequence, boxing internal code and cigarette one-number engineering code, is suitable for self-healing of the sequence after the motion sequence of the cigarettes is destroyed due to the conditions of buffer channel blockage of a box sealing machine, manual intervention in transmission, equipment failure of the box sealing machine and the like, can effectively solve the problem of disordered association of all cigarettes and cigarettes caused by disordered sequence of the cigarettes caused by a certain time abnormal process, and realizes accurate and effective product tracking and quality tracing.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application.
FIG. 1 is a condition-condition two-dimensional code accurate relation algorithm logic diagram in an embodiment of the application;
FIG. 2 is a model diagram of enqueuing and dequeuing a two-dimensional code sequence of a cigarette in an embodiment of the application;
FIG. 3 is a schematic flow chart of conditional association in an embodiment of the application;
FIG. 4 is a flow chart of a self-consistent condition-to-condition precision association algorithm in an embodiment of the application.
Detailed Description
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present application. As used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
A self-consistent type two-dimensional code of a cigarette and a first engineering code accurate association method of a cigarette, the method comprises the following steps:
(1) Collecting two-dimensional codes of cigarettes on an inlet cache channel of a case sealer, and sequentially storing the two-dimensional codes to form a two-dimensional code sequence of the cigarettes;
(2) Generating a boxing internal code after the smoke box is in place, and setting the state mark position of the boxing internal code as 'to-be-sealed box';
(3) After the cigarette lifter is full of 5 cigarettes, lifting action is executed, and the two-dimensional code of the cigarette on the rightmost side of the lifter is collected;
(4) Judging whether the current cigarettes are disordered, and if so, performing disordered calculation processing; if the two-dimensional code sequence is not disordered, the earliest 5 pieces of two-dimensional code information in the two-dimensional code sequence of the cigarette are associated with the boxing internal code;
(5) Repeatedly executing the steps (3) - (4) until the state flag bit of the in-box code is full, obtaining the cigarette, generating a first cigarette engineering code, and associating the first cigarette engineering code with the current in-box code.
In a preferred embodiment, in the step (1), at least two scanning heads with complementary intake angles are set at the entrance buffer channel of the box sealer in advance. As shown in fig. 1, through two scanning terminals of No. 1 and No. 2 that are arranged in the entrance buffer channel of the case sealer, the problem that two-dimensional code information cannot be identified due to the change of the cigarette gesture is effectively solved, and the problem that two-dimensional code position change cannot be identified due to the fact that the cigarette gesture is manually added after quality detection of production personnel. Through the cigarette two-dimension code scanning wharf, all the passing and added cigarette two-dimension code information are accurately identified, all the collected two-dimension code information is added into a cigarette sequence queue, and the cigarette sequence queue is stored according to the code scanning time stamp sequence.
Establishing a dequeue model shown in fig. 2 by using the sequential queue information in the step (1), wherein each time an element is inserted into the tail of the queue, the number of the elements is increased by 1; front increases by 1 each time an element is deleted at the head of the team. As the insert and delete operations proceed, the number of queue elements changes continuously and the memory space occupied by the queue also moves in the contiguous space allocated for the queue structure. When front=rear, there is no element in the queue, called an empty queue. When the rear increases beyond the contiguous space that points to the allocation, the queue cannot reinsert new elements, but there is often a large amount of available space unoccupied at this time, which is the memory unit that the dequeued queue element had occupied.
In the step (3), as shown in fig. 1, a number 3 scanning terminal is installed and deployed on the right side surface of the carton cigarette lifting machine, two core targets are realized, one is to realize reading of two-dimensional codes of the rightmost side of 5 cigarettes pushed into a cigarette carton by the carton sealing machine each time, and two-position code queues of the carton cigarettes after carton sealing are stored in sequence according to a code scanning time stamp, and the two-position code queues are short for entering the carton cigarette sequence queues; the second is used for checking the cigarette sequence, in particular: and checking the two-dimension code of the cigarette at the rightmost side of every 5 cigarettes with the dequeue data of the cigarette two-dimension code sequence queue, and checking whether the queue is disordered. At the same time, the system will assign a unique internal code to each empty smoke box-the bin internal code-and form a bin internal code sequence based on the production information. And the system stores the first project code queue of the cigarettes acquired at the code printing position of the project No. 1 according to the code printing time sequence to form a cigarette code queue.
The system obtains related electrical signals related to the cigarette carton packing process in the production process of the carton sealing machine, and the action execution of the carton sealing machine needs to be combined with the related electrical signals, and specifically comprises the following signals:
1) Smoke box in place signal: when a new smoke box is loaded into the equipment, a given signal triggers the system to establish an initial record of the internal code of the box for generating each piece of smoke;
2) Lifting in place signal: after the cigarette lifter is filled with 5 cigarettes, lifting the cigarettes to a box pushing position, triggering a code scanning of a No. 3 wharf by a given signal, and calculating 5 cigarette two-dimensional codes which need to be moved to a box packing sequence;
3) Half box push signal: when the box pushing position is lifted for 5 times and 25 cigarettes exist, a box pushing action is performed, a given signal is given, and a system is triggered to record the box packing state;
4) Full box push signal: when the box pushing position is lifted for 10 times and 50 cigarettes exist, a box pushing action is performed, a given signal is given, and a system is triggered to record the box packing state;
5) Bar absence anomaly signal: after the strip missing detection system detects the strip missing of the cigarettes currently being boxed, the strip missing detection system finds out an abnormally given signal and triggers the system to record the box missing state so as to prompt manual business processing;
6) Smoke box leaving signal: after the boxing action is finished, the cigarettes leave the signal given by the boxing position, and the system is triggered to record the state of the latest cigarettes;
7) Smoke box rejection signal: when equipment automatically eliminates a problem smoke box, a signal is given, and a triggering system records the state of a corresponding piece of smoke so as to prompt manual business processing;
8) Engineering code signal No. 1: when the number 1 engineering device codes the cigarettes, the given signal triggers the system to read the latest cigarette number one engineering code and complete the association of the codes in the case sealing, thereby realizing the association of the cigarettes.
And designing corresponding state marks according to the characteristics of the cigarette carton packing process, wherein the marks comprise:
1) Internal code disorder mark of cigarette packing box: there is "0: normal ","1: the two states are disordered, namely, normal is started, and when the verification result of the system at the 3 # scanning wharf is disordered, the system is placed into disordered;
2) Cigarette packing internal code state flag: the method comprises the steps of setting the values of 'to-be-packaged', 'half-box', 'full-box', 'to-be-coded', 'to-be-removed', 'to-be-processed', 'associated', and the like into different state values according to the process of the box sealing production process;
3) Cigarette packing internal code strip missing mark: there is "0: normal ","1: the bar absence is in two states, namely is normal initially, and is set as bar absence when the system receives a bar absence detection abnormal signal.
In a preferred embodiment, in the step (4), the specific method for judging whether the current cigarette is disordered is as follows:
extracting the earliest five two-dimensional codes in the two-dimensional code sequence of the cigarettes, comparing the earliest five two-dimensional codes with the two-dimensional code sequence of the cigarettes on the right side acquired in the step (3) by using the two-dimensional code of the cigarettes on the right side as a check code, and judging that the cigarettes are not disordered if the same item exists; if not, judging that the sequence is out of order.
In a preferred embodiment, the specific method for performing the out-of-order computation in the step (4) is as follows:
firstly judging whether the current boxing internal code state is a half box or a to-be-boxed state, if the current boxing internal code state is the half box, removing the last 25 two-dimensional codes associated with the current boxing internal code from the sealed two-dimensional code sequence to a rejected sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code of the cigarettes to the sealed two-dimensional code sequence associated with the current internal code; if the two-dimensional code sequence is to be packaged, removing the last 25 two-dimensional codes associated with the last packaged internal code from the packaged two-dimensional code sequence to a removed sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code sequence of the cigarettes to the packaged two-dimensional code sequence associated with the last internal code; and finally, the first 5 two-dimensional code information in the two-dimensional code sequence of the cigarette is moved, the two-dimensional code sequence of the sealed case is added, and the two-dimensional code sequence is associated with the current case packing internal code.
In a preferred embodiment, the step (5) further includes detecting whether the current cigarette is short, and if the abnormal signal of the short is found, associating a short mark with the internal code of the case corresponding to the cigarette.
The following describes embodiments of the present application in detail with reference to a specific box sealing operation:
the embodiment is a method for accurately associating a self-consistent two-dimensional code of a cigarette with a first engineering code of a cigarette, and the flow of a self-consistent condition-accurate association algorithm is shown in figure 4.
1) The two-dimension code scanner collects two-dimension codes of the tobacco strips at the inlet of the case sealer in real time to form a two-dimension code storage sequence of the tobacco strips, and records the two-dimension code, sequence number information, code scanning time and the like.
2) When a new smoke box is loaded into the equipment, the electronic control system of the box sealer sends a smoke box in-place signal, the smoke box in-place signal is received by the main control PLC and sent to the industrial personal computer, the industrial personal computer receives the signal to generate a new box packing internal code, an initial record of the box packing internal code is established, an internal code state mark is set as 'to-be-packed', and the internal code is set as 0 corresponding to the lifting times n of the cigarettes.
3) After the carton cigarette lifter is full of five cigarettes, the carton sealing machine electric control system controls the carton sealing machine carton cigarette lifting mechanism to make lifting action, the master control PLC receives the carton cigarette lifting signal sent by the carton sealing machine electric control system, triggers the two-dimensional code scanner at the carton cigarette lifting position to read the rightmost two-dimensional code of the five cigarettes which are lifted in place currently, and provides the rightmost two-dimensional code for the industrial personal computer to read.
4) Algorithm after the industrial personal computer reads the two-dimensional code:
when the cigarette is turned over and the two-dimensional code is not read, directly moving and taking the earliest five two-dimensional codes in the two-dimensional code sequence of the cigarette, adding the two-dimensional code sequence of the sealed case, and associating with the internal code of the current case; when two-dimensional code information is read, the earliest two-dimensional code in the two-dimensional code sequence of the cigarettes is used as a check code to be compared with the read two-dimensional code, if the two-dimensional code information is the same, the earliest five two-dimensional code information in the two-dimensional code sequence of the cigarettes is judged to be unordered, the earliest five two-dimensional code information in the two-dimensional code sequence of the cigarettes is directly moved, the two-dimensional code sequence of the cigarettes is added and is associated with the current boxing internal code, and if the two-dimensional code information is different, the two-dimensional code information is judged to be unordered, and the unordered calculation processing is carried out. The industrial personal computer automatically judges the production process state of the box sealing machine through the disordered processing flow.
Disorder algorithm: firstly judging whether the current boxing internal code state is a half box or a to-be-boxed state, if the current boxing internal code state is the half box, removing the last 25 two-dimensional codes associated with the current boxing internal code from the sealed two-dimensional code sequence to a rejected sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code of the cigarettes to the sealed two-dimensional code sequence associated with the current internal code; if the two-dimensional code sequence is to be packaged, removing the last 25 two-dimensional codes associated with the last packaged internal code from the packaged two-dimensional code sequence to a removed sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code sequence of the cigarettes to the packaged two-dimensional code sequence associated with the last internal code; and finally, the first 5 two-dimensional code information in the two-dimensional code sequence of the cigarette is moved, the two-dimensional code sequence of the sealed case is added, and the two-dimensional code sequence is associated with the current case packing internal code.
Through the execution of the steps 3) and 4), the industrial personal computer groups the cigarettes according to the cigarette lifting signals, can accurately position each cigarette (two-dimensional code), and can accurately position the cigarettes in the smoke box at the coordinate position in the smoke box, thereby laying the foundation of accurate tracing; the code scanner at the lifting position of the cigarettes can acquire the rightmost two-dimensional code of each layer, so that confirmation and verification of the two-dimensional code of each layer of cigarettes are formed; and combining the subsequent box pushing signals, and realizing the confirmation and verification functions of at most ten two-dimensional codes for each box of cigarettes.
5) After the steps 3) and 4) are repeated for five times, namely when the lifting times n of the cigarettes are 5, the cigarettes lifter is full of a stack (25 cigarettes), the current boxing internal code is related to the two-dimension codes of the cigarettes in the five lifting processes, the industrial personal computer waits for acquiring a half-box pushing signal of the cigarettes (stack), when the signal is acquired, the explanation equipment makes a box pushing action, the current boxing internal code state mark is set as a half box, and the steps 3) and 4) are continuously repeated.
6) After repeating the steps 3) and 4) for five times again, namely when the lifting times n of the cigarettes are 10, the cigarettes lifter is full of one stack (25 cigarettes) again, the current boxing internal code is associated with the cigarettes two-dimensional code in the ten lifting processes, the industrial personal computer waits for obtaining the full box pushing signals of the cigarettes (one stack) again, when the signals are obtained, the explanation equipment makes a secondary box pushing action, and at the moment, the current boxing internal code state mark is set to be full box and is stored in the boxed internal code sequence.
7) Waiting for strip missing detection, if the strip missing detection device identifies the product quality problem, sending a strip missing abnormal signal, and after the industrial personal computer acquires the signal, marking a strip missing mark on the inner code of the box in the latest full box state.
8) After the case sealer finishes the vanning, a cigarette leaves and enters the conveyer belt, the case sealer electrical control system sends a cigarette case leaving vanning position signal, and the industrial personal computer is triggered according to the signal to set the vanning internal code state of the latest full case state as 'to be coded'.
9) When the smoke box has quality problems, the equipment automatically rejects, the box sealing electric control system sends a cigarette rejection signal, the industrial control computer triggers according to the signal, sets the latest internal state of the 'to-be-coded' box sealing as 'reject to be processed', judges that the corresponding smoke box is rejected, and ensures that the code sequence in the box packing is consistent with the time cigarette finished product.
10 Waiting for the cigarette number one project code printing device to send corresponding signals and code printing information after the cigarette number one project code printing device prints the code, the industrial control computer obtains the latest cigarette number one project code information according to the code printing signals, associates the latest cigarette number one project code information with the earliest boxing internal code in the state of 'waiting for code printing', sets the internal code state as 'associated' after the association, and realizes the association of cigarettes/cigarettes in a 'boxing two-dimensional code sequence-boxing internal code-cigarette number one project code' association mode and uploads relevant information.
11 The two-dimension code application system receives and stores the two-dimension code of the cigarette, the first engineering code of the cigarette and related information uploaded by the industrial personal computer, provides application functions of inquiry, analysis, tracing and the like, and provides a data support and an effective method for accurate tracing of product quality.
In conclusion, the application utilizes the two-dimension code technology, through linkage control of a production automation system, and through signal linkage in the box sealing production process and comprehensive calculation of the two-dimension code of the cigarettes and the first engineering code information of the cigarettes, the purpose of self-consistent accurate association of the cigarettes is realized, reliable data support and guarantee are provided for product tracking and quality tracing, the efficiency and accuracy of product quality tracing and problem positioning processing are improved, and comprehensive and efficient accurate quality tracing and tracking are realized.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by those skilled in the art without departing from the spirit and principles of the application, and any simple modification, equivalent variation and modification of the above embodiments in light of the technical principles of the application may be made within the scope of the present application.

Claims (4)

1. A self-consistent type two-dimensional code and one-number engineering code precise association method for cigarettes is characterized by comprising the following steps:
(1) Collecting two-dimensional codes of cigarettes on an inlet cache channel of a case sealer, and sequentially storing the two-dimensional codes to form a two-dimensional code sequence of the cigarettes;
(2) Generating a boxing internal code after the smoke box is in place, and setting the state mark position of the boxing internal code as 'to-be-sealed box';
(3) After the cigarette lifter is full of 5 cigarettes, lifting action is executed, and the two-dimensional code of the cigarette on the rightmost side of the lifter is collected;
(4) Judging whether the current cigarettes are disordered, and if so, performing disordered calculation processing; if the two-dimensional code sequence is not disordered, the earliest 5 pieces of two-dimensional code information in the two-dimensional code sequence of the cigarette are associated with the boxing internal code;
(5) Repeatedly executing the steps (3) - (4) until the state flag bit of the packing internal code is 'full box', obtaining a piece cigarette, generating a piece cigarette number one engineering code, and associating the number one engineering code with the current packing internal code;
the specific method for carrying out disorder calculation processing in the step (4) comprises the following steps:
firstly judging whether the current boxing internal code state is a half box or a to-be-boxed state, if the current boxing internal code state is the half box, removing the last 25 two-dimensional codes associated with the current boxing internal code from the sealed two-dimensional code sequence to a rejected sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code of the cigarettes to the sealed two-dimensional code sequence associated with the current internal code; if the two-dimensional code sequence is to be packaged, removing the last 25 two-dimensional codes associated with the last packaged internal code from the packaged two-dimensional code sequence to a removed sequence, and then removing all the two-dimensional codes from the earliest two-dimensional code of the cigarettes to the front of the read two-dimensional code from the two-dimensional code sequence of the cigarettes to the packaged two-dimensional code sequence associated with the last internal code; and finally, the first 5 two-dimensional code information in the two-dimensional code sequence of the cigarette is moved, the two-dimensional code sequence of the sealed case is added, and the two-dimensional code sequence is associated with the current case packing internal code.
2. The method for accurately associating the two-dimensional code of the self-consistent cigarette and the first engineering code of the cigarette as claimed in claim 1, wherein in the step (1), at least two scanning terminals with complementary intake angles are arranged at the entrance buffer channel of the case sealer in advance.
3. The method for accurately associating the self-consistent two-dimensional code of the cigarette with the first engineering code of the cigarette according to claim 1, wherein in the step (4), the specific method for judging whether the current cigarette is disordered is as follows:
extracting the earliest five two-dimensional codes in the two-dimensional code sequence of the cigarettes, comparing the earliest five two-dimensional codes with the two-dimensional code sequence of the cigarettes on the right side acquired in the step (3) by using the two-dimensional code of the cigarettes on the right side as a check code, and judging that the cigarettes are not disordered if the same item exists; if not, judging that the sequence is out of order.
4. The self-consistent two-dimensional code and first-cigarette engineering code precise association method according to claim 1, wherein the step (5) further comprises: and detecting whether the current piece of cigarettes is short, and if the abnormal signal of the short piece of cigarettes is found, associating a short piece mark on the boxing internal code corresponding to the piece of cigarettes.
CN202010644028.4A 2020-07-03 2020-07-03 Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method Active CN111861508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010644028.4A CN111861508B (en) 2020-07-03 2020-07-03 Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010644028.4A CN111861508B (en) 2020-07-03 2020-07-03 Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method

Publications (2)

Publication Number Publication Date
CN111861508A CN111861508A (en) 2020-10-30
CN111861508B true CN111861508B (en) 2023-11-24

Family

ID=73152362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010644028.4A Active CN111861508B (en) 2020-07-03 2020-07-03 Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method

Country Status (1)

Country Link
CN (1) CN111861508B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114330609A (en) * 2021-12-09 2022-04-12 北京爱创科技股份有限公司 Method and device for verifying accuracy of stacking data
CN114248957A (en) * 2021-12-14 2022-03-29 张家口卷烟厂有限责任公司 Hidden code spraying and identifying system for cigarette carton
CN114148585B (en) * 2021-12-15 2023-04-11 上海中商网络股份有限公司 Automatic product boxing verification device, method and system
CN115055398B (en) * 2022-06-15 2024-02-06 浙江中烟工业有限责任公司 Error-proof system and method for finished cigarette
CN117350319B (en) * 2023-12-06 2024-05-28 深圳华龙讯达信息技术股份有限公司 Method and system for preventing error of product associated data
CN117455326B (en) * 2023-12-26 2024-04-23 深圳华龙讯达信息技术股份有限公司 Flexible boxing association method and system based on two-dimension code

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005070731A (en) * 2003-08-07 2005-03-17 Tetsuo Tanaka Label for advertising campaign, program for reading same label, and campaign holding method
CN105205673A (en) * 2015-08-24 2015-12-30 广西盛信富邦科技有限公司 Anti-counterfeiting tracing technology by means of cigarette carton coding characteristic
CN107491801A (en) * 2017-07-13 2017-12-19 海南亚元防伪技术研究所(普通合伙) The endowed method and system of artificial intelligence
CN107657457A (en) * 2016-08-10 2018-02-02 沈洪德 The method, apparatus and system of multi-level two-dimension code anti-counterfeit based on internet
CN108470263A (en) * 2018-03-19 2018-08-31 中国烟草总公司北京市公司物流中心 A kind of cigarette delivery scheduling system
CN109858954A (en) * 2019-01-04 2019-06-07 广西中烟工业有限责任公司 A kind of system design of cigarette parcel, barrel, smoke box and retail customer data correlation
CN110210593A (en) * 2019-07-02 2019-09-06 苏州卓链信息技术有限公司 A kind of cigarette endowed system and method online
CN110399944A (en) * 2019-07-16 2019-11-01 浙江中烟工业有限责任公司 The capsule of cigarette packer online production process and big identification information correlating method
CN111348271A (en) * 2020-03-11 2020-06-30 广西中烟工业有限责任公司 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005070731A (en) * 2003-08-07 2005-03-17 Tetsuo Tanaka Label for advertising campaign, program for reading same label, and campaign holding method
CN105205673A (en) * 2015-08-24 2015-12-30 广西盛信富邦科技有限公司 Anti-counterfeiting tracing technology by means of cigarette carton coding characteristic
CN107657457A (en) * 2016-08-10 2018-02-02 沈洪德 The method, apparatus and system of multi-level two-dimension code anti-counterfeit based on internet
CN107491801A (en) * 2017-07-13 2017-12-19 海南亚元防伪技术研究所(普通合伙) The endowed method and system of artificial intelligence
CN108470263A (en) * 2018-03-19 2018-08-31 中国烟草总公司北京市公司物流中心 A kind of cigarette delivery scheduling system
CN109858954A (en) * 2019-01-04 2019-06-07 广西中烟工业有限责任公司 A kind of system design of cigarette parcel, barrel, smoke box and retail customer data correlation
CN110210593A (en) * 2019-07-02 2019-09-06 苏州卓链信息技术有限公司 A kind of cigarette endowed system and method online
CN110399944A (en) * 2019-07-16 2019-11-01 浙江中烟工业有限责任公司 The capsule of cigarette packer online production process and big identification information correlating method
CN111348271A (en) * 2020-03-11 2020-06-30 广西中烟工业有限责任公司 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors

Also Published As

Publication number Publication date
CN111861508A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111861508B (en) Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method
CN109858954B (en) System design for associating cigarette packet, carton, cigarette box and retail house data
CN110399944B (en) Small box and large strip identification information correlation method in cigarette packaging machine online production process
CN109693291A (en) It has furniture made to order the automatic production line of plate
US9493258B2 (en) Method and production system for producing and/or packaging cigarettes
CN102129611B (en) Warehousing retroactive method and system of cigarette finished products
CN110733691A (en) cigarette carton-in two-dimensional code detection and information correlation system
CN111967888A (en) Method for improving uniqueness identification and tracing accuracy of cigarette wrapping strip
CN113291524B (en) Cigarette case strip two-dimensional code information association method and device with verification function
CN112766435A (en) Tracing method applied to solar cell production
CN211766568U (en) Cigarette package entry two-dimensional code detection and information correlation system
CN114682516A (en) Device and method for realizing condition two-dimensional code association in cigarette production
CN103211299B (en) Method for preventing conveying errors of filter rods for filter rod conveying machine
CN112163647A (en) Cigarette box strip two-dimensional code association scheme suitable for GD medium-low speed machine
CN113104463B (en) Automatic packaging integrated data processing system and method
CN104944158B (en) Empty smoke box classification reclaimer and method
CN111348270B (en) Cigarette small box and carton code scanning correlation method for eliminating accumulation errors
CN109409453B (en) Carton missing tracing system of carton sealing machine and proof-proving method thereof
CN113320775A (en) Two-dimensional code correlation device of cigarette carton packing box
CN216995061U (en) Device for realizing condition two-dimensional code association in cigarette production
CN111504383A (en) Smoke box detection system and method
CN111127036A (en) Wine product coding five-level correlation method
CN205763475U (en) A kind of punch line Xian Wei part automatization packaging system
CN113281695B (en) Automatic sampling system of automatic verification assembly line of electric energy meter
CN113627954A (en) Product tracing method, correlation method, tracing system and correlation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant