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

Configurable method for automatically generating database and accessing data

A data access and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems that it is difficult to avoid large-scale changes in the database operation, so as to improve scalability and maintainability, and simplify the development process , the effect of saving development time

Active Publication Date: 2015-03-04
BEIJING YUCHEN SHIMEI SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Model-driven architecture MDA is a relatively popular architecture, which can realize the conversion from model to target code, but this method is also difficult to avoid operations caused by large changes in the database
[0008] It can be seen that the current persistence technology and model-driven architecture are difficult to meet the fast update of data attributes, ensure simple and effective operation, and ensure scalability and maintainability

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
  • Configurable method for automatically generating database and accessing data
  • Configurable method for automatically generating database and accessing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described in detail below with reference to the drawings and specific embodiments.

[0025] The purpose of the present invention is to propose a configurable method for automatically generating database and data access. Through the present invention, the development process of the system can be made more automated. With the continuous change of business requirements, the system can adapt to changes and avoid a large number of configurations. The use of files and a large number of manual coding processes improve the development efficiency, scalability and maintainability of the system, and reduce the development cost of the system.

[0026] figure 1 Shown is the flow diagram of the configurable automatic database generation and data access method, including:

[0027] Step 1: Analyze the business requirements of the system, use a modeling tool such as Rational Rose to model the analyzed class, and mark the class name, class accessibility, cl...

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 discloses a configurable method for automatically generating a database and accessing data. The configurable method includes converting a UML (unified modeling language) class image designed in a business requirement analysis stage into an XML (extensible markup language) file; generating metadata information by means of analyzing and reading the XML file; selecting a used database and used business processing language by means of selecting a configuration file by a user; generating a database template, an entity class template and a data access class template; and generating a database, an entity class and a data access class of a system by the aid of a generator of the system according to the metadata information and the generated templates. The metadata information includes basic attributes including the accessibility, the name and the type of an object. By the aid of the configurable method, the UML class image is converted to the database, the entity class, the data access class and the like, accordingly, the database and a data access layer can adapt to change of the object and change of the attributes of the object, when the type of the database and the business processing language are changed, only the design of the UML class image needs to be modified to regenerate a database and a data access layer, and extensibility and maintainability of the system are improved.

Description

Technical field [0001] The present invention relates to the field of computer application technology, in particular to a configurable method for automatically generating a database and data access. Background technique [0002] The development process of the existing computer application system includes business requirement analysis, database design, detailed design to development and maintenance. Among them, UML modeling, designing databases, designing entity classes, and writing data access layer are essential. In this process, there are the following problems: [0003] 1. System scale. With the complexity and huge amount of data, the number of entity classes and class attributes in the system will greatly increase. If you manually write entity classes and data access classes, it will be time-consuming and energy-consuming. [0004] 2. Data attribute update. With more and more data in the enterprise, the data structure changes, which directly leads to changes in the model and ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 何泾沙张玉强霍晓珍徐晶
Owner BEIJING YUCHEN SHIMEI SCI & TECH
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