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

Data access method and device

A data access and data technology, applied in the storage field, can solve the problems of long data access time and many processing stages, and achieve the effect of short time consumption and simplified processing stages.

Active Publication Date: 2020-06-26
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The above-mentioned data access process has a large number of processing stages, resulting in long data access time-consuming

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the present disclosure clearer, the implementation manners of the present disclosure will be further described in detail below in conjunction with the accompanying drawings.

[0045] Figure 1A It is a schematic diagram of an implementation environment of a data access method provided by an embodiment of the present disclosure. see Figure 1A , the implementation environment includes a processor 101, a cache 102, and the cache 102 includes a translation lookaside buffer 103 (TranslationLookaside Buffer, TLB), a cache tag memory 104 (cache tag ram) and a cache data memory 105 (cache data ram). Wherein, the cache 102 is used for storing data to be processed or processed by the processor 101 . In the embodiment of the present invention, the cache 102 is organized in a physical address index physical address tag (Physical Index PhysicalTag, PIPT), that is, data access is performed based on the tag bit and in...

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

Disclosed in the present application are a data access method and apparatus, relating to the technical field of storage. The method comprises: on the basis of a base address and an offset address contained in a data access command, acquiring the virtual address of data to be accessed; on the basis of the upper bits of the virtual address, querying the upper bits of the physical address corresponding to the virtual address; combining first index bits in the upper bits of the physical address with second index bits in the virtual address to obtain index bits of the physical address, the second index bits being address bits in the virtual address corresponding to the index bits of the physical address, and the first index bits being address bits in the physical address other than the second index bits; performing data access on the basis of the index bits and tag bits of the physical address. The present application simplifies the processing stages and reduces the time consumption of data access.

Description

technical field [0001] The present disclosure relates to the field of storage technologies, in particular to a data access method and device. Background technique [0002] In the context of big data, storage technology is developing rapidly, and cache has attracted much attention due to its high read and write efficiency. When the device receives a data access instruction from an application, it can preferentially query the data in the cache according to the data address indicated by the instruction, so as to quickly access the data. Generally, the data addresses operated by the software are all virtual addresses (Virtual Address, VA), and the data is actually stored in a memory indexed by a physical address (Physical Address, PA). Address to physical address translation. [0003] In the process of data access, the base address and offset address carried by the data access instruction can be added to obtain the virtual address, and the high bits of the physical address cor...

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): G06F12/1045
CPCG06F12/1063G06F2212/1024G06F12/1045
Inventor 李琪崔鲁平熊礼文徐志通孙璐陈俊锐余谓为李又麟
Owner HUAWEI TECH CO LTD