The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 08, 2019

Filed:

Sep. 30, 2016
Applicant:

Beijing Baidu Netcom Science and Technology Co., Ltd., Haidian District Beijing, CN;

Inventor:

Tianyu Wang, Haidian District Beijing, CN;

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 9/50 (2006.01); G06F 21/00 (2013.01); H04L 12/24 (2006.01); H04L 12/26 (2006.01); H04L 29/08 (2006.01); H04W 40/00 (2009.01); H04L 12/877 (2013.01); H04L 12/911 (2013.01);
U.S. Cl.
CPC ...
H04L 41/069 (2013.01); G06F 9/5033 (2013.01); G06F 9/5083 (2013.01); G06F 21/00 (2013.01); H04L 41/0654 (2013.01); H04L 43/12 (2013.01); H04L 67/1002 (2013.01); H04L 47/525 (2013.01); H04L 47/70 (2013.01); H04W 40/00 (2013.01);
Abstract

The present application discloses a method and apparatus for controlling a database connection. A specific embodiment of the method comprises: receiving an access request for a database sent by a terminal; determining whether a database connection pool comprises an idle database connection for the database; reusing the idle database connection to connect the terminal with the database if the database connection pool comprises the idle database connection for the database; and establishing a new database connection, in order to connect the terminal with the database by utilizing the new database connection if the database connection pool comprises no idle database connections. This embodiment effectively utilizes fewer database connections to support database access requests.


Find Patent Forward Citations

Loading…