Database writing system and database writing method

A writing system and data writing technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as network performance bottlenecks, costs, hardware constraints, etc., and achieve the effect of reducing thread blocking and high availability

Inactive Publication Date: 2012-08-01
杭州闪亮科技有限公司
View PDF3 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, with the development of software technology and the extensive use of database technology, the real-time requirements are getting higher and higher. At this time, high requirements are put forward for the efficiency of the software system in accessing the database. cause a lot of pressure
Especially with the development of network technology, in the current WEB2.0 system based on the J2EE (Java 2 Platform, Enterprise Edition) platform, databases are generally required as storage media. When entering, there will often be performance bottlenecks caused by IO, CPU, netwo

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 writing system and database writing method
  • Database writing system and database writing method
  • Database writing system and database writing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0042] figure 1 It is a system structure diagram of a database writing system of the present invention. Such as figure 1 As shown, a database writing system of the present invention adopts multithreading technology and at least includes: a control module 101, a thread pool 102, a cache module 103, a timing scanning module 104, an asynchronous message processing module 105, and a database 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 invention discloses a database writing system and a database writing method. The system at least comprises a control module, a thread pool, a buffer memory module, a timing scanning module and an asynchronous information processing module. The control module is used for recording writing requests into subtask queues of the tread pool when receiving the writing requests, writing task data into the buffer memory module and transmitting asynchronous requests according to scanning results of the timing scanning module. The thread pool comprises a plurality of subtask queues, and each subtask queue saves a plurality of tasks. The buffer memory module is used for saving the task data. The timing scanning module timely scans the subtask queues in the thread pool to judge whether releasing time comes, judge whether one subtask queue meets the releasing time or not and conduct grouping on data in the subtask queue. The asynchronous information processing module processes the asynchronous requests, receives parameter information of the subtask queues in the releasing process, records the queue tasks and writes corresponding data into a database after monitoring new tasks. By means of the database writing system and database writing method, orderly, efficient and blocking type database writing can be achieved.

Description

technical field [0001] The invention relates to a database writing system and method, in particular to a database writing system and method based on asynchronous fragment cache writing. Background technique [0002] At present, with the development of software technology and the extensive use of database technology, the real-time requirements are getting higher and higher. At this time, high requirements are put forward for the efficiency of the software system in accessing the database. cause a lot of stress. Especially with the development of network technology, in the current WEB2.0 system based on the J2EE (Java 2 Platform, Enterprise Edition) platform, databases are generally required as storage media. When entering, there will often be performance bottlenecks caused by IO, CPU, network, etc. To solve this problem, the traditional optimization schemes either upgrade hardware resources vertically, or expand data servers horizontally. However, with the continuous expans...

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): G06F17/30
Inventor 俞晓鸿
Owner 杭州闪亮科技有限公司
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