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.
CN101339559AInactive Publication Date: 2009-01-07BEIHANG UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIHANG UNIV
Publication Date
2009-01-07
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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