Intelligent printing layout method and system based on advertisement printing content

By optimizing the layout of advertising print through structured analysis and visual importance calculation, the problems of time-consuming traditional manual design and difficulty in highlighting visual focus are solved. This realizes an automated and quantitative method for advertising print layout, improving efficiency and consistency.

CN122287552APending Publication Date: 2026-06-26MAIGAOHEYI CULTURE TECH GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-27
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Traditional advertising printing and layout relies on manual design, which is time-consuming and difficult to meet the requirements of high-efficiency production. Existing methods lack flexibility and cannot effectively quantify visual importance, resulting in difficulty in highlighting visual focal points.

Method used

By separating text and image information through structured analysis, identifying content units and calculating visual importance, and combining printing constraint verification, the layout space division and content arrangement are optimized to generate typesetting results that conform to printing specifications.

Benefits of technology

It enables automated and quantitative layout of advertising content, improving the efficiency of visually important content presentation and the consistency, adaptability, and printing quality of the layout results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122287552A_ABST
    Figure CN122287552A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent printing layout method and system based on advertising printing content, belonging to the field of printing layout technology. The method includes the following steps: performing structured analysis on the advertising printing content to obtain advertising content units; determining visual priority based on the advertising content units to obtain visual importance; dividing the page space according to visual importance to obtain content display areas; verifying printing constraints based on the content display areas to obtain printable layout areas; arranging text and images according to the printable layout areas to obtain a complete layout result; and printing the content according to the complete layout result to obtain a printed document. This invention comprehensively measures visual importance by combining the basic importance and semantic emphasis features of advertising content units, enabling the layout process to automatically identify and prioritize content display, providing a quantitative basis for page space planning, improving the visual presentation efficiency of key advertising content, and enhancing the consistency and adaptability of the layout results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of printing and typesetting technology, specifically to an intelligent printing and typesetting method and system based on advertising printing content. Background Technology

[0002] Advertising printing is a printing production process geared towards commercial advertising and display, typically including processes such as advertising content collection, visual layout design, printing process adaptation, and output of print files. In traditional advertising printing scenarios, layout mainly relies on manual designers who use their experience to create visual arrangements. Designers need to identify and sort content such as headlines, body descriptions, product images, and brand logos in the advertisement, and plan the layout according to the audience's attention characteristics to ensure that key information receives higher visual exposure. However, manual layout is limited by significant differences in skill levels and is time-consuming, making it difficult to meet the high-efficiency production requirements in scenarios involving the rapid generation of large volumes of advertisements.

[0003] Existing technologies have shortcomings in quantifying the visual importance of advertising content: existing methods mostly rely on fixed strategies, such as setting the weight of the title to be higher than the body text and the weight of the image to be higher than the ordinary text, which lacks flexibility and fails to combine multi-dimensional visual stimuli, resulting in the generated layout failing to ensure that the visual focus is prominent. Summary of the Invention

[0004] To address the shortcomings of existing technologies, this invention provides an intelligent printing layout method and system based on advertising printing content, in order to solve the problems mentioned in the background section.

[0005] To achieve the above objectives, the present invention provides the following technical solution: In a first aspect, the present invention provides an intelligent printing layout method and system based on advertising printing content, comprising the following steps: S1. Based on the printed content of the advertisement, a structured analysis is performed to obtain the advertisement content unit; S2. Determine the visual priority based on the advertising content units to obtain visual importance; S3. Divide the page space according to visual importance to obtain the content display area; S4. Perform printing constraint verification based on the content display area to obtain the printable layout area; S5. Arrange the text and images according to the printable layout area to obtain the complete layout result; S6. Print the content based on the complete layout to obtain the print file.

[0006] To further optimize this technical solution, the structured analysis in step S1 includes: Based on the original printed advertising content, text and image information are distinguished through content separation, and different information content types are identified. For each identified content, a content unit is constructed to obtain the advertising content unit.

[0007] To further optimize this technical solution, the visual guidance priority determination in step S2 includes: Based on the obtained advertising content units, visual importance analysis is used to determine the visual guidance priority of each content unit in advertising printing, thus obtaining visual importance.

[0008] To further optimize this technical solution, the visual importance analysis includes: For each ad content unit in the set, a basic importance level is determined based on the content type, and semantic emphasis features are identified to distinguish the degree of emphasis of different ad content units. Visual importance is calculated by combining the basic importance level and semantic emphasis features.

