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

Method and device for caching message data

A message data and caching technology, applied in the field of data communication, can solve the problems of time-consuming, slow storage, and low bandwidth utilization of storage address allocation, so as to improve cache speed, reduce preparation time, and improve bandwidth utilization. Effect

Active Publication Date: 2021-03-16
SHENZHEN FORWARD IND CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practice, it is found that when a burst request is made to store a small amount of message data, based on the read and write operation characteristics of DDR, it takes a certain amount of time to prepare for storage address allocation every time the message data is written. , resulting in low bandwidth utilization for storage address allocation and slow storage speed

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
  • Method and device for caching message data
  • Method and device for caching message data
  • Method and device for caching message data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] see figure 1 , figure 1 It is a schematic flowchart of a message data caching method provided in Embodiment 1 of the present invention. Among them, such as figure 1 As shown, the message data caching method may include the following steps:

[0040] S101. When a burst write instruction is received, identify the message type of the received message data. The message data caching method provided by the present invention is applied to the data storage of the FPGA board. Wherein, the external storage block is an external storage block of the FPGA board, and the built-in storage block is a storage block inside the FPGA board.

[0041] In the embodiment of the present invention, the external storage block can be further divided into a message storage area and a descriptor storage area. Wherein, the message storage area can be further divided into multiple storage areas according to different message types, and each message type corresponds to a storage area. The message ...

Embodiment 2

[0071] see figure 2 , figure 2 It is a schematic flowchart of a message data caching method provided in Embodiment 2 of the present invention. Among them, such as figure 2 As shown, the message data caching method may include the following steps:

[0072] S201. When a burst write instruction is received, identify the message type of the received message data.

[0073] S202. Determine whether the current usage of the buffer space corresponding to the message type meets the preset capacity, if not, perform steps S204 to S206; if yes, perform step S203.

[0074] S203. Discard the packet data, and prompt that the storage is full.

[0075] In the embodiment of the present invention, the user can set the preset capacity of the cache space corresponding to each message type, and when it is judged that the current usage of the cache space corresponding to the message type does not meet the preset capacity, the message is automatically discarded. text data.

[0076] In the emb...

Embodiment 3

[0092] see image 3 , image 3 It is a schematic structural diagram of a device for buffering message data provided by Embodiment 3 of the present invention. Among them, such as image 3 As shown, the message data cache device includes:

[0093] The identification and judgment module 301 is configured to identify the message type of the received message data when a burst write instruction is received, and determine whether the current usage of the buffer space corresponding to the message type meets the preset capacity.

[0094] The descriptor generation module 302 is used to determine that the current usage of the cache space meets the preset capacity in the identification judgment module 301, and generate a message descriptor that matches the message data. The message descriptor includes a cache physical first address and a message descriptor. The packet length of the text data.

[0095] The storage module 303 is configured to store the message descriptor in the built-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

The invention provides a message data caching method and a device comprising the followings: when receiving a burst write instruction, identifying the message type of the received message data, and judging whether the current use condition of the cache space corresponding to the message type meets a preset capacity or not; If the current use condition of the cache space meets the preset capacity,generating a message descriptor matched with the message data, wherein the message descriptor comprises a cache physical head address and a message length of the message data; and storing the messagedescriptor into a built-in storage block, and storing the message data into a message storage area of an external storage block according to the cache physical head address. According to the message data caching method and device provided by the invention, the bandwidth utilization rate of the storage address allocation scheme can be increased, and then the cache speed can be increased.

Description

technical field [0001] The present invention relates to the technical field of data communication, in particular to a message data buffering method and device. Background technique [0002] With the enhancement of FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) board performance and the increase in the number of resources, FPGA boards need more and more storage space to store data information. Due to the limitation of FPGA board volume and on-board storage The capacity limitation forces the FPGA board to expand the storage space by attaching an external storage device. Now, the external storage device most people use is usually DDR (Double Data Rate, double-rate synchronous dynamic random access memory). However, in practice, it is found that when a burst request is made to store a small amount of message data, based on the read and write operation characteristics of DDR, it takes a certain amount of time to prepare for storage address allocation every ti...

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/06G06F12/0875
CPCG06F12/0623G06F12/0875
Inventor 谢成祥袁结全
Owner SHENZHEN FORWARD IND CO LTD