Database operation method and device

An operation method and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as difficult memory splicing of connection strings, poor fault tolerance performance, difficult code maintenance, etc., so as to facilitate the expansion of database functions , reduce work intensity and pressure, and facilitate code maintenance

Active Publication Date: 2012-02-08
罗陈慧
View PDF12 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1) Programmers need to be familiar with and understand the complex ADO architecture, class structure, objects and methods. If programmers are not familiar with it, they will not be able to develop database-related programs;
[0012] 2) When developing database functions, most of the steps of operating the database are repeated, the code reusability is poor, and the code written is highly repetitive;
[0013] 3) When using ADO to operate the database, if you need to splice SQL statements, the code is difficult to maintain when the complexity of the statement is high, or you can only rely on writing views or stored procedures;
[0014] 4) A page can only allow one recordset (Recordset) to remain open;
[0015] 5) Programmers pay too much attention to the development of ADO and disperse the thinking of business logic;
[0016] 6) During the development process, it is easy to ignore the closing

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 operation method and device
  • Database operation method and device
  • Database operation method and device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0050] like figure 2 As shown, the database operation device of the present invention realizes the core idea of ​​the database operation method, including:

[0051] 201. Applying the database materialization unit, performing materialization processing on the database, and converting it into an entity object;

[0052] 202. Apply the database operation encapsulation unit, encapsulate various entity object operation methods, and generate the core library BaseDB class;

[0053] 203. Apply the database operation execution unit to execute the corresponding database operation by invoking the BaseDB class operation entity object.

[0054] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but...

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 database operation method and device. The method comprises the following steps of: carrying out hypostatization processing on a database and converting into entity objects; generating a core Base DB type by using an operation method of packaging various entity objects; and operating the entity objects to execute corresponding database operation through calling the core Base DB type. Through the operation method of hypostatizing the database and packaging the entity objects, the entity objects are operated through packaging a core base, thus database operation is more transparent, and a programmer pays more attention to processing of data entity objects and service logic but not the problem of a database structure; the operation channels of the database is unified,and the reusability, the safety and the stability of the program are improved; after the environment of the database is changed, modifying connection parameters of the entire database searched by a software project is not needed, and all database operation can be modified by only modifying one code segment, thus, code maintenance and database function expansion are convenient.

Description

technical field [0001] The invention relates to the technical field of computer databases, in particular to a database operation method and device. Background technique [0002] Database (Database, DB) is a warehouse that organizes, stores and manages data according to the data structure. With the development of information technology and market, data management is no longer just storing and managing data, but has transformed into various data management methods required by users. [0003] With the widespread application of application development methods based on C / S (client / server architecture) and B / S (browser / server architecture), database operations have occupied more development cycles in technology development. The database operation during development has directly affected the performance, security and stability of the system. [0004] Such as figure 1 As shown, usually the operation steps of the database in application development are: [0005] 101. Directly ref...

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
IPC IPC(8): G06F17/30
Inventor 陈小兵
Owner 罗陈慧
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products