[0009] To further optimize this technical solution, the visual importance calculation includes:

[0010] in: Visual importance; : Basic importance parameters; Semantic emphasis parameters; Weighting coefficients; Visual importance is calculated by combining basic importance parameters and semantic emphasis parameters.

[0011] To further optimize this technical solution, the page space division in step S3 includes: Based on the obtained visual importance, the layout space is divided by calculating the spatial proportion, resulting in a content display area with defined spatial boundaries.

[0012] To further optimize this technical solution, the printing constraint verification in step S4 includes: Based on the obtained content display area, a printing process constraint check is performed, and the size and position of areas that do not meet the requirements are corrected to obtain a printable layout area that meets the printing requirements.

[0013] To further optimize this technical solution, the text and image arrangement in step S5 includes: Based on the obtained printable layout area, fill the corresponding layout area with the content of the advertising content unit to obtain the complete layout result.

[0014] To further optimize this technical solution, the content printing in step S6 includes: Based on the obtained complete typesetting results, the typesetting parameters are mapped to the printing file structure and the printing process constraint information is written to obtain a printing file that conforms to the printing industry standards.

[0015] This technical solution has been further optimized, including the following functional modules: The module includes an advertising content analysis module, a visual importance calculation module, a layout space division module, a printing constraint verification module, an advertising content arrangement module, and a printing file generation module.

[0016] In a second aspect, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program instructions are executed by the processor, they implement the steps of the intelligent printing typesetting method and system based on advertising printing content as described in the first aspect of the present invention.

[0017] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program instructions are executed by a processor, they implement the steps of an intelligent printing typesetting method and system based on advertising printing content as described in the first aspect of the present invention.

[0018] Compared with existing technologies, the present invention provides an intelligent printing layout method and system based on advertising printing content, which has the following beneficial effects: This intelligent printing layout method and system based on advertising printing content quantifies visual importance by analyzing the basic importance and semantic emphasis features of advertising content units. This enables the layout process to automatically identify and prioritize content, providing a quantitative basis for page space planning, improving the visual presentation efficiency of key advertising content, and enhancing the consistency and adaptability of layout results. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating an intelligent printing layout method based on advertising printing content proposed in this invention. Figure 2 This is a schematic diagram of a module of an intelligent printing and typesetting system based on advertising printing content proposed in this invention. Detailed Implementation

[0021] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0023] Secondly, the term "an embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places throughout this specification does not necessarily refer to the same embodiment, nor is it a single embodiment or an embodiment selectively excluded from other embodiments.

[0024] Example 1: Reference Figure 1 This is the first embodiment of the present invention, which provides an intelligent printing layout method based on advertising printing content, including the following steps: S1. Based on the structured analysis of the printed advertising content, advertising content units are obtained.

[0025] In this embodiment, the structured analysis includes: In advertising printing and layout scenarios, the advertising content to be processed usually exists in the form of "complete design drafts" or "mixed materials." Essentially, it is a highly coupled, unstructured collection of information, where text, images, logos, and pricing information are intertwined spatially and semantically. Different content carries significantly different communicative functions, but these are not clearly distinguished in their original state. If the advertising printing content is not structurally decomposed at the initial stage of the methodology, and instead the layout is processed directly on the entire content, it may lead to problems such as the inability to impose differentiated layout constraints on different functional content, visual hierarchy relying solely on manual experience or implicit rules, and a lack of certainty.

[0026] Based on the original printed advertising content, text and image information are distinguished through content separation, and different information content types are identified. For each identified content, a content unit is constructed to obtain the advertising content unit. In this way, the printed advertising content is transformed from a raw, mixed, and uncomputable state into a content unit with a clear structure, definite parameters, and continuous processing capability. This enables the engineered expression of advertising content and provides a stable, objective, and reusable basic input for the entire typesetting method.

