Whole-layer code scanning mode in box filling machine

By adopting the whole-layer code scanning method in the cartoning machine, and using the box push mechanism and high-definition camera mechanism to realize automatic code scanning and identification of pill boxes, the problem of low code scanning efficiency and missing clips in the existing technology is solved, and the packaging efficiency is improved. and record accuracy.

CN118753586APending Publication Date: 2024-10-11GANSU DINGHONG ELECTRONIC INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411140837.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, the scanning efficiency of traceability codes before pharmaceutical packaging is low, requiring manual code scanning and inspection of single boxes, resulting in low packaging efficiency, and problems of missing clips and recording errors during the mechanical clamping process are prone to occur.

Method used

The whole-layer code scanning method is adopted in the cartoning machine. The medicine boxes are pushed to the shooting stage in batches through the box pushing mechanism. The high-definition camera mechanism is used to shoot and scan the codes for identification. It is combined with the control center mechanism for data storage and code association. Realize automated code scanning inspection of the entire layer of medicine boxes, and issue alarms in abnormal situations to ensure the correct association between product box codes and box codes.

Benefits of technology

It improves the efficiency of medicine box packing inspection, reduces labor consumption, solves the problem of missing clips in a timely manner, and improves the accuracy and work efficiency of packing records.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118753586A_ABST
    Figure CN118753586A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of boxing code scanning recognition, and discloses a whole-layer code scanning mode in a boxing machine, which comprises the following steps: S1, medicine box conveying; s2, photographing and identifying; s3, assigning codes and associating; s4, carton conveying; s5, boxing is started; and S6, boxing is completed. According to the whole-layer code scanning mode in the box filling machine, the problems that in the prior art, traceability codes are in a moving state on a conveying belt before box filling, scanning equipment arranged directionally cannot conduct focusing scanning, so that manual single-box code scanning inspection is needed, a large amount of time is consumed in the inspection process of each batch of medicine boxes during operation of the box filling machine, and the efficiency is high are solved. In the prior art, the case packing efficiency is severely affected, in addition, in the case packing process, in the batch clamping process of a mechanical arm, the situation that clamping is broken and missed is likely to occur, after traceability codes of medicine boxes of each batch are recorded and packed, medicine box records which are missed in clamping cannot be deleted in time, and the case packing records are wrong exists.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of case scanning and identification, and in particular to a whole-layer scanning method in a case packing machine. Background Art

[0002] Before production and sale, drugs generally need to be packaged, and a traceability code consisting of numbers, letters, text, barcodes or QR codes is added to the drug packaging by printing, pasting, etc. This is used to mark the relevant information on drug production, making it convenient for users to inquire about the relevant information and licenses on drug production, and then pack the batches of packaged drugs.

[0003] Due to the huge number of medicines produced and the development of science and technology, the packing of medicines has been generally handled by cartoning machines. Before the medicines are packed, in order to ensure the qualified rate of medicine packaging, the traceability code of each box of medicines must be scanned and inspected to avoid packing medicine boxes with abnormal traceability codes and bringing credit impact to medicine production. In the prior art, the traceability code of the medicine box is in a moving state on the conveyor belt before packing, and the directional scanning equipment has the problem of being unable to focus on scanning, so manual single-box scanning inspection is required. When the cartoning machine is running, the inspection process of each batch of medicine boxes will consume a lot of time, which seriously affects the packing efficiency. In addition, during packing, there is a probability that the robot arm will break and miss the medicine boxes during the batch clamping process. After the traceability code of each batch of medicine boxes is recorded for packing, the records of the missed medicine boxes cannot be deleted in time, so that there are errors in the packing records. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a method for scanning codes in an entire layer in a case packing machine, which solves the problems mentioned in the above background.

