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

Data buffering process and device

A data buffering and data technology, which is applied in the field of data processing, can solve problems such as differences in data processing capabilities, low adaptability of processing terminals, poor data buffering effect, etc., and achieve the effect of reducing loss and good data buffering effect

Active Publication Date: 2012-01-25
HUAWEI DEVICE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventor found in the process of implementing the embodiment of the present invention that the prior art has the following technical problems: the traditional timer technology uses a default data acquisition cycle to determine the ability to push buffer buffer data to the processing end, but the actual There may be differences in data processing capabilities. If the ability of the data pusher to push buffer cached data to the processing end does not match the actual data processing ability of the processing end, the effect of data buffering will be poor.
It can be seen that the traditional timer technology has the technical defect of low adaptability at the processing end

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
  • Data buffering process and device
  • Data buffering process and device
  • Data buffering process and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0022] figure 1 It is a flow chart of the data buffer processing method provided by the first embodiment of the present invention. Such as figure 1 As shown, the method for data buffering in this embodiment includes:

[0023] Step 11. Receive data, buffer the received data into the data bit whose attribute is the first state in the buffer, and update the attribute of the corresponding data bit to the second state, wherein the first state is used to indicate that the data bit has no cached data Alternatively, it indicates that the data bit is buffered with data and the data has been processed, and the second state is used to indicate that the data bit is buffered with data and the data is to be processed.

[0024] According to the data storage situation of the data bit itself, the attribute of any data bit in the buffer can be set to one of three different optional states, which is used to indicate in real time whether the data bit currently has data in the cache and the curr...

no. 2 example

[0037] figure 2 It is a flow chart of the data buffer processing method provided by the second embodiment of the present invention. In this embodiment, the attribute of any data bit in the buffer can be set to one of three optional states according to whether there is data in the cache and the current processing state of the data, assuming that the three optional states are: "empty", " "To be processed" and "processing" respectively correspond to the first state, the second state and the third state described in the implementation of the present invention. Such as figure 2 As shown, the method for data buffering in this embodiment includes:

[0038] Step 21 , with the preset time length as the detection cycle, periodically detect whether there is a data bit whose attribute is "empty" in the buffer, if yes, execute step 22, otherwise execute step 23.

[0039] In this step, periodic detection is an optional solution, that is, the receiving end can also adopt alternative sol...

no. 3 example

[0058] image 3 It is an example of the application scenario of the method for data buffering provided by the embodiment of the present invention. image 3 The application scenario shown is illustrated by taking audio data playback as an example. In this application scenario, the processing end connected to the buffer may be a device capable of processing audio data, such as a sound card. The attribute of any data bit can be set to one of three optional states according to whether it has data cached and the current processing state of the data. Assuming that the three optional states are respectively represented by the setting value of a certain flag in the data bit attribute information, the figure only shows the flag bits of some data bits in the buffer, for example:

[0059] 0: "empty bit", corresponding to the first state described in the implementation of the present invention, indicating that the data bit can be used to store new data;

[0060] 1: "to be played", corre...

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 data buffering process and a device thereof. The method comprises: caching the received data in a data bit with the attribute of first state in a buffer zone and updating the attribute of the corresponding data bit to second state, wherein the first state represents that the data bit accommodates no caching data, or the data bit accommodates data processed, and the secondstate represents that the data bit accommodates data to be processed; transmitting the data cached in the data bit with the attribute of second state in the buffer zone to a processing terminal to processing and updating the attribute of the corresponding data bit to third state, wherein the third state represents that the data bit accommodates data being processed; updating the attribute of the corresponding data bit of the data finishing cache processing in the buffer zone to first state when finishing data processing at the processing terminal. The data propelling capacity of the buffer zone in the invention can be matched with the processing terminal device capable of processing different data, so as to achieve better data buffering process effect.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data buffer processing method and device. Background technique [0002] With the continuous advancement of communication technology, audio and video online services such as Voice Over Internet Protocol (VoIP for short) and video on demand continue to emerge. In order to achieve a better playback effect, it is necessary to perform necessary buffer processing on the received audio or video data, so as to improve the fluency of audio or video playback. [0003] In the prior art, any data bit of the buffer indicates whether it has data in the cache through two different optional states of its attributes, for example: a certain data position "0" or "1" is used to represent the data bit respectively There is no cached data or there is cached data. The timer technology is one of the traditional technologies that use the buffer to buffer the received data. When using...

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): H04L12/56H04L12/861
Inventor 刘连喜温君波
Owner HUAWEI DEVICE CO LTD