[0027] The implementation methods for this step include: Determining the content to be printed: In advertising application scenarios, advertising content may come from various sources, such as web ads, video ads, interactive ads, or print ads. Obtaining the advertising content to be printed and clarifying that it belongs to an advertising information carrier that can be used in physical printing media ensures that all subsequent technical processing is based on the premise of fixed physical size, fixed color mode, and determined output medium, avoiding problems of inconsistent or uncertain input objects in subsequent processing. Advertising content separation: The printed advertising content is initially separated to distinguish between textual and non-textual information, eliminating the mixing between different content carriers. All content consisting of characters, numbers, and symbols is identified as text candidate content, and all content consisting of image files, vector graphics, or machine-readable graphic codes is identified as image candidate content. Text content type identification: In advertising printing and layout, different texts serve significantly different functions. For the separated candidate text content, its function type is identified. By considering character length, punctuation, keyword hit rate, and common advertising phrase structures, it is determined whether the text content conforms to the definition of headline, body text, or price. For example, content containing obvious promotional keywords and with a short character length is identified as headline, content containing currency symbols or price units is identified as price, and other content used to describe product or service information is identified as body text. Image content type identification: In advertising printing, there are significant differences between image content and logo content in terms of layout purpose and process requirements. For example, product display images usually occupy a large space, while brand logos need to maintain proportion and clarity. Machine-readable graphic codes also involve requirements for scannability. For candidate image content, the content type is determined according to its file attributes and usage. For example, content used to display the appearance, scene, or visual atmosphere of a product is identified as image content, content used to express the meaning of a brand, certification, or fixed symbol is identified as logo content, and machine-readable graphic codes are identified as an independent type. Advertising content unit construction: After completing the content type identification, each identified content is constructed as an independent advertising content unit. Each advertising content unit contains the determined content type and the corresponding text string or image data as the content body. Content length parameter determination: In advertising printing and typesetting, any space allocation behavior must be based on the minimum display requirements of the content. Otherwise, problems such as unreadable text or distorted images may easily occur. For each constructed advertising content unit, its content length parameter is further calculated. For text content, the minimum display size required for normal reading is determined based on the character width table and the number of characters under the standard font size condition. For image and logo content, the minimum display size required without distortion is determined based on its original resolution and proportion. This length parameter serves as a lower limit constraint in the subsequent space allocation process to ensure that the typesetting result has basic readability and printability. Ad content unit output: After completing the above processing, all the constructed ad content units are gathered together to form an ad content unit set. Each content unit has clear functional attributes, content entities and size reference parameters, thus serving as a complete, structured, and computable input object, which is directly provided to subsequent steps.

[0028] S2. Determine the visual priority based on the advertising content unit to obtain visual importance.

[0029] In this embodiment, the determination of visual guidance priority includes: Different advertising content units play significantly different roles in the communication objectives. For example, headlines attract attention, pricing information prompts decision-making, body text supplements information, and images or logos enhance memory or recognition. If the importance of these contents is not quantified before layout, and the layout is directly divided, the subsequent layout can only rely on content length or default order. This can easily lead to problems such as key and secondary content occupying similar space on the page, weakening the advertising effect, visual hierarchy being unable to be described by deterministic rules, and layout results being unreproducible.

[0030] Based on the obtained advertising content units, visual importance analysis is used to determine the visual guidance priority of each content unit in advertising printing, obtaining clear and comparable visual importance to indicate the degree to which it should be presented first in the overall layout. This improves the consistency and adaptability of the layout results, enhances the visual presentation efficiency of the key advertising content, and provides a quantifiable basis for subsequent layout.

