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

Database persistent layer device and database operation method

A database and persistent layer technology, applied in the direction of program control devices, electrical digital data processing, special data processing applications, etc., can solve the problems of heavy workload for design developers and low design and development efficiency, so as to improve development efficiency and reduce work Quantity, the effect of simple design process

Active Publication Date: 2013-04-17
CHINA MOBILE COMM GRP CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0026] The embodiment of the present invention provides a database persistence layer generation device and method, which are used to solve the problems of heavy workload of design developers and low design and development efficiency existing in the existing database persistence layer architecture

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
  • Database persistent layer device and database operation method
  • Database persistent layer device and database operation method
  • Database persistent layer device and database operation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The specific implementation manners of a database persistence layer device and a data operation method provided by the embodiments of the present invention will be described below with reference to the drawings in the description.

[0048] A database persistence layer device provided by an embodiment of the present invention, such as Figure 4 shown, including:

[0049] The graphic entity domain module 401 is used to provide a graphic entity editing environment, and receive design instructions for data objects expressed in graphic entity form input by users in the graphic entity editing environment, compile the data objects designed by the user, and generate corresponding graphics meta description file;

[0050]The primitive code mapping and code generation domain module 402 is used to analyze the primitive description file generated by the primitive domain module, and generate corresponding simple Java objects (POJO) and data access objects (DAO);

[0051] The databa...

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

An embodiment of the invention provides a database persistent layer device and a database operation method. The database persistent layer device comprises a pixel domain module, a pixel code mapping and code generating domain module and a database domain module, wherein the pixel domain module is used for providing a pixel editing environment, receiving design instructions on data objects represented in pixel form and input into the pixel editing environment by users and editing the data objects designed by the users to generate corresponding pixel describe files; the pixel code mapping and code generating domain module is used for analyzing the pixel describe files generated by the pixel domain module to generate corresponding plain old java object (POJO) and data access object (DAO); and the database domain module is used for mapping the generated POJO into a database table in the database and performing operation on the database table in the database and data members of the database table according to the generated DAO. By means of the embodiment of the data persistent layer device and the database operation method, automatic generation of data of the POJO and the DAO in a persistence layer can be achieved in the application program design, so that work amount of the persistence layer in the application program database is greatly reducd, and development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a database persistence layer device and a data operation method. Background technique [0002] In application programming, the architectural design of the database persistence layer undergoes constant changes. [0003] The initial database persistence layer allows upper-layer applications to directly communicate with the underlying database using an interface similar to Java Data Base Connection (JDBC), such as figure 1 It shows that Structured Query Language (Structured Query Language, SQL) codes appear everywhere in the program codes of the business layer, which has the advantage of high code execution efficiency, which is feasible for small applications or prototypes. Its major disadvantage is that business logic is tightly coupled with data operations, which means that any change (such as renaming a column of a certain database table or porting to another databa...

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 Applications(China)
IPC IPC(8): G06F9/44G06F17/30
Inventor 王磊建孔令军刘涛刘岩
Owner CHINA MOBILE COMM GRP CO LTD
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