Batch printed product sub-packaging method, process and system, product and medium

By obtaining the packaging bag label information and calculating the theoretical total weight range, combining the template feature information and sampling comparison, the problem of inefficient quantity review in batch printing product packaging is solved, and a fast and accurate packaging process is achieved.

CN120355948AActive Publication Date: 2025-07-22CHONGQING YUANDA ZHICHENG PACKAGING TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510381070.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-07-22
Estimated Expiration
2045-03-28

AI Technical Summary

Technical Problem

During the batch printing of product packaging, especially when packaging products with high confidentiality requirements such as test papers, if you find a quantity error, you need to re-check all packaging bags, resulting in slow packaging progress and inefficient efficiency.

Method used

By obtaining the label information of the packaging bag, calculating the theoretical total weight range, and using the weight information and template feature information for rapid review, combining sampling comparison and linear relationship model to optimize weight judgment, improve review efficiency and accuracy.

Benefits of technology

It realizes rapid positioning of quantity errors, improves review efficiency, ensures the steady progress of packaging progress, improves the accuracy and timeliness of packaging, and reduces weight deviations caused by humans and material processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120355948A_ABST
    Figure CN120355948A_ABST
Patent Text Reader

Abstract

The invention provides a batch printing product sub-packaging method, process and system, a product and a medium, and relates to the technical field of image recognition. The method comprises the following steps: acquiring label information of a current packaging bag to clearly determine specific requirements corresponding to each packaging bag, then calculating a theoretical total weight of a printed product in the current packaging bag according to unit weight of the printed product and unit weight of the current packaging bag, and determining a floating weight according to the number of required printed products; the theoretical weight range is determined based on the floating weight and the theoretical total weight, the characteristics are matched with one another, finally, the weight information of the current packaging bag is obtained, number rechecking is conducted according to whether the weight information is within the theoretical weight range, and whether the number is accurate or not can be rapidly located by comparing the actual weight with the theoretical range. The defect that in the past, all errors need to be rechecked is overcome, the rechecking efficiency is improved, it is guaranteed that the subpackaging progress is stably advanced, and the accuracy and timeliness of subpackaging are overall improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image recognition technology, and in particular to a method, process, system, product and medium for packaging and distributing products printed in batches. Background Art

[0002] In the field of education, products printed in batches such as test papers and exercise books have clear distribution requirements. They need to be packaged and distributed according to many factors such as different regions, schools, and specific classes to ensure accurate supply to corresponding usage scenarios. For example, primary schools of different scales have different numbers of classes, and the number of students in each class is also different. For example, Primary School A has a total of 4 classes, Class A1 has 28 students, Class A2 has 32 students, Class A3 has 31 students, and Class A4 has 25 students. Primary School B has a total of 3 classes, Class B1 has 22 students, Class B2 has 32 students, and Class B3 has 28 students. And very often these test papers also need to be sealed and transported to designated places such as examination rooms. Therefore, after printing, they must be strictly packaged and distributed in sealed form according to the class situation, which is an important link to ensure the normal development of teaching-related activities.

[0003] Currently, for the packaging and distribution of products printed in batches, especially products with high confidentiality requirements such as test papers, during the review process, if it is found that the number of test papers in one test paper bag is incorrect, then it is necessary to recheck all the previously packaged test paper bags. This process is extremely time-consuming and laborious, seriously affecting the overall packaging and distribution progress. Summary of the Invention

[0004] This application provides a method, process, system, product and medium for packaging and distributing products printed in batches, which is used to quickly locate whether the quantity is accurate, avoid the drawback that all previous checks need to be repeated due to one error, and improve the review efficiency.

[0005] In a first aspect, this application provides a method for packaging and distributing products printed in batches, including: obtaining the label information of the current packaging bag; the label information includes school, class, the required quantity of printed products, and the subject information of the printed products; conveying the corresponding printed products to the current packaging bag according to the label information; after the conveying is completed, calculating the theoretical total weight of the printed products in the current packaging bag according to the unit weight of the printed products and the unit weight of the current packaging bag; determining the floating weight according to the required quantity of printed products, and determining the theoretical weight range based on the floating weight and the theoretical total weight; obtaining the weight information of the current packaging bag, and performing quantity review according to whether the weight information is within the theoretical weight range; according to the subject information of the printed products, extracting the pre-stored electronic template of the printed products, and obtaining the template feature information of the printed products; obtaining the images of the printed products according to the preset sampling ratio; and obtaining the actual feature information of the images of the printed products; calculating the consistency score between the template feature information and the actual feature information; and performing content review according to whether the consistency score is higher than the preset score threshold.

[0006] By adopting the above technical solution, the label information of the current packaging bag is obtained, and the specific requirements corresponding to each packaging bag can be clearly defined, laying a foundation for subsequent accurate packaging. Then, the theoretical total weight of the printed products in the current packaging bag is calculated based on the unit weight of the printed products and the unit weight of the current packaging bag, and the floating weight is determined according to the required number of printed products. Based on the floating weight and the theoretical total weight, the theoretical weight range is determined. These features cooperate with each other to determine a reasonable range based on objective weight data and quantity requirements. Finally, the weight information of the current packaging bag is obtained, and the quantity is rechecked according to whether the weight information is within the theoretical weight range. By comparing the actual weight with the theoretical range, it is possible to quickly locate whether the quantity is accurate, avoiding the drawback of having to recheck everything for a single error in the past, improving the recheck efficiency, ensuring the steady progress of the packaging process, and overall enhancing the accuracy and timeliness of the packaging. At the same time, according to the consistency between the comparison template feature information and the actual features, it is further determined whether the printed products are placed incorrectly.

[0007] Combined with some embodiments of the first aspect, in some embodiments, after the step of obtaining the weight information of the current packaging bag and rechecking the quantity according to whether the weight information is within the theoretical weight range; after the quantity recheck is successful, the historical packaging bags of the same type as the current packaging bag are determined according to the printed product subject information; the historical weight information of the historical packaging bags is obtained; the calculated product weight of the printed products is calculated according to the weight difference and the quantity difference; the quantity difference is the difference between the required number of printed products of the current packaging bag and the required number of printed products of the historical packaging bag; the weight difference is the difference between the difference in the weight information of the current packaging bag and the difference in the historical weight information; the average value of all the calculated product weights is used to update the unit weight of the printed products; the updated unit weight of the printed products is used for the quantity recheck of the next packaging bag.

