A data buffering method and system
A data buffering and buffering technology, applied in the field of data communication, to achieve the effect of reducing the number of packed bytes, saving communication time, and high real-time performance
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2016-05-25
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
Technical field
[0001] The present invention relates to the technical field of data communication, in particular to a data buffering method and system. Background technique
[0002] Buffer technology is to coordinate the work of data transfer between devices with very different data traffic speeds. Where the speed of data arrival and departure does not match, buffer technology should be used. Existing buffer technologies include:
[0003] Double buffering, the solution to the problem of parallel operation between two peripherals, printers and terminals is to set double buffering. With two buffers, the CPU can put the data output to the printer into one of the buffers (zones) and let the printer print slowly; then, it can use the other buffers (zones) set up for the terminal Read the required input data.
[0004] Multi-buffer is a buffer structure that connects multiple buffers to form two parts, one part is dedicated to input, and the other part is dedicated to output.
[0005] Th...
Examples
Embodiment Construction
[0033] In the embodiment of the present invention, the main control device of the monitoring unit and the communication expansion board in the railway signal power system of the new architecture communicate through the CAN bus. The communication expansion board temporarily stores the collected data of the lower-level modules, and waits for the query data command of the main control device , Then upload the data. According to this requirement, it is proposed to implement the single-buffer communication buffer technology in the embodiment of the present invention in the communication expansion board of the monitoring unit of the new architecture.
[0034] Single buffer, a buffer is set between the main control device and the communication expansion board, that is, a buffer is opened in the communication expansion board to store updated data. When the main control device exchanges data to the communication expansion board, it first writes the exchanged data into the buffer, and then...