[0031] Furthermore, the visual importance analysis includes: For each ad content unit in the set, a basic importance level is determined based on the content type, and semantic emphasis features are identified to distinguish the degree of emphasis of different ad content units. Visual importance is calculated by combining the basic importance level and semantic emphasis features. Specific implementation steps include: Reading advertising content units: Obtain the set of advertising content units output by step S1. Each content unit in this set contains a clear content type and content ontology information, so that the subsequent calculation results correspond one-to-one with the content units. Determining the basic importance level: In the field of advertising and printing, the roles of different types of content in the communication path have long-term stability. For example, headlines are usually used to attract attention, prices are used to trigger decisions, and body text is used to supplement explanations. For each advertising content unit, a basic importance level is first determined according to its content type. A pre-determined correspondence is used. For example, headline content corresponds to a higher importance level, price content corresponds to a second higher importance level, body text content corresponds to a medium importance level, and logo or auxiliary image content corresponds to a relatively lower importance level. This basic importance level reflects the long-term stable communication sequence law in the field of advertising and printing, and does not depend on specific design styles, thereby preventing visual hierarchy distortion and ensuring that the same content type achieves consistent basic results under the same conditions. Semantic Emphasis Feature Analysis: In actual advertising, even within the same category of headlines or prices, there are still significant differences in the degree of emphasis between different content. For example, headlines containing promotional keywords are usually more guiding than ordinary headlines. After determining the basic importance level, the content ontology of the content unit is further analyzed to identify its semantic emphasis features, so as to reflect the differences in importance within the same content type. For text content, it is detected whether it contains predefined emphasis keywords, promotional language or strong guiding expressions. For price content, it is determined whether it contains special price symbols or obvious discount marks. For image or logo content, it is determined whether it is marked as a core display object and has additional emphasis attributes. Visual importance calculation: After obtaining the basic importance level and semantic emphasis features, the two are processed together to form the final visual importance value of the content unit. This ensures that the final result reflects both the advertising communication structure and the specific content differences, avoiding the rigidity of determining the visual level solely based on content type and the distortion of importance judgment solely based on semantic emphasis. Results Record: After completing the visual importance calculation, the corresponding visual importance value is associated with the advertising content unit and stored, so that each advertising content unit not only contains content type and content body information, but also has a visual importance information that can be directly used for subsequent layout calculations. Visual importance set formation: The visual importance of each content unit is collected and formed into a visual importance set. Using the set of advertising content units as the index, this ensures that subsequent steps can accurately match visual importance with specific content.

[0032] Furthermore, the visual importance calculation includes:

[0033] in: Visual importance, indicating the importance of the first item. The visual guidance priority of each advertising content unit in the overall printed advertising layout ranges from 0 to 1. The larger the value, the more priority the content unit should be displayed and occupy a more important position in the layout. : Basic importance parameter, indicating the importance of the first Each advertising content unit is assigned a value based on the basic importance level corresponding to its content type, according to the content type determined in step S1, through a pre-set content type-importance mapping rule. For example, headline content corresponds to a higher value, price content corresponds to the second highest value, body text content corresponds to a medium value, and logo or auxiliary image content corresponds to a lower value. This mapping relationship is a deterministic rule, set according to the long-term stable dissemination order law in the advertising printing field. The larger the value, the higher the dissemination priority of the content type in the advertisement. The range is from 0 to 1. The basic importance parameter values ​​between different content types maintain a fixed order relationship to ensure the stability of the layout logic. : Semantic emphasis parameter, indicating the first The semantic emphasis of each ad content unit at the content ontology level is obtained by matching the content ontology according to rules, such as whether it hits the preset emphasis keywords, whether it contains price symbols, discount symbols, or whether it is marked as a core display image or core symbol, etc. The range is from 0 to 1, and the larger the value, the stronger the emphasis of the content. Weighting coefficients represent the influence of basic importance levels on visual importance. The sum of the weighting coefficients is 1. As a fixed constraint, it does not change with individual content units and is set according to actual needs. : Weight coefficient, representing the influence of semantic emphasis features on visual importance; Visual importance is calculated by combining basic importance parameters and semantic emphasis parameters.

[0034] Furthermore, the semantic emphasis parameters include:

[0035] in: : No. Each rule emphasizes a specific rule weight, which reflects the importance of different emphasis features. The sum of the weights is 1. : No. The content unit for the first The matching result of the emphasis rule is 1 if there is content in the ad content unit that matches the emphasis rule, and 0 otherwise. Semantic emphasis score is the weighted sum of all rule matching results. The more emphasis rules matched in an ad content unit, and the higher their weight, the stronger the semantic emphasis of the content. Semantic emphasis: The number of rules.

[0036] S3. Divide the layout space according to visual importance to obtain the content display area.

[0037] In this embodiment, the page layout space division includes: The visual importance obtained in S2 is still an abstract weighting layer of information, not yet translated into specific physical page space. Without a definitive mapping between visual importance and actual space occupancy, problems can easily arise, such as important and unimportant content occupying similar spaces on the page, weakening the advertising effect, inconsistent and unreproducible layout results for different advertisements on the same page size, and the inability to precisely control subsequent printing output based on clear spatial boundaries.

[0038] Based on the obtained visual importance, the layout space is divided by calculating the spatial proportion to obtain content display areas with definite spatial boundaries. This ensures that content with high visual importance receives a larger display space and that all advertising content units have one and only one corresponding display area on the layout, making the layout space division results calculable, reproducible, and deterministic.