[0005] The present invention provides the following technical solutions: a whole-layer code scanning method in a case packing machine, a frame, a box feeding mechanism is arranged in front of the frame, a box feeding conveyor belt and a printing mechanism are arranged inside the frame, and the box feeding conveyor belt and the printing mechanism are respectively located at two ends of the frame, a case packing mechanical arm is arranged in the middle of the frame, the case packing mechanical arm is located at the junction of the printing mechanism and the box feeding conveyor belt, a box pushing mechanism is arranged at the end of the box feeding conveyor belt located in the frame, a shooting platform is arranged on the side of the box pushing mechanism, and the positions of the shooting platform correspond to the positions of the box feeding conveyor belt and the case packing mechanical arm, a high-definition camera mechanism is installed on the top of the frame, and the high-definition camera mechanism is located directly above the shooting platform, a box taking mechanism is arranged in the frame, the position of the box taking mechanism corresponds to the position of the box feeding mechanism, a box opening mechanism is arranged between the box taking mechanism and the box closing conveyor belt, a control central mechanism and a printing mechanism are respectively arranged in front of the frame, and a traceability system is installed in the control central mechanism; The scanning process of the case packing machine includes the following steps: S1, medicine box conveying: medicine boxes are placed on the box conveying conveyor belt. When the number of medicine boxes arriving at the box pushing mechanism is sufficient, the box pushing mechanism starts to move the medicine boxes on the box conveying conveyor belt horizontally onto the shooting table; S2, photo recognition: when the medicine boxes arranged on the shooting table reach a predetermined number, the high-definition camera mechanism immediately takes a photo of the medicine boxes and sends the photo data to the control center mechanism; S3, code association: After the control center receives the photo data, it immediately scans and searches the information in the photo to determine whether there is any abnormality. It then stores the scanned information and associates it with the large box code, and controls the printing mechanism to print out the corresponding large box code. S4, carton conveying: while the medicine boxes are conveyed on the box conveying conveyor belt, the box taking mechanism takes out a folded carton on the box conveying mechanism and conveys it to the box opening mechanism, and transmits the photo data to the control center mechanism; S5, start packing: after the medicine boxes arranged on the shooting table are photographed, the packing robot arm starts to operate, clamps the medicine boxes from the shooting table, and moves and places them in the carton opened by the box opening mechanism; S6, packing completed: After the carton is filled, it is transported to the box closing conveyor belt. If the control center sends out an alarm, the conveying will be suspended immediately and wait for manual processing.

[0006] Preferably, the box feeding conveyor belt includes a box feeding belt and a box ejecting mechanism, the box feeding belt is provided with two limiting side plates, the medicine box is transported by the box feeding belt through the two limiting side plates, a box pressing mechanism is installed on a section of the box feeding belt close to the box ejecting mechanism, and the roller on the box pressing mechanism is in rolling contact with the top of the medicine box.

[0007] Preferably, the box arranging mechanism is located between the end of the box feeding belt and the box pushing mechanism, a box stopping mechanism is provided on the side of the box arranging mechanism, and the distance between the box stopping mechanism and the box pushing mechanism corresponds to the entire layer width of the transverse packing of the medicine boxes.

[0008] Preferably, the end of the limiting side plate on the box feeding belt close to the inner side of the frame is extended to above the box discharge mechanism, and the box stopping mechanism corresponds to the position of the extended portion of the limiting side plate.

[0009] Preferably, a box sealing mechanism is provided on the box closing conveyor belt, and the box sealing mechanism, the box opening mechanism and the box taking mechanism are located on the same horizontal straight line.

[0010] The medicine box scanning code recognition method includes the following steps: Step 1: Set the shutter triggering program of the high-definition camera mechanism, associate it with the number of round trips of the box push mechanism, and continue with step 2; Step 2: The box pushing mechanism pushes the medicine boxes conveyed on the box conveying belt onto the shooting table. When the box pushing mechanism reaches a preset number of round trips, the high-definition camera mechanism starts to shoot the medicine boxes arranged in a layer on the shooting table, and then proceeds to step 3; Step 3: Use the control center to receive the shooting data of the high-definition camera mechanism, then identify the photo information, and then receive the identified scanned code data through the traceability system to determine whether there are abnormal situations such as unrecognizable scanned code information of the medicine box, repeated scans, etc., and continue to step 4; Step 4: If there is no abnormality, the scanned code information is stored and associated with the large box code, and the printing data is sent to the printing mechanism, and the packing is completed; If the control center starts to sound an alarm, the entire cartoning machine will suspend operation at the same time, determine which type the abnormal medicine box data belongs to, and wait for manual processing.

[0011] Preferably, in step one, the number of reciprocating movements of the box pushing mechanism is set according to the longitudinal number of the entire layer of medicine boxes to be packed.

[0012] Preferably, in step one, the position of the high-definition camera mechanism is adjusted according to the height of the packed medicine boxes, so that the high-definition camera mechanism focuses on the top of the medicine boxes and includes the entire layer of medicine boxes in the photographing range.

[0013] Preferably, in step 4, after the control center sends out an alarm, the staff replaces the abnormal medicine box, and then returns to step 2 to take pictures again.

