WO2012159360A1 - 网页预取的方法及装置 - Google Patents

网页预取的方法及装置 Download PDF

Info

Publication number
WO2012159360A1
WO2012159360A1 PCT/CN2011/077879 CN2011077879W WO2012159360A1 WO 2012159360 A1 WO2012159360 A1 WO 2012159360A1 CN 2011077879 W CN2011077879 W CN 2011077879W WO 2012159360 A1 WO2012159360 A1 WO 2012159360A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
priority
prefetch
prefetching
list
Prior art date
Application number
PCT/CN2011/077879
Other languages
English (en)
French (fr)
Inventor
王雨春
汪芳山
谭卫国
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001726.1A priority Critical patent/CN103460205B/zh
Priority to PCT/CN2011/077879 priority patent/WO2012159360A1/zh
Publication of WO2012159360A1 publication Critical patent/WO2012159360A1/zh

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics

Definitions

  • the present invention relates to the field of the Internet, and in particular, to a method and an apparatus for web page prefetching.
  • the Internet has gradually become the main way for people to obtain information.
  • the user needs to send an access request to the web server through the browser, and the web server searches for the corresponding webpage according to the access request, and sends the corresponding webpage to the browser for presentation to the user.
  • browsers often generate delays in obtaining web page information under limited network bandwidth, so that users need to wait for a period after entering the web address. Time to see the page information.
  • the web page that the user may browse is predicted by the client or the server, and a prefetch list is generated.
  • the prefetch list includes a prefetched web address; when the network is idle, the client or the server obtains the webpage information corresponding to the prefetched webpage from the web server according to the prefetch list, and stores the webpage information in the client.
  • the buffer area of the server or the server side; when the user selects to access the pre-fetched webpage, the corresponding webpage information is directly obtained from the cache area of the client or the server, thereby reducing the access delay.
  • the client or the server Since the client or the server obtains the webpage information corresponding to each prefetched webpage in the webpage prefetching list from the web server in a fixed order, when the browsing state of the user changes, the accuracy of webpage prefetching is low.
  • An embodiment of the present invention provides a method and an apparatus for prefetching a webpage, which can obtain a prefetch list of a current webpage, and can obtain a prefetching sequence of each prefetched webpage in the prefetched list according to a current browsing state of the user. , improve the accuracy of web page prefetching.
  • an embodiment of the present invention provides a method for webpage prefetching, including: The feature information is used to represent basic information of a webpage corresponding to the prefetched webpage; and monitoring a browsing state of the user;
  • the webpage information corresponding to each prefetched webpage in the webpage prefetching list is obtained from the web server according to the prefetching sequence, and the webpage information is stored for the client to access.
  • the embodiment of the present invention further provides a device for webpage prefetching, which includes: feature information of an address, where the feature information is used to represent basic information of a webpage corresponding to the prefetched webpage;
  • a monitoring module configured to monitor a browsing status of the user, and sorting each pre-fetching URL in the pre-fetching list of the webpage, and determining a pre-fetching sequence of each pre-fetching webpage in the pre-fetching list of the webpage;
  • the processing module is configured to obtain webpage information corresponding to each prefetched webpage in the webpage prefetching list from the web server according to the prefetching order, and store the webpage information for the client to access.
  • the client obtains a webpage prefetching list, and then sorts the prefetched webpages in the webpage prefetching list in real time according to the current browsing state of the user, and determines a prefetching order; Obtaining the webpage information corresponding to the prefetched webpage from the web server according to the prefetching sequence, and storing the webpage information for the client to access.
  • the method and the device provided by the embodiment of the present invention can adjust the order of acquiring the prefetched web address in real time according to the current browsing state of the user, thereby improving the accuracy of webpage prefetching.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method according to another embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an apparatus according to still another embodiment of the present invention.
  • FIG. 4 is another structural block diagram of an apparatus according to still another embodiment of the present invention.
  • FIG. 5 is still another structural block diagram of an apparatus according to still another embodiment of the present invention.
  • FIG. 6 is still another structural block diagram of an apparatus according to still another embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for webpage prefetching. As shown in FIG. 1, the method includes: feature information, where the feature information is used to represent basic information of a webpage corresponding to the prefetched webpage.
  • the client monitors the browsing status of the user. Sorting each prefetched webpage in the webpage prefetch list, and determining each prefetching list in the webpage prefetching list Take the prefetch order of the URLs.
  • the client obtains the webpage information corresponding to each pre-fetched webpage in the webpage pre-fetching list from the web server according to the pre-fetching order, and stores the webpage information for the client to access.
  • the client can browse the webpage through a web browser, or browse the webpage through an application installed on the client, which is not limited herein; specifically, the client can be a personal computer, mobile Terminals (such as mobile phones, PDAs, etc.), IPTV (Internet Protocol Television) digital TV terminals, but are not limited to this.
  • mobile Terminals such as mobile phones, PDAs, etc.
  • IPTV Internet Protocol Television
  • the webpage prefetching method provided by the embodiment of the present invention, the client obtains a webpage prefetching list, and then sequentially sorts the prefetching webpages in the webpage prefetching list according to the current browsing state of the user, and determines a prefetching order;
  • the webpage information corresponding to the prefetched web address is obtained from the web server, and the webpage information is stored for the client to access.
  • the method provided by the embodiment of the present invention can perform real-time adjustment on the order of acquiring the pre-fetched web address according to the current browsing state of the user, thereby improving the accuracy of webpage prefetching.
  • Another embodiment of the present invention provides a method for web page prefetching. As shown in FIG. 2, the method includes:
  • the client obtains a target URL (Uniform / Universal Resource Locator, also referred to as a web address) that the user needs to access according to the URL information input by the user or the webpage content that the user clicks.
  • a target URL Uniform / Universal Resource Locator, also referred to as a web address
  • step 203 The client detects whether the webpage information corresponding to the target URL exists in the local buffer. If yes, step 203 is performed; if no, step 204 is performed.
  • the client directly obtains webpage information corresponding to the target URL from the local cache, and presents the webpage information to the user.
  • the client sends an access request that carries the target URL to the web server, where the access request is used to obtain webpage information corresponding to the target URL.
  • the web server receives an access request sent by the client, determines webpage information corresponding to the target URL, and predicts a URL that the client may access, and according to the predicted URL. Generate a first prefetch list.
  • the W e b server may predict a URL that the user may click according to the association between the title keywords corresponding to the U R L .
  • the keyword association dictionary provided in Table 1, “1" indicates that the keyword 1 has a relevance to the keyword 2.
  • the URL with "Communication”, “Smartphone”, “Network Device”, and “Terminal” is selected as the prefetch URL.
  • the keyword association dictionary is maintained by the server and automatically updated.
  • the value indicates that the web server can also predict the URL that the user may click in other ways, which is not limited herein.
  • the web server returns a response message to the client, where the response message carries an HTML (Hybré Tex t Ma rkup Language) code of the webpage corresponding to the target URL, where the HTML code can A prefetch element is included, and the prefetch element is used to represent the first prefetch list generated by the server.
  • HTML HyperTex t Ma rkup Language
  • the client receives the response information returned by the web server, parses the HTML code of the webpage corresponding to the target URL, and obtains the webpage information corresponding to the target URL, and the link URL of the webpage corresponding to the target URL on the current page.
  • the location and the first prefetch list are displayed.
  • the client predicts a URL that the user may select to access according to the webpage information corresponding to the target URL, and generates a second prefetch list, where the second prefetch list includes the URL predicted by the client.
  • the method for the client to predict the URL that the user may select to access may refer to, but is not limited to, the process of predicting the prefetch URL by the web server in step 205, and details are not described herein again.
  • the client determines a webpage prefetch list corresponding to the target URL according to the webpage prefetching setting information, where the webpage prefetching list may be the first prefetching list, or the second prefetching list, or Is a set of the first prefetch list and the second prefetch list.
  • the webpage prefetch setting information is set by the client according to the user instruction, and the webpage prefetching setting information includes a prefetching information source, and is used by the client to determine the webpage prefetching list.
  • the second prefetch list generated by the client does not include the first prefetch The prefetch URL in the list.
  • the client parses the HTML code of the prefetch URL in the webpage prefetch list, and obtains the feature information of the prefetch URL, where the feature information includes the display location of the prefetch URL on the current webpage page.
  • the URL title and the title keyword corresponding to the prefetch URL are described, but are not limited thereto.
  • the client monitors the browsing status of the user, and the browsing status includes a current browsing range and user selection information, where the current browsing range includes a webpage page range currently displayed by the client, and the user selection information includes a URL selected by the user. , the title corresponding to the URL selected by the user, and the title keyword.
  • the browsing status further includes the webpage prefetch setting information
  • the webpage prefetch setting information further includes information such as a priority weight and a prefetch URL sorting rule.
  • the priority is used to determine the priority of each prefetched URL in the webpage prefetch list.
  • the prefetch URL collation rule is used to determine the prefetching order of the prefetched URLs with the same priority.
  • the webpage prefetch setting information may further include the number of prefetched URLs set according to user instructions, and is used to determine the number of prefetched URLs acquired by the web server.
  • the client sorts the prefetch URLs in the prefetch list according to the browsing status of the user and the feature information of the prefetched URL, and determines the prefetching order of each prefetched URL in the webpage prefetch list.
  • the client may perform pre-fetching URLs in the prefetch list in the following manner.
  • the embodiment of the present invention is described in the case where the webpage prefetch list includes five prefetch URLs, and the number of prefetch URLs in the actual application is not limited thereto.
  • the feature information of the five prefetched URLs is as shown in Table 2:
  • the prefetch URL 3 and the prefetch URL 4 in the above table 2 are marked with the first priority
  • the webpage prefetch is obtained.
  • the prefetching order of the five prefetch URLs in the list is from first to last: prefetch URL3, prefetch URL4, prefetch URL1 and prefetch URL5, prefetch URL2.
  • the pre-fetch URL1 and the pre-fetch URL 5 have the same priority, and the pre-fetch URL1 and the pre-fetch URL 5 are determined according to the pre-fetch URL collation rule in the webpage pre-fetch setting information, and the pre-fetch URL1 and the pre-preparation may be performed.
  • the URL 5 is randomly sorted, and the prefetch URL 1 and the prefetch URL 5 may be sorted in alphabetical ascending or descending order, which is not limited herein;
  • the prefetch order of the five prefetch URLs in the webpage prefetch list is obtained from the first to the last: prefetch URL3, prefetch URLl and prefetch URL5, prefetch URL4, prefetch URL2.
  • the pre-fetch URL1 and the pre-fetch URL 5 have the same priority, and the pre-fetch URL1 and the pre-fetch URL 5 are determined according to the pre-fetch URL collation rule in the webpage pre-fetch setting information, and the pre-fetch URL1 and the pre-preparation may be performed.
  • the URL 5 is randomly sorted, and the prefetch URL 1 and the prefetch URL 5 are sorted in ascending or descending order, which is not limited herein.
  • the client sequentially detects, according to the prefetching sequence, whether the webpage information corresponding to the prefetched URL exists in the local buffer; if yes, repeat step 213; if no, step 214 is performed.
  • the client When the network is in an idle state, the client obtains webpage information corresponding to each prefetch URL in the webpage prefetch list from the web server according to the prefetching sequence, and stores the webpage information in a local cache for the client. Make an access.
  • the client obtains webpage information that satisfies the prefetched URL quantity from the web server according to the prefetching sequence when the network is in an idle state.
  • the client obtains webpage information that satisfies the prefetched URL quantity from the web server according to the prefetching sequence when the network is in an idle state.
  • the client may sort the prefetch URLs in the webpage prefetch list according to the current browsing range of the user and the user selection information, and determine the prefetching order;
  • the server obtains webpage information corresponding to the prefetch URL, and stores the webpage information in a local cache for the user to access.
  • the prefetching sequence can be dynamically adjusted according to the current browsing range of the user, so that the prefetching sequence can effectively reflect the real-time usage of the user, thereby improving the accuracy of webpage prefetching.
  • a further embodiment of the present invention provides a device for prefetching a webpage, which can implement the foregoing method embodiment. As shown in FIG. 3, the device includes: The obtaining module 301 is configured to obtain, by using a processor, a webpage prefetch list and feature information of each prefetched webpage in the webpage prefetching list, where the feature information is used to represent basic information of the webpage corresponding to the prefetched webpage;
  • the monitoring module 302 is configured to monitor, by using the processor, a browsing status of the user, and collect, by the processor, the pre-fetching URLs in the pre-fetching list of the webpage, and determine each pre-fetching URL in the pre-fetching list of the webpage. Prefetching order;
  • the processing module 304 is configured to obtain webpage information corresponding to each pre-fetched webpage in the webpage pre-fetching list from the web server according to the pre-fetching sequence, and store the webpage information in a buffer for the client. Make an access.
  • the acquiring module 301 includes a first parsing unit 3011, a generating unit 3012, a first determining unit 3013, and a second parsing unit 3014, where the monitoring module 302 includes a first monitoring unit 3021 and a Two monitoring unit 3022, wherein:
  • the first parsing unit 3011 is configured to parse the HTML code of the current webpage by the processor, obtain a display position of each link URL in the current webpage page on the current page, and a first prefetch list generated by the web server, where the first The prefetch list includes a prefetched web address predicted by the web server;
  • the generating unit 3012 is configured to generate, by using the processor, a second prefetch list, where the second prefetch list includes a prefetched web address predicted by the current client;
  • the first determining unit 3013 is configured to determine, by using the processor, a webpage prefetch list, where the webpage prefetching list includes a prefetching webpage in the first prefetching list, or
  • the webpage prefetch list includes a prefetched web address in the second prefetch list, or the webpage prefetch list includes a prefetched web address in the first prefetch list and the second prefetch list Prefetch URL
  • the second parsing unit 3014 is configured to parse, by using the processor, the HTML code of the prefetched web address in the webpage prefetch list, and obtain the feature information of the prefetched web address, where the feature information includes the prefetched web address.
  • the first monitoring unit 3021 is configured to monitor, by the processor, a current browsing range of the user, where the current browsing range includes a webpage page range currently displayed by the client;
  • the second monitoring unit 3022 is configured to monitor user selection information by using the processor, where the user selection information includes a website selected by the user, a title corresponding to the website selected by the user, and a title keyword, but is not limited thereto.
  • the device further includes a setting module 305
  • the sorting module 303 further includes a first marking unit 3031, a second marking unit 3032, and a sorting unit 3033.
  • the setting module 305 is configured to set webpage prefetch setting information according to a user instruction, and store the webpage prefetching setting information in a memory, where the webpage prefetching setting information includes information such as a prefetching list source and a prefetching webpage sorting rule;
  • the prefetching information source is used by the first determining unit 301 to determine the webpage prefetching list, and the prefetching webpage sorting rule is used to sort the prefetched webpages with the same priority;
  • the monitoring module 302 is further configured to monitor, by the processor, webpage prefetch setting information set by the setting module 305.
  • the first marking unit 3031 is configured to, when the current browsing range is changed, mark, by the processor, a prefetched webpage in the current browsing range in the webpage prefetching list by using the processor to have a first priority. ;
  • the second marking unit 3032 is configured to determine, by the processor, the webpage prefetch list and the user selection by using an association between the title keywords when the webpage selected by the user exists in the current webpage.
  • the pre-fetch URL associated with the URL is tagged to have a second priority;
  • the webpage prefetch setting information set by the setting module 305 further includes a priority weight, and the priority is used to represent the relative priority of the first priority and the second priority;
  • the sorting unit 3033 is configured to re-pair the according to the priority by the processor. Prefetch URLs in the web prefetch list are sorted;
  • the sorting unit 3033 is configured to determine, by the processor, the webpage prefetch list when the priority re-characterizing the priority of the first priority is higher than the priority of the second priority
  • the prefetching sequence of the prefetched webpages is in order from the first to the last: a prefetching webpage having the first priority and the second priority, a prefetching webpage having the first priority, and the a second priority prefetching web address, a prefetching web address having neither the first priority nor the second priority; or
  • the sorting unit 3033 is further configured to: when the priority re-characterizing the priority of the first priority is lower than the priority of the second priority, determine, by the processor, the pre-fetch list in the webpage
  • the prefetching sequence of the fetching URLs is, in order from the first priority to the following: a prefetching webpage having the first priority and the second priority, a prefetching webpage having the second priority, and the first The pre-fetch URL of the priority, the pre-fetch URL that does not have the first priority or the second priority.
  • the sorting unit 3033 is further configured to randomly sort the pre-fetch URLs with the same priority according to the pre-fetch URL sorting rule by the processor; or
  • the sorting unit 3033 is further configured to sort, by the processor, the pre-fetched webpages of the same priority according to a pre-fetching webpage sorting rule in alphabetical ascending or descending order.
  • the webpage prefetch setting information set by the setting module 305 further includes the number of prefetched webpages, where the number of prefetched webpages is the number of prefetched webpages obtained by the client from the web server; Obtaining webpage information corresponding to the number of prefetched webpages from the web server by using the network port according to the prefetching sequence.
  • the processing module 304 further includes a detecting unit 3041, an obtaining unit 3042, and a storage unit 3043, where:
  • the detecting unit 3041 is configured to detect, by the processor, whether the client stores the webpage information corresponding to the prefetched webpage;
  • the obtaining unit 3042 is configured to: when the client does not store the webpage information corresponding to the prefetched webpage, obtain the prefetched network from the web server through the network port according to the prefetching sequence. Web page information corresponding to the address;
  • the storage unit 3043 is configured to store the acquired webpage information in the buffer for access by the client.
  • the sorting module 303 sorts the prefetching webpages in the webpage prefetching list according to the browsing state of the user, and determines the prefetching order;
  • the webpage information corresponding to the prefetched webpage is obtained from the web server in sequence, and the webpage information is stored in the local cache for the user to access.
  • the prefetching sequence can be dynamically adjusted according to the change of the current browsing range of the user, so that the prefetching sequence can effectively reflect the real-time usage of the user, thereby improving the accuracy of webpage prefetching.
  • the setting module 305 can also set the number of webpage information prefetched by the client to save the storage space of the local buffer and reduce the load of the client.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

