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

Data processing method and device

A data processing and data technology, applied in the computer field, can solve problems such as performance bottlenecks and low processing efficiency

Active Publication Date: 2017-06-13
HUAWEI TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main problem of the above method is that the pure software method is used to judge whether the data in the register is out-of-boundary data, resulting in low processing efficiency and easy to cause performance bottlenecks

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 processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0164] refer to Figure 8 , is a schematic diagram of a data processing hardware circuit provided by an embodiment of the present invention, wherein the data currently written into SR1 is the data of adjacent boundary image blocks, and the replacement strategy is register value replacement, that is, using a value in SR1 or SR2 as a boundary replacement value, And the values ​​in SR1 are X0, X1, X2, X3 respectively, and the values ​​in SR2 are Y0, Y1, Y2, Y3, then the implementation process of the embodiment of the present invention is as follows:

[0165] Step 1, determine that the type of the image block to which the data in SR1 belongs is an adjacent boundary image block, and the length of the boundary image block is N (i.e. imageWidth%N=0), therefore, by searching the second relational table (i.e. the above table 2 ), determine BorderFlag[1:7]="0000000" of the first register;

[0166] Step 2. Since the preset replacement strategy is register value replacement, BorderFlag[0...

Embodiment 2

[0180] A specific example is given below, referring to Figure 9, is a schematic diagram of a data processing hardware circuit provided by an embodiment of the present invention, wherein the data currently written into SR1 is the data of adjacent boundary image blocks, and the replacement strategy is register value replacement, that is, using a value in SR1 or SR2 as a boundary replacement value, And the values ​​in SR1 are X0, X1, X2, X3 respectively, and the values ​​in SR2 are Y0, Y1, Y2, Y3, then the implementation process of the embodiment of the present invention is as follows:

[0181] Step 1, determine that the type of the image block to which the data in SR1 belongs is an adjacent boundary image block, and the length of the boundary image block is not N (specifically imageWidth%N=3), therefore, by searching the second relational table (i.e. the above-mentioned Table 2), determine BorderFlag[1:7]="0000001" of the first register;

[0182] Step 2. Since the preset repla...

Embodiment 3

[0197] A specific example is given below, referring to Figure 10 , is a schematic diagram of a data processing hardware circuit provided by an embodiment of the present invention, wherein what is currently written into SR1 is the data of a boundary image block, and the replacement strategy is a preset value replacement, that is, a preset value (assumed to be 0) is used as a boundary replacement value , and the values ​​in SR1 are X0, X1, X2, X3 respectively, and the values ​​in SR2 are Y0, Y1, Y2, Y3, then the implementation process of the embodiment of the present invention is as follows:

[0198] Step 1, determine that the type of the image block that the data in SR1 belongs to is a boundary image block, and the length of the boundary image block is N, therefore, by searching the second relational table (i.e. the above-mentioned table 2), determine the BorderFlag[ of the first register 1:7] = "0001111";

[0199] Step 2. Since the preset replacement policy is the replacemen...

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 embodiment of invention relates to the technical field of computer, in particular to a data processing method and device for enhancing data processing efficiency and speed. The hardware which is used comprises a first register and a selector, wherein, the first register stores a selection strategy, the first register depends on the selection strategy stored in the first register to select one data value as the marginal substitution value, M-K marginal substitution values are subsequently selected; K values are selected from the data of a second register for image processing. According to the data processing method and device, the selector is used for selecting M-K marginal substitution values and K values in the second register for the image processing to achieve the correct substitution of the off-margin data stored in the second register to make the image processing and calculation more accurate, the method and device do not need to use software method to judge and process the marginal values, therefore the data processing speed and efficiency can be enhanced.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a data processing method and device. Background technique [0002] In recent years, the growth of semiconductor integration has slowed down. Therefore, by using parallel computing processing, the computing performance can be improved (or the same computing performance can be achieved while consuming less power), which is the so-called parallel computing processing technology. The Single Instruction Multiple Data (SIMD, Single Instruction Multiple Data) instruction technology of the CPU (Central Processing Unit, Central Processing Unit) instruction group is also one of the parallel computing processing technologies. [0003] When using SIMD instructions to process data, especially data with boundaries (such as image data), first read the data into registers, and then perform operations on the data in the registers through SIMD instructions, but bec...

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): G06F9/38
CPCG06F9/3887
Inventor 京昭倫廖暄俊高也
Owner HUAWEI TECH CO LTD