[0014] Preferably, in step four, if repeated code scanning occurs, the traceability system in the control center mechanism automatically determines that there is a missing clamp in the previous batch of medicine boxes, deletes the packing data and the associated large box code, and reminds the staff to disassemble the medicine boxes that have been packed in the previous batch, take out the medicine boxes and put them back on the box conveyor belt, and start packing again.

[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. The whole-layer scanning method in the case packing machine uses a box pushing mechanism to push the medicine boxes arranged on the box conveyor belt to the shooting table in batches. When the number of medicine boxes on the shooting table reaches the preset number of times the box pushing mechanism pushes, the shutter of the high-definition camera mechanism is immediately triggered to photograph the entire layer of parked medicine boxes, and the photo data is scanned and traced through the control center mechanism, completing the scanning inspection of the entire layer of medicine boxes at one time, without the need to manually scan a single box, thereby greatly improving the inspection efficiency of each batch of packed medicine boxes and saving manpower consumption.

[0016] 2. The whole-layer code scanning method in the cartoning machine uses machine vision to collect and read the traceability code of each medicine box and send it to the traceability system, and realize the association between the boxes and boxes of the products. When there is an abnormality in the code scanning during packing, an alarm can be immediately issued to effectively avoid the association error between the product box code and the box code. In addition, when there is a rotten box or a missed box, the traceability code deletion problem of the previous batch can be handled in a timely and efficient manner to prevent missing packing, improve the accuracy of packing records, improve work efficiency, and reduce labor. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the overall structure of the present invention; Figure 2 It is a schematic diagram of the top view structure of the present invention; Figure 3 It is a front view structural schematic diagram of the present invention; Figure 4 It is a rear view structural schematic diagram of the present invention; Figure 5 This is a flowchart of the medicine box code scanning and identification of the present invention.

[0018] In the figure: 1. Rack; 2. Box feeding mechanism; 3. Box feeding conveyor belt; 31. Box feeding belt; 32. Box arranging mechanism; 33. Limiting side plate; 34. Box pressing mechanism; 35. Box stopping mechanism; 4. Packing robot arm; 5. Box closing conveyor belt; 6. Printing mechanism; 7. Box sealing mechanism; 8. Control center mechanism; 9. High-definition camera mechanism; 10. Box pushing mechanism; 11. Shooting table; 12. Box taking mechanism; 13. Box opening mechanism. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] See also Figure 1-4, a whole-layer code scanning method in a case packing machine, a frame 1, a case feeding mechanism 2 is arranged in front of the frame 1, a box feeding conveyor belt 3 and a printing mechanism 6 are arranged inside the frame 1, and the box feeding conveyor belt 3 and the printing mechanism 6 are respectively located at the two ends of the frame 1, a case packing robot arm 4 is arranged in the middle of the frame 1, and the case packing robot arm 4 is located at the intersection of the printing mechanism 6 and the box feeding conveyor belt 3, and a box pushing mechanism 10 is arranged at the end of the box feeding conveyor belt 3 located in the frame 1, and a shooting platform 11 is arranged on the side of the box pushing mechanism 10, and the position of the shooting platform 11 corresponds to the position of the box feeding conveyor belt 3 and the case packing robot arm 4, respectively, the frame 1 A high-definition camera mechanism 9 is installed on the top of the frame 1, and the high-definition camera mechanism 9 is located directly above the shooting platform 11. A box-taking mechanism 12 is provided in the frame 1, and the position of the box-taking mechanism 12 corresponds to the position of the box-feeding mechanism 2. A box-opening mechanism 13 is provided between the box-taking mechanism 12 and the box-closing conveyor belt 5. A control central mechanism 8 and a printing mechanism 6 are respectively provided in front of the frame 1. A traceability system is installed in the control central mechanism 8, and the existing common traceability systems on the market such as Dinghong intelligent traceability system are used for loading, so that the control central mechanism 8 has the ability to judge the structure of the scanned code data, and then controls the mechanism in the case packing machine; The scanning process of the case packing machine includes the following steps: S1, medicine box conveying: medicine boxes are placed on the box conveying conveyor belt 3. When the number of medicine boxes arriving at the box pushing mechanism 10 is sufficient, the box pushing mechanism 10 starts to move the medicine boxes on the box conveying conveyor belt 3 to the shooting platform 11; S2, photo identification: when the number of medicine boxes arranged on the shooting table 11 reaches a predetermined number, the high-definition camera mechanism 9 immediately shoots the medicine boxes and sends the photo data to the control center mechanism 8; S3, code association: After the control center mechanism 8 receives the photo data, it immediately scans and searches the information in the photo to determine whether there is any abnormality, then stores the scanned information and associates it with the large box code, and controls the printing mechanism 6 to print out the corresponding large box code; S4, carton conveying: while the medicine boxes are conveyed on the box conveying conveyor belt 3, the box taking mechanism 12 takes out a folded carton from the box conveying mechanism 2 and conveys it to the box opening mechanism 13, and transmits the photo data to the control central mechanism 8; S5, start packing: after the medicine boxes arranged on the shooting table 11 are photographed, the packing robot 4 starts to operate, clamps the medicine boxes from the shooting table 11, and moves and places them in the carton opened by the box opening mechanism 13; S6, packing is completed: After the carton is filled, it is conveyed to the box closing conveyor belt 5. If the control central mechanism 8 sounds an alarm, the conveying is immediately suspended and waits for manual processing.

[0021] Among them; the box feeding conveyor belt 3 includes a box feeding belt 31 and a box discharging mechanism 32. Two limiting side plates 33 are arranged on the box feeding belt 31. The medicine boxes are transported by the box feeding belt 31 through the two limiting side plates 33. A box pressing mechanism 34 is installed on a section of the box feeding belt 31 close to the box discharging mechanism 32. The roller on the box pressing mechanism 34 is in rolling contact with the top of the medicine box. The two limiting side plates 33 are used to limit the medicine boxes on the box feeding belt 31 so that the transported medicine boxes are in the same straight line, which is convenient for subsequent arrangement and pushing.

[0022] Among them, the box arranging mechanism 32 is located between the end of the box feeding belt 31 and the box pushing mechanism 10, and a box stopping mechanism 35 is arranged on the side of the box arranging mechanism 32. The distance between the box stopping mechanism 35 and the box pushing mechanism 10 corresponds to the entire layer width of the horizontal packing of the medicine boxes. After the number of medicine boxes arranged in front of the box pushing mechanism 10 reaches a predetermined number, the box stopping mechanism 35 is used to push the subsequent medicine boxes, so that the medicine boxes will not continue to be arranged during the reciprocating process of the box pushing mechanism 10, thereby preventing the box pushing mechanism 10 from pushing the arranged medicine boxes away and dropping them when returning.

[0023] Among them, the end of the limiting side plate 33 on the inner side of the frame 1 on the box feeding belt 31 is extended to the top of the box discharge mechanism 32, and the box stopping mechanism 35 corresponds to the extended position of the limiting side plate 33. The extended end of the limiting side plate 33 cooperates with the box stopping mechanism 35 to clamp and stop the subsequent medicine boxes on the box feeding belt 31 during the operation of the box pushing mechanism 10.

[0024] Among them, a sealing mechanism 7 is provided on the closing conveyor belt 5, and the sealing mechanism 7 is located on the same horizontal straight line as the unpacking mechanism 13 and the box taking mechanism 12. When the medicine boxes are packed, they are sealed by the sealing mechanism 7 on the rear section of the closing conveyor belt 5 to avoid scattering after the packing is completed.

[0025] See also Figure 5 , a medicine box scanning code recognition method, comprising the following steps: Step 1: Set the shutter triggering program of the high-definition camera mechanism 9, associate it with the number of round trips of the box pushing mechanism 10, and proceed to step 2; Step 2: The box pushing mechanism 10 pushes the medicine boxes conveyed on the box conveying belt 3 onto the shooting table 11. When the number of round trips of the box pushing mechanism 10 reaches a preset number, the high-definition camera mechanism 9 is started to shoot the medicine boxes arranged in a layer on the shooting table 11, and then proceed to step 3; Step 3: Use the control center mechanism 8 to receive the shooting data of the high-definition camera mechanism 9, then identify the photo information, and then receive the identified scanned code data through the traceability system to determine whether there are abnormal situations such as unrecognizable scanned code information of the medicine box, repeated scans, etc., and continue to step 4; Step 4: If there is no abnormality, the scanned code information is stored and associated with the large box code, and the printing data is sent to the printing mechanism 6, and the packing is completed; If the control center mechanism 8 starts to sound an alarm, the entire cartoning machine will suspend operation at the same time, determine which type the abnormal medicine box data belongs to, and wait for manual processing.

[0026] Among them; in step one, the number of reciprocating movements of the box pushing mechanism 10 is set according to the longitudinal number of a whole layer of medicine boxes to be packed. During the packing process, the number of rows and columns of the medicine boxes is determined according to the size of the carton, so that a whole layer of the medicine box group can be placed completely in the carton. The number of reciprocating movements of the box pushing mechanism 10 is set to ensure that a whole layer of medicine boxes is packed at the predetermined number each time.

[0027] Among them; in step one, the position of the high-definition camera mechanism 9 is adjusted according to the height of the packed medicine box, so that the high-definition camera mechanism 9 focuses on the top of the medicine box and includes the entire layer of medicine boxes in the photographing range. Since the packaging boxes of each medicine have certain differences, only a single type of medicine is packed each time, and the position of the high-definition camera mechanism 9 needs to be adjusted accordingly in advance to ensure the clarity of the photos taken and improve the accuracy of the scanning and resolution of the traceability system.

[0028] Among them; in step four, after the control center mechanism 8 sounds an alarm, the staff replaces the abnormal medicine box, and then returns to step two to re-shoot. When abnormalities occur in the packing of individual medicine boxes, it is only necessary to manually replace the abnormal medicine box with a normal medicine box and then re-shoot the traceability code, which greatly improves the efficiency of packing and scanning codes, and saves the subsequent searching, reorganizing and deleting of related traceability codes.

[0029] Among them; in step four, if repeated scanning of the code occurs, the traceability system in the control central mechanism 8 will automatically determine that the medicine boxes in the previous batch are missing, delete the packing data and the associated large box code, and remind the staff to disassemble the medicine boxes that have been packed in the previous batch, take out the medicine boxes and put them back on the box conveyor belt 3, and start packing again. Since the traceability codes are unique code numbers assigned when the medicines are packaged, repeated scanning of the code will only occur when a missing clip occurs in the clamping and packing of the entire layer of medicine boxes in the previous batch. Therefore, it can be judged immediately without the need for subsequent manual retrieval of missing packing, thereby saving manpower.

[0030] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A whole-layer code scanning method in a case packing machine, the case packing machine comprising: A frame (1), a box feeding mechanism (2) is arranged in front of the frame (1), a box feeding conveyor belt (3) and a printing mechanism (6) are arranged inside the frame (1), and the box feeding conveyor belt (3) and the printing mechanism (6) are respectively located at two ends of the frame (1), a box packing mechanical arm (4) is arranged in the middle of the frame (1), and the box packing mechanical arm (4) is located at the intersection of the printing mechanism (6) and the box feeding conveyor belt (3), a box pushing mechanism (10) is arranged at the end of the box feeding conveyor belt (3) located in the frame (1), and a shooting platform (11) is arranged on the side of the box pushing mechanism (10), and the shooting platform (11) ) correspond to the positions of the box-feeding conveyor belt (3) and the box-packing robot arm (4), respectively; a high-definition camera mechanism (9) is installed on the top of the frame (1), and the high-definition camera mechanism (9) is located directly above the shooting platform (11); a box-taking mechanism (12) is provided in the frame (1), and the position of the box-taking mechanism (12) corresponds to the position of the box-feeding mechanism (2); a box-opening mechanism (13) is provided between the box-taking mechanism (12) and the box-closing conveyor belt (5); a control central mechanism (8) and a printing mechanism (6) are respectively provided in front of the frame (1), and a traceability system is installed in the control central mechanism (8); It is characterized in that the scanning process of the packing machine includes the following steps: S1, medicine box conveying: medicine boxes are placed on the box conveying conveyor belt (3), and when the number of medicine boxes arriving at the box pushing mechanism (10) is sufficient, the box pushing mechanism (10) starts to move the medicine boxes on the box conveying conveyor belt (3) horizontally onto the photographing platform (11); S2, photo identification: when the number of medicine boxes arranged on the photographing table (11) reaches a predetermined number, the high-definition camera mechanism (9) immediately photographs the medicine boxes and sends the photo data to the control center mechanism (8); S3, code association: after the control center mechanism (8) receives the photo data, it immediately scans and searches the information in the photo to determine whether there is any abnormality, then stores the scanned information and associates it with the large box code, and controls the printing mechanism (6) to print out the corresponding large box code; S4, carton conveying: while the medicine boxes are being conveyed on the box conveying conveyor belt (3), the box taking mechanism (12) takes out a folded carton from the box conveying mechanism (2) and conveys it to the box opening mechanism (13), and transmits the photo data to the control central mechanism (8); S5, start packing: after the medicine boxes arranged on the photographing table (11) are photographed, the packing robot arm (4) starts to operate, clamps the medicine boxes from the photographing table (11), and moves and places them in the carton opened by the box opening mechanism (13); S6, packing completed: After the carton is filled, it is conveyed to the box closing conveyor belt (5). If the control center mechanism (8) sounds an alarm, the conveying is immediately suspended and waits for manual processing.

