Database quick reading method

A database and fast technology, applied in the database field, can solve the problems of large database access, error-prone, heavy workload, etc., and achieve the effects of avoiding errors, improving compatibility and reliability, and improving development efficiency

Active Publication Date: 2018-02-02
BEIJING KUWO TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Obviously, today, when frequent interaction with the database is required and frequent reading / storage of data is required, the workload of accessing the database is very heavy. Programmers tediously write SQL statements, which not only has a heavy workload, but also easily leads to errors. Further reasonable optimization

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 quick reading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0076] Such as figure 1 As shown, the database fast reading method of the present invention comprises the following steps:

[0077] The operations related to database reading and writing are divided into four processing levels, which are as follows:

[0078] The data type analysis layer, in this layer, completes the following processing:

[0079] type analysis of variables in classes,

[0080] The type analysis of variables in the parameters generates a variable type and database type mapping table,

[0081] The object data layout layer, in this layer, completes the following processing:

[0082] Establish variable type and database type mapping,

[0083] Generate variable type and variable data mapping table,

[0084] The necessary information to build a database table,

[0085] The SQL statement generation layer, in this layer, completes the followin...

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 relates to a database quick reading method. Operation involving database reading / writing is divided into four processing layers, which are a data type analysis layer, an object data layout layer, an SQL statement generation layer and a database operation layer in sequence; the data type analysis layer is used for performing type analysis of a variable in a class, performing type analysis of a variable in a parameter, and generating a variable type and database type mapping table; the object data layout layer is used for establishing variable type and database type mapping, generating a variable type and variable data mapping table, and constructing required information of a database table; the SQL statement generation layer is used for expanding the class into a database model, generating a database expansion model and generating an SQL statement according to the database model or the database expansion model; and the database operation layer is used for executing corresponding operation according to the generated SQL statement and feeding back an executive result. A corresponding processing task is set according to the operation; the operation is standardized and processized; a standardized module with high universality is formed; the compatibility and reliability of an algorithm are improved; and debugging and maintenance are facilitated.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a fast database reading method. Background technique [0002] With the development of database technology, various demands continue to emerge, constantly urging further technological innovation and upgrading. In program development, programmers sometimes encounter the following situations: [0003] When working in the company, sometimes the daytime work is not finished, and the programmer will take the work home and continue to work overtime at night. However, the company's supporting development database for program development is usually a physical database, which is deployed on the development support server. The development support server is a server inside the company's LAN, and the normal operation of the server depends on the development support server. Database for development. Since working overtime at home cannot access the company's LAN, it cannot connect to the d...

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
CPCG06F16/217G06F16/22G06F16/2433G06F16/25
Inventor 邱扬
Owner BEIJING KUWO TECH
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