一种基于字段格式双层映射的动态表单生成方法及系统

By using a dynamic form generation method with two-layer mapping of field formats, the problem of insufficient flexibility in generating service application documents is solved. This method enables multi-format rendering of the same field and automated document generation, improving generation efficiency and adaptability.

CN122174818BActive Publication Date: 2026-07-17海看网络科技(山东)股份有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
海看网络科技(山东)股份有限公司
Filing Date
2026-05-09
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, the generation of service application documents lacks flexibility, cannot achieve multiple forms of output for the same single-choice field, and requires separate development for complex field processing, resulting in high development and maintenance costs, and lacks the ability to automatically generate documents.

Method used

A dynamic form generation method based on a two-layer mapping of field formats is adopted. By mapping field identifiers to values ​​in the first layer and combining field types to fill formats in the second layer, multiple forms of rendering of the same field are achieved, and a unified processing framework is built, including the automatic generation of dynamic tables and images.

Benefits of technology

It enables multiple rendering formats for the same field value, reduces code redundancy, automatically generates standardized documents, improves generation efficiency and flexibility, and adapts to the document display needs of different business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122174818B_ABST
    Figure CN122174818B_ABST
Patent Text Reader

Abstract

本发明公开了一种基于字段格式双层映射的动态表单生成方法及系统,主要涉及表单生成与文档处理技术领域。包括:解析JSON配置建立字段映射;执行字段标识与值、字段类型与格式的双层映射确定渲染样式;统一处理多类型字段并执行选项多态渲染;动态扩展表格行并复制样式;自动嵌入图片并控制尺寸;生成条件式下划线并输出Word文档。本发明的有益效果在于:它实现了同一字段值的多形式渲染,统一处理十余种字段类型,自动化生成含动态表格和图片的标准化文档,显著提升了生成效率与灵活性。
Need to check novelty before this filing date? Find Prior Art