A method, system, medium, and program product for printing management of a special-shaped label
By acquiring and analyzing the physical and printable area parameters of irregularly shaped labels, regional character pattern data and printing control instructions are generated, solving the flexibility and accuracy problems of traditional label printers in handling irregularly shaped labels, and improving printing efficiency and quality.
Patent Information
- Application Number
- CN202511595647.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-04
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2045-11-04
AI Technical Summary
Traditional label printers struggle to efficiently handle irregularly shaped labels, requiring manual template adjustments and calibration, which leads to mismatches between printed content and label areas, increasing labor costs and increasing the risk of errors.
By acquiring the physical parameters of the label to be printed and the printable area parameters, the characteristics of the micro-label in the area are determined, the printing content of the area is bound, the area font data is generated, and printing control instructions are generated based on this data to optimize the printing sequence and cooling waiting time, thereby reducing the risk of interference.
It enables accurate identification of print content without the need for manual template adjustments, improving printing flexibility and automation, reducing printing errors, and enhancing print quality.
Smart Images

Figure CN121050666B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic digital data processing technology, and in particular to a method, management system, media, and program product for managing irregularly shaped label printing. Background Technology
[0002] Traditional label printing is mainly used in many industries such as commercial retail, logistics and transportation, and product identification. With the increasing variety of goods and the growing demand for personalized customization, label forms are becoming more diversified. The development of label printing technology has made the labeling of product information clearer and more accurate, improving the efficiency of product management and playing an important role in supply chain management and inventory counting. However, for the printing of labels with special shapes or specific requirements, traditional technology is gradually revealing its limitations.
[0003] Traditional label printers typically only support printing continuous labels or regular die-cut labels. This means that a fixed template needs to be pre-set in the printer before printing. For continuous labels, batch printing is generally performed according to preset rules, suitable for a large number of labels with identical content. For regular die-cut labels, such as rectangular or square labels, the position and format of the printed content are determined by a pre-set template. When encountering pre-printed irregularly shaped labels with irregular printable areas, manual adjustment of the printed content to match the label area is usually required. Furthermore, when changing label types, the printer template may need to be reconfigured to accommodate the new label shape and size. This not only increases labor costs but also easily leads to errors, resulting in mismatch between the printed content and the label area. Summary of the Invention
[0004] To improve the fit between printed content and label area, thereby enhancing printing quality, this application provides a method, management system, media, and program product for managing irregularly shaped label printing.
[0005] Firstly, this application provides a method for managing the printing of irregularly shaped labels, employing the following technical solution:
[0006] A method for managing irregularly shaped label printing, comprising:
[0007] Obtain the physical parameters, printable area parameters, and printable content data corresponding to the label to be printed, and determine the regional micro-label features of each printable area based on the physical parameters and the printable area parameters;
[0008] Based on the regional micro-label features of each printable area, the regional printing content corresponding to each printable area is determined from the printing content data, and the regional micro-label features of each printable area are bound to the regional printing content to obtain the regional font data of each printable area.
[0009] The printing control command corresponding to the label to be printed is determined based on the regional font data of each printable area, and the label to be printed is printed based on the printing control command.
[0010] By adopting the above technical solution, and by identifying and analyzing the regional micro-label features of each printable area, fragmented data can be easily transformed into regional micro-label features corresponding to each printable area through classification and integration. Based on the regional micro-label features, it is easy to accurately identify the corresponding regional printing content from the printing content data, without the need for manual adjustment of the printing template or manual calibration of the printing position. This improves the flexibility in determining the printing content. The corresponding regional font data is determined based on the regional micro-label features and the regional printing content, and the regional font data of each printable area is transformed into printing control instructions corresponding to the label to be printed. This facilitates the relevant printing equipment to accurately parse and execute the printing requirements, improving the automation and intelligence of the printing process while also improving print quality.
[0011] In one possible implementation, determining the print control command corresponding to the label to be printed based on the region font data of each printable area includes:
[0012] Identify the printing content complexity and area size corresponding to the area font data of each printable area, and determine the printing speed of each printable area based on the area size and the printing content complexity of the corresponding area font data.
[0013] The initial printing order is obtained by sorting all printable areas based on their printing speed.
[0014] Identify the non-printable areas in the label to be printed, and determine the cooling waiting time for each printable area based on the initial printing order and the non-printable areas;
[0015] The initial printing order is optimized based on the cooling waiting time of each printable area to obtain the target printing order;
[0016] Based on the target printing order and the printing speed of each printable area, the printing control command corresponding to the label to be printed is determined.
[0017] By adopting the above technical solution, the printing speed of each printable area is determined by comprehensively analyzing the complexity of the printable content and the printing type. This facilitates the improvement of the adaptability between the printing speed and the actual printing needs of the printable area, thereby ensuring the presentation effect of different types of printable content. In addition, by analyzing the printing speed of each printable area and the influence relationship between each printable area and the non-printable area, the cooling waiting time of each printable area is determined, which helps to reduce rendering issues during subsequent printing and thus improves the accuracy of printing operations based on print control commands.
[0018] In one possible implementation, determining the cooling wait time for each printable region based on the initial printing order and the non-printable regions includes:
[0019] Based on the initial printing order, the adjacent printable areas of each printable area are determined, and the adjacent printing parameters of the adjacent printable areas are obtained. Based on the printable printing parameters of each printable area and the corresponding adjacent printing parameters, the first cooling waiting time of each printable area is determined.
[0020] Based on the non-printable edge lines of each non-printable area and the printable edge lines of each printable area, the edge contact length between each printable area and its corresponding related non-printable area is determined, and the second cooling waiting time of each printable area is determined based on the edge contact length corresponding to each printable area. The related non-printable area of the printable area is the non-printable area that contains the same edge line as the printable area.
[0021] The cooling wait time for each printable area is determined based on the first cooling wait time and the second cooling wait time for each printable area.
[0022] By adopting the above technical solution, and by analyzing the printable substrate parameters of each printable area and the corresponding adjacent substrate parameters, it is easier to consider and analyze the potential interference risks when heat is superimposed on adjacent printable areas. The potential interference risks are transformed into quantifiable cooling waiting times, which is one of the key steps to improve print quality. By identifying and analyzing the edge contact length between printable areas and related non-printable areas, it is easier to solve the problem of non-printable areas hindering cooling, thereby improving the accuracy of determining the cooling waiting time of each printable area, and thus improving print quality.
[0023] In one possible implementation, after optimizing the initial printing order based on the cooling wait time of each printable area to obtain the target printing order, the method further includes:
[0024] Based on the unprintable edge lines of each unprintable region and the printable edge lines of each printable region, determine whether there is a related printable region group, wherein the related printable region group contains at least two printable regions and the at least two printable regions are in contact with the same unprintable region;
[0025] If so, then identify the contact non-printable area corresponding to the relevant printable area group, and determine the contact edge ratio between the at least two printable areas based on the printable edge lines of the at least two printable areas in the relevant printable area group and the non-printable edge lines of the contact non-printable area.
[0026] When the contact edge ratio is within a preset ratio range, the corresponding edge complexity is determined based on the non-printable edge line of the non-printable contact area, and the optimization coefficient corresponding to the relevant printable area is determined based on the edge complexity.
[0027] Based on the region font data of the at least two printable regions, determine the printing start point and end point of each printable region, and determine the printing spacing of the at least two printable regions based on the printing start point and end point of each printable region;
[0028] Based on the printing spacing, determine the optimization parameters corresponding to the relevant printable area;
[0029] Based on the optimization coefficient and the optimization parameter, optimize the printing order of at least two printable regions in the relevant printable region group in the target printing order.
[0030] By adopting the above technical solution, and by comparing printable and non-printable edge lines, the system proactively identifies groups of printable regions that contain at least two printable areas and are in contact with the same non-printable area. This facilitates the early identification of collaborative printing requirements between different printable regions. Analyzing the edge complexity of related non-printable edge lines helps clarify the optimization direction. Furthermore, analyzing the regional character data of at least two printable regions helps clarify the optimization level corresponding to the groups of printable regions. Finally, by integrating optimization coefficients and optimization parameters, the printing order of at least two printable regions within the related printable regions is adjusted. By analyzing the collaborative printing requirements between printable regions, the final printing order is adjusted, thereby improving printing efficiency and quality.
[0031] One possible implementation also includes:
[0032] Based on the target printing order, the physical parameters corresponding to the label to be printed, and the regional font data of each printable area, the focus printing position is determined, and based on the focus printing position, the adjacent focus printable areas and the adjacent regional font data corresponding to each adjacent focus printable area are determined.
[0033] Supplementary printing parameters are determined based on the font data of adjacent printable areas corresponding to adjacent areas of interest.
[0034] When a preset abnormal feature is detected in the printable area of interest, supplementary printing is performed on the printable position of interest based on the preset abnormal feature and the supplementary printing parameters.
[0035] By adopting the above technical solution, and by analyzing the physical parameters of the label to be printed and the regional font data of each printable area in advance, it is easy to identify the printing locations that may have printing problems. When anomalies are detected in the printing locations of concern, supplementary printing can be carried out in a timely manner, which can improve the quality of the printing results.
[0036] In one possible implementation, when the number of adjacent related regions of interest to printable regions exceeds a preset threshold, the determination of supplementary printing parameters based on the font data of the adjacent regions corresponding to the adjacent printable regions of interest includes:
[0037] Based on the printing speed of the printable area corresponding to the printable position of interest, and the printing speed of each adjacent printable area of interest, multiple adjacent printable areas of interest are filtered to determine the target adjacent printable area of interest.
[0038] Identify the font data of the attention region adjacent to the printable region of each target, and determine the printing complexity and printing attention spacing of each attention region font data at each predicted printing time based on each attention region font data and the attention printing position;
[0039] Based on the font data of each region of interest, the printing complexity and printing attention interval at each predicted printing time are used to determine the predicted printing score of each predicted printing point in the adjacent printable region of each target at the corresponding predicted printing time.
[0040] Supplementary printing parameters are determined based on the predicted printing point with the highest predicted printing score and the corresponding predicted printing time.
[0041] By adopting the above technical solution, when the number of adjacent printable areas of interest exceeds a preset threshold, multiple adjacent printable areas of interest can be filtered by the printing speed of the printable areas. This improves the printing accuracy during the supplementary printing process and avoids supplementary printing deviations caused by excessively fast printing speeds. In addition, by analyzing the printing complexity of the font data of each area of interest at each predicted printing moment and the distance between the predicted printing position and the target printing position, and quantifying it into a predicted printing score, multi-dimensional printing adaptation requirements are transformed into objectively comparable quantitative standards. This facilitates the precise identification of supplementary printing parameters that minimize interference with the target printing position and have optimal adaptability, thereby improving the accuracy and reliability of supplementary printing.
[0042] Secondly, this application provides a management system, which adopts the following technical solution:
[0043] A management system comprising:
[0044] At least one processor;
[0045] Memory;
[0046] At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application being configured to: execute the above-described irregular label printing management method.
[0047] Thirdly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0048] A computer-readable storage medium includes: a computer program stored thereon that can be loaded by a processor and execute the above-described irregular label printing management method.
[0049] Fourthly, this application provides a computer program product, which adopts the following technical solution:
[0050] A computer program product includes a computer program that, when executed by a processor, implements the above-described irregular label printing management method.
[0051] In summary, this application includes at least one of the following beneficial technical effects:
[0052] By identifying and analyzing the micro-label features of each printable area, fragmented data can be easily transformed into corresponding micro-label features for each printable area through classification and integration. Based on these micro-label features, it is easier to accurately identify the corresponding printable content from the print content data, eliminating the need for manual adjustment of the print template or manual calibration of the print position. This improves the flexibility in determining print content. The corresponding region font data is determined based on the micro-label structure and the printable content, and the region font data of each printable area is transformed into print control commands for the label to be printed. This facilitates the prompting of relevant printing equipment to accurately parse and execute print requirements, improving both the automation and intelligence of the printing process and print quality.
[0053] By analyzing the physical parameters of the labels to be printed and the regional font data of each printable area in advance, it is easier to identify printing locations that may have printing problems. When anomalies are detected in the printing locations of concern, supplementary printing can be carried out in a timely manner to improve the quality of the printing results. Attached Figure Description
[0054] Figure 1 This is a flowchart illustrating a method for managing irregularly shaped label printing in an embodiment of this application;
[0055] Figure 2 This is a schematic diagram of a supplementary printing process in an embodiment of this application;
[0056] Figure 3 This is a schematic diagram of the structure of a management system according to an embodiment of this application. Detailed Implementation
[0057] The following is in conjunction with the appendix Figures 1 to 3 This application will be described in further detail.
[0058] After reading this specification, those skilled in the art may make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.
[0059] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0060] It should be noted that, in the optional embodiments of this application, the data related to object information, when applied to specific products or technologies, requires the permission or consent of the object. Furthermore, the collection, use, and processing of this data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. In other words, if the embodiments of this application involve data related to an object, it must be obtained with the object's authorization and consent, the authorization and consent of relevant departments, and in accordance with the relevant laws, regulations, and standards of the country and region. If the embodiments involve personal information, the acquisition of all personal information requires the individual's consent. If sensitive information is involved, the separate consent of the information subject is required. The embodiments also need to be implemented with the object's authorization and consent.
[0061] Specifically, this application provides a method for managing the printing of irregularly shaped labels, executed by a management system. This management system can be a server or a terminal device. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this.
[0062] refer to Figure 1 , Figure 1 This is a flowchart illustrating a method for managing irregularly shaped label printing according to an embodiment of this application. The method includes steps S110-S130, wherein:
[0063] Step S110: Obtain the physical parameters, printable area parameters, and printable content data corresponding to the label to be printed, and determine the regional micro-label features of each printable area based on the physical parameters and printable area parameters.
[0064] Specifically, the label to be printed refers to a label carrier that has been designed or is ready for printing, awaiting printing of specific content onto a substrate using relevant printing equipment; it is the core object of the printing process. The physical parameters, printable area parameters, and printable content data of the label to be printed can be uploaded to the management system in advance by relevant personnel according to actual needs. The management system can obtain this data through scanning and recognition; the specific method of acquisition is not specifically limited in this embodiment. Physical parameters include, but are not limited to, label shapes such as circles, rectangles, and irregular polygons; label materials such as paper, plastic, and metal foil; and label dimensions. Printable area parameters include, but are not limited to, the number of printable areas, the location of printable areas, and the size of printable areas. Printable content data includes, but is not limited to, content types such as text, graphics, QR codes, and barcodes, and content attributes such as font, font size, color, and clarity. It is worth noting that the label to be printed includes printable and non-printable areas. Printable areas are the areas on the label to be printed that allow the printing of text, graphics, QR codes, and barcodes; there may be one or more printable areas. Non-printable areas are the areas on the label to be printed that cannot be effectively printed due to physical structure, functional requirements, or material limitations.
[0065] The micro-label features of printable areas can be considered as digital identifiers for the corresponding printable areas. These micro-label features serve a data organization function; the original parameters may be chaotic and disordered, but the organized micro-label features represent a set of parameters corresponding to the printable area. For example, micro-label features may include, but are not limited to, the area's material, location, size, and shape. A preset feature recognition algorithm can be used to determine spatial attribution, identifying the physical parameter attribution features corresponding to each printable area. A preset parameter mapping method is then used to directly map the structured printable area parameters to the functional attribute features of the printable area. Finally, the physical parameter attribution features and functional attribute features of each printable area are integrated to determine the micro-label features of each printable area. Specific preset feature recognition algorithms and preset parameter mapping methods are not specifically limited in this embodiment.
[0066] Step S120: Based on the regional micro-label features of each printable area, determine the regional printing content corresponding to each printable area from the printing content data, and bind the regional micro-label features of each printable area with the regional printing content to obtain the regional font data of each printable area.
[0067] Specifically, for any printable area, the micro-label features of the printable area are used as the filtering criteria. Based on these criteria, the corresponding printable content is selected from the printable content data. After determining the printable content, it needs to be bound to the micro-label features of that area, forming a region-content binding relationship. This ensures accurate parameter association when generating region font data later. Each printable area is pre-assigned a region ID, and these IDs are bound to the corresponding region-content binding relationship. This ensures that each region's printable content is bound to only one region ID. Finally, based on the region-content binding relationship, data is populated into the preset structure of the preset region font data to obtain the corresponding region font data. The preset structure includes region basic parameter fields, print content fields, and position calibration fields. The region font data is a structured overall framework for region micro-label features and region print content. The generated region font data serves as both a digital execution manual for the printable areas and a crucial bridge connecting label design and printing execution, ensuring accurate execution by region and accurate presentation by content during the printing process. The above method yields the region font data for each printable area.
[0068] Step S130: Determine the printing control command corresponding to the label to be printed based on the region font data of each printable area, and print the label to be printed based on the printing control command.
[0069] Specifically, the region font data of each printable area can be determined as a region printing control command. These region printing control commands are then integrated to obtain the printing control command corresponding to the label to be printed. Finally, the printing control command is sent to the relevant printing equipment so that the equipment can be controlled to perform printing operations at the corresponding positions on the label according to the printing control command. Further, the process of determining the printing control command corresponding to the label to be printed based on the region font data of each printable area can specifically include:
[0070] The process involves identifying the print content complexity and area size corresponding to the region font data of each printable area, determining the printing speed of each printable area based on its area size and the print content complexity of its corresponding region font data, sorting all printable areas according to their printing speeds to obtain an initial printing order, identifying non-printable areas in the label to be printed, and determining the cooling-off time for each printable area based on the initial printing order and the non-printable areas, optimizing the initial printing order based on the cooling-off time of each printable area to obtain a target printing order, and determining the printing control instructions corresponding to the label to be printed based on the target printing order and the printing speed of each printable area.
[0071] Specifically, for any printable area, printing features can be identified from the printed content corresponding to the area's character pattern data using a feature recognition algorithm. The complexity of the printed content corresponding to each printing feature is then determined based on a preset complexity mapping relationship. Printing features include the number of printed characters, character density, etc. Different printing features correspond to different levels of printed content complexity. The preset complexity mapping relationship is the correspondence between printing features and printed content complexity; the specific details are not limited in this embodiment. By comprehensively analyzing the area size and the corresponding printed content complexity of the printable area, the printing speed of the printable area is determined. Larger area sizes and higher printed content complexity result in slower printing speeds. This can be determined based on a preset speed mapping relationship, which is the correspondence between the combination of area size and printed content complexity parameters and the printing speed. This relationship can be determined by relevant personnel based on historical experimental data and then uploaded to the management system. Based on the above method, the printing speed of each printable area can be obtained.
[0072] After determining the printing speed of each printable area, the printable areas can be sorted according to their printing speed from high to low or low to high to obtain an initial printing order. Sort based on printing speed helps reduce printing errors caused by large deviations in printing speed. Based on a preset feature recognition algorithm and preset non-printable features, non-printable areas in the scanned image containing the label to be printed can be identified. Non-printable features can include holes, protrusions, depressions, folds, etc., which can be set and uploaded by relevant personnel according to the actual situation. Since the physical structure or material properties of non-printable areas may indirectly alter the cooling and curing conditions of printable areas due to spatial interference, environmental influences, etc., it is necessary to analyze the potential impact of non-printable areas on the cooling and curing process of related printable areas to determine the minimum cooling waiting time required for each printable area. Finally, the initial printing order can be optimized and adjusted based on the cooling waiting time of each printable area to reduce printing conflicts. For example, if the initial printing order is a, b, c, d, where area a is adjacent to area b and they share an edge, printing area b directly after printing area a in the initial order may cause heat to radiate to the edge of the adjacent area a. If the pigment / coating in area a is still in a semi-cured state and has not been fully cooled, it may be reheated to a molten / gas-like state, which may cause the pattern at the edge of area a to become blurred, such as blurred text edges, abnormal barcode width, or even color bleeding. In this case, the printing order of areas b and c can be adjusted, that is, after the printing operation of area a is completed, area c should be printed first, and then the adjacent area b should be printed.
[0073] Based on the target printing order and the printing speed and region font data corresponding to each printable area, region control instructions for each printable area are generated. Finally, these region control instructions are integrated into the printing control instructions corresponding to the label to be printed. By analyzing the printing speed of each printable area and the influence relationship between each printable area and the non-printable area, the cooling waiting time for each printable area is determined. This helps to reduce rendering issues during subsequent printing, thereby improving the accuracy of printing operations based on printing control instructions.
[0074] In this embodiment of the application, by determining and analyzing the regional micro-label features of each printable area, it is convenient to classify and integrate fragmented data into regional micro-label features corresponding to each printable area. Based on the regional micro-label features, it is convenient to accurately identify the regional printing content corresponding to each printable area from the printing content data, without the need for manual adjustment of the printing template or manual calibration of the printing position, thereby improving the flexibility when determining the printing content. According to the regional micro-label structure and regional printing content, the corresponding regional font data is determined, and the regional font data of each printable area is converted into printing control instructions corresponding to the label to be printed, which facilitates prompting the relevant printing equipment to accurately parse and execute the printing requirements. While improving the automation and intelligence of the printing process, it is also convenient to improve the printing quality.
[0075] Furthermore, to improve the accuracy of determining the cooling wait time for each printable area, the process of determining the cooling wait time for each printable area based on the initial printing order and non-printable areas may specifically include:
[0076] Based on the initial printing order, the adjacent printable areas of each printable area are determined, and the adjacent printing parameters of the adjacent printable areas are obtained. Based on the printable printing parameters of each printable area and the corresponding adjacent printing parameters, the first cooling waiting time of each printable area is determined. Based on the non-printable edge lines of each non-printable area and the printable edge lines of each printable area, the edge contact length between each printable area and its corresponding related non-printable area is determined, and the second cooling waiting time of each printable area is determined based on the edge contact length of each printable area. The related non-printable area of a printable area is the non-printable area that contains the same edge line as the printable area. Based on the first cooling waiting time and the second cooling waiting time of each printable area, the cooling waiting time of each printable area is determined.
[0077] Specifically, although the initial printing order is determined based on the printing speed of each printable area, the movement of the print head of both desktop label printers and industrial printing equipment follows the principle of minimum path cost. That is, the initial printing order is determined based on the minimum movement path. Therefore, the adjacency relationship of each printable area in the printing process can be determined based on the initial printing order. In other words, at least one adjacent printable area can be determined for each printable area. Adjacent printable areas can not only have an adjacency relationship in the printing process, but also have an adjacency relationship in physical location. A printable area can have multiple adjacent printable areas at the same time. The specific number is not specifically limited in this embodiment.
[0078] Based on regional features or regional numbers, obtain the adjacent printing parameters corresponding to each adjacent printable area, and at the same time obtain the printable printing parameters of the corresponding printable area. The adjacent printing parameters and printable printing parameters include, but are not limited to, printing material and average printing pixel value. The printing material is the material of the printable area or the corresponding adjacent printable area, and the average printing pixel value is the average value of each pixel corresponding to the area printing content of the printable area or the corresponding adjacent printable area. The specific process of determining the average pixel value is not specifically limited in the embodiments of this application. The cooling time of the printable area and its corresponding adjacent printable areas can be determined based on the printing parameters of the printable area or its corresponding adjacent printable areas and the preset cooling mapping relationship. Based on the initial printing order, the preset start printing time, and the cooling time of the printable area and its corresponding adjacent printable areas, the cooling period of the printable area and its corresponding adjacent printable areas can be determined. Based on the cooling period of the printable area and its corresponding adjacent printable areas, the overlap rate of the cooling period between the printable area and its corresponding adjacent printable areas can be determined. The higher the overlap rate of the cooling period, the greater the probability of printing quality risks caused by heat superposition, physical interference, etc. between the printable area and its corresponding adjacent printable areas. Therefore, it is necessary to optimize the original cooling waiting time of the printable area in order to set a longer cooling waiting time for the printable area. This can be done based on the preset time period overlap mapping relationship and the first cooling waiting time corresponding to the printable area. The preset time period overlap mapping relationship is the correspondence between the cooling period overlap rate and the first cooling waiting time. The specific content is not specifically limited in this embodiment of the application and can be determined by relevant personnel based on historical experimental data. Based on the above method, the first cooling waiting time for each printable area can be determined.
[0079] For any printable area, the printable edge line of the printable area is compared with the non-printable edge lines of all non-printable areas. The non-printable areas corresponding to the non-printable edge lines that intersect with the printable edge lines are identified as the relevant non-printable areas corresponding to the printable area. The intersection data, i.e., the edge contact length, is calculated. Then, based on a preset waiting time mapping relationship, a second cooling waiting time corresponding to the edge contact length is determined. The edge contact length directly reflects the range and intensity of interference that the non-printable area may cause to the cooling environment of the printable area. Therefore, the longer the edge contact length, the longer the corresponding second cooling waiting time. The preset waiting time mapping relationship is the correspondence between the edge contact length and the second cooling waiting time. This mapping relationship can be determined by relevant personnel based on historical experimental data and uploaded to the management system. Based on the above method, the second cooling waiting time for each printable area can be determined.
[0080] By summing the first and second cooling waiting times for each printable area, the cooling waiting time for each printable area can be determined. In this embodiment, analyzing the printable substrate parameters of each printable area and the corresponding adjacent substrate parameters facilitates the consideration and analysis of potential interference risks arising from heat superposition between adjacent printable areas. Transforming these potential interference risks into quantifiable cooling waiting times is a key step in improving print quality. Identifying and analyzing the edge contact length between printable areas and related non-printable areas helps address the issue of non-printable areas hindering cooling, thereby improving the accuracy of determining the cooling waiting time for each printable area and ultimately enhancing print quality.
[0081] Furthermore, after optimizing the initial printing order based on the cooling wait time of each printable area to obtain the target printing order, the method provided in this application also includes:
[0082] Based on the unprintable edge lines of each unprintable region and the printable edge lines of each printable region, it is determined whether there is a related printable region group containing at least two printable regions, and at least two printable regions are in contact with the same unprintable region. If so, the contacting unprintable region corresponding to the related printable region group is identified, and the contact edge ratio between at least two printable regions is determined based on the printable edge lines of at least two printable regions in the related printable region group and the unprintable edge lines of the contacting unprintable regions. When the contact edge ratio is within a preset ratio range, the corresponding edge complexity is determined based on the unprintable edge lines of the contacting unprintable regions, and the optimization coefficient corresponding to the related printable region is determined based on the edge complexity. Based on the region font data of at least two printable regions, the printing start point and printing end point of each printable region are determined, and the printing spacing of at least two printable regions is determined based on the printing start point and printing end point of each printable region. The optimization parameters corresponding to the related printable regions are determined based on the printing spacing. Based on the optimization coefficient and optimization parameters, the printing order of at least two printable regions in the related printable region group in the target printing order is optimized.
[0083] Specifically, after determining the target printing order, the edge lines of each region can be further analyzed, and the target printing order can be optimized based on the analysis results. First, the unprintable edge lines of each non-printable region and the printable edge lines of each printable region can be converted into edge point coordinates. These coordinates are then compared to determine whether all printable regions contain a related printable region group. The method of comparing edge point coordinates is not specifically limited in this embodiment, but a related printable region group must contain at least two printable regions, and the printable edge lines of at least two printable regions must overlap with the unprintable edge line of the same non-printable region. When a related printable region group exists, the overlap degree between the edge lines of each printable region and its corresponding non-printable region needs to be further determined. That is, the number of overlapping coordinates between the printable region and its corresponding non-printable region can be determined based on the edge point coordinates of the printable region and its corresponding non-printable region. Finally, the number of overlapping coordinates between at least two printable regions in the related printable region group is compared to obtain the contact edge ratio corresponding to the related printable region group.
[0084] The determined contact edge ratio is compared with a preset proportion range. When the contact edge ratio falls within the preset proportion range, it indicates that at least two printable regions in the relevant printable region group have a similar degree of overlap with the same non-contact region. At this point, it is necessary to further analyze the non-printable edges of the relevant non-printable regions to determine the optimization coefficients corresponding to at least two printable regions. The edge complexity can be determined by analyzing the density of the edge point coordinates of the non-printable regions. The higher the density, the higher the edge complexity. Specifically, it can be determined according to the preset complexity mapping relationship, which is the correspondence between density and edge complexity. After determining the edge complexity, the optimization coefficients corresponding to the relevant printable region combinations can be determined based on the preset optimization coefficient mapping relationship. Since higher edge complexity indicates a more complex contact relationship between the two printable regions and the corresponding non-printable regions within the relevant printable region group, it is not suitable to arrange the printing operations of at least two printable regions contained in the relevant printable region in a dense manner in order to reduce printing smudging and other issues. Therefore, the higher the edge complexity, the smaller the corresponding optimization coefficient. The preset optimization coefficient mapping relationship is the correspondence between edge complexity and optimization coefficient, which is determined by relevant personnel based on historical experimental data and then uploaded to the management system.
[0085] By analyzing the region font data of at least two printable regions in a group of printable regions, and determining the printing spacing between at least two printable regions based on the printing start and end points of each printable region, it is easy to understand the working interval of the relevant printing equipment during continuous printing of at least two printable regions. For example, the printing end point of printable region a is (a1, a2), and the printing start point of printable region b is (b1, b2). After the printing task of printable region a is completed, printable region b needs to be printed. At this time, the time required to move from (a1, a2) to (b1, b2) can be regarded as the working interval. The longer the working interval, the larger the corresponding optimization parameter. It can be determined based on the preset optimization parameter mapping relationship. The preset optimization parameter mapping relationship is the correspondence between the working interval and the optimization parameter. It can be determined by relevant personnel based on historical experimental data and uploaded to the management system in advance.
[0086] Finally, the adjustment position is determined based on the optimization coefficients and parameters. Based on this adjustment position, the printing order of at least two printable areas within the relevant printable area group in the target printing order is adjusted forward or backward. For example, if printable area a is the 2nd printable area in the target printing order and printable area b is the 3rd printable area, and the adjustment position determined based on the optimization coefficients and parameters is 2, then printable area b can be moved to the 4th position to make the order interval between printable areas a and b 2, or printable area b can be moved to the 5th position, as long as the order interval between printable areas a and b is not less than 2. By integrating the optimization coefficients and parameters to adjust the printing order of at least two printable areas within the relevant printable area group, and by analyzing the collaborative printing needs between printable areas to adjust the final printing order, printing efficiency and quality can be improved.
[0087] Furthermore, to improve the quality of the printing results, the method provided in this application embodiment also includes steps S210-S230, such as... Figure 2 As shown, where:
[0088] Step S210: Determine the printable position of interest based on the target printing order, the physical parameters of the label to be printed, and the regional font data of each printable area, and determine the adjacent printable areas of interest and the adjacent regional font data of each adjacent printable area of interest based on the printable position of interest.
[0089] Specifically, the focus is on printing locations where preset anomalies are highly likely to occur during the printing process. These preset anomalies include, but are not limited to, ink smudges, blurring, offset, and ink breaks, and can be set by relevant personnel according to actual needs. First, based on a preset risk matching table, physical parameters, and the regional font data for each printable area, the preset anomalies and their severity within each printable area are determined. Then, a weighted calculation is used to determine the anomaly value for each printable area, with different anomalies having different weights. The printable area with the highest anomaly value is designated as the focus printable area, and the focus printing location is the center point of that focus printable area. The preset risk matching table is determined based on the correlation between various fields in a large amount of physical parameters and regional font data and the preset anomalies. That is, when a certain physical feature appears in the physical parameters corresponding to a printable area, the preset risk matching table can be used to determine the possible anomalies and their severity for that printable area. Similarly, when a certain data segment appears in the regional font data corresponding to a printable area, the preset risk matching table can also be used to determine the possible anomalies and their severity for that printable area. Finally, the abnormal weights corresponding to each abnormal feature are determined based on the preset feature weights. The preset feature weights are the correspondence between abnormal features and abnormal weights. The specific content is not specifically limited in the embodiments of this application.
[0090] Adjacent printable areas of interest are different from adjacent printable areas. Adjacent printable areas of interest mainly refer to other printable areas that are printed after the printable areas of interest in order and that are physically adjacent to the printable areas of interest corresponding to the printable areas of interest in the printable area. The printable areas of interest are the printable areas where the printable areas of interest are located. The font data of the adjacent areas corresponding to each printable area of interest can be obtained from the management system based on the area number or edge point coordinates.
[0091] Step S220: Determine supplementary printing parameters based on the adjacent region font data corresponding to the adjacent printable regions of interest.
[0092] Specifically, a preset feature recognition algorithm can be used to identify the printing start point and printing end point in the font data of each adjacent region. By calculating the attention interval between the printing start point and printing end point corresponding to each adjacent printable region and the attention printing position, and then comparing all attention intervals, the optimal supplementary point can be determined. Supplementary printing parameters can then be generated based on this optimal supplementary point and the corresponding printing time. Furthermore, when the number of adjacent related regions of adjacent printable regions exceeds a preset threshold, supplementary printing parameters are determined based on the font data of the adjacent regions corresponding to the adjacent printable regions of adjacent regions. Specifically, this may include:
[0093] Based on the printing speed of the printable area corresponding to the printable position of interest and the printing speed of each adjacent printable area of interest, multiple adjacent printable areas of interest are filtered to determine the target adjacent printable areas of interest. The font data of the interest area in each target adjacent printable area of interest is identified, and the printing complexity and printing attention spacing of each font data of the interest area at each predicted printing time are determined based on the font data and the printable position of interest. Based on the printing complexity and printing attention spacing of each font data of the interest area at each predicted printing time, the predicted printing score of each predicted printing point in each target adjacent printable area of interest is determined at the corresponding predicted printing time. Supplementary printing parameters are determined based on the predicted printing point with the highest predicted printing score and its corresponding predicted printing time.
[0094] Specifically, when the number of adjacent related adjacent printable regions exceeds a preset threshold, it is necessary to filter multiple adjacent printable regions based on the printing speed to obtain target adjacent printable regions whose printing speed is close to that of the printable regions. In this embodiment, the printing speed of the target adjacent printable regions is less than or equal to the printing speed of the printable regions. The preset threshold is not specifically limited in this embodiment and can be set by relevant personnel according to actual needs.
[0095] The system can identify font features from the font data of adjacent printable regions corresponding to each target using a preset feature recognition algorithm. Based on the font features and the preset complexity mapping relationship, the system determines the printing complexity of the font features of each adjacent printable region within the corresponding predicted printing time period, as well as the printing attention distance between the predicted printing point and the printable position. After normalizing the printing complexity and printing attention distance for each predicted printing time, the system obtains the predicted printing score for each font data of the attention region at each predicted time. The lower the printing complexity and the smaller the printing attention distance, the higher the corresponding predicted printing score. Finally, by comparing the predicted printing scores, the system determines the predicted printing point with the highest predicted printing score, and this predicted printing point and its corresponding predicted printing time are used as supplementary printing parameters.
[0096] Step S230: When a preset abnormal feature is detected in the printable area of interest, supplementary printing is performed on the printable position of interest based on the preset abnormal feature and supplementary printing parameters.
[0097] Specifically, after determining the supplementary printing parameters based on the optimal supplementary point, supplementary printing can be performed on the printing positions of interest based on these supplementary printing parameters. This allows for the repair of abnormal printing situations at the printing positions of interest without stopping the machine and with minimal interference to other printable areas.
[0098] In this embodiment of the application, by analyzing the physical parameters of the label to be printed and the regional font data of each printable area in advance, it is easy to determine the printing positions that may have printing problems. When an anomaly is detected in the printing position of concern, the printing position of concern is supplemented in time, which helps to improve the quality of the printing results.
[0099] This application provides a management system, such as... Figure 3 As shown, Figure 3 The management system 300 shown includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the management system 300 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this management system 300 does not constitute a limitation on the embodiments of this application.
[0100] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0101] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by only one line, but this does not mean that there is only one bus or one type of bus.
[0102] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0103] The memory 303 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.
[0104] The management system includes, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Tablet PCs), PMPs (Portable Multimedia Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. It can also include servers. Figure 3 The management system shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0105] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments.
[0106] This application provides a computer program product including a computer program that, when executed by a processor, implements the methods described in any of the above embodiments.
[0107] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0108] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for managing the printing of irregularly shaped labels, characterized in that, include: Obtain the physical parameters, printable area parameters, and printable content data corresponding to the label to be printed, and determine the regional micro-label features of each printable area based on the physical parameters and the printable area parameters; Based on the regional micro-label features of each printable area, the regional printing content corresponding to each printable area is determined from the printing content data, and the regional micro-label features of each printable area are bound to the regional printing content to obtain the regional font data of each printable area. The printing control command corresponding to the label to be printed is determined based on the regional font data of each printable area, and the label to be printed is printed based on the printing control command. The step of determining the printing control command corresponding to the label to be printed based on the region font data of each printable area includes: Identify the printing content complexity and area size corresponding to the area font data of each printable area, and determine the printing speed of each printable area based on the area size and the printing content complexity of the corresponding area font data. The initial printing order is obtained by sorting all printable areas based on their printing speed. Identify the non-printable areas in the label to be printed, and determine the cooling waiting time for each printable area based on the initial printing order and the non-printable areas; The initial printing order is optimized based on the cooling waiting time of each printable area to obtain the target printing order; Based on the target printing order and the printing speed of each printable area, the printing control command corresponding to the label to be printed is determined.
2. The method for managing irregularly shaped label printing according to claim 1, characterized in that, The determination of the cooling waiting time for each printable area based on the initial printing order and the non-printable areas includes: Based on the initial printing order, the adjacent printable areas of each printable area are determined, and the adjacent printing parameters of the adjacent printable areas are obtained. Based on the printable printing parameters of each printable area and the corresponding adjacent printing parameters, the first cooling waiting time of each printable area is determined. Based on the non-printable edge lines of each non-printable area and the printable edge lines of each printable area, the edge contact length between each printable area and its corresponding related non-printable area is determined, and the second cooling waiting time of each printable area is determined based on the edge contact length corresponding to each printable area. The related non-printable area of the printable area is the non-printable area that contains the same edge line as the printable area. The cooling wait time for each printable area is determined based on the first cooling wait time and the second cooling wait time for each printable area.
3. The method for managing irregularly shaped label printing according to claim 2, characterized in that, After optimizing the initial printing order based on the cooling wait time of each printable area to obtain the target printing order, the process further includes: Based on the unprintable edge lines of each unprintable region and the printable edge lines of each printable region, determine whether there is a related printable region group, wherein the related printable region group contains at least two printable regions and the at least two printable regions are in contact with the same unprintable region; If so, then identify the contact non-printable area corresponding to the relevant printable area group, and determine the contact edge ratio between the at least two printable areas based on the printable edge lines of the at least two printable areas in the relevant printable area group and the non-printable edge lines of the contact non-printable area. When the contact edge ratio is within a preset ratio range, the corresponding edge complexity is determined based on the non-printable edge line of the non-printable contact area, and the optimization coefficient corresponding to the relevant printable area is determined based on the edge complexity. Based on the region font data of the at least two printable regions, determine the printing start point and end point of each printable region, and determine the printing spacing of the at least two printable regions based on the printing start point and end point of each printable region; The optimization parameters corresponding to the relevant printable areas are determined based on the printing spacing; the adjustment position is determined based on the optimization coefficient and the optimization parameters, and the printing order of at least two printable areas contained in the relevant printable area group in the target printing order is adjusted forward or backward based on the adjustment position, so that the order interval between the printing order of at least two printable areas contained in the relevant printable area group in the target printing order is not less than the adjustment position.
4. The method for managing irregularly shaped label printing according to claim 1, characterized in that, Also includes: Based on the target printing order, the physical parameters corresponding to the label to be printed, and the regional font data of each printable area, the focus printing position is determined, and based on the focus printing position, the adjacent focus printable areas and the adjacent regional font data corresponding to each adjacent focus printable area are determined. Supplementary printing parameters are determined based on the font data of adjacent printable areas corresponding to adjacent areas of interest. When a preset abnormal feature is detected in the printable area of interest, supplementary printing is performed on the printable position of interest based on the preset abnormal feature and the supplementary printing parameters.
5. The method for managing irregularly shaped label printing according to claim 4, characterized in that, When the number of adjacent related regions of printable interest exceeds a preset threshold, the process of determining supplementary printing parameters based on the font data of the adjacent regions corresponding to the printable interest regions includes: Based on the printing speed of the printable area corresponding to the printable position of interest, and the printing speed of each adjacent printable area of interest, multiple adjacent printable areas of interest are filtered to determine the target adjacent printable area of interest. Identify the font data of the attention region adjacent to the printable region of each target, and determine the printing complexity and printing attention spacing of each attention region font data at each predicted printing time based on each attention region font data and the attention printing position; Based on the font data of each region of interest, the printing complexity and printing attention interval at each predicted printing time are used to determine the predicted printing score of each predicted printing point in the adjacent printable region of each target at the corresponding predicted printing time. Supplementary printing parameters are determined based on the predicted printing point with the highest predicted printing score and the corresponding predicted printing time.
6. A management system, characterized in that, The management system includes: At least one processor; Memory; At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application being configured to: perform a method for managing irregular label printing according to any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, include: The computer program is stored and can be loaded by a processor and executed as described in any one of claims 1-5 for managing the printing of irregularly shaped labels.
8. A computer program product, characterized in that, The method includes a computer program that, when executed by a processor, implements the steps of the irregular label printing management method according to any one of claims 1-5.
Citation Information
Patent Citations
Label information identification and label printing method and device, equipment and medium
CN119105712A