Concurrent data caching method and structure

A caching and data technology, applied in the field of radiation detection, can solve the problems of high data collection rate, long data processing time, slow speed, etc., and achieve the effect of high network data rate and optimized data processing speed.

Active Publication Date: 2016-08-31
THE WUHAN DIGITAL PET CO LTD
View PDF14 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a caching method and structure of concurrent data, which can effectively solve the problems of high data collection rate and fast speed, but long data processing time and slow speed, especially suitable for detector data collection in all-digital PET

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
  • Concurrent data caching method and structure
  • Concurrent data caching method and structure
  • Concurrent data caching method and structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be further described below in conjunction with the embodiments shown in the accompanying drawings.

[0042] The present invention provides a caching method for concurrent data, which includes the following steps. The working state of the cache partition is set to any one of the idle state, write-locked state, write-full state, and read-locked state, wherein when a certain cache partition is fully When it is full or the external data is written within a certain period of time, and no new data is written, the cache partition is set to a full state.

[0043] Since it is impossible to determine the sending time and quantity of external data, in order to ensure that each set of externally sent data can be written into the cache in a timely and effective manner, try to avoid the problem of packet loss, such as image 3 As shown, the writing process of each group of data is as follows, (A) a group of data writing: (A1) Real-time monitoring whether th...

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 relates to a concurrent data caching method and structure. The concurrent data caching method includes the following steps: a step A, writing in each group of data, A1, monitoring if writing locking state cache partitions exist or not, and executing a step A2-2 if so; A2 monitoring if idle state cache partitions exist or not if not, A21, A21-1 selecting a group of idle state cache partitions and setting the idle state cache partitions to be a writing locking state if so; A21-2, writing data in cache partitions; A21-3, determining if the data is written successfully or not, and completing writing of the group of data if so; setting the cache partitions to be a filled state if not, and executing the step A1; A22, ending data writing if the idle state cache partitions do not exists; a step B, reading the data, B1, monitoring if filled state cache partitions exist or not in real time, and B11, selecting the group of cache partitions and setting the group of cache partitions to be a reading locking state if so; B12, reading cache data in the cache partitions, setting the cache partitions to be an idle state when reading is finished in the cache partitions, and executing the B1; and executing the step B1 and continuously reading the data if the reading is not finished in the cache partitions. Strict reading, writing and locking is performed on the cache partitions, and then the speed of data processing can be effectively optimized.

Description

technical field [0001] The invention relates to data acquisition technology in the field of radiation detection, in particular to a high-speed data acquisition cache method and equipment. Background technique [0002] In the high-speed data acquisition system in the prior art, each data channel is generally correspondingly provided with an independent FIFO (First Input First Ouput, first-in-first-out queue) for buffering channel data. However, in actual data acquisition, Often encounter the contradiction of high data collection rate and fast speed, but long data processing time and slow speed. When the cache capacity is large, the rate of this original data is high, which puts forward higher requirements for network reception and data processing. . [0003] Taking full digital PET as an example, figure 1 It is a schematic diagram of the data acquisition and processing flow in the all-digital PET equipment. Each channel of the detector samples and encodes the received signa...

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): G06F12/0884
CPCG06F12/0884Y02D10/00
Inventor 徐驰
Owner THE WUHAN DIGITAL PET CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products