[0008] By adopting the above technical solution, after the quantity review is successful, the historical packaging bags of the same type as the current packaging bag are determined according to the printed product account information, and the same type of packaging bags are screened out with the help of the account information, which is convenient for subsequent comparative analysis. The historical weight information of the historical packaging bags is obtained, and the quantity difference is the difference between the required number of printed products for the current packaging bag and the required number of printed products for the historical packaging bags; the weight difference is the difference between the weight information of the current packaging bag and the historical weight information, and these two sets of differences are used to accurately quantify the differences. Then, the calculated product weight of the printed product is calculated based on the weight difference and the quantity difference, and a more realistic product weight is obtained based on rigorous calculations. The unit weight of the printed product is updated with the average value of all calculated product weights; the updated unit weight of the printed product is used for the quantity review of the next packaging bag. By updating the unit weight, the subsequent packaging bags can be based on more accurate weight standards when conducting quantity review, and gradually correct the weight deviation caused by human factors, material technology and other factors, making the quantity review more accurate and improving the reliability of the weight judgment based on the packaging operation.

[0009] In combination with some embodiments of the first aspect, in some embodiments, after the step of calculating the product weight of the printed product based on the weight difference and the quantity difference, the method also includes: substituting the historical weight information and the corresponding calculated product weight into a linear relationship model, the slope of the linear relationship model is the calculated product weight, and the intercept of the linear relationship model is used as the calculated packaging bag weight; updating the weight information of the current packaging bag with the average value of all calculated packaging bag weights; and the updated weight information of the current packaging bag is used for the quantity review of the next packaging bag.

[0010] By adopting the above technical solution, the historical weight information and the corresponding calculated product weight are introduced into the linear relationship model. The slope of the linear relationship model is the calculated product weight, and the intercept of the linear relationship model is used as the calculated packaging bag weight. The linear relationship model is used to deeply integrate and analyze the historical data and the current calculation results to find out the reasonable value of the packaging bag weight. Subsequently, the weight information of the current packaging bag is updated with the average value of all calculated packaging bag weights; the updated weight information of the current packaging bag is used for the quantity review of the next packaging bag. By updating the current packaging bag weight information, the next round of quantity review work can have a more accurate weight reference, effectively make up for the deviation between the actual weight and the preset weight, and continuously optimize the weight-based packaging operation.

[0011] In combination with some embodiments of the first aspect, in some embodiments, according to the printed product subject information, a pre-stored electronic template of the printed product is extracted to obtain the template feature information of the printed product; an image of the printed product is obtained according to a preset sampling ratio; and the actual feature information of the image of the printed product is obtained; the consistency score between the template feature information and the actual feature information is calculated; the steps of content review according to whether the consistency score is higher than a preset score threshold specifically include: extracting a pre-stored electronic template of the printed product according to the printed product subject information; extracting the first feature information of the cover in the electronic template of the printed product; and recording the first position information of the first feature information; randomly extracting a plurality of second feature information in the electronic template of the printed product based on a preset area size, and recording the corresponding plurality of second position information; obtaining an image of the printed product according to a preset sampling ratio; obtaining the third feature information of the image of the printed product according to the first position information; determining whether the first feature information is consistent with the third feature information; if consistent, randomly selecting an unused second position information, and obtaining the fourth feature information of the image of the printed product; determining whether the second feature information is consistent with the fourth feature information; if consistent, returning to the step of randomly selecting an unused second position information and obtaining the fourth feature information of the image of the printed product.

[0012] By adopting the above technical solution, according to the printed product subject information, a pre-stored electronic template of the printed product is extracted to obtain the template feature information of the printed product, and representative feature information is first extracted from the electronic template; and the first position information of the first feature information is recorded; a plurality of second feature information is randomly extracted in the electronic template of the printed product based on a preset area size, and the corresponding plurality of second position information is recorded, so as to accurately locate the key features and positions and narrow the comparison range. An image of the printed product is obtained according to a preset sampling ratio; the third feature information of the image of the printed product is obtained according to the first position information, and the image features are compared according to the corresponding positions, and if consistent, randomly select an unused second position information, and obtain the fourth feature information of the image of the printed product; determine whether the second feature information is consistent with the fourth feature information; if consistent, return to the step of randomly selecting an unused second position information and obtaining the fourth feature information of the image of the printed product. In this way, through a step-by-step verification and loop judgment method, the non-discriminatory comparison of all image data is avoided, the amount of data for feature comparison is reduced, the comparison speed is accelerated, the content review link is efficiently completed, ensuring that the packaging work can be promoted on time, and ensuring that teaching materials are distributed to classes in a timely and accurate manner.

[0013] In some embodiments in combination with some embodiments of the first aspect, before the step of determining the theoretical weight range based on the floating weight and the theoretical total weight, the method further includes: determining a target interval in a preset floating table according to the required number of printed products; the preset floating table includes several intervals arranged from small to large, and the thresholds corresponding to the intervals decrease from large to small; adjusting the floating weight according to the threshold corresponding to the target interval; after the step of determining the theoretical weight range based on the floating weight and the theoretical total weight, the method further includes: obtaining the cumulative weight deviation, where the cumulative weight deviation is the sum of the differences between the theoretical total weights of different packaging bags and the weight information; adjusting the theoretical weight range according to the cumulative weight deviation.

[0014] By adopting the above technical solution, a target interval in a preset floating table is determined according to the required number of printed products; the preset floating table includes several intervals arranged from small to large, and the thresholds corresponding to the intervals decrease from large to small; the floating weight is adjusted according to the threshold corresponding to the target interval. First, the appropriate interval is accurately located in the preset floating table according to the quantity, and then the floating weight is adjusted accordingly, making the determination of the floating weight more scientific and reasonable and avoiding randomness. After determining the theoretical weight range based on the floating weight and the theoretical total weight, the cumulative weight deviation is obtained, where the cumulative weight deviation is the sum of the differences between the theoretical total weights of different packaging bags and the weight information; the theoretical weight range is adjusted according to the cumulative weight deviation. The theoretical weight range is adjusted by using the cumulative deviation feedback, and the two-way optimization makes the theoretical weight range more in line with the actual situation, effectively preventing the problem of misjudgment of the quantity caused by the range being too large due to simply adding the floating weights.

[0015] In some embodiments in combination with some embodiments of the first aspect, the step of calculating the consistency score between the template feature information and the actual feature information specifically includes: calculating the similarity score of the geometric features in the template feature information and the actual feature information; calculating the similarity score of the visual features in the template feature information and the actual feature information; and performing weighted synthesis on the geometric feature similarity score and the visual feature similarity score to obtain the consistency score.

[0016] By adopting the above technical solution, the similarity score of the geometric features in the template feature information and the actual feature information is calculated to measure the similarity degree between the two from a geometric perspective, and the consistency of aspects such as shape and structure can be accurately captured. Calculating the similarity score of the visual features in the template feature information and the actual feature information judges the similarity from the visual presentation level, such as color, texture, etc., and the two dimensions are evaluated separately.

