CN114444458A - Method for generating official document scene template code based on domestic CPU low code - Google Patents

Method for generating official document scene template code based on domestic CPU low code Download PDF

Info

Publication number
CN114444458A
CN114444458A CN202210070123.7A CN202210070123A CN114444458A CN 114444458 A CN114444458 A CN 114444458A CN 202210070123 A CN202210070123 A CN 202210070123A CN 114444458 A CN114444458 A CN 114444458A
Authority
CN
China
Prior art keywords
code
data
service
page
module
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
CN202210070123.7A
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 Group Co Ltd
Original Assignee
Inspur Software Group 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 Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN202210070123.7A priority Critical patent/CN114444458A/en
Publication of CN114444458A publication Critical patent/CN114444458A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method for generating official document scene template codes based on domestic CPU (Central processing Unit) low codes, which belongs to the technical field of information application and comprises modules such as general flows, forms, services, organizations, authorities, official documents and the like of an office business system. The invention can be compatible with operating systems such as kylin, depth, Puhua and the like based on various domestic CPUs, is compatible with Firefox and Chromium browsers in the domestic software and hardware environments, and has good universality, flexibility and transportability.

Description

Method for generating official document scene template code based on domestic CPU low code
Technical Field
The invention relates to the technical field of information application, in particular to a method for generating official document scene template codes based on domestic CPU low codes.
Background
The modern office system takes a network as a center, takes a workflow as a main storage and processing object, is an application system integrating information processing, business process and knowledge management, and realizes the automation of the office process. Under the background of domestic software and hardware which vigorously supports independent intellectual property rights in China, an application system based on domestic basic software and hardware is also under rapid development. The localization of the office system is rapidly developing. Compared with the traditional office system, the system has the problems of weak business coordination capability, low safety and the like. With the increasing expansion of office business volume, the requirements of intelligent and efficient office systems are increasingly intensified, wherein the requirements of safe and controllable construction, domestic adaptation, business fusion and integrated cooperation are required to be quickly established.
Disclosure of Invention
Aiming at the problems of poor business coordination capability, data isolated island, low safety and the like of the existing office system, the invention provides a method for generating an official document scene template code by using a low code based on a domestic CPU.
The technical scheme of the invention is as follows:
the method for generating the official document scene template code based on the domestic CPU low code comprises three parts, namely basic application support service, low code service and visual page design; generating the universal document service template code comprises: the back-end official document universal interface and the front-end official document circulation function realize a menu for newly creating and sending a document, a to-be-handled official document, an already-handled official document and a official document;
wherein,
the application layer flexible architecture of the basic application support service modular modeling provides reusable common component resources,
the low-code service adopts an intelligent code generation engine to generate a document scene template code;
the visual page design module is mainly used for carrying out visual design on a front-end page list, a detail page and a text operation related page;
further, in the above-mentioned case,
the low code service provides two module functions of database management and business system establishment, and is compatible with the trusted database and the middleware.
When a new business needs to be developed, basic service support is provided by using application support service of the existing office application system; firstly, a business data table is established by using a data management module of the low-code service, and then a new business system and all modules and scenes thereof are established in the low-code service. And each scene surrounds a corresponding data table structure, and a basic code structure is generated by dragging the table to customize.
Further, in the above-mentioned case,
1) basic application support service
The application support layer provides reusable common component resources for an application layer flexible architecture of the modular modeling, wherein the common component resources comprise common service components: workflow, form, print, password, etc;
the technical function component comprises a text number production component, a text storage component, an accessory operation component and an image scanning component;
the tool component provides common tool support for daily office work, and comprises an electronic form, a report tool, full text retrieval, format conversion, flow management and data exchange.
2) Low code service
The module adopts an intelligent code generation engine to generate a document scene template code, and comprises a data source query display configuration module, a data table detail query display configuration module and a template engine module;
wherein,
the data source query display configuration module is used for configuring and displaying data sources in the system and supporting more than one database;
the data table query display configuration module is used for querying all table information in the target data source, providing a visual data operation interface, and facilitating operation of the database in a user system, wherein the visual data operation interface comprises checking, editing, modifying and deleting of the database, the table and the view.
A template engine module: and adopting a Beetl template engine to render data according to the name of the database table and the page display of the table, rendering the data and generating corresponding front-end and back-end code files.
The data table query display configuration module can also be used for rendering a template of the queried table content and generating a code file according to the table relation.
3) Visual page design
Based on the relation between the data and the tables displayed by the data table query module, designing of a plurality of pages can be carried out; the list page comprises a query condition area, an operation button area and a paging design; the detail page supports various tab style page designs, namely single tab and multiple tabs; and supporting special customization aiming at special document business, and generating a code file and performing corresponding rendering by simple dragging.
The invention has the advantages that
(1) Aiming at the problems of complex and complicated development and high maintenance cost of an office application system, the method aims to utilize a low-code platform to quickly build an office system service, quickly generate a general official document service code for a standard official document service, and compare with other low-code platforms. The method realizes the rapid generation of the universal official document business template code under the domestic environment for the standard domestic CPU environment, and is convenient for the rapid establishment of the universal office business and the rapid customized development of individual requirements under the domestic environment.
(2) The invention takes the characteristics of the universality of the office business in the existing market into consideration, and extracts the common document operation business, workflow, forms, documents, opinion handling and the like of the office system. And generating different styles of pages and document business codes through a visual scene designer.
(3) The invention realizes the quick adaptation to the production environment change. The invention not only supports the low code creating service system, but also realizes visual, rapid and personalized customization. The front-end and back-end service codes are integrated, and the service scene codes can be plugged and disconnected, so that the quick service transplantation and secondary development are facilitated.
(4) The invention presets all general interfaces of official document operation in domestic environment, generates personalized customization in the service generation process, and is suitable for a plurality of domestic current manufacturers.
Drawings
FIG. 1 is a schematic workflow diagram of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
The invention generates the business module required by the general office system based on the low-code platform. The application support service serves as basic service support. And a visual intelligent workflow and form design engine. The low-code service generates front-end and back-end mainstream frame templates of the general office flow business, the back-end interface adopts the Rest style of the HTTP protocol, and the front-end page adopts AngularJS and LayUI. The page supports multiple style switching. The support layer provides reusable common component resources for establishing a modularized application layer flexible architecture, and supports the rapid design, customization and implementation of an application system. The invention mainly introduces a method for generating a general office system business template based on low codes.
The method for generating the official document scene template code based on the domestic CPU low code comprises three parts of basic application support service, low code service and visual page design. Generating the universal document service template code comprises: the back-end official document universal interface and the front-end official document circulation function realize menus of newly-built issued documents, official documents to be processed, processed documents, official document transaction and the like. And the functions of document sending, document circulation, document formation, opinion handling, accessories and the like under the domestic CPU environment are supported.
The low code service provides two module functions of database management and business system establishment, and is compatible with the trusted database and the middleware. When new business needs to be developed, basic service support is provided by application support service of the existing office application system. Firstly, a business data table is established by a data management module of a low code service. Then, a new business system and all its modules and scenarios are built in the low code service. Wherein each scene surrounds a corresponding data table structure. And generating a basic code structure by dragging the form to customize.
1) Basic application support service
The application support layer provides reusable common component resources for the modularly modeled application layer flexible architecture. The method comprises the following steps of (1) including common service components such as workflow, form, printing, password setting and the like; the technical function components comprise a text number production component, a text storage component, an accessory operation component, an image scanning component and the like; the tool component provides tool support commonly used in daily office, such as electronic forms, report tools, full text retrieval, format conversion, process management, data exchange and the like.
2) Low code service
The module adopts an intelligent code generation engine to generate a document scene template code, and comprises a data source query display configuration module, a data table detail query display configuration module and a template engine module. And the data source query display configuration module is used for configuring and displaying data sources in the system, supports various databases such as Shentong, Dameng and Jincang, and supports main stream databases such as MySQL, Oracle and the like. The data table query display configuration module is used for querying all table information in the target data source, providing a visual data operation interface, and having the functions of checking, editing, modifying, deleting and the like of a database, a table and a view, thereby facilitating the operation of the database in a user system. The data table query module can also be used for rendering the template of the queried table content and generating a code file according to the table relation. A template engine module: and adopting a Beetl template engine to render data according to the name of the database table and the page display of the table, rendering the data and generating corresponding front-end and back-end code files.
3) Visual page design
The visual page design module is mainly used for carrying out visual design on a front-end page list, a detail page and a text operation related page. Based on the relationship between the data and the tables displayed by the data table query module, various page designs can be performed. The list page comprises a query condition area, an operation button area, a paging design and the like; the detail page supports various tab style page designs, single tab and multiple tabs, and the like. Special customization is supported for special document business, such as text pages, attachment pages, process record pages, and the like. And generating a code file and performing corresponding rendering by simple dragging.
The invention has the following characteristics
(1) Display configuration module for domestic data table
The module is characterized in that compared with the traditional database, the module is expanded, compatible and supports domestic databases, gold warehouses, dreams, magical and high in spaciousness. And querying all table names in the target database through the data table display module, displaying the operation to the user, and giving the user the use of the subsequent operation.
Compared with other code generation engines in the market, the technology simultaneously provides the function of online real-time database operation, and a series of operations can be performed on the database and the table in real time by configuring the target data source. The user is provided with the ability to manipulate the database in two ways.
(2) System, scene generation code
The method is characterized in that the functions required can be generated from a plurality of dimensions. And the support system is used for carrying out templated generation on the application scenes.
A generation system: the method is internally provided with multiple styles of UIs, and simultaneously supports online presetting of system UI styles (system colors, font styles and workbenches). Template engineering is provided by a low-code platform, and the template is used after being unpacked and is easy to expand and develop secondarily.
Generating an application scene: the method supports the user-defined business application scenes of various office systems. Such as whether a workflow is needed, whether a form is needed, whether a scene contains a list, whether a detailed page is contained, handling comments, text, attachments, and other application scenes.
(3) Scene visualization designer
The scene customization process is visualized, and drag drawing and effect preview are supported. The scenario designer provides layout components, base components, container components, business components, button components, and the like. And (3) visual rendering of the application scene in the step (2). While generating the corresponding front-end code.
Basic components: including various input box, radio, check button components.
A container assembly: the method comprises four layouts, namely a longitudinal label page, a transverse label page, a table layout and a common list.
And (4) service components: the system comprises components such as a texting organ, an organization, a comment handling, accessories, a process monitoring and the like.
A button assembly: import, export, query, reset, etc. operation buttons.
(4) Low code Generation of multiple UI Style System styles
Different UI extension libraries are appointed for the system in the code generation process, so that the system style can be rapidly switched, and office systems with different styles can be generated. Different from the characteristic that the style file is required to be continuously modified by the traditional personalized requirements, the low-code system provides three types of preset foreground style frames and supports the style self-definition of the front-end frames. The one-key visual settings include the style of the workbench, menus, buttons, fonts, tones, etc., while supporting fruit preview.
(5) Pluggable document operation function
The method can generate the operation of the common official document function under the domestic CPU, such as official document new creation, preview, edition, additional storage, red cover, trace retention, idiom and the like, and simultaneously combines the interface of the integration official document operation of the current mainstream version manufacturers to generate the common template code and simultaneously keep the operability of secondary development.
Based on the characteristics of low codes, universal office system front-end and back-end codes are generated for the standard document business, the development difficulty is greatly reduced, and even business personnel who do not know the programming language can quickly learn and develop the application system.
The development is carried out by using the components and the encapsulated interfaces, and the development efficiency of the application system is greatly improved by depending on basic service support. The system is more flexible to meet the requirement change, and can be personalized modified and maintained through low-code service at any time. The speed of response to a demand change is increased.
The method has the advantages that general office business in the market is refined, code templating generation is carried out, pluggable operability is provided for important business, various general operations such as newly-built, previewed, edited, additionally stored, red-set, left-over and finished-form official documents can be generated for classical official document business, and a standard-packaged secondary development interface is provided for supporting the official document operation of domestic mainstream version manufacturers.
The above description is only an example of the present invention, and is only for illustrating the technical solutions of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A method for generating official document scene template codes by using low codes based on a domestic CPU is characterized in that,
the method comprises three parts, namely basic application support service, low code service and visual page design; generating the universal document service template code comprises: the back-end official document universal interface and the front-end official document circulation function realize a menu for newly creating and sending a document, a to-be-handled official document, an already-handled official document and a official document;
wherein,
the underlying application support service provides reusable common component resources for the modularly modeled application layer flexible architecture,
the low-code service adopts an intelligent code generation engine to generate a document scene template code;
the visual page design module is mainly used for carrying out visual design on a front-end page list, a detail page and a text operation related page.
2. The method of claim 1,
the low code service provides two module functions of database management and business system establishment, and is compatible with the trusted database and the middleware.
3. The method of claim 2,
when a new business needs to be developed, basic service support is provided by using application support service of the existing office application system; firstly, a business data table is established by using a data management module of the low-code service, and then a new business system and all modules and scenes thereof are established in the low-code service.
4. The method of claim 3,
and each scene surrounds a corresponding data table structure, and a basic code structure is generated by dragging the table to customize.
5. The method of claim 1,
1) basic application support service
Provides reusable common component resources for the modularly modeled application layer flexible architecture,
the method comprises the following steps of: workflow, form, printing, and password setting;
the technical function component comprises a text number production component, a text storage component, an accessory operation component and an image scanning component;
the tool component provides common tool support for daily office work, and comprises an electronic form, a report tool, full text retrieval, format conversion, flow management and data exchange.
6. The method of claim 1,
2) low code service
The module adopts an intelligent code generation engine to generate a document scene template code, and comprises a data source query display configuration module, a data table detail query display configuration module and a template engine module;
wherein,
the data source query display configuration module is used for configuring and displaying data sources in the system and supporting more than one database;
the data table query display configuration module is used for querying all table information in the target data source, providing a visual data operation interface, and facilitating operation of the database in a user system, wherein the visual data operation interface comprises checking, editing, modifying and deleting of the database, the table and the view.
A template engine module: and adopting a Beetl template engine to render data according to the name of the database table and the page display of the table, rendering the data and generating corresponding front-end and back-end code files.
7. The method of claim 6,
the data table query display configuration module can also be used for rendering a template of the queried table content and generating a code file according to the table relation.
8. The method of claim 1,
3) visual page design
Based on the relation between the data and the table displayed by the data table query module, designing of a plurality of pages can be carried out; the list page comprises a query condition area, an operation button area and a paging design; the detail page supports various tab style page designs, namely single tab and multiple tabs; and supporting special customization aiming at special document business, and generating a code file and performing corresponding rendering by simple dragging.
CN202210070123.7A 2022-01-21 2022-01-21 Method for generating official document scene template code based on domestic CPU low code Pending CN114444458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210070123.7A CN114444458A (en) 2022-01-21 2022-01-21 Method for generating official document scene template code based on domestic CPU low code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210070123.7A CN114444458A (en) 2022-01-21 2022-01-21 Method for generating official document scene template code based on domestic CPU low code

