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

A method and device for writing data to a cache system

A cache system and data writing technology, applied in memory systems, electrical digital data processing, instruments, etc., can solve problems such as peripheral data overflow, and achieve the effect of reducing data overflow, difficulty and workload

Active Publication Date: 2021-11-12
DATANG MOBILE COMM EQUIP CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method and device for writing data to the cache system, aiming to solve the problem of peripheral data overflow during the process of writing to the secondary cache

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
  • A method and device for writing data to a cache system
  • A method and device for writing data to a cache system
  • A method and device for writing data to a cache system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Refer figure 1 , figure 1 Shows an embodiment of the present invention is a method of writing data to the cache system according to the step of the flowchart, the cache system comprising: a cache, L2 cache, peripheral, central processor; secondary cache for the receiving a first data transmission rate; the method may comprise the steps of:

[0051] Step 101, the preset period of time, when the data of the central processor needs to consecutive write operations to the second-level cache exceeds a threshold value, transmitting to the central processor from the cache to the two cache flush operation instruction data to the central processor such that consecutive write operations to the suspended secondary cache.

[0052] Embodiment of the present invention, the buffer system may comprise: a cache, L2 cache, peripherals, CPU, the secondary cache for receiving a first data transmission rate. Embodiments of the present invention, the cache system may be a long term evolution time...

Embodiment 2

[0082] Refer Figure 4 , Figure 4 Another step of the method of writing data to the cache system of the present invention shows a flowchart of the cache system comprising: a cache, L2 cache, peripheral, central processor; with the secondary cache receiving data at a first transmission rate; the method may comprise the steps of:

[0083] Step 401, according to the preset period of time, the cache data processing system needs to determine the minimum amount of data required by said central processing consecutive write operations to the secondary cache.

[0084] In an embodiment of the present invention, the preset period of time according to the data, the cache system to be treated, the CPU needs to determine the minimum amount of consecutive write operations of data to the secondary cache. Minimum amount of data required by the CPU consecutive write operations to the secondary cache, the cache can be in order to ensure the normal operation, the CPU needs a minimum amount of data con...

Embodiment 3

[0112] Refer Image 6 Shown embodiment the present invention provides a structural block diagram of embodiment 600 providing write data to the cache system apparatus. The cache system comprising: a cache, L2 cache, peripheral, central processor; said secondary cache for receiving a first data transmission rate; the apparatus 600 comprises:

[0113] Operation instruction sending module 604, a preset period of time, when the data of the central processor needs to consecutive write operations to the second-level cache exceeds a threshold value, a transmission from the processor to the central level cache flush operation instruction data to the secondary cache, so that the central processor consecutive write operations to the suspended secondary cache;

[0114] Determining a first time module 605, to the threshold value for dividing the first transmission rate, said central processing unit to obtain the transmission time of the first threshold value required data;

[0115] A second tim...

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 present invention relates to the technical field of writing data in a cache system. The present invention discloses a method and device for writing data to a cache system. When the amount of data exceeds a threshold value, an operation instruction for refreshing data from the first-level cache to the second-level cache is sent to the central processing unit; the threshold value is divided by the first transmission rate to obtain the The first time required for the central processing unit to transmit the threshold value data; calculate the second time required for the central processing unit to execute the operation instruction; use the second time and the first time to determine the third Remaining time: the peripheral takes up the third remaining time, and writes data to the L2 cache based on the first transmission rate. By sending the above-mentioned refresh data operation instruction to the central processing unit, the central processing unit continuously suspends the write operation to the second-level cache, and makes time for the peripherals to write data.

Description

Technical field [0001] The present invention belongs to the technical field of data write caching system, particularly relates to a method and apparatus for writing data to the cache system. Background technique [0002] Currently, in order to increase the applicability of the system cache, the cache system generally, peripherals and CPU (Central Processing Unit, central processing unit) provided in the secondary cache of the same priority, because the CPU clock speed will be significantly larger than the main peripheral frequency, therefore, when the CPU and peripherals are continuously write data to the secondary cache, the same time, CPU write data is greater than the amount of peripheral data. For the peripherals, the process of writing to the secondary cache, the data may be queued because too long a buffer overflow occurs. [0003] It said external device during the writing of the secondary cache, the buffer overflow problem because the data is queued for too long occurs, 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 Patents(China)
IPC IPC(8): G06F12/0811
CPCG06F12/0811
Inventor 于秋菊
Owner DATANG MOBILE COMM EQUIP CO LTD