[0017] In a second aspect, the present application provides a product packaging process for batch printing, including: attaching label information to a packaging bag; the label information includes school, class, the quantity of printed products required, and printed product subject information; transporting the packaging bags one by one to below the discharge port of the printing device through a rotary device; arranging a counting device and a scanning and recognition device at the discharge port; after the scanning and recognition device obtains the label information on the current packaging bag, it sends the corresponding label information to the host computer; the host computer controls the counting device and the printing device to convey the corresponding printed products to the packaging bag; after the conveying is completed, a floating weight is determined according to the quantity of printed products required, and a theoretical weight range is determined based on the floating weight and the theoretical total weight; a floating weight is determined according to the quantity of printed products required, and a theoretical weight range is determined based on the floating weight and the theoretical total weight; the rotary device moves the current packaging bag carrying it to the verification area, obtains the weight information of the current packaging bag, and conducts quantity verification according to whether the weight information is within the theoretical weight range; in the verification device, according to the printed product subject information, a pre-stored electronic template of the printed product is extracted to obtain the template feature information of the printed product; in the verification device, an image of the printed product is obtained according to a preset sampling ratio; and the actual feature information of the image of the printed product is obtained; in the verification device, the consistency score between the template feature information and the actual feature information is calculated; content verification is conducted according to whether the consistency score is higher than a preset score threshold; if the verification is correct, the bag is sealed; the sealed current packaging bag is centrally stacked according to the school in the label information.

[0018] In a third aspect, the present application provides a product packaging system for batch printing. The product packaging system for batch printing includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code. The computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the product packaging system for batch printing to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0019] In a fourth aspect, the present application provides a computer program product containing instructions. When the computer program product runs on the product packaging system for batch printing, it enables the product packaging system for batch printing to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0020] In a fifth aspect, the present application provides a computer-readable storage medium including instructions. When the instructions run on the product packaging system for batch printing, it enables the product packaging system for batch printing to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0021] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. Obtain the label information of the current packaging bag, which can clearly define the specific requirements corresponding to each packaging bag, laying a foundation for subsequent accurate packaging. Then, calculate the theoretical total weight of the printed products in the current packaging bag based on the unit weight of the printed products and the unit weight of the current packaging bag, and determine the floating weight according to the required quantity of the printed products. Based on the floating weight and the theoretical total weight, determine the theoretical weight range. These features cooperate with each other to determine a reasonable range based on objective weight data and quantity requirements. Finally, obtain the weight information of the current packaging bag, and conduct quantity verification according to whether the weight information is within the theoretical weight range. By comparing the actual weight with the theoretical range, it is possible to quickly locate whether the quantity is accurate, avoiding the drawback of having to recheck all when there is an error in one place in the past, improving the verification efficiency, ensuring the steady progress of the packaging process, and overall enhancing the accuracy and timeliness of the packaging. At the same time, further judge whether the printed products are placed incorrectly according to the consistency between the comparison template feature information and the actual features.

[0022] 2. After successful quantity verification, determine the historical packaging bags of the same type as the current packaging bag according to the subject information of the printed products. Screen out the same type of packaging bags with the help of the subject information for subsequent comparative analysis. Obtain the historical weight information of the historical packaging bags. The quantity difference is the difference between the required quantity of the printed products in the current packaging bag and the required quantity of the printed products in the historical packaging bag; the weight difference is the difference between the difference in the weight information of the current packaging bag and the difference in the historical weight information. Use these two sets of differences to accurately quantify the difference situation. Then calculate the calculated product weight of the printed products according to the weight difference and the quantity difference. Based on rigorous calculations, a more practical product weight is obtained. Update the unit weight of the printed products with the average value of all the calculated product weights; the updated unit weight of the printed products is used for the quantity verification of the next packaging bag. By updating the unit weight, subsequent packaging bags can be based on a more accurate weight standard during quantity verification, gradually correcting the weight deviation caused by factors such as human, material, and process, making the quantity verification more accurate and enhancing the reliability of the packaging operation based on weight judgment.

[0023] 3. According to the printing product subject information, extract the pre-stored electronic template of the printing product, obtain the template feature information of the printing product, first extract representative feature information from the electronic template; and record the first position information of the first feature information; randomly extract several second feature information in the electronic template of the printing product based on the preset area size, and record the corresponding several second position information, accurately locate the key features and positions, and narrow the comparison range. Obtain the image of the printing product according to the preset sampling ratio; obtain the third feature information of the image of the printing product according to the first position information, obtain the image features according to the corresponding positions for comparison, and if they are consistent, randomly select an unused second position information to obtain the fourth feature information of the image of the printing product; determine whether the second feature information is consistent with the fourth feature information; if they are consistent, return to the step of randomly selecting an unused second position information to obtain the fourth feature information of the image of the printing product. By gradually verifying and circularly judging in this way, it avoids the undifferentiated comparison of all image data, reduces the amount of data for feature comparison, speeds up the comparison speed, enables the content review link to be completed efficiently, ensures that the packaging work can be promoted on time, and guarantees the timely and accurate distribution of teaching materials to classes. Brief Description of the Drawings

[0024] Figure 1 is a schematic flowchart of a method for packaging products in batch printing in an embodiment of the present application; Figure 2 is another schematic flowchart of a method for packaging products in batch printing in an embodiment of the present application; Figure 3 is a specific schematic flowchart of steps S106 to S108 in an embodiment of the present application; Figure 4 is another schematic flowchart of a method for packaging products in batch printing in an embodiment of the present application; Figure 5 is an exemplary hardware structure schematic diagram of a system for packaging products in batch printing in an embodiment of the present application. Detailed Description of the Embodiment

[0025] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above", "the foregoing", "this" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms used in the present application and / or refer to and include any or all possible combinations of one or more of the listed items.

[0026] Hereinafter, the terms "first" and "second" are for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0027] Please refer to Figure 1 , Figure 1 which is a schematic flow diagram of the method for packaging and distributing products printed in batches in the embodiments of the present application; S101. Obtain the label information of the current packaging bag; the label information includes the school, class, quantity of printed products required, and information on the subjects of the printed products; Herein, the current packaging bag refers to the packaging container being processed for holding printed products, such as common paper test paper bags, kraft data bags, etc., which are used to load the printed products required for the corresponding class to facilitate subsequent transportation and distribution.

[0028] In some embodiments, a label with a QR code or barcode is set on the packaging bag, and the label information is pre-stored in these labels; a scanning device is used to scan the QR code or barcode, and the terminal system connected to the scanning device automatically parses the content such as the school, class, quantity of printed products required, and information on the subjects of the printed products included therein; the parsed information is directly stored in the packaging management database for use in subsequent packaging processes, which is not limited herein.

