Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for dynamically generating databases on basis of template engines

A technology of dynamic generation and template engine, which is applied in the computer field, can solve problems such as increasing data volume, spending a lot of time on database operation interface code, and incomplete handover of operation interface, so as to improve development efficiency, achieve consistent operation, and improve flexibility Effect

Inactive Publication Date: 2017-06-13
王洋
View PDF5 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) In the case of a large amount of data, the amount of data involved in database table creation operations, data storage and query operations will also increase
[0006] (2) When the amount of data is uncertain or the amount of data often needs to be modified, developers need to spend a lot of time on modifying the database operation interface code
[0008] (4) When the amount of user data changes, developers need to re-modify the data processing and database operation codes, which directly reduces the user experience and the workload of developers
[0010] (1) Dynamic data operation, data volume and database tables are dynamically updated, but operations such as database storage and query still need to be modified separately. In other words, the data model and data operation methods are still not unified, and database-related operations still need to be specific to specific data Model
[0011] (2) The final operation interface has not been completely handed over to the user end. Once the user updates the data volume, the developer still needs to make corresponding modifications, and the user cannot completely operate the database independently

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for dynamically generating databases on basis of template engines
  • Method for dynamically generating databases on basis of template engines
  • Method for dynamically generating databases on basis of template engines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to better clearly express the technical solution of the present invention, the present invention will be further described below in conjunction with the accompanying drawings.

[0044] The technical solution of the present invention provides a method for dynamically generating, storing, and operating a database based on a template engine. The technical problems to be solved are: how to dynamically generate, store, and query a database; how to build a unified model for data, and execute a unified operation. The invention solves the unification of data models and the operation methods of dynamic generation, storage and query of database through the combination of configuration file, template engine, interface and polymorphism, self-compilation and reflection, data conversion, database interface and other technologies.

[0045] The conceptual nouns and some technical processes involved in the technical solution of the present invention are explained and defined be...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for dynamically generating databases on the basis of template engines. The method is characterized by comprising parsing and packaging configuration information in configuration files to generate data information; dynamically creating the databases and database tables on the basis of the data information; transmitting the data information to data model templates and generating class files under the effects of the template engines; creating class objects on the basis of the class files and forcibly converting object types into interface types; designing operation interfaces of the databases by the aid of the data model templates and creating operation processes according to the interface types so as to operate the databases. The operation processes are used for invoking the operation interfaces. The method has the advantages that database generation, storage and inquiry can be unified and facilitated, and requirements on storing diversified data can be met.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for dynamically generating a database based on a template engine. Background technique [0002] Database technology was born in the late 1960s and early 1970s. Its main purpose is to effectively manage and access a large number of data resources. Database technology mainly studies how to store, use and manage data. Over the past few years, the development of database technology and computer network technology have mutually infiltrated and promoted each other, and have become two fields with rapid development and wide application in today's computer field. Database technology is not only applied to transaction processing, but also further applied to information retrieval, artificial intelligence, expert system, big data and other fields. Mainstream database systems include MySQL, MariaDB, MongoDB, HBase, Microsoft SQLServer, Oracle, DB2, etc. [0003] A database inte...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 王洋叶周
Owner 王洋
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products