CN108228762B - Method and system for configuring master database universal templates - Google Patents

Method and system for configuring master database universal templates Download PDF

Info

Publication number
CN108228762B
CN108228762B CN201711416898.0A CN201711416898A CN108228762B CN 108228762 B CN108228762 B CN 108228762B CN 201711416898 A CN201711416898 A CN 201711416898A CN 108228762 B CN108228762 B CN 108228762B
Authority
CN
China
Prior art keywords
page
main data
template
database model
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711416898.0A
Other languages
Chinese (zh)
Other versions
CN108228762A (en
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.)
Petro CyberWorks Information Technology Co Ltd
Original Assignee
Petro CyberWorks Information Technology 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 Petro CyberWorks Information Technology Co Ltd filed Critical Petro CyberWorks Information Technology Co Ltd
Priority to CN201711416898.0A priority Critical patent/CN108228762B/en
Publication of CN108228762A publication Critical patent/CN108228762A/en
Application granted granted Critical
Publication of CN108228762B publication Critical patent/CN108228762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support

Abstract

The invention provides a method and a system for configuring a master database universal template, wherein the method comprises the following steps: creating a database model corresponding to the main data; creating a page component corresponding to the main data attribute according to the database model and the main data attribute; creating a master data template according to the database model and the page component; generating a main data template page according to the page component; and configuring user authority on the main data template page. The invention can flexibly configure various main data required by different enterprises in different industries.

Description

Method and system for configuring master database universal templates
Technical Field
The invention belongs to the technical field of databases, and particularly relates to a method and a system for configuring a master database universal template.
Background
Generally, the construction content of the main data management system is mainly to complete the construction of the required main data in a customized development mode according to the needs of enterprises. Although the construction period can be shortened, a series of subsequent problems are brought, such as incapability of flexibly coping with various changes (attribute changes, coding mode changes and the like are realized by developers through codes again), and no universality (repeated development and implementation are required for different enterprise owner data construction requirements, and time and labor cost are high).
Disclosure of Invention
The invention provides a method and a system for configuring a master database universal template, which are used for flexibly configuring various master data required by different enterprises in different industries.
According to an aspect of the present invention, there is provided a method for configuring master database universal templates, comprising:
creating a database model corresponding to the main data;
creating a page component corresponding to the main data attribute according to the database model and the main data attribute;
creating a master data template according to the database model and the page component;
generating a main data template page according to the page component;
and configuring user authority on the main data template page.
According to one embodiment of the present invention, creating a master data template from the database model and the page component further comprises:
transferring a primary key of the database model into a controller;
the controller inquires all page components of the database model according to the main key of the database model;
establishing connection between all page components of the database model and the database model;
and generating a bottom database table, an index and an incidence relation according to the database model and all the page components.
According to an embodiment of the present invention, creating a page component corresponding to the master data attribute according to the database model and the master data attribute further includes:
defining a page operation component of each main data attribute and an incidence relation between the page operation components according to the database model and the main data attributes;
and transmitting the page operation components of each main data attribute and the incidence relation information between the page operation components to a background, and storing the page operation components and the incidence relation information into a corresponding database.
According to one embodiment of the present invention, configuring user permissions on pages of the master data template further comprises configuring user view permissions and configuring user button permissions, wherein,
configuring user view permissions further comprises the steps of:
transmitting the main key of the service type of the main data template to a background;
inquiring view information in a page component of the main data template, and transmitting the view information to a foreground page for displaying;
giving view permission to a user in a check box mode on the foreground page;
the checked view check box information is transmitted to a background for storage,
configuring user button permissions further comprises the steps of:
transmitting the main key of the service type of the main data template to a background;
inquiring button information in a page component of the main data template, and transmitting the button information to a foreground page for displaying;
giving button authority to a user in a mode of checking a button check box on the foreground page;
and transmitting the checked button check box information to a background for storage.
According to an embodiment of the present invention, configuring the user right on the page of the master data template further includes configuring a user page and a menu right, including:
defining a page and a page layout template required by the main data full life cycle management;
the method comprises the steps that a page and a page layout template required by main data full life cycle management are managed, and a corresponding page component is searched from the main data template;
copying the corresponding page components searched from the main data template into a folder corresponding to main data;
querying all page components in the master data template;
reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings;
replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management;
and writing the replaced character string into the page corresponding to the main data template.
According to another aspect of the present invention, there is also provided a system for configuring master database universal templates, comprising:
the database model establishing module is configured to establish a database model corresponding to the main data;
the page component establishing module is configured to establish a page component corresponding to the main data attribute according to the database model and the main data attribute;
a master data template creation module configured to create a master data template from the database model and the page components;
the page generating module of the master data template is configured to generate a page of the master data template according to the page component;
and the user authority configuration module is configured to configure user authority on the page of the main data template.
According to an embodiment of the present invention, the master data template creation module is further configured to generate the corresponding master data template by:
transferring a primary key of the database model into a controller;
the controller inquires all page components of the database model according to the main key of the database model;
establishing connection between all page components of the database model and the database model;
and generating a bottom database table, an index and an incidence relation according to the database model and all the page components.
According to an embodiment of the present invention, the page component establishing module is further configured to create the page component corresponding to the main data attribute by:
defining a page operation component of each main data attribute and an incidence relation between the page operation components according to the database model and the main data attributes;
and transmitting the page operation components of each main data attribute and the incidence relation information between the page operation components to a background, and storing the page operation components and the incidence relation information into a corresponding database.
According to an embodiment of the present invention, the user right configuration module further comprises a user view right and a user button right configured in such a manner that,
the user view permission is configured in the following way:
transmitting the main key of the service type of the main data template to a background;
inquiring view information of the main data template, and transmitting the view information to a foreground page for displaying;
giving view permission to a user in a check box mode on the foreground page;
the checked view check box information is transmitted to a background for storage,
the user button authority is configured in the following way:
transmitting the main key of the service type of the main data template to a background;
inquiring the button information of the main data template, and transmitting the button information to a foreground page for displaying;
giving button authority to a user in a mode of checking a button check box on the foreground page;
and transmitting the checked button check box information to a background for storage.
According to an embodiment of the present invention, the user authority configuration module further includes a function of configuring user pages and menu authorities by:
defining a page and a page layout template required by the main data full life cycle management;
the method comprises the steps that a page and a page layout template required by main data full life cycle management are managed, and a corresponding page component is searched from the main data template;
copying the corresponding page components searched from the main data template into a folder corresponding to main data;
querying all page components in the master data template;
reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings;
replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management;
and writing the replaced character string into the page corresponding to the main data template.
The invention has the beneficial effects that:
the invention can dynamically and flexibly define the specific attribute, the relationship between the attributes and the related component domain of the page display of the main data by defining the general template rule abstracted from the main data without changing the program code, and can define various main data required by enterprises and the related views, menus, flows and the like thereof from scratch to flexible configuration, thereby reducing the time, labor cost and the like of developers for customized development of different main data of different enterprises, flexibly meeting the requirement of online change and improving the user satisfaction.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solution in the embodiments of the present invention, the drawings required in the description of the embodiments will be briefly introduced as follows:
FIG. 1 is a flow diagram of a method for configuring master database universal templates according to one embodiment of the invention;
FIG. 2 is a system block diagram for configuring master database universal templates according to one embodiment of the invention;
FIG. 3 is a system architecture diagram for configuring master database universal templates, according to one embodiment of the invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details or with other methods described herein.
Additionally, the steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions and, although a logical order is illustrated in the flow charts, in some cases, the steps illustrated or described may be performed in an order different than here.
First embodiment
Fig. 1 is a diagram illustrating a method for configuring a master data universal template according to the present invention, and fig. 2 is a schematic diagram illustrating a system architecture for configuring a master data universal template according to the present invention, and the present invention will be described in detail with reference to fig. 1 and 2.
First, in step S110, a database model corresponding to the master data is created. The database model describes the way data is structured and manipulated in a database, with the structural part of the model specifying how the data is described (e.g., trees, tables, etc.). The manipulation portion of the model provides for the addition, deletion, display, maintenance, printing, searching, selection, ordering, and updating of data. In the invention, firstly, a database model establishing method in the prior art is utilized to establish database models corresponding to various main data.
Next, in step S120, a page component corresponding to the main data attribute is created according to the database model and the main data attribute.
The master data refers to reference data that changes slowly in sharing between systems. The corresponding master data template may be generated based on various types of master data, as desired. This step S120 includes the following two steps. Firstly, defining a page operation component of each main data attribute and an association relation between the page operation components according to a database model and the main data attributes. And then, the page operation components of each main data attribute and the incidence relation information between the page operation components are transmitted to a background and stored in a corresponding database.
Specifically, for the attributes of various types of main data, defining page operation components (such as single selection, multiple selection, input boxes, drop-down lists, pop-up boxes) corresponding to each attribute and association relations (such as verification, cascade relations, selection design relations and the like) among the operation components. As shown in fig. 2, the operation components of each attribute-corresponding page include a simple component text field, a search field, a document field, a pull-down field, a unit field, etc., the association relationship between the components corresponds to a complex component cascade selection, a tree structure, keywords, a search, a selection setting, a new component, etc., and these attribute components can be changed through the attribute component interface in the secondary development interface. And then, transmitting the operation components of the page corresponding to each attribute and the incidence relation information among the components to a background, and storing the operation components and the incidence relation information into a corresponding database. Specifically, invoking an http method of angularjs, defining a method for declaring and defining a dom domain in a front-end framework bootstrap layout by defining each component through a creator mode, transmitting filled information to a background, and then invoking a method of a dao layer to store data in a corresponding database.
Next, in step S130, a master data template is created from the database model and the page components. The step 130 specifically includes the following steps. First, the primary key of the database model (i.e., the ID of the database model) is transferred to the controller. Then, the controller queries all page components of the database model according to the primary key of the database model. Then, all page components of the database model are connected with the database model. And finally, generating a bottom database table, an index and an incidence relation according to the database model and all the page components, and further establishing the required main data template.
Specifically, the main key of the database model is transmitted to the controller, that is, the ID of the model is transmitted to the controller by an http (hypertext transfer protocol) method of the JS framework angularjs at the front end. And then, the controller inquires all attribute information of the various main data models according to the main keys of the various main data models. And then, establishing connection with databases corresponding to various main data models according to all attribute information of the various main data models, namely adopting a method for calling an object-oriented database interface dao data layer by using a splicing database mode definition language ddl statement, and obtaining database connection in a Java APIjdbc mode for executing SQL statements. And finally, generating a bottom database table, an index and an incidence relation according to all the attribute information of each type of main data model and the corresponding database, and specifically, generating the bottom database table, the index, the incidence relation and the like by executing sql operation.
Next, in step S140, a master data template page is generated from the page components. Specifically, the controller generates a master data template page from the page components.
Finally, in step S150, the user authority is configured on the page of the master data template. Specifically, configuring the user right on the page of the main data template further includes configuring a user view right, configuring a user button right, and configuring a user page and menu right.
Wherein configuring the user view permission further comprises the steps of: transmitting the main key of the service type of the main data template to a background; inquiring view information in a page component of the main data template, and transmitting the view information to a foreground page for displaying; the method comprises the steps that a view authority is given to a user in a check box mode on a foreground page; and transmitting the checked view check box information to a background for storage. During specific implementation, a service type tree is clicked (automatically generated when a main data template is formed), an http method of angularjs is called to transmit a main key of the service type to a background, then methods of a service layer and a data layer are called to inquire out view information of the model, the view information is transmitted to a foreground page in a json mode to be displayed, then check boxes are checked through the foreground page to give view permission to a user, and after check, the checked information is transmitted to the background through the http method again to be stored. After the information is saved, the information needs to be logged in again to refresh the login information so that the field information in the view can be seen. The database stores the authority of which views the user has in such a way that the service type table name plus the view id (T1100: 1234) is included. The foreground page controls the display and hiding of the view using the shiro tag.
Configuring user button permissions further comprises the steps of: transmitting the main key of the service type of the main data template to a background; inquiring button information in a page component of the main data template, and transmitting the button information to a foreground page for displaying; giving button authority to a user in a foreground page in a check box mode of checking buttons; and transmitting the checked button check box information to a background for storage. During specific implementation, a service type tree is clicked, a http method of angularjs is called to transmit a main key of a service type to a background, then methods of a service layer and a data layer are called to inquire button information of the model, the button information is transmitted to a foreground page in a json mode to be displayed, then check boxes are checked through the foreground page to give button authority to a user, and after check, the checked information is transmitted to the background through the http method to be stored. After saving, the user needs to log in the refresh session information again to see the field information in the view. The database stores the authority of the user to have which buttons in a way of adding the name of the service type table and the type of the button (T1100: add). The foreground page uses the display and hiding of the shiro label control buttons.
The view authority configuration and the button authority configuration correspond to the model application in fig. 2, and include a build list (build header, query data, build form, initialization tool, and the like) and modification data (add, modify, delete, and the like), and can be modified through a data application interface. The model definition and model application may allow model definition access layer and model application access layer access through a unified interface to the foreign application.
Configuring user authority on the page of the main data template further comprises configuring user page and menu authority, and comprises the following steps: defining a page and a page layout template required by the main data full life cycle management; the method comprises the steps of managing required pages and page layout templates according to the full life cycle of main data, and searching corresponding page components from the main data templates; copying the corresponding page components searched from the main data template into a folder corresponding to the main data; inquiring all page components in the main data template; reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings; replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management; and writing the replaced character string into a page corresponding to the main data template.
For example, in concrete implementation, the application, examination and approval, change and maintenance page and page layout template required by the full life cycle management of various types of main data are defined through bootstrap. And searching page types required to be generated according to various main data templates. And copying the template page into a corresponding main data template folder, specifically, copying the jsp template page into a corresponding model folder through the file class of java. And calling a service processing method for generating a jsp page to inquire all attribute information and view information of the model. And reading the corresponding jsp page content as a string type after the query is completed. Then, the placeholders specified in the string are replaced with information in the master data template. And finally, writing the replaced character string into a jsp page corresponding to the model.
The invention can dynamically and flexibly define the specific attribute, the relationship between the attributes and the related component domain of the page display of the main data by defining the general template rule abstracted from the main data without changing the program code, and can define various main data required by enterprises and the related views, menus, flows and the like thereof from scratch to flexible configuration, thereby reducing the time, labor cost and the like of developers for customized development of different main data of different enterprises, flexibly meeting the requirement of online change and improving the user satisfaction.
Second embodiment
According to another aspect of the present invention, there is also provided a system for configuring a master database universal template, as shown in fig. 3, including a database model building module, a page component building module, a master data template page generating module, and a user right configuring module.
The database model building module is configured to build a database model corresponding to the main data. The page component establishing module is configured to establish a page component corresponding to the main data attribute according to the database model and the main data attribute. The master data template creation module is configured to create a master data template from the database model and the page components. The master data template page generation module is configured to generate a page of a master data template from the page components. The user permission configuration module is configured to configure user permissions on pages of the master data template.
In one embodiment of the present invention, the master data template establishing module is further configured to generate a corresponding master data template by;
transmitting a primary key of the database model to the controller;
the controller inquires all page components of the database model according to the main key of the database model;
establishing connection between all page components of a database model and the database model;
and generating a bottom database table, an index and an incidence relation according to the database model and all the page components.
In an embodiment of the present invention, the page component establishing module is further configured to create the page component corresponding to the main data attribute by:
defining a page operation component of each main data attribute and an incidence relation between the page operation components according to the database model and the main data attributes;
and transmitting the page operation components of each main data attribute and the incidence relation information between the page operation components to a background, and storing the page operation components and the incidence relation information into a corresponding database.
In one embodiment of the invention, the user permission configuration module further comprises configuring the user view permission and the user button permission, wherein,
the user view permission is configured in the following way:
transmitting the main key of the service type of the main data template to a background;
inquiring view information of the main data template, and transmitting the view information to a foreground page for displaying;
giving view permission to a user in a check box mode on the foreground page;
the checked view check box information is transmitted to a background for storage,
the user button authority is configured in the following way:
transmitting the main key of the service type of the main data template to a background;
inquiring the button information of the main data template, and transmitting the button information to a foreground page for displaying;
giving button authority to a user in a mode of checking a button check box on the foreground page;
and transmitting the checked button check box information to a background for storage.
In an embodiment of the present invention, the user right configuration module further includes a user page and menu right configuration module configured by:
defining a page and a page layout template required by the main data full life cycle management;
the method comprises the steps that a page and a page layout template required by main data full life cycle management are managed, and a corresponding page component is searched from the main data template;
copying the corresponding page components searched from the main data template into a folder corresponding to main data;
querying all page components in the master data template;
reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings;
replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management;
and writing the replaced character string into the page corresponding to the main data template.
It is to be understood that the disclosed embodiments of the invention are not limited to the process steps disclosed herein, but extend to equivalents thereof as would be understood by those skilled in the relevant art. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, the appearances of the phrase "one embodiment" or "an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for configuring master database universal templates, comprising:
creating a database model corresponding to the main data;
creating a page component corresponding to the main data attribute according to the database model and the main data attribute;
according to the database model and the main data attribute, creating a page component corresponding to the main data attribute further comprises:
defining a page operation component of each main data attribute and an incidence relation between the page operation components according to the database model and the main data attributes; the page operation components corresponding to each main data attribute comprise a simple component text field, a retrieval field, a document field, a pull-down field and a unit field; the page operation component corresponding to the main data attribute is changed through a page operation component interface corresponding to the main data attribute in the secondary development interface;
transmitting the page operation components of each main data attribute and the incidence relation information between the page operation components to a background, and storing the page operation components and the incidence relation information into a corresponding database;
creating a master data template according to the database model and the page component;
generating a main data template page according to the page component;
and configuring user authority on the page of the main data template.
2. The method of claim 1, wherein creating a master data template from the database model and the page components further comprises:
transferring a primary key of the database model into a controller;
the controller inquires all page components of the database model according to the main key of the database model;
establishing connection between all page components of the database model and the database model;
and generating a bottom database table, an index and an incidence relation according to the database model and all the page components.
3. The method of claim 1, wherein configuring user permissions on pages of the master data template further comprises configuring user view permissions and configuring user button permissions, wherein,
configuring user view permissions further comprises the steps of:
transmitting the main key information of the service type of the main data template to a background;
inquiring view information in a page component of the main data template, and transmitting the view information to a foreground page for displaying;
giving view permission to a user in a check box mode on the foreground page;
the checked view check box information is transmitted to a background for storage,
configuring user button permissions further comprises the steps of:
transmitting the main key information of the service type of the main data template to a background;
inquiring button information in a page component of the main data template, and transmitting the button information to a foreground page for displaying;
giving button authority to a user in a mode of checking a button check box on the foreground page;
and transmitting the checked button check box information to a background for storage.
4. The method of claim 3, wherein configuring user permissions on pages of the master data template further comprises configuring user pages and menu permissions, comprising:
defining a page and a page layout template required by the main data full life cycle management;
the method comprises the steps that a page and a page layout template required by main data full life cycle management are managed, and a corresponding page component is searched from the main data template;
copying the corresponding page components searched from the main data template into a folder corresponding to main data;
querying all page components in the master data template;
reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings;
replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management;
and writing the replaced character string into the page corresponding to the main data template.
5. A system for configuring master database universal templates, comprising:
the database model establishing module is configured to establish a database model corresponding to the main data;
the page component establishing module is configured to establish a page component corresponding to the main data attribute according to the database model and the main data attribute; defining a page operation component of each main data attribute and an incidence relation between the page operation components according to the database model and the main data attributes; the page operation components corresponding to each main data attribute comprise a simple component text field, a retrieval field, a document field, a pull-down field and a unit field; the page operation component corresponding to the main data attribute is changed through a page operation component interface corresponding to the main data attribute in the secondary development interface;
transmitting the page operation components of each main data attribute and the incidence relation information between the page operation components to a background, and storing the page operation components and the incidence relation information into a corresponding database;
a master data template creation module configured to create a master data template from the database model and the page components;
the page generating module of the master data template is configured to generate a page of the master data template according to the page component;
and the user authority configuration module is configured to configure user authority on the page of the main data template.
6. The system of claim 5, wherein the master data template creation module is further configured to generate the corresponding master data template by:
transferring a primary key of the database model into a controller;
the controller inquires all page components of the database model according to the main key of the database model;
establishing connection between all page components of the database model and the database model;
and generating a bottom database table, an index and an incidence relation according to the database model and all the page components.
7. The system of claim 5, wherein the user permission configuration module further comprises configuring user view permissions and user button permissions by, wherein,
the user view permission is configured in the following way:
transmitting the main key information of the service type of the main data template to a background;
inquiring view information of the main data template, and transmitting the view information to a foreground page for displaying;
giving view permission to a user in a check box mode on the foreground page;
the checked view check box information is transmitted to a background for storage,
the user button authority is configured in the following way:
transmitting the main key information of the service type of the main data template to a background;
inquiring the button information of the main data template, and transmitting the button information to a foreground page for displaying;
giving button authority to a user in a mode of checking a button check box on the foreground page;
and transmitting the checked button check box information to a background for storage.
8. The system of claim 7, wherein the user permission configuration module further comprises a user page and menu permission configuration module configured to configure user pages and menu permissions by:
defining a page and a page layout template required by the main data full life cycle management;
the method comprises the steps that a page and a page layout template required by main data full life cycle management are managed, and a corresponding page component is searched from the main data template;
copying the corresponding page components searched from the main data template into a folder corresponding to main data;
querying all page components in the master data template;
reading a page required by the full life cycle management of the corresponding main data in the main data template and page content corresponding to a page component of the page layout template into character strings;
replacing the designated placeholder in the character string with a page component corresponding to a page and a page layout template required by the main data full life cycle management;
and writing the replaced character string into the page corresponding to the main data template.
CN201711416898.0A 2017-12-25 2017-12-25 Method and system for configuring master database universal templates Active CN108228762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711416898.0A CN108228762B (en) 2017-12-25 2017-12-25 Method and system for configuring master database universal templates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711416898.0A CN108228762B (en) 2017-12-25 2017-12-25 Method and system for configuring master database universal templates

