CN101388107A - Method for reducing flickering display for embedded browsers - Google Patents

Method for reducing flickering display for embedded browsers Download PDF

Info

Publication number
CN101388107A
CN101388107A CNA2008103047860A CN200810304786A CN101388107A CN 101388107 A CN101388107 A CN 101388107A CN A2008103047860 A CNA2008103047860 A CN A2008103047860A CN 200810304786 A CN200810304786 A CN 200810304786A CN 101388107 A CN101388107 A CN 101388107A
Authority
CN
China
Prior art keywords
memory
display
picture
internal memory
api
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
CNA2008103047860A
Other languages
Chinese (zh)
Other versions
CN101388107B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN2008103047860A priority Critical patent/CN101388107B/en
Publication of CN101388107A publication Critical patent/CN101388107A/en
Application granted granted Critical
Publication of CN101388107B publication Critical patent/CN101388107B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention relates to the computer technique, which solves the weakness of display flicker of embedded browsers and provides a method for reducing display flicker of embedded browsers. The technical scheme comprises that the method for reducing flicker display of embedded browsers is characterized by including the following steps: a, pre-defining a display region in the memory according to the size of a display terminal, b, designing and drawing the memory drawing function at the memory region via combining interface parameters of API of the bottom layer of graphic library of a browser, and corresponding to the drawing API function of the bottom layer to draw a picture part in the memory region, c, completing drawing the picture part, converting the picture in the memory region from internal memory to video memory by the drawing API of the graphic library and then displaying, d, displaying a word part, and performing output display directly via the interface function of the graphic library. The method has the advantages of high displaying efficiency with sound effect and little flicker, which is adaptable to embedded browsers.

Description

