CN103455603B - Web page contents caching, webpage loading method, device and terminal unit - Google Patents
Web page contents caching, webpage loading method, device and terminal unit Download PDFInfo
- Publication number
- CN103455603B CN103455603B CN201310395864.3A CN201310395864A CN103455603B CN 103455603 B CN103455603 B CN 103455603B CN 201310395864 A CN201310395864 A CN 201310395864A CN 103455603 B CN103455603 B CN 103455603B
- Authority
- CN
- China
- Prior art keywords
- webpage
- buffer zone
- identification marking
- browsing
- web page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a kind of web page contents caching, webpage loading method, device and terminal unit, web page contents caching method includes: when receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;Judge whether the identification marking browsing webpage is present in default identification marking set;If browsing identification marking corresponding to webpage to be present in default identification marking set, in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, browse, with described, the buffer zone that webpage is corresponding;If the identification marking browsing webpage is not present in the identification marking set preset, the described web page contents browsing webpage is stored in the second buffer zone.Web page contents caching, webpage loading method, device and the terminal unit of the embodiment of the present invention, when needing in default website to load, it is not necessary to networking loads again, improves treatment effeciency, save the energy consumption of equipment and the consumption of network data, improve Consumer's Experience.
Description
Technical field
The present invention relates to web technologies field, particularly relate to a kind of web page contents caching, webpage loading method,
Device and terminal unit.
Background technology
Along with mobile terminal and the development of Internet technology, people are more and more by mobile phone, panel computer
Deng terminal unit, network is conducted interviews, in access process, the web page contents that terminal unit will browse in the recent period
Store to public buffer area.
The web page contents browsed is stored in public buffer area browsing terminal unit during webpage by user,
When user browses new webpage, the content of pages of new webpage is covered old web page contents and deposits by terminal unit
It is stored in public buffer area, during the webpage that user browses before proceeding, owing to should not in public buffer area
The caching content of pages of website, it is impossible to loaded by caching, can only be connected by network and load,
Reduce the treatment effeciency of terminal unit, need to utilize more Internet resources, have impact on Consumer's Experience.
Summary of the invention
The embodiment of the present invention provides a kind of web page contents caching, webpage loading method, device and terminal unit,
For realizing caching and the loading of webpage.
First aspect, it is provided that a kind of web page contents caching method, comprises the following steps:
When receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
Judge whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, described in correspondence
The web page contents browsing webpage of identification marking be stored in buffer zone with described browse that webpage is corresponding
One buffer zone;
If the identification marking browsing webpage is not present in the identification marking set preset, browse net by described
The web page contents of page is stored in the second buffer zone.
In the present embodiment, whether the identification marking being browsed webpage by judgement is present in default identification marking collection
In conjunction, the web page contents browsing webpage that will be present in the identification marking set preset is stored in buffer zone
In browse, with described, the first buffer zone that webpage is corresponding, carry out caching for default webpage and can protect webpage
Web page contents do not covered by other webpages, facilitate user to reload webpage, improve treatment effeciency,
Save the energy consumption of equipment and the consumption of network data, improve Consumer's Experience.
If it is also preferred that the left described step browses identification marking corresponding to webpage is present in default identification marking collection
In conjunction, clear with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that webpage of looking at is corresponding, including:
Whether exist in judging described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
If described buffer zone does not exist browses, with described, the first buffer zone that webpage is corresponding, described slow
In depositing region newly-built and described browse the first buffer zone that webpage is corresponding, clear by corresponding described identification marking
Look in the web page contents of webpage is stored in buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
If existing in described buffer zone and browsing, with described, the first buffer zone that webpage is corresponding, by correspondence institute
State the web page contents browsing webpage of identification marking to be stored in buffer zone with described to browse webpage corresponding
First buffer zone.
In the present embodiment, browse, with described, the first buffer zone that webpage is corresponding when described buffer zone does not exist
Time, newly-built and described browse the first buffer zone that webpage is corresponding in buffer zone, provide for browsing webpage
The first corresponding buffer zone, facilitates this to browse the caching of Webpage content or extraction.
It is also preferred that the left in described buffer zone newly-built and described browse the first buffer zone corresponding to webpage it
After, described method also includes:
Feedback and described the first buffer zone information browsing the first buffer zone corresponding to webpage are to default
In identification marking set.
In the present embodiment, by newly-built described and described browse the first buffer zone that webpage is corresponding after, instead
Present and described the first buffer zone information browsing the first buffer zone corresponding to webpage, in that context it may be convenient to obtain
The first newly-built buffer zone information, together integrates with other the first buffer zone information, is conducive to corresponding clear
Look at the storage of Webpage content.
It is also preferred that the left described identification marking include described in browse the webpage network address of webpage and extract from network address
At least one in key word.
In this enforcement, using the webpage network address browsing webpage and the key word that extracts from network address as webpage
Identification marking, it is possible to quickly represent be identified and classify browsing webpage based on identifying, improve process
Efficiency, simplifies process step.
It is also preferred that the left described method further comprises the steps of:
Record does not accesses the duration of described first buffer zone;
When the duration not accessing described first buffer zone exceedes default duration threshold value, empty described first
Buffer zone.
In this example, cache timeouts by equipment, exceeding caching timeouts in the first buffer zone
Time, empty the first buffer zone caching of caching time-out, it is to avoid in the first long webpage in buffer zone
Hold caching, save spatial cache, thus improve treatment effeciency.
Second aspect, it is provided that a kind of webpage loading method, described webpage loading method comprises the following steps:
When receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default
Identification marking set in;
If browsing identification marking corresponding to webpage to be present in default identification marking set, according to described clear
The identification marking that webpage of looking at is corresponding, browses, with described, the first buffer zone that webpage is corresponding in loading buffer zone
Web page contents;
If the identification marking browsing webpage is not present in the identification marking set preset, loaded by network
Browse the web page contents of webpage.
In this enforcement, when this webpage adds retrogressing or reloads, in loading buffer zone, browse net with described
The web page contents of the first buffer zone that page is corresponding, it is possible to for its web page contents of default Web caching, no
Can be covered by the web page contents of other webpages, need in default website load time, it is not necessary to again network into
Row loads, and improves treatment effeciency, saves the energy consumption of equipment and the consumption of network data, improve user
Experience.
If it is also preferred that the left described step browses identification marking corresponding to webpage is present in default identification marking collection
In conjunction, browse, according to described, the identification marking that webpage is corresponding, in loading buffer zone, browse webpage pair with described
The web page contents of the first buffer zone answered, including:
If browsing identification marking corresponding to webpage to be present in default identification marking set, it is judged that described slow
Whether exist in depositing region and browse, with described, the first buffer zone that webpage is corresponding;
Browse, with described, the first buffer zone that webpage is corresponding if existed in described buffer zone, then load slow
Deposit in region with the described web page contents browsing the first buffer zone corresponding to webpage;
Browse, with described, the first buffer zone that webpage is corresponding if do not existed in described buffer zone, then pass through
Network loads the web page contents browsing webpage.
It is also preferred that the left described when receiving the triggering command browsing webpage, it is judged that the identification marking browsing webpage is
No it is present in default identification marking set in step,
The described triggering command browsing webpage includes retreating or reloading instruction.
It is also preferred that the left described identification marking include described in browse the webpage network address of webpage and extract from network address
At least one in key word.
The third aspect, it is provided that a kind of web page contents buffer storage, described device includes:
Identification marking acquisition module, for when receiving the triggering browsing webpage, it is thus achieved that current browses webpage
Identification marking;
First judge module, for judging whether the identification marking browsing webpage is present in default identification marking
In set;
First cache module, if being present in default identification marking for browsing identification marking corresponding to webpage
In set, the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone with described
Browse the first buffer zone that webpage is corresponding;
Second cache module, if for browsing the identification marking collection that the identification marking of webpage is not present in presetting
In conjunction, the described web page contents browsing webpage is stored in the second buffer zone.
It is also preferred that the left described first cache module includes: the first judging unit, the first buffer unit and second are slow
Memory cell;
Whether the first judging unit, exist in judge described buffer zone with described to browse webpage corresponding
First buffer zone;
Described first buffer unit, if do not existed for described buffer zone with described to browse webpage corresponding
First buffer zone, newly-built and described browse the first buffer zone that webpage is corresponding in described buffer zone,
Net is browsed with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that page is corresponding;
Described second buffer unit, if existence is with described to browse webpage corresponding in the described buffer zone
First buffer zone, is stored in the web page contents browsing webpage of corresponding described identification marking in buffer zone
The first buffer zone that webpage is corresponding is browsed with described.
It is also preferred that the left described web page contents buffer storage also includes:
Feedback unit, for newly-built in described buffer zone and described browse the first buffer area that webpage is corresponding
After territory, feed back with described the first buffer zone information of the first buffer zone corresponding to webpage that browses to presetting
Identification marking set in.
It is also preferred that the left described web page contents buffer storage includes: time logging modle, cleaning module;
Time logging modle, does not accesses the duration of described first buffer zone for record;
Cleaning module, for exceeding default duration threshold value at the duration not accessing described first buffer zone
Time, empty described first buffer zone.
Fourth aspect, it is provided that a kind of webpage charger, in the webpage described in the utilization of described webpage charger
Holding buffer storage and carry out web page contents caching, described webpage charger includes:
Second judge module, for when receiving the triggering command browsing webpage, it is judged that browse the identification of webpage
Identify whether to be present in default identification marking set;
First load-on module, if being present in default identification marking for browsing identification marking corresponding to webpage
In set, browse, according to described, the identification marking that webpage is corresponding, in loading buffer zone, browse webpage with described
The web page contents of the first corresponding buffer zone;
Second load-on module, if for browsing the identification marking collection that the identification marking of webpage is not present in presetting
In conjunction, loaded the web page contents browsing webpage by network.
It is also preferred that the left described first load-on module includes: the second judging unit, the first loading unit and second add
Carrier unit;
Second judging unit, if being present in default identification marking for browsing identification marking corresponding to webpage
In set, it is judged that whether exist in described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
Described first loading unit, if existence is with described to browse webpage corresponding in the described buffer zone
First buffer zone, then load in buffer zone with the described webpage browsing the first buffer zone corresponding to webpage
Content;
Described second loading unit, if do not existed in the described buffer zone with described to browse webpage corresponding
The first buffer zone, then connect network and load and browse the web page contents of webpage.
5th aspect, it is provided that a kind of terminal is equipment, terminal unit includes memorizer, and one or
More than one program, one of them or more than one program is stored in memorizer, and be configured to by
One or more than one processor perform one or more than one program comprises for carrying out following
The instruction of operation:
When receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
Judge whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, described in correspondence
The web page contents browsing webpage of identification marking be stored in buffer zone with described browse that webpage is corresponding
One buffer zone;
If the identification marking browsing webpage is not present in the identification marking set preset, browse net by described
The web page contents of page is stored in the second buffer zone;
A kind of terminal is equipment, and terminal unit includes memorizer, and one or more than one program,
One of them or more than one program is stored in memorizer, and be configured to by one or more than one
Processor performs one or more than one program and comprises the instruction for carrying out following operation:
When receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default
Identification marking set in;
If browsing identification marking corresponding to webpage to be present in default identification marking set, according to described clear
The identification marking that webpage of looking at is corresponding, browses, with described, the first buffer zone that webpage is corresponding in loading buffer zone
Web page contents;
If the identification marking browsing webpage is not present in the identification marking set preset, loaded by network
Browse the web page contents of webpage.
Web page contents caching, webpage loading method, device and the terminal unit of the embodiment of the present invention, by sentencing
Whether the disconnected identification marking browsing webpage is present in default identification marking set, will be present in the knowledge preset
The web page contents browsing webpage in other logo collection is stored in buffer zone with described to browse webpage corresponding
The first buffer zone, add retrogressing or when reloading at this webpage, browse with described in loading buffer zone
The web page contents of the first buffer zone that webpage is corresponding, it is possible to for its web page contents of default Web caching,
Will not be covered by the web page contents of other webpages, when needing in default website to load, it is not necessary to again network
Load, improve treatment effeciency, save the energy consumption of equipment and the consumption of network data, improve use
Family is experienced.
Other features and advantages of the present invention will illustrate in the following description, and, partly from explanation
Book becomes apparent, or understands by implementing the present invention.The purpose of the present invention and other advantages can
Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain
?.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with this
Bright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of one embodiment of web page contents caching method of the present invention;
Fig. 2 is the logical relation flow chart of web page contents another embodiment of caching method of the present invention;
Fig. 3 is the flow chart of web page contents another embodiment of caching method of the present invention;
Fig. 4 is the logical relation flow chart of web page contents caching method further embodiment of the present invention;
Fig. 5 is the flow chart of one embodiment of webpage loading method of the present invention;
Fig. 6 is the logical flow chart of another embodiment of webpage loading method of the present invention;
Fig. 7 a-7c is the structure chart of an embodiment of web page contents buffer storage of the present invention;
Fig. 8 a and Fig. 8 b is the structure chart of an embodiment of webpage charger of the present invention;
Fig. 9 is the structure chart of one embodiment of embodiment of the present invention terminal unit.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that described herein
Preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
See Fig. 1, for the method flow diagram of one embodiment of web page contents caching method of the present invention, the method
Including:
Step 101: when receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage.
Step 102: judge whether the identification marking browsing webpage is present in default identification marking set.
Wherein, during identification marking can be the webpage network address browsing webpage and the key word extracted from network address
At least one, such as webpage network address is: www.aabb.com or www.abab.com etc., and network address is crucial
Word is: aabb or abab etc., is previously provided with and presets identification expression, in advance in the identification marking set preset
If identification marking set in default identification marking can be configured by system or terminal unit, it is also possible to
By user, as required or personal habits is configured.In judge process, the identification marking of webpage will be browsed
Contrast with the default identification marking in default identification marking set, if the identification marking set preset
The default identification marking that middle existence is identical with the identification marking browsing webpage, illustrates to browse the identification marking of webpage
It is present in default identification marking set, if the identification marking set preset not existing and browsing webpage
The identical default identification marking of identification marking, illustrate to browse the knowledge that the identification marking of webpage is not present in presetting
In other logo collection.
In the present embodiment, using the webpage network address browsing webpage and the key word that extracts from network address as webpage
Identification marking, it is possible to quickly represent be identified and classify browsing webpage based on identifying, improve place
Reason efficiency, simplifies process step.
Step 103: be present in default identification marking set if browsing identification marking corresponding to webpage,
Net is browsed with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that page is corresponding.
Wherein, being provided with at least one first buffer zone in buffer zone, each first buffer zone is with pre-
If identification marking set in default identification marking corresponding, through the judgement of above-mentioned steps 102, as
Fruit browses identification marking corresponding to webpage and is present in default identification marking set, corresponding described identification marking
The web page contents browsing webpage be stored in buffer zone in browse, with described, the first buffer area that webpage is corresponding
Territory.
In the present embodiment, be present in by each identification marking in default identification marking set browses webpage
Web page contents is stored in corresponding sub-storage areas, the most mutually covers or disturbs, and user is browsing
During each website corresponding in the identification marking set preset, these websites are according to each self-corresponding identification marking
Respective web page contents is stored in each self-corresponding sub-storage areas, is conducive to these Web caching contents
Protection, and facilitate extraction and the loading of these web page contents.
Step 104: if the identification marking browsing webpage is not present in the identification marking set preset, will
The described web page contents browsing webpage is stored in the second buffer zone.
Wherein, the second buffer zone can be public buffer zone, browses beyond default identification marking set
Other webpages time, the web page contents of webpage is stored in the second buffer zone, when user browses new web page,
The content of pages of new web page covers the cache contents of the second old webpage in buffer zone.
Wherein, the first buffer zone and the second buffer zone can be arranged on the internal storage space of terminal unit
In, such as the internal memory of terminal unit;Can also be arranged in external memory space, such as external memory card;Webpage
The caching of content can also be carried out beyond the clouds.
In the present embodiment, whether the identification marking being browsed webpage by judgement is present in default identification marking collection
In conjunction, the web page contents browsing webpage that will be present in the identification marking set preset is stored in buffer zone
In browse, with described, the first buffer zone that webpage is corresponding, carry out caching for default webpage and can protect webpage
Web page contents do not covered by other webpages, facilitate user to reload webpage, improve treatment effeciency,
Save the energy consumption of equipment and the consumption of network data, improve Consumer's Experience.Preferably, the present embodiment
Method can be carried out under the reading model of terminal unit.
It is also preferred that the left the method also includes:
Step: record does not accesses the duration of described first buffer zone;
When the duration not accessing described first buffer zone exceedes default duration threshold value, empty described first
Buffer zone.
In this example, by duration threshold value, exceed default at the duration not accessing described first buffer zone
During duration threshold value, empty described first buffer zone, it is to avoid the first long web page contents in buffer zone
Caching, saves spatial cache, thus improves treatment effeciency.
The method of the present embodiment can be by being specifically designed to the DAO (Data accessing data defined in code
Access Objects, DAO) object completes, and DAO reads and the mode of storage data, Ke Yishi
Internal memory, external memory, even network.When DAO uses internal memory or external memory as reading manner when, just realize
Local cache.Meanwhile, the create-rule of DAO object can configure beyond the clouds, in this manner it is possible to allow high in the clouds lead to
Cross the local DAO object of configuration, realize the local local cache to a certain rule webpage.
See Fig. 2, for the logical relation flow chart of web page contents another embodiment of caching method of the present invention,
Including:
Step 201: when receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage.
Step 202: judge whether the identification marking browsing webpage is present in default identification marking set.
If it is, enter step 203, if it does not, enter step 204.
Step 203: the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that webpage is corresponding is browsed with described.
Step 204: the described web page contents browsing webpage is stored in the second buffer zone.
In the present embodiment, whether the identification marking being browsed webpage by judgement is present in default identification marking collection
In conjunction, the web page contents browsing webpage that will be present in the identification marking set preset is stored in buffer zone
In browse, with described, the first buffer zone that webpage is corresponding, carry out caching for default webpage and can protect webpage
Web page contents do not covered by other webpages, facilitate user to reload webpage, improve treatment effeciency,
Save the energy consumption of equipment and the consumption of network data, improve Consumer's Experience.
See Fig. 3, for the flow chart of web page contents another embodiment of caching method of the present invention, if step
Browse identification marking corresponding to webpage to be present in default identification marking set, by corresponding described identification marking
The web page contents browsing webpage be stored in buffer zone in browse, with described, the first buffer area that webpage is corresponding
Territory, including: step 301-step 303.
Step 301: whether exist in judging described buffer zone and browse, with described, the first caching that webpage is corresponding
Region.
Step 302: if described buffer zone does not exist browses, with described, the first buffer zone that webpage is corresponding,
In described buffer zone newly-built and described browse the first buffer zone that webpage is corresponding, by corresponding described identification
The web page contents browsing webpage of mark is stored in buffer zone and browses corresponding first slow of webpage with described
Deposit region.
Step 303: browse, with described, the first buffer zone that webpage is corresponding if existed in described buffer zone,
Net is browsed with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that page is corresponding;
Wherein, by checking whether default identification marking set exist first corresponding with browsing webpage
Buffer zone information judges whether buffer zone exists and browses, with described, the first buffer zone that webpage is corresponding, as
The most described buffer zone does not exist and browses the first buffer zone that webpage is corresponding, in described buffer zone with described
In newly-built browse, with described, the first buffer zone that webpage is corresponding, and described and described browse webpage pair newly-built
Behind the first buffer zone answered, feed back and described the first buffer area browsing the first buffer zone corresponding to webpage
Domain information, is stored in the web page contents browsing webpage of corresponding described identification marking in buffer zone with described
Browse the first buffer zone that webpage is corresponding.
For browsing the first buffer zone that webpage provides corresponding in the present embodiment, this is facilitated to browse in Webpage
The caching held or extraction, by newly-built described and described browse the first buffer zone that webpage is corresponding after, instead
Present and described the first buffer zone information browsing the first buffer zone corresponding to webpage, in that context it may be convenient to obtain
The first newly-built buffer zone information, together integrates with other the first buffer zone information, is conducive to corresponding clear
Look at the storage of Webpage content.
See Fig. 4, for the logical relation flow chart of web page contents caching method further embodiment of the present invention,
Including:
Step 401: judge whether the identification marking browsing webpage is present in default identification marking set.
If step 401 judged result is yes, enter step 402, if step 401 judged result is no,
Enter step 406.
Step 402: whether exist in judging buffer zone and browse, with described, the first buffer zone that webpage is corresponding.
If the judged result of step 402 is yes, enter step 403, if the judged result of step 402
It is no, enters step 404.
Step 403: the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that webpage is corresponding is browsed with described.
Step 404: newly-built and described browse the first buffer zone that webpage is corresponding in described buffer zone,
Net is browsed with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that page is corresponding.Continue step 405.
Step 405: feed back and described the first buffer zone information browsing the first buffer zone corresponding to webpage
In default identification marking set.
Step 406: the described web page contents browsing webpage is stored in the second buffer zone.
The present embodiment browses the identification marking of webpage by judgement and whether is present in default identification marking collection
In conjunction, the web page contents browsing webpage that will be present in the identification marking set preset is stored in buffer zone
In browse, with described, the first buffer zone that webpage is corresponding, carry out caching for default webpage and can protect webpage
Web page contents do not covered by other webpages, facilitate user to reload webpage, improve treatment effeciency,
Save the energy consumption of equipment and the consumption of network data, improve Consumer's Experience, by newly-built described and institute
Stating after browsing the first buffer zone that webpage is corresponding, feedback browses, with described, the first buffer zone that webpage is corresponding
The first buffer zone information, in that context it may be convenient to obtain the first newly-built buffer zone information, with other first
Buffer zone information is together integrated, and is conducive to correspondence to browse the storage of Webpage content.
Being cached, by the web page contents caching method of above example, the webpage browsed, web page contents delays
Deposit method and webpage man method can the loading of convenient web page contents, utilize web page contents caching method
The webpage loading method carrying out depositing is as described below.
Seeing Fig. 5, for the flow chart of one embodiment of webpage loading method of the present invention, method utilizes above real
Executing the web page contents caching method described in example and carry out web page contents caching, webpage loading method includes:
Step 501: when receiving the triggering command browsing webpage, it is judged that whether browse the identification marking of webpage
It is present in default identification marking set.
Wherein, when receiving the triggering command browsing webpage for receiving retrogressing or reloading instruction, system is not
Divide instruction must be received all to judge, in retreating webpage or reloading the caching of webpage every time
Hold, cache contents can be shown, thus save load time and network traffic data.Identification marking
The method in default identification marking set and web page contents whether it is present in the identification marking browsing webpage
In caching method identical, do not repeat them here, specifically refer to embodiment step 102.
Step 502: be present in default identification marking set if browsing identification marking corresponding to webpage,
Browse, according to described, the identification marking that webpage is corresponding, load in buffer zone with described browse that webpage is corresponding the
The web page contents of one buffer zone.
Wherein, being present in default identification marking set if browsing identification marking corresponding to webpage, passing through
With the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone, will not be by it
His web page contents covers the impact of the first buffer zone web page contents, it is not necessary to re-starts network and connects loading,
Directly display the web page contents of corresponding first buffer zone of webpage, thus improve processing speed and user's body
Test, reduce terminal unit energy consumption, it is to avoid new web page contents covers old web page contents, causes correspondence
The web page contents problem that cannot carry out loading by caching.If do not existed with described in described buffer zone
Browse the first buffer zone that webpage is corresponding, then loaded the web page contents browsing webpage by network, and slow
Deposit region foundation and browse, with described, the first buffer zone that webpage is corresponding, this web page contents browsing webpage is deposited
It is stored in and browses in the first buffer zone that webpage is corresponding with described.
Step 503: if the identification marking browsing webpage is not present in the identification marking set preset, logical
Cross network and load the web page contents browsing webpage.
In this enforcement, when this webpage adds retrogressing or reloads, in loading buffer zone, browse net with described
The web page contents of the first buffer zone that page is corresponding, it is possible to for its web page contents of default Web caching, no
Can be covered by the web page contents of other webpages, need in default website load time, it is not necessary to again network into
Row loads, and improves treatment effeciency, saves the energy consumption of equipment and the consumption of network data, improve user
Experience.
See Fig. 6, for the logical flow chart of another embodiment of webpage loading method of the present invention, including step:
Step 601: when moving back upon receipt or reload instruction, it is judged that the identification marking browsing webpage is
No it is present in default identification marking set.
If step 601 judged result is yes, enter step 602, if step 601 judged result is no,
Enter step 603.
Step 602: browse the identification marking that webpage is corresponding according to described, clear with described in loading buffer zone
The web page contents of the first buffer zone that webpage of looking at is corresponding.
Step 603: loaded the web page contents browsing webpage by network.
In this enforcement, when this webpage adds retrogressing or reloads, in loading buffer zone, browse net with described
The web page contents of the first buffer zone that page is corresponding, it is possible to for its web page contents of default Web caching, no
Can be covered by the web page contents of other webpages, need in default website load time, it is not necessary to again network into
Row loads, and improves treatment effeciency, saves the energy consumption of equipment and the consumption of network data, improve user
Experience, it is preferred that the method for the present embodiment can be carried out under the reading model of terminal unit.
See Fig. 7 a-7c, for the structure chart of an embodiment of web page contents buffer storage of the present invention, such as figure
Shown in 7a, this device includes:
Identification marking acquisition module 701, for when receiving the triggering browsing webpage, it is thus achieved that current browses
The identification marking of webpage.
First judge module 702, for judging whether the identification marking browsing webpage is present in default identification
In logo collection;
First cache module 703, if being present in default identification for browsing identification marking corresponding to webpage
In logo collection, the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone with
Described browse the first buffer zone that webpage is corresponding;
Second cache module 704, if for browsing the identification mark that the identification marking of webpage is not present in presetting
Know in set, the described web page contents browsing webpage is stored in the second buffer zone.
It is also preferred that the left as shown in Figure 7b:
Described first cache module 703 includes: first judging unit the 705, first buffer unit 706 and
Two buffer units 707;
Whether the first judging unit 705, exist in being used for judging described buffer zone and browse webpage pair with described
The first buffer zone answered;
Described first buffer unit 706, browses webpage pair if existed in described buffer zone with described
The first buffer zone answered, is stored in buffer area by the web page contents browsing webpage of corresponding described identification marking
Browse, with described, the first buffer zone that webpage is corresponding in territory;
Described second buffer unit 707, browses webpage pair if do not existed for described buffer zone with described
The first buffer zone answered, newly-built and described browse the first buffer area that webpage is corresponding in described buffer zone
Territory, browses with described in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone
The first buffer zone that webpage is corresponding.
It is also preferred that the left described web page contents buffer storage also includes:
Feedback unit 708, for newly-built in described buffer zone and described browse corresponding first slow of webpage
After depositing region, feed back and described the first buffer zone information browsing the first buffer zone corresponding to webpage.
It is also preferred that the left as shown in Figure 7 c:
Described web page contents buffer storage includes: time logging modle 709, cleaning module 710;
Time logging modle 709, does not accesses the duration of described first buffer zone for record;
Cleaning module 710, for exceeding default duration threshold at the duration not accessing described first buffer zone
During value, empty described first buffer zone.
During it should be understood that the web page contents buffer storage that above-described embodiment provides states function in realization,
Only it is illustrated with the division of above-mentioned each functional module, in actual application, can be as desired by upper
State function distribution to be completed by different functional modules, the internal structure of equipment will be divided into different function moulds
Block, to complete all or part of function described above.It addition, the web page contents that above-described embodiment provides
Buffer storage and web page contents caching method embodiment belong to same design, and it implements process and refers to method
Embodiment, repeats no more here.
See the structure chart of the embodiment that Fig. 8 a and Fig. 8 b is webpage charger of the present invention, described net
Page charger utilizes the web page contents buffer storage described in above example to carry out web page contents caching, such as figure
Shown in 8a, this device includes:
Second judge module 801, for when receiving the triggering command browsing webpage, it is judged that browse webpage
Whether identification marking is present in default identification marking set;
First load-on module 802, if being present in default identification for browsing identification marking corresponding to webpage
In logo collection, browse, according to described, the identification marking that webpage is corresponding, browse with described in loading buffer zone
The web page contents of the first buffer zone that webpage is corresponding;
Second load-on module 803, if for browsing the identification mark that the identification marking of webpage is not present in presetting
Know in set, loaded the web page contents browsing webpage by network.
It is also preferred that the left as shown in Figure 8 b:
Described first load-on module 802 includes: second judging unit the 804, first loading unit 805 and
Two loading units 806;
Second judging unit 804, if being present in default identification for browsing identification marking corresponding to webpage
In logo collection, it is judged that whether exist in described buffer zone and browse, with described, the first buffer area that webpage is corresponding
Territory.
Described first loading unit 805, if being present in default for browsing identification marking corresponding to webpage
In identification marking set, and in described buffer zone, existence browses, with described, the first buffer area that webpage is corresponding
Territory, with the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone;
Described second loading unit 806, if being present in default for browsing identification marking corresponding to webpage
In identification marking set, and do not exist in described buffer zone and browse, with described, the first buffer area that webpage is corresponding
Territory, connects network and loads the web page contents browsing webpage.
It should be understood that the webpage charger that above-described embodiment provides is when stating function in realization, only with
The division of above-mentioned each functional module is illustrated, in actual application, and can be as desired by above-mentioned merit
Distribution can be completed by different functional modules, the internal structure of equipment will be divided into different functional modules,
To complete all or part of function described above.It addition, the webpage charger that above-described embodiment provides
Belonging to same design with webpage loading method embodiment, it implements process and refers to embodiment of the method, here
Repeat no more.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be led to
Cross hardware to complete, it is also possible to instructing relevant hardware by program and complete, described program can store
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk
Or CD etc..
Seeing Fig. 9, for the structure chart of one embodiment of terminal unit of the present invention, this terminal unit may be used for
Web page contents caching method and the webpage loading method provided in above-described embodiment is provided.Wherein, this terminal can
Think mobile phone, panel computer pad, Wearable mobile device (such as intelligent watch) etc..Preferential:
Terminal unit 700 can include communication unit 110, include one or more computer-readables
The memorizer 120 of storage medium, input block 130, display unit 140, sensor 150, voicefrequency circuit
160, wireless communication unit 170, include one or more than one process core processor 180, with
And the parts such as power supply 190.It will be understood by those skilled in the art that the terminal unit structure shown in Fig. 9 also
Do not constitute the restriction to terminal unit, can include that ratio illustrates more or less of parts, or combine some
Parts, or different parts layouts.Wherein:
Communication unit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, this communication
Unit 110 can be RF (Radio Frequency, radio frequency) circuit, router, modem, etc.
Network communication equipment.Especially, when communication unit 110 is RF circuit, the downlink information of base station is connect
After receipts, transfer to one or more than one processor 180 processes;It addition, send relating to up data
To base station.Usually as the RF circuit of communication unit include but not limited to antenna, at least one amplifier,
Tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder,
LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 110
Can also be communicated with network and other equipment by radio communication.Described radio communication can use arbitrary communication
Standard or agreement, include but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service),
CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code
Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution),
Email, SMS (Short Messaging Service, Short Message Service) etc..Memorizer 120 can be used for
Storage software program and module, processor 180 by operation be stored in the software program of memorizer 120 with
And module, thus perform the application of various function and data process.Memorizer 120 can mainly include storing journey
Sequence district and storage data field, wherein, needed for storage program area can store operating system, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store basis
The data (such as voice data, phone directory etc.) etc. that the use of terminal unit 700 is created.Additionally, deposit
Reservoir 120 can include high-speed random access memory, it is also possible to includes nonvolatile memory, the most extremely
A few disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storage
Device 120 can also include Memory Controller, to provide processor 180 and input block 130 to memorizer
The access of 120.
Input block 130 can be used for receive input numeral or character information, and produce with user setup with
And function controls relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably,
Input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also
It is referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user
Use any applicable object such as finger, stylus or adnexa on Touch sensitive surface 131 or at Touch sensitive surface 131
Neighbouring operation), and drive corresponding attachment means according to formula set in advance.Optionally, touch-sensitive table
Face 131 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection
The touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch
Touch controller from touch detecting apparatus, receive touch information, and be converted into contact coordinate, then give place
Reason device 180, and order that processor 180 sends can be received and performed.Furthermore, it is possible to employing resistance
The polytypes such as formula, condenser type, infrared ray and surface acoustic wave realize Touch sensitive surface 131.Except touch-sensitive table
Face 131, input block 130 can also include other input equipments 132.Preferably, other input equipments
132 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for showing the information inputted by user or the information being supplied to user and terminal
The various graphical user interface of equipment 700, these graphical user interface can by figure, text, icon,
Video and its combination in any are constituted.Display unit 140 can include display floater 141, optionally, permissible
Use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting
Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, Touch sensitive surface 131
Display floater 141 can be covered, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, pass
Give processor 180 to determine the type of touch event, with preprocessor 180 according to the type of touch event
Display floater 141 provides corresponding visual output.Although in fig .9, Touch sensitive surface 131 and display
Panel 141 is to realize inputting and input function as two independent parts, but in certain embodiments,
Can be by integrated to Touch sensitive surface 131 and display floater 141 and realize input and output function.
Terminal unit 700 may also include at least one sensor 150, such as optical sensor, motion sensor,
Gravity sensor, gyroscope and other sensors.Preferably, optical sensor can include ambient light sensing
Device and proximity transducer, wherein, ambient light sensor can regulate display floater according to the light and shade of ambient light
The brightness of 141, proximity transducer can cut out display floater 141 when terminal unit 700 moves in one's ear
And/or backlight.As the one of motion sensor, Gravity accelerometer can detect in all directions (one
As be three axles) size of acceleration, can detect that size and the direction of gravity time static, can be used for identifying hands
The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of machine attitude, Vibration identification phase
Close function (such as pedometer, percussion) etc.;The gyroscope that can also configure as terminal unit 700, air pressure
Other sensors such as meter, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, speaker 161, microphone 162 can provide between user and terminal unit 700
Audio interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 160 can will receive, is transferred to raise
Sound device 161, is converted to acoustical signal output by speaker 161;On the other hand, microphone 162 will be collected
Acoustical signal be converted to the signal of telecommunication, voicefrequency circuit 160 be converted to voice data after receiving, then by audio frequency
After data output processing device 180 processes, through RF circuit 110 to be sent to such as another terminal unit, or
Voice data is exported to memorizer 120 to process further by person.Voicefrequency circuit 160 is also possible that ear
Tip jack, to provide the communication of peripheral hardware earphone and terminal unit 700.
In order to realize radio communication, this terminal unit can be configured with wireless communication unit 170, this is wireless
Communication unit 170 can be WiFi module.WiFi belongs to short range wireless transmission technology, terminal unit 700
User can be helped to send and receive e-mail by wireless communication unit 170, browse webpage and access streaming video
Deng, it has provided the user wireless broadband internet and has accessed.Although Fig. 9 shows wireless communication unit
170, but it is understood that, it is also not belonging to must be configured into of terminal unit 700, completely can root
Omit in not changing the scope of essence of invention according to needs.
Processor 180 is the control centre of terminal unit 700, utilizes various interface and the whole hands of connection
The various piece of machine, is stored in the software program in memorizer 120 and/or module by running or performing, with
And call the data being stored in memorizer 120, perform the various functions of terminal unit 700 and process data,
Thus mobile phone is carried out integral monitoring.Optionally, processor 180 can include one or more process core;
Preferably, processor 180 can integrated application processor and modem processor, wherein, application processor
Mainly processing operating system, user interface and application program etc., modem processor mainly processes channel radio
Letter.It is understood that above-mentioned modem processor can not also be integrated in processor 180.
Terminal unit 700 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that electricity
Source can be logically contiguous with processor 180 by power-supply management system, thus is realized by power-supply management system
The functions such as management charging, electric discharge and power managed.Power supply 190 can also include one or more
Direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or inverter,
The random component such as power supply status indicator.
Although not shown, terminal unit 700 can also include photographic head, bluetooth module etc., the most superfluous at this
State.The most in the present embodiment, the display unit of terminal unit is touch-screen display, and terminal unit also wraps
Having included memorizer, and one or more than one program, one of them or more than one program stores
In memorizer, and be configured to by one or more than one processor perform one or one with
Upper program comprises the instruction for carrying out following operation:
When receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
Judge whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, described in correspondence
The web page contents browsing webpage of identification marking be stored in buffer zone with described browse that webpage is corresponding
One buffer zone;
If the identification marking browsing webpage is not present in the identification marking set preset, browse net by described
The web page contents of page is stored in the second buffer zone;
When receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default
Identification marking set in;
If browsing identification marking corresponding to webpage to be present in default identification marking set, according to described clear
The identification marking that webpage of looking at is corresponding, browses, with described, the first buffer zone that webpage is corresponding in loading buffer zone
Web page contents;
If the identification marking browsing webpage is not present in the identification marking set preset, loaded by network
Browse the web page contents of webpage.
Web page contents caching, webpage loading method, device and the terminal unit of the embodiment of the present invention, by sentencing
Whether the disconnected identification marking browsing webpage is present in default identification marking set, will be present in the knowledge preset
The web page contents browsing webpage in other logo collection is stored in buffer zone with described to browse webpage corresponding
The first buffer zone, add retrogressing or when reloading at this webpage, browse with described in loading buffer zone
The web page contents of the first buffer zone that webpage is corresponding, it is possible to for its web page contents of default Web caching,
Will not be covered by the web page contents of other webpages, when needing in default website to load, it is not necessary to again network
Load, improve treatment effeciency, save the energy consumption of equipment and the consumption of network data, improve use
Family is experienced.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and
Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (17)
1. a web page contents caching method, it is characterised in that comprise the following steps:
When receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
Judge whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, browse, with described, the first buffer zone that webpage is corresponding;
If the identification marking browsing webpage is not present in the identification marking set preset, the described web page contents browsing webpage is stored in the second buffer zone.
2. web page contents caching method as claimed in claim 1, it is characterized in that, it is present in default identification marking set if described step browses identification marking corresponding to webpage, browse, with described, the first buffer zone that webpage is corresponding in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, including:
Whether exist in judging described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
If described buffer zone does not exist browses, with described, the first buffer zone that webpage is corresponding, in described buffer zone newly-built and described browse the first buffer zone that webpage is corresponding, browse, with described, the first buffer zone that webpage is corresponding in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone;
If existing in described buffer zone and browsing, with described, the first buffer zone that webpage is corresponding, in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, browse, with described, the first buffer zone that webpage is corresponding.
3. web page contents caching method as claimed in claim 2, it is characterized in that, in described buffer zone newly-built and described browse the first buffer zone that webpage is corresponding after, described method also includes: feed back with in described the first buffer zone information browsing the first buffer zone corresponding to webpage to described default identification marking set.
4. web page contents caching method as claimed in claim 1, it is characterised in that
Described identification marking include described in browse webpage webpage network address and the key word that extracts from network address at least one.
5. web page contents caching method as claimed in claim 1, it is characterised in that described method further comprises the steps of:
Record does not accesses the duration of described first buffer zone;
When the duration not accessing described first buffer zone exceedes default duration threshold value, empty described first buffer zone.
6. a webpage loading method, it is characterised in that comprise the following steps:
When receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, browse the identification marking that webpage is corresponding, with the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone according to described;
If the identification marking browsing webpage is not present in the identification marking set preset, loaded the web page contents browsing webpage by network.
7. webpage loading method as claimed in claim 6, it is characterised in that
It is present in default identification marking set if described step browses identification marking corresponding to webpage, browses, according to described, the identification marking that webpage is corresponding, with the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone, including:
If browsing identification marking corresponding to webpage to be present in default identification marking set, it is judged that whether exist in described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
Browse, with described, the first buffer zone that webpage is corresponding if existed in described buffer zone, then in loading buffer zone with the described web page contents browsing the first buffer zone corresponding to webpage;
Browse, with described, the first buffer zone that webpage is corresponding if do not existed in described buffer zone, then loaded the web page contents browsing webpage by network.
8. webpage loading method as claimed in claim 6, it is characterised in that described when receiving the triggering command browsing webpage, it is judged that browse whether the identification marking of webpage is present in default identification marking set in step:
The described triggering command browsing webpage includes retreating instruction or reloading instruction.
9. webpage loading method as claimed in claim 6, it is characterised in that
Described identification marking include described in browse webpage webpage network address and the key word that extracts from network address at least one.
10. a web page contents buffer storage, it is characterised in that described device includes:
Identification marking acquisition module, for when receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
First judge module, for judging whether the identification marking browsing webpage is present in default identification marking set;
First cache module, if be present in default identification marking set for browsing identification marking corresponding to webpage, browses, with described, the first buffer zone that webpage is corresponding in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone;
Second cache module, if be not present in the identification marking set preset for browsing the identification marking of webpage, is stored in the second buffer zone by the described web page contents browsing webpage.
11. web page contents buffer storages as claimed in claim 10, it is characterised in that
Described first cache module includes: the first judging unit, the first buffer unit and the second buffer unit;
Whether the first judging unit, exist in judging described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
Described first buffer unit, browse, with described, the first buffer zone that webpage is corresponding if do not existed for described buffer zone, in described buffer zone newly-built and described browse the first buffer zone that webpage is corresponding, browse, with described, the first buffer zone that webpage is corresponding in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone;
Described second buffer unit, if existing in described buffer zone and browsing, with described, the first buffer zone that webpage is corresponding, in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, browse, with described, the first buffer zone that webpage is corresponding.
12. web page contents buffer storages as claimed in claim 11, it is characterised in that
Described device also includes:
Feedback unit, for newly-built in described buffer zone and described browse the first buffer zone that webpage is corresponding after, feedback with in described the first buffer zone information browsing the first buffer zone corresponding to webpage to default identification marking set.
13. web page contents buffer storages as claimed in claim 10, it is characterised in that
Described web page contents buffer storage includes: time logging modle and cleaning module;
Time logging modle, does not accesses the duration of described first buffer zone for record;
Cleaning module, for when the duration not accessing described first buffer zone exceedes default duration threshold value, empties described first buffer zone.
14. 1 kinds of webpage chargers, it is characterised in that described webpage charger includes:
Second judge module, for when receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default identification marking set;
First load-on module, if be present in default identification marking set for browsing identification marking corresponding to webpage, browses the identification marking that webpage is corresponding, with the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone according to described;
Second load-on module, if be not present in the identification marking set preset for browsing the identification marking of webpage, loads the web page contents browsing webpage by network.
15. webpage chargers as claimed in claim 14, it is characterised in that
Described first load-on module includes: the second judging unit, the first loading unit and the second loading unit;
Whether the second judging unit, if be present in default identification marking set for browsing identification marking corresponding to webpage, it is judged that exist in described buffer zone and browse, with described, the first buffer zone that webpage is corresponding;
Described first loading unit, browses, with described, the first buffer zone that webpage is corresponding if existed in the described buffer zone, then in loading buffer zone with the described web page contents browsing the first buffer zone corresponding to webpage;
Described second loading unit, browses, with described, the first buffer zone that webpage is corresponding if do not existed in described buffer zone, then connects network and load the web page contents browsing webpage.
16. 1 kinds of terminals are equipment, it is characterized in that, terminal unit includes memorizer, and one or more than one program, one of them or more than one program is stored in memorizer, and is configured to be performed one by one or more than one processor or more than one program comprises the instruction for carrying out following operation:
When receiving the triggering browsing webpage, it is thus achieved that the current identification marking browsing webpage;
Judge whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, in the web page contents browsing webpage of corresponding described identification marking is stored in buffer zone, browse, with described, the first buffer zone that webpage is corresponding;
If the identification marking browsing webpage is not present in the identification marking set preset, the described web page contents browsing webpage is stored in the second buffer zone.
17. 1 kinds of terminals are equipment, it is characterized in that, terminal unit includes memorizer, and one or more than one program, one of them or more than one program is stored in memorizer, and is configured to be performed one by one or more than one processor or more than one program comprises the instruction for carrying out following operation:
When receiving the triggering command browsing webpage, it is judged that whether the identification marking browsing webpage is present in default identification marking set;
If browsing identification marking corresponding to webpage to be present in default identification marking set, browse the identification marking that webpage is corresponding, with the described web page contents browsing the first buffer zone corresponding to webpage in loading buffer zone according to described;
If the identification marking browsing webpage is not present in the identification marking set preset, loaded the web page contents browsing webpage by network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310395864.3A CN103455603B (en) | 2013-09-03 | 2013-09-03 | Web page contents caching, webpage loading method, device and terminal unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310395864.3A CN103455603B (en) | 2013-09-03 | 2013-09-03 | Web page contents caching, webpage loading method, device and terminal unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103455603A CN103455603A (en) | 2013-12-18 |
CN103455603B true CN103455603B (en) | 2016-08-17 |
Family
ID=49737966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310395864.3A Active CN103455603B (en) | 2013-09-03 | 2013-09-03 | Web page contents caching, webpage loading method, device and terminal unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103455603B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160101992A (en) * | 2013-12-22 | 2016-08-26 | 인터디지탈 패튼 홀딩스, 인크 | Web application acceleration with personalized cache or prerendering |
CN103810268B (en) * | 2014-01-27 | 2017-04-12 | 北京奇虎科技有限公司 | Search result recommendation information loading method, device and system and URL detection method, device and system |
CN103870955B (en) * | 2014-03-24 | 2017-07-21 | 小米科技有限责任公司 | The processing method and processing device of data in webpage |
CN103916474B (en) * | 2014-04-04 | 2018-05-22 | 北京搜狗科技发展有限公司 | The definite method, apparatus and system of cache-time |
CN104915461B (en) * | 2015-07-10 | 2017-03-22 | 广州神马移动信息科技有限公司 | Page presentation method and device |
CN106933937A (en) * | 2015-12-31 | 2017-07-07 | 五八同城信息技术有限公司 | A kind of webpage deployment method and device, client |
CN106354879A (en) * | 2016-09-27 | 2017-01-25 | 北京奇虎科技有限公司 | Webpage caching method and device |
CN108880921B (en) * | 2017-05-11 | 2021-07-02 | 腾讯科技(北京)有限公司 | Webpage monitoring method and device, storage medium and server |
CN107360207B (en) * | 2017-05-26 | 2018-05-22 | 腾讯科技(深圳)有限公司 | Submit method, interface issuing means, storage medium and electronic device in interface |
CN107861966B (en) * | 2017-08-24 | 2020-08-04 | 平安普惠企业管理有限公司 | Cache detection method, equipment and computer readable storage medium |
CN109408233B (en) * | 2018-10-17 | 2022-06-03 | 郑州云海信息技术有限公司 | Cache resource allocation method and device |
CN109710867A (en) * | 2018-12-20 | 2019-05-03 | 贵阳朗玛信息技术股份有限公司 | Data processing method and device |
CN112100553B (en) * | 2020-08-11 | 2023-11-17 | 深圳市拓邦软件技术有限公司 | Webpage configuration method and device, electronic equipment and storage medium |
CN113655931A (en) * | 2021-07-21 | 2021-11-16 | 北京搜狗科技发展有限公司 | Browsing content processing method, device and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7047485B1 (en) * | 1999-11-10 | 2006-05-16 | International Business Machines Corporation | Intelligent pre-caching on a network |
CN101741986A (en) * | 2009-12-31 | 2010-06-16 | 优视科技有限公司 | Page cache method for mobile communication equipment terminal |
CN102364461A (en) * | 2011-06-30 | 2012-02-29 | 广州市动景计算机科技有限公司 | Page content data acquisition method and server |
CN102375882A (en) * | 2011-09-19 | 2012-03-14 | 奇智软件(北京)有限公司 | Method, device and browser for rapidly accessing webpage |
CN102955786A (en) * | 2011-08-22 | 2013-03-06 | 北大方正集团有限公司 | Method and system for caching and distributing dynamic webpage data |
CN103077196A (en) * | 2012-12-25 | 2013-05-01 | 宁波公众信息产业有限公司 | Access method from public network WEB (World Wide Web) to intranet database |
EP2615559A1 (en) * | 2010-09-07 | 2013-07-17 | SK Planet Co., Ltd. | System for displaying cached webpages, a server therefor, a terminal therefor, a method therefor and a computer-readable recording medium on which the method is recorded |
-
2013
- 2013-09-03 CN CN201310395864.3A patent/CN103455603B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7047485B1 (en) * | 1999-11-10 | 2006-05-16 | International Business Machines Corporation | Intelligent pre-caching on a network |
CN101741986A (en) * | 2009-12-31 | 2010-06-16 | 优视科技有限公司 | Page cache method for mobile communication equipment terminal |
EP2615559A1 (en) * | 2010-09-07 | 2013-07-17 | SK Planet Co., Ltd. | System for displaying cached webpages, a server therefor, a terminal therefor, a method therefor and a computer-readable recording medium on which the method is recorded |
CN102364461A (en) * | 2011-06-30 | 2012-02-29 | 广州市动景计算机科技有限公司 | Page content data acquisition method and server |
CN102955786A (en) * | 2011-08-22 | 2013-03-06 | 北大方正集团有限公司 | Method and system for caching and distributing dynamic webpage data |
CN102375882A (en) * | 2011-09-19 | 2012-03-14 | 奇智软件(北京)有限公司 | Method, device and browser for rapidly accessing webpage |
CN103077196A (en) * | 2012-12-25 | 2013-05-01 | 宁波公众信息产业有限公司 | Access method from public network WEB (World Wide Web) to intranet database |
Also Published As
Publication number | Publication date |
---|---|
CN103455603A (en) | 2013-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455603B (en) | Web page contents caching, webpage loading method, device and terminal unit | |
CN103500002B (en) | The method of application program management, device and terminal unit | |
CN103500063B (en) | virtual keyboard display method, device and terminal | |
CN103455582B (en) | The display packing of browser navigation page and mobile terminal | |
CN104978115A (en) | Content display method and device | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN104123120B (en) | A kind of browser page data filtering method, device and system | |
CN104104711B (en) | Reading histories treating method and apparatus | |
CN105630298A (en) | Folder management method and equipment | |
CN103530115B (en) | Application program display method and device and terminal equipment | |
US20150121295A1 (en) | Window displaying method of mobile terminal and mobile terminal | |
CN106358225B (en) | A kind of processing method of network data, device and mobile terminal | |
CN103310007B (en) | Webpage changing method, device and equipment | |
CN103279574A (en) | Method, device and terminal device for loading explorer pictures | |
CN105022616A (en) | Method and device for generating web page | |
CN104301504A (en) | Message viewing method and device and mobile terminal | |
CN105975190A (en) | Graph interface processing method, device and system | |
CN104166646B (en) | A kind of method and apparatus for inputting uniform resource locator | |
CN104850406A (en) | Page switching method and device | |
CN104182401A (en) | Method and device for searching in mobile terminal browser | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN103399657B (en) | The control method of mouse pointer, device and terminal unit | |
CN105955597A (en) | Method and device for displaying information | |
CN104516624A (en) | Method and device for inputting account information | |
CN104679724A (en) | Page noting 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 |