Publications (1)

Publication Number Publication Date
CN114444458A true CN114444458A (en) 2022-05-06

Family

ID=81368386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210070123.7A Pending CN114444458A (en) 2022-01-21 2022-01-21 Method for generating official document scene template code based on domestic CPU low code

Country Status (1)

Country Link
CN (1) CN114444458A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873974A (en) * 2016-12-30 2017-06-20 武汉默联股份有限公司 Smart code generates automotive engine system and method
CN109460970A (en) * 2018-10-26 2019-03-12 北京神州海泰克科技有限公司 It is a kind of based on the autonomous controllable office automation system of Domestic Database safety
CN112527373A (en) * 2020-12-11 2021-03-19 浪潮云信息技术股份公司 Visual platform expanding method based on operation integrated management center service
CN112650475A (en) * 2020-12-21 2021-04-13 广州云徙科技有限公司 Software low-code development system and development method combined with middle platform architecture theory
CN113849165A (en) * 2021-09-28 2021-12-28 航天科工网络信息发展有限公司 Customizable low-code front-end development framework and method based on visual dragging
CN113886362A (en) * 2021-10-10 2022-01-04 浙江力石科技股份有限公司 Data storage system and storage method based on workflow engine and low-code platform
CN113918140A (en) * 2021-10-21 2022-01-11 浪潮软件集团有限公司 System construction method for generating front-end and back-end codes based on dragging mode

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873974A (en) * 2016-12-30 2017-06-20 武汉默联股份有限公司 Smart code generates automotive engine system and method
CN109460970A (en) * 2018-10-26 2019-03-12 北京神州海泰克科技有限公司 It is a kind of based on the autonomous controllable office automation system of Domestic Database safety
CN112527373A (en) * 2020-12-11 2021-03-19 浪潮云信息技术股份公司 Visual platform expanding method based on operation integrated management center service
CN112650475A (en) * 2020-12-21 2021-04-13 广州云徙科技有限公司 Software low-code development system and development method combined with middle platform architecture theory
CN113849165A (en) * 2021-09-28 2021-12-28 航天科工网络信息发展有限公司 Customizable low-code front-end development framework and method based on visual dragging
CN113886362A (en) * 2021-10-10 2022-01-04 浙江力石科技股份有限公司 Data storage system and storage method based on workflow engine and low-code platform
CN113918140A (en) * 2021-10-21 2022-01-11 浪潮软件集团有限公司 System construction method for generating front-end and back-end codes based on dragging mode

