A weight data processing method based on an electric flattening machine and the electric flattening machine
Patent Information
- Application Number
- CN202511827798.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-05
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2045-12-05
AI Technical Summary
[0005]为了避免证书种类多导致无法准确识别证书数量的问题,本发明提供一种基于电动压平机的重量数据处理方法及电动压平机
1.通过证书的总重量计算不同证书的数量,结果不唯一时再根据证书的高度进行筛选,实现电动压平机的重量数据处理,使得证书可以精准计算出各种种类对应的数量;
Smart Images

Figure CN121655662B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of weight data processing technology for flattening machines, and in particular to a weight data processing method based on an electric flattening machine and an electric flattening machine. Background Technology
[0002] In the batch processing of paper documents such as certificates and archives, electric flatteners are key equipment for achieving document flattening and standardization. Their collaborative processing capability with weight data is a core element in ensuring the accuracy and consistency of document counting. Especially in the management of legally valid documents such as real estate ownership certificates and academic certificates, it is necessary to verify the integrity of each document by checking the weight data after flattening, and to quickly calculate the batch quantity by combining the total weight, replacing the traditional manual counting mode to meet the needs of large-scale management.
[0003] Currently, for the flattening and counting of multiple types of certificates, the different types of certificates are first completely separated manually and then placed into the equipment in batches according to the type. For each type, the flattening parameters and weight standards are preset and matched. The quantity is counted by weighing or visual counting. When switching types, the equipment parameters need to be readjusted manually. In a few standardized scenarios, the equipment can be automatically adjusted by using the certificate's unique identifier or dual features of weight and height.
[0004] Regarding the aforementioned technologies, in practical applications, different types of vouchers have variations in paper weight, number of inner pages, and binding structure, resulting in different standard weights for each voucher. Consequently, the inadequacy of compatibility among various types of vouchers and the lack of flexibility in data processing significantly reduce the accuracy of measurement and counting when weighing and counting multiple certificates. Summary of the Invention
[0005] To avoid the problem of inaccurate identification of the number of certificates due to the large variety of certificates, this invention provides a weight data processing method based on an electric flattening machine and an electric flattening machine.
[0006] In a first aspect, the present invention provides a weight data processing method based on an electric flattening machine, employing the following technical solution: A method for processing weight data based on an electric flattening machine, comprising: Step S1: In response to a preset statistical signal, obtain the input type; Step S2: Find the corresponding standard single-piece weight based on the input type; Step S3: Obtain the total weight of the certificate; Step S4: Calculate the initial number of certificate groups based on the input type, standard single-piece weight, and total certificate weight; Step S5: If the number of initial certificate groups is 1, map the input types to the corresponding number of certificates in the initial certificate groups and output the result. Step S6: If the number of initial certificate groups is not 1, obtain the total certificate height; Step S7: Find the corresponding standard height based on the input type; Step S8: Calculate the number of height certificate groups based on the input type, standard height, and total certificate height; Step S9: When there is a common set of conditions between the initial certificate quantity group and the advanced certificate quantity group, define the certificate quantity group as the final certificate quantity group; Step S10: Establish a mapping relationship between the input types and the number of certificates corresponding to the final certificate quantity group, and output the result; By adopting the above technical solution, the number of certificates can be initially calculated based on the certificate type and certificate weight. If multiple results exist, the certificate height can be combined for further calculation. Subsequently, the certificate type and corresponding quantity are output together. This allows the system to calculate the number of certificates based on the certificate type, weight, and height data, avoiding the problem of not being able to calculate the number of certificates due to the non-uniqueness of certificate types, and improving the accuracy and flexibility of certificate quantity calculation.
[0007] Optionally, a method for verifying the input type and the corresponding number of certificates may also be included, the method comprising: Step S11: Obtain the certificate image; Step S12: Determine the certificate QR code based on the certificate image; Step S13: Determine the type of the top-level push certificate through the certificate QR code, and define the standard height corresponding to the type of push certificate as the push standard height; Step S14: Calculate the moving height based on the total height of the certificate and the standard moving height; Step S15: Move the certificates corresponding to the move certificate types according to the move height to obtain the updated height; Step S16: Obtain the removal height by updating the height and the total certificate height; Step S17: Determine the rejection category based on the rejection height and the input category; Step S18: Determine the corresponding number of items to be removed based on the type of item to be removed; Step S19: If the input type matches the removal type, obtain the corresponding number of certificates based on the removal type and the final number of certificates. Step S20: If the input category is inconsistent with the removed category, update the input category based on the removed category to obtain the accurate category; Step S21: Obtain the corresponding number of certificates based on the accurate type and the final number of certificates; Step S22: If the number of certificates to be removed is the same as the number of certificates, establish a mapping relationship between the input types and the number of certificates, and then output the result. Step S23: If the number of certificates to be removed is inconsistent with the number of certificates, continue to execute steps S11 to S21 until the number of certificates to be removed is consistent with the number of certificates. Then, establish a mapping relationship between the accurate types and the number of certificates and output the results.
[0008] By adopting the above technical solution, the type of certificate to be moved is determined by recognizing the QR code in the certificate image. The moving height is calculated by combining the total height and the standard height, and the moving operation is completed. Then, the type to be removed is locked by the removal height, and the number of removals is counted. Finally, the corresponding number of removals and the number of certificates in the final certificate group are used as the benchmark for cyclical verification. This avoids statistical deviations caused by initial type input errors and mixed certificates, and further improves the accuracy and reliability of certificate quantity calculation.
[0009] Optionally, methods for determining the type of the topmost migration certificate via the certificate QR code include: Step S130: If the certificate QR code cannot be recognized, obtain the side height image; Step S131: Determine the corresponding damage certificate height based on the side height image; Step S132: Determine the damage type based on the damage certificate height and the input type; Step S133: If the certificate QR code can be recognized, then determine the certificate type through the certificate QR code; Step S134: Determine the type of certificate to be moved based on the type of damage and the type of certificate.
[0010] By adopting the above technical solution, different methods are used to determine the certificate type under different circumstances, and finally the type of the certificate is uniformly determined. This allows the system to flexibly adapt to different situations, such as intact and damaged QR codes, avoiding the problem of not being able to identify the type of certificate due to damaged QR codes, and ensuring the continuity and accuracy of the identification of the type of certificate.
[0011] Optionally, it also includes a method for outputting the input type and the corresponding final certificate number group if the number of final certificate number groups is not 1. This method includes: Step S24: Move the certificates corresponding to the types of certificates to be moved according to the moving height and count the number of certificates to be removed; Step S25: Determine the number of certificates based on the final certificate quantity group; Step S26: If the number of certificates is greater than or equal to the number of certificates to be removed, obtain the number of compliance groups based on the number of certificates to be removed and the number of certificates corresponding to the final number of certificate groups; Step S27: If the number of compliance groups is equal to 1, determine the number of compliance certificate groups based on the number of compliance groups and the final number of certificate groups; Step S28: If the number of compliance groups is greater than 1, repeat steps S24 to S26 until the number of compliance groups is equal to 1, and determine the number of compliance certificate groups. Step S29: Map the input types to the corresponding number of compliance certificates and output the mapping relationship.
[0012] By adopting the above technical solution and performing a step-by-step process on the certificates, the result of the certificate quantity group is unique, avoiding statistical ambiguity caused by multiple quantity groups, and further improving the accuracy and uniqueness of the certificate quantity calculation.
[0013] Optionally, methods for mapping input types to corresponding groups of compliance certificates and outputting the mapping include: Step S290: Obtain the number of compliant certificates based on the compliant certificate quantity group; Step S291: Calculate the standard total weight range based on the number of compliance certificates and the corresponding standard single-piece weight; Step S292: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height; Step S293: If the total weight of the certificate does not fall within the standard total weight range, move the certificate according to the moving height to obtain the updated total weight, the types to be removed, and the corresponding standard single piece weight; Step S294: Calculate the weight to be removed by updating the total weight and the total certificate weight; Step S295: If the rejected weight is inconsistent with the standard single-piece weight, define the rejected type as an abnormal type; Step S296: If the weight of the rejected item is consistent with the standard single item weight, continue to execute steps S293 to S294 to obtain the type of anomaly; Step S297: Determine the number of certificate groups to be rejected based on the updated total weight, standard single-piece weight, and input type; Step S298: Count the number of removals by type of removal, and count the number of anomalies by type of anomaly; Step S299: Obtain the compliant certificate count group based on the number of certificates removed and the group of removed certificates; Step S300: Establish a mapping relationship between the input types and the corresponding number of compliance certificates, and output the mapping. Step S301: Establish and output a mapping relationship between the types of exceptions and the corresponding number of exceptions.
[0014] By adopting the above technical solution, the system first analyzes whether the total weight of the certificates can be matched, then identifies the types of anomalies by comparing the weight of the removed certificates with the standard single-item weight, redetermines the number of compliant certificates, and finally outputs the mapping relationship between compliant types and quantities, and between anomaly types and quantities. This ensures that the system can accurately calculate the number of compliant certificates and improve the comprehensiveness and reliability of certificate quantity processing.
[0015] Optional, also includes: Step S302: Determine the types and quantities to be retained based on the types and quantities to be removed; Step S303: Find the standard retention weight based on the retention type; Step S304: Calculate the corresponding range of total standard retention weight based on the standard retention weight and retention quantity; Step S305: If the updated total weight does not fall within the standard retained total weight range, execute steps S293 to S301 to obtain the anomaly type and number and output them until the updated total weight falls within the standard retained total weight range. Step S306: If the updated total weight falls within the standard retained total weight range, steps S293 to S301 are not executed.
[0016] By adopting the above technical solution, by determining the types and quantities of retained certificates, calculating the corresponding standard total weight range of retained certificates, and then analyzing the updated total weight to select whether to repeat the operation or stop, the system can ensure the consistency between the number and weight of retained certificates through closed-loop verification of the retained weight, thereby improving the accuracy and reliability of certificate quantity statistics.
[0017] Optionally, methods for obtaining and outputting the types and number of exceptions include: Step S3050: Obtain the number of pushes; Step S3051: Obtain a rejection certificate based on the rejection category; Step S3052: Number the rejection certificates according to the number of times they are moved to obtain rejection numbers; Step S3053: Establish and output the mapping relationship between the anomaly type, the removal label and the number of anomalies.
[0018] By adopting the above technical solution, the system obtains the number of shifts and labels the removal certificates, and then outputs the mapping relationship between the anomaly type, the number of anomalies and the corresponding removal labels. This enables the system to uniquely identify and trace the anomaly type, improving the completeness and traceability of the anomaly information output.
[0019] Optionally, a method for updating the input type may also be included, which includes: Step S230: Obtain the certificate type based on the certificate QR code; Step S231: If the certificate type matches the input type, do not update the input type; Step S232: If the code certificate type is inconsistent with the input type, update the input type according to the code certificate type to obtain the updated certificate type.
[0020] By adopting the above technical solution, the system compares the type of the QR code certificate with the input type. If they match, the system does not update; otherwise, it updates the input type with the type of the QR code certificate. This allows the system to use the QR code to verify and correct input type errors, ensuring the accuracy of the input type.
[0021] Optionally, it also includes a method for not moving the certificate sequentially according to the moving height if the total weight of the certificate does not fall within the standard total weight range. This method includes: Step S2930: Obtain impurity information by using the certificate image, the side height image, and preset impurity features; Step S2931: If impurity information exists, obtain the impurities based on the impurity information and move the impurities to re-obtain the total certificate weight; Step S2932: If the total weight of the certificate does not fall within the standard total weight range and the impurity information does not exist, move the certificate according to the moving height until the impurity information exists; Step S2933: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height to remove impurities.
[0022] By adopting the above technical solution, it is possible to determine whether there are impurities on the certificate surface that affect the calculation of the certificate quantity based on the image. Cleaning the impurities ensures the accuracy of the total certificate weight, avoids the impact of impurities on the calculation of the certificate quantity, makes the calculation of the certificate quantity more accurate, and improves the efficiency and accuracy of weight calibration.
[0023] Secondly, the present invention provides an electric flattening machine, which adopts the following technical solution: An electric flattening machine is used in a weight data processing method based on an electric flattening machine as described above, comprising a machine body, a pressing plate disposed on the machine body, and a pushing component disposed on the pressing plate for pushing a certificate. The machine body includes a base, a weighing platform disposed on the base for weighing certificate weight, and an adjusting rod disposed on the base. The pressure plate is slidably connected to the adjusting rod. The pushing assembly includes a telescopic rod slidably connected to the pressure plate and a telescopic push plate. The telescopic push plate is fixedly connected to the end of the telescopic rod away from the pressure plate.
[0024] By adopting the above technical solution, the weighing platform of the machine can accurately weigh the total weight of the certificate. The adjusting rod, together with the pressing plate, can flatten and adjust the position of the certificate. The telescopic rod of the pushing component drives the telescopic push plate to complete the pushing action of the certificate. All components work together to enable the electric flattening machine to calculate the number of certificates based on the weight and the above method, thereby improving the coordination and reliability of data processing and equipment operation.
[0025] In summary, the present invention has at least one of the following beneficial technical effects: 1. Calculate the number of different certificates based on the total weight of the certificates. If the result is not unique, filter the certificates based on their height. This enables the electric flattening machine to process weight data and accurately calculate the number of certificates for each type. 2. In cases where the number of certificates cannot be accurately calculated based on weight and height due to special circumstances, the certificates are moved by a pushing device to further filter the results, making the certificate count more accurate and avoiding situations where the certificate count result is not unique due to special circumstances. Attached Figure Description
[0026] Figure 1 This is a structural diagram of an embodiment of an electric flattening machine according to this application; Figure 2 This is an embodiment of the present application. Figure 1 A magnified view of part A in the middle; Figure 3 This is a flowchart of a weight data processing method based on an electric flattening machine according to an embodiment of this application; Figure 4 This is a flowchart of a method for outputting the input type and the corresponding final certificate number group when the number of the final certificate number group is not 1, according to an embodiment of this application.
[0027] The parts referred to by the numbers in the above attached diagrams are as follows: 1. Machine body; 11. Base; 12. Weighing platform; 13. Adjusting rod; 2. Pressure plate; 3. Pushing assembly; 31. Telescopic rod; 32. Telescopic push plate. Detailed Implementation
[0028] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0029] This invention discloses an electric flattening machine.
[0030] Reference Figure 1 and Figure 2 An electric flattening machine includes a body 1, a pressing plate 2, and a pushing assembly 3. The body 1 includes a base 11, a weighing platform 12, and adjusting rods 13. The weighing platform 12 is mounted on the base 11 for weighing certificates. There are two adjusting rods 13, which are fixedly connected to the base 11. The pressing plate 2 is slidably connected to the adjusting rods 13, and the pressing plate 2 flattens the certificates by moving up and down on the adjusting rods 13.
[0031] The pushing assembly 3 includes a telescopic rod 31 and a telescopic push plate 32. One end of the telescopic rod 31 is slidably connected to one side of the pressure plate 2. The telescopic push plate 32 is fixedly connected to the end of the telescopic rod 31 away from the pressure plate 2. When the telescopic push plate 32 needs to be moved, its position can be adjusted by the horizontal movement and vertical extension / retraction of the telescopic rod 31.
[0032] The pressing plate 2 flattens the certificate by sliding up and down the adjusting rod 13. After flattening, the weighing platform 12 weighs the certificate to obtain its total weight. When the certificate needs to be moved due to weight or other factors, the telescopic rod 31 moves and adjusts its height so that the telescopic push plate 32 is aligned with the certificate to be moved. After the position adjustment is completed, the telescopic push plate 32 moves the certificate.
[0033] Based on the same inventive concept, this invention discloses a weight data processing method based on an electric flattening machine.
[0034] Reference Figure 3 A method for processing weight data based on an electric flattening machine, comprising: Step S1: In response to a preset statistical signal, obtain the input type.
[0035] The statistical signal refers to the signal indicating the imminent calculation of the number of certificates. The response here is via an electrical signal button on the electric flattening machine; pressing the button triggers the response.
[0036] The input type refers to the types of certificates that need to be counted. This is obtained by staff inputting the certificate type into the existing control terminal of the electric flattening machine, such as a touchscreen control terminal or a terminal with physical buttons and a digital display screen.
[0037] Step S2: Find the corresponding standard single-piece weight based on the input type.
[0038] The standard unit weight refers to the rated weight of a certificate under standard conditions. Standard conditions here include no moisture, no missing pages, no extraneous materials, and the paper moisture content conforming to industry standards. The search method here is that different certificates correspond to different standard weights. Personnel in this field obtain the standard weights of different certificates based on their experience and by searching for relevant certificate weight information online, and then input them into the system. When the system receives the input type, it searches for the corresponding standard unit weight based on the input type.
[0039] Step S3: Obtain the total weight of the certificate.
[0040] The total certificate weight refers to the total weight of all certificates placed on weighing platform 12. This weight is obtained by the system based on the total certificate weight measured by weighing platform 12.
[0041] Step S4: Calculate the initial number of certificate groups based on the input type, standard single item weight, and total certificate weight.
[0042] The preliminary certificate quantity group refers to the combination formed by the quantity of various certificates calculated based on their weight. The calculation method here is that the total weight of the certificates is approximately equal to the number of input types multiplied by the standard single-piece weight multiplied by the number of certificates. The number of certificates can be obtained through this formula, and then a mapping relationship is established between the input types and the corresponding certificate quantities to form the preliminary certificate quantity group.
[0043] Step S5: If the number of initial certificate groups is 1, map the input types to the corresponding number of certificates in the initial certificate groups and output the results.
[0044] The output method here is to sequentially output the quantities corresponding to the input types to the existing display device of the electric flattening machine, such as a touch screen or digital display screen.
[0045] If the initial certificate quantity group has 1, it means that the accurate number of certificates can be calculated based on the weight alone. Therefore, a mapping relationship is formed between the input type and the corresponding number of certificates in the initial certificate quantity group, and then the result is output.
[0046] Step S6: If the number of initial certificate groups is not 1, obtain the total certificate height.
[0047] The total certificate height refers to the total height of the certificates placed on the weighing platform 12. This is obtained by measuring the distance between the electric flattener and the topmost certificate using its existing distance measuring device, and then subtracting the distance between the flattener and the topmost certificate from the distance between the flattener and the weighing platform 12 to get the total certificate height. For example, an infrared distance measuring sensor can be used.
[0048] If the number of preliminary certificate groups is not 1, it means that the unique preliminary certificate group cannot be directly determined by weight alone, so the total certificate height is obtained.
[0049] Step S7: Find the corresponding standard height based on the input type.
[0050] Standard height refers to the rated thickness of the certificate under standard conditions. The method for finding the height here is the same as the method for finding the standard weight described in step S2, only the weight is changed to height.
[0051] Step S8: Calculate the number of height certificate groups based on the input type, standard height, and total certificate height.
[0052] The height certificate quantity group refers to the combination formed by the quantity of each type of certificate obtained based on the height. The calculation method here is the same as the method for calculating the number of certificates based on weight in step S4, except that the weight is changed to height, and then a mapping relationship is formed between the number of certificates obtained by height and the input type to obtain the height certificate quantity group.
[0053] Step S9: When there is a common set of conditions between the initial certificate quantity group and the advanced certificate quantity group, define the certificate quantity group as the final certificate quantity group.
[0054] The final certificate quantity group refers to the combination of certificate types and their corresponding quantities that are ultimately determined. Here, it is defined by comparing and filtering the combinations obtained from the preliminary certificate quantity group and the combinations obtained from the advanced certificate quantity group, selecting the combinations that appear in both groups as the final certificate quantity group.
[0055] When there is a common set of cases in the preliminary certificate quantity group and the advanced certificate quantity group, it means that a unique combination of certificate type and corresponding certificate quantity can be determined through the preliminary certificate quantity group and the advanced certificate quantity group. Therefore, this certificate quantity group is defined as the final certificate quantity group.
[0056] Step S10: Establish a mapping relationship between the input types and the number of certificates corresponding to the final certificate quantity group, and output the result.
[0057] The output method here is the same as that described in step S5, so it will not be repeated here.
[0058] This also includes a method for verifying the input type and the corresponding number of certificates, which includes: Step S11: Obtain the certificate image.
[0059] The certificate image refers to the image containing the certificate's QR code placed on the weighing platform 12. This image is obtained by the system using the existing camera device on the flattening machine, such as a high-definition industrial camera or a side-view macro camera.
[0060] Step S12: Determine the certificate QR code based on the certificate image.
[0061] A certificate QR code is a unique identifier printed or affixed to a designated location on a certificate of a specific type. The system identifies different certificates with different QR codes. It precisely locates the QR code area for each certificate from the image, then uses a QR code decoding algorithm to parse the pattern information. Based on the type identifier in the parsing result, it distinguishes and determines the QR code corresponding to each certificate.
[0062] Step S13: Determine the type of the top-level push certificate through the certificate QR code, and define the standard height corresponding to the type of push certificate as the push standard height.
[0063] The "push certificate type" refers to the type of certificates placed on the top layer of the weighing platform 12 that need to be pushed. This is determined by different QR codes corresponding to different certificate information. The system uses a camera to obtain the QR code of the top-layer certificate and retrieves the corresponding certificate information to extract the push certificate type.
[0064] The standard height for moving certificates refers to the height of the top row of certificates that need to be moved on the weighing platform 12. Here, it is defined as follows: after obtaining the type from the QR code, the corresponding standard height is found according to the method described in step S7. This standard height is then mapped to the corresponding type of certificate to be moved, and this height is used as the standard height for moving certificates.
[0065] Step S14: Calculate the displacement height based on the total height of the certificate and the displacement standard height.
[0066] The pushing height refers to the height that the electric flattening machine pushes the topmost certificate. The calculation method here is to use the certificate height with the smallest standard pushing height value as the pushing height.
[0067] Step S15: Move the certificates corresponding to the move certificate types according to the move height to obtain the updated height.
[0068] The updated height placed on the weighing platform 12 refers to the total height of the certificate after the top certificate is moved away from the weighing platform 12. This is obtained by the system moving the certificate according to the existing moving device and the new measurement distance obtained by the distance measuring device, then subtracting the new measurement distance from the height of the distance measuring device itself relative to the weighing platform 12.
[0069] Step S16: Obtain the removal height by updating the height and the total certificate height.
[0070] The removal height refers to the actual height of the certificate after it has been moved. It is obtained by subtracting the update height from the total certificate height.
[0071] Step S17: Determine the rejection category based on the rejection height and the input category.
[0072] The rejection type refers to the actual type of certificate that is moved away from the weighing platform 12. This is determined by different rejection heights corresponding to different certificate types. This information is obtained by professionals in the field who, based on their experience and by searching online for relevant certificate thickness data, input it into the system. After the certificate is moved, the system uses the rejection height to determine the corresponding rejection type.
[0073] Step S18: Determine the corresponding number of removals based on the removal type.
[0074] The rejection quantity refers to the number of certificates removed from the weighing platform 12. This is determined by the system summing the number of certificates corresponding to each rejection category. For example, if ten certificates are rejected from the first layer, and then two 5mm thick property ownership certificates are moved off the weighing platform 12, then the rejection category is property ownership certificates, and the corresponding rejection quantity is two.
[0075] Step S19: If the input type is the same as the type to be removed, obtain the corresponding number of certificates based on the type to be removed and the final number of certificates.
[0076] The certificate count refers to the total number of certificates corresponding to the excluded categories on weighing platform 12. This is obtained by the system searching for the total number of certificates of the same category in the final certificate count group based on the excluded categories.
[0077] If the input type matches the removal type, it means that the input type includes the removal type. Therefore, the corresponding number of certificates can be obtained by combining the removal type with the final number of certificates.
[0078] Step S20: If the input category is inconsistent with the removed category, update the input category based on the removed category to obtain the accurate category.
[0079] The accurate category refers to the category of all certificates on weighing platform 12, including both the rejected categories and the input categories. This is obtained by adding the rejected categories to the input categories.
[0080] If the input category and the removed category are inconsistent, it means that the removed category is not in the input category. The input category needs to be updated to ensure that all categories are in the input category. Therefore, the input category is updated based on the removed category to obtain the accurate category.
[0081] Step S21: Obtain the corresponding number of certificates based on the accurate type and the final number of certificates.
[0082] The method here is to find the quantity corresponding to the exact type in the final certificate quantity group based on the exact type.
[0083] Step S22: If the number of certificates to be removed is the same as the number of certificates, establish a mapping relationship between the input types and the number of certificates, and then output the result.
[0084] The output method here is the same as that described in step S5, so it will not be repeated here.
[0085] If the number of certificates removed is the same as the number of certificates, it means that the number of certificates corresponding to the removed type has reached the number of certificates calculated by the final number of certificates. Therefore, a mapping relationship is formed between the input type and the number of certificates, and then the output is performed.
[0086] Step S23: If the number of certificates to be removed is inconsistent with the number of certificates, continue to execute steps S11 to S21 until the number of certificates to be removed is consistent with the number of certificates. Then, establish a mapping relationship between the accurate types and the number of certificates and output the results.
[0087] The output method here is the same as that described in step S5, so it will not be repeated here.
[0088] If the number of removed types does not match the number of certificates, it means that the number of removed types has not yet reached the number of certificates, and the number of certificates cannot be verified. Therefore, continue to execute steps S11 to S21 until the number of removed types matches the number of certificates, then establish a mapping relationship between the accurate types and the number of certificates, and output the result.
[0089] The methods for identifying the type of the topmost migration certificate using the certificate's QR code include: Step S130: If the certificate QR code cannot be recognized, obtain the side height image.
[0090] The side height image refers to the image showing the height of all certificates stacked on the weighing platform 12. This image is obtained using the existing side camera device on the electric flattening machine.
[0091] If the certificate QR code cannot be recognized, it means that the certificate QR code is damaged or incomplete, so obtain the side height image.
[0092] Step S131: Determine the corresponding damage certificate height based on the side height image.
[0093] The height of a damaged certificate refers to the thickness of a certificate with a damaged or incomplete QR code. This is determined by the system identifying certificates with damaged QR codes based on the certificate image, comparing this information with a side height image, and then combining this with the certificate's thickness characteristics to determine the total height of the damaged certificate.
[0094] Step S132: Determine the damage type based on the damage certificate height and the input type.
[0095] The "damage type" refers to the type of certificate whose QR code is damaged or incomplete. This is determined by searching for a certificate type with a matching height in the input categories based on the height of the damaged certificate; that type is then identified as the damage type.
[0096] Step S133: If the certificate QR code can be recognized, then determine the certificate type through the certificate QR code.
[0097] The certificate type refers to the type of the top-level certificate identified through QR code scanning. The method for determining this is the same as the method for confirming and shifting the certificate type in step S13, and will not be repeated here.
[0098] If the certificate QR code can be recognized, it means that the certificate QR code is complete and undamaged, so the certificate type can be determined by the certificate QR code.
[0099] Step S134: Determine the type of certificate to be moved based on the type of damage and the type of certificate.
[0100] The method used here is to combine the damage type and the certificate type as the shifted certificate type.
[0101] Reference Figure 4 It also includes a method for outputting the input type and the corresponding final certificate number group when the number of final certificate number groups is not 1. This method includes: Step S24: Move the certificates corresponding to the types of certificates to be moved according to the moving height and count the number of certificates to be removed.
[0102] The pushing method here involves adjusting the height of the existing pushing device to the pushing height before pushing. The statistical method here is the same as that described in step S18, and will not be repeated here.
[0103] Step S25: Determine the number of certificates based on the final certificate quantity group.
[0104] The method for determining this is the same as that described in step S19, and will not be repeated here.
[0105] Step S26: If the number of certificates is greater than or equal to the number of certificates to be removed, the number of compliant groups is obtained based on the number of certificates to be removed and the number of certificates corresponding to the final number of certificate groups.
[0106] The number of compliance groups refers to the number of combinations where the number of certificates corresponding to the removed certificate types matches the number of certificates in the final certificate number group. This is achieved by calculating the number of certificates corresponding to the removed certificate types, comparing it with the number of certificates of that type in the final certificate number group, filtering out combinations where the number of removed certificates is less than or equal to the number of certificates in the final group, and counting the number of combinations that meet the requirements to obtain the number of compliance groups.
[0107] If the number of certificates is greater than or equal to the number of certificates removed, it means that the number of removed certificates does not exceed the number of certificates of the corresponding type in the final certificate number group. Therefore, the number of compliant certificates is obtained based on the number of removed certificates and the number of certificates corresponding to the final certificate number group. The number of certificates here will not be less than the number of removed certificates.
[0108] Step S27: If the number of compliance groups is equal to 1, determine the number of compliance certificate groups based on the number of compliance groups and the final number of certificate groups.
[0109] A compliance certificate quantity group refers to a combination of certificate types and their corresponding quantities after removing those that meet the quantity requirement. This is determined by establishing a mapping relationship between the certificate types and their corresponding quantities for each compliance certificate quantity group.
[0110] If the number of compliance groups is equal to 1, it means that only one certificate number group meets the requirements, and there will be no uncertain certificate number group. Therefore, the number of compliance certificate groups is determined based on the number of compliance groups and the final number of certificate groups.
[0111] Step S28: If the number of compliance groups is greater than 1, repeat steps S24 to S26 until the number of compliance groups is equal to 1, and determine the number of compliance certificate groups.
[0112] The method for determining this is the same as that described in step S27, and will not be repeated here.
[0113] If the number of compliance groups is greater than 1, it means that the unique final certificate number group still cannot be determined at this time. Therefore, repeat steps S24 to S26 until the number of compliance groups is equal to 1, and determine the number of compliance certificate groups.
[0114] Step S29: Map the input types to the corresponding number of compliance certificates and output the mapping relationship.
[0115] The output method here is the same as that described in step S5, so it will not be repeated here.
[0116] The methods for mapping input types to corresponding groups of compliance certificates and then outputting the results include: Step S290: Obtain the number of compliant certificates based on the number of compliant certificates group.
[0117] The number of compliant certificates refers to the quantity of each type of certificate within a compliant certificate quantity group. This is obtained by breaking down the compliant certificate quantity group, mapping the certificate types to their corresponding quantities, and then outputting the total number of compliant certificates.
[0118] Step S291: Calculate the standard total weight range based on the number of compliance certificates and the corresponding standard single-piece weight.
[0119] The standard total weight range refers to the reasonable deviation range of the total weight of various certificates placed on the weighing platform 12. The calculation method here is to multiply the quantity of each type of compliant certificate by its respective standard unit weight to obtain the total weight of a single certificate. Then, the total weights of all single certificates are added together to obtain the standard total weight. Different certificate types correspond to different deviation ranges. The difference for each certificate combination is obtained by professionals in the field through multiple experiments. This difference is then input into the system. Upon receiving the input type, the system automatically combines the corresponding difference with the standard total weight to obtain the standard total weight range.
[0120] Step S292: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height.
[0121] If the total weight of the certificates falls within the standard total weight range, it means that the measured weight of the certificates in this compliant certificate group meets the deviation requirements, and there are no mismatches in certificate weight or errors in the calculation of the type and quantity. Therefore, the certificates are not moved sequentially according to the moving height.
[0122] Step S293: If the total weight of the certificate does not fall within the standard total weight range, move the certificate sequentially according to the moving height to obtain the updated total weight, the types to be removed, and the corresponding standard single piece weight.
[0123] The updated total weight refers to the total weight of the certificates remeasured after the rejected certificates have been moved away from the weighing platform 12. This is obtained by remeasuring the total weight of the certificates on the weighing platform 12 after the system completes one move. The method for obtaining the rejection type has been described in step S17 and will not be repeated here. The method for obtaining the standard single-piece weight is the same as in step S2 and will not be repeated here.
[0124] If the total weight of the certificates does not fall within the standard total weight range, it means that even if the number of compliant certificates is the final number of certificates, there are certificates in it that do not meet the standard weight. The certificates need to be found. Therefore, the certificates are moved sequentially according to the moving height to obtain the updated total weight, the types to be removed, and the corresponding standard single piece weight.
[0125] Step S294: Calculate the weight to be removed by updating the total weight and the total certificate weight.
[0126] The removed weight refers to the weight of the removed certificates. It is calculated by subtracting the updated total weight from the total certificate weight.
[0127] Step S295: If the rejected weight is inconsistent with the standard single-piece weight, the rejected type is defined as an abnormal type.
[0128] If the weight of the rejected certificate does not match the standard single-piece weight, it means that the weight of the rejected certificate does not meet the specified weight, and at the same time, the total weight of the certificate does not fall within the standard total weight range. Therefore, this rejection type is defined as an abnormal type.
[0129] Step S296: If the weight of the rejected item is consistent with the standard single item weight, continue to steps S293 to S294 to obtain the anomaly type.
[0130] If the weight of the excluded item matches the standard single-piece weight, it means that no certificate for weight anomaly has been found yet. Therefore, continue to steps S293 to S294 to obtain the anomaly type.
[0131] Step S297: Determine the number of certificate groups to be removed based on the updated total weight, standard single-piece weight, and input type.
[0132] The "removal of certificate quantity groups" refers to the process of removing certificates with incorrect weights and then combining the remaining certificates on weighing platform 12 with their corresponding quantities. The method used here is the same as the calculation of the initial certificate quantity groups described in step S4, only the total certificate weight is replaced with the updated total weight; this will not be elaborated upon further.
[0133] Step S298: Count the number of removals by type of removal, and count the number of anomalies by type of anomaly.
[0134] The method for calculating the number of certificates removed is the same as that described in step S18, and will not be repeated here. The number of abnormal certificates refers to the number of certificates corresponding to each type of abnormality. The method for calculating the number of abnormal certificates is the same as that described in step S18, except that only the number of abnormal certificates is recorded, not the number of certificates removed.
[0135] Step S299: Obtain the compliant certificate number group based on the number of certificates removed and the number of removed certificates group.
[0136] The method here is to combine the number of certificates removed with the number of certificates in the removed certificate group to obtain the number of compliant certificates.
[0137] Step S300: Map the input types to the corresponding number of compliance certificates and output the mapping relationship.
[0138] The output method here is the same as the output method described in step S5, and will not be repeated here.
[0139] Step S301: Establish and output a mapping relationship between the types of exceptions and the corresponding number of exceptions.
[0140] The output method here is to display the type of abnormality and its corresponding quantity separately on the display device of the electric flattening machine, such as a touch screen or digital display screen.
[0141] This also includes: Step S302: Determine the types and quantities to be retained based on the types and quantities to be removed.
[0142] The "retained types" refer to the types of certificates still on weighing platform 12. The "retained quantity" refers to the number of certificates still on weighing platform 12. This is determined by the system subtracting the "removed types" and "removed quantity" from the compliant certificate quantity group to obtain the retained types and corresponding retained quantities.
[0143] Step S303: Find the standard retention weight based on the retention type.
[0144] The standard retained weight refers to the standard weight of the certificate that still exists on the weighing platform 12. The method for finding this weight is the same as the method for finding the standard single-piece weight in step S2, and will not be repeated here.
[0145] Step S304: Calculate the corresponding range of total standard retention weight based on the standard retention weight and retention quantity.
[0146] The standard retained total weight range refers to the reasonable deviation range of the total weight of the certificates still existing on weighing platform 12. The calculation method here is the same as the method for calculating the standard total weight range introduced in step S291, and will not be repeated here.
[0147] Step S305: If the updated total weight does not fall within the standard retained total weight range, execute steps S293 to S301 to obtain the anomaly type and number and output them until the updated total weight falls within the standard retained total weight range.
[0148] The output method here is the same as that described in step S301, so it will not be repeated here.
[0149] If the updated total weight does not fall within the standard retention total weight range, it means that there are still certificates with abnormal weights in the certificates corresponding to the retention type. Therefore, steps S293 to S301 are executed to obtain the abnormal type and the number of abnormalities and output them until the updated total weight falls within the standard retention total weight range.
[0150] Step S306: If the updated total weight falls within the standard retained total weight range, steps S293 to S301 are not executed.
[0151] If the updated total weight falls within the standard retention total weight range, it means that there is no certificate corresponding to the abnormal weight among the certificates corresponding to the retention types, so steps S293 to S301 are not executed.
[0152] The methods for obtaining and outputting the types and quantities of anomalies include: Step S3050: Obtain the number of pushes.
[0153] The number of push operations refers to the number of times the push component 3 performs push operations on the certificate. Here, the number of push operations is obtained by automatically initializing it to 0 after the system responds to the statistics signal. Each time the push device completes a push operation, the system automatically increments the number of push operations by 1, accumulating and storing the total number of push operations in this statistical process in real time.
[0154] Step S3051: Obtain a rejection certificate based on the rejection category.
[0155] A rejection certificate is a certificate that has been moved away from the weighing platform 12 by the pushing device. The method of obtaining this certificate is as follows: the system first determines the rejection type, then associates the action record of the pushing device with the weight change of the weighing platform 12. When the pushing device completes a pushing action, the certificate that has been moved away from the weighing platform 12 is determined to be a rejection certificate.
[0156] Step S3052: Number the removal certificates according to the number of times they are moved to obtain removal numbers.
[0157] The rejection number refers to the unique identifier corresponding to the rejection certificate. It is obtained by the system automatically incrementing the push count by 1 each time the push device completes a push operation, and then directly using the currently accumulated push count as the rejection number for this rejection certificate.
[0158] Step S3053: Establish and output the mapping relationship between the anomaly type, the removal label and the number of anomalies.
[0159] The output method here is to map the anomaly type to the corresponding rejection label and the number of anomalies, and then output the result to the existing display device of the electric flattening machine, such as a touch screen or digital display screen.
[0160] This also includes a method for updating the input type, which includes: Step S230: Obtain the certificate type based on the certificate QR code.
[0161] The certificate type refers to the type of certificate identified by a QR code. Here, different certificate QR codes correspond to different certificates. The system scans the QR code to identify the certificate and then compares it with stored feature information to determine the certificate type.
[0162] Step S231: If the code certificate type is the same as the input type, do not update the input type.
[0163] If the certificate type matches the input type, it means that the certificate type obtained through QR code recognition matches the input type, and there is no mismatch. Therefore, the input type is not updated.
[0164] Step S232: If the code certificate type is inconsistent with the input type, update the input type according to the code certificate type to obtain the updated certificate type.
[0165] Updating a certificate type refers to merging a code certificate type with an input type to obtain a new certificate type combination. This is achieved by adding any code certificate types that are not present in the input types to the input types, resulting in a set of certificate types. This set is then used as the updated certificate type.
[0166] If the code certificate type does not match the input type, it means that the staff has a certificate type that has not been entered into the input type. Therefore, the input type is updated according to the code certificate type to obtain the updated certificate type.
[0167] This also includes a method for not moving the certificate sequentially according to the moving height if the total weight of the certificate does not fall within the standard total weight range. This method includes: Step S2930: Obtain impurity information by using the certificate image, the side height image, and preset impurity features.
[0168] Impurity characteristics refer to abnormal features that significantly differ from the standard physical characteristics of the certificate (such as size, material, color, thickness range, etc.). These characteristics are obtained by professionals in the field by searching for relevant impurity characteristic information online and inputting it into the system. Impurity information refers to the characteristic information corresponding to impurities present on the certificate surface on the weighing platform 12. This information is obtained by the system matching the impurities obtained from the image with their corresponding characteristics to find the corresponding impurity information.
[0169] Step S2931: If impurity information exists, obtain the impurities based on the impurity information and move the impurities to re-obtain the total certificate weight.
[0170] Impurities refer to objects that are not part of the certificate but affect its weight, leading to errors in calculating the number of certificates. The method for obtaining this information varies depending on the impurity's characteristics. This information is retrieved by professionals in the field by searching online and inputting it into the system. The system then compares the impurities identified in the image with the stored characteristics to determine the impurities. The total certificate weight is obtained via weighing platform 12.
[0171] If impurity information is present, it means that there are impurities on the surface of the certificate that will affect the total weight of the certificate. In order to avoid the impurities affecting the calculation of the number of certificates, the impurities are obtained based on the impurity information and the impurities are moved to obtain the total weight of the certificate again.
[0172] Step S2932: If the total weight of the certificate does not fall within the standard total weight range and the impurity information is not found, move the certificate sequentially according to the moving height until the impurity information is found.
[0173] If the total weight of the certificate does not fall within the standard total weight range and the impurity information is not found, it indicates that the impurity may be located between the certificates. In order to remove the impurity, the certificates are moved sequentially according to the moving height until the impurity information is found.
[0174] Step S2933: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height.
[0175] If the total weight of the certificates falls within the standard total weight range, it means that there are no impurities present, and the number of certificates can be calculated directly. Therefore, the certificates are not moved sequentially according to the moving height.
[0176] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for processing weight data based on an electric flattening machine, characterized in that, include: Step S1: In response to a preset statistical signal, obtain the input type; Step S2: Find the corresponding standard single-piece weight based on the input type; Step S3: Obtain the total weight of the certificate; Step S4: Calculate the initial number of certificate groups based on the input type, standard single-piece weight, and total certificate weight; Step S5: If the number of initial certificate groups is 1, map the input types to the corresponding number of certificates in the initial certificate groups and output the result. Step S6: If the number of initial certificate groups is not 1, obtain the total certificate height; Step S7: Find the corresponding standard height based on the input type; Step S8: Calculate the number of height certificate groups based on the input type, standard height, and total certificate height; Step S9: When there is a common set of conditions between the initial certificate quantity group and the advanced certificate quantity group, define the certificate quantity group as the final certificate quantity group; Step S10: Establish a mapping relationship between the input types and the number of certificates corresponding to the final certificate quantity group, and output the result; This also includes a method for verifying the input type and the corresponding number of certificates, which includes: Step S11: Obtain the certificate image; Step S12: Determine the certificate QR code based on the certificate image; Step S13: Determine the type of the top-level push certificate through the certificate QR code, and define the standard height corresponding to the type of push certificate as the push standard height; Step S14: Calculate the moving height based on the total height of the certificate and the standard moving height; Step S15: Move the certificates corresponding to the move certificate types according to the move height to obtain the updated height; Step S16: Obtain the removal height by updating the height and the total certificate height; Step S17: Determine the rejection category based on the rejection height and the input category; Step S18: Determine the corresponding number of items to be removed based on the type of item to be removed; Step S19: If the input type matches the removal type, obtain the corresponding number of certificates based on the removal type and the final number of certificates. Step S20: If the input category is inconsistent with the removed category, update the input category based on the removed category to obtain the accurate category; Step S21: Obtain the corresponding number of certificates based on the accurate type and the final number of certificates; Step S22: If the number of certificates to be removed is the same as the number of certificates, establish a mapping relationship between the input types and the number of certificates, and then output the result. Step S23: If the number of certificates to be removed is inconsistent with the number of certificates, continue to execute steps S11 to S21 until the number of certificates to be removed is consistent with the number of certificates. Then, establish a mapping relationship between the accurate types and the number of certificates and output the results.
2. The weight data processing method based on an electric flattening machine according to claim 1, characterized in that, Methods for identifying the type of the top-level push certificate using the certificate's QR code include: Step S130: If the certificate QR code cannot be recognized, obtain the side height image; Step S131: Determine the corresponding damage certificate height based on the side height image; Step S132: Determine the damage type based on the damage certificate height and the input type; Step S133: If the certificate QR code can be recognized, then determine the certificate type through the certificate QR code; Step S134: Determine the type of certificate to be moved based on the type of damage and the type of certificate.
3. The weight data processing method based on an electric flattening machine according to claim 1, characterized in that, It also includes a method for outputting the input type and the corresponding final certificate number group when the number of final certificate number groups is not 1. This method includes: Step S24: Move the certificates corresponding to the types of certificates to be moved according to the moving height and count the number of certificates to be removed; Step S25: Determine the number of certificates based on the final certificate quantity group; Step S26: If the number of certificates is greater than or equal to the number of certificates to be removed, obtain the number of compliance groups based on the number of certificates to be removed and the number of certificates corresponding to the final number of certificate groups; Step S27: If the number of compliance groups is equal to 1, determine the number of compliance certificate groups based on the number of compliance groups and the final number of certificate groups; Step S28: If the number of compliance groups is greater than 1, repeat steps S24 to S26 until the number of compliance groups is equal to 1, and determine the number of compliance certificate groups. Step S29: Map the input types to the corresponding number of compliance certificates and output the mapping relationship.
4. The weight data processing method based on an electric flattening machine according to claim 3, characterized in that, Methods for mapping input types to corresponding groups of compliance certificates and outputting the results include: Step S290: Obtain the number of compliant certificates based on the compliant certificate quantity group; Step S291: Calculate the standard total weight range based on the number of compliance certificates and the corresponding standard single-piece weight; Step S292: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height; Step S293: If the total weight of the certificate does not fall within the standard total weight range, move the certificate according to the moving height to obtain the updated total weight, the types to be removed, and the corresponding standard single piece weight; Step S294: Calculate the weight to be removed by updating the total weight and the total certificate weight; Step S295: If the rejected weight is inconsistent with the standard single-piece weight, define the rejected type as an abnormal type; Step S296: If the weight of the rejected item is consistent with the standard single item weight, continue to execute steps S293 to S294 to obtain the type of anomaly; Step S297: Determine the number of certificate groups to be rejected based on the updated total weight, standard single-piece weight, and input type; Step S298: Count the number of removals by type of removal, and count the number of anomalies by type of anomaly; Step S299: Obtain the compliant certificate count group based on the number of certificates removed and the group of removed certificates; Step S300: Establish a mapping relationship between the input types and the corresponding number of compliance certificates, and output the mapping. Step S301: Establish and output a mapping relationship between the types of exceptions and the corresponding number of exceptions.
5. The weight data processing method based on an electric flattening machine according to claim 4, characterized in that, Also includes: Step S302: Determine the types and quantities to be retained based on the types and quantities to be removed; Step S303: Find the standard retention weight based on the retention type; Step S304: Calculate the corresponding range of total standard retention weight based on the standard retention weight and retention quantity; Step S305: If the updated total weight does not fall within the standard retained total weight range, execute steps S293 to S301 to obtain the anomaly type and number and output them until the updated total weight falls within the standard retained total weight range. Step S306: If the updated total weight falls within the standard retained total weight range, steps S293 to S301 are not executed.
6. The weight data processing method based on an electric flattening machine according to claim 5, characterized in that, Methods for obtaining and outputting the types and quantities of exceptions include: Step S3050: Obtain the number of pushes; Step S3051: Obtain a rejection certificate based on the rejection category; Step S3052: Number the rejection certificates according to the number of times they are moved to obtain rejection numbers; Step S3053: Establish and output the mapping relationship between the anomaly type, the removal label and the number of anomalies.
7. The weight data processing method based on an electric flattening machine according to claim 1, characterized in that, It also includes a method for updating the input type, which includes: Step S230: Obtain the certificate type based on the certificate QR code; Step S231: If the certificate type matches the input type, do not update the input type; Step S232: If the code certificate type is inconsistent with the input type, update the input type according to the code certificate type to obtain the updated certificate type.
8. The weight data processing method based on an electric flattening machine according to claim 4, characterized in that, It also includes a method for moving certificates not sequentially according to the moving height if the total weight of the certificate does not fall within the standard total weight range. This method includes: Step S2930: Obtain impurity information by using the certificate image, the side height image, and preset impurity features; Step S2931: If impurity information exists, obtain the impurities based on the impurity information and move the impurities to re-obtain the total certificate weight; Step S2932: If the total weight of the certificate does not fall within the standard total weight range and the impurity information does not exist, move the certificate according to the moving height until the impurity information exists; Step S2933: If the total weight of the certificate falls within the standard total weight range, the certificate is not moved sequentially according to the moving height to remove impurities.
9. An electric flattening machine, applied to a weight data processing method based on an electric flattening machine as described in any one of claims 1 to 8, characterized in that: Includes a body (1), a pressure plate (2) disposed on the body (1), and a pushing component (3) disposed on the pressure plate (2) for pushing the certificate. The machine body (1) includes a base (11), a weighing platform (12) on the base (11) for weighing certificate weight, and an adjusting rod (13) on the base (11). The pressure plate (2) is slidably connected to the adjusting rod (13). The pushing assembly (3) includes a telescopic rod (31) slidably connected to the pressure plate (2) and a telescopic push plate (32). The telescopic push plate (32) is fixedly connected to the end of the telescopic rod (31) away from the pressure plate (2).
Citation Information
Patent Citations
Paperboard flattening control method and system based on machine vision and paperboard flattening device
CN118456972A
Order verification method for cloud printing, electronic equipment and storage medium
CN119718227A