本发明公开了一种网页预取的方法及装置,涉及互联网领域,用于提高网页预取的准确率。本发明提供的网页预取的方法包括:获取网页预取列表以及所述网页预取列表中各预取网址的特征信息;监测用户的浏览状预取列表中各预取网址进行排序,确定所述网页预取列表中各预取网址的预取顺序;按照所述预取顺序从网络服务器获取所述网页预取列表中各预取网址对应的网页信息,存储所述网页信息以供客户端进行访问。本发明适用于在浏览当前网页时预取可能访问的其他网页。

Description

网页预取的方法及装置
技术领域
本发明涉及互联网领域, 尤其涉及一种网页预取的方法及装置。
背景技术
随着网络技术的飞速发展,互联网已经逐渐成为人们获取信息的主要 途径。 用户在通过互联网获取网页信息时, 需要通过浏览器向 Web服务器 发送访问请求, Web服务器根据所述访问请求查找相应网页, 并将所述相 应网页发送给浏览器以呈现给用户。 近年来, 随着网络应用的愈加复杂和 多样化以及互联网用户数的不断增加, 在有限的网络带宽下, 浏览器在获 取网页信息时往往会产生延时,使得用户在输入网址后需要等待一段时间 才能看到网页信息。
为了解决所述延时问题, 现阶段主要采用緩存 ( ca ch i ng ) 和预取 ( r ef e t ch )的技术方案:由客户端或服务器端预测用户可能浏览的网页, 生成预取列表, 所述预取列表中包括预取网址; 在网络空闲时, 由客户端 或服务器端根据所述预取列表从 Web 服务器获取所述预取网址对应的网 页信息, 将所述网页信息存储于客户端或服务器端的緩存区; 当用户选择 访问已经预取到的网页时,直接从客户端或服务器端的緩存区获取相应的 网页信息, 从而减少访问延时。
由于客户端或服务器端均按照固定顺序从 Web 服务器获取网页预取 列表中各预取网址对应的网页信息, 从而当用户的浏览状态发生改变时, 会导致网页预取的准确率较低。
发明内容
本发明的实施例提供一种网页预取的方法及装置,能够获取当前网页 的预取列表,并能够根据用户的当前浏览状态实时调整获取所述预取列表 中各预取网址的预取顺序, 提高网页预取的准确率。
为达到上述目的, 本发明的实施例采用如下技术方案:
一方面, 本发明实施例提供了一种网页预取的方法, 包括: 所述特征信息用于表征所述预取网址对应的网页的基本信息; 监测用户的浏览状态;
根据所述用户的浏览状态以及所述预取网址的特征信息,对所述网页 预取列表中各预取网址进行排序,确定所述网页预取列表中各预取网址的 预取顺序;
按照所述预取顺序从网络服务器获取所述网页预取列表中各预取网 址对应的网页信息, 存储所述网页信息以供客户端进行访问。
另一方面, 本发明实施例还提供了一种网页预取的装置, 包括: 址的特征信息,所述特征信息用于表征所述预取网址对应的网页的基本信 息;
监测模块, 用于监测用户的浏览状态; 息, 对所述网页预取列表中各预取网址进行排序, 确定所述网页预取列表 中各预取网址的预取顺序;
处理模块,用于按照所述预取顺序从网络服务器获取所述网页预取列 表中各预取网址对应的网页信息, 存储所述网页信息以供客户端进行访 问。
本发明实施例提供的网页预取的方法及装置,客户端获取网页预取列 表,然后根据用户的当前浏览状态对所述网页预取列表中的预取网址进行 实时排序, 确定预取顺序; 按照所述预取顺序从 Web服务器获取所述预取 网址对应的网页信息, 将所述网页信息进行存储以供客户端进行访问。 与 现有技术相比,本发明实施例提供的方法及装置能够根据用户的当前浏览 状态对获取所述预取网址的顺序进行实时调整,从而提高网页预取的准确 率。 附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明一实施例提供的方法的流程示意图;
图 2为本发明另一实施例提供的方法的流程示意图;
图 3为本发明再一实施例提供的装置的一个结构框图;
图 4为本发明再一实施例提供的装置的另一个结构框图;
图 5为本发明再一实施例提供的装置的再一个结构框图;
图 6为本发明再一实施例提供的装置的又一个结构框图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的 范围。 本发明一实施例提供了一种网页预取的方法, 如图 1所示, 所述方法 包括: 的特征信息, 所述特征信息用于表征所述预取网址对应的网页的基本信 息。
1 02、 客户端监测用户的浏览状态。 所述网页预取列表中各预取网址进行排序,确定所述网页预取列表中各预 取网址的预取顺序。
104、 客户端按照所述预取顺序从 Web服务器获取所述网页预取列表 中各预取网址对应的网页信息, 存储所述网页信息以供客户端进行访问。
值得说明的是, 客户端可以通过网页浏览器浏览网页, 也可以通过安 装于所述客户端上的应用程序浏览网页, 此处不做限定; 具体的, 所述客 户端可以是个人电脑、 移动终端(如手机、 掌上电脑等)、 IPTV ( Internet Protocol Television, 交互式网络电视)数字电视终端, 但不仅限于此。
本发明实施例提供的网页预取的方法, 客户端获取网页预取列表, 然 后根据用户的当前浏览状态对所述网页预取列表中的预取网址进行实时 排序, 确定预取顺序; 按照所述预取顺序从 Web服务器获取所述预取网址 对应的网页信息, 存储所述网页信息以供客户端进行访问。 与现有技术相 比,本发明实施例提供的方法能够根据用户的当前浏览状态对获取所述预 取网址的顺序进行实时调整, 提高网页预取的准确率。 本发明另一实施例提供了一种网页预取的方法, 如图 2所示, 所述方 法包括:
201、 客户端根据用户输入的 URL信息或者用户点击的网页内容获取 用户需要访问的目标 URL ( Uniform / Universal Resource Locator , 统 一资源定位符, 也被称为网页地址)。
202、 客户端检测本地緩存器中是否存在所述目标 URL对应的网页信 息; 若是, 则执行步骤 203; 若否, 则执行步骤 204。
203、 客户端直接从本地緩存器中获取与所述目标 URL对应的网页信 息, 并将所述网页信息呈现给用户。
204、 客户端向 Web服务器发送携带有目标 URL的访问请求, 所述访 问请求用于获取与所述目标 URL对应的网页信息。
205、 Web 服务器接收客户端发送的访问请求, 确定与所述目标 URL 对应的网页信息以及预测所述客户端可能访问的 URL , 并根据预测的 URL 生成第一预取列表。
具体的,所述 W e b服务器可以根据 U R L对应的标题关键字之间的关联 性预测用户可能点击的 URL。 例如, 根据表 1提供的关键词关联词典, 其 中 " 1 " 表示关键词 1与关键词 2具备关联性。 则当用户访问的页面的标 题中带有关键词 "华为" 时, 则选取带有 "通信"、 "智能手机"、 "网络设 备"、 "终端" 的 URL将作为预取 URL。 所述关键词关联词典由服务器端进 行维护, 自动更新。
表 1 关键词关联词典
Figure imgf000007_0001
值的说明的是, Web服务器也可以采用其他方式预测用户可能点击的 URL , 此处不做限定。
2 06、 Web 服务器向客户端返回响应消息, 所述响应消息中携带有与 目标 URL对应的网页的 HTML ( Hype r Tex t Ma rkup Language , 超文本置 标语言) 代码, 所述 HTML代码中可以包括预取元素, 所述预取元素用于 表征所述服务器端生成的第一预取列表。
2 07、 客户端接收 Web服务器返回的响应信息, 解析所述目标 URL对 应网页的 HTML代码, 获取所述目标 URL对应的网页信息、 所述目标 URL 对应的网页页面中各链接 URL 在当前页面的显示位置以及所述第一预取 列表。
2 08、 客户端根据目标 URL对应的网页信息预测用户可能选择访问的 URL , 生成第二预取列表, 所述第二预取列表中包括客户端预测的 URL。 具体的,客户端预测用户可能选择访问的 URL的方法可以参照但不限 于步骤 2 05中 Web服务器端预测预取 URL的过程, 此处不再贅述。
2 09、 客户端根据网页预取设置信息确定目标 URL对应的网页预取列 表, 所述网页预取列表可以是所述第一预取列表, 也可以是所述第二预取 列表, 也可以是所述第一预取列表和所述第二预取列表的集合。 其中, 所 述网页预取设置信息由客户端根据用户指令设置,所述网页预取设置信息 包括预取信息来源, 用于供所述客户端确定所述网页预取列表。
优选的,当所述当前网页的预取列表包括所述第一预取列表以及所述 第二预取列表时,所述客户端生成的第二预取列表中不包括所述第一预取 列表中的预取 URL。
2 1 0、客户端解析所述网页预取列表中预取 URL的 HTML代码, 获取所 述预取 URL的特征信息,所述特征信息包括所述预取 URL在当前网页页面 的显示位置、所述预取 URL对应的网址标题和标题关键词,但不仅限于此。
2 1 1、 客户端监测用户的浏览状态, 所述浏览状态包括当前浏览范围 和用户选择信息, 所述当前浏览范围包括客户端当前显示的网页页面范 围, 所述用户选择信息包括用户选择的 URL、 与用户选择的网址对应的标 题以及标题关键字。
值得说明的是, 所述浏览状态还包括所述网页预取设置信息, 所述网 页预取设置信息还包括优先权重和预取 URL排序规则等信息。 其中, 所述 优先权重用于确定所述网页预取列表中各预取 URL 的优先级; 所述预取 URL排序规则用于确定优先级相同的预取 URL的预取顺序。
优选的,所述网页预取设置信息还可以包括根据用户指令设置的预取 URL数量, 用于确 Web服务器获取的预取 URL的数量。
2 1 2、 客户端根据用户的浏览状态以及预取 URL的特征信息, 对所述 预取列表中各预取 URL 进行排序, 确定所述网页预取列表中各预取 URL 的预取顺序。
例如,客户端可以采用如下方式对所述预取列表中各预取 URL进行排 序:
为了便于理解, 本发明实施例以网页预取列表中包括 5 个预取 URL 的情况进行说明, 实际应用中的预取 URL的数目不仅限于此。
所述 5个预取 URL的特征信息如表二所示:
表二
Figure imgf000009_0001
当客户端的显示界面显示的当前浏览范围是第 3行至第 7行时,则标 记上述表二中的预取 URL3和预取 URL4具备第一优先级;
当监测到用户点击的 URL中的关键词为 "华为" 时, 根据表一的关键 词关联词典, 标记上述表二中的预取 URL1、 预取 URL3以及预取 URL5具 备第二优先级;
查询所述网页预取设置信息中的优先权重,确定第一优先级和第二优 先级的相对优先度。 例如:
当第一优先级的优先度高于所述第二优先级的优先度(例如第一优先 级的优先度为 2, 第二优先级的优先度为 1 ) 时, 则获取所述网页预取列 表中 5个预取 URL的预取顺序从先到后依次为: 预取 URL3、 预取 URL4、 预取 URL1和预取 URL5、 预取 URL2。 其中, 预取 URL1和预取 URL5的优先 度相同,则按照所述网页预取设置信息中的预取 URL排序规则确定获取预 取 URL1和预取 URL5的先后顺序,可以对预取 URL1和预取 URL5进行随机 排序, 也可以按照字母升序或降序对预取 URL1和预取 URL5进行排序, 此 处不做限定;
当第一优先级的优先度低于所述第二优先级的优先度(例如第一优先 级的优先度为 1, 第二优先级的优先度为 2 ) 时, 则获取所述网页预取列 表中 5个预取 URL的预取顺序从先到后依次为: 预取 URL3、 预取 URLl和 预取 URL5、 预取 URL4、 预取 URL2。 其中, 预取 URL1和预取 URL5的优先 度相同,则按照所述网页预取设置信息中的预取 URL排序规则确定获取预 取 URL1和预取 URL5的先后顺序,可以对预取 URL1和预取 URL5进行随机 排序, 也可以按照字母升序或降序对预取 URL1和预取 URL5进行排序, 此 处不做限定。
213、 客户端按照预取顺序依次检测本地緩存器中是否存在预取 URL 对应的网页信息; 若是, 则重复步骤 213; 若否, 则执行步骤 214。
214、 当网络处于空闲状态时, 客户端按照所述预取顺序从 Web服务 器获取网页预取列表中各预取 URL对应的网页信息,将所述网页信息存储 于本地緩存器中以供客户端进行访问。
优选的, 当所述网页预取设置信息包括预取 URL数量时, 则所述客户 端在网络处于空闲状态时按照所述预取顺序从 Web 服务器获取满足所述 预取 URL数量的网页信息, 以节省本地緩存器的存储空间, 同时减少所述 客户端的负荷。
本发明实施例提供的网页预取的方法,客户端可以根据用户的当前浏 览范围以及用户选择信息对网页预取列表中的预取 URL进行排序,确定预 取顺序; 按照预取顺序依次从 Web服务器获取预取 URL对应的网页信息, 将所述网页信息存储于本地緩存器中供用户进行访问。 采用本发明实施 例, 能够根据用户的当前浏览范围动态调整预取顺序, 使得预取顺序能够 有效的反映用户实时使用情况, 从而提高网页预取的准确率。 此外, 用户 还可以设置客户端预取的网页信息的数量, 以节省本地緩存器的存储空 间, 便于获取下一个网页的预取 URL, 同时减少所述客户端的负荷。 本发明再一实施例提供了一种网页预取的装置,能够实现上述方法实 施例, 如图 3所示, 所述装置包括: 获取模块 301, 用于通过处理器获取网页预取列表以及所述网页预取 列表中各预取网址的特征信息,所述特征信息用于表征所述预取网址对应 的网页的基本信息;
监测模块 302, 用于通过所述处理器监测用户的浏览状态; 征信息, 通过处理器对所述网页预取列表中各预取网址进行排序, 确定所 述网页预取列表中各预取网址的预取顺序;
处理模块 304, 用于按照所述预取顺序, 通过网口从 Web服务器获取 所述网页预取列表中各预取网址对应的网页信息,将所述网页信息存储于 緩存器中以供客户端进行访问。
进一步的, 如图 4所示, 所述获取模块 301 包括第一解析单元 3011、 生成单元 3012、 第一确定单元 3013和第二解析单元 3014, 所述监测模块 302包括第一监测单元 3021和第二监测单元 3022, 其中:
所述第一解析单元 3011 用于通过所述处理器解析当前网页的 HTML 代码, 获取当前网页页面中各链接 URL 在当前页面的显示位置以及 Web 服务器生成的第一预取列表,所述第一预取列表包括所述 Web服务器预测 的预取网址;
所述生成单元 3012用于通过所述处理器生成第二预取列表, 所述第 二预取列表包括当前客户端预测的预取网址;
所述第一确定单元 3013用于通过所述处理器确定网页预取列表, 所 述网页预取列表包括所述第一预取列表中的预取网址, 或者
所述网页预取列表包括所述第二预取列表中的预取网址, 或者 所述网页预取列表包括所述第一预取列表中的预取网址以及所述第 二预取列表中的预取网址;
所述第二解析单元 3014用于通过所述处理器解析所述网页预取列表 中预取网址的 HTML代码, 获取所述预取网址的特征信息, 所述特征信息 包括所述预取网址在当前网页页面的显示位置、所述预取网址对应的网址 标题以及标题关键词, 但不仅限于此。
所述第一监测单元 3021用于通过所述处理器监测用户的当前浏览范 围, 所述当前浏览范围包括客户端当前显示的网页页面范围;
所述第二监测单元 3022用于通过所述处理器监测用户选择信息, 所 述用户选择信息包括用户选择的网址、与用户选择的网址对应的标题以及 标题关键字, 但不仅限于此。
进一步的, 如图 5所示, 所述装置还包括设置模块 305 , 所述排序模 块 303还包括第一标记单元 3031、 第二标记单元 3032、 排序单元 3033 , 其巾:
所述设置模块 305 用于根据用户指令设置网页预取设置信息并将所 述网页预取设置信息存储于存储器,所述网页预取设置信息包括预取列表 来源和预取网址排序规则等信息; 其中, 所述预取信息来源用于供所述第 一确定单元 301 3确定所述网页预取列表, 所述预取网址排序规则用于对 优先级相同的预取网址进行排序;
则所述监测模块 302 还用于通过所述处理器监测所述设置模块 305 设置的网页预取设置信息。
所述第一标记单元 3031用于当所述当前浏览范围发生改变时, 通过 所述处理器实时标记所述网页预取列表中位于当前浏览范围内的预取网 址, 使其具备第一优先级;
所述第二标记单元 3032用于当所述当前网页中存在用户选择过的网 址时,由所述处理器通过标题关键字之间的关联性确定所述网页预取列表 中与所述用户选择过的网址相关联的预取网址并标记,使其具备第二优先 级;
值得说明的是,所述设置模块 305设置的网页预取设置信息还包括优 先权重,所述优先权重用于表征所述第一优先级和所述第二优先级的相对 优先度;
则所述排序单元 3033用于通过所述处理器根据所述优先权重对所述 网页预取列表中的预取网址进行排序;
具体的, 所述排序单元 3033用于当所述优先权重表征所述第一优先 级的优先度高于所述第二优先级的优先度时,通过所述处理器确定所述网 页预取列表中预取网址的预取顺序从先到后依次为: 同时具备所述第一优 先级以及所述第二优先级的预取网址、 具备所述第一优先级的预取网址、 具备所述第二优先级的预取网址、既不具备所述第一优先级也不具备所述 第二优先级的预取网址; 或者
所述排序单元 3033还用于当所述优先权重表征所述第一优先级的优 先度低于所述第二优先级的优先度时,通过所述处理器确定所述网页预取 列表中预取网址的预取顺序从先到后依次为: 同时具备所述第一优先级以 及所述第二优先级的预取网址、 具备所述第二优先级的预取网址、 具备所 述第一优先级的预取网址、既不具备所述第一优先级也不具备所述第二优 先级的预取网址。
值得说明的是, 所述排序单元 3033还用于通过所述处理器根据预取 网址排序规则对优先级相同的预取网址进行随机排序; 或者
所述排序单元 3033还用于通过所述处理器根据预取网址排序规则对 所述优先级相同的预取网址按照字母升序或降序进行排序。
优选的,所述设置模块 305设置的网页预取设置信息还包括预取网址 数量, 所述预取网址数量为客户端从 Web服务器获取的预取网址的数量; 则所述处理模块 304 还用于按照所述预取顺序通过所述网口从所述 Web服务器获取与所述预取网址数量对应的网页信息。
进一步的, 如图 6所示, 所述处理模块 304还包括检测单元 3041、 获取单元 3042、 存储单元 3043 , 其中:
所述检测单元 3041用于通过所述处理器检测客户端是否存储有所述 预取网址对应的网页信息;
所述获取单元 3042用于当客户端没有存储所述预取网址对应的网页 信息时,按照所述预取顺序通过网口从所述 W e b服务器获取与所述预取网 址对应的网页信息;
所述存储单元 3043用于将获取的网页信息存储于所述緩存器以供客 户端进行访问。
本发明实施例提供的网页预取装置,由排序模块 303通过处理器根据 用户的浏览状态对网页预取列表中的各预取网址进行排序, 确定预取顺 序;由处理模块 304按照所述预取顺序依次从 Web服务器获取预取网址对 应的网页信息, 将所述网页信息存储于本地緩存器中供用户进行访问。 采 用本发明实施例, 能够根据用户的当前浏览范围的改变动态调整预取顺 序, 使得所述预取顺序能够有效的反映用户实时使用情况, 从而提高网页 预取的准确率。 此外, 还可以通过设置模块 305设置客户端预取的网页信 息的数量, 以节省本地緩存器的存储空间, 降低所述客户端的负荷。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到 本发明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬 件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技 术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来, 该计算机软件产品存储在可读取的存储介质中, 如计算机的软 盘, 硬盘或光盘等, 包括若干指令用以使得一台计算机设备(可以是个人 计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述的方法。 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保 护范围应以所述权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种网页预取的方法, 其特征在于, 包括: 所述特征信息用于表征所述预取网址对应的网页的基本信息;
监测用户的浏览状态; 预取列表中各预取网址进行排序, 确定所述网页预取列表中各预取网址的 预取顺序;
按照所述预取顺序从网络服务器获取所述网页预取列表中各预取网址 对应的网页信息, 存储所述网页信息以供客户端进行访问。
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取网页预取列表 以及所述网页预取列表中各预取网址的特征信息包括:
解析当前网页的超文本置标语言 HTML代码,获取当前网页页面中各链 接网址在当前页面的显示位置以及网络服务器生成的第一预取列表, 所述 第一预取列表包括所述网络服务器预测的预取网址;
生成第二预取列表, 所述第二预取列表包括当前客户端预测的预取网 址;
确定网页预取列表, 所述网页预取列表包括所述第一预取列表中的预 取网址, 或者
所述网页预取列表包括所述第二预取列表中的预取网址, 或者 所述网页预取列表包括所述第一预取列表中的预取网址以及所述第二 预取列表中的预取网址;
解析所述网页预取列表中预取网址的 HTML代码,获取所述预取网址的 特征信息, 所述特征信息包括所述预取网址在当前网页页面的显示位置、 所述预取网址对应的网址标题和标题关键词。
3、 根据权利要求 2所述的方法, 其特征在于, 所述监测用户的浏览状 态包括: 监测用户的当前浏览范围, 所述当前浏览范围包括客户端当前显示的 网页页面范围;
监测用户选择信息, 所述用户选择信息包括用户选择的网址、 与用户 选择的网址对应的标题以及标题关键字。
4、 根据权利要求 3所述的方法, 其特征在于, 所述浏览状态还包括根 据用户指令设置的网页预取设置信息, 所述网页预取设置信息包括预取信 息来源和预取网址排序规则; 其中, 所述预取信息来源用于供所述客户端 确定所述网页预取列表, 所述预取网址排序规则用于对优先级相同的预取 网址进行排序。
5、 根据权利要求 4所述的方法, 其特征在于, 所述根据所述用户的浏 览状态以及所述预取网址的特征信息, 对所述网页预取列表中各预取网址 进行排序, 确定所述网页预取列表中各预取网址的预取顺序包括:
当所述当前浏览范围发生改变时, 实时标记所述网页预取列表中位于 当前浏览范围内的预取网址, 使其具备第一优先级;
当所述当前网页中存在用户选择过的网址时, 通过标题关键字之间的 关联性确定所述网页预取列表中与所述用户选择过的网址相关联的预取网 址并标记, 使其具备第二优先级。
6、 根据权利要求 5所述的方法, 其特征在于, 所述网页预取设置信息 还包括优先权重, 所述优先权重表征所述第一优先级和所述第二优先级的 相对优先度; 述网页预取列表中各预取网址进行排序, 确定所述网页预取列表中各预取 网址的预取顺序还包括:
根据所述优先权重对所述网页预取列表中的预取网址进行排序, 确定 所述网页预取列表中各预取网址的预取顺序, 所述预取顺序包括:
当所述优先权重表征所述第一优先级的优先度高于所述第二优先级的 优先度时,获取所述网页预取列表中预取网址的预取顺序从先到后依次为: 同时具备所述第一优先级以及所述第二优先级的预取网址、 具备所述第一 优先级的预取网址、 具备所述第二优先级的预取网址、 既不具备所述第一 优先级也不具备所述第二优先级的预取网址; 或者
当所述优先权重表征所述第一优先级的优先度低于所述第二优先级的 优先度时,获取所述网页预取列表中预取网址的预取顺序从先到后依次为: 同时具备所述第一优先级以及所述第二优先级的预取网址、 具备所述第二 优先级的预取网址、 具备所述第一优先级的预取网址、 既不具备所述第一 优先级也不具备所述第二优先级的预取网址。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述预取网址 排序规则对优先级相同的预取网址进行排序, 确定所述网页预取列表中优 先级相同的预取网址的预取顺序包括:
根据所述预取网址排序规则对所述优先级相同的预取网址进行随机排 序; 或者
根据所述预取网址排序规则对所述优先级相同的预取网址按照字母升 序或降序进行排序。
8、 根据权利要求 4至 7中任一项所述的方法, 其特征在于, 所述网页 预取设置信息还包括预取网址数量, 所述预取网址数量为客户端从网络服 务器获取的预取网址的数量;
则所述按照所述预取顺序从网络服务器获取所述网页预取列表中各预 取网址对应的网页信息, 将所述网页信息进行存储以供客户端进行访问还 包括:
按照所述预取顺序从所述网络服务器获取与所述预取网址数量对应的 网页信息。
9、 根据权利要求 1所述的方法, 其特征在于, 所述按照所述预取顺序 从网络服务器获取所述网页预取列表中各预取网址对应的网页信息, 将所 述网页信息进行存储以供客户端进行访问包括:
检测客户端是否存储有所述预取网址对应的网页信息; 当客户端没有存储所述预取网址对应的网页信息时, 按照所述预取顺 序从所述网络服务器获取与所述预取网址对应的网页信息;
存储获取的网页信息以供客户端进行访问。
1 0、 一种网页预取的装置, 其特征在于, 包括:
获取模块, 用于通过处理器获取网页预取列表以及所述网页预取列表 中各预取网址的特征信息, 所述特征信息用于表征所述预取网址对应的网 页的基本信息;
监测模块, 用于通过所述处理器监测用户的浏览状态; 息, 通过处理器对所述网页预取列表中各预取网址进行排序, 确定所述网 页预取列表中各预取网址的预取顺序;
处理模块, 用于按照所述预取顺序, 通过网口从网络服务器获取所述 网页预取列表中各预取网址对应的网页信息, 将所述网页信息存储于緩存 器中以供客户端进行访问。
1 1、 根据权利要求 1 0所述的装置, 其特征在于, 所述获取模块包括: 第一解析单元, 用于通过所述处理器解析当前网页的超文本置标语言
HTML代码, 获取当前网页页面中各链接网址在当前页面的显示位置以及网 络服务器生成的第一预取列表, 所述第一预取列表包括所述网络服务器预 测的预取网址;
生成单元, 用于通过所述处理器生成第二预取列表, 所述第二预取列 表包括当前客户端预测的预取网址;
第一确定单元, 用于通过所述处理器确定网页预取列表, 所述网页预 取列表包括所述第一预取列表中的预取网址, 或者
所述网页预取列表包括所述第二预取列表中的预取网址, 或者 所述网页预取列表包括所述第一预取列表中的预取网址以及所述第二 预取列表中的预取网址;
第二解析单元, 用于通过所述处理器解析所述网页预取列表中预取网 址的 HTML代码, 获取所述预取网址的特征信息, 所述特征信息包括所述预 取网址在当前网页页面的显示位置、 所述预取网址对应的网址标题以及标 题关键词。
1 2、 根据权利要求 1 1所述的装置, 其特征在于, 所述监测模块包括: 第一监测单元, 用于通过所述处理器监测用户的当前浏览范围, 所述 当前浏览范围包括客户端当前显示的网页页面范围;
第二监测单元, 用于通过所述处理器监测用户选择信息, 所述用户选 择信息包括用户选择的网址、 与用户选择的网址对应的标题以及标题关键 字。
1 3、 根据权利要求 1 2所述的装置, 其特征在于, 所述装置还包括: 设置模块, 用于根据用户指令设置网页预取设置信息并将所述网页预 取设置信息存储于存储器, 所述网页预取设置信息包括预取信息来源和预 取网址排序规则; 其中, 所述预取信息来源用于供所述第一确定单元确定 所述网页预取列表, 所述预取网址排序规则用于对优先级相同的预取网址 进行排序;
则所述监测模块还用于通过所述处理器监测所述设置模块设置的网页 预取设置信息。
14、 根据权利要求 1 3所述的装置, 其特征在于, 所述排序模块包括: 第一标记单元, 用于当所述当前浏览范围发生改变时, 通过所述处理 器实时标记所述网页预取列表中位于当前浏览范围内的预取网址, 使其具 备第一优先级;
第二标记单元, 用于当所述当前网页中存在用户选择过的网址时, 由 所述处理器通过标题关键字之间的关联性确定所述网页预取列表中与所述 用户选择过的网址相关联的预取网址并标记, 使其具备第二优先级。
1 5、 根据权利要求 14所述的装置, 其特征在于, 所述设置模块设置的 网页预取设置信息还包括优先权重, 所述优先权重用于表征所述第一优先 级和所述第二优先级的相对优先度。
1 6、根据权利要求 1 5所述的装置,其特征在于, 所述排序模块还包括: 排序单元, 用于通过所述处理器根据所述优先权重对所述网页预取列 表中的预取网址进行排序; 包括:
当所述优先权重表征所述第一优先级的优先度高于所述第二优先级的 优先度时, 通过所述处理器确定所述网页预取列表中预取网址的预取顺序 从先到后依次为: 同时具备所述第一优先级以及所述第二优先级的预取网 址、 具备所述第一优先级的预取网址、 具备所述第二优先级的预取网址、 既不具备所述第一优先级也不具备所述第二优先级的预取网址; 或者
所述排序单元还用于当所述优先权重表征所述第一优先级的优先度低 于所述第二优先级的优先度时, 通过所述处理器确定所述网页预取列表中 预取网址的预取顺序从先到后依次为: 同时具备所述第一优先级以及所述 第二优先级的预取网址、 具备所述第二优先级的预取网址、 具备所述第一 优先级的预取网址、 既不具备所述第一优先级也不具备所述第二优先级的 预取网址。
1 7、 根据权利要求 1 6所述的装置, 其特征在于, 所述排序单元还用于 通过所述处理器根据预取网址排序规则对所述优先级相同的预取网址进行 随机排序; 或者
所述排序单元还用于通过所述处理器根据预取网址排序规则对所述优 先级相同的预取网址按照字母升序或降序进行排序。
1 8、 根据权利要求 1 3至 1 7 中任一项所述的装置, 其特征在于, 所述 设置模块设置的网页预取设置信息还包括预取网址数量, 所述预取网址数 量为客户端从网络服务器获取的预取网址的数量;
则所述处理模块还用于按照所述预取顺序通过所述网口从所述网络服 务器获取与所述预取网址数量对应的网页信息。
1 9、 根据权利要求 1 0所述的装置, 其特征在于, 所述处理模块包括: 检测单元, 用于通过所述处理器检测客户端是否存储有所述预取网址 对应的网页信息; 获取单元, 用于当客户端没有存储所述预取网址对应的网页信息时, 按照所述预取顺序通过网口从所述网络服务器获取与所述预取网址对应的 网页信息;
存储单元, 用于将获取的网页信息存储于所述緩存器以供客户端进行 访问。
PCT/CN2011/077879 2011-08-01 2011-08-01 网页预取的方法及装置 WO2012159360A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001726.1A CN103460205B (zh) 2011-08-01 2011-08-01 网页预取的方法及装置
PCT/CN2011/077879 WO2012159360A1 (zh) 2011-08-01 2011-08-01 网页预取的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077879 WO2012159360A1 (zh) 2011-08-01 2011-08-01 网页预取的方法及装置

Publications (1)

Publication Number Publication Date
WO2012159360A1 true WO2012159360A1 (zh) 2012-11-29

Family

ID=47216585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077879 WO2012159360A1 (zh) 2011-08-01 2011-08-01 网页预取的方法及装置

Country Status (2)

Country Link
CN (1) CN103460205B (zh)
WO (1) WO2012159360A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173193A1 (zh) * 2013-04-24 2014-10-30 优视科技有限公司 网页预读方法、应用该方法的装置及存储介质
CN104298780A (zh) * 2014-11-05 2015-01-21 百纳(武汉)信息技术有限公司 一种浏览器网页信息的预获取方法及系统
CN104361067A (zh) * 2014-11-05 2015-02-18 百纳(武汉)信息技术有限公司 一种浏览器网页信息的智能加载方法及系统
US20230177100A1 (en) * 2021-12-07 2023-06-08 Servicenow, Inc. Efficient Downloading of Related Documents

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115129402B (zh) * 2022-08-31 2022-12-09 云账户技术(天津)有限公司 渠道资源调用的方法、装置以及计算机存储介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369280A (zh) * 2008-10-10 2009-02-18 深圳市茁壮网络技术有限公司 一种数字电视终端网页浏览的方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001101232A (ja) * 1999-10-04 2001-04-13 Sony Corp 情報処理装置および情報処理方法、並びに記録媒体
US20070165933A1 (en) * 2005-12-22 2007-07-19 Intellirad Solutions Pty Ltd Method for pre-fetching digital image data
CN101777081A (zh) * 2010-03-08 2010-07-14 中兴通讯股份有限公司 一种提高网页访问速度的方法及装置

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369280A (zh) * 2008-10-10 2009-02-18 深圳市茁壮网络技术有限公司 一种数字电视终端网页浏览的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GAO, KAI ET AL.: "A Strategy for Pre-Fetching Based on Usage Information", JOURNAL OF SHANGHAI JIAOTONG UNIVERSITY, vol. 40, no. 3, 28 March 2006 (2006-03-28), pages 136 - 138, 143 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014173193A1 (zh) * 2013-04-24 2014-10-30 优视科技有限公司 网页预读方法、应用该方法的装置及存储介质
CN104298780A (zh) * 2014-11-05 2015-01-21 百纳(武汉)信息技术有限公司 一种浏览器网页信息的预获取方法及系统
CN104361067A (zh) * 2014-11-05 2015-02-18 百纳(武汉)信息技术有限公司 一种浏览器网页信息的智能加载方法及系统
CN104298780B (zh) * 2014-11-05 2018-01-12 百纳(武汉)信息技术有限公司 一种浏览器网页信息的预获取方法及系统
US20230177100A1 (en) * 2021-12-07 2023-06-08 Servicenow, Inc. Efficient Downloading of Related Documents
US11734381B2 (en) * 2021-12-07 2023-08-22 Servicenow, Inc. Efficient downloading of related documents

Also Published As

Publication number Publication date
CN103460205A (zh) 2013-12-18
CN103460205B (zh) 2016-11-02

Similar Documents

Publication Publication Date Title
US9602620B1 (en) Content-facilitated speculative preparation and rendering
US10372778B2 (en) Speculative actions based on user dwell time over selectable content
US8862777B2 (en) Systems, apparatus, and methods for mobile device detection
US10389826B2 (en) Webpage pre-reading method, apparatus and smart terminal device
US8069406B2 (en) Method and system for improving user experience while browsing
US7996397B2 (en) Using network traffic logs for search enhancement
CN102438045B (zh) Web页面的预取方法、系统以及访问web页面的方法
KR102151457B1 (ko) 통신 시스템에서 페이지 로딩 시간 단축 방법 및 장치
US20070101061A1 (en) Customized content loading mechanism for portions of a web page in real time environments
US10108736B2 (en) Method and apparatus for rendering statistics on web page visits by a browser
WO2011140784A1 (zh) 屏蔽移动终端访问无线网络信息的方法、移动终端和系统
WO2014173193A1 (zh) 网页预读方法、应用该方法的装置及存储介质
WO2011097992A1 (zh) 实现网页访问的方法、系统及前端服务器
WO2012159360A1 (zh) 网页预取的方法及装置
WO2012155581A1 (zh) 中间服务器、移动浏览方法及系统
US20200151227A1 (en) Computing system with dynamic web page feature
WO2012119496A1 (zh) 预读方法和装置
JP4922240B2 (ja) Web検索において選択的に擬似フィードバック処理を適用する検索処理装置、方法及びプログラム
WO2015154270A1 (zh) 一种信息搜索的方法以及装置
US9798779B2 (en) Obtaining desired web content for a mobile device
JP5538459B2 (ja) 情報処理装置及び方法
WO2015176415A1 (zh) 一种向用户提供目标信息的方法与装置
JP2002215675A (ja) 情報検索システム
US20110055260A1 (en) Systems and methods for delivering a web page to a user in response to a page request
WO2016061575A1 (en) Computing system with dynamic web page feature

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11866203

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11866203

Country of ref document: EP

Kind code of ref document: A1