WO2014000574A1 - 一种基于缓存的网络访问方法和服务器 - Google Patents

一种基于缓存的网络访问方法和服务器 Download PDF

Info

Publication number
WO2014000574A1
WO2014000574A1 PCT/CN2013/077136 CN2013077136W WO2014000574A1 WO 2014000574 A1 WO2014000574 A1 WO 2014000574A1 CN 2013077136 W CN2013077136 W CN 2013077136W WO 2014000574 A1 WO2014000574 A1 WO 2014000574A1
Authority
WO
WIPO (PCT)
Prior art keywords
cache
information
web page
webpage
server
Prior art date
Application number
PCT/CN2013/077136
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 北京奇虎科技有限公司
Publication of WO2014000574A1 publication Critical patent/WO2014000574A1/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

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a cache-based network access method and server. Background technique
  • proxy server is usually between the client and the web server (third-party website).
  • the client does not send the network request directly to the web server. Instead, the proxy server retrieves the information required by the client from the web server according to the request of the client. Client.
  • the proxy server typically provides users with access to the web server in a cached manner.
  • the proxy server caches the webpage
  • the webpage information includes personal information such as a username and a password
  • the proxy server can forcibly cache the no-cache settings in the web page, but as described above, the user's personal information may be leaked. Therefore, the actual situation is that the proxy server usually abandons the cache for the web page specified as the no-cache attribute, which results in a low cache hit rate and greatly reduces the user's access speed.
  • the present invention has been made in order to provide a cache-based network access method and server that overcomes the above problems or at least partially solves or alleviates the above problems.
  • a cache-based network access method including: simulating a normal user accessing a WEB server, and acquiring webpage information on the WEB server; Cacheing the obtained webpage information; receiving request information for accessing the webpage from the user terminal; extracting the user identifier included in the request information and the address information of the requesting access webpage; searching whether the user identifier is logged in the cache The corresponding record of the visited webpage; when not present, the cached page information of the visited webpage is called from the cache and returned to the user terminal.
  • a cache-based network server including: a webpage access module, configured to obtain webpage information on the WEB server by simulating a common user accessing a WEB server; a cache module, adapted to And the receiving module is adapted to receive request information for accessing the webpage from the user terminal; and the extracting module is adapted to extract the included user identifier and the webpage requested to be accessed from the request information of the webpage.
  • the verification module is adapted to find whether there is a corresponding record in the cache that the user identifier has logged in to the visited webpage; when not present, the cached page information of the visited webpage is returned from the cache and returned to the user terminal.
  • a computer program comprising computer readable code causing the server to perform any of claims 1-7 when run on a server The cache-based network access method.
  • a computer readable medium storing the computer program according to claim 16 is provided.
  • the proxy server cannot cache the webpage while ensuring security, and the cache hit rate is low, and we propose a proxy server in the cache state mapping.
  • the login status of the web page is recorded in the table.
  • the webpage cache corresponding to the network request is sent to the terminal only when the webpage is never logged in, so that the user is avoided.
  • Sensitive information leaks, and improves the hit rate of the web cache, improving the performance of the proxy server in response to network access requests.
  • FIG. 1 is a flowchart of Embodiment 1 of a cache-based network access method according to the present invention
  • FIG. 2 is a flowchart of Embodiment 2 of a cache-based network access method according to the present invention
  • FIG. 4 is a schematic structural diagram of an embodiment of a cache-based network server according to the present invention
  • FIG. 4 is a schematic structural diagram for performing according to the present invention
  • a block diagram of a server of the inventive method
  • Fig. 6 schematically shows a memory unit for holding or carrying a program code implementing a method according to the invention.
  • FIG. 1 a schematic flowchart of a first embodiment of a cache-based network access method according to the present invention is shown.
  • the cache-based network access method of this embodiment includes the following steps:
  • Step 101 Simulate a normal user accessing the WEB server to obtain webpage information on the WEB server.
  • the ordinary user in the embodiment of the present invention refers to a non-login user, such as a visitor or an ordinary visitor.
  • step 101 further includes:
  • the web crawler simulates the access of the ordinary user to the WEB server to obtain the webpage information on the WEB server.
  • the normal user can be simulated periodically or irregularly to access the WEB server to obtain the webpage information on the WEB server, which not only ensures the timeliness of obtaining webpage information, but also greatly reduces the human resource cost.
  • Step 102 Cache the obtained webpage information.
  • Step 103 Receive request information for accessing a webpage from a user terminal.
  • Step 104 Extract a user identifier included in the request information and address information of a requesting access webpage.
  • the user identifier included in the request information refers to information that can uniquely identify the source and identity of the request information, such as the IP address of the user terminal, the network card number, the user account name, and the like.
  • Step 105 Find whether there is a corresponding record in the cache that the user identifier has logged in to the visited webpage. When not present, the cached page information of the visited webpage is returned from the cache and returned to the user terminal.
  • a login record corresponding to the user identifier is generated; after receiving the request of the user to access the webpage, firstly, whether there is a corresponding login record, only when the login is performed When the record does not exist, the cache page information of the visited web page is called from the cache and returned to the user terminal.
  • the webpage that implements the cache has no user login information, and only when the user's access request does not have the corresponding login record, the cached page information of the visited webpage is returned to the user terminal, that is, the user is guaranteed. Information is not leaked and the response speed is increased.
  • the method further includes: if the user identifier is found in the cache to log in to the corresponding record of the requested webpage, the cache of the webpage is not invoked from the cache. The page information is obtained, and the page information of obtaining the visited webpage to the WEB server is returned to the terminal.
  • FIG. 2 is a flowchart of Embodiment 2 of a cache-based network access method according to the present invention, where the method specifically includes:
  • Step 201 Set a cache state mapping table, configured to record a user identifier in the request information of the visited webpage from the user terminal, and webpage address information requested to be accessed.
  • the cache status map records the website ID and the corresponding login status.
  • the data structure example is as follows:
  • Sohu 0, on the left is the website logo of each website.
  • the website identifier such as: baidu, sina.
  • the right side corresponds to the website logo, which is the login status of the website, where "1" indicates that the website has been logged in by the user, and "0" indicates that the website is not logged in.
  • the login identifier is optional. For example, it can also be judged whether the user has logged in to the website by judging whether there is a login record.
  • Step 202 Receive request information for accessing a webpage from a user terminal.
  • Step 203 Extract a user identifier included in the request information and address information of the requested access webpage.
  • Step 204 Search for the corresponding record in the cache state mapping table according to the user identifier and the webpage address information in the request information. If not, perform step 205; when present, the webpage is not called from the cache. Cache page information, go to step 206.
  • Step 205 Call the cache page information of the visited webpage from the cache and return the information to the user terminal.
  • Step 206 Obtain the page information of the visited webpage from the WEB server and return the page information to the terminal.
  • the webpage cache is obtained as the network response information only when the network request information does not exist in the cache state mapping table or the login state is “0”, thereby improving the response speed. At the same time, it will not affect the user's operation, and will not leak the privacy of the logged-in user.
  • FIG. 3 a schematic flowchart of a third embodiment of a cache-based network access method according to the present invention is shown.
  • the cache-based network access method of this embodiment includes the following steps:
  • Step 301 Receive request information for accessing a webpage from a user terminal.
  • Step 302 Extract a user identifier included in the request information and address information of the requested access webpage.
  • Step 303 Match the webpage address information in the request information of the webpage according to the preset non-cached list. If yes, go to step 305.
  • a no-cache list is a list of domain names that cannot be read or written.
  • the domain name in the non-cache mapping table generally includes a host host, a portal class website, or a second/third-level sub-domain name.
  • a website such as a web forum is not suitable for caching because of fast content update and high real-time requirements.
  • An example of not logging data recorded in a list is as follows:
  • the web address information included in the webpage request information is within the range of the above non-cached list, it means that the webpage request is not subjected to the read cache.
  • Step 304 If the user webpage request information includes a login request, determine whether a corresponding record exists in the corresponding cache state mapping table according to the user identifier included in the webpage request information.
  • A1 If it does not exist, generate a login record corresponding to the current user ID and the URL information in the cache mapping table, and set the corresponding login status identifier to be logged in "1"; if present, the cache will be The login status identifier of the record corresponding to the current user identifier and the web address information is set to be "1"registered; and step 305 is performed.
  • A2 If the login request is not included in the user webpage request information, go to step 306.
  • the HTTP communication protocol defines different methods for the terminal to interact with the server. The most basic methods are GET and POST. GET is to get data from the server, POST is to transfer data to the server.
  • the GET method submits data through the URL, and the data can be seen in the URL; in the POST mode, the data is placed in the HTML HEADER and submitted to the server.
  • Step 305 The cache page information of the webpage is not invoked from the cache, and the page information of the accessed webpage is obtained from the WEB server and returned to the terminal.
  • Step 306 The cache page information of the visited webpage is called from the cache and returned to the user terminal.
  • the method further includes: storing a validity period of the acquired webpage cache, and re-acquiring the corresponding webpage generation webpage cache if the validity period is exceeded.
  • the method further includes: determining, by the server, whether the cookie in the webpage request information of the user terminal exceeds a valid period, and if yes, deleting the corresponding webpage cache; in addition, the server periodically updates the webpage cache of the webpage. .
  • the cache-based web page access method there are two common communication architectures: one is to set up a proxy server between the client and the web server, the client does not directly send a webpage request to the web server, but the proxy server according to the client The request for the terminal to retrieve the client from the web server is returned to the client, and the web cache is also stored in the proxy server. The other is that the client directly sends a request to the web server, and the obtained web cache is stored in the client.
  • the web cache is stored in the proxy server or stored in the client regardless of the architecture used. At the end, the application of the method of the present invention in different environments does not exceed the scope of the claimed invention.
  • the target page is wap.sina.com.cn
  • the J3 ⁇ 4 page is designated as no-cache, but the J3 ⁇ 4 page does not change much in a short period of time, which is not enough to affect the user's browsing experience.
  • the proxy server The website sina revenue is cached by the website list, and the webpage including wap.sina.com.cn is periodically cached and stored in the proxy server according to the contents of the cached website list. In this example, we will set the cache effective setting expiration time to 30 minutes.
  • the cache expires for 20 minutes at this time.
  • the proxy server does not find that user A has previously logged in on the sina related page in the cache state mapping table, so user A's current browsing hit cache. .
  • FIG. 4 is a schematic structural diagram of an embodiment of a cache-based network server according to the present invention.
  • the server includes:
  • the webpage accessing module 410 is adapted to obtain a webpage information on the WEB server by simulating a common user to access the WEB server;
  • the cache module 420 is adapted to cache the obtained webpage information
  • the receiving module 430 is adapted to receive request information for accessing a webpage from the user terminal; and the extracting module 440 is adapted to extract, from the request information of the webpage, the included user identifier and the address information of the webpage requested to be accessed;
  • the verification module 450 is adapted to find whether there is a corresponding record in the cache that the user identifier has logged in to the visited webpage; when not present, the cached page information of the visited webpage is returned from the cache and returned to the user terminal.
  • the verification module is further adapted to: when the cache is found in the cache to log in the corresponding record of the requested webpage, the cached page information of the webpage is not invoked from the cache, but is obtained from the WEB server. The page information of the visited webpage is returned to the terminal.
  • the server further includes:
  • the cache status mapping table 460 is adapted to record the user identifier in the request information of the visited webpage from the user terminal and the webpage address information requested to be accessed;
  • the verification module searches for the corresponding record in the cache state mapping table according to the user identifier and the webpage address information in the request information.
  • the server further includes:
  • the first filtering module 470 is adapted to match the webpage address information in the request information of the visited webpage according to the preset non-cached list. If the matching, the cached page information of the webpage is not invoked from the cache, and the method is not executed. The step of finding the cache, and obtaining the page information of the visited webpage from the WEB server is returned to the terminal.
  • the server further includes:
  • the second filtering module 480 is adapted to: when there is no corresponding record in the cache that the current user identifier has logged in to the visited webpage, and the validity period of the webpage cache corresponding to the webpage address information has exceeded If the value is not, the cached page information of the webpage is not called from the cache, and the page information of the accessed webpage is obtained from the WEB server and returned to the terminal.
  • the webpage accessing module is further adapted to simulate a common user accessing the WEB server by using a webpage crawling tool to obtain webpage information on the webpage server.
  • the webpage accessing module is further adapted to simulate, by the webpage crawling tool, the ordinary user accessing the WEB server according to the preset cached website list, and acquiring the webpage information on the WEB server.
  • the cache-based network server is a proxy server.
  • the method and server in the above embodiments of the present invention are applicable to various network or client environments, for example, may be implemented in a computer device such as a personal computer device, or may be implemented in, for example, a mobile phone, a mobile communication device, a personal digital device.
  • a computer device such as a personal computer device
  • Other portable electronic devices such as assistants (PDAs) or non-portable electronic devices. Therefore, it should be clear to those skilled in the art that the scope of protection of the present invention is not limited to running a webpage access function in a browser on a PC, but only for the simplicity and convenience of the description, the PC is used in the embodiment of the present invention. Run the web page access function in the browser to describe it.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the cache-based network server in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 5 illustrates a server, such as an application server, that can implement a cache-based network access method in accordance with the present invention.
  • the server conventionally includes a processor 510 and a computer program product or computer readable medium in the form of a memory 520.
  • the memory 520 can be, for example, a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or An electronic memory such as a ROM.
  • Memory 520 has a memory space 530 for program code 531 for performing any of the method steps described above.
  • storage space 530 for program code may include various program code 531 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 520 in the server of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 53 ⁇ , i.e., code readable by a processor, such as 510, that when executed by the server causes the server to perform various steps in the methods described above.
  • an embodiment or “one or more embodiments” as used herein means that the particular features, structures, or characteristics described in connection with the embodiments are included in at least one embodiment of the invention.
  • the phrase “in one embodiment” herein does not necessarily refer to the same embodiment.
  • any reference signs placed between parentheses shall not be construed as a limitation.
  • the word “comprising” does not exclude the presence of the elements or steps that are not in the claims.
  • the word “a” or “an” preceding a component does not exclude the presence of a plurality of such elements.
  • the invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item.
  • the use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种基于缓存的网络访问方法和服务器,所述方法包括:模拟普通用户访问WEB服务器,获取所述WEB服务器上的网页信息;对所述获取到的网页信息进行缓存;接收来自用户终端的访问网页的请求信息;提取所述请求信息中包含的用户标识和请求访问网页的地址信息;查找缓存中是否存在此用户标识登录过该访问网页的相应记录;当不存在时,从缓存中调用该访问网页的缓存页面信息返回给所述用户终端。因为只有当网络请求从未登录该网页的情况下,服务器才将该网络请求对应的网页缓存发送给终端,这样一来,不但避免了用户敏感信息泄漏,而且提高了网页缓存的命中率,提高了代理服务器响应网络访问请求的性能。