[0029] S102. Convey the corresponding printed products to the current packaging bag according to the label information; Herein, the printed products refer to various paper materials such as test papers, exercise books, textbooks, etc. produced through batch printing processes.

[0030] In some embodiments, according to the label information obtained in step S101, for example, knowing that it is 50 English test papers required by Class 2, Grade 3 of B Primary School, the automated conveying device will go to the area where the English test papers are stored, select the corresponding 50 test papers, and then convey these printed products into the current packaging bag through means such as conveyor belt transportation, ensuring that the loaded printed products are exactly in line with the requirements of the label information and providing an accurate basis for subsequent verification and other operations.

[0031] S103. After the conveying is completed, calculate the theoretical total weight of the printed products in the current packaging bag according to the unit weight of the printed products and the unit weight of the current packaging bag; Among them, the unit weight of the printed product refers to a single copy of the printed product, which can usually be measured and recorded in advance by a weighing device. The unit weight of the current packaging bag refers to the weight value of the current packaging bag being processed itself when it is not filled with printed products, which can also be measured by means of a weighing device.

[0032] In some embodiments, use an electronic balance to weigh the weight of a single printed product respectively, record it as the unit weight of the printed product; place the empty current packaging bag on the same electronic balance to weigh it, obtain its unit weight and record it; count the number of printed products already loaded in the current packaging bag, multiply this number by the unit weight of the printed product, and then add the unit weight of the current packaging bag to calculate the theoretical total weight.

[0033] S104. Determine the floating weight according to the required number of printed products, and determine the theoretical weight range based on the floating weight and the theoretical total weight; In some embodiments, obtain a floating weight value, which is determined according to the required number of printed products and past experience or preset standards. Perform addition and subtraction operations on the estimated floating weight value and the already calculated theoretical total weight to obtain the lower limit value and the upper limit value of the theoretical weight range; record the lower limit value and the upper limit value to form the theoretical weight range for subsequent comparison.

[0034] S105. Obtain the weight information of the current packaging bag, and perform quantity verification according to whether the weight information is within the theoretical weight range; Specifically, first use a weighing device to weigh the packaging bag that has already been filled with printed products to obtain its actual weight information. Then compare this actual weight information with the theoretical weight range determined in step S104. If the actual weight is within this range, it is initially judged that the number of printed products loaded is in line with the requirements; if it is not within this range, it means that there may be situations such as incorrect loading of the number of printed products, and further investigation is required to complete the verification work of the number of printed products and ensure the accuracy of the packaging of each packaging bag.

[0035] S106. Extract the pre-stored electronic template of the printed product according to the printed product subject information, and obtain the template feature information of the printed product; Among them, the pre-stored electronic template of the printed product refers to a standard electronic document that is stored in advance in a computer system or database and is made according to different printed product subjects. It contains information such as the ideal style, format, layout, and content framework of the corresponding printed product.

[0036] Specifically, first, based on the subject information of the printed products in the current packaging bag, such as an English test paper, then accurately search for and extract the corresponding pre-stored electronic template of the English test paper from the database storing numerous electronic templates. Next, through specialized software tools such as image recognition and text analysis, extract template feature information such as the font format of the title, the layout style of specific question types, and the fixed logo pattern on the test paper from this electronic template. Organize this information to prepare for subsequent comparison with the features of the actual printed products, so as to check whether the content of the printed products is accurate and error-free.

[0037] S107. Obtain an image of the printed product according to a preset sampling ratio; and obtain the actual feature information of the image of the printed product. Specifically, first, according to the preset sampling ratio, use image acquisition devices such as scanners or high-definition cameras to scan or photograph each page of the corresponding number of printed products to obtain an image of the printed product. Then, use image analysis software to process these images and extract actual feature information such as the clarity of the text, whether there are missing characters, whether the lines of the charts are complete, and whether the colors are accurate. Organize this actual feature information for subsequent comparison with the previously obtained template feature information to determine whether the content of the printed product meets the standard requirements.

[0038] It should be noted that in some embodiments, there is a more efficient operation method, that is, to carry out relevant operations synchronously during the execution of step S102. Specifically, when transporting the corresponding printed products to the current packaging bag, the image of the printed product can be obtained synchronously by using the corresponding equipment, and the actual feature information can be extracted from it. In this way, time can be fully utilized, and while completing the basic task of product transportation, some subsequent required feature information can be collected in advance, improving the efficiency of the overall work process. At the same time, it has the effect of reducing the number of processes.

[0039] S108. Calculate the consistency score between the template feature information and the actual feature information; conduct content review according to whether the consistency score is higher than the preset score threshold.

[0040] Specifically, first compare the extracted template feature information with the actual feature information one by one, such as comparing whether the font and font size of the text are the same, and whether the shape, position, and content of the charts match. Then, use a specialized similarity calculation algorithm to quantitatively score the comparison of each feature. For example, if the text feature matching degree is high and most of the chart features also match, a relatively high consistency score will be obtained according to the algorithm rules. Next, compare this score with the preset score threshold. If the consistency score is higher than the preset score threshold, it means that the content of the currently sampled printed product generally meets the standard requirements and the content review passes.

[0041] In some specific embodiments, template feature information and actual feature information are input, and the system automatically uses image recognition and text analysis techniques to perform a comprehensive comparison of the geometric features, visual features and other multi-dimensional features of the two, and generates feature difference information.

[0042] It can be seen that obtaining the label information of the current packaging bag can clearly define the specific requirements corresponding to each packaging bag, laying the foundation for subsequent accurate packaging. Next, the theoretical total weight of the printed products in the current packaging bag is calculated based on the unit weight of the printed products and the unit weight of the current packaging bag, and the floating weight is determined based on the required number of printed products. The theoretical weight range is determined based on the floating weight and the theoretical total weight. These features cooperate with each other to determine a reasonable range based on objective weight data and quantity requirements. Finally, the weight information of the current packaging bag is obtained, and the quantity is reviewed based on whether the weight information is within the theoretical weight range. By comparing the actual weight with the theoretical range, the accuracy of the quantity can be quickly located, avoiding the drawbacks of the previous need to recheck all errors, improving the review efficiency, ensuring the steady progress of the packaging progress, and improving the accuracy and timeliness of the packaging as a whole. At the same time, by comparing the consistency of the template feature information with the actual features, it is further determined whether the printed product is placed in the wrong place.