[0039] Page layout methods include: Constraint determination: In the advertising printing scenario, the generation of any content display area must be attached to the specific printing page. Before the space is divided, the physical constraints of the current advertising printing page are first determined, including the overall size of the page, the available display range and boundary restrictions. This ensures that the subsequent division of all content display areas is carried out under the same coordinate reference system and physical scale, so that the space division process is not affected by changes in the quantity and type of advertising content, maintains the stability of the algorithm behavior, and provides a clear judgment standard for subsequent area integrity verification. Correspondence establishment: Read each visual importance value one by one from the visual importance set output in step S2, and establish a one-to-one mapping relationship with its corresponding advertising content unit to ensure that the subsequent space division always revolves around the corresponding content, and avoid the problem of mismatch between importance and content in the subsequent sorting or allocation process. Content ordering: Based on visual importance values, all advertising content units are sorted, prioritizing those with high visual importance in the sorting sequence. This provides a sequential basis for subsequent space allocation, thereby reflecting the visual guidance logic in advertising communication, avoiding conflicts caused by multiple contents competing for the same space, ensuring a definite execution order in the space division process, and guaranteeing the repeatability of the results. Space Proportion Calculation: Without changing the overall page area, the proportion of page space that each content unit should occupy is calculated based on the relative proportion of visual importance in the total overall importance. This establishes a direct quantitative relationship between space allocation and visual importance, ensuring that advertising content with different quantities and importance can still be reasonably allocated on the same page, thus improving the flexibility of space division. Content display area division: According to the sorting order, the content display area is divided sequentially from the available space on the page. Each division is based on the space ratio corresponding to the current content unit, generating a continuous display area with clear boundaries, and deducting from the remaining space. This ensures that visually important content is not squeezed out by subsequent content in the space allocation, so that each content display area has a continuous and clear spatial boundary, which is convenient for subsequent typesetting and printing output, and avoids overlap between areas. Regional integrity and coverage verification: After all content units have been spatially divided, the resulting set of content display areas is verified for consistency to ensure that there is no spatial overlap, omission, duplication or boundary violation, and to ensure that all available page space is reasonably allocated; Content display area set output: Output the content display area corresponding to each advertising content unit in a unified manner to form a complete content display area set.

[0040] Furthermore, the calculation of the spatial proportion relationship includes: Total visual importance:

[0041] in: : Sum of visual importance, representing the total magnitude of all visual importance, used to measure the overall weight scale; The number of ad content units; The total visual importance is obtained by summing the visual importance of all ad content units; Space occupancy calculation:

[0042] in: : No. Space allocation of each advertising content unit; The spatial proportion of each ad content unit is obtained by comparing the visual importance of each ad content unit with the sum of visual importance. The area of ​​the display area to be allocated:

[0043] in: : Assigned to the first The display area of ​​each advertising content unit; The effective area of ​​the page available for typesetting is obtained when determining the constraints of advertising printing. The area of ​​the page allocated to each advertising content unit is obtained by multiplying the space ratio of each advertising content unit by the effective area available for layout.

[0044] S4. Perform printing constraint verification based on the content display area to obtain the printable layout area.

[0045] In this embodiment, the printing constraint verification includes: The content display area obtained in S3 has been allocated and has physical boundaries, but it is still uncertain whether it can be directly used for printing. Actual printing equipment has objective limitations such as imaging accuracy, cutting deviation, color overprinting, and ink coverage. If the layout area exceeds the upper limit of the process, it will lead to blurred text, broken lines, ink overflow in color blocks, or cutting errors, making the finished advertisement inconsistent with the design layout.

[0046] Based on the obtained content display area, a printing process constraint check is performed, and the size and position of areas that do not meet the requirements are corrected to obtain a printable layout area that meets the printing needs. This ensures that the layout is not only reasonable in terms of structure but also feasible in terms of process, and ensures that clarity, boundary integrity and color stability are maintained during the printing process.