Publications (2)

Publication Number Publication Date
CN108228762A CN108228762A (en) 2018-06-29
CN108228762B true CN108228762B (en) 2021-06-25

Family

ID=62647853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711416898.0A Active CN108228762B (en) 2017-12-25 2017-12-25 Method and system for configuring master database universal templates

Country Status (1)

Country Link
CN (1) CN108228762B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750973A (en) * 2019-09-02 2020-02-04 北京东软望海科技有限公司 Dynamic template configuration method and system
CN111459907B (en) * 2020-03-04 2023-07-18 石化盈科信息技术有限责任公司 Method, system and storage medium for configuring main data through model
CN111813282B (en) * 2020-05-29 2021-12-10 北京金山云网络技术有限公司 Data form display method and device
CN115543323B (en) * 2022-11-29 2023-03-17 共道网络科技有限公司 Page development method and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7765464B2 (en) * 2007-01-12 2010-07-27 International Business Machines Corporation Method and system for dynamically assembling presentations of web pages
CN101286120A (en) * 2008-05-28 2008-10-15 北京中企开源信息技术有限公司 Website page manufacture method and system
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
US8271520B1 (en) * 2011-03-31 2012-09-18 Accenture Global Services Limited Expression editor tool
CN103345393B (en) * 2013-07-03 2016-05-18 北京京东尚科信息技术有限公司 A kind of method and apparatus of controlling webpage
CN103546476A (en) * 2013-10-30 2014-01-29 北京华胜天成科技股份有限公司 Transmission method and system for information between page assemblies
CN105549982B (en) * 2016-01-14 2018-08-10 国网山东省电力公司物资公司 A kind of development of automation platform based on model configuration
CN105786505A (en) * 2016-02-26 2016-07-20 上海全成通信技术有限公司 Json based complex web page component self-defining method and device
CN107194280B (en) * 2017-05-25 2021-02-02 北京星选科技有限公司 Model establishing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A quality model for web components;A. L. Martínez-Ortiz et al;《Proceedings of the 18th International Conference on Information Integration and Web-based Applications and Services》;20161130;第430-432页 *
Web前端工程组件化的分析与改进;戴翔宇;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160915;第2016年卷(第09期);第I139-34页 *

