CN111348271A - Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors - Google Patents

Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors Download PDF

Info

Publication number
CN111348271A
CN111348271A CN202010165886.0A CN202010165886A CN111348271A CN 111348271 A CN111348271 A CN 111348271A CN 202010165886 A CN202010165886 A CN 202010165886A CN 111348271 A CN111348271 A CN 111348271A
Authority
CN
China
Prior art keywords
cigarette
identification code
box
carton
data
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.)
Granted
Application number
CN202010165886.0A
Other languages
Chinese (zh)
Other versions
CN111348271B (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 Guangxi Industrial Co Ltd
Original Assignee
China Tobacco Guangxi 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 Guangxi Industrial Co Ltd filed Critical China Tobacco Guangxi Industrial Co Ltd
Priority to CN202010165886.0A priority Critical patent/CN111348271B/en
Publication of CN111348271A publication Critical patent/CN111348271A/en
Application granted granted Critical
Publication of CN111348271B publication Critical patent/CN111348271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B57/00Automatic control, checking, warning, or safety devices
    • B65B57/10Automatic control, checking, warning, or safety devices responsive to absence, presence, abnormal feed, or misplacement of articles or materials to be packaged
    • B65B57/12Automatic control, checking, warning, or safety devices responsive to absence, presence, abnormal feed, or misplacement of articles or materials to be packaged and operating to control, or stop, the feed of wrapping materials, containers, or packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Wrapping Of Specific Fragile Articles (AREA)

Abstract

The invention discloses a method for scanning and associating a cigarette carton and a cigarette box to eliminate accumulated errors, which relates to the technical field of automatic cigarette production, wherein an identification code on the cigarette carton and an identification code on the cigarette box are read in a cigarette carton packing link of an automatic cigarette production line, and the carton identification code and the cigarette box identification code in the same box of cigarettes are correspondingly associated according to the method; the carton identification code and the cigarette box identification code are associated. And according to the analysis of the associated data, identifying the cigarette boxes with the associated data errors caused by code scanning reading failure or manual misoperation and the like, thereby identifying the wrong cigarette boxes, controlling the number of the cigarette boxes related to the errors within one box to two boxes, and reducing the influence on the association relationship of subsequent cigarettes.

Description

Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors
Technical Field
The invention relates to the technical field of automatic cigarette production, in particular to a cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors.
Background
The method constructs a whole cigarette product life cycle tracing system covering various links such as industry, business, zero, elimination and the like, is an internal requirement of the tobacco industry for improving the quality of cigarette products, improving the market supervision level and realizing high-quality development by insights of consumption trend change, and is an external requirement of China for fulfilling the tobacco control framework convention in the world. In order to standardize cigarette production and circulation management in the tobacco industry of China, a cigarette production operation decision system is established, bar code labels are pasted on cigarette boxes produced by cigarette industry enterprises, and code scanning is carried out in the ex-warehouse link of the industrial enterprises and the in-warehouse link of the commercial enterprises, so that the tracing of product allocation among the industrial enterprises and the commercial enterprises is realized. The smallest unit traced back is the smoke box, each containing 50 cigarette sticks. For industrial enterprises, the bar code on the smoke box can be used as an identifier for tracing the smoke box outwards and can be used as an identifier for batch production management inwards, and the identifier comprises production information such as production batch, production time, production materials and the like. When a cigarette business enterprise distributes cigarettes to retail customers, the cigarette boxes need to be unpacked and sorted, and the cigarettes are sent to the retail customers in the unit of a carton. Because the existing barrel and cigarette box are not associated, after the cigarette barrel is delivered to a retail shop, the cigarette box corresponding to the barrel and the production information of the cigarette box cannot be traced upwards, the market circulation information of the cigarette barrel cannot be traced downwards, and the tracing information chain is broken.
In recent years, two-dimensional codes are widely applied to cigarette product packaging, and in order to improve the fineness of tracking and tracing of cigarette products, tobacco enterprises begin to try to establish an association relationship between a cigarette carton and a cigarette box by using a two-dimensional code of the cigarette carton. In the prior art, a code reader is arranged on a strip box conveying belt at the front end of a strip box filling machine, and meanwhile, the code reader is arranged at the rear end of a strip code labeling machine at the rear end of the filling machine, and every time 50 strip box two-dimensional codes are read to be associated with one cigarette box bar code.
The prior art has the following defects:
1. in the prior art, the two-dimensional codes of the carton and the bar codes of the cigarette box are related according to the relation sequence of 50 to 1, the recognition rate of the code reader is required to ensure that the two-dimensional codes of a certain number of cigarettes are completely correct, otherwise, the related sequence of the whole queue is influenced once the two-dimensional codes of the cigarettes are not recognized. Sequence errors can be accumulated continuously, and the accumulation errors cannot be controlled under the condition that the box filling machine works for a long time. Because the actual production is influenced by various environmental and manual operation factors, the reading rate is difficult to reach one hundred percent, and the application of the prior art is very limited.
2. The prior art can not judge whether the packaged smoke box is correctly associated, the smoke box needs to be subjected to spot check frequently, if the association error is found, the association sequence of the carton and the smoke box is readjusted, the spot check process wastes time and labor, and the production efficiency is greatly influenced.
The prior art requires that when a box filling machine is started, a strip box cannot be left inside the box filling machine, otherwise, the left strip box changes the association sequence, so that the associated data is wrong. Because empty and persist the tobacco rod and need open the case packer, take out one by one with manual mode, greatly increased operation workman's work load.
Disclosure of Invention
The invention aims to provide a cigarette carton and cigarette box code scanning correlation method for eliminating accumulated errors, so that the defect that the correlation data of the two-dimensional code of the existing cigarette carton and the bar code of the existing cigarette box is easy to make errors is overcome.
In order to achieve the aim, the invention provides a cigarette carton and cigarette box code scanning correlation method for eliminating accumulated errors, which comprises the following steps:
s1, when the cigarette cartons are conveyed on the carton conveying belt, when each cigarette carton sequentially passes through a carton code reader, the carton code reader sequentially reads carton identification codes on the cigarette cartons and stores the read carton identification code data into a carton identification code data queue;
s2, after a box filling machine receives N cigarette cartons meeting the box filling conditions, wherein N is the number of the cigarette cartons which can be contained in one cigarette box, the N cigarette cartons are pushed into a machine box of the box filling machine to be packaged into the cigarette box, meanwhile, a positioning code reader on the box filling machine recognizes the carton identification code of one cigarette carton in the cigarette box, the recognized carton identification code data is positioning identification code data, and the positioning identification code data is stored in a positioning identification code data queue;
s3, after the cigarette box is packaged, adhering a cigarette box identification code on the cigarette box, and when the cigarette box is conveyed to a station of a cigarette box code reader, the cigarette box code reader recognizes the cigarette box identification code on the cigarette box and stores the recognized cigarette box identification code into a cigarette box identification code data queue;
s4, searching corresponding identification code data of the carton according to the position of the positioning identification code data in the identification code data queue of the carton, and associating the searched identification code data of the carton with the corresponding identification code data of the cigarette box according to an association method.
And further comprising S5, performing abnormity judgment according to the association result of the identification code data of the barrel and the identification code data of the cigarette box, and reminding the occurrence of an abnormal condition.
Further, the number of the cartons related to the cigarette boxes is determined according to the positions of two adjacent positioning identification codes in the positioning identification code data queue in the carton identification code data queue; and judging whether the associated data of the box is wrong or not by comparing whether the number of the associated boxes of the cigarette box is equal to the number of the cigarette boxes meeting the packing condition or not.
Further, the abnormity judgment is carried out according to whether empty data exists in the barrel identification code data queue, the positioning identification code data queue or the smoke box identification code data queue.
Further, the S4 includes the following steps: s41, acquiring the first two positioning identification code data D (1) and D (2) of the current positioning identification code data queue, and waiting for the D (2) to be stored if the D (2) does not exist;
s42, searching the position of the positioning identification code data D (1) in the bar box identification code data queue T, storing the position of the positioning identification code data D (1) into a variable k1, and if the position of the positioning identification code data D (1) cannot be found, making k1= 0; searching the position of the positioning identification code data D (2), storing the position into a variable k2, and if the position of D (2) cannot be found, making k2= 0;
s43, dequeuing all the barcode data in the barcode data queue before the position k1 and containing the data T at the position k1 (k 1); then, the front (k 2-k 1-a) data are listed from the strip identification code data queue, wherein a is the serial number of the cigarette strip box identified by the positioning code reader in the cigarette box according to the sequence position corresponding to the loading sequence;
s44, associating the strip box identification code data listed in the S43 with first cigarette box identification code data X (1) of a cigarette box identification code data queue X, and listing the first cigarette box identification code data X (1);
s45, completing the association of the first box of cigarette carton and the corresponding identification code of the cigarette box, and entering the associated data into an associated data queue; the first data D (1) of the positioning identification code data queue is dequeued;
s46, repeating the steps S41-S45, and carrying out subsequent association; when the last cigarette case is produced, only one datum D (1) is left in the positioning identification code data queue, the first N data of the carton identification code data queue are correlated with the first cigarette case identification code datum X (1), and the data correlation of all cartons and cigarette cases is completed.
Further, the identification code is set according to the requirement.
Further, after S44, the data associated with the smoke box is analyzed, and if there is empty data or the number of the carton identification codes is not equal to the number of the smoke box cartons meeting the boxing condition, it is determined that an abnormality occurs, and a correlation error of the smoke box is prompted.
Further, before S44, if the positioning id data is empty data or the corresponding positioning id D (1) or D (2) data cannot be found in the barrel id data queue, it is determined that an anomaly occurs and prompted, and the data listed in S43 is corrected.
Further, the S43 modification includes: if K1=0 and K2 ≠ 0, the first (K2-a) data of the barcode data queue is dequeued by the bar box identification code; if K2=0 and K1 ≠ 0, the first (N + K1-a) data of the bar code data queue is dequeued, and if K1 and K2 are both 0, the first N data T (1) -T (N) of the bar code data queue are dequeued.
Further, the abnormal condition prompt is prompted in an alarm mode such as sound and light.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method for eliminating accumulated errors by scanning and correlating a cigarette strip box and a cigarette box, which recognizes and reads an identification code on the cigarette strip box and an identification code on the cigarette box through a cigarette strip box packing link of an automatic cigarette production line, and correspondingly correlates the strip box identification code and the cigarette box identification code in the same box of cigarettes according to the method; the carton identification code and the cigarette box identification code are associated. And according to the analysis of the associated data, identifying the cigarette boxes with the associated data errors caused by code scanning reading failure or manual misoperation and the like, thereby identifying the wrong cigarette boxes, controlling the number of the cigarette boxes related to the errors within one box to two boxes, and reducing the influence on the association relationship of subsequent cigarettes.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only one embodiment of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a flow chart of a method of associating a cigarette carton with a cigarette case code sweep to eliminate cumulative errors in accordance with the present invention;
FIG. 2 is a schematic view of the transfer of the cigarette carton of the present invention to a case packer; wherein: 1-a carton conveyor belt, 2-a cigarette carton, 3-a carton code reader, 4-a carton two-dimensional code, 5-a positioning code reader, 6-a cigarette box, 7-an identification code labeling device, 8-a cigarette box bar code, 9-a cigarette box code reader and 10-a cigarette stack;
FIG. 3 is a flow chart of an identification code association method of the present invention employing a location code reader to identify a cigarette pack entering a smoke box;
FIG. 4 is a data schematic of a corresponding data queue entered into a cigarette pack after a pack code reader identification process and prior to a position code reader identification process;
FIG. 5 is a data schematic of a corresponding data queue of a cigarette pack removed after a pack reader identification procedure and prior to a position reader identification procedure;
FIG. 6 is a data schematic of a corresponding data queue added to a cigarette pack after completion of a position reader identification process;
FIG. 7 is a data schematic of a corresponding data queue of cigarette packs having a takeout serial number after completion of the position reader identification process.
Detailed Description
The technical solutions in the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the present embodiment, a production process of conveying a cigarette carton to a boxing machine for boxing is described, as shown in fig. 2, a carton code reader 3 is arranged on one side of a carton conveying belt 1 for conveying the cigarette carton 2, the boxing machine receives the cigarette carton 2, and after the cigarette carton 2 is stacked into a cigarette stack 10 meeting boxing conditions, the cigarette carton is sent to the boxing machine for packaging a cigarette carton 6; the inside location code reader 5 that is equipped with of case packer, 6 tops of smoke box are equipped with the sign indicating number device 7 of sign indicating number, and the belt top of 6 transmissions of smoke box is equipped with smoke box code reader 9.
The cigarette strip box 2 is pasted with a strip box identification code, the identification codes of the cigarette strip box 2 and the cigarette box can be one-dimensional codes, two-dimensional codes, RFID, NFC or the combination form of the two-dimensional codes, the RFID and the NFC, and the identification codes are set according to the requirement. In this embodiment, the barrel identification code adopts the two-dimensional code, namely barrel two-dimensional code 4, and the identification code of smoke box adopts the one-dimensional code, namely smoke box bar code 8.
As shown in fig. 1 and 2, the method for associating a cigarette carton and a cigarette box scanning code for eliminating accumulated errors provided by the invention comprises the following steps:
s1, the cigarette cartons 2 are in motion transmission on the carton conveying belt 1 according to the arrow direction shown in fig. 2 (namely the sequence of packaging the cigarette cartons 2), when each cigarette carton 2 sequentially passes through the carton code reader 3, the carton code reader 3 is sequentially triggered to send carton trigger signals, the carton code reader 3 is sequentially triggered to read the carton two-dimensional codes 4 on the cigarette carton 2, and after the two-dimensional code data are analyzed, the two-dimensional code data are stored in a carton identification code data queue T.
S2, enabling the cigarette strip box 2 to enter a box filling machine through a strip box conveying belt 1, pushing the cigarette strip box 2 meeting the box filling condition into a case of the box filling machine to be packaged into a cigarette box 6 after the box filling machine receives the cigarette strip box 2 meeting the box filling condition (namely a cigarette stack 10 meeting the box filling condition), meanwhile, recognizing a strip box two-dimensional code 4 of one cigarette strip box 2 entering the cigarette box 6 by a positioning code reader 5 on the box filling machine, analyzing two-dimensional code data, and storing the two-dimensional code data serving as positioning identification code data into a positioning identification code data queue D; the positioning code reader 5 is fixed after being installed, which indicates that the positioning code reader 5 recognizes and reads the cigarette strip boxes 2 in each cigarette box 6 to be fixed, namely corresponding to the a-th cigarette in the cigarette boxes, wherein the a is a determined integer, and the cigarette strip boxes 2 are arranged in the packing sequence.
The number of the cigarette carton boxes 2 meeting the packing condition is set according to the actual condition of the packing machine, and the number of the cigarette carton boxes 2 meeting the packing condition is a fixed integer value N. For example, a typical pack of cigarettes contains 50 cigarette cartridges 2.
S3, after the cigarette box 6 is packaged, the cigarette box bar code 8 is pasted on the cigarette box 6 by the identification code labeling device 7, when the cigarette box 6 is conveyed to a specific position, the cigarette box bar code 8 on the cigarette box 6 is identified and read by the cigarette box code reader 9, and after the bar code data is analyzed, the bar code data enters the cigarette box identification code data queue X.
S4, searching corresponding two-dimensional code data of the strip box according to the position of the data of the positioning identification code data queue in the strip box identification code data queue, and associating the searched two-dimensional code 4 of the strip box with the corresponding bar code 8 of the cigarette box according to an association method.
S5, carrying out abnormity judgment according to the associated data of the two-dimensional bar code 4 and the cigarette box bar code 8, the data queue of the identification code of the bar box, the data queue of the positioning identification code or the data queue of the identification code of the cigarette box, judging whether abnormity occurs or not, and reminding processing of the abnormal condition. The abnormal condition is prompted by sound, light and other alarm modes, and whether to take removing measures for the wrong cigarette box 6 is determined according to actual production needs.
The abnormality judgment includes:
1. judging whether the associated data of the box is wrong or not by comparing whether the number of the associated boxes of the cigarette box 6 is equal to the number of the cigarette boxes 2 meeting the packing condition or not; if the data is not equal, the associated data of the box is in error, and if the data is equal, the associated data of the box is probably error-free.
2. And judging whether the associated data of the current box is wrong or not according to whether empty data exists in the barrel identification code data queue, the positioning identification code data queue or the cigarette box identification code data queue or not.
As shown in fig. 3, when the positioning code reader 5 on the cartoning machine at S2 recognizes the two-dimensional codes of the cigarette carton boxes entering the cigarette carton 6, the method for associating the corresponding two-dimensional codes 4 in the carton identification code data queue with the corresponding cigarette carton bar codes 8 in the cigarette carton identification code data queue according to the data of the positioning identification code data queue at S4 includes the following steps:
s41, acquiring the first two positioning identification code data D (1) and D (2) of the current positioning identification code data queue, and waiting for the storage of the D (2) if the D (2) does not exist;
s42, searching the position of the positioning identification code data D (1) in the barrel identification code data queue T, storing the position into a variable k1, and if the position of the D (1) cannot be found, making k1= 0; searching the position of the positioning identification code data D (2), storing the position into a variable k2, and if the position of D (2) cannot be found, making k2= 0;
s43, dequeuing all the barrel ID data in the barrel ID data queue before the position k1 and containing the data T at the position k1 (k 1); then, the front (k 2-k 1-a) data are listed from the strip identification code data queue, wherein a is the serial number of the cigarette strip box identified by the positioning code reader in the cigarette box 6 according to the sequence position corresponding to the loading sequence;
s44, associating the strip box identification code data (the first (k2-a) data) listed in the S43 with the first cigarette box identification code data X (1) of the cigarette box identification code data queue X, and listing the first cigarette box identification code data X (1);
s45, completing the association of the cigarette strip box 2 and the corresponding identification code of the cigarette box, and entering the associated data into an associated data queue; dequeuing first data D (1) of the positioning identification code data queue;
s46, repeating S41-S45, and carrying out subsequent association; when the last cigarette pack is produced, only one datum D (1) is left in the positioning identification code data queue, and the first N data in the strip pack identification code data queue are correlated with the first cigarette pack identification code datum X (1), so that the data correlation of all the strip packs and the cigarette packs 6 is finally completed.
In the actual production process, the abnormal conditions comprise two categories of human reasons and equipment reasons. The artificial reason mainly means that the identification code of a carton or the identification code of a cigarette box belonging to the same cigarette box does not accord with the real object due to manual operation. The main index code identification failure of the equipment reason comprises the following conditions: the failure of the strip box code reader 3 to recognize the identification code, the failure of the positioning code reader 5 to recognize the identification code, the failure of the smoke box code reader 9 to recognize the identification code, etc.
For human reasons, fig. 4-7 show 4 cases where manual operation causes the actual carton loaded into the carton 6 to disagree with the data in the alignment of the identification code of the carton. In the embodiments illustrated in fig. 4-7, the number of cigarette cartridges that can be accommodated in one cigarette box 6 is set to an integer N, N = 50; setting a positioning code reader 5 to read the identification code of the 4 th entering cigarette box 6, namely a = 4; for convenience of explanation, the cigarette cartons are numbered 1, 2 and 3 … …, and the cigarette cartons enter a boxing machine in sequence; the cigarette carton real object is connected with the corresponding data of the cigarette carton in the carton identification code queue by a short line.
As shown in fig. 4, a cigarette pack (belonging to the 2 nd cigarette) with the serial number 52 is added after the pack reader 3 reading process and before the positioning reader 5 identifying process. According to the association method, when the 1 st cigarette is associated, the positioning identification code D (1) corresponds to T (4) in the code data queue of the cigarette box identification code, namely k1=4, and similarly k2= 53; the data corresponding to T (1) -T (4) is firstly dequeued, and since (k 2-k 1-a) =45, the 45 data of T (5) -T (49) are subsequently dequeued, so that the first cigarette case is associated with the carton identification code data of the 49 cigarettes of T (1) -T (49), and lacks the data of the cigarette carton with the serial number of 50. Then T (50) becomes the first element T (1) of the barcode data queue, and when the 2 nd cigarette is associated, it can be known in the same manner that k1=4 and k2=54, the data corresponding to T (1) -T (4) is first dequeued, and since (k 2-k 1-a) =46, the 46 data of T (5) -T (50) are subsequently dequeued, so that the 2 nd cigarette is associated with the barcode data of 50 cigarettes of T (1) -T (50), the corresponding barcode data has a serial number of 50-100, a cigarette carton with a serial number of 50 belonging to the 1 st cigarette is added, and the cigarette carton with a serial number of 52 is lacking. And then T (51) becomes a first element T (1) of the code data queue of the carton identification code, when the 3 rd cigarette is associated, the carton identification code completely corresponds to the carton real object, and errors cannot occur in subsequent association. The number of association errors in this case is 2.
As shown in fig. 5, the cigarette carton (belonging to the 2 nd cigarette carton) with the sequence number 52 is removed after the reading process of the carton code reader 3 and before the reading process of the positioning code reader 5. According to the association method, when the 1 st cigarette is associated, the positioning identification code D (1) corresponds to T (4) in the code data queue of the strip box identification code, namely k1=4, and similarly k2= 55; the first to be dequeued T (1) -T (4), and since (k 2-k 1-a) =47, the 47 data T (5) -T (51) are subsequently dequeued, so that the first cigarette pack is associated with the cartridge identification code data of the 51 cigarettes T (1) -T (51), and the data belonging to the 2 nd cigarette cartridge with the serial number 51 are added. Then T (52) becomes the first element T (1) of the barcode data queue, and when the 2 nd cigarette is associated, it is known in the same way that k1=4 and k2=54, the first cigarette is listed from T (1) to T (4), and since (k 2-k 1-a) =46, the 46 data of T (5) to T (50) are listed later, and therefore the 2 nd cigarette is associated with the barcode data of the 50 cigarettes of T (1) to T (50), corresponding to the barcode data of the cigarette carton with the serial number of 52 x-101 which is removed, and the cigarette carton with the serial number of 52 x which is missing. And then T (51) becomes a first element T (1) of the code data queue of the carton identification code, when the 3 rd cigarette is associated, the carton identification code completely corresponds to the carton real object, and errors cannot occur in subsequent association. The number of association errors in this case is 2.
As shown in fig. 6, after the reading process of the positioning code reader 5 is completed, a cigarette carton with the serial number 6 (belonging to the 1 st cigarette) is added. According to the association method, when the 1 st cigarette is associated, the positioning identification code D (1) corresponds to T (4) in the code data queue of the cigarette box identification code, namely k1=4, and similarly k2= 53; t (1) -T (4) are first dequeued, and since (k 2-k 1-a) =45, the 45 data T (5) -T (49) are subsequently dequeued, so that the first cigarette pack is associated with the cartridge identification code data for the 49 cigarettes T (1) -T (49), lacking the data for the added cigarette cartridge numbered 6. Then T (50) becomes a first element T (1) of the strip box identification code data queue, the strip box identification code completely corresponds to a strip box real object, and no error occurs in association of a subsequent cigarette box 6 such as a 2 nd box, a 3 rd box and the like and the strip box. The number of association errors in this case is 1.
As shown in fig. 7, after the reading process of the positioning code reader 5 is completed, the cigarette carton with the serial number 6 (belonging to the 1 st cigarette) is taken out. According to the association method, when the 1 st cigarette is associated, the positioning identification code D (1) corresponds to T (4) in the code data queue of the strip box identification code, namely k1=4, and similarly k2= 55; the data of 47 data of T (5) -T (51) are then listed since (k 2-k 1-a) =47 since T (1) -T (4) are listed first, so that the first cigarette pack is associated with the data of the carton identification code of 51 cigarettes of T (1) -T (51), and the data of the cigarette carton with the serial number of 6 taken out is added. And then T (52) is the first element T (1) of the strip box identification code data queue, the strip box identification code completely corresponds to the strip box real object, and no error occurs in association of the subsequent cigarette boxes 6 such as the 2 nd box, the 3 rd box and the like with the strip box. The number of association errors in this case is 1.
For the reasons of the equipment, the reasons for the failure of identification code identification are mainly: 1. the identification code cannot be analyzed due to unclear printing, fouling and the like; 2. it can be known from the correlation method that, in order to ensure the continuity of the queue data, the code reader needs to complete the resolution and enqueue of an identification code between two adjacent trigger signals, and needs to set a resolution time limit according to the actual equipment, and if the code reader does not resolve a result within the time limit due to some reason (such as inaccurate focusing), the identification is also considered as failed.
Among the 1 st causes of identification code identification failure, identification failure may generate false alarm data.
When the code scanning and reading of the bar box code reader 3 fails, replacing the two-dimensional code data which is correspondingly analyzed in the S1 with null data according to the error prompt data, and writing the null data into the corresponding position of the bar box identification code queue at the moment;
when the code scanning and reading of the positioning code reader 5 fails, replacing the two-dimensional code data which is correspondingly analyzed in the S2 with null data according to the error prompt data, and writing the null data into the corresponding position of the positioning identification code queue at the moment;
and (3) the cigarette box code reader 9 fails to scan and read codes, the bar code data which is correspondingly analyzed in the S3 is replaced by null data according to the error prompt data, and a null data is written in the corresponding position of the cigarette box bar code queue at the moment.
According to the abnormal condition, after the associated data of the first box is entered into the associated data queue (after S44), the associated data of the first box is analyzed, and if there is empty data or the number of the carton identification codes is not equal to the number of cigarette cartons in the boxing condition (for example, one carton of cigarettes has 50 cigarettes, that is, the number of the carton identification codes in the associated data is not equal to 50), the abnormality is judged, and the first box is prompted to read the error and marked.
Or before the strip box identification code data is associated with the first cigarette box identification code data of the cigarette box identification code data queue (before S44), if the positioning identification code data is empty data or the corresponding positioning identification code D (1) or D (2) data cannot be found in the strip box identification code data queue (namely K1=0 or K2= 0), judging that an abnormality occurs and prompting; then, S43 is corrected to: if K1=0 and K2 ≠ 0, the first (K2-a) data of the barcode data queue is dequeued by the bar box identification code; if K2=0 and K1 ≠ 0, the first (N + K1-a) data of the bar code data queue is dequeued, and if K1 and K2 are both 0, the first N data T (1) -T (N) of the bar code data queue are dequeued.
In the abnormal condition, if only the reading fails, the barrel identification code or the cigarette box identification code is replaced by the empty data, and only the error of the correlation result of the cigarette box in which the empty data is located is caused; if the positioning tag has empty data or the number of the carton identification codes is not equal to the number of the cigarette cartons in the boxing condition, the data dequeuing method can know that in addition to affecting the correlation correctness of the current cigarette carton, the actual number of cigarette cartons of the next cigarette carton and the number of the dequeuing tags may be equal or different, and the unequal situation is equivalent to one of the abnormal situations shown in fig. 4-7, so that the next cigarette carton may have correlation errors, and the total number of the correlation errors is between one carton and two cartons.
In summary, the cigarette carton and cigarette case code scanning correlation method for eliminating accumulated errors can judge whether correlation errors occur or not through correlation data of cigarette case identification codes and carton identification codes of the cigarette cases, remind is conducted, the number of the cigarette cases related to the errors is controlled within one case to two cases, influences on the correlation relation between the subsequent cigarette cases and the carton are reduced through eliminating the errors, and therefore correlation accuracy and algorithm stability are improved.
The above disclosure is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of changes or modifications within the technical scope of the present invention, and shall be covered by the scope of the present invention.

Claims (9)

1. A cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors is characterized in that: the method comprises the following steps:
s1, when the cigarette cartons are conveyed on the carton conveying belt, when each cigarette carton sequentially passes through a carton code reader, the carton code reader sequentially reads carton identification codes on the cigarette cartons and stores the read carton identification code data into a carton identification code data queue;
s2, after the case packer receives N cigarette cartons meeting the case packing condition, wherein N is the number of the cigarette cartons which can be contained in one cigarette case, the N cigarette cartons are pushed into the case packer to be packed into the cigarette case, meanwhile, a positioning code reader on the case packer reads the carton identification code of one cigarette carton in the cigarette case, and the read carton identification code data is stored in a positioning identification code data queue as positioning identification code data;
s3, after the cigarette box is packaged, adhering a cigarette box identification code on the cigarette box, and when the cigarette box is conveyed to a station of a cigarette box code reader, the cigarette box code reader recognizes the cigarette box identification code on the cigarette box and stores the recognized cigarette box identification code into a cigarette box identification code data queue;
s4, searching corresponding identification code data of the carton according to the position of the positioning identification code data in the identification code data queue of the carton, and associating the searched identification code data of the carton with the corresponding identification code data of the cigarette box according to an association method.
2. The method of claim 1, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: s5, carrying out abnormity judgment according to the association result of the identification code data of the carton and the identification code data of the cigarette box, and reminding the occurrence of an abnormal condition.
3. The method of claim 1, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: determining the number of the cartons related to the cigarette cartons according to the positions of two adjacent positioning identification codes in the carton identification code data queue; and judging whether the associated data of the box is wrong or not by comparing whether the number of the associated boxes of the cigarette box is equal to the number of the cigarette boxes meeting the packing condition or not.
4. The method of claim 2, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: and judging the abnormity according to whether empty data exists in the barrel identification code data queue, the positioning identification code data queue or the cigarette box identification code data queue.
5. The method of claim 1, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: the S4 includes the steps of:
s41, acquiring the first two positioning identification code data D (1) and D (2) of the current positioning identification code data queue, and waiting for the D (2) to be stored if the D (2) does not exist;
s42, searching the position of the positioning identification code data D (1) in the bar box identification code data queue T, storing the position of the positioning identification code data D (1) into a variable k1, and if the position of the positioning identification code data D (1) cannot be found, making k1= 0; searching the position of the positioning identification code data D (2), storing the position into a variable k2, and if the position of D (2) cannot be found, making k2= 0;
s43, dequeuing all the barcode data in the barcode data queue before the position k1 and containing the data T at the position k1 (k 1); then, the front (k 2-k 1-a) data are listed from the strip identification code data queue, wherein a is the serial number of the cigarette strip box identified by the positioning code reader in the cigarette box according to the sequence position corresponding to the loading sequence;
s44, associating the strip box identification code data listed in the S43 with first cigarette box identification code data X (1) of a cigarette box identification code data queue X, and listing the first cigarette box identification code data X (1);
s45, completing the association of the first box of cigarette carton and the corresponding identification code of the cigarette box, and entering the associated data into an associated data queue; the first data D (1) of the positioning identification code data queue is dequeued;
s46, repeating the steps S41-S45, and carrying out subsequent association; when the last cigarette case is produced, only one datum D (1) is left in the positioning identification code data queue, the first N data of the carton identification code data queue are correlated with the first cigarette case identification code datum X (1), and the data correlation of all cartons and cigarette cases is completed.
6. The method of claim 1, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: the identification code is set as required.
7. The method of claim 5, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: and after S44, analyzing the associated data of the cigarette box, judging that abnormity occurs if empty data exists or the number of the carton identification codes is not equal to the number of the cigarette box cartons meeting the boxing condition, and prompting that the cigarette box is associated wrongly.
8. The method of claim 5, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: before S44, if the positioning identification code data is empty data or the corresponding positioning identification code D (1) or D (2) data cannot be found in the barrel identification code data queue, judging that an abnormality occurs and prompting, and correcting the data listed in S43.
9. The method of claim 8, wherein the method further comprises the step of associating a cigarette carton with a cigarette case code scan for eliminating accumulated errors: the S43 modification includes: if K1=0 and K2 ≠ 0, the first (K2-a) data of the barcode data queue is dequeued by the bar box identification code; if K2=0 and K1 ≠ 0, the first (N + K1-a) data of the barcode data queue is dequeued by the bar box identification code; if K1 and K2 are both 0, the first N data T (1) -T (N) of the bar box identification code data queue are dequeued.
CN202010165886.0A 2020-03-11 2020-03-11 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors Active CN111348271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010165886.0A CN111348271B (en) 2020-03-11 2020-03-11 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010165886.0A CN111348271B (en) 2020-03-11 2020-03-11 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors

Publications (2)

Publication Number Publication Date
CN111348271A true CN111348271A (en) 2020-06-30
CN111348271B CN111348271B (en) 2021-08-17

Family

ID=71190668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010165886.0A Active CN111348271B (en) 2020-03-11 2020-03-11 Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors

Country Status (1)

Country Link
CN (1) CN111348271B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861508A (en) * 2020-07-03 2020-10-30 浙江中烟工业有限责任公司 Self-consistent type cigarette carton two-dimensional code and cigarette carton first engineering code accurate association method
CN111967888A (en) * 2020-08-27 2020-11-20 浙江中烟工业有限责任公司 Method for improving uniqueness identification and tracing accuracy of cigarette wrapping strip
CN113291542A (en) * 2021-06-24 2021-08-24 无锡众创自动化科技有限公司 Integrated device for unpacking, sealing, labeling and monitoring code management
CN113353346A (en) * 2021-06-24 2021-09-07 无锡众创自动化科技有限公司 Integrated process for automatically opening, packaging, labeling and monitoring code management
CN113379429A (en) * 2021-06-19 2021-09-10 杭州洋驼网络科技有限公司 Product association method and device, electronic equipment and storage medium
CN114148585A (en) * 2021-12-15 2022-03-08 上海中商网络股份有限公司 Automatic product boxing verification device, method and system
CN114682516A (en) * 2022-02-28 2022-07-01 红云红河烟草(集团)有限责任公司 Device and method for realizing condition two-dimensional code association in cigarette production

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3147838A1 (en) * 2015-09-23 2017-03-29 Neopost Technologies Parcel packaging method and device
CN106742400A (en) * 2016-11-17 2017-05-31 电子科技大学 Product 2 D code information gathers interconnected system and its correlating method and adaptive approach
WO2019058532A1 (en) * 2017-09-22 2019-03-28 日本たばこ産業株式会社 Product information acquisition system and product information acquisition method
CN110399944A (en) * 2019-07-16 2019-11-01 浙江中烟工业有限责任公司 The capsule of cigarette packer online production process and big identification information correlating method
CN209889218U (en) * 2019-05-10 2020-01-03 云南艾珞特科技有限公司 Cigarette case bar code and cigarette bar information correlation system of case packer
CN209911998U (en) * 2019-07-02 2020-01-07 苏州卓链信息技术有限公司 Cigarette online coding device
CN110733690A (en) * 2019-11-27 2020-01-31 南京大树智能科技股份有限公司 cigarette package bar two-dimensional code detection and information correlation system
CN110733691A (en) * 2019-11-27 2020-01-31 南京大树智能科技股份有限公司 cigarette carton-in two-dimensional code detection and information correlation system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3147838A1 (en) * 2015-09-23 2017-03-29 Neopost Technologies Parcel packaging method and device
CN106742400A (en) * 2016-11-17 2017-05-31 电子科技大学 Product 2 D code information gathers interconnected system and its correlating method and adaptive approach
WO2019058532A1 (en) * 2017-09-22 2019-03-28 日本たばこ産業株式会社 Product information acquisition system and product information acquisition method
CN209889218U (en) * 2019-05-10 2020-01-03 云南艾珞特科技有限公司 Cigarette case bar code and cigarette bar information correlation system of case packer
CN209911998U (en) * 2019-07-02 2020-01-07 苏州卓链信息技术有限公司 Cigarette online coding device
CN110399944A (en) * 2019-07-16 2019-11-01 浙江中烟工业有限责任公司 The capsule of cigarette packer online production process and big identification information correlating method
CN110733690A (en) * 2019-11-27 2020-01-31 南京大树智能科技股份有限公司 cigarette package bar two-dimensional code detection and information correlation system
CN110733691A (en) * 2019-11-27 2020-01-31 南京大树智能科技股份有限公司 cigarette carton-in two-dimensional code detection and information correlation system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861508A (en) * 2020-07-03 2020-10-30 浙江中烟工业有限责任公司 Self-consistent type cigarette carton two-dimensional code and cigarette carton first engineering code accurate association method
CN111861508B (en) * 2020-07-03 2023-11-24 浙江中烟工业有限责任公司 Self-consistent type carton cigarette two-dimensional code and one-cigarette engineering code precise association method
CN111967888A (en) * 2020-08-27 2020-11-20 浙江中烟工业有限责任公司 Method for improving uniqueness identification and tracing accuracy of cigarette wrapping strip
CN113379429A (en) * 2021-06-19 2021-09-10 杭州洋驼网络科技有限公司 Product association method and device, electronic equipment and storage medium
CN113291542A (en) * 2021-06-24 2021-08-24 无锡众创自动化科技有限公司 Integrated device for unpacking, sealing, labeling and monitoring code management
CN113353346A (en) * 2021-06-24 2021-09-07 无锡众创自动化科技有限公司 Integrated process for automatically opening, packaging, labeling and monitoring code management
CN114148585A (en) * 2021-12-15 2022-03-08 上海中商网络股份有限公司 Automatic product boxing verification device, method and system
CN114682516A (en) * 2022-02-28 2022-07-01 红云红河烟草(集团)有限责任公司 Device and method for realizing condition two-dimensional code association in cigarette production

Also Published As

Publication number Publication date
CN111348271B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN111348271B (en) Cigarette carton and cigarette box code scanning correlation method for eliminating accumulative errors
CN110399944B (en) Small box and large strip identification information correlation method in cigarette packaging machine online production process
KR20070114277A (en) System and method for tracking id tags using a data structure of tag reads
CN110711945B (en) Laser coding method and device and laser marking machine
CN110733690B (en) Cigarette package strip two-dimensional code detection and information association system
CN111967888A (en) Method for improving uniqueness identification and tracing accuracy of cigarette wrapping strip
CN109711492B (en) Intelligent drug logistics supervision system and method
CN110733691A (en) cigarette carton-in two-dimensional code detection and information correlation system
CN111080137B (en) Production package traceability system
CN103998344A (en) Cigarette package coding system and associated method
CN112001461A (en) Medicine packaging tracing method and packaging system thereof
WO2019058532A1 (en) Product information acquisition system and product information acquisition method
CN112183681A (en) Cigarette box strip two-dimensional code association scheme suitable for GD high-speed machine
CN111348270B (en) Cigarette small box and carton code scanning correlation method for eliminating accumulation errors
CN111099086A (en) Detection system and detection method for lamina tobacco packets and tobacco making equipment
CN112926903A (en) Material transmission and scheduling control method and system based on multi-source heterogeneous data
CN110991585B (en) Method and device for determining package sorting strategy, computer equipment and storage medium
CN113627954A (en) Product tracing method, correlation method, tracing system and correlation system
CN113320775A (en) Two-dimensional code correlation device of cigarette carton packing box
CN109409453B (en) Carton missing tracing system of carton sealing machine and proof-proving method thereof
CN107826351B (en) Method and device for associating product identities, storage device and terminal device
CN110647773B (en) Intelligent cigarette identification processing method
CN215206704U (en) Automatic detection device for ex-warehouse of tobacco materials
CN112918978B (en) Automatic detecting device for tobacco material warehouse-out
CN112668966A (en) Logistics data safety processing method and system, electronic equipment and computer storage medium

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