CN102411492A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN102411492A
CN102411492A CN2011103799883A CN201110379988A CN102411492A CN 102411492 A CN102411492 A CN 102411492A CN 2011103799883 A CN2011103799883 A CN 2011103799883A CN 201110379988 A CN201110379988 A CN 201110379988A CN 102411492 A CN102411492 A CN 102411492A
Authority
CN
China
Prior art keywords
pdr
configuration
current
data
employed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103799883A
Other languages
Chinese (zh)
Other versions
CN102411492B (en
Inventor
张辉
王西强
安之平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING BOXIN SHITONG TECHNOLOGY CO., LTD.
Original Assignee
Innofidei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Innofidei Technology Co Ltd filed Critical Innofidei Technology Co Ltd
Priority to CN201110379988.3A priority Critical patent/CN102411492B/en
Publication of CN102411492A publication Critical patent/CN102411492A/en
Application granted granted Critical
Publication of CN102411492B publication Critical patent/CN102411492B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a data processing method and device, which can be used for realizing flexible adjustment of the data processing speed on a hardware pipeline by adopting different data processing speeds on the hardware pipeline. The data processing method provided by the embodiment of the invention comprises the following steps of: allocating the currently used data processing speed; and informing the hardware pipeline of the allocated data processing speed so that the hardware pipeline performs data processing according to the currently allocated data processing speed.

Description

A kind of method and apparatus of data processing
Technical field
The present invention relates to data communication field, particularly relate to a kind of method and apparatus of data processing.
Background technology
Data processing is systems engineering and the basic link of controlling automatically.Data processing comprises collection, storage, retrieval, processing, conversion and the transmission to data.The basic purpose of data processing from a large amount of, possibly be that to extract rambling, the elusive data and derive for some specific people are valuable, significant data.Data are to a kind of expression-form of the fact, notion or instruction, can be handled by manual work or automation equipment.The form of data can be numeral, literal, figure or sound etc., and data just become information through explaining and giving after certain meaning.
At present when the enterprising line data of hardware chip is handled; Raw data is left in the internal memory; The module cooperative work of respectively handling on the hardware pipeline; In each clock period, read the several number certificate in the raw data, next module that these data are sent on the hardware pipeline is handled, until disposing to these data by read module.Data after finishing dealing with are write back internal memory according to the same manner through bus by writing module, form new data.
Form with data is that image is an example, and in Flame Image Process, raw image data is stored in the internal memory by frame.Hardware pipeline (by row, by row or by piece) in each clock period reads the plurality of pixels data in the original image, the data after finishing dealing with is write back internal memory according to the same manner, to form the new image of a frame.
Yet there is following problem at least in existing data processing scheme:
In existing data processing system, the data volume that hardware pipeline read from internal memory in each clock period is scheduled to, and promptly PDR is a predetermined fixed, thereby causes the mode of data processing too single, the data processing method underaction.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of data processing, can on hardware pipeline, adopt different PDRs, realizes the flexible adjustment of PDR on the hardware pipeline.
For achieving the above object, technical scheme of the present invention is achieved in that
The embodiment of the invention provides a kind of method of data processing, and this method comprises:
Dispose presently used PDR;
With the PDR notice hardware pipeline that is disposed, so that hardware pipeline carries out data processing according to the current PDR that disposes.
The embodiment of the invention also provides a kind of device of data processing, and this device comprises:
The rate controlled unit is used to dispose presently used PDR, and, with the current PDR notice hardware pipeline that disposes;
Data processing unit is used at hardware pipeline, carries out data processing according to the current PDR of being known that disposes.
By above-mentioned visible, the technical scheme of the embodiment of the invention can adopt different PDRs according to actual conditions through a kind of variable PDR mechanism is set under different condition, realize the flexible adjustment of PDR on the hardware pipeline.
Description of drawings
Fig. 1 is the method flow synoptic diagram of a kind of data processing of providing of the embodiment of the invention one;
Fig. 2 is that the embodiment of the invention two provides a kind of schematic flow sheet when view data is handled;
Fig. 3 is the apparatus structure synoptic diagram of a kind of data processing of providing of the embodiment of the invention three;
Fig. 4 is the apparatus structure synoptic diagram of the another kind of data processing that provides of the embodiment of the invention three.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
The embodiment of the invention one provides a kind of method of data processing, and referring to Fig. 1, this method comprises:
11: dispose presently used PDR.
12: with the PDR notice hardware pipeline that is disposed, so that hardware pipeline carries out data processing according to the current PDR that disposes.
Hardware pipeline is made up of each processing unit of mutual collaborative work each other.On hardware pipeline, each processing unit carries out following data processing according to the current PDR that disposes:
13:, from internal memory, read raw data through bus according to the current PDR that disposes;
14: the raw data that reads is carried out corresponding service handle, and the result data that will obtain after will handling is through the bus write memory.
Above-mentioned PDR refers to the data volume that per clock period of each processing unit handles on the hardware pipeline.The synchronizing signal of clock period index word circuit, it is the minimum time unit of data circuit work.
If each processing unit on the hardware pipeline reads and handle N data in 1 clock period, then PDR is N.If the every N of each processing unit on the hardware pipeline clock period handled 1 data, then PDR is 1/N.
In above-mentioned steps 11; The correlation unit or the device that can be provided with through the function software that moves on the hardware chip on several data processing speed and the control hardware streamline move according to set PDR, also can directly realize variable PDR through the correlation unit on the adjustment hardware pipeline or the pin setting of device.
By above-mentioned visible, the technical scheme of the embodiment of the invention can adopt different PDRs according to actual conditions through a kind of variable PDR mechanism is set under different condition, realize the flexible adjustment of PDR on the hardware pipeline.
The method of the data processing that provides in the face of the embodiment of the invention two down describes.The data that present embodiment is mainly handled with needs are that the scene of view data is that example describes.
11: dispose presently used PDR.
The preferred PDR M that adopts the variable pixel of software setting in the embodiment of the invention; As utilize CPU on the hardware chip to adopt the mode of software control to dispose presently used PDR to be M; Then each processing unit on the hardware pipeline reads the mode of M pixel according to each clock period, realizes that the PDR of pixel is adjustable.This set mode has been avoided the change to hardware, can compatible preferably existing hardware equipment, have higher feasibility, and set-up mode is also convenient more flexibly.
Concrete, the PDR in the present embodiment is meant processed pixels data volume in per clock period of hardware pipeline.On hardware pipeline, allow and support multiple different PDR.
For example; When each processing unit on the hardware pipeline reads and handle 1 pixel in per 1 clock period; PDR M is 1 o'clock; If software configuration data processing speed M is 2, then the relevant treatment unit on the hardware pipeline (like the data reading unit) can improve the data volume that at every turn reads, and each clock period reads 2 pixels and handles.If software configuration data processing speed M is 1/2, then each processing unit on the hardware pipeline can be counted the clock period, and per 2 clock period read 1 pixel and handle.
The factor of above-mentioned configuration mode institute foundation comprise that the power consumption of system requires and hardware pipeline on congestion condition and service priority, the internal memory of clock frequency, bus in one or more in the processing speed of result data in generating rate and the internal memory of raw data.From this four aspect, the concrete grammar of presently used PDR is disposed in explanation respectively below:
The power consumption requirement of system and the clock frequency on the hardware pipeline
Power consumption on the different system require and same system different application scene under power consumption require normally differently, can utilize the power consumption requirement after the change, dispose presently used PDR.At this; Require and two factor configuration datas of clock frequency processing speed in conjunction with power consumption; Mainly consider when change that power consumption requires causes clock frequency to change; Can be through changing the change that PDR adapts to power consumption, so other factors that cause power consumption to require to change are no longer gone through at this.
When the change that requires when system power dissipation in the present embodiment causes the clock frequency on the hardware pipeline to change, dispose presently used PDR and satisfy required data volume processing power.
Under the situation that the data volume processing power remains unchanged; If the clock frequency on the current configuration moment hardware pipeline is lower than the clock frequency on first configuration hardware pipeline constantly; Then dispose presently used PDR and be higher than first configuration pairing PDR constantly; Otherwise, dispose presently used PDR and be lower than first configuration pairing PDR constantly.
First configuration can be the moment before the current configuration constantly constantly, also can be the moment after the current configuration constantly.In this case; Be to keep certain data processing capability, when system requirements reduces power consumption and causes the slowing of clocks, improve the data volume that per clock period reads; When system can tolerate that big power consumption improves clock frequency, reduce the data volume that per clock period reads.
The concrete numerical value of the PDR that is disposed can according to the variable quantity of the data-handling capacity that will keep and clock frequency confirm.
The congestion condition of bus and service priority
According to the congested control requirement of bus and the service priority of current business, dispose presently used PDR and satisfy service priority and congested control requirement.
The congested control of above-mentioned bus requires to surpass congested discrimination threshold for the congestion condition differentiation amount that does not allow bus; Promptly the congestion condition to bus is provided with congestion state differentiation amount; And the tolerable congested discrimination threshold of the system that is provided with; When congestion condition differentiation amount surpassed congested discrimination threshold, the congestion situation on the expression bus was more serious, needs to adopt the measure of alleviate congestion.
When utilizing the change alleviate congestion of PDR, a factor also need considering is exactly professional priority, when service priority is higher; For example, current business is the business of relatively paying close attention to, and does not advise coming alleviate congestion through reducing this professional PDR; Have only when service priority is low, for example, the service priority of current business is lower than level threshold; Be the attention rate of current business when low, just come alleviate congestion through reducing this professional PDR.
Surpass congested discrimination threshold if inscribe the congestion condition differentiation amount of bus during current the configuration; And the service priority of current business is lower than level threshold; And first configuration time is inscribed the congestion condition differentiation amount of bus and is lower than congested discrimination threshold, then disposes presently used PDR and is lower than first configuration pairing PDR constantly.
Utilize above-mentioned congestion state to differentiate when scale is levied current configuration and inscribe the congestion situation of bus, this congestion state differentiation amount can be the statistical value to a period of time internal bus congestion situation.The concrete value of above-mentioned congested discrimination threshold can be provided with as required flexibly.
If judge current bus and be in congestion condition, and at this moment a plurality of equipment reduce PDR when needing access bus, just can on average arrive the data volume that all need handle in the longer time period, avoids increasing the weight of the congested of bus.
The generating rate of raw data in the internal memory
According to the generating rate of raw data in the internal memory, dispose the generating rate that presently used PDR is not less than said raw data.
Concrete; If the generating rate of raw data in the internal memory is inscribed in a last configuration when constantly employed PDR is not less than current configuration; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise; Increase a last configuration constantly employed PDR when being not less than current configuration, inscribe the generating rate of raw data in the internal memory, with the last employed PDR of a configuration moment after increasing as current employed PDR of the configuration moment.
In this case, when the generating rate of raw data accelerated, this programme can improve PDR, when the generating rate of raw data is slack-off, reduced PDR, thereby had both satisfied the requirement of data processing, had reduced the power consumption of system again.
The processing speed of result data in the internal memory
According to the processing speed of result data in the internal memory, dispose the processing speed that presently used PDR is not more than said result data.
Concrete; If the processing speed that a last configuration is inscribed result data in the internal memory when employed PDR is not more than current the configuration constantly; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise; Reduce last one and dispose employed PDR of the moment is inscribed result data in the internal memory when being not more than current configuration processing speed, the last employed PDR of a configuration moment after will reducing is as current employed PDR of the configuration moment.
In this case, can be processed very soon when finishing, can improve the PDR on the hardware pipeline, thereby can improve the processing speed of whole data when result data is follow-up; When result data when follow-up processing speed is slow, can reduce the PDR on the hardware pipeline, with the overlong time of avoiding pending data to wait for, increase the internal memory burden.
When the configuration data processing speed, can consider above-mentioned a kind of factor separately, also can two or more above-mentioned combined factors be considered together.
12: with the PDR notice hardware pipeline that is disposed;
Set up and be connected between first processing unit on CPU and the hardware pipeline and on this first processing unit, command interface be set;
Utilize command interface to receive this configuration order through CPU to said processing first module transmission configuration order and said first processing unit; With first processing unit on the PDR notice hardware pipeline that is disposed; When first processing unit is known the current PDR that disposes and is carried out data processing according to this PDR; Because each processing unit collaborative work on the hardware pipeline; Then all processing units on the hardware pipeline all carry out data processing according to this PDR, shown in the content of stating in the step 13 and 14 specific as follows.
13:, from internal memory, read raw data through bus according to the current PDR that disposes;
According to the PDR that is disposed, the processing unit on the hardware pipeline reads the raw data of corresponding data amount from internal memory.
14: the raw data that reads is carried out corresponding service handle, and the result data that will obtain after will handling is through the bus write memory.
Referring to Fig. 2, shown the schematic flow sheet the when embodiment of the invention is handled view data.Below in conjunction with Fig. 2 the disposal route of above-mentioned steps 11 to step 13 is described.
In the present embodiment, the processing procedure of view data be split as comprise following a plurality of step: as read, denoising, convergent-divergent, level and smooth, color conversion and write back etc., and through a plurality of hardware handles unit, executed in parallel is come speed up processing.Preferably; Speed adjustment function is set in reading unit, has command interface on the reading unit, receive configuration order; The through-rate control function reads raw data through bus from internal memory according to the indicated PDR of configuration order; Be sent to the denoising unit and handle, and pass through unit for scaling successively, the processing of smooth unit, color conversion cell etc., obtain result data.This result data is sent to writes back the unit, by write back the unit with result data through the bus write memory, form a new two field picture again to utilize result data.
The processing speed of above-mentioned each unit can be identical, and for example, the processing speed of each unit is consistent PDR all according to the current PDR that disposes, and the data processing path is more reasonable; Perhaps, the processing speed of above-mentioned each unit also can be different, and at this moment, the processing speed that requires unit for scaling, smooth unit, color conversion cell and write back unit etc. is not less than the PDR that is disposed, and promptly is not less than the data read rates of reading unit.
For example; Unit for scaling, smooth unit, color conversion cell and write back unit etc. according to first rate; Raw data to reading is carried out handled; And the result data that will obtain after will handling is through the bus write memory, and wherein, said first rate is not less than the current PDR that disposes (being the data read rates of reading unit).
Further, the maximum data processing speed in each PDR that is disposed in this programme need be less than the maximum data processing speed of being supported on the hardware pipeline, to guarantee the successful execution of data processing.
From the above mentioned, this programme is the processing time of unit data on the control hardware streamline rationally, satisfies the multiple requirement of data processing, avoids the sudden congested of bus, improves the overall performance of hardware chip.
The embodiment of the invention three also provides a kind of device of data processing, and referring to Fig. 3, this device comprises:
Rate controlled unit 31 is used to dispose presently used PDR, and, with the current PDR notice hardware pipeline that disposes;
Data processing unit 32 is used at hardware pipeline, carries out data processing according to the current PDR of being known that disposes.
Further, comprise first processing unit in each data processing unit, this first processing unit is provided with command interface.This first processing unit can be realized by the data-reading unit on the hardware pipeline.
Referring to Fig. 4, said rate controlled unit 31 also comprises connecting sets up unit 311, is used to set up being connected between rate controlled unit and said first processing unit,
Said rate controlled unit 31; Specifically be used to dispose presently used PDR; And, send configuration order through said connection to first processing unit, with several first processing units on the current PDR notice hardware pipeline that disposes;
Said first processing unit receives configuration order through this command interface, knows the current PDR that disposes.
Further, first processing unit can realize that above-mentioned data processing unit 32 comprises like lower unit by the data-reading unit on the hardware pipeline 321:
Said data-reading unit 321; Be provided with command interface, be used for receiving configuration order, according to the indicated current PDR that disposes of configuration order through this command interface; From internal memory, read raw data through bus, and this raw data is sent to Service Processing Unit 322;
Said Service Processing Unit 322 is used for handling carry out corresponding service from the raw data of data-reading unit, and the result data that obtains after handling is sent to data write unit 323;
Said data write unit 323 is used for said result data through the bus write memory.
Further; Said rate controlled unit 31; Specifically be used at hardware pipeline; At least two kinds of different PDRs are set, when the change of system power dissipation requirement causes the clock frequency variation on the hardware pipeline, dispose presently used PDR and satisfy required data volume processing power; And/or,
Said rate controlled unit 31; Specifically be used at hardware pipeline; At least two kinds of different PDRs are set,, dispose presently used PDR and satisfy service priority and congested control requirement according to the congested control requirement of bus and the service priority of current business; And/or,
Said rate controlled unit 31; Specifically be used at hardware pipeline; At least two kinds of different PDRs are set,, dispose the generating rate that presently used PDR is not less than said raw data according to the generating rate of raw data in the internal memory; And/or,
Said rate controlled unit 31; Specifically be used at hardware pipeline; At least two kinds of different PDRs are set,, dispose the processing speed that presently used PDR is not more than said result data according to the processing speed of result data in the internal memory.
Concrete, rate controlled unit 31 can specifically comprise following at least a operation when carrying out the configuration of PDR according to above-mentioned configuration mode:
Said rate controlled unit 31; Specifically be used under the situation that the data volume processing power remains unchanged; If the clock frequency on the current configuration moment hardware pipeline is lower than the clock frequency on first configuration hardware pipeline constantly; Then dispose presently used PDR and be higher than first configuration pairing PDR constantly, otherwise, dispose presently used PDR and be lower than first configuration pairing PDR constantly; And, with the current PDR notification data processing unit that disposes;
And/or,
Said rate controlled unit 31; Specifically be used for requiring to surpass congested discrimination threshold for the congestion condition differentiation amount that does not allow bus when the congested control of bus; Surpass congested discrimination threshold if inscribe the congestion condition differentiation amount of bus during current the configuration; And the service priority of current business is lower than level threshold, and first configuration time is inscribed the congestion condition differentiation amount of bus and is lower than congested discrimination threshold, then disposes presently used PDR and is lower than first configuration pairing PDR constantly; And, with the current PDR notification data processing unit that disposes; And/or
Said rate controlled unit 31; Specifically be used for if the generating rate of internal memory raw data is inscribed in a last configuration when constantly employed PDR is not less than current configuration; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise, increase a last configuration constantly employed PDR when being not less than current configuration, inscribe the generating rate of raw data in the internal memory, with the last employed PDR of a configuration moment after increasing as current employed PDR of the configuration moment; And, with the current PDR notification data processing unit that disposes; And/or,
Said rate controlled unit 31; Specifically be used for if the processing speed that a last configuration is inscribed the internal memory result data when employed PDR is not more than current the configuration constantly; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise, reducing last one and dispose employed PDR of the moment is inscribed result data in the internal memory when being not more than current configuration processing speed, the last employed PDR of a configuration moment after will reducing is as current employed PDR of the configuration moment; And, with the current PDR notification data processing unit that disposes.
Further, said rate controlled unit 31 also specifically is used for when the presently used PDR of configuration, and the maximum data processing speed in the PDR that is disposed is less than the maximum data processing speed of being supported on the hardware pipeline.
The speed of data is handled or write to the speed of above-mentioned data-reading unit reading of data and Service Processing Unit, data write unit can be identical; Also can be different; For example: said Service Processing Unit; Specifically be used for according to first rate, handle, the result data that obtains after handling is sent to data write unit carry out corresponding service from the raw data of data-reading unit; Said data write unit specifically is used for according to first rate, and said result data is passed through the bus write memory; Wherein, said first rate is not less than the current PDR that disposes in said rate controlled unit (promptly being not less than the speed of data-reading unit reading of data).
Above-mentioned each unit can be realized separately, also can some unit be integrated realization.Exemplary, above-mentioned rate controlled unit can be realized in the CPU of hardware chip.
By above-mentioned visible, the technical scheme of the embodiment of the invention can adopt different PDRs according to actual conditions through a kind of variable PDR mechanism is set under different condition, realize the flexible adjustment of PDR on the hardware pipeline.
This programme is the processing time of unit data on the control hardware streamline rationally, satisfies the multiple requirement of data processing, avoids the sudden congested of bus, improves the overall performance of hardware chip.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (12)

1. the method for a data processing is characterized in that, this method comprises:
Dispose presently used PDR;
With the PDR notice hardware pipeline that is disposed, so that hardware pipeline carries out data processing according to the current PDR that disposes.
2. method according to claim 1 is characterized in that,
The presently used PDR of said configuration comprises:
Utilize the CPU on the hardware chip to dispose presently used PDR;
Said the PDR that disposed notice hardware pipeline is comprised:
Said hardware pipeline is provided with first processing unit, sets up on CPU and the hardware pipeline being connected and on first processing unit, command interface being set between first processing unit;
CPU sends configuration order to said first processing unit;
Said command interface receives this configuration order, so that first processing unit is known the current PDR that disposes.
3. method according to claim 1 is characterized in that, said hardware pipeline carries out data processing according to the current PDR that disposes and comprises:
According to the current PDR that disposes, from internal memory, read raw data through bus; The raw data that reads is carried out corresponding service handle, and the result data that obtains is passed through the bus write memory.
4. according to each described method of claim 1 to 3, it is characterized in that the presently used PDR of said configuration comprises:
When the change of system power dissipation requirement causes the clock frequency variation on the hardware pipeline, dispose presently used PDR and satisfy required data volume processing power;
And/or,
According to the congested control requirement of bus and the service priority of current business, dispose presently used PDR and satisfy service priority and congested control requirement; And/or
According to the generating rate of raw data in the internal memory, dispose the generating rate that presently used PDR is not less than said raw data; And/or,
According to the processing speed of result data in the internal memory, dispose the processing speed that presently used PDR is not more than said result data.
5. method according to claim 4 is characterized in that,
When the said change that requires when system power dissipation causes the clock frequency on the hardware pipeline to change, dispose presently used PDR and satisfy required data volume processing power and comprise:
Under the situation that the data volume processing power remains unchanged; If the clock frequency on the current configuration moment hardware pipeline is lower than the clock frequency on first configuration hardware pipeline constantly; Then dispose presently used PDR and be higher than first configuration pairing PDR constantly; Otherwise, dispose presently used PDR and be lower than first configuration pairing PDR constantly;
Said according to the congested control requirement of bus and the service priority of current business, dispose that presently used PDR satisfies service priority and congested control requirement comprises:
The congested control of said bus requires to surpass congested discrimination threshold for the congestion condition differentiation amount that does not allow bus; Surpass congested discrimination threshold if inscribe the congestion condition differentiation amount of bus during current the configuration; And the service priority of current business is lower than level threshold; And first configuration time is inscribed the congestion condition differentiation amount of bus and is lower than congested discrimination threshold, then disposes presently used PDR and is lower than first configuration pairing PDR constantly;
Said generating rate according to raw data in the internal memory, dispose the generating rate that presently used PDR is not less than said raw data and comprise:
If the generating rate of raw data in the internal memory is inscribed in a last configuration when constantly employed PDR is not less than current configuration; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise; Increase a last configuration constantly employed PDR when being not less than current configuration, inscribe the generating rate of raw data in the internal memory, with the last employed PDR of a configuration moment after increasing as current employed PDR of the configuration moment;
Said processing speed according to result data in the internal memory, dispose the processing speed that presently used PDR is not more than said result data and comprise:
If the processing speed that a last configuration is inscribed result data in the internal memory when employed PDR is not more than current the configuration constantly; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise; Reduce last one and dispose employed PDR of the moment is inscribed result data in the internal memory when being not more than current configuration processing speed, the last employed PDR of a configuration moment after will reducing is as current employed PDR of the configuration moment.
6. method according to claim 5 is characterized in that the maximum data processing speed in the PDR that is disposed is less than the maximum data processing speed of being supported on the hardware pipeline.
7. the device of a data processing is characterized in that, this device comprises:
The rate controlled unit is used to dispose presently used PDR, and, with the current PDR notice hardware pipeline that disposes;
Data processing unit is used at hardware pipeline, carries out data processing according to the current PDR of being known that disposes.
8. according to the said device of claim 7, it is characterized in that,
Said data processing unit comprises first processing unit, and this first processing unit is provided with command interface; Said rate controlled unit also comprises connecting sets up the unit, is used to set up being connected between rate controlled unit and said first processing unit,
Said rate controlled unit specifically is used to dispose presently used PDR, and, send configuration order through said connection to first processing unit, with first processing unit on the current PDR notice hardware pipeline that disposes;
Said first processing unit receives configuration order through this command interface, knows the current PDR that disposes.
9. said according to Claim 8 device is characterized in that said first processing unit is a data-reading unit, and said data processing unit also comprises Service Processing Unit and data write unit:
Said data-reading unit; Be provided with command interface, be used for receiving configuration order, according to the indicated current PDR that disposes of configuration order through this command interface; From internal memory, read raw data through bus, and this raw data is sent to Service Processing Unit;
Said Service Processing Unit is used for handling carry out corresponding service from the raw data of data-reading unit, and the result data that obtains is sent to data write unit;
Said data write unit is used for said result data through the bus write memory.
10. according to each described device of claim 7 to 9, it is characterized in that,
Said rate controlled unit specifically is used to adopt following mode to dispose presently used PDR:
Said rate controlled unit specifically is used for when the change of system power dissipation requirement causes the clock frequency variation on the hardware pipeline, disposing presently used PDR and satisfying required data volume processing power; And/or,
Said rate controlled unit specifically is used for according to the congested control requirement of bus and the service priority of current business, disposes presently used PDR and satisfies service priority and congested control requirement; And/or,
Said rate controlled unit specifically is used for the generating rate according to the internal memory raw data, disposes the generating rate that presently used PDR is not less than said raw data; And/or,
Said rate controlled unit specifically is used for the processing speed according to the internal memory result data, disposes the processing speed that presently used PDR is not more than said result data.
11. according to claim 10 described device, it is characterized in that,
Said rate controlled unit; Specifically be used under the situation that the data volume processing power remains unchanged; If the clock frequency on the current configuration moment hardware pipeline is lower than the clock frequency on first configuration hardware pipeline constantly; Then dispose presently used PDR and be higher than first configuration pairing PDR constantly, otherwise, dispose presently used PDR and be lower than first configuration pairing PDR constantly; And, with the current PDR notification data processing unit that disposes;
And/or,
Said rate controlled unit; Specifically be used for requiring to surpass congested discrimination threshold for the congestion condition differentiation amount that does not allow bus when the congested control of bus; Surpass congested discrimination threshold if inscribe the congestion condition differentiation amount of bus during current the configuration; And the service priority of current business is lower than level threshold, and first configuration time is inscribed the congestion condition differentiation amount of bus and is lower than congested discrimination threshold, then disposes presently used PDR and is lower than first configuration pairing PDR constantly; And, with the current PDR notification data processing unit that disposes; And/or,
Said rate controlled unit; Specifically be used for if the generating rate of internal memory raw data is inscribed in a last configuration when constantly employed PDR is not less than current configuration; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise, increase a last configuration constantly employed PDR when being not less than current configuration, inscribe the generating rate of raw data in the internal memory, with the last employed PDR of a configuration moment after increasing as current employed PDR of the configuration moment; And, with the current PDR notification data processing unit that disposes; And/or,
Said rate controlled unit; Specifically be used for if the processing speed that a last configuration is inscribed the internal memory result data when employed PDR is not more than current the configuration constantly; Then will go up employed PDR of a configuration moment as current employed PDR of the configuration moment; Otherwise, reducing last one and dispose employed PDR of the moment is inscribed result data in the internal memory when being not more than current configuration processing speed, the last employed PDR of a configuration moment after will reducing is as current employed PDR of the configuration moment; And, with the current PDR notification data processing unit that disposes.
12. device according to claim 10 is characterized in that,
Said rate controlled unit also specifically is used for when the presently used PDR of configuration, and the maximum data processing speed in the PDR that is disposed is less than the maximum data processing speed of being supported on the hardware pipeline.
CN201110379988.3A 2011-11-25 2011-11-25 Data processing method and device Expired - Fee Related CN102411492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110379988.3A CN102411492B (en) 2011-11-25 2011-11-25 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110379988.3A CN102411492B (en) 2011-11-25 2011-11-25 Data processing method and device

Publications (2)

Publication Number Publication Date
CN102411492A true CN102411492A (en) 2012-04-11
CN102411492B CN102411492B (en) 2014-04-23

Family

ID=45913581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110379988.3A Expired - Fee Related CN102411492B (en) 2011-11-25 2011-11-25 Data processing method and device

Country Status (1)

Country Link
CN (1) CN102411492B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685890A (en) * 2013-12-05 2014-03-26 华南理工大学 Intelligent camera with dynamic reconfiguration image processing function and dynamic reconfiguration method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6081886A (en) * 1997-04-03 2000-06-27 Nec Corporation Holding mechanism for changing operation modes in a pipelined computer
US20010049711A1 (en) * 2000-05-31 2001-12-06 Motoo Nishihara Pipeline processing type shaping apparatus and its method
US20020116599A1 (en) * 1996-03-18 2002-08-22 Masahiro Kainaga Data processing apparatus
CN101464721A (en) * 2007-12-19 2009-06-24 国际商业机器公司 Method and system for controlling power consumption of pipeline processor
CN101520725A (en) * 1999-12-23 2009-09-02 英特尔公司 Microprocessor with digital power throttle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116599A1 (en) * 1996-03-18 2002-08-22 Masahiro Kainaga Data processing apparatus
US6081886A (en) * 1997-04-03 2000-06-27 Nec Corporation Holding mechanism for changing operation modes in a pipelined computer
CN101520725A (en) * 1999-12-23 2009-09-02 英特尔公司 Microprocessor with digital power throttle
US20010049711A1 (en) * 2000-05-31 2001-12-06 Motoo Nishihara Pipeline processing type shaping apparatus and its method
CN101464721A (en) * 2007-12-19 2009-06-24 国际商业机器公司 Method and system for controlling power consumption of pipeline processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685890A (en) * 2013-12-05 2014-03-26 华南理工大学 Intelligent camera with dynamic reconfiguration image processing function and dynamic reconfiguration method thereof
CN103685890B (en) * 2013-12-05 2017-04-05 华南理工大学 The smart camera and its method for dynamic reconfiguration of dynamic recognition image processing function

Also Published As

Publication number Publication date
CN102411492B (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN109271335B (en) FPGA implementation method for DDR cache of multi-channel data source
CN1026733C (en) Multi-media signal processor computer system
CN108712626B (en) Multichannel image acquisition system
EP3255553B1 (en) Transmission control method and device for direct memory access
EP3822798B1 (en) Memory access technology and computer system
US20060161694A1 (en) DMA apparatus
CN102866971A (en) Data transmission device, system and method
CN112835829B (en) Method for multi-channel DMA transmission measurement and control signal
CN102541779A (en) System and method for improving direct memory access (DMA) efficiency of multi-data buffer
CN102331977A (en) Memory controller, processor system and memory access control method
US8549181B2 (en) Semiconductor memory device and method of operating the semiconductor memory device
CN103686345A (en) Video content comparing method based on digital signal processor
CN109684244A (en) I2C bus host optimized transmission method and device for more slave systems
CN102411492A (en) Data processing method and device
CN107066413A (en) A kind of method and its bus system for being used to handle multiple bus apparatus data
CN114328350A (en) Communication method, device and medium based on AXI bus
CN101634956B (en) Dispatching method and dispatcher of information of polynuclear processor
KR20110134465A (en) Data transmission system and data read method thereof
CN101303675B (en) Data transmission method for data processing equipment and data processing equipment
CN115981893A (en) Message queue task processing method and device, server and storage medium
CN102104487B (en) Message processing method and equipment
CN104486257A (en) Graded sending dispatching circuit structure based on AFDX network switch chip
CN101340595A (en) Method and apparatus for image data reading back
CN206479978U (en) A kind of bus system for being used to handle multiple bus apparatus data
CN102708010B (en) Compression tool resource transferring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151020

Address after: 100080, Zhongguancun street, 11, Beijing world wealth center, A block, 12 floor

Patentee after: BEIJING BOXIN SHITONG TECHNOLOGY CO., LTD.

Patentee after: Beijing Chuangyi Vision Technology Co., Ltd.

Address before: 100084, A, building 8, building 1, Tsinghua Science and Technology Park, No. Zhongguancun East Road, Haidian District, Beijing

Patentee before: Beijing Chuangyi Vision Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140423

Termination date: 20191125