Description

一种基于緩存的网络访问方法和服务器
技术领域
本发明涉及网络通信技术领域, 特别是涉及一种基于緩存的网络访 问方法和服务器。 背景技术
目前,基于緩存利用代理服务器进行网络访问已是一种被广泛应用的超 文本传输协议(HTTP, Hypertext Transfer Protocol )通信方式。 代理服务 器通常介于客户端和 Web服务器(第三方网站)之间,客户端不直接向 Web 服务器发送网络请求, 而是由代理服务器根据客户端的请求从 Web服务器 取回客户端所需信息返回给客户端。 为了提高用户访问速度, 代理服务器通 常以緩存方式为用户提供对 Web服务器的访问。
但是, 代理服务器在緩存网页时, 如果网页信息中包含了用户名、 密码 等个人信息时, 则该用户的个人信息也会被一同緩存, 当该网页被其他用户 请求访问时, 所得到的将是包含用户个人信息的网页, 造成用户信息泄漏。 因此, 处于安全性考虑, Web服务器往往会在网页中指定緩存策略, 例如, 对于需要用户登录访问的网站通常会将网页设置为不緩存(no-cache ) : <meta http-equiv="pragma" content="no-cache" />, J¾亦被称为网页的原 始緩存策略。 对于这类包含用户敏感信息的网页, 代理服务器虽然可以忽略 网页中的 no-cache设置而对其强制进行緩存, 但如上所述, 会造成用户个人 信息泄漏。 因此, 实际情况是代理服务器对指定为 no-cache属性的网页通常 会放弃緩存,如此一来,导致緩存命中率低下, 大大降低了用户的访问速度。
总之, 需要本领域技术人员迫切解决的一个技术问题就是: 如何在保证 安全性的同时提高网页緩存命中率, 提高用户访问速度。 发明内容
鉴于上述问题, 提出了本发明以便提供一种克服上述问题或者至少 部分地解决或者减緩上述问题的基于緩存的网络访问方法和服务器。
根据本发明的一个方面, 提供了一种基于緩存的网络访问方法, 其包 括: 模拟普通用户访问 WEB服务器, 获取所述 WEB服务器上的网页信息; 对所述获取到的网页信息进行緩存; 接收来自用户终端的访问网页的请求信 息; 提取所述请求信息中包含的用户标识和请求访问网页的地址信息; 查找 緩存中是否存在此用户标识登录过该访问网页的相应记录; 当不存在时, 从 緩存中调用该访问网页的緩存页面信息返回给所述用户终端。
根据本发明的另一个方面, 提供了一种基于緩存的网络服务器, 其包 括: 网页访问模块, 适于通过模拟普通用户访问 WEB服务器, 获取所述 WEB服务器上的网页信息; 緩存模块, 适于对所述获取到的网页信息进行 緩存;接收模块,适于接收来自用户终端的访问网页的请求信息;提取模块, 适于从所述网页的请求信息中提取包含的用户标识和请求访问的网页的地 址信息; 验证模块, 适于查找緩存中是否存在此用户标识登录过该访问网页 的相应记录; 当不存在时, 从緩存中调用该访问网页的緩存页面信息返回给 所述用户终端。
根据本发明的又一个方面, 提供了一种计算机程序, 其包括计算机 可读代码, 当所述计算机可读代码在服务器上运行时, 导致所述服务器 执行根据权利要求 1-7中的任一个所述的基于緩存的网络访问方法。
根据本发明的再一个方面, 提供了一种计算机可读介质, 其中存储 了如权利要求 16所述的计算机程序。
本发明的有益效果为:
考虑到现有技术通过代理服务器访问网页时,对含有用户敏感信息的网 页, 代理服务器无法在保证安全的同时对网页进行緩存, 造成緩存命中率低 下这一问题, 我们提出代理服务器在緩存状态映射表中记录网页的登录状 态, 当收到终端的网络访问请求后, 只有从未登录登录该网页的情况下, 才 将该网络请求对应的网页緩存发送给终端, 这样一来, 不但避免了用户敏感 信息泄漏, 而且提高了网页緩存的命中率, 提高了代理服务器响应网络访问 请求的性能。
上述说明仅是本发明技术方案的概述, 为了能够更清楚了解本发明 的技术手段, 而可依照说明书的内容予以实施, 并且为了让本发明的上 述和其它目的、 特征和优点能够更明显易懂, 以下特举本发明的具体实 施方式。 附图说明
通过阅读下文优选实施方式的详细描述, 各种其他的优点和益处对 于本领域普通技术人员将变得清楚明了。 附图仅用于示出优选实施方式 的目的, 而并不认为是对本发明的限制。 而且在整个附图中, 用相同的 参考符号表示相同的部件。 在附图中:
图 1是本发明所述一种基于緩存的网络访问方法实施例一的流程图; 图 2是本发明所述一种基于緩存的网络访问方法实施例二的流程图; 图 3是本发明所述一种基于緩存的网络访问方法实施例三的流程图; 图 4是本发明所述一种基于緩存的网络服务器一实施例的结构示意图; 图 5 示意性地示出了用于执行根据本发明的方法的服务器的框图; 以及
图 6 示意性地示出了用于保持或者携带实现根据本发明的方法的程 序代码的存储单元。 具体实施例
下面结合附图和具体的实施方式对本发明作进一步的描述。
参照图 1 , 示出了本发明提供的一种基于緩存的网络访问方法实施例一 的流程示意图, 本实施例的基于緩存的网络访问方法包括以下步骤:
步骤 101 ,模拟普通用户访问 WEB服务器, 获取所述 WEB服务器上的 网页信息。
本发明实施例中所述普通用户就是指非登录用户, 比如游客或普通访 客。
在本发明的另一优选实施例中, 步骤 101进一步包括:
通过网页抓取工具模拟普通用户访问 WEB服务器, 获取所述 WEB服 务器上的网页信息。
通过网页抓取工具, 可在无人干预的情况下定期或不定期模拟普通用户 访问 WEB服务器, 获取 WEB服务器上的网页信息, 不仅保证获取网页信 息的及时性, 而且大大降低了人力资源成本。
步骤 102, 对所述获取到的网页信息进行緩存。
步骤 103 , 接收来自用户终端的访问网页的请求信息。
步骤 104, 提取所述请求信息中包含的用户标识和请求访问网页的地址 信息。
请求信息中包含的用户标识是指能够唯一标识请求信息来源和身份的 信息, 例如用户终端的 IP地址、 网卡编号、 用户账户名等。 步骤 105 , 查找緩存中是否存在此用户标识登录过该访问网页的相应记 录; 当不存在时, 从緩存中调用该访问网页的緩存页面信息返回给所述用户 终端。
当来自用户终端的访问网页请求是登录该网页时, 生成与该用户标识对 应的登录记录; 当收到该用户的访问该网页的请求后, 首先查找是否存在相 应的登录记录, 只有当该登录记录不存在时, 从緩存中调用该访问网页的緩 存页面信息返回给所述用户终端。
本发明上述实施例中, 实施緩存的网页都是没有用户登录信息的, 仅当 用户的访问请求不存在相应的登录记录时, 才会将访问网页的緩存页面信息 返回给用户终端, 即保证用户信息不被泄漏, 而且提高了响应速度。
在本发明的另一优选实施例中, 所述方法进一步包括: 若在所述緩存中 查找到所述用户标识登录过该请求访问网页的相应记录时, 则不从緩存中调 用该网页的緩存页面信息, 而向 WEB服务器获取所述访问网页的页面信息 返回给所述终端。
参照图 2, 图 2示出了本发明所述一种基于緩存的网络访问方法的实施 例二的流程图, 所述方法具体包括:
步骤 201 , 设置緩存状态映射表, 用于记录来自用户终端的访问网页的 请求信息中的用户标识及请求访问的网页地址信息。
緩存状态映射表中记录有网站标识和对应的登录状态, 其数据结构示例 如下:
Sina 1
Baidu 0
Sohu 0 其中, 左侧为各网站的网站标识, 本例中我们以网站地址中的主域名作 为网站标识, 如: baidu, sina。 右侧与网站标识对应的是该网站的登录 态 标识, 其中 "1 "表示该网站已被用户登录过, "0"表示该网站未被登录。 该登 录标识是可选项, 例如也可通过判断是否存在登录记录来判断用户是否登录 过该网站。
步骤 202 , 接收来自用户终端的访问网页的请求信息。
步骤 203 , 提取所述请求信息中包含的用户标识和请求访问网页的地址 信息。 步骤 204, 根据所述请求信息中用户标识和网页地址信息查找所述緩存 状态映射表中是否存在相应的记录; 当不存在时, 执行步骤 205; 当存在时, 则不从緩存中调用该网页的緩存页面信息, 执行步骤 206。
步骤 205 , 从緩存中调用该访问网页的緩存页面信息返回给所述用户终 端。
步骤 206, 向 WEB服务器获取所述访问网页的页面信息返回给所述终 端。
从终端的网络请求信息中提取网站主域名作为网站标识, 然后根据网站 标识从緩存状态映射表获取该网站标识对应的登录状态标识, 若登录状态标 识为" 1", 则意味当前网络请求信息对应的网站之前已被用户登录。 因此, 在本实施例中,仅当网络请求信息在緩存状态映射表对应的记录不存在或登 录状态为" 0"时才会获取网页緩存作为网络应答信息, 这样一来, 不但提高 了响应速度, 同时不会影响用户的操作, 也不会泄漏登录用户的隐私。
参照图 3 , 示出了本发明提供的一种基于緩存的网络访问方法实施例三 的流程示意图, 本实施例的基于緩存的网络访问方法包括以下步骤:
步骤 301 , 接收来自用户终端的访问网页的请求信息。
步骤 302, 提取所述请求信息中包含的用户标识和请求访问网页的地址 信息。
步骤 303 , 根据预置的不緩存列表匹配所述网页的请求信息中的网页地 址信息, 若匹配, 执行步骤 305。
不緩存列表(no-cache list )是记录不能读写緩存的域名列表。 所述不緩 存映射表中的域名一般包括 host主机、 门户类网站或者二 /三级子域名等, 例如网络论坛这类网站, 由于内容更新快, 实时性要求很高, 因此不适宜进 行緩存。 不緩存列表所记录数据示例如下:
1: tieba.baidu.com;zhidao.baidu.com
2:bbs. sina.com. cn;chat.sina.com.cn
若网页请求信息中包含的网址信息在上述不緩存列表范围内, 即表示对 该网页请求不进行读取緩存的相关处理。
步骤 304, 若用户网页请求信息中否包含登录请求, 根据网页请求信息 中包含的用户标识判断对应的緩存状态映射表中是否存在相应的记录,
A1 : 若不存在, 则于緩存映射表中生成与当前用户标识和网址信息对应 的登录记录, 并设置对应的登录状态标识为已登录" 1"; 若存在, 将緩存状 态映射表与当前用户标识和网址信息对应的记录的登录状态标识设置为已 登录" 1"; 执行步骤 305。
A2: 若用户网页请求信息中不否包含登录请求, 执行步骤 306。
本实施例根据当前网页请求信息中是否包含 POST信息来判断该网页请 求信息是否包含登录请求。
HTTP通信协议定义了终端与服务器交互的不同方法, 最基本的方法是 GET 和 POST。 GET是从服务器上获取数据, POST是向服务器传送数据。
在终端, GET方式在通过 URL提交数据, 数据在 URL中可以看到; POST方式, 数据放置在 HTML HEADER内提交至服务器。
使用 GET 的时候, 参数会显示在浏览器地址栏上, 而 POST则不会。 为了更好理解本发明,以下分别举例说明 GET和 POST方式如何向 Web 服务器提交请求:
以 GET方式从 Web服务器请求获取网页:
<FORM ACTION=" http://news.sina.com " METHOD="get">
<INPUT TYPE="submit" VALUE="Get方式 "></INPUT>
</FORM>
<BR>
以 POST方式向 Web服务器提交登录请求信息:
<FORM ACTION="http:〃 www.baidu.com" METHOD="post">
<INPUT TYPE="text" NAME= "用户名 " VALUE="namel">
<INPUT TYPE="password" NAME="密码" VALUE="passwordl">
<INPUT TYPE="submit" VALUE="Post方式 "></INPUT>
</FORM>
<BR>
包含 POST的网页请求信息示例如下:
POST/ http://www.baidu.com/ http 1.1
步骤 305, 不从緩存中调用该网页的緩存页面信息, , 向 WEB服务器 获取所述访问网页的页面信息返回给所述终端。
步骤 306, 从緩存中调用该访问网页的緩存页面信息返回给所述用户终 端。
本发明另一优选实施例中, 所述方法进一步包括: 对所获取的网页緩存 记录有效期, 若超出有效期, 则重新获取对应的网页生成网页緩存。 本发明另一优选实施例中, 所述方法进一步包括: 服务器判断用户终端 网页请求信息中的 Cookie是否超出有效周期, 若超出, 则删除对应的网页 緩存; 另外, 服务器定期对网页网页緩存进行更新。
在基于緩存的网页访问方法中, 常见的有两种通信架构: 一种是在客户 端和 Web服务器中间设置有代理服务器, 客户端不直接向 Web服务器发送 网页请求, 而是由代理服务器根据客户端的请求从 Web服务器取回客户端 所需信息返回给客户端, 网页緩存也存储在代理服务器中; 另一种是客户端 直接向 Web服务器发送请求, 所获取的网页緩存存储在客户端中。 在上述 实施例的描述中, 虽然是以代理服务器的架构进行描述, 但是本领域技术人 员应该理解, 在实施本发明时, 无论釆用何种架构, 网页緩存存储于代理服 务器, 或者存储于客户端, 都是本发明所述方法在不同环境下的应用, 并未 超出本发明所要求保护的范围。
以上两个实施例对本发明所公开的基于緩存的网页访问方法做了详细 描述, 为了更好理解本发明的内容, 下面通过一个具体的例子对本发明的内 容#文进一步详细描述:
殳设目标网页 wap.sina.com.cn, J¾页面被指定为 no-cache, 但是 J¾页面 短时间内并无太大变化, 不足以影响用户的浏览体验; 为了提高响应用户的 速度, 代理服务器将其网站标识 sina收入緩存网站清单, 并根据緩存网站清 单的内容定期对包括 wap.sina.com.cn的网页获取緩存并存储在代理服务器 中。 本例中, 我们将緩存有效设定过期时间为 30分钟。
当用户 A访问此网页时, 此时緩存还有 20分钟过期, 代理服务器在緩 存状态映射表中并没有发现用户 A此前在 sina相关的页面有过登录操作, 因此用户 A的本次浏览命中緩存。
当用户 B访问 wap.sina.com.cn网页时, 4叚设两小时前 B登录过新浪邮 箱, 因此带有新浪的 cookie; 代理服务器的緩存状态映射表中发现 B曾经登 录过新浪相关页面, 其对应的登录状态标识为" 1", 因此此次访问不能命中 緩存。
当用户 C访问 wap.sina.com.cn时, 緩存还有 10分钟过期。 由于用户 C 之前没有在新浪登录过,因此用户 C在緩存状态映射表中对应 sina登录状态 标识为未登录 "0", 本次访问会命中緩存; 并且服务器发现此緩存即将过期, 会自动请求 wap.sina.com.cn, 拿到页面并更新緩存, 并重新将该緩存的有效 设置为此刻开始 30分钟过期。 但是当用户 B访问与 sina无关的第三方页面时, 例如搜狐, 如果 B没 有在搜狐登录过, 则一样可以使用搜狐相关的緩存。
以上对本发明所提供的一种网页标签缩微图的显示方法做了描述, 下面 参见上述方法实施例的内容,对本发明的公开的一种基于緩存的网络服务器 进行描述:
参见图 4, 图 4示出了本发明所述一种基于緩存的网络服务器一实施例 的结构示意图, 所述服务器包括:
网页访问模块 410, 适于通过模拟普通用户访问 WEB服务器, 获取所 述 WEB服务器上的网页信息;
緩存模块 420 , 适于对所述获取到的网页信息进行緩存;
接收模块 430 , 适于接收来自用户终端的访问网页的请求信息; 提取模块 440 , 适于从所述网页的请求信息中提取包含的用户标识和请 求访问的网页的地址信息;
验证模块 450 , 适于查找緩存中是否存在此用户标识登录过该访问网页 的相应记录; 当不存在时, 从緩存中调用该访问网页的緩存页面信息返回给 所述用户终端。
优选的, 所述验证模块还适于在所述緩存中查找到所述用户标识登录过 该请求访问网页的相应记录时, 则不从緩存中调用该网页的緩存页面信息, 而向 WEB服务器获取所述访问网页的页面信息返回给终端。
优选的, 所述服务器还包括:
緩存状态映射表 460 , 适于记录来自用户终端的访问网页的请求信息中 的用户标识及请求访问的网页地址信息;
所述验证模块根据所述请求信息中用户标识和网页地址信息查找所述 緩存状态映射表中是否存在相应的记录。
优选的, 所述服务器还包括:
第一过滤模块 470, 适于根据预置的不緩存列表匹配所述访问网页的请 求信息中的网页地址信息, 若匹配, 则不从緩存中调用该网页的緩存页面信 息, 不再执行所述查找緩存的步骤, 而向 WEB服务器获取所述访问网页的 页面信息返回给所述终端。
优选的, 所述服务器还包括:
第二过滤模块 480 , 适于当緩存中不存在当前用户标识登录过该访问网 页的相应记录, 并且所述网页地址信息对应的网页緩存的有效期已超出阔 值, 则不从緩存中调用该网页的緩存页面信息, 而向 WEB服务器获取所述 访问网页的页面信息返回给所述终端。
优选的, 所述网页访问模块进一步适于通过网页抓取工具模拟普通用户 访问 WEB服务器, 获取所述 WEB服务器上的网页信息。
优选的, 所述网页访问模块进一步适于通过网页抓取工具模拟普通用户 按照预置的緩存网站清单访问 WEB服务器, 获取所述 WEB服务器上的网 页信息。
优选的, 所述基于緩存的网络服务器为代理服务器。
上述本发明实施例中的方法和服务器适用于各种网络或者客户端环境 中, 例如可以实现在诸如个人计算机设备之类的计算机设备中, 或者可以实 现在诸如移动电话、 移动通信设备、 个人数字助理(PDA )等其他便携式电 子设备或者非便携式电子设备中。 因此本领域技术人员要明确的是, 本发明 的保护范围并不限于 PC上运行浏览器中的网页访问功能, 仅是出于描述的 简洁和方便而在本发明实施例中釆用了 PC上运行浏览器中的网页访问功能 进行描述。
本说明书中的各个实施例均釆用递进的方式描述,每个实施例重点说明 的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见 即可。对于系统和 /或装置实施例而言, 由于其与方法实施例基本相似, 所以 描述的比较简单, 相关之处参见方法实施例的部分说明即可。
本发明的各个部件实施例可以以硬件实现, 或者以在一个或者多个 处理器上运行的软件模块实现, 或者以它们的组合实现。 本领域的技术 人员应当理解, 可以在实践中使用微处理器或者数字信号处理器 (DSP ) 来实现根据本发明实施例的基于緩存的网络服务器中的一些或者全部部 件的一些或者全部功能。 本发明还可以实现为用于执行这里所描述的方 法的一部分或者全部的设备或者装置程序 (例如, 计算机程序和计算机 程序产品) 。 这样的实现本发明的程序可以存储在计算机可读介质上, 或者可以具有一个或者多个信号的形式。 这样的信号可以从因特网网站 上下载得到, 或者在载体信号上提供, 或者以任何其他形式提供。
例如, 图 5 示出了可以实现根据本发明的基于緩存的网络访问方法 的服务器, 例如应用服务器。 该服务器传统上包括处理器 510 和以存储 器 520形式的计算机程序产品或者计算机可读介质。 存储器 520可以是 诸如闪存、 EEPROM (电可擦除可编程只读存储器) 、 EPROM、 硬盘或 者 ROM之类的电子存储器。存储器 520具有用于执行上述方法中的任何 方法步骤的程序代码 531的存储空间 530。 例如, 用于程序代码的存储空 间 530 可以包括分别用于实现上面的方法中的各种步骤的各个程序代码 531。 这些程序代码可以从一个或者多个计算机程序产品中读出或者写入 到这一个或者多个计算机程序产品中。 这些计算机程序产品包括诸如硬 盘, 紧致盘 (CD ) 、 存储卡或者软盘之类的程序代码载体。 这样的计算 机程序产品通常为如参考图 6 所述的便携式或者固定存储单元。 该存储 单元可以具有与图 5 的服务器中的存储器 520类似布置的存储段、 存储 空间等。 程序代码可以例如以适当形式进行压缩。 通常, 存储单元包括 计算机可读代码 53 Γ , 即可以由例如诸如 510之类的处理器读取的代码, 这些代码当由服务器运行时, 导致该服务器执行上面所描述的方法中的 各个步骤。
本文中所称的 "一个实施例"、 "实施例"或者"一个或者多个实施例 "意 味着, 结合实施例描述的特定特征、 结构或者特性包括在本发明的至少 一个实施例中。 此外, 请注意, 这里"在一个实施例中"的词语例子不一定 全指同一个实施例。
在此处所提供的说明书中, 说明了大量具体细节。 然而, 能够理解, 本发明的实施例可以在没有这些具体细节的情况下被实践。 在一些实例 中, 并未详细示出公知的方法、 结构和技术, 以便不模糊对本说明书的 理解。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限 制, 并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计 出替换实施例。 在权利要求中, 不应将位于括号之间的任何参考符号构 造成对权利要求的限制。单词"包含"不排除存在未列在权利要求中的元件 或步骤。 位于元件之前的单词 "一"或"一个"不排除存在多个这样的元件。 本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计 算机来实现。 在列举了若干装置的单元权利要求中, 这些装置中的若干 个可以是通过同一个硬件项来具体体现。 单词第一、 第二、 以及第三等 的使用不表示任何顺序。 可将这些单词解释为名称。
此外, 还应当注意, 本说明书中使用的语言主要是为了可读性和教 导的目的而选择的, 而不是为了解释或者限定本发明的主题而选择的。 因此, 在不偏离所附权利要求书的范围和精神的情况下, 对于本技术领 域的普通技术人员来说许多修改和变更都是显而易见的。 对于本发明的 范围, 对本发明所做的公开是说明性的, 而非限制性的, 本发明的范围 由所附权利要求书限定。

Claims

权 利 要 求
1、 一种基于緩存的网络访问方法, 其包括:
模拟普通用户访问 WEB服务器, 获取所述 WEB服务器上的网页信息; 对所述获取到的网页信息进行緩存;
接收来自用户终端的访问网页的请求信息;
提取所述请求信息中包含的用户标识和请求访问网页的地址信息; 查找緩存中是否存在此用户标识登录过该访问网页的相应记录; 当不存在时,从緩存中调用该访问网页的緩存页面信息返回给所述用户 终端。
2、 如权利要求 1所述的方法, 其中, 还包括:
若在所述緩存中查找到所述用户标识登录过该请求访问网页的相应记 录时, 则不从緩存中调用该网页的緩存页面信息, 而向 WEB服务器获取所 述访问网页的页面信息返回给所述终端。
3、 如权利要求 1或 2所述的方法, 其中, 还包括:
设置緩存状态映射表, 用于记录来自用户终端的访问网页的请求信息中 的用户标识及请求访问的网页地址信息;
所述查找緩存中是否存在该用户标识登录过该访问网页的相应记录, 进 一步包括:
根据所述请求信息中用户标识和网页地址信息查找所述緩存状态映射 表中是否存在相应的记录。
4、 如权利要求 3所述的方法, 其中, 所述查找緩存中是否存在该用户 标识登录过该访问网页的相应记录之前, 还包括:
根据预置的不緩存列表匹配所述访问网页的请求信息中的网页地址信 息, 若匹配, 则不从緩存中调用该网页的緩存页面信息, 不再执行所述查找 緩存的步骤, 而向 WEB服务器获取所述访问网页的页面信息返回给所述终 端。
5、 如权利要求 1所述的方法, 其中, 所述查找緩存中是否存在此用户 标识登录过该访问网页的相应记录之后, 还包括:
若不存在相应记录, 并且所述网页地址信息对应的网页緩存的有效期已 超出阔值, 则不从緩存中调用该网页的緩存页面信息, 而向 WEB服务器获 取所述访问网页的页面信息返回给所述终端。
6、 如权利要求 1所述的方法, 其中, 所述模拟普通用户访问 WEB服务 器, 获取所述 WEB服务器上的网页信息, 进一步包括:
通过网页抓取工具模拟普通用户访问 WEB服务器, 获取所述 WEB服 务器上的网页信息。
7、 如权利要求 6所述的方法, 其中, 所述通过网页抓取工具模拟普通 用户访问 WEB服务器进一步包括:
通过网页抓取工具模拟普通用户按照预制的緩存网站清单访问 WEB服 务器。
8、 一种基于緩存的网络服务器, 其包括:
网页访问模块, 适于通过模拟普通用户访问 WEB服务器, 获取所述
WEB服务器上的网页信息;
緩存模块, 适于对所述获取到的网页信息进行緩存;
接收模块, 适于接收来自用户终端的访问网页的请求信息;
提取模块, 适于从所述网页的请求信息中提取包含的用户标识和请求访 问的网页的地址信息;
验证模块, 适于查找緩存中是否存在此用户标识登录过该访问网页的相 应记录; 当不存在时, 从緩存中调用该访问网页的緩存页面信息返回给所述 用户终端。
9、 如权利要求 8所述的服务器, 其中, 所述验证模块还适于在所述緩 存中查找到所述用户标识登录过该请求访问网页的相应记录时, 则不从緩存 中调用该网页的緩存页面信息, 而向 WEB服务器获取所述访问网页的页面 信息返回给终端。
10、 如权利要求 8或 9所述的服务器, 其中, 还包括:
緩存状态映射表, 适于记录来自用户终端的访问网页的请求信息中的用 户标识及请求访问的网页地址信息;
所述验证模块根据所述请求信息中用户标识和网页地址信息查找所述 緩存状态映射表中是否存在相应的记录。
11、 如权利要求 9所述的服务器, 其中, 还包括:
第一过滤模块, 适于根据预置的不緩存列表匹配所述访问网页的请求信 息中的网页地址信息, 若匹配, 则不从緩存中调用该网页的緩存页面信息, 不再执行所述查找緩存的步骤, 而向 WEB服务器获取所述访问网页的页面 信息返回给所述终端。
12、 如权利要求 9所述的服务器, 其中, 还包括:
第二过滤模块, 适于当緩存中不存在当前用户标识登录过该访问网页的 相应记录, 并且所述网页地址信息对应的网页緩存的有效期已超出阔值, 则 不从緩存中调用该网页的緩存页面信息, 而向 WEB服务器获取所述访问网 页的页面信息返回给所述终端。
13、 如权利要求 9所述的服务器, 其中, 所述网页访问模块进一步适于 通过网页抓取工具模拟普通用户访问 WEB服务器, 获取所述 WEB服务器 上的网页信息。
14、 如权利要求 13所述的服务器, 其中, 所述网页访问模块进一步适 于通过网页抓取工具模拟普通用户按照预置的緩存网站清单访问 WEB服务 器, 获取所述 WEB服务器上的网页信息。
15、 如权利要求 8所述的服务器, 其中, 所述基于緩存的网络服务器为 代理服务器。
16、 一种计算机程序, 包括计算机可读代码, 当所述计算机可读代 码在服务器上运行时,导致所述服务器执行根据权利要求 1-7中的任一个 所述的基于緩存的网络访问方法。
17、 一种计算机可读介质, 其中存储了如权利要求 16所述的计算机 程序。
PCT/CN2013/077136 2012-06-29 2013-06-13 一种基于缓存的网络访问方法和服务器 WO2014000574A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210226979.5A CN102868719B (zh) 2012-06-29 2012-06-29 一种基于缓存的网络访问方法和服务器
CN201210226979.5 2012-06-29

