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.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2009-01-07
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
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...
Examples
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...