Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

19 results about "Connection pool" patented technology

In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing commands on a database. Opening and maintaining a database connection for each user, especially requests made to a dynamic database-driven website application, is costly and wastes resources. In connection pooling, after a connection is created, it is placed in the pool and it is used again so that a new connection does not have to be established. If all the connections are being used, a new connection is made and is added to the pool. Connection pooling also cuts down on the amount of time a user must wait to establish a connection to the database.

A large-scale epics data archiving method based on time series database

PendingCN122285751APathPingConnection pool
This invention relates to the field of experimental data storage technology for nuclear fusion devices, and discloses a method for large-scale EPICS data archiving based on a time-series database. The method involves acquiring process variables in an event-driven acquisition mode through an embedded channel access protocol data acquisition module and writing them into buffered memory channels. Through group aggregation and batch persistence, the process variables are grouped into fixed-size groups, each group corresponding to an aggregation coroutine. The latest event data is read non-blockingly from the buffered memory channels of each group at fixed intervals. Metadata mapping is used to convert the process variable names into device paths and measurement value names in the time-series database, assembling them into a sparse wide table. Null value columns in the sparse wide table are filtered, and the data is then batch-written into a distributed time-series database through a connection pool. This invention achieves stable high-throughput writing and low-latency retrieval of large-scale experimental data in the EPICS system, and provides an efficient data access interface for subsequent artificial intelligence training and inference platforms.
Owner:HEFEI INSTITUTE OF PHYSICAL SCIENCE CHINESE ACADEMY OF SCIENCES

A general metadata operation method and system based on a graph database

The application belongs to the technical field of computers and discloses a general metadata operation method and system based on a graph database, which comprises the following steps: S1, using a configuration file yml of SpringBoot to configure to create a connection pool SessionPool of a NebulaGraph Database graph database based on a NebulaPool custom implementation, containing definitions of maxCountSession, minCountSession, hostAndPort, userName and passWord parameters; S2, defining parameter models for accepting different interfaces, including a model for creating a graph space, a model for creating a point, a model for creating an edge, a model for creating an index and a general query model; S3, using an independently developed NebulaUtil tool to automatically arrange nGQL statements for the accepted parameter models according to the input models; S4, defining different Controller layers to provide an open and unified Api interface externally; S5, using an execution service of a GraphCommonService graph database to obtain an effective connection of the NebulaGraph Database graph database from the SessionPool; and S6, executing the nGQL statements automatically arranged by the NebulaUtil tool and analyzing and returning a result model, and uniformly returning the result.
Owner:LINEWELL SOFTWARE

A data full-link abnormality monitoring and processing method and system based on intelligent operation and maintenance

PendingCN122339945AConnection poolEvent recognition
This invention relates to the field of distributed data link monitoring technology, and discloses a method and system for monitoring and handling anomalies across the entire data link based on intelligent operation and maintenance. The method includes: acquiring multi-source operation and maintenance data and performing cross-link time normalization; identifying abnormal events based on a unified operation and maintenance feature sequence; constructing a delay causal graph carrying propagation delay based on the abnormal event sequence; performing counterfactual dynamic Bayesian inference based on the delay causal graph; and executing processing actions. Compared to existing technologies that rely on static thresholds for anomaly detection, especially under conditions of slow SQL, connection pool queuing, and mutual propagation of interface latency, this invention addresses the technical problem of failing to identify cross-component anomaly propagation relationships and achieve secure closed-loop processing. By identifying counterfactual root causes through anomaly event recognition and selecting security constraint processing actions, this application achieves accurate localization of the root causes of anomalies across the entire data link, improving the accuracy of anomaly response and operational stability of the distributed data link.
Owner:BEIJING ZHIKE TECH CO LTD

Cluster scheduling components and methods applicable to isolation devices

ActiveCN115827366BResource allocationHardware monitoringData sourceConnection pool
This invention discloses a cluster scheduling component and method suitable for isolation devices, including a configuration center, a third-party database, a monitoring service module, and a liveness detection service module. The second-party database includes a data source connection pool and an interceptor. Each data source connection in the data source connection pool connects the business system to the database via its corresponding isolation device. The interceptor is connected to the data source connection pool and the isolation device, sending data obtained from the database to the business system, or sending a failure heartbeat to the monitoring service module when the isolation device is determined to be in a faulty state. The liveness detection service module connects to the test database through data source connections marked as offline and their corresponding isolation devices. When it detects that the isolation device has recovered, it sends a success heartbeat to the monitoring service. The monitoring service module modifies the configuration file in the configuration center to mark the status of each data source connection. This invention enables dynamic scheduling and management of isolation devices, improving service reliability.
Owner:STATE GRID ELECTRIC POWER RES INST

GPRC-based database service providing method and device, server and medium