Publications (1)

Publication Number Publication Date
WO2014000574A1 true WO2014000574A1 (zh) 2014-01-03

Family

ID=47447306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/077136 WO2014000574A1 (zh) 2012-06-29 2013-06-13 一种基于缓存的网络访问方法和服务器

Country Status (2)

Country Link
CN (1) CN102868719B (zh)
WO (1) WO2014000574A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102712A (zh) * 2022-05-17 2022-09-23 刘勇 一种增强的终端标识的方法、装置、电子设备及储存介质

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868719B (zh) * 2012-06-29 2015-09-16 北京奇虎科技有限公司 一种基于缓存的网络访问方法和服务器
CN103237003B (zh) * 2013-01-17 2016-04-06 北京印天网真科技有限公司 对网络中的高访问流量进行响应的方法和装置
CN103220344B (zh) * 2013-03-29 2016-08-31 新浪技术(中国)有限公司 微博授权使用方法和系统
CN103412898B (zh) * 2013-07-26 2017-03-01 华为技术有限公司 一种网页优化的方法及装置
CN103500204B (zh) * 2013-09-27 2018-10-16 北京京东尚科信息技术有限公司 一种网页浏览回退方法、网页服务器和客户端
CN104580540B (zh) * 2013-10-09 2018-11-23 腾讯科技(深圳)有限公司 网站访问的实现方法和装置
CN104980311B (zh) * 2014-04-14 2019-10-22 腾讯科技(深圳)有限公司 预测网络访问的方法、装置及系统
CN103973682B (zh) * 2014-04-30 2018-09-04 北京奇虎科技有限公司 进行网页访问的方法及装置
CN104021204A (zh) * 2014-06-17 2014-09-03 贝壳网际(北京)安全技术有限公司 一种用于访问网页的方法及装置
CN104615771B (zh) * 2015-02-13 2018-12-21 广州华多网络科技有限公司 一种获取网页数据的方法及装置
CN107025226A (zh) * 2016-01-29 2017-08-08 广州市动景计算机科技有限公司 目标站点访问方法、装置和中转服务器
CN106021384A (zh) * 2016-05-12 2016-10-12 广西尊达电子商务有限公司 一种web页面缓存方法
WO2018090336A1 (zh) * 2016-11-18 2018-05-24 华为技术有限公司 缓存数据获取方法、相关设备以及通信系统
CN107493350A (zh) * 2017-09-30 2017-12-19 迈普通信技术股份有限公司 缓存方法、装置及系统
CN109857577B (zh) * 2019-01-28 2021-10-22 北京三快在线科技有限公司 访问控制方法、装置、介质及电子设备
CN110008432B (zh) * 2019-04-15 2023-04-28 山东八五信息技术有限公司 一种Web匿名用户识别、追踪方法及系统
CN110430083B (zh) * 2019-08-15 2022-11-15 平安普惠企业管理有限公司 一种代理转发请求的定位处理方法及服务器
CN111865966B (zh) * 2020-07-16 2022-08-16 北京思特奇信息技术股份有限公司 一种网页安全访问方法及装置
CN112612983B (zh) * 2021-01-07 2022-12-13 上海哔哩哔哩科技有限公司 一种页面访问方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075570A (zh) * 2010-12-31 2011-05-25 南京中兴特种软件有限责任公司 一种基于关键字的http报文缓存机制的实现方法
CN102364461A (zh) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 网页内容数据获取方法及服务器
US20120144050A1 (en) * 2010-12-06 2012-06-07 Red Hat, Inc. Methods for accessing external network via proxy server
CN102868719A (zh) * 2012-06-29 2013-01-09 北京奇虎科技有限公司 一种基于缓存的网络访问方法和服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510458B1 (en) * 1999-07-15 2003-01-21 International Business Machines Corporation Blocking saves to web browser cache based on content rating
CN101179550B (zh) * 2006-12-14 2010-09-08 腾讯科技(深圳)有限公司 一种个人主页实现方法及系统
CN101702647B (zh) * 2009-11-30 2011-10-05 中国电信股份有限公司 Cookie信息的管理方法和Cookie服务器
CN101807193B (zh) * 2009-12-31 2015-07-22 优视科技有限公司 一种用于移动通讯设备终端的浏览方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120144050A1 (en) * 2010-12-06 2012-06-07 Red Hat, Inc. Methods for accessing external network via proxy server
CN102075570A (zh) * 2010-12-31 2011-05-25 南京中兴特种软件有限责任公司 一种基于关键字的http报文缓存机制的实现方法
CN102364461A (zh) * 2011-06-30 2012-02-29 广州市动景计算机科技有限公司 网页内容数据获取方法及服务器
CN102868719A (zh) * 2012-06-29 2013-01-09 北京奇虎科技有限公司 一种基于缓存的网络访问方法和服务器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102712A (zh) * 2022-05-17 2022-09-23 刘勇 一种增强的终端标识的方法、装置、电子设备及储存介质
CN115102712B (zh) * 2022-05-17 2024-04-16 刘勇 一种增强的终端标识的方法、装置、电子设备及储存介质

