Unlock instant, AI-driven research and patent intelligence for your innovation.

Access method and device of database

An access method and data access layer technology, applied in database distribution/replication, electronic digital data processing, structured data retrieval, etc., can solve problems such as low efficiency of database access, time-consuming creation process, error-prone database access statements, etc. Achieve the effect of improving access efficiency

Inactive Publication Date: 2014-11-26
GUANGZHOU HUADUO NETWORK TECH
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since manually created database access statements are prone to errors, and the creation process is time-consuming, resulting in low database access efficiency

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
  • Access method and device of database
  • Access method and device of database
  • Access method and device of database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0065] At present, when accessing a database, database accessing statements need to be created manually, which makes the database accessing efficiency low. Therefore, an embodiment of the present invention provides a method for accessing a database. This method utilizes ORM (Object Relationship Mapping, object-relational mapping) to access the database. ORM maps the data tables in the database to the entity classes in the object-oriented system, so that each record in the data table corresponds to an object in the entity class; Therefore, the database can be accessed in an object-oriented manner without paying attention to issues such as database connection, concurrency, and transactions, thereby improving the access efficiency of the d...

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 an access method and device of a database, and belongs to the field of the information technology. The access method comprises the steps that an entity class built according to data list metadata corresponding to at least one data list is obtained, and each record in the data list corresponds to an object in the entity class; a database access sentence is generated according to the entity class; the database is accessed according to the database access sentence, and the access result is obtained. According to the access method and device of the database, the entity class built according to the data list metadata corresponding to at least one data list is obtained, the database is accessed according to the database access sentence generated according to the entity class, and the access result is obtained. As each record in the data list corresponds to the object in the entity class, the database can be accessed in an object-oriented mode, the problems of connection, cocurrency and issues of the database do not need attention, the database access sentence is generated automatically, and the access efficiency of the database is improved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a database access method and device. Background technique [0002] With the continuous development of information technology, the amount of data increases rapidly, which makes the scale of the database larger and larger. By accessing the database, operations such as adding, deleting, changing, and querying the data in the database can be performed, thereby managing the data in the database. Therefore, how to access the database quickly and efficiently has become a concern of people. [0003] At present, when accessing the database, the database is connected through the database API (Application Programming Interface, application programming interface); the database access statement is manually created; the database is accessed through the database API according to the database access statement, and the access result is obtained. [0004] In the process of realizing the pre...

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/27
Inventor 黄伟
Owner GUANGZHOU HUADUO NETWORK TECH