CN113901772A - Service declaration document template generation management method and system - Google Patents

Service declaration document template generation management method and system Download PDF

Info

Publication number
CN113901772A
CN113901772A CN202111039150.XA CN202111039150A CN113901772A CN 113901772 A CN113901772 A CN 113901772A CN 202111039150 A CN202111039150 A CN 202111039150A CN 113901772 A CN113901772 A CN 113901772A
Authority
CN
China
Prior art keywords
template
document template
document
mapping relation
application model
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.)
Pending
Application number
CN202111039150.XA
Other languages
Chinese (zh)
Inventor
刘洋
李�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202111039150.XA priority Critical patent/CN113901772A/en
Publication of CN113901772A publication Critical patent/CN113901772A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a method and a system for generating and managing a service declaration document template, which relate to the technical field of document generation; the method comprises the steps of creating a document template on a visual page through an application model, configuring a mapping relation corresponding to a template component according to the document template on the visual page through the application model, updating the document template on the visual page through the application model and generating a template identifier, filling document template data according to the template identifier and the mapping relation, and issuing and stopping the document template through the application model.

Description

Service declaration document template generation management method and system
Technical Field
The invention discloses a method and a system, which relate to the technical field of document generation, in particular to a method and a system for generating and managing a service declaration document template.
Background
When a user declares a service on the government affair platform, the number of service declaration limitations is large, if declaration materials are too many, the government affair platform provides a function of generating a corresponding document for the user to check the situation and prepare data conveniently, and the user can check the document conveniently.
In the prior art, a document with a corresponding content format is created in advance, then the document is modified and converted into a document template, then the template is filled with request data, and finally the document is generated. This pattern is more suitable for document template scenarios that do not require frequent modification. However, with the continuous improvement of service business, the requirements are higher and higher, the document content provided for users needs to be more detailed and enriched, the format of the document content is more frequently modified, the document template needs to be modified when the document format is changed, the modification frequency is higher, the maintenance cost and the labor cost are increased, and meanwhile, the modification period is longer and is not easy to maintain.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method and a system for generating and managing a service declaration document template, which have the characteristics of strong universality, simple and convenient implementation and the like, and have wide application prospect.
The specific scheme provided by the invention is as follows:
a method for generating and managing service declaration document template includes creating document template on visual page by application model,
the mapping relation corresponding to the template component is configured on the visual page according to the document template through the application model,
updating the document template on the visual page by applying the model and generating a template mark, filling the document template data according to the template mark and the mapping relation,
and issuing and deactivating the document template through the application model.
Preferably, in the method for generating and managing a service declaration document template, the process of creating the document template includes:
customizing the document template through an application model in a visualization page,
layout the styles of the document template, add template components,
and modifying the style of the document template.
Preferably, the process of modifying the style of the document template in the method for generating and managing the service declaration document template includes:
and modifying the style of the document template through an application model by using a graphical interface on the visual page.
Preferably, the configuration template component in the service declaration document template generating and managing method includes:
generating a mapping relation template on a visual page according to the layout of the document template by applying a model,
configuring the mapping fields of the current document template through the mapping relation template,
and configuring the corresponding mapping relation in each template component through the mapping relation template.
A service declaration document template generation management system comprises a creation module, a configuration module, an updating module and an issuing and stopping module,
the creation module creates a document template on a visualization page through an application model,
the configuration module configures the mapping relation corresponding to the template component on the visual page according to the document template through the application model,
the updating module updates the document template on the visual page through the application model and generates a template identifier, the document template data filling is carried out according to the template identifier and the mapping relation,
and the release deactivation module is used for releasing and deactivating the document template through the application model.
Preferably, the process of creating a document template in the service declaration document template generating and managing system includes:
customizing the document template through an application model in a visualization page,
layout the styles of the document template, add template components,
and modifying the style of the document template.
Preferably, the process of modifying the style of the document template in the service declaration document template generating and managing system includes:
and modifying the style of the document template through an application model by using a graphical interface on the visual page.
Preferably, the configuration template component in the service declaration document template generating and managing system includes:
generating a mapping relation template on a visual page according to the layout of the document template by applying a model,
configuring the mapping fields of the current document template through the mapping relation template,
and configuring the corresponding mapping relation in each template component through the mapping relation template.
A service declaration document template generation management apparatus, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the service declaration document template generation management method.
A computer readable medium having stored thereon computer instructions, which when executed by a processor, cause the processor to execute the method for service declaration document template generation management.
The invention has the advantages that:
the invention provides a service declaration document template generation management method and system, which endow the capability of creating and modifying a template to maintenance personnel by using an application model and through template visual configuration, greatly improve the maintainability of the system, liberate the work of research and development personnel, prompt the work efficiency, reduce the work cycle of modification and are quicker. And the life cycle of the whole template can be controlled through the application model, so that the system is maintained better.
Drawings
FIG. 1 is a schematic diagram of a document template of the present invention.
FIG. 2 is a schematic flow diagram of the process of the present invention.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides a method for generating and managing a service declaration document template, which creates the document template on a visual page through an application model,
the mapping relation corresponding to the template component is configured on the visual page according to the document template through the application model,
updating the document template on the visual page by applying the model and generating a template mark, filling the document template data according to the template mark and the mapping relation,
and issuing and deactivating the document template through the application model.
The method can be used for visually configuring the template through the application model, endowing the capability of creating and modifying the template to maintenance personnel, greatly improving the maintainability of the system, liberating the work of research and development personnel, prompting the working efficiency, reducing the working period of modification and being quicker. And the life cycle of the whole template can be controlled through the application model, so that the system is maintained better.
In specific application, in some embodiments of the present invention, in order to enable a system maintenance person to quickly create and modify a document template, customized services are more conveniently provided. The invention uses the application model to endow the capability of the created and maintained document model to maintenance personnel by using a combination mode of a blank template, a template component module, a mapping relation module and filling data so as to realize the rapid generation of the template. The visualization page structure can refer to fig. 1.
And creating and modifying the template, laying out the style of the template and modifying the style of the template in a template visualization page module. So that the generated document achieves the ideal effect. In the application model, a visual document template configuration page is provided, and compared with the prior art that a document file needs to be created according to a desired effect, the method and the device can perform document creation and editing operations on line, and are very quick and convenient.
And visual pages are configured on the templates, maintenance personnel can customize the document templates, add template components in a dragging and pulling mode, place and arrange the template components, and the template components can be used after the text mapping relation of the components is configured. When the template components are configured, a mapping relation template is generated on a visual page according to the layout of the document template through an application model, the mapping fields of the current document template are configured through the mapping relation template, and the corresponding mapping relation in each template component is configured through the mapping relation template.
The method comprises the steps of updating a document template on a visual page through an application model to generate a template identifier, filling document template data according to the template identifier and a mapping relation, namely providing the template identifier for a user after the template is created, transmitting the template identifier and the filling data to a template function module when the user needs to print a document, and performing data filling processing by a background service according to the mapping relation to generate a document to return.
In other embodiments of the invention, if the document template needs to be modified, the modification can be easily and conveniently carried out on the graphical interface without modifying the template source code, so that the transparency of the template modification is realized, and the operability is better. And the release and the deactivation of the control template can be controlled through the application model. If the current document template is not applicable and the content of the document template is largely modified and is difficult to replace seamlessly, the template can be deactivated, and if the template service is temporarily not provided and the document template needs to be abolished, the document template is deleted in the application model.
The embodiment shows that the method can quickly generate and modify the document template, solves the problem of frequent creation and modification of the template, realizes quick creation and modification of the template, changes hard coding into visual editing, is convenient to maintain and improves the efficiency.
The invention also provides a service declaration document template generation management system, which comprises a creation module, a configuration module, an updating module and a release stopping module,
the creation module creates a document template on a visualization page through an application model,
the configuration module configures the mapping relation corresponding to the template component on the visual page according to the document template through the application model,
the updating module updates the document template on the visual page through the application model and generates a template identifier, the document template data filling is carried out according to the template identifier and the mapping relation,
and the release deactivation module is used for releasing and deactivating the document template through the application model.
The information interaction, execution process and other contents between the modules in the system are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again. Similarly, the system can use the application model to endow the maintainers with the capability of creating and modifying the template through the visual configuration of the template, thereby greatly improving the maintainability of the system, liberating the work of research and development personnel, prompting the working efficiency, reducing the working period of modification and being quicker. And the life cycle of the whole template can be controlled through the application model, so that the system is maintained better.
Meanwhile, the invention provides a service declaration document template generation management device, which comprises: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the service declaration document template generation management method.
The contents of information interaction, readable program process execution and the like of the processor in the device are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again. Similarly, the device of the invention can utilize the application model, and endow the maintainers with the capability of creating and modifying the template through the visual configuration of the template, thereby greatly improving the maintainability of the system, liberating the work of the research and development personnel, prompting the working efficiency, reducing the working period of modification and being quicker. And the life cycle of the whole template can be controlled through the application model, so that the system is maintained better.
The present invention also provides a computer readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to execute a service declaration document template generation management method. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then a CPU or the like mounted on the expansion board or the expansion unit is caused to perform part or all of the actual operations based on the instructions of the program code, thereby realizing the functions of any of the above-described embodiments
It should be noted that not all steps and modules in the processes and system structures in the preferred embodiments are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (10)