Also Published As

Publication number Publication date
CN108228762A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN110989983B (en) Zero-coding application software rapid construction system
CN109101652B (en) Label creating and managing system
US8645905B2 (en) Development artifact searching in an integrated development environment
CN108228762B (en) Method and system for configuring master database universal templates
EP2874077B1 (en) Stateless database cache
US8635253B2 (en) Decorated model architecture for efficient model-driven application development
US20030177481A1 (en) Enterprise information unification
CN112328212A (en) Rapid development platform based on separation of front end and rear end of engine mode and use method thereof
US20110173220A1 (en) Generating web services from business intelligence queries
CN103226478A (en) Method for automatically generating and using code
CN115617327A (en) Low code page building system, method and computer readable storage medium
US20110173203A1 (en) Providing web services from business intelligence queries
CN106407170A (en) Rapid generation method and system for data report
CN103383645A (en) Code generation method and system
CN103853543A (en) Method used for quickly constructing forms in enterprise information system development process
CN101794315A (en) Object relationship mapping model with fixed database schema
CN110019314B (en) Dynamic data packaging method based on data item analysis, client and server
US20080263142A1 (en) Meta Data Driven User Interface System and Method
US20080263018A1 (en) Method and System for Mapping Business Objects to Relational Database Tables
CN113568923A (en) Method and device for querying data in database, storage medium and electronic equipment
CN116450246A (en) Event stream configurable method based on state machine
KR102198686B1 (en) Method for creating business screen and system for performing the same
Pettit et al. The MySQL Workshop: A practical guide to working with data and managing databases with MySQL
US20110022588A1 (en) System and method for specifying and implementing it systems
TWI793507B (en) Dynamic and static database management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant