Unlock instant, AI-driven research and patent intelligence for your innovation.

Data reading and writing method and device and related equipment

A technology for reading and writing data, reading and writing data. It is used in electrical digital data processing, input/output process of data processing, memory address/allocation/relocation, etc. It can solve the problem of low cache hit rate and reduce data read and write efficiency, etc. problem, to achieve a high cache hit rate and improve the effect of data

Active Publication Date: 2022-03-18
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the first two methods do not need to consider the actual usage of the Cache, and replace the data first written to the Cache first or completely randomly. However, this implementation method has a low cache hit rate, which reduces the efficiency of data reading and writing to a certain extent. ;Although the last method has a high cache hit rate, its implementation process needs to rely on cumbersome information statistics and algorithm calculations, as well as a more complex hardware structure, which will also reduce the efficiency of data reading and writing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The core of this application is to provide a data reading and writing method, which can effectively ensure a high cache hit rate while improving the efficiency of data reading and writing; another core of this application is to provide a data reading and writing device , a device, and a computer-readable storage medium also have the above beneficial effects.

[0046] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[00...

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 data read-write method. The method comprises the following steps: determining read-write data according to a data read-write request; when the read-write data does not hit the cache and a data memory arranged in the cache does not have an idle storage address, starting traversal from an initial storage address of the data memory; when the storage address with the unread mark is traversed, writing the read-write data into the storage address with the unread mark; and when the storage address with the unread mark is not traversed, writing the read-write data into the previous storage address of the initial storage address. By applying the technical scheme provided by the invention, the data read-write efficiency can be improved while a relatively high cache hit rate is effectively ensured. The invention further discloses a data read-write device and equipment and a computer readable storage medium which all have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of data storage, in particular to a data reading and writing method, and also to a data reading and writing device, equipment, and computer-readable storage medium. Background technique [0002] Cache (buffer memory / cache) is a small-capacity high-speed memory between the CPU (Central Processing Unit, central processing unit) and the main memory. The access speed is faster than the main memory. An important technique for matching. It can provide instructions and data to the CPU at high speed to speed up the execution speed of the program. [0003] When the CPU cannot find the required data in the Cache, it needs to go to the main memory to obtain the corresponding data and replace it in the Cache. Cache replacement strategies can generally be divided into the following three categories: (1) first-in-first-out-based replacement; (2) random replacement; (3) least-recently-used method or other deriv...

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): G06F3/06G06F12/10
CPCG06F3/061G06F3/064G06F3/0656G06F12/10G06F12/0895G06F3/0604G06F3/0659G06F3/0673
Inventor 孙旭周玉龙杨萌
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD