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

Long lasting implementing method for data

An implementation method and persistent technology, applied in the field of data processing, can solve the problems of large coding workload, adverse impact on development efficiency, difficult management, etc., and achieve the effect of secure data access service, reducing application development volume, and improving development efficiency.

Inactive Publication Date: 2009-01-07
BEIHANG UNIV
View PDF0 Cites 74 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] First, the coding workload is heavy and there are many repetitive tasks
There are many common operations in data persistence operations, such as CRUD operations. If you write CRUD operations for data access for each business entity, not only the workload is heavy but the efficiency is low
[0007] Second, the hard-coded DAO method cannot adapt well to changes in the relational model
When the relational model changes, the code needs to be manually modified and retested, resulting in a high possibility of coding errors
[0008] Third, when new data resources need to be introduced, a separate data access class must be written for this new data, and the code cannot be reused
[0009] In addition, the Hibernate method is often used in the current persistence technology, but this method needs to save configuration files for each object model to map to the relational model. For large-scale enterprise applications, the number of configuration files is large and difficult to manage
[0010] Therefore, the current persistence technology is difficult to meet the application requirements of a wide variety of data and frequent data updates, and cannot provide a unified data access interface, which has an adverse effect on development efficiency and will reduce the overall scalability and maintainability of the system.

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
  • Long lasting implementing method for data
  • Long lasting implementing method for data
  • Long lasting implementing method for data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0032] The purpose of the present invention is to propose a method for implementing data persistence. Through the present invention, the persistence operation of data can adapt to changes in the object data model and relational data model, so that a large number of configuration files are no longer required to maintain the object data model. The mapping between relational data models improves the efficiency of persistent operations, realizes the effective separation of data logic and business logic, and improves the scalability of the system.

[0033] A method for implementing data persistence in the present invention, such as figure 1 shown, including the following steps:

[0034] Step 1: Analyze the specific business requirements, list the entities in it and the information and information types that should be included, build a database based on the listed...

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 realizing data persistence. A table corresponding to business entity class is constructed in a database. The field information of the business entity class is obtained by using a reflection database API, thus constructing corresponding SQL sentences. After an instantiation application layer transmits data access categories corresponding to parameters and uses the reflection database to activate access methods in the parameters, the value of the field is assigned to the corresponding SQL sentences, after the implementation, the invocation is completed. The method for realizing data persistence provided by the invention can ensure that the persistence operation of the data can be adaptive to the change of an object data model and a relational data model and a large number of configuration files are no longer needed to maintain the mapping of the object data model and the relational data model. The method for realizing data persistence provides an unified data access interface, does not need to bind the specific business logic and the data proposal and can be multiplexed in other systems, thus improving the development efficiency of the persistence layer, realizing the effective separation of the data logic and the business logic and increasing the scalability of a system.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method for realizing data persistence. Background technique [0002] With the development of enterprises, there are more and more types of enterprise data and the data structure changes rapidly. The data itself usually has the following characteristics: (1) There are many types of data resources and various access methods, and it is increasingly necessary to operate a large amount of heterogeneous data, and various new data will be generated at any time; (2) the data resources contain The attributes of will be updated at any time, and the contained information will be modified at any time according to business needs. How to manage these diverse and volatile data in a unified and efficient manner is an urgent problem to be solved in the implementation of the enterprise data persistence layer. [0003] Ruby on Rails (ROR) is a Ruby framework for Internet applications that support...

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): G06F17/30
Inventor 余丹徐帆叶钢李先军马世龙
Owner BEIHANG UNIV
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