CN115098212A - Method for realizing form generation, data authority filtering and flexible data file falling - Google Patents
Method for realizing form generation, data authority filtering and flexible data file falling Download PDFInfo
- Publication number
- CN115098212A CN115098212A CN202210820009.1A CN202210820009A CN115098212A CN 115098212 A CN115098212 A CN 115098212A CN 202210820009 A CN202210820009 A CN 202210820009A CN 115098212 A CN115098212 A CN 115098212A
- Authority
- CN
- China
- Prior art keywords
- configuration
- data
- model
- authority
- grouping
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to a method for realizing form generation, data authority filtering and flexible data file falling. The method comprises the following steps: preparing basic configuration data for subsequent configuration of model (form) content; configuring the content of a complete form through a model- > grouping- > element mode; based on the configured model configuration information, corresponding role and data authority management configuration is carried out; when the form is rendered, firstly, a starting model is obtained according to the classification of a service scene, then, a configuration item list rendered by the form page is obtained according to the screening and filtering of role authority, and finally, the form configuration page is rendered according to the configuration of model grouping elements; and (4) performing file falling processing on the form data, namely accurately updating the data to corresponding libraries, tables and fields through an algorithm according to the grouping and element configuration mapping data source after the form configuration instance is checked, released and on-line, so as to realize the flexible file falling of the form data. The method and the device can improve the richness, safety and flexibility of automatic generation of the form.
Description
Technical Field
The invention relates to the technical field of relevant form application processing, data authority verification and low-code development, in particular to a method for realizing form generation, data authority filtering and flexible data file falling.
Background
With the development of computer technology, no matter a software system at a B end or a C end, forms can not be used, the most traditional mode is that independent form pages are developed according to functional requirements, data authority verification and data file falling of form contents are both pages which are directly written, adjustment cannot be flexibly carried out, the requirements of different roles for processing different configuration items cannot be met, and different databases, tables and fields cannot be flexibly fallen to the ground.
With the development of the technology, the appearance and the iterative updating of the automatic form rendering technology do exist, but the two technologies have corresponding defects, namely, the function of a data authority checking block is lacked; secondly, flexible data file falling is realized, most of form rendering and low-code platforms cannot realize flexible file falling of forms, and more forms are embedded in use modes; thirdly, the incidence relation and linkage rendering among form page elements are not realized, some complex element components are absent, the effects on the business are very needed, for example, a specific detailed parameter is configured only when a certain special business switch is opened, so that the switch is an element, and the optimal effect is that when the switch is equal to the on, other configuration parameters are displayed, and unnecessary configuration items are reduced; and complex elements such as pop-up window selection, table operation column configuration, table selection and the like are lacked, so that the business system is also a mode returning to the most traditional independent page development.
Disclosure of Invention
The invention aims to provide a method for realizing form generation, data authority filtering and flexible data file falling, which can improve the richness, safety and flexibility of automatic form generation.
In order to achieve the purpose, the technical scheme of the invention is as follows: a method for realizing form generation, data authority filtering and flexible data file falling comprises the following steps:
step S1, preparing basic configuration data for use in subsequent configuration of model content, namely form content;
step S2, configuring the content of the complete form through the mode of model- > grouping- > element, wherein the model is equivalent to a complete form; the grouping is a sub-form of different tabs in the form, and the grouping comprises link type configuration, namely directly linking a specified page, or element type configuration, namely a traditional mode of the form; the element is each configuration item in the specific sub-form, and is a configuration block or a specific input item; the model configuration supports life cycle and version management, and also supports the configuration of corresponding models according to different services, different regions and different modes;
step S3, based on the configured model configuration information, corresponding role and data authority management configuration are carried out, different roles bind different models, and corresponding authority levels including non-display, read-only and editable are configured for the grouping and elements in the models;
step S4, automatically rendering the form according to the configuration content: firstly, acquiring an enabled model according to the classification of a service scene, then screening, filtering and acquiring a configuration item list rendered by a form page according to role authority, and finally rendering the form configuration page according to model, grouping and element configuration, wherein the configuration item list comprises the hierarchical relation of related configuration items, the initialized rendering of elements and the cascade relation between elements;
and step S5, performing form data file falling processing, after the form configuration instance is checked and released to be on line, updating data to corresponding libraries, tables and fields through an algorithm according to the grouping and element configuration mapping data sources in the model, and achieving the aim of flexible file falling of the form data.
Compared with the prior art, the invention has the following beneficial effects: the form data verification method has the advantages that the data authority verification function is added, the form data safety is improved, meanwhile, the form data verification method is more flexibly suitable for various service scenes, for example, the government affair industry configures matters, the contents of forms needing to be configured under different roles and different modes are different, the problem can be easily solved through the combined use of the data authority and the model grouping elements, and various complicated form development is not needed; meanwhile, the form style content is abundant, and the form function which can meet the conventional service requirement is realized; the data is flexibly subjected to file falling, the effect of low-code development is greatly improved, if the object development is simple, a data source can be directly configured, the content of a form can be configured, the file falling can be directly verified and issued, and the development of related codes is not needed in the whole process.
Drawings
FIG. 1 is a schematic process flow diagram according to an embodiment of the present invention.
FIG. 2 is a core data object relationship diagram of the present invention.
FIG. 3 is a diagram of the effect of automatic generation of forms.
Fig. 4 is an explanatory diagram of an element arrangement page.
Fig. 5 is an explanatory diagram of the component class element extension configuration page.
FIG. 6 is a role form permission configuration page.
FIG. 7 is a diagram of the effect achieved by the component class elements.
Fig. 8 is a diagram of the effect of component + component implementation.
Detailed Description
The technical scheme of the invention is specifically explained below with reference to the accompanying drawings.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present application. As used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and it should be understood that when the terms "comprises" and/or "comprising" are used in this specification, they specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof, unless the context clearly indicates otherwise.
In this embodiment, the explanation of the implementation process is performed by taking the operation configuration requirements of the matters in the government affairs industry as a core, and the specific implementation of the application is as follows:
fig. 1 is a schematic flow chart of a method for implementing form generation, data authority filtering, and flexible data archive falling based on configuration, which is provided in the present application, and the method of the present application is described in detail below with reference to fig. 1.
Step S1, preparing basic configuration data for use in subsequent configuration of model (form) content, and configuring required elements, data sources (tables or fields of specific databases), component configuration (configuration, packaged interfaces, front-end components) and the like according to business needs;
step S2, configuring the content of the complete form through the mode of the model- > grouping- > element, wherein the model configuration supports life cycle and version management, and also supports the configuration of corresponding models according to different services, different areas and different modes, and is better combined with service requirements;
step S3, based on the configured model configuration information, corresponding role and data authority management configuration are carried out, different roles can bind different models, and corresponding authority levels (not shown, read-only and editable) can be configured for the grouping and elements in the models, thereby realizing the core target of form data authority verification, and the role authorization page refers to the graph 3;
step S4, automatically rendering the form according to the configuration content, including the hierarchical relation of the related configuration items, the initialized rendering of the elements, the cascade relation among the elements, and the like;
and step S5, performing file falling processing on the form data, and accurately updating the data to corresponding libraries, tables and fields through an algorithm according to the mapping data source after the form configuration instance is checked, issued and on-line, so as to achieve the aim of flexible file falling of the form data.
The step S2 specifically includes the following steps:
step S21, configuring corresponding service type and mode data according to service requirement, wherein the service type in the embodiment preliminarily supports event configuration, directory configuration, event configuration and event directory configuration; the pattern of the event configuration comprises a basic pattern (all-in-one, self-built, one end and one end), service innovation (situation guide, reservation handling, express handling and the like);
and step S21, configuring corresponding form contents according to the configuration requirements of the related business objects, wherein the form contents comprise model information management, model grouping configuration, model element configuration and element association relationship configuration. The relation of the related configuration data objects is shown in fig. 2, the description of the element configuration page refers to fig. 4, and the configuration of the component class element extension class refers to fig. 6.
In step S3, the role authority can configure data authorities for service types, modes, etc. in addition to the model data authority configuration, so as to meet the requirements of different roles for configuring different contents; the model can support multi-level and multi-dimensional authority configuration, the authority can be configured in the whole model, the authority can be configured in the whole group, or the corresponding authority level can be configured in each element, and the authority is taken up if the authority is not configured.
With reference to fig. 3, 7 and 8, the approximate effect of step S4 specifically includes the following steps:
step S41, selecting the mode and the service type list according to the role for the user to select;
step S42, acquiring a corresponding starting model according to the service requirement (area);
s44, screening, filtering and acquiring a configuration item list rendered by the form page according to the role authority;
step S45, grouping element configuration according to the model, rendering a form configuration page, including the hierarchical relation of related configuration items, the initialized rendering of elements, the cascade relation among elements and the like; the cascade relation between the elements is processed, such as: when the value of the element A is Y, the element B is displayed or filled; the bigger bright points are the component element, the component plus component element and the back-end processing element, the combination of the element and the component and the code component realizes richer form functions, supports various display modes (forms, drop-down frames and pop-up windows), and can configure the operation types (single selection, multiple selection, editing, deleting and the like) supported by the model element during rendering.
In the step S5, in order to ensure accuracy and security of the data, an instance data auditing and issuing process is configured, specifically, after the instance configuration needs to be audited and issued, flexible and accurate data downshifting is performed. The file falling process mainly comprises the following steps:
step S51, configuration instance data is audited and released, life cycle management is carried out, instance data is stored in a json mode (hierarchical display and subsequent data reading interaction are facilitated in the json mode), and configuration instance object parameters mainly comprise an affiliated service type, an affiliated object id, a model id, a mode, configuration content, a version and a state;
step S52, the root model obtains the data source mapping configuration of all elements, and the mapping configuration is refined to each model group, the model elements are mapped to a specific table, and the matching conditions and the fields are inquired;
step S52, when the file is dropped, the configuration content in the instance is mapped and stored into the corresponding data source one by one according to the mapping relation of the data source, thereby realizing the function of the real flexible file dropping of the data and modifying the instance configuration state of the service system;
according to the embodiment, different form pages are configured according to the region and the scene by the related operation configuration function, so that the personalized function expansion of different cities is facilitated in the implementation process of the service system; meanwhile, a data authority verification function is used, the configured content is authorized, different roles pay attention to the respective configured content, such as the configuration related to a hall personnel configuration channel, and department personnel configure corresponding department configuration items, and special service personnel only need to be configured with the configuration element authority of the service special item, so that the perception effect of a configuration function user is improved, and the data security level is improved; the life cycle audit of the configuration data of the colleague instance further improves the safety and stability of the configuration data.
The above are preferred embodiments of the present invention, and all changes made according to the technical scheme of the present invention that produce functional effects do not exceed the scope of the technical scheme of the present invention belong to the protection scope of the present invention.
Claims (8)
1. A method for realizing form generation, data authority filtering and flexible data file dropping is characterized by comprising the following steps:
step S1, preparing basic configuration data for use in subsequent configuration of model content, namely form content;
s2, configuring the content of a complete form through a model- > grouping- > element mode, wherein the model is equivalent to a complete form; the grouping is the sub-forms of different tabs in the form, and comprises a link type configuration, namely directly linking a specified page, or an element type configuration, namely a traditional mode of the form; the element is each configuration item in the specific sub-form, and is a configuration block or a specific input item; the model configuration supports life cycle and version management, and also supports the configuration of corresponding models according to different services, different areas and different modes;
step S3, based on the configured model configuration information, corresponding role and data authority management configuration are carried out, different roles bind different models, and corresponding authority levels including non-display, read-only and editable are configured for the grouping and elements in the models;
step S4, automatically rendering the form according to the configuration content: firstly, acquiring an enabling model according to the classification of a service scene, then screening, filtering and acquiring a configuration item list rendered by a form page according to role authority, and finally rendering the form configuration page according to model, grouping and element configuration, wherein the configuration item list comprises the hierarchical relation of related configuration items, the initialized rendering of elements and the cascade relation between elements;
and step S5, performing form data file falling processing, after the form configuration instance is checked, released and on-line, updating data to corresponding libraries, tables and fields through an algorithm according to the grouping and element configuration mapping data source in the model, and achieving the goal of flexible file falling of the form data.
2. The method of claim 1, wherein in step S1, the basic configuration data includes: the element, the data source and the component configuration, wherein the element is the minimum configuration particle of the form, the data source is the table or the field of a specific database and is embodied and selected in a configuration mode, and the component configuration is the configured and packaged interface and front-end component.
3. The method of claim 1, wherein the configuration in step S2 includes functions of business type management, mode management, model information management, model grouping configuration, model element configuration, element association relationship configuration, and elements include multiple forms of component class elements, backend processing class elements, sub-tables, and sub-tables.
4. The method of claim 1, wherein in step S3, the role rights management configuration includes data rights configuration of model, service type and mode, so as to meet the requirement of different roles for different contents; the model supports multi-level and multi-dimensional permission configuration, including the configuration permission of the whole model, the configuration permission of the whole group or the configuration of the corresponding permission level of one element, and the permission is taken up if no configuration is available.
5. The method for implementing form generation, data authority filtering and data flexible document falling as claimed in claim 1, wherein in step S4, the cascade relationship between elements is processed, namely: when the value of the element A is Y, the element B is displayed or filled; and subassembly class component, subassembly + subassembly component, back-end processing class component combine together through component and subassembly, "code component", support multiple show mode, include: forms, drop-down boxes, pop-ups, and types of operations supported in configuring the rendering of model elements, including: single selection, multiple selection, editing and deleting.
6. The method for implementing form generation, data authority filtering and data flexible filing, according to claim 1, in step S5, the form data filing processing flow includes:
s51, configuration instance data is audited and released, life cycle management is carried out, instance data is stored and interacted in a json mode, and configuration instance object parameters mainly comprise an affiliated business type, an affiliated object id, a model id, a mode, configuration contents, a version and a state;
step S52, acquiring data source mapping configuration of all elements according to the model, and refining each model group, the model element mapping corresponding table, the query matching condition and the field;
and step S53, during the file falling, the configuration contents in the examples are mapped and stored into the corresponding data sources one by one according to the mapping relation of the data sources, so that the function of the real flexible file falling of the data is realized.
7. The method of claim 1, wherein the configured data source must ensure successful connection, and the database type needs to be selected from the adapted database types for internal data.
8. The method for realizing form generation, data authority filtering and data flexible downscaling as claimed in claim 1, wherein in step S5, in addition to the data source mapping mode, the data source configuration can be directly skipped and provided externally in a form embedding manner.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210820009.1A CN115098212A (en) | 2022-07-13 | 2022-07-13 | Method for realizing form generation, data authority filtering and flexible data file falling |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210820009.1A CN115098212A (en) | 2022-07-13 | 2022-07-13 | Method for realizing form generation, data authority filtering and flexible data file falling |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115098212A true CN115098212A (en) | 2022-09-23 |
Family
ID=83297332
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210820009.1A Pending CN115098212A (en) | 2022-07-13 | 2022-07-13 | Method for realizing form generation, data authority filtering and flexible data file falling |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115098212A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070136675A1 (en) * | 2005-11-02 | 2007-06-14 | Sourcecode Technology Holding, Inc. | Methods and apparatus for updating a plurality of data fields in an elecronic form |
| CN105096104A (en) * | 2015-07-21 | 2015-11-25 | 深圳市永兴元科技有限公司 | Form operation authority control method, apparatus and office automation system |
| CN107291925A (en) * | 2017-06-29 | 2017-10-24 | 浪潮软件股份有限公司 | Examination and approval data precipitation method based on business model |
| CN110472207A (en) * | 2018-05-10 | 2019-11-19 | 北京京东尚科信息技术有限公司 | List generation method and device |
| CN113112377A (en) * | 2021-03-08 | 2021-07-13 | 北京世纪安图数码科技发展有限责任公司 | Method for code-free configuration of real estate registration system based on visual modeling |
| CN114201718A (en) * | 2021-12-15 | 2022-03-18 | 建信金融科技有限责任公司 | Dynamically configurable form instance generation method and device |
-
2022
- 2022-07-13 CN CN202210820009.1A patent/CN115098212A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070136675A1 (en) * | 2005-11-02 | 2007-06-14 | Sourcecode Technology Holding, Inc. | Methods and apparatus for updating a plurality of data fields in an elecronic form |
| CN105096104A (en) * | 2015-07-21 | 2015-11-25 | 深圳市永兴元科技有限公司 | Form operation authority control method, apparatus and office automation system |
| CN107291925A (en) * | 2017-06-29 | 2017-10-24 | 浪潮软件股份有限公司 | Examination and approval data precipitation method based on business model |
| CN110472207A (en) * | 2018-05-10 | 2019-11-19 | 北京京东尚科信息技术有限公司 | List generation method and device |
| CN113112377A (en) * | 2021-03-08 | 2021-07-13 | 北京世纪安图数码科技发展有限责任公司 | Method for code-free configuration of real estate registration system based on visual modeling |
| CN114201718A (en) * | 2021-12-15 | 2022-03-18 | 建信金融科技有限责任公司 | Dynamically configurable form instance generation method and device |
Non-Patent Citations (1)
| Title |
|---|
| 泛普软件: "OA表单设计界面中的【tab标签】介绍", HTTPS://WWW.FANPUSOFT.COM/GC/ BIAODAN/771294.HTML, 7 September 2011 (2011-09-07), pages 1 - 5 * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1193305C (en) | Data recovery method and device with multi-data source capability | |
| US6785689B1 (en) | Consolidation of multiple source content schemas into a single target content schema | |
| US6698014B1 (en) | System for automatically converting source code from one programming language to another | |
| CN102236544B (en) | Method and device for designing skins | |
| CN115237380A (en) | Low-code development system and method based on element codes | |
| US20060271885A1 (en) | Automatic database entry and data format modification | |
| KR20060045622A (en) | Extraction, transformation, and loading designer module of computerized financial systems | |
| CN103514166B (en) | SQL inspection method and device | |
| US20090164943A1 (en) | Open model ingestion for Master Data Management | |
| KR20110097921A (en) | Mapping instances of data sets within the data management system | |
| CN103810212A (en) | Automated database index creation method and system | |
| US20120124550A1 (en) | Facilitating database application code translation from a first application language to a second application language | |
| CN117931164B (en) | Form application design method and system based on low codes | |
| US20120296862A1 (en) | Method and apparatus for analyzing and migrating data integration applications | |
| CN110147361A (en) | The system and method for master data coding rule maintenance function are realized under big data environment | |
| CN114281797A (en) | Method for quickly creating basic level data aggregation warehouse based on agile low-code platform | |
| CN112286902A (en) | Intelligent application development system based on cloud computing and big data | |
| CN101853163B (en) | Industry application software system construction method based on assembly business modeling | |
| CN114064611A (en) | Metadata reusable data modeling method and system | |
| US9269067B2 (en) | Method and apparatus for providing selective access to information | |
| US20050228826A1 (en) | Method and apparatus for constructing representations of objects and entities | |
| CN105653569A (en) | Image data expansion processing method and apparatus | |
| CN115881283A (en) | Medical main index management system and method based on dynamic model and dynamic rules | |
| CN115098212A (en) | Method for realizing form generation, data authority filtering and flexible data file falling | |
| US20070192278A1 (en) | Method and apparatus for providing selective access to information |
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 |