CN107247748A - Page loading method and device - Google Patents
Page loading method and device Download PDFInfo
- Publication number
- CN107247748A CN107247748A CN201710374186.0A CN201710374186A CN107247748A CN 107247748 A CN107247748 A CN 107247748A CN 201710374186 A CN201710374186 A CN 201710374186A CN 107247748 A CN107247748 A CN 107247748A
- Authority
- CN
- China
- Prior art keywords
- content
- page
- slide
- user
- removal
- 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
- 238000011068 loading method Methods 0.000 title claims abstract description 30
- 230000004044 response Effects 0.000 claims abstract description 33
- 238000000034 method Methods 0.000 claims abstract description 28
- 230000001960 triggered effect Effects 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000009877 rendering Methods 0.000 abstract description 8
- 238000001514 detection method Methods 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 3
- 238000000151 deposition Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 210000004209 hair Anatomy 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of page loading method and device, and this method includes:The slide performed in response to user to first direction to the page, client obtains the height of the removal content produced by slide, while extracting and caching into internal memory the removal content from the page.According to the height generation and the height identical empty content for removing content, and to be buffered the removal content into internal memory in the empty content replacement page.Because removal content has no longer been stored in the page, therefore client also just removes content without render this again, so as to reduce the page rendering pressure of client, also avoids simultaneously because rendering content excessively causes the phenomenon of page browsing interim card in the page.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of page loading method and device.
Background technology
Content in user's browsing pages for convenience, in the prior art, the slide based on user can be loaded constantly
New data content is into current page, and such a page loading mode is referred to as waterfall stream loading mode.Such a pattern can be used
Family obtains more information content while it also avoid the page turn over operation of user's mouse click in a short time.
In waterfall stream loading mode scene, with increasing for user's slide number of times, the data in the page are loaded into
Content can also increase.Because the size of the display interface for showing content of pages is limited, it is often below or equal to terminal
The size of screen, therefore have increasing data content and can not be displayed in display interface, in non-display shape
State.But these data contents for being in non-display state are also to need to be rendered in real time, and which increases the page of client
Face renders pressure, it is also possible to the phenomenon of page interim card occurs, reduces the usage experience of user.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of page loading method and device, is replaced by using empty content
The content in display interface region is removed, so as to reduce the page rendering pressure of client.
The embodiment of the present invention provides a kind of page loading method, including:
The slide performed in response to user to first direction to the page, will remove display interface region in the page
Content caching into internal memory;
Generation is with removing content height identical empty content;
The removal content is replaced with the empty content.
Alternatively, the slide performed in response to user to first direction to the page, will be removed in the page
The content caching in display interface region into internal memory, including:
The slide performed in response to user to first direction to the page, if removing the display interface in the page
The content in region has reached predetermined threshold value, then will reach the removal content caching of the predetermined threshold value into internal memory, institute
Stating predetermined threshold value includes:Preset height threshold value or preset data amount threshold value.
Alternatively, the slide performed in response to user to first direction to the page, will be removed in the page
The content caching in display interface region into internal memory, including:
The slide performed in response to user to first direction to the page, if in preset time the user do not trigger to
The slide that second direction is performed to the page, then will remove the content caching in display interface region to interior in the page
In depositing, the second direction is opposite to the first direction.
Alternatively, methods described also includes:
It is that the removal content and the empty content generate corresponding mark.
Alternatively, methods described also includes:
If desired the empty content is shown, then the removal content is obtained from the internal memory according to the mark;
The empty content is replaced with the removal content.
Alternatively, methods described also includes:
Slide of the user to second direction is monitored, if the position of the empty content and the display interface region
The distance between boundary position be less than pre-determined distance, it is determined that need to show the empty content, wherein, the border with it is described
Second direction correspondence, the second direction is opposite to the first direction.
The embodiment of the present invention provides a kind of page loading device, including:
Cache module, for the slide performed in response to user to first direction to the page, will be moved in the page
Go out the content caching in display interface region into internal memory;
Generation module, for generating and removing content height identical empty content;
Replacement module, for replacing the removal content with the empty content.
Alternatively, the cache module specifically for:
The slide performed in response to user to first direction to the page, if removing the display interface in the page
The content in region has reached predetermined threshold value, then will reach the removal content caching of the predetermined threshold value into internal memory, institute
Stating predetermined threshold value includes:Preset height threshold value or preset data amount threshold value.
Alternatively, the cache module is specifically additionally operable to:
The slide performed in response to user to first direction to the page, if in preset time the user do not trigger to
The slide that second direction is performed to the page, then will remove the content caching in display interface region to interior in the page
In depositing, the second direction is opposite to the first direction.
Alternatively, described device also includes:
Monitoring modular, for monitoring slide of the user to second direction, if the position of the empty content with it is described
The distance between the boundary position in display interface region is less than pre-determined distance, it is determined that need to show the empty content, wherein,
The border is corresponding with the second direction, and the second direction is opposite to the first direction.
Page loading method and device provided in an embodiment of the present invention, are performed in response to user to first direction to the page
Slide, client obtains the height of the removal content produced by slide, while by the removal content from the page
Extract and cache into internal memory.According to the height generation and the height identical empty content for removing content, and with the sky
White content, which is replaced in the page, is buffered the removal content into internal memory.No longer it has been stored in due to removing content in the page, therefore
Client also just removes content without render this again, so as to reduce the page rendering pressure of client, also avoid simultaneously by
Rendering content excessively causes the phenomenon of page browsing interim card in the page.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of page loading method embodiment one provided in an embodiment of the present invention;
Fig. 2 is the flow chart of page loading method embodiment two provided in an embodiment of the present invention;
Fig. 3 is the flow chart of page loading method embodiment three provided in an embodiment of the present invention;
Fig. 4 is the flow chart of page loading method example IV provided in an embodiment of the present invention;
Fig. 5 is the structural representation of page loading device embodiment one provided in an embodiment of the present invention;
Fig. 6 is the structural representation of page loading device embodiment two provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications, " a variety of " generally comprise at least two, but not
Exclude and include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but
These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, not departing from implementation of the present invention
In the case of example scope, the first XXX can also be referred to as the 2nd XXX, similarly, and the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite
Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations
Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also
There is other identical element.
Fig. 1 is the flow chart of page loading method embodiment one provided in an embodiment of the present invention, and what the present embodiment was provided should
The executive agent of page loading method can be client, as shown in figure 1, this method comprises the following steps:
S101, the slide performed in response to user to first direction to the page will remove display interface area in the page
The content caching in domain is into internal memory.
S102, generation is with removing content height identical empty content.
S103, is replaced with empty content and removes content.
When user is by the Client browse page, due to the display interface size for showing the page be it is limited, because
This tends not in a screen all the elements in intactly displayed page when the content included in the page is a lot.And user
In order to which more contents can be obtained, it can be triggered in the enterprising line slip of terminal device display screen for current browse webpage
The slide to first direction.Trigger after first direction slide, can be shown in display interface region a part of new
Content displaying to user, while a part also can be correspondingly removed in display interface region has showed the content of user.
Content in the page can include word, static images, dynamic picture or video etc..
For the convenience being hereinafter described, the content for removing display interface region can be referred to as removing content.Based on this,
User is triggered after the slide performed to first direction to the page, then can produce removal content, client is by this removal
Hold and taken out from current page, is cached in internal memory, and determine the height of the removal content.Alternatively, client can be pin
To user trigger first direction slide, obtain immediately this slide it is corresponding remove content height, and by this
Remove content to take out from current page, be cached in internal memory.
Alternatively, client can obtain the height for removing content in the following manner.
The browse request for a certain page that server can be sent according to client, by the full content in the page
Data feedback is to client.Family can be used to browse the page after content-data of the client by receiving and rendering this page.
Wherein content-data, which can include record in the page layout file of the page, this page layout file, all the elements in the page
Position coordinates and content identification etc..It is located at the content of display interface region predeterminated position in client records current page
Content identification corresponding to 1.After user triggers the slide of first direction, client can be equally recorded after slip in the page
The content identification corresponding to content 2 positioned at the same predeterminated position in display interface region.The content 1,2 that client passes through record
Content identification can find position coordinates corresponding with the content identification in page layout file, by calculating the two position
The difference of coordinate can obtain the height for the content for removing display interface region, and the height of this content can be represented with pixel.
Height generation and its height identical empty content of the client according to this removal content, and replaced with this empty content
Removal content is changed, that is to say that will remove content is replaced with its height identical empty content.
In the present embodiment, the slide performed in response to user to first direction to the page, client is obtained by sliding
The height for the removal content for operating and producing, while extracting and caching into internal memory the removal content from the page.Root
According to the height generation and its height identical empty content for removing content, and the empty content is deposited in the page, to for
Change removal content of the caching into internal memory.No longer it has been stored in due to removing content in the page, therefore client is also just without again
Render this and remove content, so as to reduce the page rendering pressure of client, also avoid simultaneously due to rendering content in the page
Phenomenon that is excessive and causing page browsing interim card.
Fig. 2 is the flow chart of page loading method embodiment two provided in an embodiment of the present invention, as shown in Fig. 2 this method
It may include steps of:
S201, the slide performed in response to user to first direction to the page, if removing display interface area in the page
The content in domain has reached predetermined threshold value, then will reach the removal content caching of predetermined threshold value into internal memory, predetermined threshold value
Including:Preset height threshold value or preset data amount threshold value.
After the slide of the first direction triggered in response to user, client is obtained by this slide
Corresponding to the content of removal accumulative content height or cumulative data amount, to preset height threshold value or preset data amount threshold
Value is compared.When removing content corresponding accumulative content height or cumulative data amount more than or equal to predetermined threshold value, visitor
Family end will remove content caching into internal memory.
Alternatively, client can obtain the accumulative content height for removing content using the method being related in embodiment one
Degree, will not be repeated here.
Alternatively, client can obtain the cumulative data amount for removing content in the following manner.
Not only include the page in the corresponding page layout file of the page currently browsed that client is received from server
In the position coordinates of each content, content identification, will also include the data volume of the content of each in the page.Content is removed with obtaining
Content is highly similar, interior corresponding to the content 1 in client records current page positioned at display interface region predeterminated position
Hold mark.After user triggers the slide of first direction, client, which can equally be recorded, is located at display circle in the page after slip
Content identification corresponding to the content 2 of the same predeterminated position in face region.The content identification for the content 1,2 that client passes through record exists
Position coordinates corresponding with the content identification is searched in page layout file, and then, recycle page layout file acquisition position
Coordinate is located at the data volume corresponding to each content between content 1 and content 2, by calculating the first party obtained by this
The data volume of the removal content produced to slide.
S202, generation is with removing content height identical empty content.
S203, is replaced with empty content and removes content.
Above-mentioned steps S202-S203 implementation procedure is similar to the corresponding steps of previous embodiment, may refer to such as Fig. 1 institutes
Show the associated description in embodiment, will not be repeated here.
In the present embodiment, whenever content arrival predetermined threshold value is removed, client is up to the removal content of predetermined threshold value
Caching is into the internal memory of client.This predetermined threshold value removal content be by multiple slide produce in the case of, by this
The removal content caching of predetermined threshold value can effectively reduce the number of times that client generates empty content into internal memory, mitigate client
Processing pressure.
Fig. 3 is the flow chart of page loading method embodiment three provided in an embodiment of the present invention, as shown in figure 3, this method
It may include steps of:
S301, the slide performed in response to user to first direction to the page, if user does not trigger in preset time
The slide performed to second direction to the page, then by the content caching in removal display interface region in the page into internal memory,
Second direction is opposite with first direction.
After user triggers the slide of first direction, client end response simultaneously records this first direction slide
In the triggered time, now client can't will remove content caching into internal memory immediately, but user can be determined whether pre-
If whether triggering the slide of second direction in the time.Wherein, after the second direction slide of user's triggering, given
Content can be showed in display interface region again in a part of page that user showed.It is therefore readily appreciated that ground, second
The slide in direction is the reverse operating of first direction slide.After user triggers the slide of second direction,
Client can equally record the triggered time of the second direction slide, so that according to second direction slide and first
The triggered time of direction slide triggering obtains the time interval in the slide triggered time in two kinds of directions.And then, judge
Whether this time interval reaches preset time, if time interval is more than preset time, and now client can will just remove content and delay
Deposit into internal memory.
S302, generation is with removing content height identical empty content.
S303, is replaced with empty content and removes content.
Above-mentioned steps S302-S303 implementation procedure is similar to the corresponding steps of previous embodiment, may refer to such as Fig. 1 institutes
Show the associated description in embodiment, will not be described here.
In the present embodiment, client is needed according between adjacent first direction slide and second direction slide
Triggered time time interval come judge whether will remove content caching into internal memory.It is determined that user does not have in preset time
Have after triggering second direction slide, then remove the caching of content, can so be prevented effectively from user and trigger repeatedly
When first direction slide and second direction slide, client is caused to generate empty content repeatedly, so as to increase visitor
The data processing pressure at family end.
Fig. 4 is the flow chart of page loading method example IV provided in an embodiment of the present invention, as shown in figure 4, this method
Also comprise the following steps:
S401, the slide performed in response to user to first direction to the page shows boundary by being removed in the page
The content caching in face region is into internal memory.
S402, generation is with removing content height identical empty content.
The implementation procedure of above-mentioned steps is similar to the corresponding steps of previous embodiment, may refer to embodiment as shown in Figure 1
In associated description, will not be described here.
S403, corresponding mark is generated to remove content and empty content.
The slide that client end response is performed in user to first direction to the page, the slip of thus first direction is grasped
Make and produce removal content as a content entirety, be this content integrally generate one removal content identification, while for
This removes content, and there is mutually level empty content to generate an empty content mark.Alternatively, content identification and sky are removed
White content identification can be that, with identical mark, this mark can be the form of numbering.Alternatively, content identification and sky are removed
There can also be default corresponding relation between white content identification.
S404, is replaced with empty content and removes content.
The implementation procedure of above-mentioned steps is similar to the corresponding steps of previous embodiment, may refer to embodiment as shown in Figure 1
In associated description, will not be described here.
User triggers the slide of first direction, may browse through the content in more multi-page.In actual applications, lead to
It often there is also user and browse the content for having moved out display interface region again because wanting, and trigger the slip behaviour of second direction
The situation of work.For such a situation, the page loading method can also comprise the following steps:
S405, monitors slide of the user to second direction, if the side of the position of empty content and display interface region
The distance between boundary position is less than pre-determined distance, it is determined that need to show empty content, wherein, border is corresponding with second direction,
Second direction is opposite with first direction.
S406, if desired shows empty content, then according to need to show empty content it is corresponding mark from internal memory obtain move
Go out content.
S407, empty content is replaced to remove content.
When client monitors to user trigger second direction slide, alternatively, with embodiment one, two mutually inside the Pass
Hold similarly, client can be by obtaining the page layout file corresponding to the page currently browsed from server.Further according to
The position coordinates of empty content and the content of display interface zone boundary is currently located in this page layout file acquisition page
Corresponding position coordinates, wherein, the position coordinates of empty content includes the coboundary position coordinates of empty content and following
Boundary's position coordinates, coboundary is corresponding with second direction, and lower boundary is corresponding with first direction.If the lower boundary position of empty content is sat
The difference of the distance of mark and the boundary position coordinate in display interface region is less than pre-determined distance, then shows that empty content will be shown
Show.Now client can obtain corresponding removal content according to the empty content mark corresponding to the empty content that this will show
Mark, and then be obtained ahead of time removal content removing before content show, and removal content is taken out from internal memory, advance wash with watercolours
Dye is shown in display interface region, so that this, which removes content, replaces the empty content that will be shown.
In the present embodiment, by monitoring the second direction slide that user triggers, the empty content pair that will will be shown
The removal content answered is fetched and is rendered into from internal memory in the page currently browsed in advance, user is slided in triggering second direction
During operation, swimmingly it can be browsed again to removing content, so as to avoid after user's triggering second direction slide
The situation for the page browsing interim card for removing content and occurring is obtained and rendered again.
Fig. 5 is the structural representation of page loading device embodiment one provided in an embodiment of the present invention, as shown in figure 5, should
Page loading device includes:Cache module 11, generation module 12, replacement module 13.
Cache module 11, for the slide performed in response to user to first direction to the page, will be removed in the page
The content caching in display interface region is into internal memory.
Generation module 12, for generating and removing content height identical empty content.
Replacement module 13, content is removed for being replaced with empty content.
Alternatively, cache module 11, specifically for the slide performed in response to user to first direction to the page, if
The content that display interface region is removed in the page has reached predetermined threshold value, then delays the removal content for having reached predetermined threshold value
It is stored in internal memory, predetermined threshold value includes:Preset height threshold value or preset data amount threshold value.
Alternatively, cache module 11, are specifically additionally operable to the slide performed in response to user to first direction to the page,
If user does not trigger the slide performed to second direction to the page in preset time, display interface area will be removed in the page
The content caching in domain is into internal memory, and second direction is opposite with first direction.
Fig. 5 shown devices can perform the method for any embodiment shown in Fig. 1-3, the portion that the present embodiment is not described in detail
Point, refer to the related description to any embodiment shown in Fig. 1-3.The implementation procedure and technique effect of the technical scheme are referring to figure
Description in any embodiment shown in 1-3, will not be repeated here.
Fig. 6 is the structural representation of page loading device embodiment two provided in an embodiment of the present invention, as shown in fig. 6,
On the basis of embodiment illustrated in fig. 5, the page loading device also includes:Acquisition module 21.
Acquisition module 21, for if desired showing empty content, then obtains from internal memory according to mark and removes content.
Generation module 12, is additionally operable to generate corresponding mark to remove content and empty content.
Replacement module 13, is additionally operable to replace empty content to remove content.
Alternatively, the page loading device also includes:Monitoring modular 22.
Monitoring modular 21, for monitoring slide of the user to second direction, if the position of empty content and display circle
The distance between the boundary position in face region is less than pre-determined distance, it is determined that need to show empty content, wherein, border and second
Direction correspondence, second direction is opposite with first direction.
Fig. 6 shown devices can perform the method for embodiment illustrated in fig. 4, and the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 4.In implementation procedure and the technique effect embodiment shown in Figure 4 of the technical scheme
Description, will not be repeated here.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of general hardware platform necessary to add, naturally it is also possible to pass through hardware.Understood based on such, above-mentioned skill
The part that art scheme substantially contributes to prior art in other words can be embodied in the form of product, computer production
Product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause one
Platform computer installation (can be personal computer, server, or network equipment etc.) performs each embodiment or embodiment
Some parts described in method.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of page loading method, it is characterised in that including:
The slide performed in response to user to first direction to the page, will be removed in display interface region in the page
Hold caching into internal memory;
Generation is with removing content height identical empty content;
The removal content is replaced with the empty content.
2. according to the method described in claim 1, it is characterised in that described that the page is performed to first direction in response to user
Slide, by the content caching in removal display interface region in the page into internal memory, including:
The slide performed in response to user to first direction to the page, if removing the display interface region in the page
Content reached predetermined threshold value, then will reach the removal content caching of the predetermined threshold value into internal memory, it is described pre-
If threshold value includes:Preset height threshold value or preset data amount threshold value.
3. according to the method described in claim 1, it is characterised in that described that the page is performed to first direction in response to user
Slide, by the content caching in removal display interface region in the page into internal memory, including:
The slide performed in response to user to first direction to the page, if the user is not triggered to second in preset time
The slide that direction is performed to the page, then by the content caching in removal display interface region in the page to internal memory
In, the second direction is opposite to the first direction.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
It is that the removal content and the empty content generate corresponding mark.
5. method according to claim 4, it is characterised in that methods described also includes:
If desired the empty content is shown, then the removal content is obtained from the internal memory according to the mark;
The empty content is replaced with the removal content.
6. method according to claim 5, it is characterised in that methods described also includes:
Slide of the user to second direction is monitored, if the border of the position of the empty content and the display interface region
The distance between position is less than pre-determined distance, it is determined that need to show the empty content, wherein, the border and described second
Direction correspondence, the second direction is opposite to the first direction.
7. a kind of page loading device, it is characterised in that including:
Cache module, it is aobvious by being removed in the page for the slide performed in response to user to first direction to the page
Show the content caching of interface zone into internal memory;
Generation module, for generating and removing content height identical empty content;
Replacement module, for replacing the removal content with the empty content.
8. device according to claim 6, it is characterised in that the cache module specifically for:
The slide performed in response to user to first direction to the page, if removing the display interface region in the page
Content reached predetermined threshold value, then will reach the removal content caching of the predetermined threshold value into internal memory, it is described pre-
If threshold value includes:Preset height threshold value or preset data amount threshold value.
9. device according to claim 6, it is characterised in that the cache module is specifically additionally operable to:
The slide performed in response to user to first direction to the page, if the user is not triggered to second in preset time
The slide that direction is performed to the page, then by the content caching in removal display interface region in the page to internal memory
In, the second direction is opposite to the first direction.
10. device according to claim 9, it is characterised in that described device also includes:
Monitoring modular, for monitoring slide of the user to second direction, if the position of the empty content and the display
The distance between boundary position of interface zone is less than pre-determined distance, it is determined that need to show the empty content, wherein, it is described
Border is corresponding with the second direction, and the second direction is opposite to the first direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710374186.0A CN107247748B (en) | 2017-05-24 | 2017-05-24 | Page loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710374186.0A CN107247748B (en) | 2017-05-24 | 2017-05-24 | Page loading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107247748A true CN107247748A (en) | 2017-10-13 |
CN107247748B CN107247748B (en) | 2020-08-07 |
Family
ID=60016697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710374186.0A Expired - Fee Related CN107247748B (en) | 2017-05-24 | 2017-05-24 | Page loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107247748B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818008A (en) * | 2017-11-21 | 2018-03-20 | 武汉斗鱼网络科技有限公司 | page loading method and device |
CN107908336A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Method for refreshing, device, storage medium and the terminal of list control |
CN108491546A (en) * | 2018-04-04 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | A kind of page switching method and electronic equipment |
CN109522499A (en) * | 2018-11-20 | 2019-03-26 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of local loading page data |
CN109976857A (en) * | 2019-03-27 | 2019-07-05 | 北京字节跳动网络技术有限公司 | Display control method, device, storage medium and the electronic equipment of terminal interface |
CN110433492A (en) * | 2019-08-09 | 2019-11-12 | 网易(杭州)网络有限公司 | User interface loading method, device, electronic equipment and medium |
CN111610900A (en) * | 2020-04-27 | 2020-09-01 | 广州小迈网络科技有限公司 | Page display processing method, system and storage medium |
CN112417360A (en) * | 2020-12-03 | 2021-02-26 | 武汉悦学帮网络技术有限公司 | Webpage rendering method and device |
CN112579241A (en) * | 2020-12-22 | 2021-03-30 | 广州博冠信息科技有限公司 | Page layout method and device, computer-readable storage medium and electronic equipment |
CN112698771A (en) * | 2020-12-29 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Display control method, display control device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750373A (en) * | 2013-12-25 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Method and device for processing page content |
CN104808889A (en) * | 2014-01-24 | 2015-07-29 | 贝壳网际(北京)安全技术有限公司 | Page switching method and electronic equipment |
US20150261770A1 (en) * | 2012-11-29 | 2015-09-17 | Tencent Technology (Shenzhen) Company Limited | Page loading method and system, and computer-readable storage medium |
CN106250434A (en) * | 2016-07-26 | 2016-12-21 | 东软集团股份有限公司 | Load the method and device of webpage |
CN106294609A (en) * | 2016-07-29 | 2017-01-04 | 北京小米移动软件有限公司 | page loading method and device |
-
2017
- 2017-05-24 CN CN201710374186.0A patent/CN107247748B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150261770A1 (en) * | 2012-11-29 | 2015-09-17 | Tencent Technology (Shenzhen) Company Limited | Page loading method and system, and computer-readable storage medium |
CN104750373A (en) * | 2013-12-25 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Method and device for processing page content |
CN104808889A (en) * | 2014-01-24 | 2015-07-29 | 贝壳网际(北京)安全技术有限公司 | Page switching method and electronic equipment |
CN106250434A (en) * | 2016-07-26 | 2016-12-21 | 东软集团股份有限公司 | Load the method and device of webpage |
CN106294609A (en) * | 2016-07-29 | 2017-01-04 | 北京小米移动软件有限公司 | page loading method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107908336A (en) * | 2017-11-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Method for refreshing, device, storage medium and the terminal of list control |
CN107818008A (en) * | 2017-11-21 | 2018-03-20 | 武汉斗鱼网络科技有限公司 | page loading method and device |
CN108491546A (en) * | 2018-04-04 | 2018-09-04 | 武汉斗鱼网络科技有限公司 | A kind of page switching method and electronic equipment |
CN109522499A (en) * | 2018-11-20 | 2019-03-26 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of local loading page data |
CN109976857A (en) * | 2019-03-27 | 2019-07-05 | 北京字节跳动网络技术有限公司 | Display control method, device, storage medium and the electronic equipment of terminal interface |
CN109976857B (en) * | 2019-03-27 | 2021-09-03 | 北京字节跳动网络技术有限公司 | Display control method and device of terminal interface, storage medium and electronic equipment |
CN110433492A (en) * | 2019-08-09 | 2019-11-12 | 网易(杭州)网络有限公司 | User interface loading method, device, electronic equipment and medium |
CN111610900A (en) * | 2020-04-27 | 2020-09-01 | 广州小迈网络科技有限公司 | Page display processing method, system and storage medium |
CN111610900B (en) * | 2020-04-27 | 2021-07-20 | 广州小迈网络科技有限公司 | Page display processing method, system and storage medium |
CN112417360A (en) * | 2020-12-03 | 2021-02-26 | 武汉悦学帮网络技术有限公司 | Webpage rendering method and device |
CN112579241A (en) * | 2020-12-22 | 2021-03-30 | 广州博冠信息科技有限公司 | Page layout method and device, computer-readable storage medium and electronic equipment |
CN112698771A (en) * | 2020-12-29 | 2021-04-23 | 维沃移动通信(杭州)有限公司 | Display control method, display control device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107247748B (en) | 2020-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107247748A (en) | Page loading method and device | |
CN106610993B (en) | Video preview display method and device | |
CN107408115B (en) | Web site filter, method and medium for controlling access to content | |
US20090096810A1 (en) | Method for selectively remoting windows | |
CN107371056A (en) | A kind of method and apparatus for loading barrage | |
Gansner et al. | Interactive visualization of streaming text data with dynamic maps | |
EP3408752B1 (en) | Object management and visualization using a computing device | |
CN111754407A (en) | Layout method, device and equipment for image display and storage medium | |
CN110007829A (en) | Content display method, device, terminal and storage medium | |
CN106446075A (en) | Page request processing method and apparatus | |
CN115967831A (en) | Video display method and device, electronic equipment and storage medium | |
CN105912668A (en) | Method and equipment for label management | |
CN106649518A (en) | Method and apparatus for processing dynamic information data | |
US10769755B1 (en) | Dynamic contextual display of key images | |
CN107391534A (en) | The page is shown, pagefile return method and device, computer-readable storage medium | |
CN111124111A (en) | Processing method and electronic equipment | |
CN106325873A (en) | Multi-window page display processing method and device | |
US10503694B2 (en) | Deleting items based on user interation | |
CN104281562A (en) | Electronic document processing method and device | |
Tair | The importance of responsive logo design across a wide range of devices on the web | |
CN106250000A (en) | The display packing of a kind of user interface and terminal | |
CN107193956A (en) | Page processing method and device | |
CN108804652B (en) | Method and device for generating cover picture, storage medium and electronic device | |
CN104731824B (en) | A kind of method and device showing picture | |
CN106446291A (en) | Method and apparatus for providing picture content pages based on artificial intelligence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210318 Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing Patentee after: Beijing longzhixin Technology Co.,Ltd. Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing Patentee before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200807 |