[0043] In some specific embodiments, step S108 specifically includes: S1081, calculating the similarity score between the template feature information and the geometric features in the actual feature information; Specifically, first extract the geometric feature-related content from the template feature information, such as sorting out the shape parameters of each graphic in the electronic template, the position coordinates of each part and other geometric information, and also extract the corresponding geometric features on the actual printed product from the actual feature information. Then, use a special geometric feature comparison algorithm (such as a shape matching algorithm, a spatial position relationship comparison algorithm, etc.) to align the geometric features of the template with the actual geometric features one by one for comparative analysis. For example, compare two triangular patterns to see whether their side length ratios and angle sizes are similar. Finally, according to the algorithm's calculation logic, a score representing the similarity of the geometric features of the two is obtained. This score can intuitively reflect the degree of fit between the actual printed product and the standard template in terms of geometric features, and provide a partial basis for the subsequent comprehensive judgment of the accuracy of the content of the printed product.

[0044] S1082, calculating the similarity score between the template feature information and the visual features in the actual feature information; Specifically, first, extract the content related to visual features such as text color coding and graphic texture styles from the template feature information, and at the same time obtain the visual feature situation of the actual printed product from the actual feature information, such as the color value of the actual text presentation, the actual texture details of the chart, etc. Then, use specialized visual feature comparison algorithms (such as color similarity algorithms based on color space distance calculation, texture feature matching algorithms, image sharpness evaluation algorithms, etc.) to carefully compare the visual features of the template with the actual visual features. For example, when comparing text colors, check whether their distances in the color space are close (the smaller the distance, the more similar the colors); when comparing chart textures, check whether the texture patterns, densities, etc. match. Finally, according to the calculation logic of the algorithm, obtain a score reflecting the similarity of the two visual features. This score can intuitively reflect the degree of closeness between the actual printed product and the standard template in terms of visual presentation, providing another dimension of basis for subsequent comprehensive judgment.

[0045] S1083. Perform weighted synthesis on the geometric feature similarity score and the visual feature similarity score to obtain a consistency score.

[0046] It can be seen that calculating the similarity score of the geometric features in the template feature information and the actual feature information and measuring the similarity between the two from a geometric perspective can accurately capture the consistency in aspects such as shape and structure. Calculating the similarity score of the visual features in the template feature information and the actual feature information judges the similarity from the visual presentation level, such as color, texture, etc., and the two dimensions are evaluated separately.

[0047] In the actual use process, due to the comprehensive influence of factors such as human operation errors and the characteristics of the material process itself, there are often situations where the actual weights of the input packaging bags and printed products deviate from the preset weight. This deviation interferes with the accuracy of related packaging operations such as quantity verification based on weight information.

[0048] Please refer to Figure 2 , Figure 2 which is another process schematic diagram of the product packaging method for batch printing in the embodiments of the present application; After step S105, it further includes: S201. After successful quantity verification, determine the historical packaging bags of the same type as the current packaging bag according to the printed product subject information; In some embodiments, the printed product subject information of the current packaging bag is input into the system as a retrieval condition, and a query instruction is initiated; the system automatically filters out all historical packaging bag records that meet the subject information from the stored past packaging data, and these records contain detailed information of the packaging bag such as number, weight, quantity, etc.; the system generates a list of historical packaging bags according to the filtered records, and can be associated with the warehouse management system to locate the specific storage location of these historical packaging bags in the warehouse, facilitating the subsequent acquisition of information such as their weights.

[0049] S202. Obtain the historical weight information of the historical packaging bag; S203. Calculate the calculated product weight of the printed product according to the weight difference and the quantity difference; the quantity difference is the difference between the required quantity of the printed product of the current packaging bag and the required quantity of the printed product of the historical packaging bag; the weight difference is the difference between the difference in the weight information of the current packaging bag and the difference in the historical weight information. Specifically, first, according to the weight information of the current packaging bag and the historical packaging bag, subtract the weight of the historical packaging bag from the weight of the current packaging bag to calculate the weight difference; then, based on the required quantity of the printed product of both, subtract the required quantity of the historical packaging bag from the required quantity of the current packaging bag to obtain the quantity difference. Then, divide the weight difference by the quantity difference.

[0050] S204. Update the unit weight of the printed product with the average value of all the calculated product weights; the updated unit weight of the printed product is used for the quantity verification of the next packaging bag.

[0051] Specifically, first collect all the calculated product weights obtained through step S203, and then use the method of calculating the average value to calculate the average value of all the calculated product weights. Then, use this average value as the new unit weight of the printed product to replace the original unit weight value. The updated unit weight of the printed product can more accurately reflect the actual situation. After that, when performing relevant packaging operations such as quantity verification on the next packaging bag, calculations and judgments will be based on this updated and more accurate unit weight, thereby improving the accuracy of the packaging operation based on weight judgment and reducing packaging errors caused by weight deviation.

[0052] It can be seen that after the quantity verification is successful, the historical packaging bags of the same type as the current packaging bag are determined according to the printing product subject information, and the packaging bags of the same type are screened out by means of the subject information, which is convenient for subsequent comparative analysis. The historical weight information of the historical packaging bags is obtained. The quantity difference is the difference between the quantity of the printing products required for the current packaging bag and the quantity of the printing products required for the historical packaging bags; the weight difference is the difference between the difference in the weight information of the current packaging bag and the difference in the historical weight information. These two sets of differences are used to accurately quantify the difference situation. Then, the calculated product weight of the printing products is calculated according to the weight difference and the quantity difference. Based on rigorous calculations, a more realistic product weight is obtained. The average value of all the calculated product weights is used to update the unit weight of the printing products; the updated unit weight of the printing products is used for the quantity verification of the next packaging bag. By updating the unit weight, subsequent packaging bags can be based on a more accurate weight standard during quantity verification, gradually correcting the weight deviation caused by factors such as human factors and material processes, making the quantity verification more accurate, and improving the reliability of the sub-packaging operation based on weight judgment.

[0053] After step S203, it further includes: S205. Substitute the historical weight information and the corresponding calculated product weight into the linear relationship model. The slope of the linear relationship model is the calculated product weight, and the intercept of the linear relationship model is used as the calculated packaging bag weight; Specifically, first, the historical weight information of each historical packaging bag collected and sorted out is extracted in turn, and at the same time, the corresponding calculated product weight values calculated before are corresponded. Then, these data are substituted into the set linear relationship model, that is, the calculated product weight is used as the slope of the model. According to the principle of linear relationship and the corresponding mathematical calculation methods (such as knowing a point on a straight line and the slope can determine the straight line equation, and then solving the intercept through this point of historical weight information), the intercept is calculated through calculation, and the value of this intercept is the required calculated packaging bag weight. In this way, the relevant information of the packaging bag weight can be deeply mined by means of the linear relationship model, providing a basis for further optimizing the weight judgment of the current packaging bag in the future.

