Specific embodiment
By the technology contents of the detailed description present invention, structural feature, realized purpose and effect, below in conjunction with embodiment
And coordinate accompanying drawing to be explained in detail.
Refer to Fig. 1, be the apparatus function module diagram of the reading scene decline low-power consumption in embodiment of the present invention,
This device 100 can apply in an electronic equipment 10, and this electronic equipment 10 includes ddr memory 104 and display 114, should
Electronic equipment 10 can be the electronic equipments such as mobile phone, panel computer.
Refer to Fig. 2, this device 100 includes processing unit 101, internal processes memory cell 102, configuration information unit
103rd, ddr controls and peek unit 105, frame interior buffer unit 106, word scene judging unit 107, current line buffer unit
108th, previous line buffer unit 109, interframe comparing unit 110, result judging unit 111, display gating unit 112 and display
Control unit 113.
Wherein, this configuration information unit 103 is used for storing display control information, for example, the width of image to be displayed and height
Degree, image storage address in ddr etc..This ddr memory 104 is used for storing image to be displayed data and system operation journey
Sequence.This internal processes memory cell 102 is used for storing the system program of current operation.
Before this device 100 is started working, this processing unit 101 need to the unit of configuration in need carry out in advance
Configure, comprising: control the display control information of this configuration information unit 13, for example, the width of image to be displayed and height, image
Storage address in ddr etc., and configure all of judgement threshold information in this word scene judging unit 107.At this
Reason unit 101 also carries out initialization operation to this ddr memory 104, and all images to be displayed are preserved to this ddr memory
In 104.
This ddr controls and peek unit 105 is used for controlling startup and the dormancy of this ddr memory 104, and deposits from this ddr
View data is read in reservoir 104.
Specifically, when this device 100 is started working, this ddr controls and peek unit 105 activates this ddr memory
104, and shown by row reading the first frame from this ddr memory 104 according to the relevant configuration information of this configuration information unit 103
Image, and this view data is sent to this word scene judging unit 107, current line buffer unit 108 and frame interior
Buffer unit 106.
The row data of the view data that the extraction of this current line buffer unit 108 receives, and cache this picturedeep evidence
Row data, and data cached send more single to word scene judging unit 107, this display gating unit 112 and interframe
Unit 110.
This word scene judging unit 107 be used for according to this ddr control and peek unit 105 send view data and
The line number that this current line buffer unit 108 sends is it is judged that whether currently displaying scene is word read scene, and judgement is tied
Fruit exports to this result judging unit 111.
The view data that this previous line buffer unit 109 caches from this frame interior buffer unit 106 reads and this is current
The previous frame image row data of same number of rows in line buffer unit 108, and the row data are sent to this interframe comparing unit 110
With this display gating unit 112.
This interframe comparing unit 110 is used for according to send data cached of this current line buffer unit 108 and this is previous
The previous frame image line number that line buffer unit 109 sends it is judged that the pixel situation of change of present frame and former frame same position,
And significantly change according to whether content occurring between pixel situation of change judgment frame and frame, it is additionally operable to judged result to be sent to this knot
With the judged result producing with reference to this word scene judging unit 107, fruit judging unit 111, to decide whether that this ddr of dormancy deposits
Reservoir 104.
Please refer to Fig. 3, it is the functional module framework of the word scene judging unit 107 in embodiment of the present invention
Figure.This word scene judging unit 107 includes horizontal decision circuitry 207, longitudinal decision circuitry 307 and final judging unit 407.
Wherein, this horizontal decision circuitry 207 includes horizontal pixel counting unit 2071, first order picture element caching unit 2072, the second level
Picture element caching unit 2073, transversal discrepancy computing unit 2074, transversal discrepancy memory cell 2075 and horizontal word judging unit
2076.
The row data of the view data that this horizontal pixel counting unit 2071 controls to this ddr and peek unit 105 inputs
Number of pixels counted, and when count value reaches image broadband, row end signal is sent judge to this horizontal word single
Unit 2076.This first order picture element caching unit 2072 uses the image that register group controls and peek unit 105 inputs to this ddr
The current pixel value of data is stored.This second level picture element caching unit 2073 uses register group that this first order pixel is delayed
The current pixel value of memory cell 2072 output is stored, and this transversal discrepancy computing unit 2074 calculates this first order picture element caching
The difference of the pixel value of unit 2072 and second level picture element caching unit 2073 caching, i.e. correspond to horizontally adjacent two in image
The difference of individual pixel value, then sends difference and preserves to this transversal discrepancy memory cell 2075.This horizontal word judging unit
The difference of 2076 pixel values being preserved according to this transversal discrepancy memory cell 2075, i.e. in full line, significantly jumping occur in adjacent pixel values
The ratio becoming, judges whether this row is horizontal literal line.At the end of this row pixel calculation 2071 notifies full line computing,
If the ratio that significantly saltus step in adjacent pixel values exceedes judgement threshold value, judge the behavior horizontal literal line.Wherein, sentence
Disconnected it is whether the threshold value of significantly saltus step and determines whether that the significantly saltus step ratio threshold value of word lateral line is all can be in advance
Configuration.For example, it may be judged whether the threshold value for significantly saltus step be configurable to 100 (when pixel value range be 8bit, 0~255
When), i.e. significantly saltus step can be judged as when two Difference of Adjacent Pixels are more than 100.Determine whether the big of word lateral line
Width saltus step ratio threshold value is configurable to 40%, i.e. be judged in a full line that the neighbor number of significantly saltus step exceedes whole
Row pixel value number 40% when judge the behavior horizontal literal line.
This longitudinal decision circuitry 307 includes line number counter unit 3071, longitudinal difference computational unit 3072, longitudinal difference
Memory cell 3073 and longitudinal word judging unit 3074.This longitudinal difference computational unit 3072 calculates this current line buffer unit
108 and this previous line buffer unit 109 in the pixel value of each correspondence position difference, i.e. correspond in image vertically adjacent to
Two margin of image element, and preserved the difference of this pixel value by this longitudinal Difference Storage unit 3073.This line number counter unit
3071 pairs of line numbers having carried out differential vertical computing count, and notify this longitudinal direction when count value reaches the height of image
Word judging unit 3074 is judged, this longitudinal word judging unit 3074 then occurs according to vertical adjacent pixels value in permutation
Significantly the ratio of saltus step is judging whether this row is longitudinal text line.When the ratio that significantly saltus step in vertical adjacent pixels value surpasses
When crossing judgement threshold value, then judge behavior longitudinal direction text line.Wherein, determine whether that the threshold value of significantly saltus step and judgement are
The no significantly saltus step ratio threshold value for word longitudinal row all can be pre-configured with.Such as, determine whether significantly saltus step
Threshold value be configurable to 100 (when pixel value range be 8bit, 0~255 when), that is, when two vertical adjacent pixels differences
Significantly saltus step can be judged as during more than 100.Determine whether that the significantly saltus step ratio threshold value of word longitudinal row can configure
Vertical adjacent pixels number for being judged to significantly saltus step in 40%, that is, a permutation exceedes the 40% of entire row of pixels value number
When, judge behavior longitudinal direction text line.
The horizontal literal line that this final judging unit 407 stores the often row being obtained by this horizontal judging unit 2076 judges knot
Fruit and longitudinal text line judged result of each column being obtained by this longitudinal word judging unit 3074, and according to horizontal literal line
Account for total column number proportion and longitudinal text line accounts for the threshold value of total columns ratio and judges whether this picture frame is word content frame.Its
In, horizontal literal line accounts for total column number proportion and longitudinal text line accounts for total columns ratio and can be pre-configured with.For example, horizontal literal line accounts for
Total column number proportion thresholding is configured to 60, and it is 80% that longitudinal text line accounts for total columns proportional arrangement, then when the horizontal literary composition of whole two field picture
Word row accounts for total column number proportion more than 60% and when longitudinal text line accounts for total columns ratio more than 80%, and this frame is judged as word
Content frame.
This result judging unit 111 is used for judged result and the judgement of this word scene according to this interframe comparing unit 110
The judged result of unit 107 carries out the judgement of final scene, and will determine that result is sent to ddr control and peek unit 105.This shows
Show gating unit 112 for carrying out path selection according to the judged result of this result judging unit 111, i.e. being judged to word
Read the data strobe of former frame row cache during scene, otherwise by the data strobe of current row cache.This display control unit
Data to be displayed is converted into the data time sequence that display screen can directly display and calls display unit 114 to show by 113.
Further, this frame interior buffer unit 106 stores by ddr control and peek unit 105 from ddr memory 104
The frame data of the present frame obtaining, and when this word scene judging unit 107 determines that current is to read scene and no user operation
Shi Chixu provides display image data, provides the view data of former frame when next frame shows for computing simultaneously.
Specifically, when showing the first two field picture, this display gating unit of control of this result judging unit 111 output
112 initial control values are to gate current row cache, and now the view data of the first frame can pass through this display from current row cache
Gating unit 112, then call this display unit 114 to show by this display control unit 113.Finish when the first two field picture shows
Afterwards, the view data of stored lower first frame of this frame interior buffer unit 106, now starts the display of the second two field picture.And
As described above, display the second two field picture.Meanwhile, this word scene judging unit 107 starts the word read scene of present frame
Judged result is sent to this result judging unit 111, and the result that interframe change judges also can be sent to this by this interframe comparing unit 110
Result judging unit 111.This result judging unit 111 is according to the judged result of this word scene judging unit 107 and this interframe
The interframe change judged result that comparing unit 110 determines judges whether to notify this ddr to control and peek unit 105 controls this ddr
Memory 104 dormancy.When being defined as word read scene and interframe is unchanged, this result judging unit 111 notifies this ddr to control
System and peek unit 105 control this ddr memory 104 dormancy, and the gating path clustering of this display gating unit 112 is changed into
Former frame row cache, otherwise continues to repeat to show as mentioned above next two field picture.
When this result judging unit 111 notifies this ddr to control and peek unit 105 this ddr memory 104 dormancy of control
When, when there being user operation input, this processing unit 101 is also responsive to this user operation and notifies this result judging unit 111, triggering
This result judging unit 111 notifies this ddr to control and peek unit 105 reactivates this ddr memory 104, and this is shown
The path of gating unit 112 switches to current row cache again in next frame.
Refer to Fig. 4, be the high-level schematic functional block diagram of the interframe comparing unit in embodiment of the present invention.This interframe compares
Unit 110 includes Difference Storage unit 210, line number counter unit 211, interframe judging unit 212 and difference computational unit
213.This difference computational unit 213 reads row data from current line buffer unit 108 and previous line buffer unit 109, and right
The pixel of each of full line correspondence position carries out difference operation, and is stored the difference of this pixel value by this Difference Storage unit 210
Value.This line number counter unit 211 counts to the line number having entered row operation, when the height that count value reaches image notifies
This interframe judging unit 212 is judged, this interframe judging unit 212 accounts for the ratio of image pixel according to pixel unchanged in every frame
Example threshold value judges that currently whether whole two field picture is unchanged image, and judged result is sent to this result relative to previous frame image
Judging unit 111.Wherein, in every frame, unchanged pixel accounts for the ratio threshold value of image pixel and judges pixel for unconverted picture
Plain difference threshold all can be pre-configured with.
For example, judge pixel be configurable to 10 for unconverted pixel value difference threshold value (when pixel value range is 8bit,
During 0~255 scope), i.e. can be judged as this pixel when in front and back's two pixel value differences of two frame correspondence positions are more than 10 has change
Change.In every frame, unchanged pixel accounts for the ratio threshold value of image pixel and is configurable to be judged in 80%, that is, a permutation
When unchanged number of pixels exceedes the 80% of whole frame pixel value number, judge this frame relative to previous frame image as unchanged image.
Refer to Fig. 5, be the schematic flow sheet of the method for reading scene decline low-power consumption in embodiment of the present invention, should
Method includes:
Step s30, this processing unit 101 need to the unit of configuration in need be pre-configured with, comprising: controlling should
The display control information of configuration information unit 13, for example, the width of image to be displayed and height, storage in ddr for the image
Location etc., and configure all of judgement threshold information in this word scene judging unit 107.This processing unit 101 is also to this
Ddr memory 104 carries out initialization operation, and all images to be displayed are preserved to this ddr memory 104.
Step s31, when this device 100 is started working, this ddr controls and peek unit 105 activates this ddr memory
104, and shown by row reading the first frame from this ddr memory 104 according to the relevant configuration information of this configuration information unit 103
Image, and this view data is sent to this word scene judging unit 107, current line buffer unit 108 and frame interior
Buffer unit 106.
Step s32, the row data of the view data that the extraction of this current line buffer unit 108 receives, and cache this image
The row data of row data, and send to word scene judging unit 107, this display gating unit 112 and frame data cached
Between comparing unit 110.
Step s33, the view data that this word scene judging unit 107 controls according to this ddr and peek unit 105 sends
And the line number that this current line buffer unit 108 sends is it is judged that whether currently displaying scene is word read scene, if so, then
Enter step s34, otherwise, return to step s31.
Please refer to Fig. 6, controlled according to this ddr for this word scene judging unit 107 and peek what unit 105 sent
The line number of view data and the transmission of this current line buffer unit 108 is it is judged that whether currently displaying scene is word read scene
Sub-process, comprising:
Step s330, the view data that this horizontal pixel counting unit 2071 controls to this ddr and peek unit 105 inputs
The number of pixels of row data counted, and when count value reaches image broadband, row end signal is sent to this horizontal literary composition
Word judging unit 2076.
Step s331, this first order picture element caching unit 2072 uses register group that this ddr is controlled and peek unit 105
The current pixel value of the view data of input is stored.
Step s332, this second level picture element caching unit 2073 uses register group to this first order picture element caching unit
The current pixel value of 2072 outputs is stored.
Step s333, this transversal discrepancy computing unit 2074 calculates this first order picture element caching unit 2072 and second level picture
The difference of the pixel value of plain buffer unit 2073 caching, i.e. correspond to the difference of horizontally adjacent two pixel values in image, then
Difference sends and preserves to this transversal discrepancy memory cell 2075.
Step s334, the pixel value that this horizontal word judging unit 2076 preserves according to this transversal discrepancy memory cell 2075
Difference, i.e. in full line, the ratio of significantly saltus step in adjacent pixel values, judge whether this row is horizontal literal line.If so, then enter
Enter step s335, otherwise, return to step s330.
Wherein, the threshold value determining whether significantly saltus step and the significantly saltus step ratio door determining whether word lateral line
Limit value all can be pre-configured with.For example, it may be judged whether being configurable to 100 (when pixel value model for the threshold value of significantly saltus step
When enclosing for 8bit, 0~255), i.e. significantly saltus step can be judged as when two Difference of Adjacent Pixels are more than 100.Judge whether
Significantly saltus step ratio threshold value for word lateral line is configurable to 40%, i.e. be judged to the phase of significantly saltus step in a full line
Adjacent number of pixels exceedes the judgement behavior horizontal literal line during the 40% of entire row of pixels value number.
Step s335, this longitudinal difference computational unit 3072 calculates this current line buffer unit 108 and this previous row cache
The difference of the pixel value of each correspondence position in unit 109, i.e. correspond in image vertically adjacent to two margin of image element, and
Preserve the difference of this pixel value by this longitudinal Difference Storage unit 3073.
Step s336, this line number counter unit 3071 counts to the line number having carried out differential vertical computing, and
Notify this longitudinal word judging unit 3074 to be judged when count value reaches the height of image.
Step s337, significantly saltus step according to vertical adjacent pixels value in permutation in this longitudinal word judging unit 3074
Ratio is judging whether this row is longitudinal text line.If so, step s338, otherwise, return to step s335 are then entered.
Wherein, the threshold value determining whether significantly saltus step and the significantly saltus step ratio door determining whether word longitudinal row
Limit value all can be pre-configured with.Such as, determine whether that the threshold value of significantly saltus step is configurable to 100 (when pixel value model
When enclosing for 8bit, 0~255), that is, significantly saltus step can be judged as when two vertical adjacent pixels differences are more than 100.Sentence
Whether disconnected be that the significantly saltus step ratio threshold value of word longitudinal row is configurable to be judged to significantly in 40%, that is, a permutation
When the vertical adjacent pixels number of saltus step exceedes the 40% of entire row of pixels value number, judge behavior longitudinal direction text line.
Step s338, this final judging unit 407 stores the horizontal stroke often gone being obtained by this horizontal word judging unit 2076
To longitudinal text line judged result of literal line judged result and each column being obtained by this longitudinal word judging unit 3074, and
Total column number proportion is accounted for according to horizontal literal line and longitudinal text line accounts for the threshold value of total columns ratio and judges that whether this picture frame is
Word content frame.
Wherein, horizontal literal line accounts for total column number proportion and longitudinal text line accounts for total columns ratio and can be pre-configured with.For example, horizontal
Account for total column number proportion thresholding to literal line and be configured to 60, it is 80% that longitudinal text line accounts for total columns proportional arrangement, then when whole frame figure
The horizontal literal line of picture accounts for total column number proportion more than 60% and when longitudinal text line accounts for total columns ratio more than 80%, this frame quilt
It is judged to word content frame.
Step s34, this interframe comparing unit 110 is according to send data cached of this current line buffer unit 108 and should
The previous frame image line number that previous line buffer unit 109 sends is it is judged that the pixel of present frame and former frame same position changes feelings
Condition, and significantly change according to whether content occurring between pixel situation of change judgment frame and frame.If so, then enter step s35, no
Then, continue executing with step s34.
Step s35, this result judging unit 111 combines the judged result of this word scene judging unit 107 generation and is somebody's turn to do
Interframe comparing unit 110 produce judged result come to notify this ddr control and peek unit 105 whether control this ddr memory
104 dormancy and control this display gating unit 112 to carry out path selection.
Specifically, when being defined as word read scene and interframe is unchanged, this result judging unit 111 notifies this ddr
Control and peek unit 105 controls this ddr memory 104 dormancy, and the gating path clustering of this display gating unit 112 is become
For former frame row cache, otherwise continue to repeat to show as mentioned above next two field picture.
Further, when this result judging unit 111 notifies this ddr to control and peek unit 105 controls this ddr memory
During 104 dormancy, when there being user operation input, this processing unit 101 is also responsive to this user operation and notifies this result judging unit
111, trigger this result judging unit 111 and notify this ddr control and peek unit 105 to reactivate this ddr memory 104, and
The path of this display gating unit 112 is switched to current row cache again in next frame.
Refer to Fig. 7, for this interframe comparing unit 110 according to this current line buffer unit 108 send data cached with
And the previous frame image line number that this previous line buffer unit 109 sends is it is judged that the pixel of present frame and former frame same position becomes
Change situation, and according between pixel situation of change judgment frame and frame, whether the sub-process that content significantly changes occurs, comprising:
Step s340, this difference computational unit 213 is from current row cache when reading 108 and previous line buffer unit 109
Row data, and difference operation is carried out to the pixel of each of full line correspondence position, and this is stored by this Difference Storage unit 210
The difference of pixel value.
Step s341, this line number counter unit 211 counts to the line number having entered row operation, when count value reaches
The height of image notifies this interframe judging unit 212 to be judged.
Step s342, this interframe judging unit 212 accounts for the ratio threshold value of image pixel according to pixel unchanged in every frame
Judge currently whether whole two field picture is unchanged image relative to previous frame image, and judged result is sent to this result judging unit
111.
Wherein, in every frame, unchanged pixel accounts for the ratio threshold value of image pixel and judges pixel for unconverted pixel difference
Value threshold value all can be pre-configured with.
A kind of device, equipment and method that can reduce power consumption in reading scene that the present invention provides, by answering to equipment
Judge to be currently during word read scene and user's no other operations then control ddr memory entrance dormancy shape with the detection of scene
State, and this ddr memory is waken up when screen changes, thus the power consumption of reading application scenarios under equipment is greatly reduced, and
And can quick response user operation, do not affect Consumer's Experience.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.