2. A whole-layer code scanning method in a case packing machine according to claim 1, characterized in that: The box conveying belt (3) comprises a box conveying belt (31) and a box discharging mechanism (32). The box conveying belt (31) is provided with two limiting side plates (33). The medicine boxes are conveyed by the box conveying belt (31) between the two limiting side plates (33). A box pressing mechanism (34) is installed on a section of the box conveying belt (31) close to the box discharging mechanism (32). The roller on the box pressing mechanism (34) is in rolling contact with the top of the medicine box.

3. A whole-layer code scanning method in a case packing machine according to claim 2, characterized in that: The box arranging mechanism (32) is located between the end of the box feeding belt (31) and the box pushing mechanism (10), and a box stopping mechanism (35) is arranged on the side of the box arranging mechanism (32), and the distance between the box stopping mechanism (35) and the box pushing mechanism (10) corresponds to the width of the entire layer of the medicine boxes transversely packed.

4. A whole-layer code scanning method in a case packing machine according to claim 3, characterized in that: The end of the limiting side plate (33) on the box feeding belt (31) close to the inner side of the frame (1) is extended to above the box discharging mechanism (32), and the box stopping mechanism (35) corresponds to the position of the extended portion of the limiting side plate (33).

5. The whole-layer code scanning method in a case packing machine according to claim 1, characterized in that: A box sealing mechanism (7) is provided on the box closing conveyor belt (5); the box sealing mechanism (7), the box opening mechanism (13) and the box taking mechanism (12) are located on the same horizontal straight line.

6. A medicine box code scanning and identification method, characterized in that: The following steps are involved: Step 1: Set the shutter triggering program of the high-definition camera mechanism (9), associate it with the number of round trips of the box pushing mechanism (10), and proceed to step 2; Step 2: The box pushing mechanism (10) pushes the medicine box conveyed on the box conveying conveyor belt (3) onto the photographing platform (11). When the number of round trips of the box pushing mechanism (10) reaches a preset number, the high-definition camera mechanism (9) is activated to photograph the medicine boxes arranged in a layer and placed still on the photographing platform (11), and then proceed to step 3; Step 3: Using the control center mechanism (8) to receive the shooting data of the high-definition camera mechanism (9), then identifying the photo information, and then receiving the identified scanned code data through the traceability system to determine whether there is an abnormal situation such as the scanned code information of the medicine box cannot be identified or is scanned repeatedly, and then continue to step 4; Step 4: If there is no abnormality, the scanned code information is stored and associated with the large box code, and the print data is sent to the printing mechanism (6), and the packing is completed; If the control center mechanism (8) starts to sound an alarm, the entire cartoning machine will be suspended at the same time, and it will be determined which type the abnormal medicine box data belongs to, and wait for manual processing.

7. The medicine box code scanning and identification method according to claim 6, characterized in that: In step one, the number of reciprocating movements of the box pushing mechanism (10) is set according to the longitudinal number of the entire layer of medicine boxes to be packed.

8. The medicine box code scanning and identification method according to claim 6, characterized in that: In step one, the position of the high-definition camera mechanism (9) is adjusted according to the height of the packed medicine boxes, so that the high-definition camera mechanism (9) focuses on the top of the medicine boxes and includes the entire layer of medicine boxes in the photographing range.

9. The medicine box code scanning and identification method according to claim 6, characterized in that: In step 4, after the control central mechanism (8) issues an alarm, the staff replaces the abnormal medicine box and then returns to step 2 to take photos again.

10. The medicine box code scanning and identification method according to claim 6, characterized in that: In step 4, if repeated code scanning occurs, the traceability system in the control center (8) automatically determines that the medicine boxes in the previous batch are missing, deletes the packing data and the associated large box code, and reminds the staff to disassemble the medicine boxes that have been packed in the previous batch, take out the medicine boxes and put them back on the box conveyor belt (3), and start packing again.