[0054] S206. Update the weight information of the current packaging bag with the average value of all the calculated packaging bag weights; the updated weight information of the current packaging bag is used for the quantity verification of the next packaging bag.

[0055] Specifically, first collect all calculated packaging bag weight values obtained through step S205, and then use the average method, such as using a calculator or special data processing software to calculate, to obtain the average value of all calculated packaging bag weights. Then, use this average value as the new weight information of the current packaging bag to replace the original recorded weight information value of the current packaging bag. The updated weight information of the current packaging bag can more accurately reflect its actual weight. Afterwards, when performing related packaging operations such as quantity review on the next packaging bag, calculations and judgments will be performed based on this updated and more accurate weight information of the current packaging bag, thereby further improving the accuracy of the weight judgment based on the packaging operation and reducing packaging errors caused by packaging bag weight deviations.

[0056] It can be seen that the introduction of the historical weight information and the corresponding calculated product weight into the linear relationship model, the slope of the linear relationship model is the calculated product weight, the intercept of the linear relationship model is used as the calculated packaging bag weight, and the linear relationship model is used to deeply integrate and analyze the historical data and the current calculation results to dig out the reasonable value of the packaging bag weight. Subsequently, the weight information of the current packaging bag is updated with the average value of all calculated packaging bag weights; the updated weight information of the current packaging bag is used for the quantity review of the next packaging bag. By updating the current packaging bag weight information, the next round of quantity review work can have a more accurate weight reference, effectively make up for the deviation between the actual weight and the preset weight, and continuously optimize the weight-based packaging operation.

[0057] In actual use, especially when a large number of test paper bags are involved, the feature comparison process is time-consuming and inefficient due to the huge amount of data to be compared. This not only slows down the overall progress of the packaging work, but may also affect the timely and accurate distribution of subsequent teaching materials and other printed products to the corresponding classes.

[0058] See also Figure 3 , Figure 3 This is a specific flow chart of steps S106 to S108 in the embodiment of the present application; S106 to S108 specifically include: S301, extracting the pre-stored electronic template of the printed product according to the printed product subject information; S302, extracting first characteristic information of the cover in the electronic template of the printed product; and recording first position information of the first characteristic information; Specifically, use specialized image recognition software or document editing tools to open the extracted electronic template of the printed product, then focus on the cover part of the template. Through the feature extraction function of the software, identify and extract the first feature information such as the font format (such as Song typeface, Hei typeface, etc.), font size (such as No. 2 font), color (such as red), and the shape, size, and coordinate position in the page of specific patterns on the cover (such as the school logo). At the same time, use the positioning function of the software to accurately record the specific first position information where these first feature information are located on the cover page. Organize these feature information and the corresponding position information to provide clear reference content for subsequent feature comparison with the actual printed product image.

[0059] It should be noted that the cover, as the primary display surface presented to users for the printed product, often contains many key elements with high recognition and representativeness.

[0060] S303. Randomly extract a number of second feature information from the electronic template of the printed product based on the preset area size, and record the corresponding number of second position information; Specifically, first, according to the preset area size, for example, determine a rectangular preset area. Then, in the electronic template of the printed product, through the random selection function of the software (which can be based on a random number generation algorithm to determine the starting coordinates, etc.), randomly determine several such areas at different positions in the template. For each selected area, use functions such as image recognition and text analysis to extract second feature information such as the special layout of text and local details of charts. At the same time, use the positioning function of the software to accurately record the corresponding second position information of each second feature information in the template. Organize these second feature information and their corresponding position information in one-to-one correspondence to further enrich the content of feature information for subsequent comparison and more comprehensively check the accuracy of the printed product content.

[0061] S304. Obtain the image of the printed product according to the preset sampling ratio; S305. Obtain the third feature information of the image of the printed product according to the first position information; Specifically, first, retrieve the first position information recorded in step S302 from the previously organized relevant information of the electronic template. Then, guided by these position information, on the image of the printed product that has been obtained, through functions such as positioning and recognition of image processing software, find the image content at the corresponding positions, and extract third feature information such as the actual font, font size, color of the text, and the actual shape and size of the pattern. Organize and extract these third feature information so as to compare with the first feature information in the electronic template later to check whether the actual printed product meets the requirements of the standard template in terms of key cover features.

[0062] S306. Determine whether the first feature information is consistent with the third feature information; Specifically, first extract the previously extracted and sorted first feature information and third feature information, and then for each corresponding feature item. For example, first compare the font of the title to see if it is Song typeface; then compare the font size to see if it is all No. 2 font; then compare the color to see if it is all red, etc. In this order, conduct a detailed comparison of the features in aspects such as text and patterns one by one. A certain allowable error range can be set according to the actual situation. For example, a slight color difference is allowed in terms of color. If all features are consistent within the allowable range, then it is determined that the first feature information is consistent with the third feature information; if one or more features are inconsistent beyond the allowable range, then it is determined that the two are inconsistent, so as to initially judge whether the actual printed product meets the requirements of the standard template in the cover part and provide a basis for further feature comparison later.

[0063] If they are inconsistent, the content review fails.

[0064] If they are consistent, then S307. Randomly select an unused second position information and obtain the fourth feature information of the image of the printed product; Specifically, when it is determined that the first feature information is consistent with the third feature information, it is necessary to further deeply compare other features to ensure the accuracy of the content of the printed product. At this time, by checking all the previously recorded second position information, screen out the unused second position information from it, and then use a random selection method (tools such as a random number generator can be used) to select one of the unused second position information, and then use this position information as a guide to use image processing software to find the corresponding position on the image of the printed product, and extract the fourth feature information such as text layout details and specific chart styles from this position, and extract this fourth feature information to prepare for subsequent comparison with the second feature information in the electronic template, so as to gradually expand the comparison range and more comprehensively check whether the content of the printed product meets the standard requirements.

[0065] S308. Determine whether the second feature information is consistent with the fourth feature information; Specifically, first extract the previously extracted and sorted second feature information and fourth feature information, and then for each corresponding feature item. For example, for the text layout feature, compare whether the character spacing, line spacing, etc. are consistent; for the chart feature, compare whether the line thickness, color filling, etc. are consistent. In this order, conduct a detailed comparison of different types of features one by one. Similarly, a certain allowable error range can be set according to the actual situation. For example, a slight difference in line thickness is allowed, etc. If all features are consistent within the allowable range, then it is determined that the second feature information and the fourth feature information are consistent; if one or more features are inconsistent beyond the allowable range, then it is determined that the two are inconsistent, so as to further judge whether the actual printed product meets the requirements of the standard template in other areas except the cover, and provide a basis for subsequent operations such as whether to continue in-depth comparison, etc.

[0066] If they are consistent, return to step S108.

[0067] If they are inconsistent, the content review fails.