A kind of method that reduces flickering display for embedded browsers
Technical field
The present invention relates to computer technology, particularly the technology of built-in browser.
Background technology
As everyone knows, in Embedded facility environment, be subjected to the restriction of hardware condition, browser has almost been dominated all, become unique application software with user interactions, and built-in browser and general desktop browsers have nothing special on function difference, of paramount importance all is nothing but the tissue foundation of DOM (Document Object Model) tree, typesetting engine and display engine, wherein, allowing the user know from experience the most direct and deep should be the part of display engine, and the quality of its display effect and display efficiency will be directly connected to the height of whole browser quality assessment.In embedded limited hardware facility environment, browser is when resolving a webpage, owing to be in video memory, to carry out picture to draw, and video memory is in general all little, if therefore the picture of webpage the inside is many, when particularly network condition is not good, then each pictures is completed and is just shown, the phenomenon of flicker just appears showing very easily, on the technique for displaying principle, originally be unblamable, can be in a single day from user's angle, when using browser to browse EPG (the Electronic Program Guide) web page contents of oneself liking, frequent appearance flicker will allow people's vision accept, add if the display terminal size among the user own home is when bigger, show that the problem of flicker is just even more serious.
Summary of the invention
Technical matters to be solved by this invention exactly in order to solve the shortcoming of above-mentioned flickering display for embedded browsers, provides a kind of method that reduces flickering display for embedded browsers.
The present invention solves its technical matters, and the technical scheme of employing is that a kind of method that reduces flickering display for embedded browsers is characterized in that, may further comprise the steps:
A. according to the size of display terminal, pre-definedly in internal memory go out a viewing area;
B. in conjunction with the interface parameters of browser graphic bottom of the reservior layer API (Application Programming Interface), the internal memory drafting function of region of memory and the drawing API function correspondence of bottom are drawn in design, and the picture part is drawn in region of memory;
C. after finishing the drafting of picture, the picture in the internal memory viewing area is transferred to shape library drawing API carry out the conversion of internal memory, show to video memory;
D. word segment is shown, directly transfer to the shape library interface function and export demonstration;
Further, further comprising the steps of between step b and the step c:
E. set the threshold values that a threshold value is used as filling the internal memory viewing area, and whether decision enters next step according to threshold value;
Further comprising the steps of after the steps d:
F. part had before been failed the picture drawn in internal memory, treat its backstage download finish after, directly transfer to API shape library interface function and be plotted to video memory and show;
Concrete, the described threshold settings standard of step e is the stand-by period or the download rate of download pictures.
The invention has the beneficial effects as follows, can effectively reduce flickering display for embedded browsers, and owing to adopted the thinking of threshold value, also the browser unlike direct demonstration is slow on speed of displaying by above step, display efficiency height, effective, and glitter is few.
Description of drawings
Fig. 1 is the system flowchart of embodiment;
Embodiment
Below in conjunction with drawings and Examples, describe technical scheme of the present invention in detail.
The invention provides a kind of method that reduces flickering display for embedded browsers, at first according to the size of display terminal, pre-definedly in internal memory go out a viewing area, then in conjunction with the interface parameters of browser graphic bottom of the reservior layer API, design is drawn the internal memory of region of memory and is drawn function, drawing API function correspondence with bottom, the picture part is drawn in region of memory, and after the drafting of finishing picture, picture in the internal memory viewing area is transferred to shape library drawing API carry out the conversion of internal memory to video memory, show, at last word segment is shown, directly transfer to the shape library interface function and export demonstration.
Embodiment
This example provides a kind of method that reduces flickering display for embedded browsers, earlier save as virtual video memory with interior, treat with all pictures to be shown in internal memory, draw populated after, again with the bitmap of this internal memory as one " greatly ", the drawing API that transfers to bottom draws demonstration and gets final product, because network environment is poor sometimes, can not by the time all pictures all be downloaded and show again after getting off to be filled in the internal memory, so original framework in conjunction with the browser display module, the notion that adds threshold value, carry out internal memory filling demonstration earlier with downloading to local picture within most of threshold value, remaining transfer to the I/O module and display module continues to download on the backstage, directly transfer to shape library bottom API then and carry out independent video memory demonstration, its system flowchart such as Fig. 1.
At first according to the size of display terminal, pre-definedly in internal memory go out a viewing area, drawing after being provided with is used, as display terminal size be 640*480 often, be that definable one block size is the region of memory of 640*480, later background colour, background picture, picture are all here filled earlier; In conjunction with the interface parameters of browser graphic bottom of the reservior layer API, oneself design is drawn the internal memory of region of memory and drawn function, and is corresponding one by one with the drawing API function of former bottom, but is noted that using and changing of drawing coordinate; Set the threshold values that a threshold value is used as filling region of memory again, because will take into account display speed simultaneously, so can not wait until all at every turn that all pictures are all populated in internal memory, show output again, choosing according to can be of this threshold value according to the stand-by period, also the download rate that can download according to picture (picture of having downloaded accounts for the ratio of the sum that needs the picture that shows altogether) is carried out; After the drafting of finishing picture, the picture in the internal memory viewing area is transferred to shape library drawing API carry out internal memory and show, and word segment is directly transferred to the shape library interface function export demonstration to the conversion of video memory; Part had before been failed the picture drawn in internal memory, treat its backstage download finish after, directly transfer to the shape library interface function and be plotted to video memory and show.