Embodiments of the present application disclose a gRPC-based database service providing method and device, a server and a medium, the method comprising: starting a gRPC service by using a preset interface definition file, listening to a specified port of the gRPC service, and exposing a unified execution method for facilitating client calling; receiving input minimum connection number parameters and maximum connection number parameters, initializing a database connection pool according to the minimum connection number and the maximum connection number; obtaining an idle connection from the connection pool when the execution method is called to execute, creating a new connection if there is no idle connection and the maximum connection number has not been reached; determining a corresponding operation type parameter according to a parameter list, executing a corresponding logical branch in the execution method according to the operation type parameter; obtaining a calculation execution result of the corresponding logical branch and returning the execution result to the client; and returning the connection to the database connection pool when the execution method is executed. The database access performance and resource utilization are improved.
Owner:KYLIN CORP

Database connection pool management method, device, equipment and medium

PendingCN122285631AConnection poolPool
This application relates to the field of database management technology, and discloses a method, apparatus, device, and medium for managing a database connection pool. The method includes: matching the operational information of the database connection pool with various standard vectors stored in a target database to obtain at least one candidate standard vector that matches the operational information; the target database includes adjustment schemes and standard vectors stored in a correspondence relationship; the standard vectors are generated based on the connection configuration parameters of the database connection pool configured during operation according to the corresponding adjustment scheme; selecting the candidate adjustment scheme with the highest semantic similarity to the operational information from the candidate adjustment schemes corresponding to the candidate standard vectors as the target adjustment scheme; and adjusting the current connection configuration parameters of the database connection pool based on the target adjustment scheme. This application can improve the accuracy and timeliness of connection pool configuration adjustments.
Owner:AVATR CO LTD

A dynamic database connection pool adjustment method and system

ActiveCN119474046BDatabase management systemsHardware monitoringConnection poolConnection number
The application provides a dynamic database connection pool adjustment method and system, and relates to the technical field of computers, which comprises the following steps: collecting running state data of a target dynamic database connection pool in real time and sending the data to a configuration center; based on the received running state data of the connection pool, the configuration center determines a connection number adjustment index in combination with a current connection request of the target dynamic database connection pool; based on the connection number adjustment index, the configuration center dynamically updates the maximum connection number of the connection pool and notifies a connection pool module to update. Through the use of the configuration center to collect the running state data of the target dynamic database connection pool in real time, the combination of the connection request to calculate the connection number adjustment index, and the dynamic update of the maximum connection number of the connection pool by using the connection number adjustment index, the service capacity of the connection pool to the outside is effectively improved, and the stable operation of a business system is ensured.
Owner:HUANENG INFORMATION TECH CO LTD

An industrial edge data acquisition gateway system and implementation method

ActiveCN122027397BNetwork connectionsReliable transmissionReverse proxy
This application relates to an industrial edge data acquisition gateway system and its implementation method, solving the technical problems of poor multi-protocol compatibility, low acquisition efficiency, lack of state-adaptive scheduling, and insufficient remote security in traditional industrial data acquisition gateways. The system includes: a protocol management module, which identifies protocols and dynamically loads plugins; a data acquisition module, which reuses connection pools and performs batch acquisition at differentiated frequencies; a data processing module, which standardizes data; a data upload module, which uses binary protocol heartbeat reconnection; a status monitoring module, which predicts congestion trends, adaptively switches channels, adjusts frequencies, clears idle connections, and performs integrated uploads; and a remote management module, which provides secure access via reverse proxy long connections and distributes configurations. This application achieves the following effects: dynamic protocol expansion and efficient acquisition; an adaptive scheduling mechanism based on trend prediction effectively reduces network load; ensures real-time and reliable transmission of critical data; and significantly improves gateway stability and remote operation and maintenance security.
Owner:NINGBO WANDE HI TECH INTELLIGENT TECH CO LTD

Single-connection streaming-based virtual character multi-modal interaction method and system

PendingCN122116875ASpeech synthesisText streamConnection pool
The application discloses a kind of virtual character multi-modal interaction method and system based on single connection streaming, belong to artificial intelligence man-machine interaction field.This method is realized by establishing single long connection channel based on SSE protocol, the synchronous transmission of LLM text stream and TTS audio stream.System listens Token stream generated by LLM, when accumulated Token meets the threshold of division, trigger TTS engine to carry out segmented synthesis, and the audio slice generated is encapsulated as specific event frame, with text Token frame in the same channel is pushed in order by interleaving.Simultaneously, system combines multi-dimensional weighted intelligent routing strategy and TTS connection pool management mechanism with "on-demand creation, timeout recycling" function.The application effectively solves the problem of different word and sound in multi-modal interaction and high delay, significantly reduces the resource overhead of server, improves the immersion of interaction and system concurrent processing capacity.
Owner:HANGZHOU SHIYUXINGJING INFORMATION TECHNOLOGY CO LTD

A multi-protocol intelligent agent unified gateway system based on asynchronous programming

The application discloses a multi-protocol intelligent agent unified gateway system based on asynchronous programming, a unified service interface layer provides a standardized application programming interface as an entrance for interaction with a client, receives a task request of the client and returns a response, an asynchronous task processing layer provides a full-asynchronous event loop for managing an asynchronous connection pool, controlling a task concurrency number, scheduling asynchronous tasks and processing streaming data, a protocol adaptation layer is used for realizing bidirectional conversion between an external protocol and a unified data model inside the system, an intelligent agent management layer performs full-life cycle management on intelligent agents registered in the system, and a data persistence layer stores structured data of the system, hot spot data and semantic vectors of the intelligent agents. Through the layered asynchronous architecture and the protocol adaptation mechanism, unified access, efficient processing and unified management of multi-protocol intelligent agents are realized, and the concurrent processing capability, the expandability and the development and operation efficiency of the system are significantly improved.
Owner:TIANFU JIANGXI LAB

