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

A connection pool management method and device

A management method and connection pool technology, applied in transmission systems, electrical components, etc., can solve problems such as occupying server resources

Active Publication Date: 2020-12-25
WUHAN CITMS TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a connection pool management method and device, which are used to alleviate the technical problem that the existing connection pool recovery method needs to wait for the recovery of the connection when the terminal is offline, which leads to the occupation of server resources.

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
  • A connection pool management method and device
  • A connection pool management method and device
  • A connection pool management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0028] see figure 1 , figure 1 The scene schematic diagram of the intelligent transportation system provided by the embodiment of the present application, the system may include a terminal and a server connected and communicated through a SIP (Session Initiation Protocol, Session Initiation Protocol) gateway, no further details are given, wherein the terminal includes a front-end device 11, etc., and the server Including data server 12 and communication server, figure 1 ...

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 present application provides a connection pool management method and device. After receiving a task execution request, the connection pool management method takes out an idle connection from the connection pool so that the connection between the data server and the terminal is an occupied connection, so that the data server and the terminal can be connected. Interact and at the same time, detect the running status of the terminal. When the terminal is in the disconnected state, the data server does not need to wait for the completion of the task execution, so that the data server can determine the historical time characteristic data according to the historical time interval, and determine the Preset time interval, after the preset time interval, the occupied connection is recovered, so that when the terminal is disconnected, there is no need to occupy the resources of the data server to wait for the task to be completed, and the occupied connection can be directly recovered after the preset time interval, reducing the Occupation of server resources.

Description

technical field [0001] The present application relates to the technical field of intelligent transportation, in particular to a connection pool management method and device. Background technique [0002] In the process of interaction between the terminal and the server, the terminal needs to be connected to the server. In order to reduce the resource occupation of the server, a connection pool will be set up. When the terminal is connected to the server, the connection is directly extracted from the connection pool to connect the server to the terminal. , after the task of the terminal is executed, the connection is withdrawn. However, during the interaction between the terminal and the server, the terminal may be disconnected. At this time, the task needs to be continued, and the resource of the server needs to be occupied to wait for the task to be completed. Finally, take back the connection. In the field of smart transportation, if the camera data of a city or an adminis...

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 Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/143H04L67/12H04L67/54
Inventor 张凯
Owner WUHAN CITMS TECH CO LTD