CN117573121B - Graphical custom insurance document template generation method - Google Patents
Graphical custom insurance document template generation method Download PDFInfo
- Publication number
- CN117573121B CN117573121B CN202311543126.9A CN202311543126A CN117573121B CN 117573121 B CN117573121 B CN 117573121B CN 202311543126 A CN202311543126 A CN 202311543126A CN 117573121 B CN117573121 B CN 117573121B
- Authority
- CN
- China
- Prior art keywords
- document template
- component
- insurance
- insurance document
- data information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000013461 design Methods 0.000 claims abstract description 25
- 238000009877 rendering Methods 0.000 claims description 10
- 230000006978 adaptation Effects 0.000 claims description 5
- 230000003068 static effect Effects 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 7
- 238000012423 maintenance Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000011282 treatment Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Human Computer Interaction (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention relates to a method for generating a graphic custom insurance document template, which comprises the following steps: storing the data information to be displayed in the insurance document template into a database; the rule engine acquires data information to be displayed in the insurance document template from the database and forms a corresponding unit assembly; designing a protocol of a UI unit component, and registering the unit component into a component library; drawing out required components from the component library according to requirements of the document template to be protected, and placing the drawn components in a document template design page to design and build the document template; and storing the generated insurance document template into a database. The invention can improve the development efficiency of the insurance document template.
Description
Technical Field
The invention relates to the technical field of front-end pages, in particular to a graphical custom insurance document template generation method.
Background
The insurance industry document template has various types and frequently changes patterns along with business requirements, so that the development workload is increased intangibly, and a large amount of development time is consumed. In the prior art, the development of the front-end page has been explored to a certain extent on the generation of the insurance document template, and although a developer can directly call part of components without writing component patterns from zero when developing the front-end page, the component libraries have limited capability and lower applicability and cannot meet the generation of complex business models, and the developer still needs to develop and process one by one in face of the insurance document template with frequent change of business demands.
Disclosure of Invention
The invention aims to provide a graphical custom insurance document template generation method which can improve the development efficiency of insurance document templates.
The technical scheme adopted for solving the technical problems is as follows: the method for generating the graphic self-defined insurance document template comprises the following steps:
storing the data information to be displayed in the insurance document template into a database, and marking different data information with type labels;
The rule engine acquires the data information to be displayed in the insurance document template from the database, classifies different data information through type labels, and forms corresponding unit components;
designing a protocol of a UI unit component, and registering the unit component into a component library; the protocol standardization constrains the output of the build editor, the input of the rendering module and the output module, and decouples the build editor, the rendering module and the output module;
Drawing out required components from the component library according to requirements of the document template to be protected, and placing the drawn components in a document template design page to design and build the document template;
and storing the generated insurance document template into a database.
The data information to be displayed in the insurance policy template comprises static information and dynamic information.
When different data information is marked with type labels, the dynamic information is additionally marked with update marks; the rule engine also acquires the latest dynamic data in real time through the update identification.
The protocol includes: protocol version number, component name, component type, component display tag, component package version, package exported component name, subscript subcomponent name, whether module is exported using deconstructed mode, and package export component entry file path.
When the dragged component is placed in the insurance document template design page to design and build the insurance document template, the Amis framework can find a corresponding component in the global component pool according to the type of the dragged component and render the corresponding component in the insurance document template design page.
When the drawn assembly is placed in an insurance document template design page to design and build an insurance document template, the adaptation at each terminal is complete based on a CSS box model and a responsive layout strategy of media query.
The CSS box-based model refers to packaging various html elements related to the dragged component.
The responsive layout strategy of the media query means that the same page adopts different layouts under different screen sizes.
When the generated insurance document template is stored in the database, the association relation between the ID of the current insurance document template and the IDs of all the components adopted by the current insurance document template is stored, and when the current insurance document template is accessed, the associated components are inquired for loading rendering, and if the components are modified, all the related insurance document templates are synchronously modified.
Advantageous effects
Due to the adoption of the technical scheme, compared with the prior art, the invention has the following advantages and positive effects: the invention obtains the data information to be displayed in the insurance document template from the database based on the rule engine to form the corresponding unit component, and registers the unit component into the component library by providing the agreed UI component protocol, so that the validity verification and management maintenance can be carried out on the component. The modules are loaded in a self-defining mode in a dragging mode, so that the design and construction of the insurance document template are completed, and the unit modules are configured based on the rule engine, so that the workload of designers is greatly reduced, and the flexible and rapid design of the insurance document template is realized. The invention realizes complete adaptation of the insurance document template at each terminal based on the CSS box model and the responsive layout strategy of the media query.
Drawings
FIG. 1 is a flow chart of a method for generating a graphical custom insurance document template in accordance with an embodiment of the present invention.
Detailed Description
The application will be further illustrated with reference to specific examples. It is to be understood that these examples are illustrative of the present application and are not intended to limit the scope of the present application. Furthermore, it should be understood that various changes and modifications can be made by one skilled in the art after reading the teachings of the present application, and such equivalents are intended to fall within the scope of the application as defined in the appended claims.
The embodiment of the invention relates to a method for generating a graphical custom insurance document template, which specifically comprises the following steps: providing a rule engine, acquiring data information to be displayed in an insurance document template from a database through the rule engine, and forming a corresponding unit assembly; providing a development platform for a developer, registering the unit components into a component library through a protocol for providing contracted UI components, and performing validity verification, management and maintenance of the UI unit components; and providing a design platform for a designer, loading according to the UI unit component provided by the development platform, and flexibly designing form model information. And then, carrying out various structuring treatments on the designed model through an operation platform, wherein the structuring treatments comprise: static code structure, dynamic code structure, hybrid code structure. And realizing persistence storage after carrying out structuring treatment on the model through a storage library. As shown in fig. 1, the method specifically comprises the following steps:
Step 1, storing data information to be displayed in an insurance document template into a database of an upstream system, and marking different data information with type labels; the data to be presented includes static data (e.g., risk type, payment method, charging item, business unit, organization, cost center, profit center, etc.) and dynamic data (e.g., payee/payer name, amount, premium, etc.). It should be noted that when the data to be displayed is dynamic data, an update identifier is additionally marked on the dynamic data.
And 2, acquiring data information to be displayed in the insurance document template from a database of an upstream system by the rule engine, classifying different data information through type labels, and forming corresponding unit components. The unit components can complete component configuration based on the rule engine, and the workload of designers is greatly reduced. It should be noted that, when the classification result is dynamic data, the rule engine also obtains the latest dynamic data in real time through the update identifier of the dynamic data information.
And 3, designing a protocol of the UI unit component, and registering the unit component into a component library. Among them, protocols include, but are not limited to: protocol version number, component name, component type, component display tag, component package version, package exported component name, subscript subcomponent name, whether module is exported using deconstructed mode, and package export component entry file path. The component can support operations such as new addition, deletion, modification and the like on the premise of meeting constraint conditions. The protocol is used for a designer and is used for standardizing the output of the constraint building editor and the input of the rendering module and the code outputting module, and decoupling the building editor, the rendering module and the code outputting module, so that independent upgrading of the building editor, the rendering module and the code outputting module is guaranteed.
And step 4, dragging out required components from the component library according to the requirements of the document template to be protected, and placing the dragged components in a document template design page to design and build the document template. Specifically, when a page editor is used to drag out a required component from the insurance document template design page, a Amis framework built in the page editor can find out the corresponding component from the global component pool according to the type of the dragged component, and render the corresponding component from the insurance document template design page.
In the dragging process, the position of the graphical component on the canvas can be obtained in an absolute positioning-based mode, but in the current multi-terminal scene, poor page compatibility is easily caused by adopting the mode. To solve this problem, the present embodiment realizes complete adaptation at each terminal based on the CSS box model and the responsive layout policy of the media query. Wherein, based on CSS box model, packaging various html elements related to the dragged component; a responsive layout strategy for media queries refers to the same page employing different layouts at different screen sizes.
And step 5, storing the generated insurance document template into a database. At this time, the association relation between the ID of the current insurance document template and the IDs of the components adopted by the current insurance document template can be saved, and when the current insurance document template is accessed, the associated components are queried for loading and rendering, if the UI component is modified, all the related insurance document templates are synchronously modified, and the business system can automatically update the unit components without updating the issuing.
It is easy to find that the invention obtains the data information to be displayed in the insurance document template from the database based on the rule engine, forms the corresponding unit assembly, registers the unit assembly into the assembly library by providing the agreed UI assembly protocol, and can perform validity verification and management maintenance on the assembly. The modules are loaded in a self-defining mode in a dragging mode, so that the design and construction of the insurance document template are completed, and the unit modules are configured based on the rule engine, so that the workload of designers is greatly reduced, and the flexible and rapid design of the insurance document template is realized. The invention realizes complete adaptation of the insurance document template at each terminal based on the CSS box model and the responsive layout strategy of the media query.
Claims (7)
1. The method for generating the graphic self-defined insurance document template is characterized by comprising the following steps of:
Storing the data information to be displayed in the insurance document template into a database, and marking different data information with type labels; the data information to be displayed in the insurance document template comprises static information and dynamic information, and when different data information is marked with type labels, the dynamic information is additionally marked with update marks;
The rule engine acquires the data information to be displayed in the insurance document template from the database, classifies different data information through type labels, and forms corresponding unit components; the rule engine also acquires the latest dynamic data in real time through the update identification;
designing a protocol of a UI unit component, and registering the unit component into a component library; the protocol standardization constrains the output of the build editor, the input of the rendering module and the output module, and decouples the build editor, the rendering module and the output module;
Drawing out required components from the component library according to requirements of the document template to be protected, and placing the drawn components in a document template design page to design and build the document template;
and storing the generated insurance document template into a database.
2. The method for generating a patterned custom insurance policy template according to claim 1, wherein said protocol includes: protocol version number, component name, component type, component display tag, component package version, package exported component name, subscript subcomponent name, whether module is exported using deconstructed mode, and package export component entry file path.
3. The method for generating the graphic custom insurance document template according to claim 1, wherein when the dragged component is placed in the insurance document template design page to design and build the insurance document template, the Amis framework finds a corresponding component in the global component pool according to the type of the dragged component and renders the corresponding component in the insurance document template design page.
4. The method for generating the graphic custom insurance document template according to claim 1, wherein when the dragged assembly is placed in an insurance document template design page to design and build the insurance document template, the adaptation at each terminal is complete based on a CSS box model and a responsive layout strategy of media query.
5. The method for generating a patterned custom insurance document template according to claim 4, wherein the CSS-based box model is to encapsulate various html elements related to the dragged component.
6. The method for generating a patterned custom insurance document template according to claim 4, wherein the responsive layout policy of the media query means that the same page adopts different layouts under different screen sizes.
7. The method for generating graphic custom insurance policy template according to claim 1, wherein when the generated insurance policy template is stored in the database, the ID of the current insurance policy template and each of the used insurance policy templates are stored
The association relation of the ID of the component, and inquire the associated component to carry out loading rendering when accessing the current insurance document template,
If the component is modified, all of the insurance policy templates involved will be modified simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311543126.9A CN117573121B (en) | 2023-11-20 | 2023-11-20 | Graphical custom insurance document template generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311543126.9A CN117573121B (en) | 2023-11-20 | 2023-11-20 | Graphical custom insurance document template generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117573121A CN117573121A (en) | 2024-02-20 |
CN117573121B true CN117573121B (en) | 2024-05-17 |
Family
ID=89860130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311543126.9A Active CN117573121B (en) | 2023-11-20 | 2023-11-20 | Graphical custom insurance document template generation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117573121B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114217795A (en) * | 2021-12-03 | 2022-03-22 | 北京达佳互联信息技术有限公司 | Page generation method and device, electronic equipment and readable storage medium |
CN114281323A (en) * | 2021-03-30 | 2022-04-05 | 北京百特运通科技有限公司 | Front-end form generation method and system |
WO2022141724A1 (en) * | 2020-12-31 | 2022-07-07 | 南威软件股份有限公司 | Visual configuration rendering method and system based on vue componentization, and terminal |
CN115617327A (en) * | 2022-11-08 | 2023-01-17 | 浙江极氪智能科技有限公司 | Low code page building system, method and computer readable storage medium |
CN116225429A (en) * | 2022-12-29 | 2023-06-06 | 浙江华云信息科技有限公司 | Pulling type component frame-based ipage webpage type low-code development platform |
-
2023
- 2023-11-20 CN CN202311543126.9A patent/CN117573121B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022141724A1 (en) * | 2020-12-31 | 2022-07-07 | 南威软件股份有限公司 | Visual configuration rendering method and system based on vue componentization, and terminal |
CN114281323A (en) * | 2021-03-30 | 2022-04-05 | 北京百特运通科技有限公司 | Front-end form generation method and system |
CN114217795A (en) * | 2021-12-03 | 2022-03-22 | 北京达佳互联信息技术有限公司 | Page generation method and device, electronic equipment and readable storage medium |
CN115617327A (en) * | 2022-11-08 | 2023-01-17 | 浙江极氪智能科技有限公司 | Low code page building system, method and computer readable storage medium |
CN116225429A (en) * | 2022-12-29 | 2023-06-06 | 浙江华云信息科技有限公司 | Pulling type component frame-based ipage webpage type low-code development platform |
Also Published As
Publication number | Publication date |
---|---|
CN117573121A (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317974B (en) | Multi-source data introduction method in a kind of ERP system of restructural | |
US8418125B2 (en) | Incremental model refinement and transformation in generating commerce applications using a model driven architecture | |
CN107886439A (en) | Insurance products development approach, device, equipment and computer-readable recording medium | |
CN108416003A (en) | A kind of picture classification method and device, terminal, storage medium | |
CN111399853A (en) | Templated deployment method of machine learning model and custom operator | |
CN102693127B (en) | Data-driven schema for describing and executing management tasks in a graphical user interface | |
CN106886406A (en) | The generation method and device of exploitation code or document | |
US20150120479A1 (en) | Catalog driven order management for rule definition | |
CN110264137A (en) | A kind of cost BOM generation method, computer and storage medium | |
CN101753619B (en) | Method and system for extending service model | |
US8566780B2 (en) | Object model based mapping | |
CN112433701A (en) | Industrial software development project implementation flow, content and code generation method and device | |
CN114020256A (en) | Front-end page generation method, device and equipment and readable storage medium | |
CN115202639A (en) | Code generation method, device, equipment and storage medium based on custom module | |
CN109885290B (en) | Application program service description information generation and release method, device and storage medium | |
US20230137639A1 (en) | Data processing system and method for operating an enterprise application | |
CN117573121B (en) | Graphical custom insurance document template generation method | |
CN107832088A (en) | Control application method and device, computing device, computer-readable storage medium | |
Kaiser et al. | Configurable solutions for low-cost digital manufacturing: a building block approach | |
CN116755669A (en) | Low code development method and tool based on DSL language operation model | |
CN116414386A (en) | Plug-in development system and method based on VUE | |
US20220413843A1 (en) | Combining model-driven applications and canvas-type applications with application lifecycle management | |
CN113867718A (en) | Picture generation method and device, computer equipment and readable storage medium | |
CN113687827A (en) | Data list generation method, device and equipment based on widget and storage medium | |
CN117234466B (en) | Enterprise management software development method, system, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |