Optimizing polling system and optimizing polling method for collecting data from plurality of buffer zones

A technology of multi-buffer and polling method, which is applied in the direction of memory system, electrical digital data processing, memory address/allocation/relocation, etc., to reduce the number of accesses, avoid extra overhead, and reduce the probability

Active Publication Date: 2014-08-27
国超(西安)计算技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Assuming there are n buffers, only the last one, that is, the nth buffer has data, and the first n-1 buffers are empty, then every time you start polling, you must start from the first buffer. To access n-1 empty buffers will also bring unnecessary additional overhead

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
  • Optimizing polling system and optimizing polling method for collecting data from plurality of buffer zones

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Such as figure 1 As shown, the optimized polling system that receives data from multiple buffers, the polling system includes: a polling control module and a buffer, the polling control module can access the buffer; the polling control module includes A step size array and a static variable; the step size array and the static variable perform polling access to the buffer respectively.

[0024] Described step size array, through this array, the present invention combines greedy polling and average polling two kinds of polling modes, sets a step size variable for each buffer zone, and this step size represents every time when polling this buffer zone , the maximum length of data read from the buffer each time, through this step size control, avoiding the problem of reading all data during greedy access and only reading one data during average access. After polling the buffer each time, the software dynamically adjusts the step size variable of each buffer according to 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 provides an optimizing polling system and an optimizing polling method for collecting data from a plurality of buffer zones. The polling system comprises a polling control module and buffer zones. The polling control module can access the buffer zones and comprises a step array and static variable quantity. The polling method includes adopting polling to control the variable quantity and dynamically adjusting an initial buffer zone of each-time polling and reading step of each buffer zone according to buffer zone loading condition. The optimizing polling system and an optimizing polling method for collecting data from the plurality of buffer zones avoid loading unevenness among the buffer zones and extra expense caused by accessing an empty buffer zone frequently, and improve polling efficiency of collecting data from the plurality of buffer zones.

Description

technical field [0001] The invention belongs to the field of network data processing, and in particular relates to an optimized polling system and method for collecting data from multiple buffers. Background technique [0002] In the network data acquisition system, it is often necessary to install multiple data acquisition cards on one processing device, each acquisition card has its own data buffer, or there are multiple data buffers on one acquisition card, which requires software to The buffers are polled for data. [0003] There are two polling modes of the general system of the prior art: [0004] The first method is greedy access; the software starts from the first buffer and polls each buffer in turn, no matter how much data is in the buffer, it will be read out until the buffer is empty before accessing the next one. buffer. For example, if there are three buffers, the software first reads data from the first buffer until all the data in the first buffer is empti...

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/08G06F12/0877
Inventor 刘朝辉李锋伟窦晓光姬乃军
Owner 国超(西安)计算技术有限公司
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