Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory read and write control method and corresponding memory

A read-write control and memory technology, applied in memory systems, instruments, memory address/allocation/relocation, etc., can solve problems such as poor write operation efficiency of SSD, poor memory write operation efficiency, poor support, etc., to reduce I The number of /O operations and the effect of improving the efficiency of write operations

Active Publication Date: 2016-12-07
SHENZHEN TENCENT COMP SYST CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] When writing data, at least one input / output (I / O) operation needs to be performed on the memory every time a data is written, and it needs to be read once when there is data in the original block, so as to merge the old data writing, which will cause more I / O operations. / O operation
Therefore, the number of I / O operations when writing data to the memory in the prior art is relatively large, and the write operation efficiency of the memory is very poor.
The prior art is not well supported, especially for solid-state disks (SSDs, solid state disks), whose lifespan is limited by the number of erases, and random writes have an impact on performance and lifespan, resulting in too much I / O when writing data. The / O operation not only leads to poor write operation efficiency of SSD, but also seriously affects the life of SSD

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
  • Memory read and write control method and corresponding memory
  • Memory read and write control method and corresponding memory
  • Memory read and write control method and corresponding memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0034] image 3 It is a schematic diagram of the memory reading and writing control method of the present invention. see image 3 , the method of the present invention divides the storage resources of the memory in units of blocks (blk in the figure) to facilitate index data; when writing data: the data to be written is merged into data blocks, and the merged The data block is written into the free block of the memory, and the identifier of the written data and its corresponding index information are recorded. The index information of each piece of written data is the offset information of the data in the memory; when reading data: according to the desired The identification and index information of the read data reads the data from the corresponding offset in memory.

[0035] The data identifier is usually the key of the data, whi...

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

Described are a read-write control method for memory, and a corresponding memory and server. The method comprises: dividing a storage resource of the memory by taking a block as a unit; to write data, combining the data to be written into a data block, writing the data block in a free segment of the memory, and recording an identifier and a corresponding index of the data, the index of the written data is an offset indicating a memory location of the data in the memory; to read data, reading the data from the offset of the memory according to an identifier and a index of the data to be read. When read-write control is performed on the memory, the number of the times that the I / O operation is performed on the memory is reduced during data writing, thereby improving the efficiency of the write operation on the memory.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a storage read-write control method and a corresponding storage and server. Background technique [0002] In current data storage technologies, storage resources are usually divided in units of blocks (Blocks) in the memory. That is to say: the memory is divided into multiple areas according to a fixed size, and each area is called a block. There are two types of blocks in the existing memory: one type of block is called basic block, which is used for hash (Hash) calculation and positioning to facilitate data positioning; the other type of block is called overflow block, which is used when the basic block is not enough When used, store the overflow data. [0003] In the prior art, data is stored in the memory, and then the key of the data (Key) is used for Hash calculation and then the modulo is obtained to obtain a block offset of the memory, and the block at the offset o...

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): G06F3/06G06F12/02
CPCG06F12/023G06F12/00G06F12/02G06F12/0223G06F12/0238G06F12/0246
Inventor 许剑峰吴悦钟超宇谢明李文征
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products