CN107844591A - A kind of self-defining data modelling technique and application - Google Patents
A kind of self-defining data modelling technique and application Download PDFInfo
- Publication number
- CN107844591A CN107844591A CN201711147182.5A CN201711147182A CN107844591A CN 107844591 A CN107844591 A CN 107844591A CN 201711147182 A CN201711147182 A CN 201711147182A CN 107844591 A CN107844591 A CN 107844591A
- Authority
- CN
- China
- Prior art keywords
- service logic
- configuration
- data
- module
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A kind of self-defining data modelling technique, including data model information module, physical table module, form module and service logic configuration module;A customized data model is created in data model information module, defines the Back ground Information of data model, defining the Back ground Information of data model includes configuration physical table, define list, set service logic;A full set of management storage and management function of all kinds data in data management system can be quickly realized, cost and the cycle of original functional development is greatly reduced;Realize the dynamic configuration of newly-increased data type and reach the standard grade, software systems need not redeploy and reach the standard grade;When the data recurring structure change managed, real time modifying, real-time update are realized, software systems are restarted without shutting down.
Description
Technical field
The present invention relates to a kind of data model, specifically a kind of self-defining data modelling technique.
Background technology
In data management system, it is necessary in face of various type data, these data in structure and purposes all
There is a uniqueness of oneself, data management system can not provide specification, standard data structure and be used as to this kind of number
According to it is abstract, therefore, in the management and maintenance of the data a kind of for this, there is a kind of corresponding species of categorical data
The problem of system management module of type.
When data management system is faced with the data of a lot of various structures and type, and need to each data
When all stored and managed, the developer of software needs the data for each type, analyzes its structure and management
Business, corresponding database store structure is designed, and be the interface of its a set of management of customizing, develop proprietary management work(
Can, so as to realize the management work to such data.
Such mode, has the following disadvantages:
The developer of data management system is caused, it is necessary to put into substantial amounts of human and material resources and financial resources, reply all types data
The development of management module;
For different types of data, it is necessary to which the different management module of customized development, R&D costs are high, R&D cycle length;
When the data for newly-increased type occur need to add when management system is managed, it is necessary to by developer's customized development function
Afterwards, redeploy and reach the standard grade, heat deployment can not be realized;
When data structure change occur in the data managed, it is necessary to after carrying out function modification by developer, redeploy
Line, it can not adjust in real time.
The content of the invention
In order to solve the above-mentioned technical problem, the present invention proposes that a kind of self-defining data modelling technique includes data model information
Module, physical table module, form module and service logic configuration module;Establishment one is self-defined in data model information module
Data model, define the Back ground Information of data model, defining the Back ground Information of data model includes configuration physical table, definition table
Single, setting service logic;
The physical table module includes physical table essential information submodule, physics literary name section submodule and physical table master slave relation
Three sub-function modules of module;Physical table is configured in physical table module, according to the analysis to data structure, configuration belongs to the number
According to the database table information of model;Physical table is configured, is included in the information of physical table essential information submodule configuration database table,
In physics literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation, institute
State the field that database table field is included by database table, boss table of the database table relation between database and table
Relation;
After physical table information configuration, physical table module created in database corresponding to database table;
The form module function then includes:List essential information submodule, form fields submodule and list physical table relation
Three sub-function modules of submodule;The list defined in form module, after creating self-defining data model Back ground Information, in list
Include in essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Configuration
Form fields in form fields submodule, and to the form fields in list physical table relation submodule and physics literary name section
Binding relationship configuration, form information configure after, form module creates forms pages corresponding to the content model.
After setting service logic, service logic to be provided with service logic configuration module, service logic configuration module
The service logic for belonging to the content model is loaded and run.Set in service logic, set in service logic configuration module
Service logic be general service logic, or the service logic of setting is voluntarily write by developer.
Data model is a kind of the abstract of data to real world and conversion, and to suffer from oneself exclusive for each data
Way to manage and service logic, therefore be required for configuring its exclusive service logic for each data model.System
The service logic of two ways is provided, a kind of is general service logic(Management and the industry of most of data can be covered
Business), another kind is customized service logic, and setting is voluntarily write by developer.After service logic is provided with, system
Automatically the service logic for belonging to the content model is loaded and run.
The present invention also proposes a kind of method using self-defining data modelling technique, comprises the following steps,
(1)The step of analyze data structure, a type of data are entered under line and analyzed, including analyze its data structure and pipe
Service logic is managed, analysis and summary go out the analysis results to the type data structure;
(2)The step of creating self-defining data model, a customized data model is created in data model information module,
The Back ground Information of data model is defined, defining the Back ground Information of data model includes configuration physical table, defines list, setting business
Logic;
(3)The step of configuring physical table, configures physical table in physical table module, is parsed into according to the type data structure
Fruit, configuration belong to the database table information of the data model;
The step of configuring physical table, the step of being included in the information of physical table essential information submodule configuration database table, in thing
The step of managing literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation
Step, the field that the database table field is included by database table, the database table relation is between database and table
Boss's table relation;
Also include physical table information configuration after, physical table module created in database corresponding to database table the step of;
(4)The step of defining list, the list defined in form module, after creating self-defining data model Back ground Information, in table
Include in single essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Match somebody with somebody
The step of putting the form fields in form fields submodule, and to the form fields and thing in list physical table relation submodule
The step of managing the binding relationship configuration of literary name section, in addition to after form information configuration, form module creates the content model
The step of corresponding forms pages;
(5)The step of setting service logic, sets service logic, service logic is provided with service logic configuration module
Afterwards, the service logic for belonging to the content model is loaded and run by service logic configuration module.
The step of setting service logic, set in service logic configuration module in service logic, the business of setting
Logic is general service logic, or the service logic of setting is voluntarily write by developer.
Data model is a kind of the abstract of data to real world and conversion, and to suffer from oneself exclusive for each data
Way to manage and service logic, therefore be required for configuring its exclusive service logic for each data model.System
The service logic of two ways is provided, a kind of is general service logic(Management and the industry of most of data can be covered
Business), another kind is customized service logic, and setting is voluntarily write by developer.After service logic is provided with, system
Automatically the service logic for belonging to the content model is loaded and run.
Further, the present invention also proposes a kind of technology using self-defining data model of the present invention in data management system
In service management for all kinds data application.
Further, the present invention also proposes that a kind of method of the technology of self-defining data model is right in data management system
In the application of the service management of all kinds data.
Beneficial effect:
A full set of management storage and management function of all kinds data in data management system can be quickly realized, is greatly reduced
The cost of original functional development and cycle;
Support the dynamic configuration of newly-increased data type and reach the standard grade, software systems need not redeploy and reach the standard grade;
When the data recurring structure change managed, real time modifying is realized, real-time update, software systems are without shutting down weight
Open.
Brief description of the drawings
Fig. 1 is self-defining data modelling technique schematic diagram of the present invention;
The step of Fig. 2 is the method for self-defining data modelling technique of the present invention is schemed;
Fig. 3 is the course of work schematic diagram of self-defining data modelling technique.
Embodiment
Embodiment 1:As shown in figure 1, a kind of self-defining data modelling technique includes data model information module, physical table mould
Block, form module and service logic configuration module;A customized data model is created in data model information module, it is fixed
The Back ground Information of adopted data model, the Back ground Information for defining data model are patrolled including configuration physical table, definition list, setting business
Volume;
The physical table module includes physical table essential information submodule, physics literary name section submodule and physical table master slave relation
Three sub-function modules of module;Physical table is configured in physical table module, according to the analysis to data structure, configuration belongs to the number
According to the database table information of model;Physical table is configured, is included in the information of physical table essential information submodule configuration database table,
In physics literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation, institute
State the field that database table field is included by database table, boss table of the database table relation between database and table
Relation;
After physical table information configuration, physical table module created in database corresponding to database table;
The form module function then includes:List essential information submodule, form fields submodule and list physical table relation
Three sub-function modules of submodule;The list defined in form module, after creating self-defining data model Back ground Information, in list
Include in essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Configuration
Form fields in form fields submodule, and to the form fields in list physical table relation submodule and physics literary name section
Binding relationship configuration, form information configure after, form module creates forms pages corresponding to the content model.
After setting service logic, service logic to be provided with service logic configuration module, service logic configuration module
The service logic for belonging to the content model is loaded and run.Set in service logic, set in service logic configuration module
Service logic be general service logic, or the service logic of setting is voluntarily write by developer.
Data model is a kind of the abstract of data to real world and conversion, and to suffer from oneself exclusive for each data
Way to manage and service logic, therefore be required for configuring its exclusive service logic for each data model.System
The service logic of two ways is provided, a kind of is general service logic(Management and the industry of most of data can be covered
Business), another kind is customized service logic, and setting is voluntarily write by developer.After service logic is provided with, system
Automatically the service logic for belonging to the content model is loaded and run.
As shown in Fig. 2 the present invention also proposes a kind of method using self-defining data modelling technique, comprise the following steps,
(1)The step of analyze data structure, a type of data are entered under line and analyzed, including analyze its data structure and pipe
Service logic is managed, analysis and summary go out the analysis results to the type data structure;
(2)The step of creating self-defining data model, a customized data model is created in data model information module,
The Back ground Information of data model is defined, defining the Back ground Information of data model includes configuration physical table, defines list, setting business
Logic;
(3)The step of configuring physical table, configures physical table in physical table module, is parsed into according to the type data structure
Fruit, configuration belong to the database table information of the data model;
The step of configuring physical table, the step of being included in the information of physical table essential information submodule configuration database table, in thing
The step of managing literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation
Step, the field that the database table field is included by database table, the database table relation is between database and table
Boss's table relation;
Also include physical table information configuration after, physical table module created in database corresponding to database table the step of;
(4)The step of defining list, the list defined in form module, after creating self-defining data model Back ground Information, in table
Include in single essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Match somebody with somebody
The step of putting the form fields in form fields submodule, and to the form fields and thing in list physical table relation submodule
The step of managing the binding relationship configuration of literary name section, in addition to after form information configuration, form module creates the content model
The step of corresponding forms pages;
(5)The step of setting service logic, sets service logic, service logic is provided with service logic configuration module
Afterwards, the service logic for belonging to the content model is loaded and run by service logic configuration module.
The step of setting service logic, set in service logic configuration module in service logic, the business of setting
Logic is general service logic, or the service logic of setting is voluntarily write by developer.
Data model is a kind of the abstract of data to real world and conversion, and to suffer from oneself exclusive for each data
Way to manage and service logic, therefore be required for configuring its exclusive service logic for each data model.System
The service logic of two ways is provided, a kind of is general service logic(Management and the industry of most of data can be covered
Business), another kind is customized service logic, and setting is voluntarily write by developer.After service logic is provided with, system
Automatically the service logic for belonging to the content model is loaded and run.
Further, the present invention also proposes a kind of technology using self-defining data model of the present invention in data management system
In service management for all kinds data application.
Further, the present invention also proposes that a kind of method of the technology of self-defining data model is right in data management system
In the application of the service management of all kinds data.
Embodiment 2:
The operation principle of self-defining data modelling technique of the present invention is, by under line to the data structure of the data of a certain type
Analysis and management business analysis, in data management system on line, define the data model of the type data, including thing
Manage the definition of table, the definition of list, the configuration of service logic.By the definition of physical table, realize to the type data in data
Storage in the system of storehouse;By the definition of list, realize and a whole set of visual management is automatically generated in data management system
Interface;By the configuration to service logic, the work flow of the data in data management system is realized.
Self-defining data modelling technique of the present invention is made up of four big functions:Data model information management, physical table management, table
Menu manager and service logic configuration feature.Wherein physical table management function includes again:Physical table basic information management, physics literary name
Segment management and physical table master slave relation manage three parts;List management function then includes:List basic information management, list word
Three subfunctions of segment management and list physical table relation management.
The course of work of self-defining data modelling technique of the present invention is as follows:
1)A type of data are entered under line and analyzed, including analyze its data structure and management business logic.
2)A customized data model is created in systems, defines the Back ground Information of data model.
3)Physical table is configured in systems, and according to the analysis results of the structure to the type data, configuration belongs to the data
The database table information of model., it is necessary to which the information of configuration database table, configuration database table are wrapped in physical table configuration process
The relation of boss's table between the field, configuration database table and the table that contain, after physical table information configuration, system exists automatically
Database table corresponding to being created in database.
4)List is defined in systems, it is necessary to match somebody with somebody for the data model after self-defining data model Back ground Information is created
Corresponding page table list is put, the information of configuration includes:Form fields, and the binding relationship of field and physics literary name section, work as table
After single information configuration, system automatically creates forms pages corresponding to the content model.
5)Service logic is set in systems:Data model is a kind of abstract and conversion of data to real world, and
Each data suffers from oneself exclusive way to manage and service logic, therefore is required for deallocation for each data model
Put its exclusive service logic.System provides the service logic of two ways, and a kind of is general service logic(It can cover
The management of most of data and business), another kind is customized service logic, and setting is voluntarily write by developer.Work as industry
After business logic is provided with, the service logic for belonging to the content model is loaded and run automatically by system.
The present invention can quickly realize a full set of management storage and management function of all kinds data in data management system,
Cost and the cycle of original functional development is greatly reduced;
Support the dynamic configuration of newly-increased data type and reach the standard grade, software systems need not redeploy and reach the standard grade;
When the data recurring structure change managed, real time modifying, real-time update are supported, software systems are restarted without shutting down.
Claims (6)
- A kind of 1. self-defining data modelling technique, it is characterised in that:Including data model information module, physical table module, list Module and service logic configuration module;A customized data model is created in data model information module, defines data The Back ground Information of model, defining the Back ground Information of data model includes configuration physical table, defines list, sets service logic;The physical table module includes physical table essential information submodule, physics literary name section submodule and physical table master slave relation Three sub-function modules of module;Physical table is configured in physical table module, according to the analysis to data structure, configuration belongs to the number According to the database table information of model;Physical table is configured, is included in the information of physical table essential information submodule configuration database table, In physics literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation, institute State the field that database table field is included by database table, boss table of the database table relation between database and table Relation;After physical table information configuration, physical table module created in database corresponding to database table;The form module function then includes:List essential information submodule, form fields submodule and list physical table relation Three sub-function modules of submodule;The list defined in form module, after creating self-defining data model Back ground Information, in list Include in essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Configuration Form fields in form fields submodule, and to the form fields in list physical table relation submodule and physics literary name section Binding relationship configuration, form information configure after, form module creates forms pages corresponding to the content model;After setting service logic, service logic to be provided with service logic configuration module, service logic configuration module will belong to Load and run in the service logic of the content model.
- A kind of 2. method using claim 1 self-defining data modelling technique, it is characterised in that:Comprise the following steps,(1)The step of analyze data structure, a type of data are entered under line and analyzed, including analyze its data structure and pipe Service logic is managed, analysis and summary go out the analysis results to the type data structure;(2)The step of creating self-defining data model, a customized data model is created in data model information module, The Back ground Information of data model is defined, defining the Back ground Information of data model includes configuration physical table, defines list, setting business Logic;(3)The step of configuring physical table, configures physical table in physical table module, is parsed into according to the type data structure Fruit, configuration belong to the database table information of the data model;The step of configuring physical table, the step of being included in the information of physical table essential information submodule configuration database table, in thing The step of managing literary name section submodule configuration database literary name section, in physical table master slave relation submodule configuration database table relation Step, the field that the database table field is included by database table, the database table relation is between database and table Boss's table relation;Also include physical table information configuration after, physical table module created in database corresponding to database table the step of;(4)The step of defining list, the list defined in form module, after creating self-defining data model Back ground Information, in table Include in single essential information submodule for page table list information corresponding to data model configuration, configuration page form information:Match somebody with somebody The step of putting the form fields in form fields submodule, and to the form fields and thing in list physical table relation submodule The step of managing the binding relationship configuration of literary name section, in addition to after form information configuration, form module creates the content model The step of corresponding forms pages;(5)The step of setting service logic, sets service logic, service logic is provided with service logic configuration module Afterwards, the service logic for belonging to the content model is loaded and run by service logic configuration module.
- 3. self-defining data modelling technique according to claim 1, it is characterised in that:Set in service logic configuration module Put in service logic, the service logic of setting is general service logic, or voluntarily writes by developer the business of setting and patrol Volume.
- 4. the method for self-defining data modelling technique according to claim 2, it is characterised in that:The setting service logic The step of, being set in service logic configuration module in service logic, the service logic of setting is general service logic, or by Developer voluntarily writes the service logic of setting.
- A kind of 5. application of the technology of claim 1 self-defining data model, it is characterised in that:The technology of self-defining data model The application of the data management system of service management in to(for) all kinds data.
- A kind of 6. application of the method for the technology of claim 2 self-defining data model, it is characterised in that:Self-defining data model Technology service management of the method in data management system for all kinds data application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711147182.5A CN107844591A (en) | 2017-11-17 | 2017-11-17 | A kind of self-defining data modelling technique and application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711147182.5A CN107844591A (en) | 2017-11-17 | 2017-11-17 | A kind of self-defining data modelling technique and application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107844591A true CN107844591A (en) | 2018-03-27 |
Family
ID=61679634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711147182.5A Pending CN107844591A (en) | 2017-11-17 | 2017-11-17 | A kind of self-defining data modelling technique and application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107844591A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241434A (en) * | 2008-03-04 | 2008-08-13 | 浪潮集团山东通用软件有限公司 | Form self-defining method |
CN106372152A (en) * | 2016-08-30 | 2017-02-01 | 西安美林数据技术股份有限公司 | Online form developing system |
CN106484404A (en) * | 2016-09-23 | 2017-03-08 | 北京赢点科技有限公司 | Content Management System and the method for custom content model and attribute |
-
2017
- 2017-11-17 CN CN201711147182.5A patent/CN107844591A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241434A (en) * | 2008-03-04 | 2008-08-13 | 浪潮集团山东通用软件有限公司 | Form self-defining method |
CN106372152A (en) * | 2016-08-30 | 2017-02-01 | 西安美林数据技术股份有限公司 | Online form developing system |
CN106484404A (en) * | 2016-09-23 | 2017-03-08 | 北京赢点科技有限公司 | Content Management System and the method for custom content model and attribute |
Non-Patent Citations (2)
Title |
---|
严成: "《支持可定制的企业门户内容管理***的设计与应用》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
陈秉塬: "模块化内容管理***的设计与实现", 《万方数据》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114035773B (en) | Configuration-based low-code form development method, system and device | |
CN104537069B (en) | A kind of document configuration and application system and its method | |
CN102638566B (en) | BLOG system running method based on cloud storage | |
CN104281906A (en) | Process engine achieving method and system in service process | |
CN102663103A (en) | Configurable method for automatically generating database and accessing data | |
CN103036855B (en) | A kind of equipment that realizes of rights management and method | |
CN103019791A (en) | Software deploying method and system | |
CN102393889A (en) | Permissions configuration management system | |
CN104573184A (en) | Construction method and construction device for high speed train product meta-model | |
CN103903086A (en) | Method and system for developing management information system based on service model driving | |
CN107436775A (en) | The method and device of business release is installed on virtual machine | |
CN103744647A (en) | Java workflow development system and method based on workflow GPD | |
CN113626128B (en) | Audio-visual media micro-service third-party module access method, system and electronic equipment | |
CN103729450A (en) | Function authority centralized management method and device | |
CN105761007A (en) | Information management software design aiding method and information management software design aiding system | |
CN106408150A (en) | Method and system of managing events of small and medium-sized banks | |
CN107181815A (en) | A kind of micro- application and micro services exchange method, micro- application and system | |
CN109343858A (en) | A kind of build a station automatically container deployment system and its working method based on server-side rendering | |
CN114691050B (en) | Cloud native storage method, device, equipment and medium based on kubernets | |
CN110532058B (en) | Management method, device and equipment of container cluster service and readable storage medium | |
CN106951593B (en) | Method and device for generating configuration file of protection measurement and control device | |
CN105933154A (en) | Management method of cloud calculation resources | |
CN103501341A (en) | Method and device for establishing Web service | |
CN102722368A (en) | Plug-in software designing method based on document tree and message pump | |
CN102567517A (en) | Device and method for issuing data of database |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180327 |