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

Database configuration file encapsulation method and operation method as well as operation device thereof

A technology of configuration files and encapsulation methods, applied in database management systems, electronic digital data processing, structured data retrieval, etc., can solve the problems of high repeatability and complicated operation, achieve fast operation, ensure accuracy, and avoid misoperation Effect

Active Publication Date: 2014-06-11
SHANGHAI CTRIP COMMERCE CO LTD
View PDF4 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a database configuration file encapsulation method and operation method and its operating device in order to overcome the complex and repeatable operations related to database data access in the prior art. At that time, you only need to configure a simple configuration file in XML format to achieve the purpose of fast database operation

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 configuration file encapsulation method and operation method as well as operation device thereof
  • Database configuration file encapsulation method and operation method as well as operation device thereof
  • Database configuration file encapsulation method and operation method as well as operation device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.

[0055] The core idea of ​​the present invention is to establish the mapping between the entity in the application program and the database through the configuration file, and use the database operation device to call different basic operation methods for different databases, and automatically splice out related operation code statements. Perform database operations.

[0056] For the specific implementation of the present invention, please refer to the appended figure 1 , the database operating device in this embodiment includes a server 1 and two databases 2 . Described database 2 can be databases such as SQLServer, ACCESS or MySql. The server 1 includes a user operation interface 11 , a data operation module 12 , a data mapping module 13 , a database operation interface 14 , two database operation modules 15 and a memory 16...

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 database configuration file encapsulation method and an operation method as well as an operation device thereof. The encapsulation method comprises the following steps that the types and the connection character strings of one or a plurality of databases are obtained; entities are obtained from one or a plurality of applications, and in addition, the relationship between the attribute of each entity and the data table of each database is determined; the types and the connection character strings of the databases, and the relationship between the attribute of each entity and the data table of each database are encapsulated in one configuration file. The invention also discloses the operation method using the configuration file, and the operation device using the configuration file and the operation method. The encapsulation method, the operation method and the operation device have the advantages that through the configuration file, in the coding process, the operation on the databases is respectively carried out in an object mode, and the database operation method is simplified, so the development efficiency is improved, and the software development cost and the operation and maintenance cost are reduced.

Description

technical field [0001] The invention relates to a method for encapsulating and operating a configuration file of a database and an operating device thereof, in particular to a method for encapsulating a configuration file of a database in the field of electronic commerce, an operating method and an operating device thereof. Background technique [0002] With the rapid development of computer technology, the Internet has become a part of people's lives, and the development of e-commerce is also changing with each passing day and becoming more and more prosperous. Data access is an indispensable part of e-commerce, such as product information, user information, transaction information, etc., all require data access. Most of the e-commerce applications now use databases to store data in the development process, but the development of data access is based on a relatively primitive model, combining the underlying databases of different frameworks for various data that need to be ...

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
CPCG06F16/25
Inventor 李伟
Owner SHANGHAI CTRIP COMMERCE 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