Method and device for maintaining data stored in memory

A technology for in-memory data and data storage. It is applied in memory systems, electrical digital data processing, special data processing applications, etc., and can solve problems such as business interruption and memory database full.

Inactive Publication Date: 2011-11-30
JINJUAN MEDIA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, if the business control is wrong or there is a lack of real-time monitoring and management of the memory database usage, it is easy to cause the memory database to be full and eventually lead to business interruption

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
  • Method and device for maintaining data stored in memory
  • Method and device for maintaining data stored in memory
  • Method and device for maintaining data stored in memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The basic idea of ​​the present invention is: by setting the SQ queue, when the calling heat of the data in the memory database is reduced, the data is deleted from the HCQ, this deletion is not the actual data in the memory data unit is deleted, but Deleted the queue to which the data belongs, the present invention associates the data deleted from the HCQ into the SQ, and stores the data associated into the SQ into a common database; when the internal memory is lower than the set threshold, by releasing the data to make up for the lack of memory space. Since the HE table is set, when looking for data, the memory table information control block of the data can be determined according to the hash operation value of the keyword of the data, and the data can be found out according to the address information of the memory data unit therein. The invention screens frequently accessed data and keeps them in the memory, improves the hit rate of the data in the memory, and compl...

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 method for maintaining data stored in a memory, comprising the following steps: setting a memory field into a storage mode of a memory data unit, a control block and a hash entrance (HE) table and setting a hash conflict queue (HCQ), a free queue (FQ) and a synchronous queue (SQ); when data in the HCQ are deleted, adding the deleted data into the SQ and remaining the keyword and the hash computation value of the deleted data in the HE table; when new data are added, selecting an empty memory data unit from the FQ to store the new data and arranging the control block corresponding to the memory data unit for storing the new data into the a control block table corresponding to the hash computation value of the keyword to be added with data in the HE table. The invention also discloses a device for maintaining data stored in a memory. The invention provides the hit rate of data in the memory and finishes data operation in the memory as much as possible, thereby reducing the unnecessary input and output operation and greatly improving the efficiency of a system for processing data.

Description

technical field [0001] The invention relates to a technology for storing data in a memory, in particular to a method and device for maintaining data stored in a memory that can distinguish the heat of data calling. Background technique [0002] With the development and popularization of more and more mobile proliferation services such as SMS and MMS, the business volume of mobile proliferation services is increasing rapidly every year. In order to improve the data processing capability of the system, memory databases are generally used in communication systems. Storing data. Compared with ordinary storage areas, the processing speed of the system's read and write operations will be quite high, which is the main reason why in-memory databases are being adopted by more and more business systems. [0003] In the current in-memory database system, the combination of in-memory database and ordinary database is generally adopted, because the memory capacity is limited. In the da...

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): G06F17/30G06F12/08G06F12/0844
Inventor 侯春华陶长标邢刚聂荣初
Owner JINJUAN MEDIA TECH 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
Try Eureka
PatSnap group products