Database connection management method and system

A connection management and database technology, applied in the field of database connection management methods and systems, can solve the problems of low application request response efficiency and large network data transmission in the client, and achieve the effects of improving response efficiency and simplifying the data transmission process.

Active Publication Date: 2014-09-24
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing database connection management method, the client and the server to which the database belongs perform data interaction through the connection pool, that is, the application request in the client and the response result of the application request in the server need to be transferred through the connection pool, and the network data transmission is relatively large. Inefficient response to application requests in the client

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 connection management method and system
  • Database connection management method and system
  • Database connection management method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The embodiments of the present invention will be described in more detail and complete below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. In addition, it should be noted that, for the convenience of description, only the part related to the embodiment of the present invention is shown in the drawings but not the whole content.

[0020] figure 1 It is an implementation flowchart of the database connection management method provided in an embodiment of the present invention, and the implementation process includes:

[0021] Step 11. When the connection management device receives a connection request from the client, allocate an available connection to the database for the connection request, and send information on the available connection to the da...

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 embodiment of the invention relates to the technical field of application, in particular to a database connection management method and system. The method comprises the following steps: when a connection management device receives a connection request from a client, allocating available connection of a database to the connection request, and transmitting information about the available connection of the database to the client, wherein the information about the available connection of the database comprises the address of a server-side to which the database belongs; establishing a connection between the client and the server-side to which the database belongs according to the address of the server-side to which the database belongs; transmitting an application request to the server-side to which the database belongs by the client through the connection, and receiving a response result of the application request returned by the server-side to which the database belongs through the connection. By adopting the method, the response efficiency of the application request in the client can be increased effectively.

Description

technical field [0001] The embodiments of the present invention relate to the field of application technology, and in particular to a database connection management method and system. Background technique [0002] The application program and the database are connected through the middleware of the database connection pool. Specifically, by establishing a database connection pool and a set of connection usage, allocation and management strategies, the connections in the connection pool can be reused efficiently and safely, avoiding the overhead of frequent establishment and closure of database connections. [0003] In the existing database connection management method, the connection pool manages the connection relationship between the server and the client to which the database belongs. After the client establishes a connection relationship with the server to which the database belongs, the client sends an application request to the server through the connection pool, the s...

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/21
Inventor 马丽伟秦波赵晓平唐超王锋
Owner BEIJING JINGDONG SHANGKE INFORMATION 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
Try Eureka
PatSnap group products