1. A method for generating and managing service declaration document template is characterized by creating document template on visual page by application model,
the mapping relation corresponding to the template component is configured on the visual page according to the document template through the application model,
updating the document template on the visual page by applying the model and generating a template mark, filling the document template data according to the template mark and the mapping relation,
and issuing and deactivating the document template through the application model.
2. The method of claim 1, wherein the process of creating a document template comprises:
customizing the document template through an application model in a visualization page,
layout the styles of the document template, add template components,
and modifying the style of the document template.
3. A service declaration document template creation management method as claimed in claim 2 or 3, wherein the process of modifying the style of the document template comprises:
and modifying the style of the document template through an application model by using a graphical interface on the visual page.
4. The method of claim 2, wherein the configuring of the template component comprises:
generating a mapping relation template on a visual page according to the layout of the document template by applying a model,
configuring the mapping fields of the current document template through the mapping relation template,
and configuring the corresponding mapping relation in each template component through the mapping relation template.
5. A service application document template generation management system is characterized by comprising a creation module, a configuration module, an updating module and an issuing and stopping module,
the creation module creates a document template on a visualization page through an application model,
the configuration module configures the mapping relation corresponding to the template component on the visual page according to the document template through the application model,
the updating module updates the document template on the visual page through the application model and generates a template identifier, the document template data filling is carried out according to the template identifier and the mapping relation,
and the release deactivation module is used for releasing and deactivating the document template through the application model.
6. The service declaration document template creation management system as claimed in claim 5, wherein said process of creating a document template includes:
customizing the document template through an application model in a visualization page,
layout the styles of the document template, add template components,
and modifying the style of the document template.
7. The system of claim 6, wherein the process of modifying the style of the document template comprises:
and modifying the style of the document template through an application model by using a graphical interface on the visual page.
8. The service declaration document template generation management system as claimed in claim 5 or 6, wherein the configuration template component includes:
generating a mapping relation template on a visual page according to the layout of the document template by applying a model,
configuring the mapping fields of the current document template through the mapping relation template,
and configuring the corresponding mapping relation in each template component through the mapping relation template.
9. A service declaration document template creation management apparatus includes: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to execute a service declaration document template generation management method as claimed in any one of claims 1 to 4.
10. Computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform a method of service declaration document template creation management as recited in any of claims 1 to 4.
CN202111039150.XA 2021-09-06 2021-09-06 Service declaration document template generation management method and system Pending CN113901772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111039150.XA CN113901772A (en) 2021-09-06 2021-09-06 Service declaration document template generation management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111039150.XA CN113901772A (en) 2021-09-06 2021-09-06 Service declaration document template generation management method and system

