Intelligent typesetting system and method for construction scheme
By using multimodal fusion model and intelligent layout algorithm in construction plan layout, the problems of low layout efficiency and prone to errors in existing construction plan layout are solved, efficient and accurate intelligent layout is achieved, and the quality and efficiency of construction plan preparation are improved.
Patent Information
- Application Number
- CN202411578442.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-28
AI Technical Summary
The layout efficiency of the existing construction plan is not high, and it is prone to problems such as chaotic layout, logical disorder, calculation errors, and drawing errors. Manual layout is time-consuming and labor-intensive and has low efficiency.
Using a multimodal fusion model, innovative algorithms including document structure analysis, data classification, data recognition, intelligent typesetting, etc. are developed, and an intelligent typesetting system is established to realize intelligent dynamic typesetting of data types such as pictures, tables, documents, and formulas.
It improves the layout efficiency, saves time and cost, ensures the consistency of the layout style, avoids the layout errors caused by human factors, and improves the efficiency and accuracy of the construction plan preparation.
Smart Images

Figure CN119538862A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of building construction, and in particular relates to an intelligent typesetting system and method for a construction plan. Background Art
[0002] In construction management, the construction plan is an important basis for guiding the construction of sub-projects, and its writing is one of the main tasks of project technicians. At present, the content and form of the construction plan are complicated (including text information, table information, picture information, formula information, drawing information, etc.), which leads to many problems such as typesetting confusion, logical confusion, calculation errors, drawing errors, etc. in the writing of the construction plan, which directly affects the quality of the construction plan. At present, the layout of the construction plan adopts manual typesetting. The whole process is time-consuming and labor-intensive, especially when processing a large number of documents, the efficiency is low, and different typesetters may have different typesetting styles and habits. Especially in repetitive work, manual typesetting is prone to format errors and typing errors.
[0003] Therefore, how to provide an intelligent typesetting system and method for construction plans to improve typesetting efficiency is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0004] In view of the problems that traditional construction plan typesetting is inefficient and subject to great human influence, the present invention proposes an intelligent typesetting system and method for construction plans, adopts a multimodal fusion model, develops innovative algorithms including document structure analysis, data classification, data recognition, and intelligent typesetting, and establishes a new intelligent typesetting system to achieve intelligent dynamic typesetting of construction plans of data types such as pictures, tables, documents, and formulas, thereby improving typesetting efficiency, saving time and cost, ensuring consistency of typesetting style, avoiding typesetting errors caused by human factors, and improving the efficiency and accuracy of construction plan compilation.
[0005] In order to solve the above technical problems, the present invention includes the following technical solutions:
[0006] A construction plan intelligent typesetting system, comprising:
[0007] A layout design system, the layout design system includes a scheme collection module and a typesetting rule determination module, the scheme collection module is used to collect various construction scheme documents containing multiple data elements; the typesetting rule determination module designs and determines the typesetting rules of the construction scheme documents required by various construction scenarios by collating the collected construction scheme documents and combining the characteristics of various data elements, and inputs the typesetting rules into the layout grid creation module of the intelligent typesetting system;
[0008] A document preprocessing system, the document preprocessing system includes a data classification and recognition module and a document structure analysis module. The data classification and recognition module uses a multimodal model to classify and recognize various data elements such as text, pictures, tables, and formulas in a document, and inputs the recognized elements into the document structure analysis module; the document structure analysis module is used to analyze the logical structure of the document, including various elements such as titles, subtitles, lists, and paragraphs, and determine the hierarchy and order of the document based on the recognized elements, so as to provide structured information for subsequent typesetting;
[0009] An intelligent typesetting system includes a layout grid creation module and a layout adjustment module. The layout grid creation module is used to create a layout grid for a document according to the document content and typesetting rules; the layout adjustment module is used to fine-tune the position and size of elements according to the importance and visual hierarchy of the content.
[0010] Furthermore, the layout grid creation module uses a constraint-based layout algorithm Auto Layout to determine the placement of different data elements, text, pictures, tables, and formulas, and adjusts the layout to adapt to different page sizes and device screens.
[0011] Furthermore, the layout grid creation method includes:
[0012] First, analyze the layout requirements and relationships between different data elements such as text, pictures, tables, and formulas;
[0013] Next, define layout constraints, including the size and font properties of text boxes, the size and alignment of images, the row and column configuration of tables, and the display format and position of formulas;
[0014] Finally, Cassowary, the core algorithm of the Auto Layout algorithm, is used to solve the linear programming problem in interface layout, and the algorithm is optimized according to the specific needs of document layout, such as processing text automatic line wrapping and table cross-row merging.
[0015] Furthermore, the Cassowary algorithm includes:
[0016] Step S1, define variables: define the location and size of data elements in the system;
[0017] Step S2, adding constraints: adding equality constraints, such as the width of one element is twice the width of another element or inequality constraints, such as one element must be constrained to the right of another element into the system;
[0018] Step S3, setting priority: assign a priority to each constraint, and the constraints with higher priority will be satisfied first during the solution process;
[0019] Step S4, solver: using the solver Solver, using the simplex algorithm to process the constraints and find a solution that satisfies all the constraints;
[0020] Step S5, incremental update: When adding or removing constraints, the Cassowary algorithm incrementally updates the solution instead of calculating it from scratch;
[0021] Step S6, Edit Context: The algorithm provides Edit Contexts, which can dynamically change constraints during user interaction and quickly recalculate the layout.
[0022] The present invention also provides a construction plan intelligent typesetting method, the method comprising:
[0023] Step S1, using the construction plan intelligent typesetting system;
[0024] Step S2: collect and organize various construction plan documents containing multiple data elements, and design optimal layout rules based on the characteristics of the data elements;
[0025] Step S3: using the multimodal model to classify and identify the elements of the document, such as text, pictures, tables, and formulas, to determine the hierarchy and order of the document;
[0026] Step S4: Create a layout grid based on the characteristics and rules of the data elements, adjust the position and size of each element, ensure the design aesthetics, and thus complete the intelligent layout of the construction plan document.
[0027] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0028] The present invention provides an intelligent typesetting system and method for construction plans based on artificial intelligence, the system includes a layout design system, a document preprocessing system and an intelligent typesetting system. Among them, the layout design system specifically includes two modules: a plan acquisition module and a typesetting rule determination module; the document preprocessing system specifically includes two modules: a data classification and recognition module and a document structure analysis module; the intelligent typesetting system specifically includes two modules: a layout grid creation module and a layout adjustment module. The layout design system is mainly responsible for collecting the typesetting of a large number of construction plans and designing the optimal typesetting rules; the document preprocessing system is mainly responsible for classifying and identifying the data elements in the plan based on a multimodal model, and analyzing the structure of the plan document as a whole; the intelligent typesetting system is mainly responsible for creating a layout grid for the document for different data categories based on computer vision technology, calculating the position and size of the document elements, and determining the optimal layout structure. This method first collects and organizes various construction plan documents containing multiple data elements, and designs the optimal layout rules based on the characteristics of the data elements; then, a multimodal model is used to classify and identify the text, pictures, tables, formulas, etc. in the document to determine the hierarchy and order of the document; finally, a layout grid is created based on the characteristics and rules of the data elements, and the position and size of each element are adjusted to ensure the design aesthetics.
[0029] Compared with the traditional manual typesetting method, the beneficial effects of the present invention are mainly as follows:
[0030] (1) Improved efficiency. The intelligent typesetting system significantly improves work efficiency through automated processes and greatly reduces the time required for typesetting.
[0031] (2) Quality assurance: the intelligent system is more stable and reliable in typesetting quality, ensuring the consistency and accuracy of typesetting rules and reducing human errors and omissions;
[0032] (3) Comprehensive coverage of data elements: The intelligent typesetting system comprehensively covers various data elements such as text, pictures, tables, formulas, etc. It classifies and identifies different elements in the document through a multimodal model, ensuring the integrity and accuracy of the typesetting content;
[0033] (4) Flexible response to diverse plans: The intelligent typesetting system can cope with the changing typesetting requirements of construction plans and adapt to the requirements of different construction scenarios through flexible typesetting rules and layout adjustments. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of a construction plan intelligent typesetting system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The following is a further detailed description of a construction plan intelligent typesetting system and method provided by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description.
[0036] Embodiment 1
[0037] Combine the following Figure 1 , the intelligent typesetting system for construction plans of the present invention is described in detail.
[0038] A construction plan intelligent typesetting system, comprising:
[0039] A layout design system, the layout design system includes a scheme collection module and a typesetting rule determination module, the scheme collection module is used to collect various construction scheme documents containing multiple data elements; the typesetting rule determination module designs and determines the typesetting rules of the construction scheme documents required by various construction scenarios by collating the collected construction scheme documents and combining the characteristics of various data elements, and inputs the typesetting rules into the layout grid creation module of the intelligent typesetting system;
[0040] A document preprocessing system, the document preprocessing system includes a data classification and recognition module and a document structure analysis module. The data classification and recognition module uses a multimodal model to classify and recognize various data elements such as text, pictures, tables, and formulas in a document, and inputs the recognized elements into the document structure analysis module; the document structure analysis module is used to analyze the logical structure of the document, including various elements such as titles, subtitles, lists, and paragraphs, and determine the hierarchy and order of the document based on the recognized elements, so as to provide structured information for subsequent typesetting;
[0041] The intelligent typesetting system includes a layout grid creation module and a layout adjustment module. The layout grid creation module is used to create a layout grid for a document according to the document content and typesetting rules; the layout adjustment module is used to fine-tune the position and size of elements according to the importance and visual hierarchy of the content, ensuring that the alignment and spacing between individual data elements conform to the design aesthetics.
[0042] Specifically, the present invention provides an intelligent typesetting system for construction plans based on artificial intelligence, which includes a layout design system, a document preprocessing system and an intelligent typesetting system. Among them, the layout design system specifically includes two modules: a plan acquisition module and a typesetting rule determination module; the document preprocessing system specifically includes two modules: a data classification and identification module and a document structure analysis module; the intelligent typesetting system specifically includes two modules: a layout grid creation module and a layout adjustment module. The layout design system is mainly responsible for collecting the typesetting of a large number of construction plans and designing the optimal typesetting rules; the document preprocessing system is mainly responsible for classifying and identifying the data elements in the plan based on a multimodal model, and analyzing the structure of the plan document as a whole; the intelligent typesetting system is mainly responsible for creating the layout grid of the document for different data categories based on computer vision technology, calculating the position and size of the document elements, and determining the optimal layout structure.
[0043] In this embodiment, more preferably, the layout grid creation module uses a constraint-based layout algorithm AutoLayout to determine the placement of different data elements, text, pictures, tables, and formulas, and adjust the layout to adapt to different page sizes and device screens.
[0044] In this embodiment, more preferably, the layout grid creation method includes:
[0045] First, analyze the layout requirements and relationships between different data elements such as text, pictures, tables, and formulas;
[0046] Next, define layout constraints, including the size and font properties of text boxes, the size and alignment of images, the row and column configuration of tables, and the display format and position of formulas;
[0047] Finally, Cassowary, the core algorithm of the Auto Layout algorithm, is used to solve the linear programming problem in interface layout, and the algorithm is optimized according to the specific needs of document layout, such as processing text automatic line wrapping and table cross-row merging.
[0048] In this embodiment, more preferably, the Cassowary algorithm includes:
[0049] Step S1, define variables: define the location and size of data elements in the system;
[0050] Step S2, adding constraints: adding equality constraints, such as the width of one element is twice the width of another element or inequality constraints, such as one element must be constrained to the right of another element into the system;
[0051] Step S3, setting priority: assign a priority to each constraint, and the constraints with higher priority will be satisfied first during the solution process;
[0052] Step S4, solver: using the solver Solver, using the simplex algorithm to process the constraints and find a solution that satisfies all the constraints;
[0053] Step S5, incremental update: When adding or removing constraints, the Cassowary algorithm incrementally updates the solution instead of calculating it from scratch;
[0054] Step S6, Edit Context: The algorithm provides Edit Contexts, which can dynamically change constraints during user interaction and quickly recalculate the layout.
[0055] Please continue to refer to Figure 1 The present invention also provides a construction plan intelligent typesetting method, the method comprising:
[0056] Step S1, using the construction plan intelligent typesetting system;
[0057] Step S2: collect and organize various construction plan documents containing multiple data elements, and design optimal layout rules based on the characteristics of the data elements;
[0058] Step S3: using the multimodal model to classify and identify the elements of the document, such as text, pictures, tables, and formulas, to determine the hierarchy and order of the document;
[0059] Step S4: Create a layout grid based on the characteristics and rules of the data elements, adjust the position and size of each element, ensure the design aesthetics, and thus complete the intelligent layout of the construction plan document.
[0060] In summary, the intelligent typesetting system for construction plans proposed in the present invention first collects and organizes various construction plan documents containing multiple data elements, and designs the optimal typesetting rules in combination with the characteristics of the data elements; then, a multimodal model is used to classify and identify the text, pictures, tables, formulas, etc. in the document to determine the hierarchy and order of the document; finally, a layout grid is created in combination with the characteristics and rules of the data elements, and the position and size of each element are adjusted to ensure the design aesthetics; the intelligent dynamic typesetting of multiple data such as pictures, tables, documents, formulas, etc. is realized, which solves the shortcomings of traditional manual typesetting and improves the efficiency and accuracy of construction plan compilation.
[0061] The above examples are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. The above embodiments only express several embodiments of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A construction plan intelligent typesetting system, characterized in that: include: A layout design system, the layout design system includes a scheme collection module and a typesetting rule determination module, the scheme collection module is used to collect various construction scheme documents containing multiple data elements; the typesetting rule determination module designs and determines the typesetting rules of the construction scheme documents required by various construction scenarios by collating the collected construction scheme documents and combining the characteristics of various data elements, and inputs the typesetting rules into the layout grid creation module of the intelligent typesetting system; A document preprocessing system, the document preprocessing system includes a data classification and recognition module and a document structure analysis module. The data classification and recognition module uses a multimodal model to classify and recognize various data elements such as text, pictures, tables, and formulas in a document, and inputs the recognized elements into the document structure analysis module; the document structure analysis module is used to analyze the logical structure of the document, including various elements such as titles, subtitles, lists, and paragraphs, and determine the hierarchy and order of the document based on the recognized elements, so as to provide structured information for subsequent typesetting; An intelligent typesetting system includes a layout grid creation module and a layout adjustment module. The layout grid creation module is used to create a layout grid for a document according to the document content and typesetting rules; the layout adjustment module is used to fine-tune the position and size of elements according to the importance and visual hierarchy of the content.
2. The construction plan intelligent typesetting system according to claim 1, characterized in that: The layout grid creation module uses the constraint-based layout algorithm Auto Layout to determine the placement of different data elements, text, pictures, tables, and formulas, and adjusts the layout to adapt to different page sizes and device screens.
3. The construction plan intelligent typesetting system according to claim 2, characterized in that: The layout grid creation method comprises: First, analyze the layout requirements and relationships between different data elements such as text, pictures, tables, and formulas; Next, define layout constraints, including the size and font properties of text boxes, the size and alignment of images, the row and column configuration of tables, and the display format and position of formulas; Finally, Cassowary, the core algorithm of the Auto Layout algorithm, is used to solve the linear programming problem in interface layout, and the algorithm is optimized according to the specific needs of document layout, such as processing text automatic line wrapping and table cross-row merging.
4. The intelligent typesetting system for construction plans according to claim 3 is characterized in that: The Cassowary algorithm includes: Step S1, define variables: define the location and size of data elements in the system; Step S2, adding constraints: adding equality constraints, such as the width of one element is twice the width of another element or inequality constraints, such as one element must be constrained to the right of another element into the system; Step S3, setting priority: assign a priority to each constraint, and the constraints with higher priority will be satisfied first during the solution process; Step S4, solver: using the solver Solver, using the simplex algorithm to process the constraints and find a solution that satisfies all the constraints; Step S5, incremental update: When adding or removing constraints, the Cassowary algorithm incrementally updates the solution instead of calculating it from scratch; Step S6, Edit Context: The algorithm provides Edit Contexts, which can dynamically change constraints during user interaction and quickly recalculate the layout.
5. A construction plan intelligent typesetting method, characterized in that: include: Step S1, using the construction plan intelligent typesetting system according to any one of claims 1 to 4; Step S2: collect and organize various construction plan documents containing multiple data elements, and design optimal layout rules based on the characteristics of the data elements; Step S3: using the multimodal model to classify and identify the elements of the document, such as text, pictures, tables, and formulas, to determine the hierarchy and order of the document; Step S4: Create a layout grid based on the characteristics and rules of the data elements, adjust the position and size of each element, ensure the design aesthetics, and thus complete the intelligent layout of the construction plan document.