Supercharge Your Innovation With Domain-Expert AI Agents!

Data caching method and device

A data caching and caching technology, which is applied in the data caching field of big data, can solve the problem of inconvenient use of caching, and achieve the effect of convenient use

Active Publication Date: 2017-02-01
FUZHOU ROCKCHIP SEMICON
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the above-mentioned problem of inconvenient use of the cache, it is necessary to provide a new data cache method and a system using the method

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0028] see Figure 1a and Figure 1b , which is a flow chart of writing and reading data caching methods, which can be run on figure 2 In the shown data cache device, the device includes a receiving module 200 , a judging module 202 , a writing module 204 , a first address updating module 206 , a reading module 208 and a computing module 210 .

[0029] In some embodiments, the device performs Figure 1a A data caching method shown includes step S100, receiving the size information of the data packet to be written, and step S102 judging whether the data packet can be written according to the size information of the data packet to be written and the size information of the remaining space in the cache, when it is judged as When it can...

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 caching method and device. The method comprises the following steps of: receiving size information of a data packet to be written in, judging whether a data packet can be written in or not according to the size information of the data packet to be written in and size information of a residual space in cache, when the data packet can be written in, receiving data to be cached and relative position deviation, in the data packet, of the data to be cached, determining a writing position according to the current writing-in address in the cache and the relative position deviation in the data packet, and starting to write in data from the writing address; and receiving size information of a data packet to be read, judging whether a data packet can be read or not according to the size information of the data packet to be read and size information of used space in the cache, when the data packet can be read, receiving relative position deviation, in the data packet, of data to be read, determining a reading address according to the current reading address in the cache and the relative position deviation, in the data packet, of the data to be read, and reading data output at the reading address. According to the data caching method and device, the problem that the data caching is not convenient enough in the prior art is solved.

Description

technical field [0001] The invention relates to the field of data caching, in particular to a data caching method for large data. Background technique [0002] When transferring data between devices, if no cache is set, the receiving device must execute an interrupt when receiving, so that the process can receive the data, which seriously affects the working efficiency of the device itself. Therefore, a mechanism capable of caching data is needed to make the data between devices There is no need to interrupt when interacting, just receive when there are redundant resources. The currently used caching mechanism is a first-in-first-out queue (FIFO, First Input First Output), which is a traditional sequential execution method. The instruction that enters first is completed and retired first, and then the second instruction is executed. It is a first-in-first-out data buffer. The difference between it and ordinary memory is that there is no external read-write address line, so ...

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
IPC IPC(8): G06F12/0877
Inventor 罗宁罗玉明
Owner FUZHOU ROCKCHIP SEMICON
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More