A database access method and system
An access method and database technology, applied in database management systems, structured data retrieval, electronic digital data processing, etc., can solve problems such as lack of effective management, complex database environment, etc., and achieve the effect of simplifying development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] figure 1 is an overall architecture diagram of the system of the embodiment of the present invention; figure 2 is an architecture diagram of the proxy driver of the embodiment of the present invention; image 3 It is an implementation architecture diagram of the database proxy server in the embodiment of the present invention. Such as Figure 1 to Figure 3 As shown, the embodiment of the present invention consists of two parts: database proxy service and database proxy driver.
[0063] The database proxy service is used to provide adaptation services for a variety of different databases, provide an SQL execution environment, and also provide support for the database proxy JDBC driver.
[0064] The database agent JDBC driver is a standard implementation of the JDBC interface, and is a programming access mode provided by the embodiment of the present invention. After the application program APP introduces the driver program, it can access various data sources accesse...
Embodiment 2
[0151] Figure 4 It is a flow chart of the method of the embodiment of the present invention. Such as Figure 4 As shown, the method includes the following steps:
[0152] S110: The database proxy driver receives the Java database connection JDBC application programming interface API instruction for accessing the target database from the application program, converts the JDBCAPI instruction into an http message based on the conversion relationship mapping table of the JDBC API instruction and the http message, and converts the http message Sent to the database proxy service;
[0153] S120: The database proxy service receives the http message, converts the http message into the JDBC API instruction of the driver package of the target database based on the conversion relationship mapping table of the JDBC API instruction and the http message, and implements the target according to the JDBC API instruction of the driver package of the target database database access.
[0154]...
Embodiment 3
[0186] This embodiment provides a database access system, which includes:
[0187] The client device is used to receive the Java database connection JDBC application programming interface API instruction for accessing the target database from the application program, based on the conversion relationship mapping table of the JDBC API instruction and the http message, the JDBC API instruction is converted into an http message, and the http message is converted into the http message. The message is sent to the server;
[0188] The server is used to receive the above http message, convert the http message into the JDBC API instruction of the driver package of the target database based on the conversion relationship mapping table of the JDBC API instruction and the http message, and implement the target according to the JDBC API instruction of the driver package of the target database database access.
[0189] In some embodiments, the server is connected to various databases, and ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