Similar Documents

Publication Publication Date Title
RU2536390C2 (en) Automated report generation method
CN102103605B (en) Method and system for intelligently extracting document structure
EP2293203A1 (en) Methods and apparatus for querying process control data
CN104035772A (en) Static analysis based source code multi-versionfunction call relation difference identification method
WO2021174752A1 (en) Method and apparatus for visualizing ambient air quality data, device, and storage medium
US11853365B2 (en) Template-based faceted search experience
CN105761007B (en) Auxiliary method and system for information management software design
CN113886362A (en) Data storage system and storage method based on workflow engine and low-code platform
CN111158670A (en) Visual auxiliary software development method and system
CN114461200A (en) Low-code development application and method based on cloud SaaS platform
CN106339363A (en) PPT report making method and device
CN114254602A (en) Design system and storage medium for custom forms
CN116775003A (en) Modeling system and method based on low codes
CN117057318A (en) Domain model generation method, device, equipment and storage medium
JP2001216142A (en) Program preparation aiding device
CN113918140A (en) System construction method for generating front-end and back-end codes based on dragging mode
CN109408494B (en) Model production record generation method based on form self-defining function
CN114371845A (en) Form generation method and device
CN103593188A (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN113076103A (en) Custom template generation method and system
CN114444458A (en) Method for generating official document scene template code based on domestic CPU low code
CN111859886A (en) Document generation method and device based on product prototype interface
CN111191423A (en) Method and system suitable for on-line editing of official document text
CN105045774B (en) A kind of operating user interface handbook of What You See Is What You Get is write and generation method
CN114297443A (en) Processing method, device and equipment for graph data query statement 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