[0068] It can be seen that according to the printed product subject information, extract the pre-stored electronic template of the printed product, obtain the template feature information of the printed product, first extract representative feature information from the electronic template; and record the first position information of the first feature information; randomly extract several second feature information from the printed product electronic template based on the preset area size, and record the corresponding several second position information, accurately locate the key features and positions, and narrow the comparison range. Obtain the image of the printed product according to the preset sampling ratio; obtain the third feature information of the image of the printed product according to the first position information, compare the image features according to the corresponding positions, and if they are consistent, randomly select an unused second position information to obtain the fourth feature information of the image of the printed product; judge whether the second feature information is consistent with the second feature information; if they are consistent, return to the step of randomly selecting an unused second position information to obtain the fourth feature information of the image of the printed product. By using this way of gradually verifying and circularly judging, it avoids the non-discriminatory comparison of all image data, reduces the amount of data for feature comparison, speeds up the comparison speed, enables the content review link to be completed efficiently, ensures that the packaging work can be advanced on time, and guarantees the timely and accurate distribution of teaching materials to classes.

[0069] In the actual use process, if the method of simply accumulating all floating weights to determine the theoretical weight range is adopted, it is very easy to cause the determined theoretical weight range to be too broad, and then there will be a situation where the actual number of printed products is incorrect but is misjudged as correct. This situation will undoubtedly have a serious impact on the quantity accuracy of the packaged products.

[0070] Please refer to Figure 4 , Figure 4It is another process schematic diagram of the product packaging method for batch printing in the embodiments of the present application; Before step S104, it further includes: S401. Determine the target interval in the preset floating table according to the required number of printed products; the preset floating table includes several intervals arranged from small to large, and the corresponding thresholds of the intervals are arranged from large to small; Among them, the preset floating table is a formulated data table, which contains several intervals arranged from small to large in sequence. Each interval corresponds to a specific threshold, and these thresholds show a pattern of decreasing from large to small, just like a standard reference table divided into different levels, which is used to accurately locate the appropriate range interval according to different product quantity situations.

[0071] Specifically, input the current required number of printed products in the system interface and initiate a query command; in the second step, the system automatically performs a matching search in the stored floating table data, and through algorithm comparison (such as judging whether the quantity is within the range of each interval), quickly locates the corresponding target interval, and then feeds back the detailed information of the target interval (including the interval range, the corresponding threshold, etc.) to the operation interface in the form of data, and stores the target interval information in the relevant parameter configuration of the current packaging task for convenient subsequent process calls.

[0072] S402. Adjust the floating weight according to the threshold corresponding to the target interval; Specifically, first find the threshold corresponding to the target interval determined in step S401 from the preset floating table, and then adjust the originally initially set or default floating weight according to this threshold, such as directly using the threshold as the new floating weight, or adjusting it in a certain proportion by combining the threshold and the original floating weight, etc., to obtain the adjusted floating weight value.

[0073] S403. Obtain the cumulative weight deviation, and the cumulative weight deviation is the sum of the differences between the theoretical total weights and the weight information of different packaging bags; Specifically, first collect the relevant weight data of each packaging bag that has been completed for packaging, that is, obtain the theoretical total weight of each packaging bag (which can be found from the previous calculation records) and the actually measured weight information (obtained by checking the weighing records or weighing again). Then, for each packaging bag, calculate the difference between its theoretical total weight and the weight information. Next, sum up these differences of all packaging bags, and calculate through a calculator or special data processing software to finally obtain the cumulative weight deviation value, which can provide key data support for subsequent judgment of whether the theoretical weight range is reasonable and how to adjust it.

[0074] S404. Adjust the theoretical weight range according to the cumulative weight deviation.

[0075] In some embodiments, a fixed positive deviation adjustment value is set. When the cumulative weight deviation is a positive deviation, the upper limit of the theoretical weight range is increased by this fixed value each time. That is, whenever a cumulative weight deviation occurs, regardless of the specific value of the deviation, as long as it is a positive deviation, the upper limit of the theoretical weight range is increased by a preset value.

[0076] Similarly, a fixed negative deviation adjustment value is set. When the cumulative weight deviation is a negative deviation, the lower limit of the theoretical weight range is decreased by this fixed value each time. That is to say, as long as a cumulative weight deviation with a negative deviation occurs, the lower limit of the theoretical weight range is decreased by a preset value.

[0077] In other embodiments, calculate the ratio of the cumulative weight deviation to the current theoretical total weight, and then multiply this proportionality coefficient by the initial upper and lower limits of the theoretical weight range respectively. The obtained values are used as the adjustment amounts for the upper and lower limits respectively to adjust the upper and lower limits of the theoretical weight range.

[0078] It can be seen that the target interval in the preset floating table is determined according to the required number of printed products; the preset floating table includes several intervals arranged from small to large, and the corresponding thresholds of the intervals decrease from large to small; the floating weight is adjusted according to the threshold corresponding to the target interval. First, accurately locate the appropriate interval in the preset floating table according to the quantity, and then adjust the floating weight accordingly, making the determination of the floating weight more scientific and reasonable and avoiding randomness. After determining the theoretical weight range based on the floating weight and the theoretical total weight, the cumulative weight deviation is obtained. The cumulative weight deviation is the sum of the differences between the theoretical total weights of different packaging bags and the weight information; the theoretical weight range is adjusted according to the cumulative weight deviation, and the theoretical weight range is adjusted by using the cumulative deviation feedback, and the two-way optimization makes the theoretical weight range more in line with the actual situation, effectively preventing the problem of incorrect quantity judgment caused by the range being too large due to simply adding the floating weights.

[0079] Next, an exemplary product packaging system 500 for batch printing provided by the embodiments of the present application will be introduced. Figure 5 It is an exemplary hardware structure diagram of the product packaging system 500 for batch printing provided by the embodiments of the present application.

[0080] In some embodiments, the batch printing product packaging system 500 is a computer device or the batch printing product packaging system 500 includes a computer device. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with other external terminals or servers through a network connection. In some embodiments, the network interface can be a wired network interface, and in some embodiments, the network interface can also be a wireless network interface. The computer program, when executed by the processor, implements the method in the embodiments of the present application.

[0081] Those skilled in the art can understand that Figure 5 the structure shown in is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0082] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0083] As used in the above embodiments, depending on the context, the term when... can be interpreted to mean if... or after... or in response to determining... or in response to detecting.... Similarly, depending on the context, the phrase when determining... or if detecting (the stated condition or event) can be interpreted to mean if determining... or in response to determining... or when detecting (the stated condition or event) or in response to detecting (the stated condition or event).

[0084] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive), etc.

