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

Method and device for visiting data bases

A data access and data access layer technology, applied in the direction of program control devices, electrical digital data processing, special data processing applications, etc., can solve problems such as reducing software maintainability, code redundancy development costs, and inability to replace database types. Achieve the effect of improving maintainability and reducing development costs

Inactive Publication Date: 2013-06-26
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the practice of project development, the above-mentioned database access method has the following disadvantages: only a single type of database can be accessed, and the database type cannot be changed during the software maintenance process, which reduces the maintainability of the software; When changes are required, the code must be rewritten for the changed database type, resulting in code redundancy and high development costs

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
  • Method and device for visiting data bases
  • Method and device for visiting data bases
  • Method and device for visiting data bases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions of the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] The embodiment of the present invention provides a method for database access, such as figure 1 shown, including:

[0021] S11. Establish a database configuration file, the configuration file includes a database type indication parameter, the database type indication parameter indicates a currently used database type, and each database type corresponds to a database type indication parameter.

[0022] In the embodiment of the present inve...

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 visiting data bases, and relates to the field of software development. The method is invented to improve the maintainability of software and lowering development cost. The method comprises the steps of establishing configuration files of the data bases, and visiting a corresponding data base indicated by a data base type indicating parameter according to the configuration files, wherein the configuration files comprise data base type indicating parameters, the data base type indicating parameters indicate the type of a currently used data base, and each data base type corresponds to a data base type indicating parameter. The invention further provides a device for visiting the data bases. The method and the device are used for visiting the data bases.

Description

technical field [0001] The invention relates to the field of software development, in particular to a method and device for database access. Background technique [0002] The three-tier structure of .net includes presentation layer (USL, User Show Layer), business logic layer (BLL, Business Logic Layer) and data access layer (DAL, Data Access Layer). Among them, the presentation layer is mainly to accept user requests and return data, and provide the client with access to the application program; the business logic layer is mainly responsible for the operation of the data layer, that is, to combine some operations of the data layer; the data access layer is mainly for the The operation layer operates on raw data stored in the form of databases or text files, and provides data services for the business logic layer or presentation layer. [0003] In the .net development process, when the business logic layer involves access to the database, it is necessary to call the data ac...

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 PEKING UNIV FOUNDER 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