Also Published As

Publication number Publication date
CN102868719B (zh) 2015-09-16
CN102868719A (zh) 2013-01-09

Similar Documents

Publication Publication Date Title
WO2014000574A1 (zh) 一种基于缓存的网络访问方法和服务器
CN107341160B (zh) 一种拦截爬虫的方法及装置
CN108363815B (zh) 一种网页页面的预读取方法、装置及智能终端设备
TWI614630B (zh) 客戶端應用的登錄方法及其相應的伺服器
JP4884243B2 (ja) 構成可能な期間に関するプライベート・データをキャッシュする方法及び装置
US9450883B2 (en) Managing redirected website login using a short address
US20100064234A1 (en) System and Method for Browser within a Web Site and Proxy Server
CN106302512B (zh) 一种用于控制访问的方法、设备与系统
US20140337991A1 (en) Methods and apparatus for blocking usage tracking
TWI656772B (zh) 獲取網頁的方法、系統、網路伺服器、瀏覽器和gslb
CN103685604B (zh) 一种域名预解析方法及装置
CA2622253C (en) Method of controlling a browser window
CN102724190B (zh) 恶意url拦截提示方法及装置
CN103617267B (zh) 社交化扩展搜索方法及装置、系统
WO2014032619A1 (zh) 网址访问方法及系统
CN110430188A (zh) 一种快速url过滤方法及装置
WO2011140784A1 (zh) 屏蔽移动终端访问无线网络信息的方法、移动终端和系统
WO2017080393A1 (zh) 一种ip地址获取方法及装置
CN106899689B (zh) 一种信息预下发的方法及服务器
US8694659B1 (en) Systems and methods for enhancing domain-name-server responses
WO2011032508A1 (zh) 一种生成书签的方法、设备与系统
WO2012119496A1 (zh) 预读方法和装置
US10154076B2 (en) Identifying users through a proxy
KR20150128810A (ko) 도메인 명칭 서버가 자연 언어 질의를 프로세싱하고 콘텍스트를 결정하게 하는 시스템 및 방법
EP3151514A1 (en) A method in a client-server network and client-server network

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: 13809836

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: 13809836

Country of ref document: EP

Kind code of ref document: A1