CN105335364A - Method and apparatus for accelerating slide display of view - Google Patents

Method and apparatus for accelerating slide display of view Download PDF

Info

Publication number
CN105335364A
CN105335364A CN201410234244.6A CN201410234244A CN105335364A CN 105335364 A CN105335364 A CN 105335364A CN 201410234244 A CN201410234244 A CN 201410234244A CN 105335364 A CN105335364 A CN 105335364A
Authority
CN
China
Prior art keywords
buffer memory
page area
content
view window
cache blocks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410234244.6A
Other languages
Chinese (zh)
Other versions
CN105335364B (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.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN201410234244.6A priority Critical patent/CN105335364B/en
Priority to PCT/CN2014/090185 priority patent/WO2015180414A1/en
Publication of CN105335364A publication Critical patent/CN105335364A/en
Application granted granted Critical
Publication of CN105335364B publication Critical patent/CN105335364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2183Cache memory

Abstract

Embodiments of the present invention disclose a method and an apparatus for accelerating slide display of a view and are used for a terminal device. The method comprises: after a view window on a page moves from an original position to a new position, acquiring a page area that needs to be displayed on the view window; and determining whether a partial content of the page area is stored in a buffer already, and if yes, adjusting division of four buffer blocks and a content stored in each buffer block. According to the method and apparatus provided by the present invention, the buffer is divided into four buffer blocks by using transverse and longitudinal dividing lines; a page area that should be displayed is mapped to the four buffer blocks; and such a mapping relationship is dynamically adjusted when the view window is moved. In this way, not only a partial page content that has been rasterized can be reused, but also cumbersome resetting and sorting on the buffer does not need to be conducted after the view window is moved, but a local adjustment to the buffer is sufficient each time, thereby avoiding intermittent stops when the view window slides, and achieving faster display speed.

Description

A kind of method and device realizing view slip display acceleration
Technical field
The present invention relates to technical field of image processing, especially relate to a kind of method and the device that realize view slip display acceleration.
Background technology
Two steps are needed: first content of pages is rasterized into dot matrix bitmap, and then is synthesized on screen being plotted in the view window of terminal device (as mobile phone, computer etc.) by the pages such as a webpage.Rasterisation is wherein process very consuming time.In order to improve display speed, usually the design of slidably view window is adopted at present, first do not draw full page, but the page area only drawn in this page, namely only this part page area in view window region is plotted on screen, when user allows view window slide up and down by finger (or mouse etc.), then change page area shown in view window accordingly along with this slip.
Because the page in drawing view window area also can expend the regular hour, so in order to accelerate drafting speed further, user is made to obtain good experience effect, can the rasterization result corresponding to a part of page area be stored in one piece of larger buffer memory with the form of dot matrix bitmap in the prior art, when preparing the next view window of display, if the content that next view window comprises is in this buffer memory, then reusable, namely need not carry out rasterization process again, thus save the drafting time to a certain extent.
Inventor is realizing finding in process of the present invention, although scheme of the prior art can reduce some work amount by reusing of rasterization result, improve plotting speed, but, when the movement of view window is beyond this buffer memory border, the content of buffer memory needs to carry out replacement and arranges, and can relate to the operations such as copying image, consume the regular hour again on the contrary, cause view window to there will be Caton phenomenon in moving process.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of method and the device that realize view slip display acceleration, to make view window have display speed faster when sliding, avoids occurring Caton phenomenon.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
On the one hand, embodiments provide a kind of method realizing view slip display and accelerate, described method is used for terminal device, described terminal device comprises a rectangle buffer memory, described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window; Described method comprises:
After described view window moves to reposition from original position on the page, obtain the page area needing to be shown in view window;
Judge the partial content whether having stored described page area in described buffer memory;
If stored the partial content of described page area in buffer memory, then:
Adjust the content that the division of described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area;
The content that described four cache blocks store is spliced into described page area and shows in described view window.
Optionally, the content that the division of described four cache blocks of described adjustment and each cache blocks store, comprising:
Move to according to from original position the movement that described in reposition process, view window is done, move horizontally described vertical cut-off rule and/or vertically move described horizontal cut-off rule;
Described horizontal stroke, buffer zone that vertical cut-off rule is inswept in moving process are labeled as buffer zone to be updated;
According to the fresh content that the edge moving to view window described in reposition process from original position is inswept on the page, fill described buffer zone to be updated.
Optionally, described method also comprises:
After judging whether stored the partial content of described page area in described buffer memory:
If do not store any content of described page area in described buffer memory, then reset described buffer memory, the full content of described page area is drawn out in described buffer memory, and in described view window, the full content of the described page area stored in described buffer memory is shown.
Optionally, the described buffer memory of described replacement, the full content of described page area is drawn out in described buffer memory, comprising:
Empty described buffer memory;
By described horizontal stroke, indulge the edge that cut-off rule moves to described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
The full content of described page area is drawn out in the cache blocks of described buffer memory described equaling.Can be shown in Figure 7.
Optionally, described method also comprises:
After judging whether stored the partial content of described page area in described buffer memory:
If stored the full content of described page area in described buffer memory, then the content direct splicing that described four cache blocks store is described page area and has shown in described view window.
On the other hand, embodiments provide a kind of device realizing view slip display and accelerate, described device is used for terminal device, described terminal device comprises a rectangle buffer memory, described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window; Described device comprises:
New page area acquisition unit, after moving to reposition from original position when described view window on the page, obtains the page area needing to be shown in view window;
First buffer memory adjustment unit, for when having stored the partial content of described page area in buffer memory, adjust the content that the division of described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area;
New page region display unit, is spliced into described page area for the content stored by described four cache blocks and shows in described view window.
Optionally, described first buffer memory adjustment unit comprises:
Cache blocks divides adjustment subelement, for according to moving to from original position the movement that described in reposition process, view window is done, moving horizontally described vertical cut-off rule and/or vertically moving described horizontal cut-off rule;
Zone marker subelement to be updated, for being labeled as buffer zone to be updated by described horizontal stroke, vertical cut-off rule in the buffer zone that moving process is inswept;
Upgrade subelement, for according to moving to the edge of view window described in reposition process fresh content inswept on the page from original position, fill described buffer zone to be updated.
Optionally, described device also comprises:
Second buffer memory adjustment unit, for resetting described buffer memory when not storing any content of described page area in described buffer memory, and draws out the full content of described page area in described buffer memory.
Optionally, described second buffer memory adjustment unit comprises:
Buffer memory empties subelement, for emptying described buffer memory;
Cut-off rule resets subelement, and for described horizontal stroke, vertical cut-off rule being moved to the edge of described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
Draw subelement, for being drawn out in the cache blocks of described buffer memory described equaling by the full content of described page area.
Optionally, described device also comprises:
Direct display trigger element, for when having stored the full content of described page area in described buffer memory, has directly triggered described new page region display unit.
The technical scheme that the embodiment of the present invention provides can comprise following beneficial effect:
Buffer memory is no longer regarded as a single region by the embodiment of the present invention, but use transverse and longitudinal cut-off rule buffer memory to be divided into four cache blocks, the page area that should show is mapped in these four cache blocks, and when view window moves this mapping relations of dynamic conditioning, the i.e. content that stores of the division of these four cache blocks of dynamic conditioning and each cache blocks, so not only can reuse the content of pages of a part of rasterisation, more after view window moves, bothersome replacement can not carried out to buffer memory to arrange, but carry out the local directed complete set of buffer memory at every turn, thus avoid the appearance of view window Caton phenomenon when sliding, there is display speed faster.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 ~ 3 are schematic diagram of caching design in prior art;
Fig. 4 is the schematic diagram of caching design in the present invention one exemplary embodiment;
Fig. 5 is a kind of process flow diagram realizing view slip display accelerated method in the present invention one exemplary embodiment;
Fig. 6 is a kind of process flow diagram realizing view slip display accelerated method in the present invention one exemplary embodiment;
Fig. 7 ~ 9 are the schematic diagram of four cache blocks changes in the present invention one exemplary embodiment;
Figure 10 is a kind of process flow diagram realizing view slip display accelerated method in the present invention one exemplary embodiment;
Figure 11 is a kind of block diagram realizing the device that view slip display is accelerated in the present invention one exemplary embodiment;
Figure 12 is a kind of block diagram realizing the device that view slip display is accelerated in the present invention one exemplary embodiment;
Figure 13 is a kind of block diagram realizing the device that view slip display is accelerated in the present invention one exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 ~ 3 are schematic diagram of caching design in prior art.In FIG, 101 is buffer memory of the prior art, and 102 is view window.In the scene shown in Fig. 1, the page area (i.e. shadow region) that view window prepares to show all within buffer memory scope, so directly the corresponding contents in buffer memory is carried out showing in view window.In fig. 2, when view window moves to 102b position from 102a position, because now do not exceed the scope of buffer memory 101, so still directly the content in buffer memory 101 can be shown to view window; And when view window moves to 102c position from 102b, now cross the border of buffer memory 101, in order to can the part be beyond the boundary be brought in buffer memory 101, buffer memory 101 needs to carry out replacement and arranges, to adapt to the 102c position of view window, Fig. 3 shows buffer memory 101 and resets the result after arranging.Replacement due to buffer memory arranges and relates to whole buffer zone, has the operations such as copying image, causes resetting arranging process consumes certain hour, and pausing has appearred blocking in external manifestation and view window in sliding process.
In order to make view window have display speed faster when sliding, avoid occurring Caton phenomenon, present embodiments provide a kind of method realizing view slip display and accelerate, described method may be used for terminal device.
Described terminal device comprises a rectangle buffer memory, and described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window.Can be shown in Figure 4.
Fig. 4 is the schematic diagram of caching design in the present invention one exemplary embodiment, wherein 401 is buffer memory, 402 page areas that will show for view window, buffer memory 401 is divided into four cache blocks by horizontal cut-off rule 4012 and vertical cut-off rule 4011 as can see from Figure 4, the page area each several part content (A, B, C, D) that will show is respectively stored in these cache blocks, if the content in four cache blocks taken out and be spliced to view window, then also just achieve the display to this page area.
Fig. 5 is a kind of process flow diagram realizing view slip display accelerated method in the present invention one exemplary embodiment, and described method can comprise the following steps:
S501, after described view window moves to reposition from original position on the page, obtain and need the page area that is shown in view window.
Under the finger sliding etc. of user operates, view window moves to reposition from original position on the page, content now shown by view window also should change thereupon, but the content that view window will the show direct color applying drawing that is needs, or obtain from buffer memory, then need to judge, and the relation according to memory page content in the page area that namely will show and buffer memory judged.
S502, judge the partial content whether having stored described page area in described buffer memory.
Because different page area is all on the same page in fact, so the contrast to page area coordinate (coordinates as page area four summits) can be converted to the contrast of page area content, the relation of the content of buffer memory and page area to be shown can be judged by the coordinate of page area deposited and the coordinate of page area to be shown (i.e. described page area) in contrast buffer memory.
If stored the partial content of described page area in buffer memory, then:
The content that S503, the division adjusting described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area.The overlapped contents of described partial content also i.e. buffer memory and described page area, other of described page area remain the other guide on contents and the described page except described partial content.
Detailed process the present embodiment for adjustment does not need to limit, as long as it is constant in described buffer memory finally to reach described partial content, and the buffer zone in described buffer memory except described partial content is updated to the such result of other residue contents of described page area.These modes that can use herein all do not deviate from spirit of the present invention and protection domain.
Exemplarily, can be shown in Figure 6, in the present embodiment or the present invention's some other embodiments, the content that the division of described four cache blocks of described adjustment and each cache blocks store, can comprise the steps:
S5031, basis move to from original position the movement that described in reposition process, view window is done, and move horizontally described vertical cut-off rule and/or vertically move described horizontal cut-off rule;
S5032, described horizontal stroke, vertical cut-off rule are labeled as buffer zone to be updated in the buffer zone that moving process is inswept;
S5033, according to moving to the edge of view window described in reposition process fresh content inswept on the page from original position, fill described buffer zone to be updated.
By above step, just can reach described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to this result of other residue contents of described page area.
Exemplarily, can see shown in Fig. 7 ~ 9:
Fig. 7 ~ 9 are the schematic diagram of four cache blocks changes in the present invention one exemplary embodiment.In the figure 7,701 is a webpage, its content comprises " abcd " printed words of inclination as shown in the figure, and 702a is view window (more precisely the current location of view window), and 703a is buffer memory " snapshot " of the current storage content of buffer memory (more precisely).In the figure 7, display " ab " printed words in view window, the content identical with view window is also stores in buffer memory, Fig. 7 can be regarded as the situation of initial time (after also can be regarded as buffer memory replacement), now horizontal, vertical cut-off rule can be regarded as and overlaps with the coboundary of buffer memory and left hand edge respectively, that is, the lower right corner cache blocks now in four cache blocks can be regarded as and equals whole buffer memory, and other cache blocks then can be regarded as and equal zero.
In addition it is easily understood that, after initial time or buffer memory reset, which this for transverse and longitudinal cut-off rule virtual line is considered as with coincident of view window do not need to limit, those skilled in the art can optionally adjust, if such as find, view window moves right from initial time (or after buffer memory replacement), so those skilled in the art are readily understood that should not be considered as vertical cut-off rule initial time overlaps with right hand edge, because if like this vertical cut-off rule just cannot do moved right identical with view window in buffer memory, overlap so vertical cut-off rule initial time should be considered as in this case with view window left hand edge.
In fig. 8, the position of view window starts to be moved, and is moved to the position of 702b from 702a, just should show " bc " printed words in such view window, and the basis being for this reason buffered in 703a starts to adjust:
First, horizontal, vertical cut-off rule starts to move respectively (certainly it is easily understood that horizontal cut-off rule can only vertically move in buffer memory, vertical cut-off rule can only in buffer memory transverse shifting).What movement and the view window of horizontal cut-off rule were done vertically moves consistent (comprising direction and the distance of movement), the transverse shifting consistent (comprising direction and the distance of movement) that the movement of vertical cut-off rule is then done with view window.Such as in the process from 702a to 702b, view window has moved right 1cm, has moved down 2.5cm simultaneously, then vertical cut-off rule also will move right 1cm, and horizontal cut-off rule also will move down 2.5cm simultaneously.
Then, transverse and longitudinal cut-off rule is the more inswept buffer zones of meeting in moving process, these buffer zones be swept and buffer zone to be updated, need to carry out filling and upgrade in other words conj.or perhaps.In order to make the change of figure be easier to understand, in 702b, in Fig. 8, additionally add " 12345 " several decimal fractions of endways arrangement.Move to the process of 702b in view window from 702a, its edge can some contents on inswept webpage 701, wherein the coboundary of view window and the inswept content of left hand edge are old contents, because had in these content 702a, and lower limb and the inswept content of right hand edge are fresh contents, the i.e. content of pages that do not comprise of situ, the content also namely do not comprised in 702a.Namely these fresh contents be swept have been filled into buffer zone to be updated accordingly, are in other three cache blocks (i.e. the cache blocks of upper left, upper right, lower-left) of 703b in fig. 8.This filling is drawing course, contains the steps such as rasterisation.
Through adjustment above, the content update of buffer memory is complete, next just can take out and is assembled into 702b and formally shows in view window (see step S504).
In fig .9, the position of view window there occurs change again, is moved to 702c from 702b, now buffer memory or the appearance shown in 703b, in order to the content (namely showing " cd " printed words) in 702c can be shown in view window, need again to adjust buffer memory.The adjustment done in buffer memory and Fig. 8 similar: what first transverse and longitudinal cut-off rule did according to view window respectively moves and moves; Those buffer zones that simultaneously transverse and longitudinal cut-off rule is inswept in moving process should use view window fresh content inswept when mobile (be exactly the lower limb of view window in fig .9, content of pages that right hand edge is inswept) to fill, similarly this filling is drawing course, contains the steps such as rasterisation.Through adjustment above, the content update of buffer memory is complete, next just can take out and is assembled into 702c and formally shows in view window (see step S504).
S504, the content that described four cache blocks store is spliced into described new page region and shows in described view window.
In addition, in the present embodiment or the present invention's some other embodiments, described method can also comprise:
If do not store any content of described page area in described buffer memory, then perform:
S505, reset described buffer memory, the full content of described page area is drawn out in described buffer memory, and in described view window, the full content of the described page area stored in described buffer memory is shown.
Replacement buffer memory can be understood as and re-starts initialization to buffer memory.Exemplarily, the described buffer memory of described replacement, draws out the full content of described page area in described buffer memory, can comprise:
Empty described buffer memory;
By described horizontal stroke, indulge the edge that cut-off rule moves to described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
The full content in described new page region is drawn out in the cache blocks of described buffer memory described equaling.
In addition, in the present embodiment or the present invention's some other embodiments, described method can also comprise:
If stored the full content of described page area in described buffer memory, then perform following step:
S506, the content direct splicing that described four cache blocks store is described page area and shows in described view window.
Step S505 and S506 can be shown in Figure 10.
Figure 11 is a kind of block diagram realizing the device that view slip display is accelerated in the present invention one exemplary embodiment.Described device may be used for terminal device, described terminal device comprises a rectangle buffer memory, described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window; Described device can comprise:
New page area acquisition unit 1101, after moving to reposition from original position when described view window on the page, obtains the page area needing to be shown in view window;
First buffer memory adjustment unit 1102, for when having stored the partial content of described page area in buffer memory, adjust the content that the division of described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area;
New page region display unit 1103, is spliced into described page area for the content stored by described four cache blocks and shows in described view window.
In the present embodiment or the present invention's some other embodiments, described first buffer memory adjustment unit can comprise:
Cache blocks divides adjustment subelement, for according to moving to from original position the movement that described in reposition process, view window is done, moving horizontally described vertical cut-off rule and/or vertically moving described horizontal cut-off rule;
Zone marker subelement to be updated, for being labeled as buffer zone to be updated by described horizontal stroke, vertical cut-off rule in the buffer zone that moving process is inswept;
Upgrade subelement, for according to moving to the edge of view window described in reposition process fresh content inswept on the page from original position, fill described buffer zone to be updated.
In the present embodiment or the present invention's some other embodiments, shown in Figure 12, described device can also comprise:
Second buffer memory adjustment unit 1104, for resetting described buffer memory when not storing any content of described page area in described buffer memory, and draws out the full content of described page area in described buffer memory.
In the present embodiment or the present invention's some other embodiments, described second buffer memory adjustment unit can comprise:
Buffer memory empties subelement, for emptying described buffer memory;
Cut-off rule resets subelement, and for described horizontal stroke, vertical cut-off rule being moved to the edge of described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
Draw subelement, for being drawn out in the cache blocks of described buffer memory described equaling by the full content of described page area.
In the present embodiment or the present invention's some other embodiments, shown in Figure 13, described device can also comprise:
Direct display trigger element 1105, for when having stored the full content of described page area in described buffer memory, has directly triggered described new page region display unit.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (10)

1. the method realizing view slip display and accelerate, it is characterized in that, described method is used for terminal device, described terminal device comprises a rectangle buffer memory, described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window; Described method comprises:
After described view window moves to reposition from original position on the page, obtain the page area needing to be shown in view window;
Judge the partial content whether having stored described page area in described buffer memory;
If stored the partial content of described page area in buffer memory, then:
Adjust the content that the division of described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area;
The content that described four cache blocks store is spliced into described page area and shows in described view window.
2. method according to claim 1, is characterized in that, the content that the division of described four cache blocks of described adjustment and each cache blocks store, and comprising:
Move to according to from original position the movement that described in reposition process, view window is done, move horizontally described vertical cut-off rule and/or vertically move described horizontal cut-off rule;
Described horizontal stroke, buffer zone that vertical cut-off rule is inswept in moving process are labeled as buffer zone to be updated;
According to the fresh content that the edge moving to view window described in reposition process from original position is inswept on the page, fill described buffer zone to be updated.
3. method according to claim 1, is characterized in that, described method also comprises:
After judging whether stored the partial content of described page area in described buffer memory:
If do not store any content of described page area in described buffer memory, then reset described buffer memory, the full content of described page area is drawn out in described buffer memory, and in described view window, the full content of the described page area stored in described buffer memory is shown.
4. method according to claim 3, is characterized in that, the described buffer memory of described replacement, is drawn out by the full content of described page area, comprising in described buffer memory:
Empty described buffer memory;
By described horizontal stroke, indulge the edge that cut-off rule moves to described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
The full content of described page area is drawn out in the cache blocks of described buffer memory described equaling.
5. method according to claim 1, is characterized in that, described method also comprises:
After judging whether stored the partial content of described page area in described buffer memory:
If stored the full content of described page area in described buffer memory, then the content direct splicing that described four cache blocks store is described page area and has shown in described view window.
6. the device realizing view slip display and accelerate, it is characterized in that, described device is used for terminal device, described terminal device comprises a rectangle buffer memory, described buffer memory is dynamically divided into four cache blocks by horizontal, vertical two moveable cut-off rules, and each described cache blocks is respectively used to a part for the page area storing the current correspondence of view window; Described device comprises:
New page area acquisition unit, after moving to reposition from original position when described view window on the page, obtains the page area needing to be shown in view window;
First buffer memory adjustment unit, for when having stored the partial content of described page area in buffer memory, adjust the content that the division of described four cache blocks and each cache blocks store, to make described partial content constant in described buffer memory, and the buffer zone in described buffer memory except described partial content is updated to other residue contents of described page area;
New page region display unit, is spliced into described page area for the content stored by described four cache blocks and shows in described view window.
7. device according to claim 6, is characterized in that, described first buffer memory adjustment unit comprises:
Cache blocks divides adjustment subelement, for according to moving to from original position the movement that described in reposition process, view window is done, moving horizontally described vertical cut-off rule and/or vertically moving described horizontal cut-off rule;
Zone marker subelement to be updated, for being labeled as buffer zone to be updated by described horizontal stroke, vertical cut-off rule in the buffer zone that moving process is inswept;
Upgrade subelement, for according to moving to the edge of view window described in reposition process fresh content inswept on the page from original position, fill described buffer zone to be updated.
8. device according to claim 6, is characterized in that, described device also comprises:
Second buffer memory adjustment unit, for resetting described buffer memory when not storing any content of described page area in described buffer memory, and draws out the full content of described page area in described buffer memory.
9. device according to claim 8, is characterized in that, described second buffer memory adjustment unit comprises:
Buffer memory empties subelement, for emptying described buffer memory;
Cut-off rule resets subelement, and for described horizontal stroke, vertical cut-off rule being moved to the edge of described buffer memory, to make a cache blocks equal described buffer memory, other three cache blocks narrow down to zero;
Draw subelement, for being drawn out in the cache blocks of described buffer memory described equaling by the full content of described page area.
10. device according to claim 6, is characterized in that, described device also comprises:
Direct display trigger element, for when having stored the full content of described page area in described buffer memory, has directly triggered described new page region display unit.
CN201410234244.6A 2014-05-29 2014-05-29 A kind of method and device realizing view slip display acceleration Active CN105335364B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410234244.6A CN105335364B (en) 2014-05-29 2014-05-29 A kind of method and device realizing view slip display acceleration
PCT/CN2014/090185 WO2015180414A1 (en) 2014-05-29 2014-11-03 Method and device for accelerating slide display of view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410234244.6A CN105335364B (en) 2014-05-29 2014-05-29 A kind of method and device realizing view slip display acceleration

Publications (2)

Publication Number Publication Date
CN105335364A true CN105335364A (en) 2016-02-17
CN105335364B CN105335364B (en) 2017-03-08

Family

ID=54698008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410234244.6A Active CN105335364B (en) 2014-05-29 2014-05-29 A kind of method and device realizing view slip display acceleration

Country Status (2)

Country Link
CN (1) CN105335364B (en)
WO (1) WO2015180414A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526576A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 The methods of exhibiting and device of the view component of the page
CN109299414A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 A kind of method and terminal of loading page
CN109885227A (en) * 2017-12-06 2019-06-14 腾讯科技(深圳)有限公司 Content display method, display terminal and computer storage medium
CN112445566A (en) * 2020-11-30 2021-03-05 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN112650465A (en) * 2021-01-12 2021-04-13 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN114546232A (en) * 2022-04-24 2022-05-27 广州中望龙腾软件股份有限公司 View translation method, terminal and computer-readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117709296A (en) * 2022-09-06 2024-03-15 福建福昕软件开发股份有限公司 PDF page rendering cache method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092833A (en) * 2011-10-27 2013-05-08 腾讯科技(深圳)有限公司 Method, apparatus and mobile device for viewing pictures in mobile browser
CN103164235A (en) * 2011-12-14 2013-06-19 腾讯科技(深圳)有限公司 Method and device for Flash game material dynamic loading
CN103207752A (en) * 2012-01-11 2013-07-17 淮南师范学院 Achieving method of sliding screen of liquid crystal screen
CN103677554A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for sliding screen smoothly

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006005682A (en) * 2004-06-17 2006-01-05 Toshiba Corp Data structure of meta-data of dynamic image and reproducing method therefor
CN101741986B (en) * 2009-12-31 2012-12-26 优视科技有限公司 Page cache method for mobile communication equipment terminal
KR101951228B1 (en) * 2012-10-10 2019-02-22 삼성전자주식회사 Multi display device and method for photographing thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092833A (en) * 2011-10-27 2013-05-08 腾讯科技(深圳)有限公司 Method, apparatus and mobile device for viewing pictures in mobile browser
CN103164235A (en) * 2011-12-14 2013-06-19 腾讯科技(深圳)有限公司 Method and device for Flash game material dynamic loading
CN103207752A (en) * 2012-01-11 2013-07-17 淮南师范学院 Achieving method of sliding screen of liquid crystal screen
CN103677554A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for sliding screen smoothly

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526576A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 The methods of exhibiting and device of the view component of the page
CN109885227A (en) * 2017-12-06 2019-06-14 腾讯科技(深圳)有限公司 Content display method, display terminal and computer storage medium
CN109299414A (en) * 2018-09-26 2019-02-01 深圳壹账通智能科技有限公司 A kind of method and terminal of loading page
CN112445566A (en) * 2020-11-30 2021-03-05 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN112445566B (en) * 2020-11-30 2024-03-05 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN112650465A (en) * 2021-01-12 2021-04-13 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN114546232A (en) * 2022-04-24 2022-05-27 广州中望龙腾软件股份有限公司 View translation method, terminal and computer-readable storage medium

Also Published As

Publication number Publication date
CN105335364B (en) 2017-03-08
WO2015180414A1 (en) 2015-12-03

Similar Documents

Publication Publication Date Title
CN105335364A (en) Method and apparatus for accelerating slide display of view
CN103810742B (en) Image rendering method and system
EP1840837A2 (en) Graphics-rendering apparatus
JP5830806B1 (en) Program, electronic device, and method for improving operability of user input
KR102055467B1 (en) Virtual surface allocation
CN101763234B (en) Method and device for simulating various screen resolutions
US10319062B2 (en) Rendering map data using descriptions of raster differences
CN103020888B (en) Image translation upgrades display packing and system
JP2005038263A (en) Image processor, image processing method, recording medium, and program
AU2014207384B2 (en) Supporting user interactions with rendered graphical objects
CN106991711A (en) Person's handwriting edit methods and system
US11398065B2 (en) Graphic object modifications
US20220121307A1 (en) Method and device of drawing handwriting track, electronic apparatus, medium, and program product
US5986661A (en) Graphics output system with bounded updating
CN104077056B (en) Translation method and system for page displayed on screen
CN104516621A (en) Cursor display method and device
KR20130097886A (en) Apparatus and method for rendering
CN105701107A (en) Character rendering method of electronic map and character rendering device of electronic map
CN108830794A (en) Across the map sheet seamless tiled display method of the PDF map of gauss projection
US9997138B2 (en) System and method for adaptive and persistent media presentations
CN109766530B (en) Method and device for generating chart frame, storage medium and electronic equipment
CN104238892A (en) Information processing method and electronic equipment
US8120620B2 (en) Graphics system and drawing method thereof
US7215342B2 (en) System and method for detecting and converting a transparency simulation effect
CN103700362B (en) Multi signal window display method and device

Legal Events

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

Effective date of registration: 20200421

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100083, No. 28, Fu Cheng Road, 12, Beijing, Haidian District

Patentee before: UC MOBILE Ltd.