CN103810176B - A kind of info web prefetches access method and device - Google Patents

A kind of info web prefetches access method and device Download PDF

Info

Publication number
CN103810176B
CN103810176B CN201210439682.7A CN201210439682A CN103810176B CN 103810176 B CN103810176 B CN 103810176B CN 201210439682 A CN201210439682 A CN 201210439682A CN 103810176 B CN103810176 B CN 103810176B
Authority
CN
China
Prior art keywords
prefetches
browser
network address
website information
info web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210439682.7A
Other languages
Chinese (zh)
Other versions
CN103810176A (en
Inventor
李红义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210439682.7A priority Critical patent/CN103810176B/en
Publication of CN103810176A publication Critical patent/CN103810176A/en
Application granted granted Critical
Publication of CN103810176B publication Critical patent/CN103810176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Abstract

Access method and device are prefetched this application discloses kind of info web, including:Prefetch the setting of network address setup module and prefetch website information;Prefetch processing module triggering execution and prefetch processing, this, which prefetches processing, includes:Website information is prefetched described in acquisition, info web is downloaded from the network address that prefetches, the info web of download is stored in the local equipment of browser;After access modules receive the request for accessing network address in browser, first judge info web corresponding to the network address to be visited whether is stored with browser local device, if then reading info web corresponding to the network address to be visited from local device;Otherwise info web corresponding to the internet interview network address to be visited.Using the present invention, it can not only improve surfing, save mobile network's flow and rate, and operating efficiency can be improved, ensure the operation stability of browser.

Description

A kind of info web prefetches access method and device
Technical field
The application is related to web browser technical field, more particularly to a kind of info web prefetches access method and dress Put.
Background technology
Web browser (abbreviation browser herein) refers to the Client browse program of WWW (Web) service, network Browser can send various requests, and the hypertext information to being sent from server and various multi-medium datas to Web server Form is explained, shows and played.
Quickly grown now with Handheld intelligent equipment, mobile Internet access is increasingly liked by user, but mobile mutual The expenses standard of networking is generally higher than common fixed network, while speed is very low, does not reach fixed network level.It is so clear in order to improve Look at speed, save mobile network's flow and rate, equipment be connectable at a high speed and/or low cost network it is (such as wireless Wifi network) in the case of, user can be generally using high speed and/or the online of low cost network.
It is most of at present in order to improve surfing, save mobile network's flow and rate in browser treatment technology Browser employs web cache technology.I.e.:When browser access after one network address, the info web of the network address can be saved in In browser local device, when browsing identical network address with browser user's next time, then browser directly obtains from local device Take info web corresponding to the network address, it is not necessary to internet interview network again, so as to improve surfing, save mobile network's stream Amount and rate.
But the defects of this web cache technology, is:
User can seldom repeat to browse browsed webpage, so in no high speed and/or the feelings of low cost network Under condition, user wants to access when not clicking on opened network address that surfing to be still present slow, and needs to expend mobile network The problem of flow and rate.If user wants to browse some network address in the place of no high speed and/or low cost network, just need The network address will manually be possible to access when local device is connected to high speed and/or low cost network in advance is opened simultaneously Displaying one time, web cache is waited to complete.Substantial amounts of man-machine interaction number is so needed, not only wastes time and energy, has a strong impact on The operating efficiency of user, and every time open a webpage when browser will take processor (CPU) and internal memory of equipment etc. Webpage corresponding to resource opening and displaying, the waste to device resource is very serious, reduces the stability of browser execution, sometimes Can also browser be caused to crash.
The content of the invention
In view of this, it is a primary object of the present invention to provide a kind of info web to prefetch access method and device, with Operating efficiency is improved, ensures the operation stability of browser.
The technical proposal of the invention is realized in this way:
A kind of info web prefetches access method, including:
Setting prefetches website information;
Triggering execution prefetches processing, and this, which prefetches processing, includes:Website information is prefetched described in acquisition, is prefetched from described under network address Contained network page information, the info web of download is stored in the local equipment of browser;
After receiving the request for accessing network address in browser, first judge whether to be stored with this in browser local device to be visited Info web corresponding to network address, if then reading info web corresponding to the network address to be visited from local device;Otherwise join Net accesses info web corresponding to the network address to be visited.
A kind of info web prefetches access mechanism, and the device includes:
Network address setup module is prefetched, website information is prefetched for setting;
Processing module is prefetched, prefetches processing for triggering execution, this, which prefetches processing, includes:Network address letter is prefetched described in acquisition Breath, info web is downloaded from the network address that prefetches, the info web of download is stored in the local equipment of browser;
Access modules, after the request for accessing network address is received in browser, first judge in browser local device whether Info web corresponding to the network address to be visited is stored with, if then reading net corresponding to the network address to be visited from local device Page information;Otherwise info web corresponding to the internet interview network address to be visited.
Compared with prior art, the present invention can set and prefetch website information, and prefetching processing by triggering execution will prefetch The info web concentration of network address is locally downloading, during which accesses without going through each click and shows each webpage, rear If the continuous info web for accessing network address is present locally, the local info web is directly accessed.Therefore, the present invention not But improve surfing, save mobile network's flow and rate, and the man-machine interaction number needed greatly reduces, and user is not All network address to be accessed must all be opened one time in advance, improve operating efficiency, be user-friendly browser;Simultaneously because It is that concentration is locally downloading to prefetch info web corresponding to network address, and browser need not access and show each webpage, avoids and beats Browser has ensured the stability of browser to a large amount of occupancy of the resources such as equipment CPU and internal memory when opening and show numerous webpages.
Brief description of the drawings
Fig. 1 is a kind of embodiment flow chart for prefetching access method of info web of the present invention;
Fig. 2 is a kind of embodiment composition schematic diagram for prefetching access mechanism of info web of the present invention;
Fig. 3 is a kind of specific flow chart for prefetching and accessing info web of the method for the invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail
Fig. 1 is a kind of embodiment flow chart for prefetching access method of info web of the present invention.Referring to Fig. 1, the party Method includes:
Step 101, setting prefetch website information.
Step 102, triggering execution prefetch processing, and this, which prefetches processing, includes:Website information is prefetched described in acquisition, from described pre- Take network address to download info web, the info web of download is stored in the local equipment of browser.
Step 103, after receiving the request for accessing network address in browser, first judge whether be stored with browser local device Info web corresponding to the network address to be visited, believe if then reading webpage corresponding to the network address to be visited from local device Breath;Otherwise info web corresponding to the internet interview network address to be visited.
It is corresponding with the method for the present invention, prefetch access mechanism the invention also discloses a kind of info web.Fig. 2 is this hair A kind of embodiment composition schematic diagram for prefetching access mechanism of the bright info web.Referring to Fig. 2, the device includes:
Network address setup module 201 is prefetched, website information is prefetched for setting.
Processing module 202 is prefetched, prefetches processing for triggering execution, this, which prefetches processing, includes:Network address is prefetched described in acquisition Information, info web is downloaded from the network address that prefetches, the info web of download is stored in the local equipment of browser.
Access modules 203, for browser receive access network address request after, first judge be in browser local device It is no to be stored with info web corresponding to the network address to be visited, if then being read from local device corresponding to the network address to be visited Info web;Otherwise info web corresponding to the internet interview network address to be visited.
In the step 101, artificial setting can be included and set automatically by prefetching the setting of the particular content of website information.
Artificial set is to prefetch network address letter comprising the setting instruction setting for prefetching website information according to what user inputted Breath, such as the present invention can provide the setting interface for prefetching website information, some nets fixed that user will often access daily Location conduct prefetches network address and inputs and preserve.It is described prefetch website information and generally comprise need the URL for prefetching network address (URL)。
It is described it is automatic set the network browsing for being to read user automatically by prefetching network address setup module to record, such as can be from These network browsings record is read in the log recording of browser or the statistical log of network side, it is browsed then to calculate user The access frequency of each network address, the network address that access frequency exceedes specified threshold (such as 60%) is therefrom chosen, as prefetching website information Preserved.The network address of some popular information can also be obtained from specified net background by prefetching network address setup module, and these are big Most users are all interested, and there is a strong possibility to access, can also be using these information addresses as prefetching website information Preserved, the info web of these popular information can be downloaded when performing and prefetching processing and be cached to local device, for after It is continuous to access.
Corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention, the network address that prefetches is set Module 101 is put to be specifically used for:According to what user inputted website information is prefetched comprising the setting instruction setting for prefetching website information;Or Person, the network browsing record of user is read, calculate the access frequency of the browsed each network address of user, therefrom chosen access frequency and surpass The network address of specified threshold is crossed, as prefetching website information.
When the step 101 sets and prefetches website information, the present invention can set different prefetch for different user Website information.Different user is distinguished by user's mark, i.e.,:It can set and prefetch website information corresponding to user's mark.Institute State the device identification that user's mark for example can be ID, current browser local device, machine code, user such as mobile phone Identification card (SIM card) number etc..User's mark can be the mark or group of subscribers of individual consumer Mark.Such as can according to user property to tenant group, each customer group have corresponding to prefetch website information, the user Attribute attribute such as can be sex, age, region, occupation, these customer attribute informations can be manually entered by user and set Put, or obtained from the background system of correlation.It is corresponding in institute if setting and prefetching website information corresponding to user's mark State and prefetch the concrete mode of website information described in being obtained in step 102 and include:The mark of the user using current browser is obtained, Such as obtain active user log in ID number, obtain active user's local device device identification (machine code of such as mobile phone, SIM card number etc.), then from local device or network side obtain the user mark corresponding to prefetch website information.
The present invention can set different when prefetching website information for different user, be also classified into artificial setting and setting automatically Put.Artificial set is to be instructed according to what user inputted comprising the setting for prefetching website information, sets the user to identify corresponding Prefetch website information;Automatic set be:Network browsing record corresponding to user mark is read, calculates user mark The access frequency of corresponding browsed each network address, therefrom chooses the network address that access frequency exceedes specified threshold, is marked as the user Website information is prefetched corresponding to knowledge.
Corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention, the network address that prefetches is set Module 101 is put to be specifically used for:Set and prefetch website information corresponding to user's mark;The processing module 102 that prefetches is specifically used for: The mark of the user using current browser is obtained, obtains and prefetches website information corresponding to user mark, net is prefetched from described Info web is downloaded in location, and the info web of download is stored in the local equipment of browser.
When setting prefetches website information in the step 101, specific set location also has two kinds.
One kind be browser local device set prefetch website information, such as will can prefetch website information be arranged on it is clear Look in the collection of device;Prefetching the concrete mode of website information described in being obtained in the step 102 is:From browser local device Website information is prefetched described in middle acquisition.
Another kind is to set to prefetch website information in browser local device and network side (such as cloud server);It is described The concrete mode of website information is prefetched described in being obtained in step 102 to be included:Judge the setting of browser local device prefetches network address Whether the content for prefetching website information that information and network side are set is identical, and specific judgment mode for example can be that calculating is local pre- Take the MD5 values of website information whether identical with the MD5 values for prefetching website information of network side, if the same judge to prefetch network address The content of information is identical, otherwise judges that the content for prefetching website information is different.If local website information and the network side of prefetching It is different to prefetch the content of website information, then needs to prefetch website information from described in network side download acquisition, and update browser sheet Website information is prefetched in ground equipment;If the same website information is prefetched described in being obtained directly from browser local device.
It is corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention:The network address that prefetches is set Module 101 is put to be specifically used for prefetching website information in the setting of browser local device;The processing module 102 that prefetches specifically is used In:Website information is prefetched described in being obtained from browser local device, info web is downloaded from the network address that prefetches, by download Info web is stored in the local equipment of browser.
Or in another embodiment for prefetching access mechanism of the info web:It is described to prefetch network address setup module 101 are specifically used for prefetching website information in browser local device and network side setting;The processing module 102 that prefetches specifically is used In:Prefetching of judging that browser local device the sets content for prefetching website information that website information and network side set whether phase Together, from prefetching website information described in network side download and updating into browser local device if different, then from local Obtained in equipment and prefetch website information after renewal;If the same net is prefetched described in being obtained directly from browser local device Location information;After getting prefetch website information as previously described, info web is downloaded from the network address that prefetches, by the webpage of download Information is stored in the local equipment of browser.
Because the content of website can regularly update, more frequent for forum's class renewal, each Web Pre-Fetching can all take Substantial amounts of bandwidth and flow.So determine that the opportunity that a suitable triggering execution prefetches processing is particularly important.In this hair In the bright step 102, the trigger timing for prefetching processing can also have a variety of situations.Such as that can trigger automatically It can also trigger manually.
When being arranged to trigger automatically, (as network switching occurs after browser startup or after the generation of some event Afterwards), before the triggering execution prefetches processing, further comprise:Whether detection browser local device is connected to specified class The network of type, if connected to the network of specified type, then prefetch processing described in automatic triggering execution or send triggering prompting letter Cease and prefetch processing described in triggering execution after the triggering command of user is received;Otherwise do not trigger and prefetch place described in performing Reason, or triggered according to manual triggering mode.
It is of course also possible to use the mode that server actively issues controls automatic triggering, it is in this case described to prefetch net Location information needs to be arranged on network side, and whether the server of network side can detect in real time prefetches some specified network address in network address There is renewal, reach a designated ratio if updating or updating, note that to browser client, at this moment browser triggering Perform an automatic web and prefetch download.But now it is also required to whether detection browser local device first is connected to specified class The network of type, just triggered after the network of specified type is connected to and prefetch processing described in performing, and prompt user to need download to account for With flow, prevent that being downloaded to user automatically on wrong opportunity brings rate loss and flow to waste.
And/or be triggering manually if being not provided as triggering automatically, then prefetch processing in the triggering execution Before, further comprise:Judge whether that the triggering for receiving user's input prefetches the instruction of processing, if receiving described in triggering execution Prefetch processing;Otherwise do not trigger and prefetch processing or according to the automatic triggering mode triggering described in performing.
Whether above-mentioned detection browser local device is connected in the network of specified type, the network one of the specified type As be:High speed and/or low cost network, such as wifi network.High speed and/or the speed of low cost network can so be made full use of With low cost advantage, download and prefetch the info web of network address, if the local device of browser it is follow-up be switched to low speed and/or High cost network, such as mobile Internet, then the info web of address correlation can be directly read from local device, so as to improve Surfing, save mobile network's flow and rate.In the present invention, the browser local device typically refers to often switching connection The portable data processing equipment of net mode, such as mobile phone, palm PC, personal digital assistant equipment (PDA), tablet personal computer, lead to Above-mentioned automatic triggering mode is crossed, can be when the equipment of user be connected to wireless wifi or other low expense high bandwidth networks certainly The dynamic info web for prefetching network address for often accessing user, which is downloaded, is saved in local, and user can be from this when subsequently browsing webpage Ground obtains, and so can not only save bandwidth but also can lift access speed.
It is corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention:It is described to prefetch processing mould Block 102 is further used for:Before the triggering execution prefetches processing, whether detection browser local device is connected to specified class The network of type, if it is prefetch processing described in automatic triggering execution or send triggering prompt message and receiving touching for user What triggering execution was described after sending instructions prefetches processing;And/or before the triggering execution prefetches processing, judge whether to receive The triggering of user's input prefetches the instruction of processing, and what triggering execution was described if receiving prefetches processing.
It is corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention:The network address that prefetches is set Module is put to be specifically used for prefetching website information in browser local device and network side setting.The processing module that prefetches specifically is divided For the first module being arranged in browser local device and the second module for being arranged on network side, first module is used to sentence Prefetching set by circuit network side specifies whether the content of network address has renewal in network address, reaches one if updating or updating Designated ratio, then notify the second module;Second module is used for whether detection browser local device upon receipt of a notification to connect The network of specified type is connected to, if connected to the network of specified type, then prefetch processing described in automatic triggering execution or send Triggering prompt message simultaneously prefetches processing after the triggering command of user is received described in triggering execution.
In the step 102, after acquisition prefetches website information, further it can also be parsed according to the setting means of user Further website links in these network address, such as parsing firsts and seconds link, or parsing have the link of picture, by this The part that obtained network address also serves as prefetching network address is further parsed a bit, then downloads info web from all network address that prefetch, The info web of download is stored in the local equipment of browser.The scope for prefetching network address can so be expanded, after user It is continuous when need to access these network address, it is possible to info web corresponding to being read directly from local device.
In addition, in the step 102, after the info web of download is stored in the local equipment of browser, also It may further include:Record the timestamp and effective time of the info web.And in the step 103, received in browser After to the request for accessing network address, if it is decided that info web corresponding to the network address to be visited is stored with browser local device, Then further comprise:The timestamp and effective time of the info web are read, judges the duration from the timestamp to current time Whether exceed the effective time, that is, judge whether the info web is effective, if it exceeds then judging failure, now need internet interview Info web corresponding to the network address to be visited;It is effective if not timed out then judging, this is now read from local device and waits to visit Ask info web corresponding to network address.Due to some network address such as news website info web it is ageing very strong, usual one day Or its web page contents of several hours can all have change, therefore the processing mode of above-mentioned timestamp and effective time is used, When the info web locally preserved is effective, it can improve access speed from local reading, save flow and rate;At this During the info web failure that ground preserves, then the newest content of direct internet interview network access, therefore taken into account the timeliness of webpage Property.And it is described it is different types of prefetch effective time corresponding to network address can also be different, such as the network address of news type is effective Duration is shorter, and the effective time of the network address of literature works reading type is longer.
It is corresponding, in a kind of embodiment for prefetching access mechanism of info web of the present invention:It is described to prefetch processing mould Block 102 is further used for:After the info web of download is stored in the local equipment of browser, the info web is recorded Timestamp and effective time;The access modules 103 are further used for:After the request for accessing network address is received in browser, such as Info web corresponding to being stored with the network address to be visited in fruit judgement browser local device, then further read the info web Timestamp and effective time, judge whether the duration from the timestamp to current time exceedes the effective time, if it exceeds Then info web corresponding to the internet interview network address to be visited, otherwise reads net corresponding to the network address to be visited from local device Page information.
The flow for more specifically prefetching and accessing info web below by one further illustrates the present invention.Fig. 3 is A kind of specific flow chart for prefetching and accessing info web of the method for the invention.Referring to Fig. 3, the flow includes:
Step 301:User, which starts, logs in browser.
Step 302:Detect whether to prefetch processing for automatic triggering execution.Whether it is to trigger automatically that user can pre-set Mode, it can now be set according to the configuration of user and judge whether that triggering execution automatically prefetches processing, if it is jumps to step 304, otherwise jump to step 303.
Step 303:The manual triggering mode operation of user.If user is not provided with automatic triggering mode, user can lead to The button provided on browser is provided actively triggers execution and prefetch processing, now judge whether to input the instruction triggered manually, if It is that can not have to detect whether to be connected to the network of specified type, directly performs subsequent step 305;Otherwise, execution is not triggered It is described to prefetch processing, that is, jump to step 308 and start to access the flow of network address.
Step 304:Detect whether the current network connection of browser local device (such as user mobile phone) is the height specified Fast and/or low cost network such as wifi network, if it is trigger execution and prefetch processing, that is, jump to step 305;Otherwise do not trigger Processing is prefetched described in execution, that is, jumps to step 308 and starts to access the flow of network address.
Step 305:Acquisition prefetches website information.
The website information that prefetches can be stored in local as a strategy file, while synchronous a strategy file exists Network side, obtain every time need to examine when prefetching website information network side strategy file MD5 information whether the corresponding plan with local The MD5 information of slightly file is identical, and the strategy file is obtained from network side again if different.Strategy text every time can so be reduced The flow that part renewal is brought uses and the stand-by period.Strategy file after download needs to be parsed and loaded, according to wherein net The IP address of location information divides to form each downloading task, waits subsequent download.
Step 306:Prompt the user whether to need to download the info web for prefetching network address, and judge whether to receive under user Instruction is carried, step 307 is if it is jumped to and downloads the info web for prefetching network address, step 308 is otherwise jumped to and starts to access network address Flow.
Need to expend flow, it is necessary to be prompted to user to obtain the license of user due to performing to download, at this moment can examine Current network condition is surveyed, calculates the URL quantity for needing to download and the time that may be needed, the network feelings that then will be detected Condition, needing the URL quantity downloaded and the time prompting that may be needed, for reference, user, which can examine detection, is to user It is no accurate and finally determine it is that can enough perform finally to prefetch download flow.
Step 307:Perform and prefetch the info web that network address is prefetched described in download to browser local device.
Need to perform the downloading task that step 305 parses in this step, and by final download content according to specific format Holding Cost in the specified file of equipment, there is provided local acceleration is carried out when being accessed to subsequent user.It can be calculated in downloading process And prompt user's download progress and to estimate the deadline, network bandwidth and system resource at this moment may take it is bigger, if Other routine works of user or internet behavior are had influence on, user can terminate download at any time.Meeting is with spy after the completion of prefetching download Fixed form is stored in local device, and has identified timestamp and effective time.Can regularly it be deleted for the info web of failure Remove, prevent that local file is excessive.
Step 308:User, which surfs the Net, accesses network address, and browser receives the request that user accesses network address, institute is included in the request Access the URL of network address.
Step 309:Judge whether network address URL that user accesses with local a certain prefetched is cached corresponding info web URL it is identical, and the info web is now also effective, i.e., the webpage timestamp to the duration of current time is not above corresponding Effective time, if it is jump to step 310;Otherwise, step 311 is jumped to.
Step 310:Browser directly reads info web corresponding to the URL from local, at this moment need not access network, speed It can have a distinct increment, can also save flow.
Step 311:If info web corresponding to local no user URL to be accessed or the now info web are Failure, then at this moment direct internet interview network, prevents the situation that can not access webpage.
In addition, in several embodiments provided herein, it should be understood that disclosed system and method, it is described Each functional module can be integrated in a processing unit or modules are individually physically present, can also two or Two or more module is integrated in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, can also adopt Realized with the form of SFU software functional unit.The functional module of each embodiment can be located at a terminal or network node, or Person can also be distributed on multiple terminals or network node.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (16)

1. a kind of info web prefetches access method, it is characterised in that including:
Setting prefetches website information;
Triggering execution prefetches processing, and this, which prefetches processing, includes:Website information is prefetched described in acquisition, under described prefetch in address set Contained network page information, the info web of download is stored in the local equipment of browser;
After the request that browser receives network address to be visited, first judge the net to be visited whether is stored with browser local device Info web corresponding to location, if then reading info web corresponding to the network address to be visited from local device;Otherwise network Access info web corresponding to the network address to be visited;
The triggering, which performs and prefetches processing, to be carried out before browser receives the request of network address to be visited.
2. according to the method for claim 1, it is characterised in that
This method further comprises after the info web of download is stored in the local equipment of browser:Record the net The timestamp and effective time of page information;
And after the request that browser receives network address to be visited, if it is decided that the net to be visited is stored with browser local device Info web corresponding to location, then further comprise:The timestamp and effective time of the info web are read, is judged from the timestamp Whether the duration to current time exceedes the effective time, if it exceeds then webpage corresponding to the internet interview network address to be visited is believed Breath, otherwise reads info web corresponding to the network address to be visited from local device.
3. according to the method for claim 1, it is characterised in that
Before the triggering execution prefetches processing, further comprise:Whether detection browser local device is connected to specified class The network of type, if connected to the network of specified type, then prefetch processing described in automatic triggering execution or send triggering prompting letter Cease and prefetch processing described in triggering execution after the triggering command of user is received;
And/or before the triggering execution prefetches processing, further comprise:Judge whether that the triggering for receiving user's input is pre- The instruction of processing is taken, what triggering execution was described if receiving prefetches processing.
4. according to the method for claim 1, it is characterised in that
The setting prefetches website information, specifically includes:Set in browser local device and network side and prefetch website information;
Before the triggering execution prefetches processing, further comprise:Network side judges that net is specified in set prefetching in network address Whether the content of location has renewal, reaches a designated ratio if updating or updating, then notifies browser detection is local to set The standby network for whether being connected to specified type, if connected to the network of specified type, then prefetch place described in automatic triggering execution Reason sends triggering prompt message and prefetches processing described in triggering execution after the triggering command of user is received.
5. the method according to claim 3 or 4, it is characterised in that the network of the specified type includes:Wifi network.
6. according to the method for claim 1, it is characterised in that
The setting prefetches website information, specifically includes:Set in browser local device and prefetch website information;The acquisition institute State and prefetch website information, specifically include:Website information is prefetched described in being obtained from browser local device;
Or the setting prefetches website information, specifically includes:Set in browser local device and network side and prefetch network address letter Breath;Website information is prefetched described in the acquisition, is specifically included:Judge the setting of browser local device prefetches website information and net Whether the content for prefetching website information of network side setting is identical, is downloaded if different from network side and network address letter is prefetched described in acquisition Breath, update in browser local device and prefetch website information;If the same institute is directly obtained from browser local device State and prefetch website information.
7. according to the method for claim 1, it is characterised in that
The setting prefetches website information, specifically includes:Set and prefetch website information corresponding to user's mark;
Website information is prefetched described in the acquisition, is specifically included:The mark of the user using current browser is obtained, obtains the use Website information is prefetched corresponding to the mark of family.
8. according to the method for claim 7, it is characterised in that user's mark includes:The mark of individual consumer and/ Or the mark of group of subscribers.
9. according to the method for claim 1, it is characterised in that the setting prefetches website information, specifically includes:
According to what user inputted website information is prefetched comprising the setting instruction setting for prefetching website information;
Or the network browsing record of user is read, the access frequency of the browsed each network address of user is calculated, therefrom chooses and accesses Frequency exceedes the network address of specified threshold, as prefetching website information.
10. a kind of info web prefetches access mechanism, it is characterised in that the device includes:
Network address setup module is prefetched, website information is prefetched for setting;
Processing module is prefetched, prefetches processing for triggering execution, this, which prefetches processing, includes:Website information is prefetched described in acquisition, from Described prefetch downloads info web in address set, the info web of download is stored in the local equipment of browser;
Access modules, for receive network address to be visited in browser request after, first judge whether deposited in browser local device Info web corresponding to the network address to be visited is contained, if then reading webpage corresponding to the network address to be visited from local device Information;Otherwise info web corresponding to the internet interview network address to be visited;
It is described prefetch processing module triggering perform prefetch processing be access modules browser receive network address to be visited request it Preceding progress.
11. device according to claim 10, it is characterised in that
The processing module that prefetches is further used for:After the info web of download is stored in the local equipment of browser, Record the timestamp and effective time of the info web;
The access modules are further used for:After the request that browser receives network address to be visited, if it is decided that browser is local Info web corresponding to the network address to be visited is stored with equipment, then further read the info web timestamp and it is effective when It is long, judge whether the duration from the timestamp to current time exceedes the effective time, if it exceeds then internet interview this wait to visit Info web corresponding to network address is asked, info web corresponding to the network address to be visited is otherwise read from local device.
12. device according to claim 10, it is characterised in that the processing module that prefetches is further used for:
Before the triggering execution prefetches processing, whether detection browser local device is connected to the network of specified type, such as Fruit is to trigger to prefetch processing described in execution or send triggering prompt message and trigger after the triggering command of user is received automatically Processing is prefetched described in performing;
And/or before the triggering execution prefetches processing, judge whether that the triggering for receiving user's input prefetches the finger of processing Order, what triggering execution was described if receiving prefetches processing.
13. device according to claim 10, it is characterised in that
State and prefetch network address setup module specifically for prefetching website information in browser local device and network side setting;
The processing module that prefetches is specifically divided into the first module being arranged in browser local device and is arranged on network side Second module, first module are used to judge that prefetching set by network side to specify whether the content of network address has more in network address Newly, reach a designated ratio if updating or updating, then notify the second module;Second module be used for receive it is logical The network whether browser local device is connected to specified type is detected after knowing, if connected to the network of specified type, then certainly Dynamic trigger prefetches processing or sends triggering prompt message and after the triggering command of user is received described in triggering execution described in execution Prefetch processing.
14. device according to claim 10, it is characterised in that
The network address setup module that prefetches is specifically used for prefetching website information in the setting of browser local device;It is described to prefetch processing Module is specifically used for:Website information is prefetched described in being obtained from browser local device, webpage letter is downloaded from the network address that prefetches Breath, the info web of download is stored in the local equipment of browser;
Or the network address setup module that prefetches is specifically used for prefetching network address letter in browser local device and network side setting Breath;The processing module that prefetches is specifically used for:Judge the setting of browser local device prefetches website information and network side setting The content for prefetching website information it is whether identical, if different from network side download described in prefetch website information and update to clear Look in device local device, then obtained from local device and prefetch website information after renewal;If the same directly from browsing Website information is prefetched described in being obtained in device local device;After getting prefetch website information as previously described, net is prefetched from described Info web is downloaded in location, and the info web of download is stored in the local equipment of browser.
15. device according to claim 10, it is characterised in that
The network address setup module that prefetches is specifically used for:Set and prefetch website information corresponding to user's mark;
The processing module that prefetches is specifically used for:The mark of the user using current browser is obtained, obtains user mark pair That answers prefetches website information, downloads info web from the network address that prefetches, the info web of download is stored in into browser local Equipment in.
16. device according to claim 10, it is characterised in that the network address setup module that prefetches is specifically used for:
According to what user inputted website information is prefetched comprising the setting instruction setting for prefetching website information;
Or the network browsing record of user is read, the access frequency of the browsed each network address of user is calculated, therefrom chooses and accesses Frequency exceedes the network address of specified threshold, as prefetching website information.
CN201210439682.7A 2012-11-07 2012-11-07 A kind of info web prefetches access method and device Active CN103810176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210439682.7A CN103810176B (en) 2012-11-07 2012-11-07 A kind of info web prefetches access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210439682.7A CN103810176B (en) 2012-11-07 2012-11-07 A kind of info web prefetches access method and device

Publications (2)

Publication Number Publication Date
CN103810176A CN103810176A (en) 2014-05-21
CN103810176B true CN103810176B (en) 2018-01-05

Family

ID=50706961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210439682.7A Active CN103810176B (en) 2012-11-07 2012-11-07 A kind of info web prefetches access method and device

Country Status (1)

Country Link
CN (1) CN103810176B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156233B (en) * 2014-07-21 2016-05-18 小米科技有限责任公司 Light application off-line update method, device and terminal
US9672026B2 (en) 2014-07-21 2017-06-06 Xiaomi Inc. Light app offline updating method, device and terminal
CN104486297A (en) * 2014-11-27 2015-04-01 上海斐讯数据通信技术有限公司 Network access method and mobile terminal
CN105512254B (en) * 2015-12-01 2018-11-13 上海携程商务有限公司 Terminal, webpage information preload method and system
CN107193819B (en) * 2016-03-14 2021-01-26 阿里巴巴(中国)有限公司 Method and equipment for webpage pre-reading, browser and client equipment
CN107273367A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of communication acceleration method and device
CN107305496A (en) * 2016-04-20 2017-10-31 深圳市信锐网科技术有限公司 Application APP method for down loading and Wireless Communication Equipment
CN107733953A (en) * 2016-08-11 2018-02-23 平安科技(深圳)有限公司 Resource downloading method and device
CN107566295A (en) * 2017-09-01 2018-01-09 努比亚技术有限公司 A kind of data traffic reminding method, browser and computer-readable recording medium
CN108197264B (en) * 2017-12-29 2020-08-25 Oppo广东移动通信有限公司 Webpage acceleration display method and device, mobile terminal and storage medium
CN108762874A (en) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 A kind of virtualization system resource exhibition method, apparatus and system
CN110502699B (en) * 2019-08-27 2022-06-03 百度在线网络技术(北京)有限公司 Method and device for acquiring information
CN112035764A (en) * 2020-07-28 2020-12-04 长沙市到家悠享网络科技有限公司 Page loading method and device, electronic equipment and storage medium
CN114826956B (en) * 2022-03-30 2023-05-26 杭州迪普科技股份有限公司 Automatic DPI policy library file generation method and device for DPI test equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591887A (en) * 2011-01-18 2012-07-18 腾讯科技(深圳)有限公司 Network data pre-fetching method and network data pre-fetching system
CN102737037A (en) * 2011-04-07 2012-10-17 北京搜狗科技发展有限公司 Webpage pre-reading method, device and browser

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9015141B2 (en) * 2011-02-08 2015-04-21 The Nielsen Company (Us), Llc Methods, apparatus, and articles of manufacture to measure search results

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591887A (en) * 2011-01-18 2012-07-18 腾讯科技(深圳)有限公司 Network data pre-fetching method and network data pre-fetching system
CN102737037A (en) * 2011-04-07 2012-10-17 北京搜狗科技发展有限公司 Webpage pre-reading method, device and browser

Also Published As

Publication number Publication date
CN103810176A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
CN103810176B (en) A kind of info web prefetches access method and device
CN102867007B (en) Web browser method and device
CN108363815B (en) Webpage pre-reading method and device and intelligent terminal equipment
US6366947B1 (en) System and method for accelerating network interaction
CN105045887B (en) The system and method for mixed mode cross-domain data interaction
WO2013044757A1 (en) Method, device and system for detecting security of download link
CN104021218B (en) A kind of method for information display and device
WO2014032509A1 (en) Data transfer method and system
US11604872B2 (en) Threat detection method and apparatus, and network system
CN110390043A (en) Crawling method, device, terminal and the storage medium of webpage mailbox data
WO2014153970A1 (en) Method and apparatus for text input protection
WO2012094965A1 (en) Method, terminal and server for presenting prompt message
KR20180074774A (en) How to identify malicious websites, devices and computer storage media
CN101960452B (en) Methods, apparatuses and computer program products for providing a search form
CN102185830B (en) A kind of method and system of security filtration of network television browser
CN109522501A (en) Content of pages management method and its device
CN104462242B (en) Webpage capacity of returns statistical method and device
CN107800611A (en) The method and page layout switch device of a kind of page layout switch
CN104778172A (en) Prefetching processing method and device of web information, and corresponding web browsing device
CN102681996B (en) Pre-head method and device
CN109343908A (en) A kind of method and apparatus of delay loading JS script
CN103729440B (en) A kind of method and device of access website
CN108319624B (en) Data loading method and device
CN103634348A (en) Terminal device and method for releasing information
EP3748493A1 (en) Method and device for downloading installation-free application

Legal Events

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