CN102279720A - Method and system for updating screen display contents - Google Patents
Method and system for updating screen display contents Download PDFInfo
- Publication number
- CN102279720A CN102279720A CN2010101953088A CN201010195308A CN102279720A CN 102279720 A CN102279720 A CN 102279720A CN 2010101953088 A CN2010101953088 A CN 2010101953088A CN 201010195308 A CN201010195308 A CN 201010195308A CN 102279720 A CN102279720 A CN 102279720A
- Authority
- CN
- China
- Prior art keywords
- displaying contents
- renewal
- screen display
- display content
- upgrading
- 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
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
[technical field]
The present invention relates to electronic information technology, particularly a kind of screen display content method for updating and system.
[background technology]
Generally, at the platform of some running softwares, the J2me platform as for the 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 more complicated the time, will produce a screen drawing and also draw end, the next drafting has been called again, causes screen flicker, can produce screen when serious and tear, what promptly go up half screen and the demonstration of following half screen is not same content.Traditional employing double buffering technology when drawing, is plotted to object on the buffer zone A earlier, and this buffer zone A is exactly secondary the same with a screen size picture, and then this picture is attached on the screen.Simultaneously, next frame is plotted to buffer zone B, just can prevents screen flicker so repeatedly or tear.
Yet double buffering technology drafting efficient is still lower, can not reduce the time of screen drawing, and can not in time respond user's operation.
[summary of the invention]
Based on this, be necessary to provide a kind of higher screen display content method for updating of efficient of drawing.
In addition, also be necessary to provide a kind of system that the higher screen display content of efficient upgrades of drawing.
A kind of screen display content method for updating may further comprise the steps:
Obtain the displaying contents after upgrading preceding displaying contents and upgrading when detecting the incident of upgrading screen display content;
Displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, the displaying contents of the displaying contents before the copy update, drafting change, the displaying contents of the change of displaying contents before the renewal of duplicating and drafting is merged and show, if not, the displaying contents of then drawing after upgrading also shows.
Preferably, the incident of described renewal screen display content is that selected object changes and screen when not mobile, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are the displaying contents before the copy update, and the selected object after repainting the preceding selected object of renewal and upgrading, with the also demonstration of selected object merging after selected object before the renewal of displaying contents before the renewal of duplicating and drafting and the renewal.
Preferably, the incident of described renewal screen display content is that screen display content moves up or down delegation or multirow and selected object when constant, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are to obtain the coordinate offset amount that screen display content moves, according to the displaying contents before the described coordinate offset amount copy update, draw newly-increased content, the displaying contents before the renewal that will duplicate according to described coordinate offset amount merges and demonstration with the newly-increased content of drafting.
Preferably, the incident of described renewal screen display content is that selected object changes and screen display content when moving up or down delegation or multirow, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are to obtain the coordinate offset amount that screen display moves, according to the displaying contents before the described coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and the displaying contents before the renewal that will duplicate, the newly-increased displaying contents of drafting and the selected object before the renewal and the selected object after the renewal merge and show.
Preferably, the incident of described renewal screen display content is a whole screen display content when taking place to switch completely, judge after upgrading displaying contents with upgrade before displaying contents do not have identical part, then directly draw the also demonstration of displaying contents after upgrading.
The system that a kind of screen display content upgrades comprises:
Detect acquisition module, obtain the displaying contents after upgrading preceding displaying contents and upgrading when detecting the incident of upgrading screen display content;
Judge module, according to the displaying contents before the renewal that gets access to the displaying contents after upgrading, judge after upgrading displaying contents with upgrade preceding displaying contents whether identical part arranged;
Update module, displaying contents after described judge module is judged renewal with upgrade before displaying contents identical part is arranged, then the displaying contents before the copy update, draw the displaying contents of change, and the displaying contents of the change of displaying contents before the renewal that will duplicate and drafting merges, displaying contents after described judge module is judged renewal with upgrade before displaying contents do not have identical part, then draw the displaying contents after the renewal;
Output module, output show the displaying contents of the change of displaying contents before the renewal of duplicating that described update module merges and drafting, or output shows the displaying contents after the renewal that described update module draws.
Preferably, the incident that described detection acquisition module detects described renewal screen display content is that selected object changes and screen when not mobile, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, displaying contents before the described update module copy update, and repaint the selected object before upgrading and upgrade after selected object, with the selected object before the renewal of the displaying contents before the renewal of duplicating and drafting with the selected object after upgrading merges and by described output module output demonstration.
Preferably, the incident that described detection acquisition module detects described renewal screen display content is that screen display content moves up or down delegation or multirow and selected object when constant, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, described detection acquisition module also obtains the coordinate offset amount that screen display content moves, the displaying contents of described update module before according to described coordinate offset amount copy update, draw newly-increased content, the displaying contents before the renewal that will duplicate according to described coordinate offset amount merges with the newly-increased content of drafting and by described output module output demonstration.
Preferably, the incident that described detection acquisition module detects described renewal screen display content is that selected object changes and screen display content when moving up or down delegation or multirow, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, described detection acquisition module also obtains the coordinate offset amount that screen display moves, the displaying contents of described update module before according to described coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and the displaying contents before the renewal that will duplicate, selected object that the newly-increased displaying contents of drafting and renewal are preceding and the selected object after the renewal merge and export demonstration by described output module.
Preferably, the incident that described detection acquisition module detects described renewal screen display content is that whole screen display content is when taking place to switch completely, described judge module judge after upgrading displaying contents with upgrade before displaying contents do not have identical part, described update module directly draw after the renewal displaying contents and by described output module output demonstration.
The method and system of above-mentioned screen display content update, adopt earlier the preceding displaying contents of displaying contents after upgrading and renewal to be compared and judge whether identical part, if have, then duplicate identical part, again the content of change is drawn, need not same section is drawn, improved the drafting efficient that screen display content upgrades greatly.
[description of drawings]
Fig. 1 is a screen display content method for updating process flow diagram among the embodiment;
Fig. 2 is the method flow diagram that detects the renewal screen display content incident of selected object variation among the embodiment;
Fig. 3 detects the method flow diagram that screen display content moves up or down the renewal screen display content incident of delegation or multirow among the embodiment;
Fig. 4 detects among the embodiment that selected object changes and screen display content moves up or down the method flow diagram of the renewal screen display content incident of delegation or multirow;
Fig. 5 is the method flow diagram that detects the renewal screen display content incident that whole screen display content switches among the embodiment;
Fig. 6 is the system architecture synoptic diagram that screen display content upgrades among the embodiment.
[embodiment]
As shown in Figure 1, a kind of screen display content method for updating may further comprise the steps:
Step S10 obtains the displaying contents after upgrading preceding displaying contents and upgrading when detecting the incident of upgrading screen display content.The incident of upgrading screen display content can be that the user moves the page by button, touch screen or roll mouse roller and produces, as user's browsing page or when opening explorer, by direction button or roll mouse roller, make whole screen display content move up or down delegation or multirow or switching full page; The incident of upgrading screen display content can also be the variation of selected object, selected object is meant the content that highlights in the screen content, the picture of choosing as the netpage user that highlights or literal etc., selected file that highlights etc. in the explorer and for example, the user can be switched selected object by button or touch screen, thereby produces the incident of upgrading screen display content.
Step S20, the displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, execution in step S30, if not, execution in step S40.Wherein, when the user is switched selected object by button or touch-screen, except selected object changes, the displaying contents after the renewal with upgrade preceding displaying contents in other guide identical.When making whole screen display content move up or down delegation or multirow, also may there be identical part in user's direction of passage key or roll mouse roller.In addition, the user switches full page by button or roll mouse roller, does not then have identical part.
The displaying contents of the displaying contents before the displaying contents of the displaying contents before the step S30, copy update, drafting change, the renewal that will duplicate and the change of drafting merges and shows.In the above-mentioned situation, the content of screen display after renewal with upgrade before when identical part is arranged, then duplicate before the renewal of identical part displaying contents to buffer zone as a setting layer, the displaying contents of drawing change then is in buffer zone, and the displaying contents with the change of the displaying contents before the renewal of duplicating in the buffer zone and drafting merges and demonstration again.During as user's browsing page, by button or touch-screen switching selected object is changed, when producing the incident of upgrading screen display content, displaying contents before the copy update is layer as a setting, draws selected object (being depicted as not selected state) before upgrading and the selected object (being depicted as selected state) after the renewal cover original opposite position to buffer zone content again.
Step S40 draws displaying contents and demonstration after upgrading.During user's browsing page, make the full page switching by button or roll mouse roller, wanting content displayed after the renewal and upgrading preceding content displayed does not have identical part, then directly draws the displaying contents interior and demonstration to buffer zone after upgrading.
The method of above-mentioned screen display content update, adopt earlier the preceding displaying contents of displaying contents after upgrading and renewal to be compared and judge whether identical part, if have, then duplicate identical part, again the content of change is drawn, need not same section is drawn, improved the drafting efficient that screen display content upgrades greatly.The method of above-mentioned screen display content update can obviously be improved the screen display content updating efficiency for the portable mobile termianl that this processing power of mobile phone is short of relatively, avoids occurring the situation that screen is torn.Particularly when display text,, can reduce calculated amount more because the demonstration of literal needs the process of a complexity from the character code to the displaying contents.Therefore, the method for above-mentioned screen display content update is particularly suitable as the method for mobile phone literal update displayed.
For the idiographic flow that upgrades screen display content better is described, lifts several specific embodiments below and describe in detail, but be not limited thereto.As shown in Figure 2, in one embodiment, when user's browsing page or explorer, switches by button or touch-screen selected object is changed, but when screen display content did not change except that selected object, concrete step of updating was as follows:
Step S210, obtain the displaying contents before upgrading when detecting the incident of the renewal screen display content that selected object changes and upgrade after displaying contents.By detecting, whole screen display content does not move up and down, and only switches by button or touch-screen for the user to make selected object that variation take place.During as browsing page, the selected object before upgrading is literal " physical culture ", and the selected object after the renewal is literal " amusement ".
Step S220, the displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, execution in step S230.In the present embodiment, detect the user and switch in current page by button or touch-screen and move, selected object is changed, then change except selected object, other do not change, the displaying contents after promptly upgrading with upgrade preceding displaying contents identical part arranged.
Displaying contents before the step S230, copy update, and the selected object after repainting the preceding selected object of renewal and upgrading are with the also demonstration of selected object merging after selected object before the renewal of displaying contents before the renewal of duplicating and drafting and the renewal.Present embodiment only changes for selected object, the displaying contents after the renewal with upgrade before displaying contents have identical.Therefore original coordinate transformation is become the coordinate of buffer zone, and the displaying contents before the copy update is in buffer zone, background as the bottom, repaint the selected object before the renewal that gets access to again and upgrade after selected object, respectively according to its corresponding coordinate, override the original image that is positioned in the buffer zone on this corresponding coordinate, and the displaying contents before the renewal that will duplicate is shown on the screen with the content output that preceding selected object of the renewal that repaints and renewal back selected object are merged into buffer zone.Wherein, every row of screen display content and object all have its corresponding coordinate.With the document is example, and each object in the document all has coordinate, and this coordinate is to calculate with respect to the initial position of entire document.The size of buffer zone is big or small the same with on-screen display (osd) area.Before selected object before upgrading is meant update event takes place, the selected object that highlights in the screen, the selected object after the renewal is meant and takes place to be chosen the object that highlights by the user after the update event.As the selected literal that highlights before upgrading in the webpage is " physical culture ", upgrading the selected literal that highlights in back is " amusement ", after the displaying contents that renewal is preceding copies to buffer zone, repaint " physical culture " and " amusement ", then it is copied in the buffer zone on the corresponding coordinate, " 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., direction of passage key or roll mouse roller make whole screen move up delegation or multirow, or move down delegation or multirow, produce the incident of upgrading screen display content.Concrete step of updating is as follows:
Step S310, detect obtain the displaying contents before upgrading when screen display content moves up or down the incident of renewal screen display content of delegation or multirow and upgrade after displaying contents.When detecting user's browsing page or explorer etc., direction of passage key or roll mouse roller make whole screen move up delegation or multirow, or move down delegation or multirow, produce the incident of upgrading screen display content.
Step S320, the displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, execution in step S330 then.In the present embodiment, detect the user by mobile button or roll mouse roller, make whole screen display content move up or down delegation or multirow, but full page do not take place to switch fully, the displaying contents after then upgrading with upgrade preceding displaying contents identical part arranged.In addition, in the present embodiment, by obtaining the coordinate offset amount that screen display content moves, analyze after upgrading displaying contents with upgrade preceding displaying contents whether identical part arranged.With the webpage is example, and this coordinate can calculate with the first row contains starting point coordinate of web page display contents.Screen display content moves the displaying contents that is meant whole screen and is moved, and promptly whole screen moves up or down delegation or multirow.The coordinate offset amount is meant when screen display content moves, the variable quantity that its coordinate takes place.In addition, whole screen display size is limited, and the line number that can show is limited, and the interval size of then corresponding coordinate is the same with line number, and then can set a predetermined value is maximum display line numerical value.When user's direction of passage key or roll mouse roller make whole screen move up or down delegation or multirow, do not carry out the switching fully of full page, the coordinate offset amount that the screen display content that then obtains moves should be non-vanishing, and coordinate offset amount absolute value is less than this predetermined value.With the webpage is example, as the screen display content coordinate range before upgrading is 1-10, screen display content coordinate range after the renewal is 3-12, this predetermined value is 10, coordinate offset amount absolute value is 2 less than this predetermined value, and then screen display content is moved, and the page that do not switch, therefore, the displaying contents after the renewal with upgrade before displaying contents exist part identical.If the coordinate offset amount is 10, then switching has taken place 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, the displaying contents before the renewal that will duplicate according to the coordinate offset amount with draw newly-increased content and merge and show.In the present embodiment, behind buffer zone, have a part of clear area at buffer zone according to the displaying contents before the coordinate offset amount copy update, promptly wait to draw the district, the drafting for the treatment of that then newly-increased displaying contents is plotted to buffer zone is distinguished.As show before upgrading in the webpage for coordinate be 1 to 10 content, to show after the renewal for coordinate be 3 to 12 content, the coordinate offset amount is 2, duplicate 3 to 10 content to buffer zone according to this coordinate offset amount, the white space that in buffer zone, can have two row, with newly-increased coordinate is that 11 and 12 content is plotted to two line space white regions in the buffer zone, and the coordinate that with the coordinate that duplicates is 3 to 10 content and drafting then is that 11 and 12 content merges the back and shows.
Shown in Figure 4, in one embodiment, when user's browsing page or explorer, by button or touch-screen switching selected object is changed, and impel whole screen display content to move up or down delegation or multirow, but whole screen display content does not take place to switch fully, the displaying contents after then upgrading with upgrade preceding displaying contents identical part arranged, concrete step of updating is as follows:
Step S410 detects that selected object changes and screen display content when moving up or down the incident of renewal screen display content of delegation or multirow, obtain the displaying contents before upgrading and upgrade after displaying contents.Detect the user and switch selected object by button or touch-screen, selected object changes and makes whole screen display content also move up or down delegation or multirow, produces the incident of upgrading screen display content.
Step S420, the displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, execution in step S430 then.Detect selected object and whole screen display content moves up or down delegation or multirow, but whole screen display content do not take place to switch completely, the displaying contents after therefore upgrading with upgrade preceding displaying contents identical part arranged.
Step S430, obtain the coordinate offset amount that screen display moves, according to the displaying contents before this coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and, draw the displaying contents and preceding selected object and the selected object after the renewal of renewal that increase newly and merge and demonstration the displaying contents before the copy update.Displaying contents after the renewal with upgrade before displaying contents identical part is arranged, then get access to the coordinate offset amount that whole screen display content moves earlier, according to the displaying contents before the coordinate offset amount copy update, draw newly-increased displaying contents again, repaint the selected object before upgrading then and upgrade after selected object, the three is merged the back shows.With the page refreshment is example, according to the displaying contents before the coordinate offset amount copy update behind buffer zone, there is a part of clear area at buffer zone, promptly wait to draw the district, then newly-increased displaying contents is plotted to buffer zone wait draw the district, repaint the selected object before upgrading again and upgrade after selected object cover on the corresponding coordinate position.As show before upgrading in the webpage for coordinate be 1 to 10 content, the selected object that highlights before upgrading is " physical culture ", to show after the renewal for coordinate be 3 to 12 content, the selected object that highlights after the renewal is " amusement ", then the coordinate offset amount is 2, duplicate 3 to 10 content to buffer zone according to this coordinate offset amount, the white space that in buffer zone, can have two row, with newly-increased coordinate is that 11 and 12 content is plotted to two line space white regions in the buffer zone, the selected object " physical culture " that repaints then before upgrading does not highlight content, selected object " amusement " after drafting is upgraded will be shown on the screen after three's merging for highlighting content.
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 incident of upgrading screen display content, whole screen display content takes place to switch completely, then with upgrade before displaying contents do not have overlapping part.Concrete step of updating is as follows:
Step S510, when detecting whole screen display content the incident of the renewal screen display content that switches completely taking place, obtain the displaying contents before upgrading and upgrade after displaying contents.When detecting user's browsing page or explorer, make full page take place to switch completely, produced the incident of upgrading screen display content by button or roll mouse roller.
Step 520, the displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if not, execution in step S540.The user switches whole screen display content by button or roll mouse roller, the displaying contents after then upgrading with upgrade preceding displaying contents and do not have identical part.In the present embodiment, can be by getting access to the coordinate offset amount that screen display content moves, whether the displaying contents of analyzing after upgrading preceding displaying contents and upgrading has identical part.Specifically: whole screen display size is limited, and the line number that can show is limited, and the interval size of then corresponding coordinate is the same with line number, and then can set predetermined value is maximum display line numerical value.The coordinate offset amount that moves when screen display content is more than or equal to predetermined value, and this screen display content full page switches, the displaying contents after the renewal with upgrade before displaying contents do not have identical part.
Step S540 draws displaying contents and demonstration after upgrading.The coordinate offset amount that screen display content moves has surpassed predetermined value, and then variation has taken place the content of whole screen fully, and the displaying contents before displaying contents after the renewal and the renewal does not have overlapping part, does not promptly have identical part.The user moves and makes full page that switching completely take place, and then directly draws the displaying contents interior and demonstration to buffer zone after upgrading.
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,
When detecting acquisition module 10 and being used to detect the incident of upgrading screen display content, obtain the displaying contents before upgrading and upgrade after displaying contents.Detect acquisition module 10 be used to detect the user by button or, touch screen or roll mouse roller move the incident of the renewal screen display content that the page produces, as user's browsing page or when opening explorer, detect acquisition module 10 and detect the user by direction button or roll mouse roller, make whole screen display content move up or down delegation or multirow, or switch full page; The incident that detects acquisition module 10 detected renewal screen display contents can also be the variation of selected object, selected object is meant the content that highlights in the screen content, the picture of choosing as the netpage user that highlights or literal etc., selected file that highlights etc. in the explorer and for example, the user can be switched selected object by button or touch screen, thereby produces the incident of upgrading screen display content.
In the present embodiment, the content of screen display after renewal with upgrade before when identical part is arranged, then update module 30 is duplicated displaying contents before the renewal of identical part to buffer zone layer as a setting, draws the displaying contents that increases newly then in buffer zone.During as user's browsing page, detect acquisition module 10 and get access to the user is switched the renewal screen display content that makes the selected object variation by button or touch-screen incident, judge module 20 is judged except selected object changes, other parts are identical, identical part is promptly arranged, displaying contents before update module 30 copy updates, selected object (being depicted as not selected state) before drafting is upgraded again and the selected object (being depicted as selected state) after the renewal are to the content of the original opposite position of buffer zone covering.Wherein, buffer zone shows that size is the same with the screen display size, and promptly 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 earlier the preceding demonstration of displaying contents after upgrading and renewal to be compared and judge whether identical part, if have, then update module 30 is duplicated identical part, again the content of change is drawn, need not same section is drawn, improved the drafting efficient that screen display content upgrades greatly.
In addition, detecting acquisition module 10, to detect the incident of upgrading screen display content be in following four kinds of situations any one: selected object changes and screen does not move; Screen display content moves up or down delegation or multirow and selected object when constant; Selected object changes and screen display content moves up or down delegation or multirow; Whole screen display content takes place to switch completely.When the system that screen display content upgrades detected wherein any one situation, the process of renewal was inequality, was described in detail below the detailed process that different situations are upgraded.
(1) incident of renewal screen display content is that selected object changes and screen does not move.
Detecting acquisition module 10, to detect the incident of upgrading screen display content be that selected object changes and screen when not mobile, obtain the displaying contents before upgrading and upgrade after displaying contents.Detect acquisition module 10 by detecting, whole screen display content does not move up and down, and only switches by button or touch-screen for the user to make selected object that variation take place.During as browsing page, the selected object before upgrading is literal " physical culture ", and the selected object after the renewal is literal " amusement ".
Displaying contents before update module 30 copy updates, and repaint the selected object before upgrading and upgrade after selected object, with the selected object before the renewal of the displaying contents before the renewal of duplicating and drafting with the selected object after upgrading merges and by output module 40 output demonstrations.Present embodiment only changes for selected object, the displaying contents after the renewal with upgrade before displaying contents have identical.Therefore update module 30 becomes original coordinate transformation on the coordinate of buffer zone, and the displaying contents before the copy update is in buffer zone, background as the bottom, repaint the selected object before the renewal that gets access to again and upgrade after selected object, respectively according to its corresponding coordinate, override the original image that is positioned in the buffer zone on this corresponding coordinate, and the displaying contents before the renewal that will duplicate is shown on the screen with the content output that preceding selected object of the renewal that repaints and renewal back selected object are merged into buffer zone.Wherein, every row of screen display content and object all have its corresponding coordinate.With the document is example, and each object in the document all has coordinate, and this coordinate is to calculate with respect to the initial position of entire document.The size of buffer zone is big or small the same with on-screen display (osd) area.Before selected object before upgrading is meant update event takes place, the selected object that highlights in the screen, the selected object after the renewal is meant and takes place to be chosen the object that highlights by the user after the update event.As the selected literal that highlights before upgrading in the webpage is " physical culture ", upgrading the selected literal that highlights in back is " amusement ", after the displaying contents that renewal is preceding copies to buffer zone, update module 30 repaints " physical culture " and " amusement ", then it is copied in the buffer zone on the corresponding coordinate, " physical culture " does not highlight, and " amusement " becomes and highlight.
(2) to be that screen display content moves up or down delegation or multirow and selected object constant for the incident of upgrading screen display content.
Detect acquisition module 10 and detect the incident of upgrading screen display content to be that screen display content moves up or down delegation or multirow and selected object constant, obtain the displaying contents before upgrading and upgrade after displaying contents.When detecting acquisition module 10 and detecting user's browsing page or explorer etc., direction of passage key or roll mouse roller make whole screen move up delegation or multirow, or move down delegation or multirow, produce the incident of upgrading screen display content.
Judge module 20 judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged.In the present embodiment, detect the user by mobile button or roll mouse roller, make whole screen display content move up or down delegation or multirow, but full page do not take place to switch fully, the displaying contents after then upgrading with upgrade preceding displaying contents identical part arranged.In addition, in the present embodiment, obtain the coordinate offset amount that screen display content moves by detecting acquisition module 10, analyze after upgrading displaying contents with upgrade preceding displaying contents whether identical part arranged.With the webpage is example, and this coordinate can calculate with the first row contains starting point coordinate of web page display contents.Screen display content moves the displaying contents that is meant whole screen and is moved, and promptly whole screen moves up or down delegation or multirow.The coordinate offset amount is meant when screen display content moves, the variable quantity that its coordinate takes place.In addition, whole screen display size is limited, and the line number that can show is limited, and the interval size of then corresponding coordinate is the same with line number, and then can set a predetermined value is maximum display line numerical value.When user's direction of passage key or roll mouse roller make whole screen move up or down delegation or multirow, do not carry out the switching fully of full page, then detecting the coordinate offset amount that screen display content that acquisition module 10 obtains moves should be non-vanishing, and judge module 20 is judged these coordinate offset amount absolute values less than this predetermined value, the displaying contents after then upgrading with upgrade preceding displaying contents and have identical part.With the webpage is example, as the screen display content coordinate range before upgrading is 1-10, screen display content coordinate range after the renewal is 3-12, this predetermined value is 10, coordinate offset amount absolute value is 2 less than this predetermined value, then screen display content is moved, and the page that do not switch, judge module 20 judge after the renewal displaying contents with upgrade before displaying contents exist part identical.If the coordinate offset amount is 10, then switching has taken place in full page, then judge module 20 judge after the renewal displaying contents with upgrade preceding displaying contents and do not have identical part.
Detect acquisition module 10 and obtain the coordinate offset amount that screen display content moves.The displaying contents of update module 30 before, draw newly-increased content according to this coordinate offset amount copy update, the displaying contents before the renewal that will duplicate according to the coordinate offset amount with draw that newly-increased content merges and show by output module 40 outputs.In the present embodiment, there is a part of clear area in the displaying contents of update module 30 before according to coordinate offset amount copy update at buffer zone behind buffer zone, promptly waits to draw the district, draws newly-increased displaying contents waiting to draw and distinguish to buffer zone then.As show before upgrading in the webpage for coordinate be 1 to 10 content, to show after the renewal for coordinate be 3 to 12 content, the coordinate offset amount is 2, update module 30 is duplicated 3 to 10 content to buffer zone according to this coordinate offset amount, the white space that in buffer zone, can have two row, be that 11 and 12 content is plotted to two line space white regions in the buffer zone again with newly-increased coordinate, the coordinate that with the coordinate that duplicates is 3 to 10 content and drafting then is that 11 and 12 content merges and shows by output module 40 outputs.
(3) incident of renewal screen display content is that selected object changes and screen display content moves up or down delegation or multirow.
Detect that acquisition module 10 detects that selected object changes and screen display content when moving up or down the incident of renewal screen display content of delegation or multirow, obtain the displaying contents before upgrading and upgrade after displaying contents.Detect acquisition module 10 and detect the user by button or touch-screen switching selected object, selected object changes and causes whole screen display content also to move up or down delegation or multirow, produces the incident of upgrading screen display content.
Detect acquisition module 10 and obtain the coordinate offset amount that screen display moves.The displaying contents of update module 30 before according to this coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and with the displaying contents before the copy update, selected object that displaying contents that drafting increases newly and renewal are preceding and the selected object merging after the renewal are also passed through output module 40 and are exported demonstration.Judge module 20 judge after the renewal displaying contents with upgrade before displaying contents identical part is arranged, then get access to the coordinate offset amount that whole screen display content moves earlier by detecting acquisition module 10, update module 30 will be according to the displaying contents before the coordinate offset amount copy update then, draw newly-increased displaying contents again, repaint the selected object before upgrading then and upgrade after selected object, and the three merged the back show.
(4) incident of renewal screen display content is that whole screen display content takes place to switch completely.
Detecting acquisition module 10, to detect the incident of upgrading screen display content be whole screen display content when taking place to switch completely, obtain the displaying contents before upgrading and upgrade after displaying contents.When detection acquisition module 10 detects user's browsing page or explorer, make full page take place to switch completely, produced the incident of upgrading screen display content by button or roll mouse roller.
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 claim of the present invention.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 (10)
1. screen display content method for updating may further comprise the steps:
Obtain the displaying contents after upgrading preceding displaying contents and upgrading when detecting the incident of upgrading screen display content;
Displaying contents after judge upgrading with upgrade preceding displaying contents whether identical part arranged, if, the displaying contents of the displaying contents before the copy update, drafting change, the displaying contents of the change of displaying contents before the renewal of duplicating and drafting is merged and show, if not, the displaying contents of then drawing after upgrading also shows.
2. according to right 1 described screen display content method for updating, it is characterized in that, the incident of described renewal screen display content is that selected object changes and screen when not mobile, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are the displaying contents before the copy update, and the selected object after repainting the preceding selected object of renewal and upgrading, with the also demonstration of selected object merging after selected object before the renewal of displaying contents before the renewal of duplicating and drafting and the renewal.
3. screen display content method for updating according to claim 1, it is characterized in that, the incident of described renewal screen display content is that screen display content moves up or down delegation or multirow and selected object when constant, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are to obtain the coordinate offset amount that screen display content moves, according to the displaying contents before the described coordinate offset amount copy update, draw newly-increased content, the displaying contents before the renewal that will duplicate according to described coordinate offset amount merges and demonstration with the newly-increased content of drafting.
4. screen display content method for updating according to claim 1, it is characterized in that, the incident of described renewal screen display content is that selected object changes and screen display content when moving up or down delegation or multirow, displaying contents after judge upgrading with upgrade preceding displaying contents identical part arranged, displaying contents before the described copy update, draw the displaying contents of change, the concrete steps that the displaying contents of the change of displaying contents before the renewal of duplicating and drafting merged and show are to obtain the coordinate offset amount that screen display moves, according to the displaying contents before the described coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and the displaying contents before the renewal that will duplicate, the newly-increased displaying contents of drafting and the selected object before the renewal and the selected object after the renewal merge and show.
5. the method for screen content display update according to claim 1, it is characterized in that, the incident of described renewal screen display content is that whole screen display content is when taking place to switch completely, displaying contents after judge upgrading with upgrade before displaying contents do not have identical part, then directly draw the also demonstration of displaying contents after upgrading.
6. the system that screen display content upgrades is characterized in that, comprising:
Detect acquisition module, obtain the displaying contents after upgrading preceding displaying contents and upgrading when detecting the incident of upgrading screen display content;
Judge module, according to the displaying contents before the renewal that gets access to the displaying contents after upgrading, judge after upgrading displaying contents with upgrade preceding displaying contents whether identical part arranged;
Update module, displaying contents after described judge module is judged renewal with upgrade before displaying contents identical part is arranged, then the displaying contents before the copy update, draw the displaying contents of change, and the displaying contents of the change of displaying contents before the renewal that will duplicate and drafting merges, displaying contents after described judge module is judged renewal with upgrade before displaying contents do not have identical part, then draw the displaying contents after the renewal;
Output module, output show the displaying contents of the change of displaying contents before the renewal of duplicating that described update module merges and drafting, or output shows the displaying contents after the renewal that described update module draws.
7. the system that screen display content according to claim 6 upgrades, it is characterized in that, the incident that described detection acquisition module detects described renewal screen display content is that selected object changes and screen when not mobile, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, displaying contents before the described update module copy update, and repaint the selected object before upgrading and upgrade after selected object, with the selected object before the renewal of the displaying contents before the renewal of duplicating and drafting with the selected object after upgrading merges and by described output module output demonstration.
8. the system that screen display content according to claim 6 upgrades, it is characterized in that, the incident that described detection acquisition module detects described renewal screen display content is that screen display content moves up or down delegation or multirow and selected object when constant, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, described detection acquisition module also obtains the coordinate offset amount that screen display content moves, described update module is further according to the displaying contents before the described coordinate offset amount copy update, draw newly-increased content, the displaying contents before the renewal that will duplicate according to described coordinate offset amount merges with the newly-increased content of drafting and by described output module output demonstration.
9. the system that screen display content according to claim 6 upgrades, it is characterized in that, the incident that described detection acquisition module detects described renewal screen display content is that selected object changes and screen display content when moving up or down delegation or multirow, described judge module judge after upgrading displaying contents with upgrade preceding displaying contents identical part arranged, described detection acquisition module also obtains the coordinate offset amount that screen display moves, the displaying contents of described update module before according to described coordinate offset amount copy update, draw preceding selected object of newly-increased displaying contents and renewal and the selected object after the renewal, and the displaying contents before the renewal that will duplicate, selected object that the newly-increased displaying contents of drafting and renewal are preceding and the selected object after the renewal merge and export demonstration by described output module.
10. the system that screen display content according to claim 6 upgrades, it is characterized in that, the incident that described detection acquisition module detects described renewal screen display content is that whole screen display content is when taking place to switch completely, described judge module judge after upgrading displaying contents with upgrade before displaying contents do not have identical part, described update module directly draw after the renewal displaying contents and by described output module output demonstration.
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 true CN102279720A (en) | 2011-12-14 |
CN102279720B 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) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677491A (en) * | 2012-09-03 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for rendering website |
CN104238911A (en) * | 2014-08-20 | 2014-12-24 | 小米科技有限责任公司 | Loading icon display method and device |
WO2015074387A1 (en) * | 2013-11-20 | 2015-05-28 | 小米科技有限责任公司 | Sliding operation response method, apparatus and terminal device |
CN105595988A (en) * | 2015-12-23 | 2016-05-25 | 石家庄翰纬医疗设备有限公司 | Electrocardiogram wave form drawing method and calculation device |
JP2017159110A (en) * | 2015-08-10 | 2017-09-14 | コニカミノルタ株式会社 | Display device and display method of monitoring object person monitoring system, and monitoring object person monitoring system |
CN108132746A (en) * | 2016-12-01 | 2018-06-08 | 腾讯科技(北京)有限公司 | A kind of image display method, device and equipment |
CN108693951A (en) * | 2018-05-10 | 2018-10-23 | Oppo广东移动通信有限公司 | Show content updating method and device |
CN109799940A (en) * | 2018-12-28 | 2019-05-24 | 北京字节跳动网络技术有限公司 | In response to the method, apparatus and computer readable medium of gesture operation processing presentation content |
CN110442410A (en) * | 2019-07-15 | 2019-11-12 | 深圳市元征科技股份有限公司 | Embedded type interface design method, device, electronic equipment and storage medium |
CN113900758A (en) * | 2021-10-22 | 2022-01-07 | 广州博冠信息科技有限公司 | Content display method, content display device, computer equipment 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)
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 |
-
2010
- 2010-06-08 CN CN201010195308.8A patent/CN102279720B/en active Active
Patent Citations (5)
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 |
Cited By (16)
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 |
CN103677491A (en) * | 2012-09-03 | 2014-03-26 | 百度在线网络技术(北京)有限公司 | Method and device for rendering website |
WO2015074387A1 (en) * | 2013-11-20 | 2015-05-28 | 小米科技有限责任公司 | Sliding operation response method, apparatus and terminal device |
CN104238911B (en) * | 2014-08-20 | 2018-04-06 | 小米科技有限责任公司 | Load icon display method and device |
CN104238911A (en) * | 2014-08-20 | 2014-12-24 | 小米科技有限责任公司 | Loading icon display method and device |
JP2017159110A (en) * | 2015-08-10 | 2017-09-14 | コニカミノルタ株式会社 | Display device and display method of monitoring object person monitoring system, and monitoring object person monitoring system |
CN105595988A (en) * | 2015-12-23 | 2016-05-25 | 石家庄翰纬医疗设备有限公司 | Electrocardiogram wave form drawing method and calculation device |
CN108132746A (en) * | 2016-12-01 | 2018-06-08 | 腾讯科技(北京)有限公司 | A kind of image display method, device and equipment |
CN108132746B (en) * | 2016-12-01 | 2021-02-05 | 腾讯科技(北京)有限公司 | Picture display method, device and equipment |
CN108693951A (en) * | 2018-05-10 | 2018-10-23 | Oppo广东移动通信有限公司 | Show content updating method and device |
CN108693951B (en) * | 2018-05-10 | 2021-04-06 | Oppo广东移动通信有限公司 | Display content updating method and device |
CN109799940A (en) * | 2018-12-28 | 2019-05-24 | 北京字节跳动网络技术有限公司 | In response to the method, apparatus and computer readable medium of gesture operation processing presentation content |
CN110442410A (en) * | 2019-07-15 | 2019-11-12 | 深圳市元征科技股份有限公司 | Embedded type interface design method, device, electronic equipment and storage medium |
CN113900758A (en) * | 2021-10-22 | 2022-01-07 | 广州博冠信息科技有限公司 | Content display method, content display device, computer equipment and computer-readable 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 |
Also Published As
Publication number | Publication date |
---|---|
CN102279720B (en) | 2014-03-19 |
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 | |
CN103279278B (en) | A kind of method and apparatus obtaining icon details in terminal interface | |
CN202632268U (en) | Information processing device | |
CN105988860B (en) | Method for executing application program and mobile device | |
CN109313530A (en) | Equipment, method and graphic user interface for carrying out navigating and interacting with control object between user interface | |
CN104503682A (en) | Method for processing screen display window and mobile terminal | |
CN104331246A (en) | Device and method for split screen display in terminal | |
CN111580923B (en) | Control method and device and electronic equipment | |
CN104216600A (en) | Method for providing functions of application programs and touch screen intelligent terminal device | |
CN102722334A (en) | Control method and device of touch screen | |
CN103186321A (en) | Method and device for controlling menu on screen | |
CN102819416A (en) | Method and device for realizing content display of component | |
JP2003143286A (en) | Portable telephone set | |
CN103577033B (en) | A kind of method to set up of input method panel and system | |
CN106020614A (en) | Switch method and terminal for application programs | |
KR20110020530A (en) | Apparatus and method for executing shortened function on a mobile phone | |
WO2022253181A1 (en) | Icon arrangement method and apparatus, and electronic device | |
CN106055207A (en) | Virtual button display method and device | |
CN102004610A (en) | User interface, system and method for executing or ending programs by towing | |
CN102929545A (en) | Terminal and terminal control method | |
US20220004287A1 (en) | Layout method, device and equipment for window control bars | |
CN106155507A (en) | A kind of page content display method and electronic equipment | |
CN112882619B (en) | Application interface management method and device, electronic equipment and medium | |
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 |