[0047] The printing constraint verification steps include: Content display area reading: Read the area corresponding to each content unit one by one from the content display area set output by S3, establish a unique number for each area, form a sequence of areas to be inspected, and ensure that each area can be reviewed independently and has a tracking identifier; Regional content attribute analysis: Utilizing mature PDF / X prepress standard verification technology, key attributes within each content display area are extracted, including font size, line width, graphic size, color coverage, and coordinate position. A parameter mapping structure is constructed to provide basic data for subsequent judgment. Comparison and verification: The parsed regional attributes are compared with the minimum or maximum thresholds allowed by the printing equipment and media, including the minimum display size of the font (refer to the minimum display size constraint in S1), the minimum image width of the image lines, the safe distance for page cutting (refer to the overall page size constraint in S3), and the maximum value of the total ink volume of the color. If any indicator does not meet the threshold, the region is marked as a state to be corrected; otherwise, it is marked as a printable state. Regional adjustments: 1. Compare with the minimum display size constraint. If the font or graphic size in the area is lower than the minimum printable size specified in S1, the width and height of the area must be increased to ensure that the content can be clearly displayed in the final print. When adjusting, keep the aspect ratio of the content consistent to prevent image or text distortion. 2. Calculate the total ink volume for each region, including the area covered by the CMYK four-color overlay and the ink volume value. If the required ink volume is greater than the maximum allowed total ink volume, adjust the region, such as reducing the region area (fine-tuning the region width and height while maintaining content recognizability), reducing the color coverage (by reducing the fill color depth or color block density to make the total ink volume less than the maximum allowed total ink volume), and locally adjusting the content distribution (locally reducing the area of ​​parts with high color saturation to balance visual effects and ink volume limitations). 3. After adjustment, the area of ​​each region should maintain the space ratio logic allocated by S3 as much as possible. If the ratio changes due to meeting the minimum display size, the distribution of the surrounding available areas should be adjusted to ensure that the total area of ​​the page does not exceed the limit. 4. When adjusting the position of a region, ensure that each region maintains a minimum safe distance from the edge of the page and adjacent regions, and that regions do not overlap. The adjustment process adopts the strategy of "moving inward or scaling locally" rather than rearranging the entire page, so as to ensure that the original spatial division logic is not disrupted as much as possible. 5. Adjustments must be made within the constraints of the total area of ​​the page. If the total area of ​​all areas to be corrected exceeds the available area of ​​the page, the remaining space needs to be scaled or redistributed according to the principle of visual importance priority. High visual importance areas should be prioritized to ensure the minimum display size, while low importance areas can be fine-tuned when space is tight. Printable layout area formation: All areas that have passed verification, along with the corrected areas, are collectively summarized to form a complete set of printable layout areas. Each area meets the requirements for minimum display size, layout constraints, safety distance, and ink volume.

[0048] S5. Arrange the text and images according to the printable layout area to obtain the complete layout result.

[0049] In this embodiment, the text and image arrangement includes: Step S4 has completed the generation of printable layout areas. Each area meets process constraints such as minimum display size, overall page area constraints, total ink volume, and cut safety distance. However, the interiors of these areas are still blank. If printed directly, the advertising content cannot present complete information on the page. Therefore, it is necessary to arrange the text and image content within their respective printable areas so that each area can truly carry the content information while ensuring visual hierarchy and readability.

[0050] Based on the obtained printable layout area, the content in the advertising content unit is filled into the corresponding layout area for arrangement to obtain a complete layout result, thereby realizing the final visual presentation of the page content, ensuring visual coordination between different areas of the page, improving visual consistency, and providing structured content for printing output.

[0051] The steps for arranging text and images include: Text and image content differentiation: The input advertising content is classified, with text, titles, subtitles, etc., classified as text, and photos, icons, graphics, etc., classified as images, and a one-to-one mapping relationship is established between each content unit and the printable area; Text content layout: Within the corresponding layout area, determine the starting baseline position of the text to ensure that each line of text has a clear starting point. Arrange the text lines according to a uniform baseline spacing to ensure consistent visual rhythm of text across areas, enhance the readability of the layout, and ensure that the font size, line spacing, and character spacing meet the minimum display size constraints of S1 to prevent the font from being too small and affecting the printing clarity. If the text exceeds the width of the area, it can be arranged by wrapping or segmenting, but the area size will not be adjusted. For text layout in multiple areas, maintain the overall visual alignment and hierarchical unity of the layout to make the overall layout of the advertisement harmonious. Image content layout: Determine the initial position of the image within the corresponding layout area, scale the image proportionally to the original aspect ratio to fill the area, avoid any deformation and prevent distortion, adjust the image position according to the area boundary, ensure a safe distance from text or other image content, avoid overlap or visual interference, and for cases where there is partial overflow, make fine adjustments by cropping or scaling to ensure that the image is completely within the area. Comprehensive layout verification: Check whether the text and images in all areas match the boundaries of the S4 printable area, ensure that there is no overlap between text and images and that they meet the printing safety distance requirements, and verify the overall visual consistency of the layout, including alignment, hierarchy and proportion. Complete layout output: All text and image spatial positions, sizes, and content information are uniformly encapsulated to form the final complete layout result.

[0052] S6. Print the content based on the complete layout to obtain the print file.

[0053] In this embodiment, the content printing includes: In the complete typesetting result generated in S5, text, images, and graphics are correctly arranged within the printable area. However, this typesetting information still exists within the system's internal data structure and cannot be directly used for printing press production. Directly converting S5 typesetting data into a regular printing file may result in the loss of typesetting parameters (such as area boundaries, color ink volume, and cut safety distance) and printing process constraints, thus affecting print quality. Therefore, a step is needed to synchronously write the complete typesetting result and printing process constraints into the printing file, making the file itself a standardized print output ready for direct production.

[0054] Based on the obtained complete layout results, the layout parameters are mapped to the printing file structure and the printing process constraint information is written to obtain printing files that conform to printing industry standards. This ensures layout consistency and process constraints, prevents subsequent printing from damaging the layout, ensures data consistency throughout the entire process from logical design to physical printing, and improves printing quality and production efficiency.

[0055] The implementation methods for this step include: Complete typesetting result reading: Obtain all content unit information from the S5 output, including text content and font, line spacing, character spacing, image and graphic size, position, ratio, color parameters, page size and printable area boundaries, etc., to ensure that the printed file is completely consistent with the typesetting result, and establish a unique identifier for each content unit so as to map it to the printed file structure; Typesetting parameter mapping: The typesetting data is mapped to the data structure of the printing file, and the spatial coordinates, size, font, line spacing, color ink volume and other information of each content unit are written into the printing file description structure, so that the layout information is expressed in the standard file format and the data inside the file is completely consistent with the S5 output. Printing process constraint information is written in: parameters such as minimum display size, printable area boundary and safety distance, total ink volume, page size and edge trimming line formed by S4 verification are embedded in the file, metadata is added to each area, and its process constraint value is recorded to ensure that the printing press can follow these restrictions during production, without destroying the layout, and ensuring printing quality and finished product consistency. File generation and format standardization: The above data is generated into the final printing file according to printing industry standards (such as PDF / X). The file contains page structure, content layout, color ink volume information and process constraint metadata, so that it can be directly used for printing production and is compatible with the format of the printing press system. Complete print file output: Save the generated print file as an executable print data format for direct use by the printing press, ensuring that the output file is consistent with the complete S5 typesetting result and maintains the integrity of all process constraint information.

[0056] Example 2: Reference Figure 2 This is the second embodiment of the present invention, which provides an intelligent printing and typesetting system based on advertising printing content, including the following functional modules: The advertising content analysis module is used to perform semantic analysis and layout element recognition on the input advertising copy and image information, construct a set of advertising content units, and provide structured basic data for subsequent visual computing. Visual importance calculation module: Based on the results of content structure analysis, it calculates the visual importance of content units and generates a visual importance set to determine the attention priority of different content in the advertisement, providing a quantitative basis for space allocation; Page space division module: Based on the visual importance set, the page area is planned, the advertising page is divided into multiple content display areas and the area ratio is allocated to ensure that important content gets a larger display area; Printing constraint verification module: Performs printing adaptability checks on the layout area planning results, including printing process constraints such as minimum font size, minimum image resolution, ink volume limit, and color gamut matching, and performs scaling, rearrangement, or color adjustment on areas that do not meet the requirements to obtain printable layout areas; Advertising content layout module: Complete the actual layout of text, product images, brand logos and other content within the printable layout area, generate a complete layout result, and ensure clear visual hierarchy, prominent focus and overall aesthetics; Print file generation module: Renders the layout results and converts them into printable file formats to output finished print files.

[0057] Example 3: In practical applications, this invention can be applied to commercial advertising printing and typesetting, and is used to intelligently typeset advertising content such as e-commerce promotional leaflets, brand product manuals and offline event posters, with the efficient generation of printable layouts as a typical scenario.