Claims (4)

  1. [claim 1] a kind of method that reduces flickering display for embedded browsers is characterized in that, may further comprise the steps:
    A. according to the size of display terminal, pre-definedly in internal memory go out a viewing area;
    B. in conjunction with the interface parameters of browser graphic bottom of the reservior layer API, the internal memory drafting function of region of memory and the drawing API function correspondence of bottom are drawn in design, and the picture part is drawn in region of memory;
    C. after finishing the drafting of picture, the picture in the internal memory viewing area is transferred to shape library drawing API carry out the conversion of internal memory, show to video memory;
    D. word segment is shown, directly transfer to the shape library interface function and export demonstration.
  2. [claim 2] is characterized in that according to the described a kind of method that reduces flickering display for embedded browsers of claim 1, and be further comprising the steps of between step b and the step c:
    E. set the threshold values that a threshold value is used as filling the internal memory viewing area, and whether decision enters next step according to threshold value;
    Further comprising the steps of after the steps d:
    F. part had before been failed the picture drawn in internal memory, treat its backstage download finish after, directly transfer to API shape library interface function and be plotted to video memory and show.
  3. [claim 3] is characterized in that according to the described a kind of method that reduces flickering display for embedded browsers of claim 2 the described threshold settings standard of step e is the stand-by period.
  4. [claim 4] is characterized in that according to the described a kind of method that reduces flickering display for embedded browsers of claim 2, the download rate that the described threshold settings standard of step e is a download pictures.
CN2008103047860A 2008-08-01 2008-10-08 Method for reducing flickering display for embedded browsers Expired - Fee Related CN101388107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008103047860A CN101388107B (en) 2008-08-01 2008-10-08 Method for reducing flickering display for embedded browsers

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200810303318 2008-08-01
CN200810303318.1 2008-08-01
CN2008103047860A CN101388107B (en) 2008-08-01 2008-10-08 Method for reducing flickering display for embedded browsers

Publications (2)

Publication Number Publication Date
CN101388107A true CN101388107A (en) 2009-03-18
CN101388107B CN101388107B (en) 2011-02-16

Family

ID=40477513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008103047860A Expired - Fee Related CN101388107B (en) 2008-08-01 2008-10-08 Method for reducing flickering display for embedded browsers

Country Status (1)

Country Link
CN (1) CN101388107B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117345A1 (en) * 2014-08-25 2015-08-13 中兴通讯股份有限公司 Method and device for displaying background

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015117345A1 (en) * 2014-08-25 2015-08-13 中兴通讯股份有限公司 Method and device for displaying background
CN105472106A (en) * 2014-08-25 2016-04-06 中兴通讯股份有限公司 Background display method and device

Also Published As

Publication number Publication date
CN101388107B (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN103870055B (en) It is integrated with display device and its driving method of touch screen
US9899002B2 (en) Information processing methods for displaying parts of an object on multiple electronic devices
CN104166569A (en) Front-end page loading method and system
CN103631958B (en) A kind of page automatic adaptation realizes the method that content multi-screen is shown
CN106296566A (en) A kind of virtual reality mobile terminal dynamic time frame compensates rendering system and method
CN103514241A (en) Image loading method and system
CN101834938A (en) Device and method for realizing horizontal/vertical screen switching of mobile terminal
CN106095437A (en) The implementation method of the layout type of user interface RTL from right to left and device
CN105335410B (en) A kind of webpage update method and device that acceleration is rendered based on synthesis
US11551392B2 (en) Graphic drawing method and apparatus, device, and storage medium
CN103247068B (en) A kind of rendering intent and device
CN109785816B (en) Mobile terminal and display control method thereof
CN105528217A (en) Partial refreshing method and device based on display list
CN103365621A (en) Image processing method and device
CN103247283A (en) Screen refreshing method and device
CN102957681A (en) Embedded browser, intelligent household appliance and intelligent system of internet of things
CN105096365A (en) 3D interface local refreshing method and system
CN101388107B (en) Method for reducing flickering display for embedded browsers
CN109951732A (en) The method that Android intelligent television prevents boot LOGO Yu application switching blank screen
CN104133869B (en) A kind of Webpage method for refreshing
CN103780651B (en) Asynchronised handover, method and system that are newly-increased, closing the page
CN103077697B (en) A kind of cloud displayer supporting the full frame display of the dynamic convergent-divergent of picture
CN104740873A (en) Image rendering method for game
CN103747191A (en) Network interaction high-definition character superimposition system
CN111694532A (en) Display control method of single-chip heterogeneous system and wearable 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
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: 20110216

Termination date: 20201008