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

Data reading and writing method and device

A technology of data reading and writing and data blocks, which is applied in the field of network communication, can solve problems such as too strict requirements on the sequence of bank read and write operations, waste of storage space, etc., and achieve the effect of optimizing the operation sequence and improving cache efficiency

Inactive Publication Date: 2008-12-03
HUAWEI TECH CO LTD
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When the existing technology solves the problem that a certain time interval is required to access different rows of the same bank, the order of read and write operations of the bank is too strict and wastes storage space, and the read and write operations can only be optimized locally

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
  • Data reading and writing method and device
  • Data reading and writing method and device
  • Data reading and writing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0025] Embodiments of the present invention provide a method and device for reading and writing data, which can greatly improve cache efficiency and optimize operation sequences as a whole.

[0026] Embodiments of the present invention provide a method for reading and writing data, such as image 3 shown, including:

[0027] Step S301, splitting the request according to the preset capacity value of the data block, and storing the split request i...

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 embodiment of the invention discloses a method and a device for reading and writing data, which includes the following steps: a request is segmented according to the preset volume of a block data and the segmented request is stored into a block data queue; the weighted values of different block data queues meeting the time-sequential parameters are compared; the block data queue is dispatched according to the comparison result. The application of the method and the device of the embodiment of the invention can optimize the operation sequence on the whole, thus improving the cache efficiency more effectively.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and device for reading and writing data. Background technique [0002] In the data network, DRAM (Dynamic random access memory, dynamic random access memory) chips are usually used as data cache space. These chips have a common feature: a chip is divided into multiple data block banks, and a bank is divided into many rows. , when a row is read or written, the row needs to be activated first. Since it is not allowed to open different lines of a bank at the same time, when a bank has opened a certain line and needs to operate another line, the previously activated line must be closed, and then another line that needs to be operated must be activated, and then the other line can be read. write operation. There is a minimum time limit from activation to deactivation of a row, and other rows of the bank cannot be operated if the minimum time is not satisfied (referred t...

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 Applications(China)
IPC IPC(8): H04L12/56
CPCH04L49/90G06F13/1626
Inventor 王钿范贵成
Owner HUAWEI TECH 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