[0058] In practice, the process begins by receiving the advertising content to be laid out, including headline text, body text, promotional text, product images, and brand logo. This content is then subjected to structured analysis to extract various content units and their semantic attributes. Subsequently, the basic importance level of each advertising content unit is determined based on its type, and the visual importance of each unit is calculated by combining semantic emphasis features. This generates a quantified set of visual importance, providing a basis for subsequent layout space allocation.

[0059] Based on visual importance, the layout is divided into several content display areas, and the area of ​​each area is allocated to ensure that key content receives more display space. Simultaneously, printing process constraints are checked for each area, including minimum readable font size, image resolution, total ink volume, and trimming safety distance. Areas that do not meet the requirements are adjusted in size, position, or color coverage to create a printable layout area. Within the printable area, arrange the text and images according to the page proportions and visual hierarchy, so that all kinds of content are presented completely within the area, maintaining alignment, spacing, white space and visual focus, to form a complete layout result.

[0060] Finally, the complete layout result is converted into a file format that conforms to printing standards, and a printable file containing text, images, colors and process constraint information is output. This realizes a closed-loop automated layout process from input of advertising content to generation of print files, ensuring that the layout content is aesthetically pleasing, highlights key points, and is printable.

[0061] Example 4: This embodiment also provides a computer device applicable to an intelligent printing layout method and system based on advertising printing content, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to realize the intelligent printing layout method and system based on advertising printing content as proposed in the above embodiment.

[0062] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements an intelligent printing layout method and system based on advertising printing content as proposed in the above embodiments.

[0063] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0064] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0065] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0066] More specific examples (a non-exhaustive list) of computer-readable media include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0067] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0068] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A smart printing layout method based on advertising printing content, characterized in that, Includes the following steps: S1. Based on the printed content of the advertisement, a structured analysis is performed to obtain the advertisement content unit; S2. Determine the visual priority based on the advertising content units to obtain visual importance; S3. Divide the page space according to visual importance to obtain the content display area; S4. Perform printing constraint verification based on the content display area to obtain the printable layout area; S5. Arrange the text and images according to the printable layout area to obtain the complete layout result; S6. Print the content based on the complete layout to obtain the print file.

2. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The structured analysis in step S1 includes: Based on the original printed advertising content, text and image information are distinguished through content separation, and different information content types are identified. For each identified content, a content unit is constructed to obtain the advertising content unit.

3. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The determination of visual guidance priority in step S2 includes: Based on the obtained advertising content units, visual importance analysis is used to determine the visual guidance priority of each content unit in advertising printing, thus obtaining visual importance.

4. The intelligent printing layout method based on advertising printing content according to claim 3, characterized in that, The visual importance analysis includes: For each ad content unit in the set, a basic importance level is determined based on the content type, and semantic emphasis features are identified to distinguish the degree of emphasis of different ad content units. Visual importance is calculated by combining the basic importance level and semantic emphasis features.

5. The intelligent printing layout method based on advertising printing content according to claim 4, characterized in that, The calculation of visual importance includes: ; in: Visual importance; : Basic importance parameters; Semantic emphasis parameters; Weighting coefficients; Visual importance is calculated by combining basic importance parameters and semantic emphasis parameters.

6. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The page space division in step S3 includes: Based on the obtained visual importance, the layout space is divided by calculating the spatial proportion, resulting in a content display area with defined spatial boundaries.

7. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The printing constraint verification in step S4 includes: Based on the obtained content display area, a printing process constraint check is performed, and the size and position of areas that do not meet the requirements are corrected to obtain a printable layout area that meets the printing requirements.

8. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The text and image arrangement in step S5 includes: Based on the obtained printable layout area, fill the corresponding layout area with the content of the advertising content unit to obtain the complete layout result.

9. The intelligent printing layout method based on advertising printing content according to claim 1, characterized in that, The content printing in step S6 includes: Based on the obtained complete typesetting results, the typesetting parameters are mapped to the printing file structure and the printing process constraint information is written to obtain a printing file that conforms to the printing industry standards.

10. An intelligent printing layout system based on advertising printing content, constructed based on the intelligent printing layout method based on advertising printing content according to any one of claims 1-9, characterized in that, Includes the following functional modules: The module includes an advertising content analysis module, a visual importance calculation module, a layout space division module, a printing constraint verification module, an advertising content arrangement module, and a printing file generation module.