Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Database access method, device and equipment and readable storage medium

An access method and database technology, applied in the fields of database access methods, equipment, readable storage media, and devices, can solve the problems of being prone to errors and low access efficiency, and achieve the goal of avoiding repeated modifications, reducing development workload, and improving access efficiency. Effect

Inactive Publication Date: 2021-08-13
SHENZHEN ZHUIYI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, if you need to add table fields, you need to add correspondingly in the configuration file, and the access logic also needs to be modified accordingly. In this way, there are a lot of repeated operations and are prone to errors, and the access efficiency is also low

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 access method, device and equipment and readable storage medium
  • Database access method, device and equipment and readable storage medium
  • Database access method, device and equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Utilizing the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] At present, when the database is divided into databases and tables, the corresponding configuration files specify the database name and / or table name, so when accessing the database such as addition, deletion, modification, etc., it is necessary to specify the specific database name and / or table name for operation . And when the library name and / or table name is modified, the configuration file needs to be modified accordingly. For example, if you need to add table fields, y...

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 access method, device and equipment and a readable storage medium. According to the method and the device, the target component can automatically complement the library name and / or the table name for the access request, so various types of access requests do not need to specify specific library names and / or table names and can be completed by using general logic, the method and the device have universality, and the development workload is also reduced. Meanwhile, a library name and / or a table name are / is not specified in the configuration file, when the library name and / or the table name in the database are / is modified, the configuration file does not need to be modified, and repeated modification of the configuration file is avoided. The master database and the slave database are further arranged, so that the write operation accesses the master database, the read operation accesses the slave database, the write operation and the read operation can be prevented from competing for computer resources, and the database access efficiency is improved. Correspondingly, the invention provides a database access device and equipment and a readable storage medium, which also have the above technical effects.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a database access method, device, equipment and readable storage medium. Background technique [0002] At present, when the database is divided into databases and tables, the corresponding configuration file specifies the database name and / or table name, so it is necessary to specify the specific database name and / or table name in the access logic to operate. And when the library name and / or table name is modified, the configuration file needs to be modified accordingly. For example, if a table field needs to be added, it needs to be added in the configuration file accordingly, and the access logic also needs to be modified accordingly. In this way, there are a lot of repeated operations, which are prone to errors and the access efficiency is also low. [0003] Therefore, how to improve database access efficiency is a problem to be solved by those skilled in the art....

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): G06F16/25
CPCG06F16/252
Inventor 陈家涛常向月刘云峰
Owner SHENZHEN ZHUIYI TECH CO LTD
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
Eureka Blog
Learn More
PatSnap group products