[0085] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by a computer program instructing relevant hardware. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the above method embodiments. The foregoing storage medium includes: various media that can store program codes such as ROM or random access memory RAM, magnetic disks, or optical discs.

Claims

1. A method for product sub-packaging in batch printing, characterized in that, Including: Obtain the label information of the current packaging bag; the label information includes the school, class, quantity of printing products required, and printing product subject information; Convey the corresponding printing products to the current packaging bag according to the label information; After the conveying is completed, calculate the theoretical total weight of the printing products in the current packaging bag according to the unit weight of the printing products and the unit weight of the current packaging bag; Determine the floating weight according to the quantity of printing products required, and determine the theoretical weight range based on the floating weight and the theoretical total weight; Obtain the weight information of the current packaging bag, and perform quantity verification according to whether the weight information is within the theoretical weight range; According to the printing product subject information, extract the pre-stored electronic template of the printing product, and obtain the template feature information of the printing product; Obtain the image of the printing product according to the preset sampling ratio; And obtain the actual feature information of the image of the printing product; Calculate the consistency score between the template feature information and the actual feature information; perform content verification according to whether the consistency score is higher than the preset score threshold.

2. The method according to claim 1, characterized in that, After the step of obtaining the weight information of the current packaging bag and performing quantity verification according to whether the weight information is within the theoretical weight range; After the quantity verification is successful, determine the historical packaging bags of the same type as the current packaging bag according to the printing product subject information; Obtain the historical weight information of the historical packaging bags; Calculate the calculated product weight of the printing products according to the weight difference and the quantity difference; the quantity difference is the difference between the quantity of printing products required for the current packaging bag and the quantity of printing products required for the historical packaging bag; the weight difference is the difference between the difference in the weight information of the current packaging bag and the difference in the historical weight information; Update the unit weight of the printing products with the average value of all the calculated product weights; The updated unit weight of the printing products is used for quantity verification of the next packaging bag.

3. The method according to claim 2, characterized in that, After the step of calculating the calculated product weight of the printing products according to the weight difference and the quantity difference, the method further includes: Substitute the historical weight information and the corresponding calculated product weight into the linear relationship model, the slope of the linear relationship model is the calculated product weight, and the intercept of the linear relationship model is used as the calculated packaging bag weight; Update the weight information of the current packaging bag with the average value of all the calculated packaging bag weights; the updated weight information of the current packaging bag is used for quantity verification of the next packaging bag.

4. The method according to claim 1, wherein According to the printing product subject information, extract the pre-stored electronic template of the printing product, and obtain the template feature information of the printing product; Obtain the image of the printing product according to the preset sampling ratio; And obtain the actual feature information of the image of the printing product; Calculate the consistency score between the template feature information and the actual feature information; The step of performing content verification according to whether the consistency score is higher than the preset score threshold specifically includes: Extract the pre-stored electronic template of the printing product according to the printing product subject information; Extract the first feature information of the cover in the electronic template of the printed product; and record the first position information of the first feature information; Randomly extract a number of second feature information in the electronic template of the printed product based on a preset area size, and record the corresponding number of second position information; Obtain the image of the printed product according to a preset sampling ratio; Obtain the third feature information of the image of the printed product according to the first position information; Judge whether the first feature information is consistent with the third feature information; If they are consistent, randomly select an unused second position information, and obtain the fourth feature information of the image of the printed product; Judge whether the second feature information is consistent with the fourth feature information; If they are consistent, return to the step of randomly selecting an unused second position information and obtaining the fourth feature information of the image of the printed product; 5. The method according to claim 1, characterized in that, Before the step of determining the theoretical weight range based on the floating weight and the theoretical total weight, the method further includes: Determine the target interval in the preset floating table according to the required number of printed products; the preset floating table includes a number of intervals arranged from small to large, and the thresholds corresponding to the intervals decrease from large to small; Adjust the floating weight according to the threshold corresponding to the target interval; After the step of determining the theoretical weight range based on the floating weight and the theoretical total weight, the method further includes: Obtain the cumulative weight deviation, which is the sum of the differences between the theoretical total weights of different packaging bags and the weight information; Adjust the theoretical weight range according to the cumulative weight deviation; 6. The method according to claim 1, wherein The step of calculating the consistency score between the template feature information and the actual feature information specifically includes: Calculate the similarity score of the geometric features in the template feature information and the actual feature information; Calculate the similarity score of the visual features in the template feature information and the actual feature information; Perform weighted synthesis on the geometric feature similarity score and the visual feature similarity score to obtain the consistency score; 7. A product sub-packaging process for batch printing, characterized in that, Include: Attach the label information to the packaging bag; the label information includes the school, class, required number of printed products, and printed product subject information; Transport the packaging bags to below the discharge port of the printing equipment one by one through a rotary device; Set a counting device and a scanning and identification device at the discharge port; After the scanning and identification device obtains the label information on the current packaging bag, send the corresponding label information to the host; The host controls the counting device and the printing device to convey the corresponding printed products to the packaging bag; After the conveying is completed, determine the floating weight according to the required number of printed products, and determine the theoretical weight range based on the floating weight and the theoretical total weight; Determine the floating weight according to the required number of printed products, and determine the theoretical weight range based on the floating weight and the theoretical total weight; The rotary device moves the current packaging bag to the review area, obtains the weight information of the current packaging bag, and performs quantity review according to whether the weight information is within the theoretical weight range; In the verification device, according to the printed product subject information, a pre-stored electronic template of the printed product is extracted, and the template feature information of the printed product is obtained; In the verification device, an image of the printed product is obtained according to a preset sampling ratio; And the actual feature information of the image of the printed product is obtained; In the verification device, a consistency score between the template feature information and the actual feature information is calculated; Content verification is performed according to whether the consistency score is higher than a preset score threshold; If the verification is correct, the bag is sealed; The current packaging bag after sealing is stacked centrally according to the school in the label information.

8. A product sub-packaging system for batch printing, characterized in that, The product sub-packaging system for batch printing includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the product sub-packaging system for batch printing to execute the method according to any one of claims 1-7.

9. A computer program product comprising instructions, characterized in that, When the computer program product runs on the product sub-packaging system for batch printing, the product sub-packaging system for batch printing is enabled to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, comprising instructions, characterized in that, When the instruction runs on the product sub-packaging system for batch printing, the product sub-packaging system for batch printing is enabled to execute the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Visual detection method, device and system for printed matter

    CN106383131A

  • Construction method of packaging mistake-proofing system

    CN106586134A

  • Image-text printing quality analysis system based on machine vision

    CN119131809A

  • Resource recycling intelligent management method and device and electronic equipment

    CN119565935A

  • Automated shipping processor line and method for automatically shipping packages

    US20190352100A1