CN102279720B - Method and system for updating screen display contents - Google Patents

Method and system for updating screen display contents Download PDF

Info

Publication number
CN102279720B
CN102279720B CN201010195308.8A CN201010195308A CN102279720B CN 102279720 B CN102279720 B CN 102279720B CN 201010195308 A CN201010195308 A CN 201010195308A CN 102279720 B CN102279720 B CN 102279720B
Authority
CN
China
Prior art keywords
displaying contents
renewal
screen display
display content
selected object
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.)
Active
Application number
CN201010195308.8A
Other languages
Chinese (zh)
Other versions
CN102279720A (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201010195308.8A priority Critical patent/CN102279720B/en
Publication of CN102279720A publication Critical patent/CN102279720A/en
Application granted granted Critical
Publication of CN102279720B publication Critical patent/CN102279720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for updating screen display contents. The method comprises the following steps of: acquiring non-updated display contents and updated display contents when a screen display content updating event is detected; and judging whether same parts exist between the updated display contents and the non-updated display contents, if so, copying the non-updated display contents, drawing changed display contents, combining the copied non-updated display contents and the drawn changed display contents and display, otherwise, drawing the updated display contents and displaying. Moreover, the invention further relates to a system for updating screen display contents. In the method for updating screen display contents, the presence of same parts is judged by comparing the updated display contents with the non-updated display contents, if so, the same parts are copied, the changed contents are drawn, and the same parts are not required to be drawn, so that the updating drawing efficiency of the screen display contents is increased greatly.

Description

The method and system that screen display content upgrades
[technical field]
The present invention relates to electronic information technology, the method and system that particularly a kind of screen display content upgrades.
[background technology]
Generally, at the platform of some running softwares, the J2me platform as for cell phone software operation, when the content of screen display is upgraded, only needs call function to repaint on screen and can realize content update.But, when the object that needs are drawn many, or when more complicated, will produce a screen drawing and also draw and finish, next drafting has again been called, and causes screen flicker, when serious, can produce screen and tear, what go up that half screen and second screen display show is not same content.Traditional employing double buffering technology, when drawing, is first plotted to buffer zone A object upper, and this buffer zone A is exactly secondary the same with a screen size picture, and then this picture is attached on screen.Meanwhile, next frame is plotted to buffer zone B, so repeatedly just can prevents screen flicker or tear.
Yet double buffering technology drafting efficiency is still lower, can not reduce the time of screen drawing, and can not respond in time user's operation.
[summary of the invention]
Based on this, be necessary to provide a kind of method of drawing the screen display content renewal that efficiency is higher.
In addition, be also necessary to provide a kind of system of drawing the screen display content renewal that efficiency is higher.
The method that screen display content upgrades, comprises the following steps:
While the event of upgrading screen display content being detected, obtain the displaying contents before renewal and upgrade after displaying contents;
Whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if, the displaying contents of the displaying contents before copy update, drafting change, the displaying contents of the change of the displaying contents before the renewal copying and drafting is merged and shown, if not, draw the displaying contents after upgrading and show.
Preferably, the event of described renewal screen display content is when selected object changes and screen does not move, displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, displaying contents before described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of the displaying contents before the renewal copying and drafting merged and show are the displaying contents before copy update, and repaint selected object before renewal and upgrade after selected object, selected object by the selected object before the renewal of the displaying contents before the renewal copying and drafting and after upgrading merges and shows.
Preferably, the event of described renewal screen display content is that screen display content moves up or down a line or multirow and selected object when constant, displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, displaying contents before described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of the displaying contents before the renewal copying and drafting merged and show are to obtain the coordinate offset amount that screen display content moves, according to the displaying contents before described coordinate offset amount copy update, draw newly-increased content, the newly-increased content of the displaying contents before the renewal copying according to described coordinate offset amount and drafting is merged and shown.
Preferably, the event of described renewal screen display content is when selected object changes and screen display content moves up or down a line or multirow, displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, displaying contents before described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of the displaying contents before the renewal copying and drafting merged and show are to obtain the coordinate offset amount that screen display moves, according to the displaying contents before described coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before the renewal copying, selected object before the newly-increased displaying contents of drawing and renewal and the selected object after renewal merge and show.
Preferably, the event of described renewal screen display content is whole screen display content while occurring to switch completely, the displaying contents after judgement is upgraded with upgrade before displaying contents there is no identical part, directly draw the also demonstration of displaying contents after upgrading.
The system that screen display content upgrades, comprising:
Detect acquisition module, while the event of upgrading screen display content being detected, obtain the displaying contents before renewal and upgrade after displaying contents;
Judge module, the displaying contents according to the displaying contents before the renewal getting and after upgrading, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal;
Update module, the displaying contents of judging after renewal when described judge module has identical part with the displaying contents before renewal, the displaying contents that displaying contents before copy update, drafting are changed, and the displaying contents of the change of the displaying contents before the renewal copying and drafting is merged, the displaying contents of judging after renewal when described judge module does not have identical part with the displaying contents before renewal, draws the displaying contents after upgrading;
Output module, the displaying contents of the displaying contents before the renewal copying that update module merges described in output display and the change of drafting, or the displaying contents after the renewal that described in output display, update module is drawn.
Preferably, the event that described detection acquisition module detects described renewal screen display content is when selected object changes and screen does not move, displaying contents after described judge module judgement is upgraded has identical part with the displaying contents before renewal, displaying contents before described update module copy update, and repaint selected object before renewal and upgrade after selected object, the selected object after the selected object before the renewal of the displaying contents before the renewal copying and drafting and renewal is merged and passes through described output module output display.
Preferably, the event that described detection acquisition module detects described renewal screen display content is that screen display content moves up or down a line or multirow and selected object when constant, displaying contents after described judge module judgement is upgraded has identical part with the displaying contents before renewal, described detection acquisition module also obtains the coordinate offset amount that screen display content moves, described update module is according to the displaying contents before described coordinate offset amount copy update, draw newly-increased content, the newly-increased content of the displaying contents before the renewal copying according to described coordinate offset amount and drafting is merged and pass through described output module output display.
Preferably, the event that described detection acquisition module detects described renewal screen display content is when selected object changes and screen display content moves up or down a line or multirow, displaying contents after described judge module judgement is upgraded has identical part with the displaying contents before renewal, described detection acquisition module also obtains the coordinate offset amount that screen display moves, described update module is according to the displaying contents before described coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before the renewal copying, the newly-increased displaying contents of drawing and upgrade before selected object and upgrade after selected object merge and pass through described output module output display.
Preferably, the event that described detection acquisition module detects described renewal screen display content is that whole screen display content is while occurring to switch completely, displaying contents after described judge module judgement is upgraded does not have identical part with the displaying contents before renewal, and described update module is directly drawn the displaying contents after renewal and passed through described output module output display.
The method and system of above-mentioned screen display content update, adopt first the displaying contents after upgrading and displaying contents before renewal are compared and judge whether identical part, if have, copy identical part, again the content of change is drawn, without same section is drawn, improved greatly the drafting efficiency that screen display content upgrades.
[accompanying drawing explanation]
Fig. 1 is the method flow diagram that in an embodiment, screen display content upgrades;
Fig. 2 is the method flow diagram that the renewal screen display content event of selected object variation detected in an embodiment;
Fig. 3 detects the method flow diagram that screen display content moves up or down the renewal screen display content event of a line or multirow in an embodiment;
Fig. 4 detects in an embodiment that selected object changes and screen display content moves up or down the method flow diagram of the renewal screen display content event of a line or multirow;
Fig. 5 is the method flow diagram that the renewal screen display content event that whole screen display content switches detected in an embodiment;
Fig. 6 is the system architecture schematic diagram that in an embodiment, screen display content upgrades.
[embodiment]
As shown in Figure 1, a kind of method that screen display content upgrades, comprises the following steps:
Step S10, while the event of upgrading screen display content being detected, obtain the displaying contents before renewal and upgrade after displaying contents.The event of upgrading screen display content can be that user moves the page by button, touch screen or roll mouse roller and produces, as user's browsing page or while opening explorer, press direction key or roll mouse roller, make whole screen display content move up or down a line or multirow or switch full page; The event of upgrading screen display content can also be the variation of selected object, selected object refers to the content highlighting in screen content, the picture highlighting of choosing as netpage user or word etc., selected file highlighting etc. in explorer and for example, user can be switched selected object by button or touch screen, thereby produces the event of upgrading screen display content.
Step S20, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if so, performs step S30, if not, execution step S40.Wherein, when user is switched selected object by button or touch-screen, except selected object changes, the displaying contents after renewal is identical with other guide in displaying contents before renewal.By directionkeys or roll mouse roller, while making whole screen display content move up or down a line or multirow, also may there is identical part in user.In addition, user switches full page by button or roll mouse roller, there is no identical part.
Step S30, the displaying contents before copy update, draw change displaying contents, the displaying contents of the change of the displaying contents before the renewal copying and drafting is merged and is shown.In above-mentioned situation, the content of screen display after renewal with upgrade before while having identical part, copy displaying contents before the renewal of identical part to buffer zone layer as a setting, then draw the displaying contents of change in buffer zone, then the displaying contents of the change of the displaying contents before the renewal copying in buffer zone and drafting is merged and shown.During as user's browsing page, by button or touch-screen, switch selected object is changed, while producing the event of upgrading screen display content, displaying contents before copy update is layer as a setting, then the selected object (being depicted as selected state) after the selected object (being depicted as not selected state) before draw upgrading and renewal covers the content of original opposite position to buffer zone.
Step S40, draws the displaying contents after upgrading and shows.During user's browsing page, by button or roll mouse roller, full page is switched, the content that will show after renewal does not have identical part with the content showing before renewal, and the displaying contents of directly drawing after upgrading arrives in buffer zone and shows.
The method of above-mentioned screen display content update, adopt first the displaying contents after upgrading and displaying contents before renewal are compared and judge whether identical part, if have, copy identical part, again the content of change is drawn, without same section is drawn, improved greatly the drafting efficiency that screen display content upgrades.The portable mobile termianl that the method for above-mentioned screen display content update is short of relatively for this processing power of mobile phone, can obviously improve the efficiency that screen display content upgrades, and avoids the situation that occurs that screen is torn.Particularly, when display text, the demonstration complicated process of needs from character code to displaying contents due to word, can reduce calculated amount more.Therefore, the method for above-mentioned screen display content update is particularly suitable as the method that mobile phone word upgrades demonstration.
For the idiographic flow that upgrades screen display content is better described, lifts several specific embodiments below and describe in detail, but be not limited to this.As shown in Figure 2, in one embodiment, when user's browsing page or explorer, by button or touch-screen, switches selected object is changed, but when screen display content does not change except selected object, concrete step of updating is as follows:
Step S210, while the event of the renewal screen display content that selected object changes being detected, obtain the displaying contents before renewal and upgrade after displaying contents.By detecting, whole screen display content does not move up and down, only for user is switched and made selected object that variation occur by button or touch-screen.During as browsing page, the selected object before renewal is word " physical culture ", and the selected object after renewal is word " amusement ".
Step S220, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if so, performs step S230.In the present embodiment, user detected and by button or touch-screen, switch in current page and move, selected object is changed, except selected object changes, other do not change, and the displaying contents after upgrading has identical part with the displaying contents before renewal.
Step S230, the displaying contents before copy update, and repaint selected object before renewal and upgrade after selected object, the selected object after the selected object before the renewal of the displaying contents before the renewal copying and drafting and renewal is merged and is shown.The present embodiment only changes for selected object, and the displaying contents after renewal has identical with the displaying contents before renewal.Therefore original coordinate transformation is become to the coordinate of buffer zone, and the displaying contents before copy update is in buffer zone, background as the bottom, repaint again selected object before the renewal getting and upgrade after selected object, the coordinate corresponding according to it respectively, override and in buffer zone, be positioned at the original image on this corresponding coordinate, and by selected object before the displaying contents before the renewal copying and the renewal repainting and the content output display that after upgrading, selected object is merged into buffer zone to screen.Wherein, every row of screen display content and object have its corresponding coordinate.Take document as example, and each object in document has coordinate, and this coordinate is to calculate with respect to the initial position of whole document.The size of buffer zone is the same with the size of on-screen display (osd) area.Selected object before renewal refers to and occurs more before new events, the selected object highlighting in screen, and the selected object after renewal refers to and occurs more after new events, by user, to be chosen the object highlighting.If the selected word highlighting before upgrading in webpage is " physical culture ", the word highlighting selected after upgrading is " amusement ", displaying contents before upgrading is copied to behind buffer zone, repaint " physical culture " and " amusement ", then copied on coordinate corresponding in buffer zone, " physical culture " does not highlight, and " amusement " becomes and highlight.
As shown in Figure 3, in one embodiment, when user's browsing page or explorer etc., by directionkeys or roll mouse roller, make whole screen move up a line or multirow, or move down a line or multirow, produce the event of upgrading screen display content.Concrete step of updating is as follows:
Step S310, detect when screen display content moves up or down the event of renewal screen display content of a line or multirow, obtain the displaying contents before renewal and upgrade after displaying contents.While user's browsing page or explorer etc. being detected, by directionkeys or roll mouse roller, make whole screen move up a line or multirow, or move down a line or multirow, produce the event of upgrading screen display content.
Step S320, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if so, performs step S330.In the present embodiment, user detected by mobile button or roll mouse roller, make whole screen display content move up or down a line or multirow, but switching completely does not occur full page, the displaying contents after upgrading has identical part with the displaying contents before renewal.In addition, in the present embodiment, the coordinate offset amount moving by obtaining screen display content, whether the displaying contents of analyzing after upgrading has identical part with the displaying contents before renewal.Take webpage as example, and this coordinate can calculate with the first row contains starting point coordinate of web page display contents.Screen display content moves and refers to that the displaying contents of whole screen is moved, and whole screen moves up or down a line or multirow.Coordinate offset amount refers to when screen display content moves, the variable quantity that its coordinate occurs.In addition, whole screen display size is limited, and the line number that can show is limited, and the interval size of corresponding coordinate is the same with line number, and can set a predetermined value is maximum display line numerical value.When user makes whole screen move up or down a line or multirow by directionkeys or roll mouse roller, do not carry out the switching completely of full page, the coordinate offset amount that the screen display content obtaining moves should be non-vanishing, and coordinate offset amount absolute value is less than this predetermined value.Take webpage as example, if the screen display content coordinate range before upgrading is 1-10, screen display content coordinate range after renewal is 3-12, this predetermined value is 10, coordinate offset amount absolute value is 2 to be less than this predetermined value, and screen display content is moved, and the page that do not switch, therefore, the displaying contents after renewal exists part identical with the displaying contents before renewal.If coordinate offset amount is 10, there is switching in full page, will not have identical part.
Step S330, obtain the coordinate offset amount that screen display content moves, according to the displaying contents before this coordinate offset amount copy update, draw newly-increased content, by the displaying contents before the renewal copying according to coordinate offset amount with draw newly-increased content and merge and show.In the present embodiment, according to the displaying contents before coordinate offset amount copy update, behind buffer zone, have a part of clear area in buffer zone, district to be drawn, is then plotted to newly-increased displaying contents the district to be drawn of buffer zone.As before upgrading in webpage, show for coordinate be 1 to 10 content, after renewal, to show for coordinate be 3 to 12 content, coordinate offset amount is 2, according to this coordinate offset amount, copy 3 to 10 content to buffer zone, in buffer zone, can there is the white space of two row, the content that is 11 and 12 by newly-increased coordinate is plotted to two line space white regions in buffer zone, and the coordinate that by the coordinate copying is then 3 to 10 content and drafting is to show after 11 and 12 content merges.
Shown in Fig. 4, in one embodiment, when user's browsing page or explorer, by button or touch-screen, switch selected object is changed, and impel whole screen display content to move up or down a line or multirow, but whole screen display content does not occur to switch completely, the displaying contents after upgrading has identical part with the displaying contents before renewal, and concrete step of updating is as follows:
Step S410, detects that selected object changes and when screen display content moves up or down the event of renewal screen display content of a line or multirow, obtain the displaying contents before renewal and upgrade after displaying contents.User detected and switch selected object by button or touch-screen, selected object changes and makes whole screen display content also move up or down a line or multirow, produces the event of upgrading screen display content.
Step S420, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if so, performs step S430.Selected object detected and whole screen display content moves up or down a line or multirow, but whole screen display content do not occur to switch completely, the displaying contents after therefore upgrading has identical part with the displaying contents before renewal.
Step S430, obtain the coordinate offset amount that screen display moves, according to the displaying contents before this coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object merge and show.Displaying contents after renewal has identical part with the displaying contents before renewal, first get the coordinate offset amount that whole screen display content moves, according to the displaying contents before coordinate offset amount copy update, draw again newly-increased displaying contents, then repaint selected object before renewal and upgrade after selected object, three is merged to rear demonstration.Take page refreshment as example, according to the displaying contents before coordinate offset amount copy update behind buffer zone, in buffer zone, there is a part of clear area, district to be drawn, then newly-increased displaying contents is plotted to the district to be drawn of buffer zone, then repaint selected object before renewal and upgrade after selected object cover on corresponding coordinate position.As before upgrading in webpage, show for coordinate be 1 to 10 content, the selected object highlighting before renewal is " physical culture ", after renewal, to show for coordinate be 3 to 12 content, the selected object highlighting after renewal is " amusement ", coordinate offset amount is 2, according to this coordinate offset amount, copy 3 to 10 content to buffer zone, in buffer zone, can there is the white space of two row, the content that is 11 and 12 by newly-increased coordinate is plotted to two line space white regions in buffer zone, then the selected object " physical culture " repainting before renewal does not highlight content, selected object " amusement " after drafting is upgraded is for highlighting content, after being merged, three is shown on screen.
As shown in Figure 5, in one embodiment, user's browsing page or explorer, by button or roll mouse roller, full page is switched, produce the event of upgrading screen display content, whole screen display content occurs to switch completely, with upgrade before displaying contents there is no overlapping part.Concrete step of updating is as follows:
Step S510, when whole screen display content being detected the event of the renewal screen display content that switches completely occurring, obtain the displaying contents before renewal and upgrade after displaying contents.While user's browsing page or explorer being detected, by button or roll mouse roller, make full page occur to switch completely, produced the event of upgrading screen display content.
Step 520, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if not, execution step S540.User switches whole screen display content by button or roll mouse roller, and the displaying contents after upgrading does not have identical part with the displaying contents before renewal.In the present embodiment, the coordinate offset amount that can move by getting screen display content, whether the displaying contents of analyzing before upgrading has identical part with the displaying contents after renewal.Specifically: whole screen display size is limited, and the line number that can show is limited, the interval size of corresponding coordinate is the same with line number, and can set predetermined value is maximum display line numerical value.The coordinate offset amount moving when screen display content is more than or equal to predetermined value, and this screen display content full page switches, and the displaying contents after renewal does not have identical part with the displaying contents before renewal.
Step S540, draws the displaying contents after upgrading and shows.The coordinate offset amount that screen display content moves has surpassed predetermined value, and variation has occurred the content of whole screen completely, and the displaying contents before the displaying contents after renewal and renewal does not have overlapping part, there is no identical part.User moves and makes full page occur to switch completely, and the displaying contents of directly drawing after upgrading arrives in buffer zone and shows.
As shown in Figure 6, the system that a kind of screen display content upgrades, comprises and detects acquisition module 10, processing module 20, update module 30 and output module 40.Wherein,
Detect acquisition module 10 for detection of when upgrading the event of screen display content, obtain displaying contents before renewal and the displaying contents after renewal.Detect acquisition module 10 for detection of user by button or, touch screen or roll mouse roller move the event of the renewal screen display content that the page produces, as user's browsing page or while opening explorer, detect acquisition module 10 and user detected by direction key or roll mouse roller, make whole screen display content move up or down a line or multirow, or switch full page; The event of the renewal screen display content that detection acquisition module 10 detects can also be the variation of selected object, selected object refers to the content highlighting in screen content, the picture highlighting of choosing as netpage user or word etc., selected file highlighting etc. in explorer and for example, user can be switched selected object by button or touch screen, thereby produces the event of upgrading screen display content.
Judge module 20 is for judging whether the displaying contents after renewal has identical part with the displaying contents before renewal.The event of screen display content is upgraded in the generation that judge module 20 detects according to detection acquisition module 10, and the displaying contents before the displaying contents after the renewal relatively getting and renewal, judges whether there is identical part.As user by button or touch-screen when the current page of webpage switches selected object, except selected object changes, displaying contents after renewal with upgrade before displaying contents in other guide identical, the displaying contents that judge module 20 is judged after renewal has identical part with the displaying contents before renewal.User by directionkeys or roll mouse roller, makes whole screen display content move up or down a line or multirow, but full page is not when switch, and the displaying contents that judge module 20 is judged after renewal has identical part with the displaying contents before renewal.In addition, user switches full page by button or roll mouse roller, and judge module 20 is judged does not have identical part.
Update module 30, the displaying contents of judging after renewal when judge module 20 has identical part with the displaying contents before renewal, the displaying contents that displaying contents before copy update, drafting are changed, and the displaying contents of the change of the displaying contents before the renewal copying and drafting is merged and pass through output module 40 output displays, displaying contents before judge module 20 is judged displaying contents after renewal and upgraded does not have identical, draws displaying contents after upgrading and by output module 40 output displays.
In the present embodiment, the content of screen display after renewal with upgrade before while having identical part, update module 30 copies displaying contents before the renewal of identical part to buffer zone as a setting layer, then draws newly-increased displaying contents in buffer zone.During as user's browsing page, detection acquisition module 10 gets user and by button or touch-screen, switches the event of the renewal screen display content that makes selected object variation, judge module 20 is judged except selected object changes, other parts are identical, there is identical part, displaying contents before update module 30 copy updates, then the selected object (being depicted as selected state) after the selected object (being depicted as not selected state) before draw upgrading and renewal covers the content of original opposite position to buffer zone.Wherein, buffer zone shows that size is the same with screen display size, and buffer zone is equivalent to one and the equirotal picture of screen display.
The system of above-mentioned screen display content update, adopt judge module 20 first the displaying contents after upgrading and demonstration before renewal to be compared and judge whether identical part, if have, update module 30 copies identical part, again the content of change is drawn, without same section is drawn, improved greatly the drafting efficiency that screen display content upgrades.
In addition, detecting acquisition module 10, the event of upgrading screen display content to be detected be any one in following four kinds of situations: selected object change and screen not mobile; Screen display content moves up or down a line or multirow and selected object when constant; Selected object changes and screen display content moves up or down a line or multirow; Whole screen display content occurs to switch completely.When the system that screen display content upgrades detects wherein any one situation, the process of renewal is not identical, is described in detail below the detailed process that different situations are upgraded.
(1) event of renewal screen display content is that selected object changes and screen does not move.
Detecting acquisition module 10, the event of upgrading screen display content to be detected be when selected object changes and screen does not move, obtain the displaying contents before renewal and upgrade after displaying contents.Detect acquisition module 10 by detecting, whole screen display content does not move up and down, only for user is switched and made selected object that variation occur by button or touch-screen.During as browsing page, the selected object before renewal is word " physical culture ", and the selected object after renewal is word " amusement ".
Displaying contents after judge module 20 judgements are upgraded has identical with the displaying contents before renewal.User switches in current page by button or touch-screen and moves, and only makes selected object change, and except selected object changes, other do not change, and the displaying contents after upgrading has identical part with the displaying contents before renewal.
Displaying contents before update module 30 copy updates, and repaint selected object before renewal and upgrade after selected object, the selected object after the selected object before the renewal of the displaying contents before the renewal copying and drafting and renewal is merged and passes through output module 40 output displays.The present embodiment only changes for selected object, and the displaying contents after renewal has identical with the displaying contents before renewal.Therefore update module 30 becomes original coordinate transformation on the coordinate of buffer zone, and the displaying contents before copy update is in buffer zone, background as the bottom, repaint again selected object before the renewal getting and upgrade after selected object, the coordinate corresponding according to it respectively, override and in buffer zone, be positioned at the original image on this corresponding coordinate, and by selected object before the displaying contents before the renewal copying and the renewal repainting and the content output display that after upgrading, selected object is merged into buffer zone to screen.Wherein, every row of screen display content and object have its corresponding coordinate.Take document as example, and each object in document has coordinate, and this coordinate is to calculate with respect to the initial position of whole document.The size of buffer zone is the same with the size of on-screen display (osd) area.Selected object before renewal refers to and occurs more before new events, the selected object highlighting in screen, and the selected object after renewal refers to and occurs more after new events, by user, to be chosen the object highlighting.If the selected word highlighting before upgrading in webpage is " physical culture ", the word highlighting selected after upgrading is " amusement ", displaying contents before upgrading is copied to behind buffer zone, update module 30 repaints " physical culture " and " amusement ", then copied on coordinate corresponding in buffer zone, " physical culture " does not highlight, and " amusement " becomes and highlight.
(2) it is constant that the event of upgrading screen display content is that screen display content moves up or down a line or multirow and selected object.
Detect acquisition module 10 and the event of upgrading screen display content detected to be that screen display content moves up or down a line or multirow and selected object constant, obtain the displaying contents before renewal and upgrade after displaying contents.When detecting acquisition module 10 and user's browsing page or explorer etc. being detected, by directionkeys or roll mouse roller, make whole screen move up a line or multirow, or move down a line or multirow, produce the event of upgrading screen display content.
Displaying contents after judge module 20 judgement judgements are upgraded has identical part with the displaying contents before renewal.In the present embodiment, user detected by mobile button or roll mouse roller, make whole screen display content move up or down a line or multirow, but switching completely does not occur full page, the displaying contents after upgrading has identical part with the displaying contents before renewal.In addition, in the present embodiment, by detecting acquisition module 10, obtain the coordinate offset amount that screen display content moves, whether the displaying contents of analyzing after upgrading has identical part with the displaying contents before renewal.Take webpage as example, and this coordinate can calculate with the first row contains starting point coordinate of web page display contents.Screen display content moves and refers to that the displaying contents of whole screen is moved, and whole screen moves up or down a line or multirow.Coordinate offset amount refers to when screen display content moves, the variable quantity that its coordinate occurs.In addition, whole screen display size is limited, and the line number that can show is limited, and the interval size of corresponding coordinate is the same with line number, and can set a predetermined value is maximum display line numerical value.When user makes whole screen move up or down a line or multirow by directionkeys or roll mouse roller, do not carry out the switching completely of full page, detecting the coordinate offset amount that screen display content that acquisition module 10 obtains moves should be non-vanishing, and judge module 20 these coordinate offset amount absolute values of judgement are less than this predetermined value, and the displaying contents after upgrading exists identical part with the displaying contents before renewal.Take webpage as example, if the screen display content coordinate range before upgrading is 1-10, screen display content coordinate range after renewal is 3-12, this predetermined value is 10, coordinate offset amount absolute value is 2 to be less than this predetermined value, screen display content is moved, and the page that do not switch, and the displaying contents that judge module 20 is judged after renewal exists part identical with the displaying contents before renewal.If coordinate offset amount is 10, there is switching in full page, and the displaying contents that judge module 20 is judged after renewal does not exist identical part with the displaying contents before renewal.
Detect acquisition module 10 and obtain the coordinate offset amount that screen display content moves.Update module 30 according to the displaying contents before this coordinate offset amount copy update, draw newly-increased content, by the displaying contents before the renewal copying according to coordinate offset amount with draw newly-increased content and merge and pass through output module 40 output displays.In the present embodiment, behind buffer zone, there is a part of clear area according to the displaying contents before coordinate offset amount copy update in update module 30 in buffer zone, newly-increased displaying contents is drawn to the district to be drawn of buffer zone in district to be drawn then.As before upgrading in webpage, show for coordinate be 1 to 10 content, after renewal, to show for coordinate be 3 to 12 content, coordinate offset amount is 2, update module 30 copies 3 to 10 content to buffer zone according to this coordinate offset amount, in buffer zone, can there is the white space of two row, by newly-increased coordinate, be that 11 and 12 content is plotted to two line space white regions in buffer zone again, the coordinate that by the coordinate copying is then 3 to 10 content and drafting is that 11 and 12 content merges and passes through output module 40 output displays.
(3) event of renewal screen display content is that selected object changes and screen display content moves up or down a line or multirow.
Detect that acquisition module 10 detects that selected object changes and when screen display content moves up or down the event of renewal screen display content of a line or multirow, obtain the displaying contents before renewal and upgrade after displaying contents.Detect acquisition module 10 and user detected by button or touch-screen switching selected object, selected object changes and causes whole screen display content also to move up or down a line or multirow, produces the event of upgrading screen display content.
Displaying contents after judge module 20 judgements are upgraded has identical part with the displaying contents before renewal.Detection acquisition module 10 selected object detected and whole screen display content moves up or down a line or multirow, but whole screen display content does not occur to switch completely, the displaying contents that judge module 20 can be judged after renewal has identical part with the displaying contents before renewal.
Detect acquisition module 10 and obtain the coordinate offset amount that screen display moves.Update module 30 is according to the displaying contents before this coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object merge and pass through output module 40 output displays.The displaying contents that judge module 20 is judged after renewal has identical part with the displaying contents before renewal, by detecting acquisition module 10, first get the coordinate offset amount that whole screen display content moves, then update module 30 is by according to the displaying contents before coordinate offset amount copy update, draw again newly-increased displaying contents, then repaint selected object before renewal and upgrade after selected object, and three is merged to rear demonstration.
(4) event of renewal screen display content is that whole screen display content occurs to switch completely.
Detecting acquisition module 10, the event of upgrading screen display content to be detected be whole screen display content while occurring to switch completely, obtain the displaying contents before renewal and upgrade after displaying contents.When detection acquisition module 10 detects user's browsing page or explorer, by button or roll mouse roller, make full page occur to switch completely, produced the event of upgrading screen display content.
Displaying contents after judge module 20 judgements are upgraded does not have identical part with the displaying contents before renewal.User switches whole screen display content by button or roll mouse roller, and the displaying contents after upgrading does not have identical part with the displaying contents before renewal.In the present embodiment, can obtain the coordinate offset amount that screen display content moves by detecting acquisition module 10, whether the displaying contents of analyzing before upgrading has identical part with the displaying contents after renewal.Specifically: whole screen display size is limited, and the line number that can show is limited, the interval size of corresponding coordinate is the same with line number, and can set predetermined value is maximum display line numerical value.Judge module 20 judges whether the coordinate offset amount that screen display content moves is more than or equal to predetermined value, if so, represents that this screen display content full page occurs to switch completely, and the displaying contents after renewal does not have identical part with the displaying contents before renewal.
Update module 30 is drawn the displaying contents after upgrading and is passed through output module 40 output displays.Judge module is judged does not have identical part, and update module 30 is directly drawn the displaying contents after upgrading, and then passes through output module 40 output displays on screen.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (4)

1. the method that screen display content upgrades, comprises the following steps:
The event of upgrading screen display content detected and be screen display content and move up or down a line or multirow and selected object when constant, obtain the displaying contents before renewal and upgrade after displaying contents;
Whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, if, obtain the coordinate offset amount that screen display content moves, according to the displaying contents before described coordinate offset amount copy update, draw newly-increased content, the newly-increased content of the displaying contents before the renewal copying according to described coordinate offset amount and drafting is merged and shown, if not, draw the displaying contents after upgrading and show;
Or the event of described renewal screen display content is when selected object changes and screen display content moves up or down a line or multirow, displaying contents after judgement is upgraded has identical part with the displaying contents before renewal, displaying contents before described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of the displaying contents before the renewal copying and drafting merged and show are to obtain the coordinate offset amount that screen display moves, according to the displaying contents before described coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before the renewal copying, selected object before the newly-increased displaying contents of drawing and renewal and the selected object after renewal merge and show.
2. the method for screen content display update according to claim 1, it is characterized in that, the event of described renewal screen display content is that whole screen display content is while occurring to switch completely, displaying contents after judgement is upgraded does not have identical part with the displaying contents before renewal, directly draws the displaying contents after upgrading and shows.
3. the system that screen display content upgrades, is characterized in that, comprising:
Detect acquisition module, the event of upgrading screen display content detected and be screen display content and move up or down a line or multirow and selected object when constant, obtain the displaying contents before renewal and upgrade after displaying contents;
Judge module, the displaying contents according to the displaying contents before the renewal getting and after upgrading, whether the displaying contents after judgement is upgraded has identical part with the displaying contents before renewal;
When described detection acquisition module also has identical part for the displaying contents before judging displaying contents after renewal when described judge module and upgrading, detect acquisition module and also obtain the coordinate offset amount that screen display content moves;
Update module, when the displaying contents before described judge module is judged displaying contents after renewal and upgraded has identical part, according to the displaying contents before described coordinate offset amount copy update, draw newly-increased content, the newly-increased content of the displaying contents before the renewal copying according to described coordinate offset amount and drafting is merged and pass through output module output display, the displaying contents of judging after renewal when described judge module does not have identical part with the displaying contents before renewal, draws the displaying contents after upgrading;
Output module, the displaying contents of the displaying contents before the renewal copying that update module merges described in output display and the change of drafting, or the displaying contents after the renewal that described in output display, update module is drawn;
Or the event that described detection acquisition module detects described renewal screen display content is when selected object changes and screen display content moves up or down a line or multirow, displaying contents after described judge module judgement is upgraded has identical part with the displaying contents before renewal, described detection acquisition module also obtains the coordinate offset amount that screen display moves, described update module is according to the displaying contents before described coordinate offset amount copy update, draw newly-increased displaying contents and upgrade before selected object and upgrade after selected object, and by the displaying contents before the renewal copying, the newly-increased displaying contents of drawing and upgrade before selected object and upgrade after selected object merge and pass through described output module output display.
4. the system that screen display content according to claim 3 upgrades, it is characterized in that, the event that described detection acquisition module detects described renewal screen display content is that whole screen display content is while occurring to switch completely, displaying contents after described judge module judgement is upgraded does not have identical part with the displaying contents before renewal, and described update module is directly drawn the displaying contents after renewal and passed through described output module output display.
CN201010195308.8A 2010-06-08 2010-06-08 Method and system for updating screen display contents Active CN102279720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010195308.8A CN102279720B (en) 2010-06-08 2010-06-08 Method and system for updating screen display contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010195308.8A CN102279720B (en) 2010-06-08 2010-06-08 Method and system for updating screen display contents

Publications (2)

Publication Number Publication Date
CN102279720A CN102279720A (en) 2011-12-14
CN102279720B true CN102279720B (en) 2014-03-19

Family

ID=45105192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010195308.8A Active CN102279720B (en) 2010-06-08 2010-06-08 Method and system for updating screen display contents

Country Status (1)

Country Link
CN (1) CN102279720B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677491B (en) * 2012-09-03 2018-11-13 百度在线网络技术(北京)有限公司 A kind of method and apparatus for rendering webpage
CN103677564B (en) * 2013-11-20 2016-03-30 小米科技有限责任公司 Slide response method, device and terminal device
CN104238911B (en) * 2014-08-20 2018-04-06 小米科技有限责任公司 Load icon display method and device
CN107924604A (en) * 2015-08-10 2018-04-17 柯尼卡美能达株式会社 The display device and display methods and monitored person's monitoring system of monitored person's monitoring system
CN105595988A (en) * 2015-12-23 2016-05-25 石家庄翰纬医疗设备有限公司 Electrocardiogram wave form drawing method and calculation device
CN108132746B (en) * 2016-12-01 2021-02-05 腾讯科技(北京)有限公司 Picture display method, device and equipment
CN108693951B (en) * 2018-05-10 2021-04-06 Oppo广东移动通信有限公司 Display content updating method and device
CN109799940B (en) * 2018-12-28 2023-01-03 北京字节跳动网络技术有限公司 Method, apparatus, and computer recording medium for processing presentation content in response to gesture operation
CN110442410A (en) * 2019-07-15 2019-11-12 深圳市元征科技股份有限公司 Embedded type interface design method, device, electronic equipment and storage medium
CN113900758B (en) * 2021-10-22 2023-09-12 广州博冠信息科技有限公司 Content display method, apparatus, computer device, and computer-readable storage medium
US20230196361A1 (en) * 2021-12-16 2023-06-22 Bank Of America Corporation System and method providing an electronic centralized gateway switch to a plurality of network devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489035A (en) * 2002-09-04 2004-04-14 ������������ʽ���� Csreen display rpocessing device, screen display processing method and computer programme
CN1510568A (en) * 2002-12-26 2004-07-07 英业达股份有限公司 Screen updating method
CN1987930A (en) * 2006-09-30 2007-06-27 武汉市迅彩科技有限责任公司 Method for displaying animation in mobile communication terminal display device
CN101006417A (en) * 2004-12-03 2007-07-25 索尼计算机娱乐公司 Image display device, image display method, and program
CN101587436A (en) * 2008-05-22 2009-11-25 闪联信息技术工程中心有限公司 Method and system for regional restoration in embedded device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489035A (en) * 2002-09-04 2004-04-14 ������������ʽ���� Csreen display rpocessing device, screen display processing method and computer programme
CN1510568A (en) * 2002-12-26 2004-07-07 英业达股份有限公司 Screen updating method
CN101006417A (en) * 2004-12-03 2007-07-25 索尼计算机娱乐公司 Image display device, image display method, and program
CN1987930A (en) * 2006-09-30 2007-06-27 武汉市迅彩科技有限责任公司 Method for displaying animation in mobile communication terminal display device
CN101587436A (en) * 2008-05-22 2009-11-25 闪联信息技术工程中心有限公司 Method and system for regional restoration in embedded device

Also Published As

Publication number Publication date
CN102279720A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN102279720B (en) Method and system for updating screen display contents
CN104135684B (en) A kind of interface display method and device based on Firefox OS
US9710125B2 (en) Method for generating multiple windows frames, electronic device thereof, and computer program product using the method
CN103279278B (en) A kind of method and apparatus obtaining icon details in terminal interface
KR100831721B1 (en) Apparatus and method for displaying of mobile terminal
CN109313530A (en) Equipment, method and graphic user interface for carrying out navigating and interacting with control object between user interface
CN102819416B (en) A kind of realize the method and apparatus that component content shows
CN105988860A (en) Method for executing application program and mobile device
CN103105995A (en) Display method and electronic equipment
CN112099686B (en) Icon display control method and device and electronic equipment
CN109542304B (en) Display content loading method, device, equipment and storage medium
CN102160371A (en) Image display apparatus and method for controlling same
CN103019560A (en) Method and device for controlling interface of mobile terminal and mobile terminal
US20110227844A1 (en) Method and apparatus for inputting character in portable terminal
CN102883226A (en) Method for providing program information on video displaying window and equipment thereof
CN102609191A (en) Browsing interaction method for incoming messages of touchscreen cellphones
CN105528217A (en) Partial refreshing method and device based on display list
CN106547429B (en) Display method and device for electronic terminal
CN106484228A (en) Double screen switching display packing and mobile terminal
CN106020614A (en) Switch method and terminal for application programs
CN106055207A (en) Virtual button display method and device
KR20110020530A (en) Apparatus and method for executing shortened function on a mobile phone
CN101950234B (en) Information display method and system of full-screen input application program
CN112148169B (en) Identification display control method and device and electronic equipment
CN102880413A (en) Method for controlling display of mobile terminal with touch screen and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant