Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

High-concurrency database access method, system and equipment based on thread pool

An access method and database technology, applied in the field of high concurrent access to the database, can solve problems such as slow server response and crash, achieve high efficiency and low time efficiency, reduce memory consumption, and solve the effect of low time efficiency

Pending Publication Date: 2021-11-30
XIAN THERMAL POWER RES INST CO LTD +2
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the problem that the server responds slowly or even crashes when a large number of processes request to access the database at the same time in the system in the prior art, the present invention provides a high-concurrency database access method, system and device based on a thread pool, through which threads can be conveniently managed , can also reduce memory consumption, and take measures such as thread pool control system access to the database to alleviate the system load pressure caused by excessive memory resources occupied by multiple application processes accessing the database at the same time, thereby achieving fast and high concurrent access to the database

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
  • High-concurrency database access method, system and equipment based on thread pool
  • High-concurrency database access method, system and equipment based on thread pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0038] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 invention provides a high-concurrency database access method, system and equipment based on a thread pool, and the method comprises the steps: monitoring a database access request initiated by other threads in the system through a main thread, transmitting a signal instruction to a management thread after receiving the request, and carrying out the wake-up operation of the management thread; and after receiving the signal, enabling the management thread to check whether the task queue of the request thread is idle or not to execute the access of the database in different modes, so that the problem that a server responds slowly and even crashes when a large number of request threads request to access the database at the same time is avoided. By increasing the concurrent access number of the database and managing the threads through the thread pool, the consumption of a memory can be reduced, and the system load pressure caused by the fact that multiple processes access the database at the same time and occupy too many computer resources is relieved. The thread pool technology is adopted to solve the problem that the database timeliness is low when multiple processes are simultaneously carried out in the system, and the stability of high-concurrency database access is improved. Therefore, rapid and high-concurrency access to the database is realized.

Description

technical field [0001] The invention belongs to the processing of DCS transmission data, mainly relates to the field of high-concurrency access databases, and specifically relates to a thread pool-based high-concurrency database access method, system and equipment. Background technique [0002] In the upper computer part of the distributed control system (DCS), multiple upper computer software, that is, multiple processes, are usually run at the same time, and multiple processes in the upper computer usually initiate data access requests to the database at the same time. However, when a large number of host computer processes simultaneously request to access the database in the system, it may cause the database server to respond slowly or even crash. In addition, when there are a large number of processes in the system requesting access to the database at the same time, it may cause the processes to be suspended and suspended after system scheduling, and the subsequent proce...

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
IPC IPC(8): G06F9/48G06F9/54G06F16/25
CPCG06F9/4881G06F9/546G06F16/25G06F2209/548
Inventor 舒印彪刘畅贾泽冰陈丰程阳李辉王利国陈江冯震震
Owner XIAN THERMAL POWER RES INST 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
Eureka Blog
Learn More
PatSnap group products