A high-concurrency access optimization system for an engineering machine rental platform

PendingCN122309554ACache optimizationConnection pool
This invention discloses a high-concurrency access optimization system for an engineering machinery rental platform, relating to the field of engineering machinery rental service technology. It includes an access request diversion module, a data caching optimization module, a database read / write separation module, and a resource dynamic scheduling module. Through request priority grading and load balancing, it achieves precise diversion; employs a multi-level caching architecture to improve data access efficiency; reduces database pressure based on read / write separation; and dynamically adjusts resource allocation in conjunction with real-time load. The four modules work collaboratively, enabling the platform to shorten core business response time, improve cache hit rate, and reduce database connection pool exhaustion rate under 100,000 instantaneous concurrent requests. This significantly improves the system's concurrent processing capacity, resource utilization, and operational stability, making it suitable for digital engineering machinery rental platforms of various sizes.
Owner:CHINA RAILWAY FIRST GROUP CO LTD +2

Data security processing method and device based on sensitive data identification

PendingCN122451949AQuery stringConnection pool
Embodiments of the present disclosure disclose a data security processing method and device based on sensitive data identification. A specific implementation of the method includes: connecting a target data source set obtained to generate a data source connection pool instance; generating a three-level structure data directory object according to the data source connection pool instance; sampling data of the three-level structure data directory object to generate a set of sampling query strings; generating a two-dimensional numerical feature matrix according to the data source connection pool instance and the set of sampling query strings; generating a set of sensitive marking record objects according to the two-dimensional numerical feature matrix; generating an access control policy table according to the set of sensitive marking record objects and a preset permission policy template; and in response to receiving a data access request issued by a user end, generating a secure data access result according to the access control policy table. The implementation improves the accuracy of sensitive data identification and the security of access permission control.
Owner:北京南天信安科技发展有限公司

Method for implementing large batch data decryption and encryption process pause and continue processing

PendingCN122333541AParallel computingConnection pool
This invention provides a method for resuming processing after a pause in the encryption / decryption process of large amounts of data. First, a database index containing a hierarchical directory structure is constructed based on the target task. During processing, a bottom-up strategy is used to extract the current processing directory, and after the encryption / decryption loop of a single file is closed, the synchronization status of the file count variable is updated using database transactions. Upon capturing an interrupt signal, the system detects the memory stream buffer and forces a delayed response until the current single file completes its disk write-back operation and safely releases the underlying file handle, thereby locking the processing boundary and solidifying the paused state. When the program resumes execution, a Boolean error-proofing feature bit is used to verify the data write-to-disk status and calculate the effective skip amount. By performing an index span offset operation on the file traversal sequence, already processed files are precisely skipped, and subsequent tasks continue. This invention combines memory mapping, connection pooling, and multi-process concurrency techniques to effectively solve the problems of resource congestion and progress loss during massive data processing while ensuring the integrity of single files.
Owner:CHINA THREE GORGES CORPORATION +1

Method, apparatus and device for wide area network multi-path rdma transmission

PendingCN122268741ATransmissionPathPingConnection pool
The present disclosure relates to the field of communication technology, and particularly provides a kind of wide area network-oriented multi-path RDMA transmission method, device and equipment.The above-mentioned method is applied to MP-RDMA component, comprising: in the case where receiving RDMA transmission request, establish multiple data transmission connections by intelligent connection manager;In the data transmission process, the network state information of each data transmission connection in the connection pool is obtained by network detection module;Traffic distribution strategy is generated by strategy engine based on network state information and application requirement in RDMA transmission request;RDMA traffic is encapsulated and scheduled to data transmission connection in connection pool by intelligent connection manager based on traffic distribution strategy and is carried out multi-path parallel transmission;When network detection module detects that data transmission connection appears exception, intelligent connection manager is triggered to execute connection recovery operation by fault recovery module.The problem of low efficiency and poor stability caused by high delay, dynamic congestion and single path dependence is solved.
Owner:CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1

A method for RPC connection management based on multiplexing and state decoupling

PendingCN122268925ATransmissionMultiplexingConnection pool
The application discloses a kind of RPC connection management methods based on multiplexing and state decoupling, comprising: when receiving multiple interactive mode request messages, multiple interactive mode request messages are distributed to at least one physical connection of physical connection pool, and multiple interactive mode request messages are mounted using at least one physical connection, and are sent to RPC server;RPC client applies a QID for each stateful request message, generates state information in state management layer through QID, and associates QID with its physical connection;RPC client merges stateful request messages and stateless request messages mounted by at least one physical connection, and then sends them to RPC server in batches, and then starts timer;RPC client executes corresponding business callback processing or removes information of all request messages that have timed out according to the timing of timer and the response of each request message from RPC server.
Owner:TAOS DATA