Publications (1)

Publication Number Publication Date
CN113901772A true CN113901772A (en) 2022-01-07

Family

ID=79188749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111039150.XA Pending CN113901772A (en) 2021-09-06 2021-09-06 Service declaration document template generation management method and system

Country Status (1)

Country Link
CN (1) CN113901772A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116306556A (en) * 2023-05-24 2023-06-23 中国船舶集团有限公司第七〇七研究所 Document generation method, device, electronic equipment and storage medium
WO2023160578A1 (en) * 2022-02-22 2023-08-31 北京字跳网络技术有限公司 Information processing method and apparatus, and terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023160578A1 (en) * 2022-02-22 2023-08-31 北京字跳网络技术有限公司 Information processing method and apparatus, and terminal and storage medium
CN116306556A (en) * 2023-05-24 2023-06-23 中国船舶集团有限公司第七〇七研究所 Document generation method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102207872B (en) Method and system for customizing Web UI (User Interface) control according to user requirements
CN113901772A (en) Service declaration document template generation management method and system
WO2015078343A1 (en) Development method for web development system, and web development system
CN102135990A (en) Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
CN106873974A (en) Smart code generates automotive engine system and method
US20080072217A1 (en) Method, apparatus, and system for customizing and performing policy in version control
CN102968306A (en) Method and system for automatically generating code based on data model drive
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN113094042B (en) Browser-based realization and analysis method for custom component of power automation system
CN103593197A (en) Method and device for generating codes
CN103309659A (en) User interface dynamic generation method and device based on rich client platform
CN105404512B (en) A kind of application window interface change method and device
CN100465882C (en) Method and system of establishing culture sensitive control element for global application
CN102609252A (en) Intelligent configuration method for logic menu resources on basis of measurement instruments
CN114089958A (en) Form visual configuration method and device
CN108959230B (en) Method and device for generating report template
CN104750472A (en) Resource bundle management method and device of terminal application
CN100449484C (en) Method and system for generating artificial equipment panel
CN109976803A (en) A kind of generation method and device of file
CN104133706B (en) Firmware modification method and firmware modification device
CN110007994B (en) Software internationalization method and system
CN111553135A (en) Method for automatically generating and laying out online form
CN104123155A (en) Business system page layer development platform and method based on WEB
CN114049090A (en) Management method and system for power failure analysis report
CN113918140A (en) System construction method for generating front-end and back-end codes based on dragging mode

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