WO2015154682A1 - 一种网络请求处理方法、网络服务器和网络系统 - Google Patents

一种网络请求处理方法、网络服务器和网络系统 Download PDF

Info

Publication number
WO2015154682A1
WO2015154682A1 PCT/CN2015/076114 CN2015076114W WO2015154682A1 WO 2015154682 A1 WO2015154682 A1 WO 2015154682A1 CN 2015076114 W CN2015076114 W CN 2015076114W WO 2015154682 A1 WO2015154682 A1 WO 2015154682A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
identification information
request
package
network
Prior art date
Application number
PCT/CN2015/076114
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 WO2015154682A1 publication Critical patent/WO2015154682A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present invention relates to the field of computers and the Internet, and more particularly to a network content providing technology in a network.
  • Internet information is typically stored on servers that are linked to the network, and users can access these servers to obtain information.
  • Some websites are also gaining more and more traffic. For example, some websites even have tens of millions of page views or even hundreds of millions of pages. Therefore, any optimization of these pages can help users quickly obtain web page information and improve website performance. When the website visits are huge, This optimization is especially necessary.
  • the present invention has been made in order to provide a network request processing method, a network server, and a network system that overcome the above problems or at least partially solve or alleviate the above problems.
  • a network server adapted to process a request from a client, the network server comprising: a parser adapted to parse the request to obtain version identification information and files included in the request Identification information; a file processor adapted to acquire a file package associated with the version identification information, and obtain one or more files corresponding to the file identification information from the file package; and an output device adapted to be The contents of the file of one or more files obtained and returned to the client.
  • a network request processing method is provided, the method being adapted to be executed in a web server to process a request from a client, the method comprising the steps of: parsing the request to obtain the request Included version identification information and file identification information; obtaining a file package associated with the version identification information, and acquiring one or more files corresponding to the file identification information from the file package; and combining the acquired one or more The file contents of the file are returned to the client.
  • a network system comprising: a network server according to the present invention; a file server communicatively linked with a network server; and a plurality of clients, wherein the client sends a request to the network server,
  • the network server receives the request, parses the version identification information and the file identification information from the request, acquires a file package associated with the version identification information from the file server, and acquires a file corresponding to the file identification information from the file package. Or multiple files, and combine the contents of the file and return to the client.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform according to an aspect of the present invention Network request processing method.
  • a computer readable medium wherein the computer program as described in still another aspect of the present invention is stored.
  • the user can return a file content of a plurality of files from the network server by sending a special request to the network server through the client, thereby reducing the relationship between the client and the network server.
  • the number of file transfers This improves the speed at which the client processes the web page and improves the processing performance of the server for the case where the client parses the web page.
  • FIG. 1 shows a schematic diagram of a network system in accordance with one embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a network server according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of a network request processing method according to an embodiment of the present invention.
  • Figure 4 is a schematic block diagram showing a computing device for performing a network request processing method in accordance with the present invention
  • Fig. 5 schematically shows a storage unit for holding or carrying program code implementing a network request processing method according to the present invention.
  • FIG. 1 shows a schematic diagram of a network system 100 in accordance with one embodiment of the present invention.
  • the network system 100 includes a plurality of clients 110, 120, and 130, a web server 140 and a file server 150 that provide various contents for these clients. These devices communicate with each other via the internet.
  • the client 110 will be taken as an example to indicate all clients.
  • the clients 110-130 may be any device in the art that can present network information (eg, web pages and associated files (eg, CSS files, JS files, multimedia files, etc.)) acquired from the web server 140, including However, it is not limited to desktop computers, notebook computers, personal digital assistants, smart mobile terminals, tablet computers, and the like.
  • the client 110-130 typically runs a modern operating system that utilizes the operating system to manage hardware resources in the client.
  • a web browser is typically run on the client 110 for presenting web pages retrieved from the server 140 as well as web page related files (eg, images, audio and video referenced in web pages, etc.).
  • the web server 140 returns the requested network information to the client 110 at the request of the client 110.
  • Network information is typically web pages and various files referenced in the page, such as image files, multimedia files such as audio and/or video files, and web page related files such as CSS files and JS files.
  • image files such as image files, multimedia files such as audio and/or video files
  • web page related files such as CSS files and JS files.
  • the client 110 when the client 110 requests a web page file from the web server 140, the client 110 will then subsequently retrieve the file referenced from the web server 140 web file when parsing and presenting the information in the web page file.
  • a web page contains multiple web page related files, such as multiple CSS files.
  • the webpage related file is encapsulated into a file package, and the file package is uploaded to the file server 150, and a link corresponding to the file package is generated and inserted into the webpage, and the webpage is uploaded to the web server. 140.
  • the user accesses the web server 140 through the client 110 and acquires the web page.
  • the web server 140 needs to send a request for acquiring content corresponding to the link.
  • the web server 140 acquires the request and parses the version identification information and the file identification information from the request.
  • the web server 140 first determines whether a file package associated with the version identification information is stored locally at the web server 140, and if not, obtains a file package associated with the version identification information from the file server 150. Subsequently, the web server 140 acquires one or more files corresponding to the file identification information from the file package, and combines the contents of the file and returns it to the client 110.
  • FIG. 2 shows a block diagram of a network server 140 in accordance with one embodiment of the present invention.
  • the web server 140 includes a parser 210, a file processor 220, and an output device 230.
  • the web server 140 When the web server 140 receives the request from the client, it sends the request to the parser 210 for processing.
  • the parser 210 parses the request and obtains version identification information and file identification information included in the request.
  • the request is usually a link address, which according to one example is:
  • the request is a specially constructed link address, where "s0.qhimg.com” is the domain name of the web server 140.
  • the parser 210 parses the link address, and obtains the version identification information "456efab43" and the file identification information ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js” .
  • the various parts are linked together with a "/" character.
  • a plurality of webpage related files have the same file suffix name, and therefore, the file suffix name is linked to the version identification information.
  • the parser 210 may extract the content between the file suffix name and the closest "/" character as the version identification information, and extract the "/" closest to the domain name in the link before the version identification information. The content between characters is used as file identification information.
  • the version identification information is a hash value calculated from the file contents of all files in the file package, and the version identification information can be used to uniquely identify the file package.
  • the implementation of the parser 210 is not limited thereto, and thus the manner in which the version identification information and the file identification information can be obtained from the link address is within the scope of the present invention.
  • the file processor 220 receives the version identification information and the file identification information parsed by the parser 210, and obtains a file package associated with the version identification information according to the version identification information.
  • File processor 220 can utilize a variety of methods to obtain a file package.
  • the file processor 220 can transmit the version identification information to the file server 150.
  • the file server 150 searches for a file package corresponding to the version identification information and returns it to the file processor 220.
  • the web server 140 includes a memory 240 that caches a file package previously obtained from the file server 150 in association with the version identification information into the memory 240.
  • the file processor when the file processor wants to obtain a file package associated with a certain version identification information, it first looks up from the memory 240 to see if the file package is cached. If not, the file processor is the same as the first embodiment. The file package corresponding to the version identification information is obtained from the file server 150 and simultaneously cached in the memory 240.
  • a package is a package that encapsulates multiple web-related files together.
  • multiple web page related files can be compressed into one compressed file package.
  • the package can be a 456efab43.zip file.
  • the file processor 220 obtains one or more files corresponding to the file identification information from the file package based on the file identification information obtained from the parser 210.
  • the file identification information includes information of one or more files corresponding to the information.
  • the obtained file identification information is ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js", including "jquery-1.6” .2.min.js", “qtool.js” and “search.js” three files.
  • the file processor 220 obtains the file contents of the three files from the file package and sends them to the output device 230, and the output device 230 combines the file contents of the one or more files obtained from the file package, and returns the combined contents. To the client 110.
  • a file package includes a plurality of webpage related files, And each link address may only need to get some of the webpage related files.
  • Multiple web page related files will have different directory structures, which will be included in the file package when the file package is generated. Therefore, when obtaining related files from a package, it is also necessary to know the specific directory information of each file in the package.
  • the parser 210 also includes a file identification generator 212.
  • the file identification generator 212 obtains complete directory structure information of the associated one or more files based on the file identification information.
  • the file identification information includes a common portion of the file identification and one or more different portions.
  • the generator 212 acquires the common portion and the respective different portions in the file identification information, and combines the common portion and the respective different portions to generate one or more file names as file information.
  • the obtained file identification information is ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js", where the public part is ";static ;js;", and the different parts are “jquery-1.6.2.min", “qtool” and “search”.
  • the generator 212 since the original public part usually contains the symbol "/" to represent the directory, when the parts are combined with the symbol "/”, confusion occurs, so when the common part is generated, other matches (for example, the symbol "; ”) to replace the symbol "/”. Therefore, the generator 212 first replaces the symbol ";” in the common part with "/" before combining, and then the generator 212 combines the common part and each different part and the file suffix name, thereby generating the following three files. name:
  • the file processor 220 obtains the file contents corresponding to the file names from the decapsulated file packages according to the file names with the complete directories obtained by the generator 212, and supplies them to the output device 230.
  • the parser 210 also parses the application identification information from the requested link address.
  • the application identification information is further included between the domain name portion of the link address and the file identification information, and the parser 210 may parse the application identification information according to the connection character "/" of each part of the link address.
  • the file processor 220 also receives the application identification information parsed by the parser 210, and acquires the corresponding file package from the file server 150 together with the application identification information and the version identification information.
  • a single version identifier Information can uniquely identify a package.
  • the version identification information may not be the result of hash calculation of the file contents of all files, but may be a time stamp. Therefore, if the application identification information and the version identification information are combined, this can completely uniquely identify the file package.
  • the file package acquired from the file server 150 is cached by the memory 240
  • the file package may also be decapsulated at the same time, for example, the decompressed file is also cached in the memory 240.
  • the process of decapsulating the file package may be omitted, but the file that has been decapsulated may be directly obtained, which further improves the processing efficiency.
  • a plurality of webpage related files corresponding to the link address can be obtained and combined and returned to the client according to the link address sent by the client, thereby reducing the number of the client and the web server 140.
  • the number of file transfers between the two increases the speed at which the client parses the web page and also enhances the performance of the web server 140.
  • FIG. 3 shows a flow diagram of a network request processing method 300 in accordance with one embodiment of the present invention.
  • the method 300 is adapted to be executed in the web server 140 in the network system shown in FIG. 1 to process the request from the client and retrieve the corresponding content back to the client based on the link address content in the request.
  • the network request processing method 300 begins in step S310.
  • step S310 the request received by the network server 140 is parsed, and the version identification information and the file identification information included in the request are obtained.
  • the request is usually a link address, which according to one example is:
  • the request is a specially constructed link address, where "s0.qhimg.com” is the domain name of the web server 140.
  • the link address is parsed in step S310, and the version identification information "456efab43" and the file identification information ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js" are obtained therein. ".
  • the various parts are linked together with a "/" character.
  • a plurality of webpage related files have the same file suffix name, and therefore, the file suffix name is linked to the version identification information.
  • the version identification information it can be extracted between the file suffix name and the closest "/" character.
  • the content is used as the version identification information, and the content between the "/" characters closest to the domain name in the link is extracted as the file identification information before the version identification information is extracted.
  • the version identification information is a hash value calculated from the file contents of all files in the file package, and the version identification information can be used to uniquely identify the file package.
  • step S310 is not limited thereto, and thus the manner in which the version identification information and the file identification information can be obtained from the link address is within the scope of the present invention.
  • step S320 the version identification information and the file identification information parsed in step S310 are received, and the file package associated with the version identification information is obtained according to the version identification information.
  • Step S320 can use various methods to obtain a file package.
  • the version identification information can be sent to the file server 150.
  • the file server 150 searches for a file package corresponding to the version identification information and returns it to the web server 140.
  • the file package previously obtained from the file server 150 is cached in the web server 140 in association with the version identification information.
  • step S320 when a file package associated with a certain version identification information is to be acquired in step S320, it is first determined that the file package is cached in the web server 140, and if not, the file server is as in the first embodiment. 150 acquires a file package corresponding to the version identification information and simultaneously caches it in the web server 140.
  • a package is a package that encapsulates multiple web-related files together.
  • multiple web page related files can be compressed into one compressed file package.
  • the package can be a 456efab43.zip file.
  • step S320 one or more files corresponding to the file identification information are obtained from the file package based on the file identification information obtained from step S310.
  • the file identification information includes information of one or more files corresponding to the information.
  • the obtained file identification information is ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js", including "jquery-1.6” .2.min.js", “qtool.js” and “search.js” three files.
  • step S320 the file contents of the three files are obtained from the file package, and processed by step S330.
  • step S330 the file contents of one or more files obtained from the file package are combined, and the combined content is returned to the client 110. Method 300 then ends.
  • a plurality of webpage related files are included in the file package, and each link address may only need to acquire a part of the webpage related files.
  • Multiple web page related files will have different directory structures, which will be included in the file package when the file package is generated. Therefore, when obtaining related files from a package, it is also necessary to know the specific directory information of each file in the package.
  • the complete directory structure information of the associated one or more files is also obtained according to the file identification information.
  • the file identification information includes a common portion of the file identification and one or more different portions.
  • the common portion and the respective different portions in the file identification information are acquired, and the common portion and the respective different portions are separately combined to generate one or more file names as file information.
  • the obtained file identification information is ";static;js;/jquery-1.6.2.min,qtool,search” and the file suffix "js", where the public part is ";static ;js;", and the different parts are “jquery-1.6.2.min", “qtool” and “search”.
  • the generator 212 since the original public part usually contains the symbol "/" to represent the directory, when the parts are combined with the symbol "/”, confusion occurs, so when the common part is generated, other matches (for example, the symbol "; ”) to replace the symbol "/”. Therefore, the generator 212 first replaces the symbol ";” in the common part with "/" before combining, and then the generator 212 combines the common part and each different part and the file suffix name, thereby generating the following three files. name:
  • step S320 the file contents corresponding to the file names are obtained from the decapsulated file packages according to the file name with the complete directory obtained in step S310, and supplied to step S330.
  • step S310 the application identification information is also parsed from the requested link address.
  • application identification information is further included between the domain name portion of the link address and the file identification information, and in step S310, the application identification information may be parsed according to the connection character "/" of each part of the link address.
  • step S320 the application identification information parsed in step S310 is also received, and the corresponding file package is obtained from the file server 150 using the application identification information and the version identification information.
  • the version identification information may not be the result of hash calculation of the file contents of all files, but may be a time stamp. Therefore, if the application identification information and the version identification information are combined, this can completely uniquely identify the file package.
  • the file package acquired from the file server 150 is cached in the network server 140
  • the file package may also be decapsulated (for example, decompressed), for example, the decompressed file is also cached.
  • the process of decapsulating the file package may be omitted, but the file that has been decapsulated may be directly obtained, which further improves the processing efficiency.
  • a plurality of webpage related files corresponding to the link address can be obtained and combined and returned to the client according to the link address sent by the client, thereby reducing the client and the web server.
  • the number of file transfers between 140 increases the speed at which the client parses the web page and also enhances the performance of the web server 140.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the instructions including companion All of the features disclosed in the claims, the abstract and the drawings, and all processes or units of any of the methods or devices disclosed herein are combined.
  • Each feature disclosed in this specification including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • 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 network server and network system 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 4 illustrates a computing device that can implement a network request processing method in accordance with the present invention.
  • the computing device conventionally includes a processor 410 and a computer program product or computer readable medium in the form of a memory 420.
  • the memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above.
  • storage space 430 for program code may include various program code 431 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.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 420 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 431', i.e., code that can be read by, for example, a processor such as 410.

Abstract

本发明公开了一种网络请求处理方法、网络服务器和网络系统。网络服务器适于处理来自客户端的请求,该网络服务器包括:解析器,适于对该请求进行解析,以获取该请求所包括的版本标识信息和文件标识信息;文件处理器,适于获取与该版本标识信息相关联的文件包,并且从该文件包中获取与文件标识信息相对应的一个或者多个文件;以及输出装置,适于组合所获取的一个或者多个文件的文件内容并返回到客户端。本发明还公开了一种在该网络服务器中的网络请求处理方法以及包括该网络服务器的网络系统。

Description

一种网络请求处理方法、网络服务器和网络系统 技术领域
本发明涉及计算机和互联网领域,尤其涉及在网络中的网络内容提供技术。
背景技术
随着互联网络和计算机的普及,越来越多的用户通过互联网来获取信息。互联网的信息一般存储在链接到网络中的服务器上,用户可以访问这些服务器来获取信息。一些网站的访问量也越来越大。例如某些网站的页面浏览量甚至达到了数千万次甚至上亿的级别,因此,对这些页面的任何优化都有助于用户快速获得网页信息以及提高网站性能,当网站访问量巨大时,这种优化就显得尤其有必要。
随着网络技术的发展,用户获取的信息也越来越丰富。现在的网络页面与用户的交互性以及可阅读性也越来越好。例如,在网页中,会采用大量的CSS文件等网页相关文件来定义页面的显示方式以及与用户的交互方式等。当一个网页中包括多个网页相关文件时,客户端在获得该网页并且进行呈现时,会向网站发起多次请求来分别请求多个网页相关文件。由于建立网络请求会消耗较多的时间和负载,因此,这种请求的次数越少越好。
因此,需要一种能够对网页进行优化以便降低服务器负载并提高客户端处理网页的效率的新方案。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的网络请求处理方法、网络服务器和网络系统。
根据本发明的一个方面,提供了一种网络服务器,适于处理来自客户端的请求,该网络服务器包括:解析器,适于对该请求进行解析,以获取该请求所包括的版本标识信息和文件标识信息;文件处理器,适于获取与该版本标识信息相关联的文件包,并且从该文件包中获取与文件标识信息相对应的一个或者多个文件;以及输出装置,适于组 合所获取的一个或者多个文件的文件内容并返回到客户端。
根据本发明的另一个方面,提供了一种网络请求处理方法,该方法适于在网络服务器中执行,以处理来自客户端的请求,该方法包括步骤:对该请求进行解析,以获取该请求所包括的版本标识信息和文件标识信息;获取与该版本标识信息相关联的文件包,并且从文件包中获取与文件标识信息相对应的一个或者多个文件;以及组合所获取的一个或者多个文件的文件内容并返回到所述客户端。
根据本发明的另一个方面,提供了一种网络系统,该网络系统包括根据本发明的网络服务器;与网络服务器通信链接的文件服务器;以及多个客户端,其中客户端向网络服务器发送请求,网络服务器接收该请求,从该请求中解析出版本标识信息和文件标识信息,从文件服务器获取与该版本标识信息相关联的文件包,并且从文件包中获取与该文件标识信息相对应的一个或者多个文件,并且组合该文件的内容并返回给所述客户端。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据本发明的一个方面提供的网络请求处理方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了如本发明的又一个方面提供的所述的计算机程序。
根据本发明的网络服务器和网络请求处理方式,用户通过客户端向网络服务器发送一个专门的请求,就可以从网络服务器返回多个文件的文件内容,从而减少了在客户端和网络服务器之间的文件传输次数。对于在客户端解析处理网页的情况,这提高了客户端处理网页的速度并且提高了服务器的处理性能。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施 方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一个实施例的网络系统的示意图;
图2示出了根据本发明一个实施例的网络服务器的结构示意图;
图3示出了根据本发明一个实施例的网络请求处理方法的流程示意图;
图4示意性地示出了用于执行根据本发明的网络请求处理方法的计算设备的框图;以及
图5示意性地示出了用于保持或者携带实现根据本发明的网络请求处理方法的程序代码的存储单元。
具体实施方式
下面结合附图和具体的实施方式对本发明作进一步的描述。
图1示出了根据本发明一个实施例的网络系统100的示意图。如图1所示,网络系统100包括多个客户端110,120和130、为这些客户端提供各种内容的网络服务器140和文件服务器150。这些设备经由互联网络而相互通信。
在下文中将以客户端110为例来指示所有的客户端。在本发明中,客户端110-130可以是本领域任何可以呈现从网络服务器140获取的网络信息(例如网页以及相关联的文件(例如CSS文件,JS文件和多媒体文件等))的设备,包括但不限于桌面型计算机、笔记本式计算机、个人数字助理、智能移动终端、平板电脑等。客户端110-130中通常运行现代的操作系统,利用操作系统来管理客户端中的硬件资源。客户端110上通常运行有网页浏览器,用于呈现从服务器140获取的网页以及网页相关文件(例如网页中引用的图像,音频和视频等)。
网络服务器140应客户端110的请求而将所请求的网络信息返回客户端110。网络信息通常为网页页面以及在页面中引用的各种文件,例如图像文件,音频和/或视频文件等多媒体文件,以及诸如CSS文件和JS文件之类的网页相关文件。在实践中,当客户端110从网络服务器140请求了网页文件之后,客户端110在解析并呈现该网页文件中的信息时,会随后从网络服务器140网页文件中所引用的文件。
网页中包含多个网页相关文件,例如多个CSS文件。当发布网页 时,会将这些网页相关文件封装为一个文件包,并将这个文件包上传到文件服务器150,同时生成与这个文件包相对应的链接,并插入到网页中,同时将该网页上传到网络服务器140。
用户通过客户端110访问该网络服务器140并获取该网页,随后在客户端110对该网页进行解析时,需要向网络服务器140发送获取与该链接相对应的内容的请求。网络服务器140获取该请求,并从该请求中解析出版本标识信息和文件标识信息。网络服务器140首先确定在网络服务器140本地是否保存有与该版本标识信息相关联的文件包,如果没有,就从文件服务器150获取与该版本标识信息相关联的文件包。随后,网络服务器140从文件包中获取与该文件标识信息相对应的一个或者多个文件,并且组合所述文件的内容并返回给客户端110。
图2示出了根据本发明一个实施例的网络服务器140的结构示意图。如图2所示,网络服务器140包括解析器210、文件处理器220和输出装置230。
网络服务器140在接收到来自客户端的请求时,会将该请求发送给解析器210来处理。解析器210对该请求进行解析,并获取该请求中所包括的版本标识信息和文件标识信息。请求通常为一个链接地址,根据一个示例,该请求例如为:
s0.qhimg.com/;static;js;/jquery-1.6.2.min,qtool,search/456efab43.js。
该请求为专门构造的链接地址,其中“s0.qhimg.com”为网络服务器140的域名。解析器210对该链接地址进行解析,并获取其中的版本标识信息“456efab43”以及文件标识信息“;static;js;/jquery-1.6.2.min,qtool,search”以及文件后缀名“js”。
应当注意的是,根据一种实现方式,在链接地址中,各个部分用“/”字符链接在一起。另外,可选地,多个网页相关文件具有相同的文件后缀名,因此,将文件后缀名链接到版本标识信息之后。解析器210在获取版本标识信息时,可以提取在文件后缀名和最接近的“/”字符之间的内容作为版本标识信息,并且提取在版本标识信息之前,直到链接中距离域名最近的“/”字符之间的内容作为文件标识信息。
根据一个实施方式,版本标识信息是根据文件包中的所有文件的文件内容而计算得到的散列值,此时版本标识信息基本可以用于唯一地标识文件包。
然而,解析器210的实现方式不受限于此,所以可以从链接地址中获取版本标识信息和文件标识信息的方式都在本发明的保护范围之内。
文件处理器220接收解析器210解析出的版本标识信息和文件标识信息,并根据版本标识信息来获得与该版本标识信息相关联的文件包。文件处理器220可以利用多种方式来获得文件包。根据第一个实施方式,文件处理器220可以将该版本标识信息发送给文件服务器150。文件服务器150从中查找与该版本标识信息相对应的文件包,并返回给文件处理器220。根据第二个实施方式,网络服务器140包括存储器240,文件处理器220将先前从文件服务器150获得的文件包与版本标识信息相关联地缓存到存储器240中。因此,当文件处理器要获得与某个版本标识信息相关联的文件包时,会首先从存储器240中查找是否缓存有该文件包,如果没有,则如同第一个实施方式那样,文件处理器220从文件服务器150获取与该版本标识信息相对应的文件包,并同时在存储器240中缓存。
文件包为将多个网页相关文件封装在一起的文件包。例如可以将多个网页相关文件压缩成一个压缩的文件包。例如,针对上面提供的链接地址,文件包可以是456efab43.zip文件,
在获取了文件包之后,文件处理器220会根据从解析器210获得的文件标识信息,从该文件包中获得与文件标识信息相对应的一个或者多个文件。如上所述,文件标识信息包括了与该信息相对应的一个或者多个文件的信息。例如,以上面提供的链接地址为例,获得的文件标识信息为“;static;js;/jquery-1.6.2.min,qtool,search”和文件后缀名“js”,其中包括“jquery-1.6.2.min.js”、“qtool.js”和“search.js”三个文件。文件处理器220会从文件包中获得这三个文件的文件内容,并发送给输出装置230,输出装置230组合从文件包获得的一个或者多个文件的文件内容,并将组合好的内容返回给客户端110。
根据本发明的一个实施例,文件包中包含了多个网页相关文件, 而每个链接地址可能仅仅需要获取其中的一部分网页相关文件。多个网页相关文件会具有不同的目录结构,在生成文件包时,会将这些目录结构同样包含在文件包中。因此,当从文件包中获取相关文件时,同样需要获悉每个文件在文件包中的具体目录信息。
为此,解析器210还包括文件标识生成器212。文件标识生成器212根据文件标识信息来获得相关联的一个或者多个文件的完整目录结构信息。具体而言,文件标识信息包括文件标识的公共部分和一个或者多个不同部分。生成器212获取文件标识信息中的公共部分和各个不同部分,并将公共部分和各个不同部分分别进行组合以生成一个或者多个文件名作为文件信息。
例如,以上面的链接示例为例,获得的文件标识信息为“;static;js;/jquery-1.6.2.min,qtool,search”和文件后缀名“js”,其中公共部分为“;static;js;”,而各个不同部分分别为“jquery-1.6.2.min”、“qtool”和“search”。可选地,由于原先公共部分中通常含有符号“/”来表示目录,当用符号“/”组合各个部分时,会产生混淆,因此在生成公共部分时,会利用其它符合(例如符号“;”)来替换符号“/”。所以生成器212在进行组合之前,首先会将公共部分中的符号“;”替换为“/”,随后,生成器212会组合公共部分和各个不同部分以及文件后缀名,从而生成以下三个文件名:
“/static/js/jquery-1.6.2.min.js”;
“/static/js/qtool.js”;以及
“/static/js/search.js”。
随后,文件处理器220会根据生成器212所获得的带有完整目录的文件名,从解封装的文件包中获取与这些文件名相对应的文件内容,并提供给输出装置230。
可选地,解析器210还从请求的链接地址中解析出应用标识信息。根据一种实施方式,在链接地址的域名部分和文件标识信息之间还包括应用标识信息,解析器210可以根据链接地址的各个部分的连接字符“/”而解析出应用标识信息。文件处理器220还会接收解析器210解析出的应用标识信息,并将利用应用标识信息和版本标识信息一起,从文件服务器150获取对应的文件包。虽然如上所述,单个版本标识 信息就可以唯一标识文件包。但是在一些实施例中,版本标识信息可能并不是所有文件的文件内容进行散列计算的结果,而有可能就是一个时间戳。因此,如果将应用标识信息和版本标识信息相组合,这可以完全唯一地标识文件包。
另外,可选地,当利用存储器240将从文件服务器150获取的文件包进行缓存时,还可以同时将文件包解封装,例如解压缩后的文件也缓存到存储器240中。这样,文件处理器220在后续获取文件包中的内容时,可以省去对文件包进行解封装的过程,而是可以直接获取已经解封装的文件,这进一步提高了处理效率。
根据本发明的网络服务器140,可以根据客户端发送的链接地址,获取与该链接地址相对应的多个网页相关文件并进行组合而返回给客户端,从而减少了在客户端和网络服务器140之间的文件传输次数,提高了客户端解析网页的速度,并且也增强了网络服务器140的性能。
图3示出了根据本发明一个实施例的网络请求处理方法300的流程示意图。该方法300适于在图1所示的网络系统中的网络服务器140中执行,以便处理来自客户端的请求,并且根据请求中的链接地址内容来获取相应的内容返回给客户端。
网络请求处理方法300始于步骤S310。在步骤S310中,对网络服务器140接收到的请求进行解析,并获取该请求中所包括的版本标识信息和文件标识信息。请求通常为一个链接地址,根据一个示例,该请求例如为:
s0.qhimg.com/;static;js;/jquery-1.6.2.min,qtool,search/456efab43.js。
该请求为专门构造的链接地址,其中“s0.qhimg.com”为网络服务器140的域名。在步骤S310中对该链接地址进行解析,并获取其中的版本标识信息“456efab43”以及文件标识信息“;static;js;/jquery-1.6.2.min,qtool,search”以及文件后缀名“js”。
应当注意的是,根据一种实现方式,在链接地址中,各个部分用“/”字符链接在一起。另外,可选地,多个网页相关文件具有相同的文件后缀名,因此,将文件后缀名链接到版本标识信息之后。在获取版本标识信息时,可以提取在文件后缀名和最接近的“/”字符之间的 内容作为版本标识信息,并且提取在版本标识信息之前,直到链接中距离域名最近的“/”字符之间的内容作为文件标识信息。
根据一个实施方式,版本标识信息是根据文件包中的所有文件的文件内容而计算得到的散列值,此时版本标识信息基本可以用于唯一地标识文件包。
然而,步骤S310的实现方式不受限于此,所以可以从链接地址中获取版本标识信息和文件标识信息的方式都在本发明的保护范围之内。
随后,在步骤S320中,接收在步骤S310解析出的版本标识信息和文件标识信息,并根据版本标识信息来获得与该版本标识信息相关联的文件包。步骤S320可以利用多种方式来获得文件包。根据第一个实施方式,可以将该版本标识信息发送给文件服务器150。文件服务器150从中查找与该版本标识信息相对应的文件包,并返回给网络服务器140。根据第二个实施方式,在步骤S320中,将先前从文件服务器150获得的文件包与版本标识信息相关联地缓存到网络服务器140中。因此,当在步骤S320中要获取与某个版本标识信息相关联的文件包时,会首先判断网络服务器140中缓存有该文件包,如果没有,则如同第一个实施方式那样,从文件服务器150获取与该版本标识信息相对应的文件包,并同时在网络服务器140中缓存。
文件包为将多个网页相关文件封装在一起的文件包。例如可以将多个网页相关文件压缩成一个压缩的文件包。例如,针对上面提供的链接地址,文件包可以是456efab43.zip文件,
在获取了文件包之后,在步骤S320中,会根据从步骤S310获得的文件标识信息,从该文件包中获得与文件标识信息相对应的一个或者多个文件。如上所述,文件标识信息包括了与该信息相对应的一个或者多个文件的信息。例如,以上面提供的链接地址为例,获得的文件标识信息为“;static;js;/jquery-1.6.2.min,qtool,search”和文件后缀名“js”,其中包括“jquery-1.6.2.min.js”、“qtool.js”和“search.js”三个文件。随后步骤S320会从文件包中获得这三个文件的文件内容,并由步骤S330进行处理。在步骤S330中,组合从文件包获得的一个或者多个文件的文件内容,并将组合好的内容返回给客户端110。随后方法300结束。
根据本发明的一个实施例,文件包中包含了多个网页相关文件,而每个链接地址可能仅仅需要获取其中的一部分网页相关文件。多个网页相关文件会具有不同的目录结构,在生成文件包时,会将这些目录结构同样包含在文件包中。因此,当从文件包中获取相关文件时,同样需要获悉每个文件在文件包中的具体目录信息。
为此,在步骤S310中,还根据文件标识信息来获得相关联的一个或者多个文件的完整目录结构信息。具体而言,文件标识信息包括文件标识的公共部分和一个或者多个不同部分。在步骤S310中,获取文件标识信息中的公共部分和各个不同部分,并将公共部分和各个不同部分分别进行组合以生成一个或者多个文件名作为文件信息。
例如,以上面的链接示例为例,获得的文件标识信息为“;static;js;/jquery-1.6.2.min,qtool,search”和文件后缀名“js”,其中公共部分为“;static;js;”,而各个不同部分分别为“jquery-1.6.2.min”、“qtool”和“search”。可选地,由于原先公共部分中通常含有符号“/”来表示目录,当用符号“/”组合各个部分时,会产生混淆,因此在生成公共部分时,会利用其它符合(例如符号“;”)来替换符号“/”。所以生成器212在进行组合之前,首先会将公共部分中的符号“;”替换为“/”,随后,生成器212会组合公共部分和各个不同部分以及文件后缀名,从而生成以下三个文件名:
“/static/js/jquery-1.6.2.min.js”;
“/static/js/qtool.js”;以及
“/static/js/search.js”。
随后,在步骤S320中,会根据步骤S310所获得的带有完整目录的文件名,从解封装的文件包中获取与这些文件名相对应的文件内容,并提供给步骤S330。
可选地,在步骤S310中,还从请求的链接地址中解析出应用标识信息。根据一种实施方式,在链接地址的域名部分和文件标识信息之间还包括应用标识信息,在步骤S310中,可以根据链接地址的各个部分的连接字符“/”而解析出应用标识信息。随后,在步骤S320中,还会接收步骤S310解析出的应用标识信息,并将利用应用标识信息和版本标识信息一起,从文件服务器150获取对应的文件包。虽然如上 所述,单个版本标识信息就可以唯一标识文件包。但是在一些实施例中,版本标识信息可能并不是所有文件的文件内容进行散列计算的结果,而有可能就是一个时间戳。因此,如果将应用标识信息和版本标识信息相组合,这可以完全唯一地标识文件包。
另外,可选地,当在网络服务器140中,将从文件服务器150获取的文件包进行缓存时,还可以同时将文件包解封装(例如,解压缩),例如解压缩后的文件也缓存到网络服务器140中。这样,在步骤S320中,在后续获取文件包中的内容时,可以省去对文件包进行解封装的过程,而是可以直接获取已经解封装的文件,这进一步提高了处理效率。
根据本发明的网络请求处理方法300,可以根据客户端发送的链接地址,获取与该链接地址相对应的多个网页相关文件并进行组合而返回给客户端,从而减少了在客户端和网络服务器140之间的文件传输次数,提高了客户端解析网页的速度,并且也增强了网络服务器140的性能。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴 随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网络服务器和网络系统中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图4示出了可以实现根据本发明的网络请求处理方法的计算设备。该计算设备传统上包括处理器410和以存储器420形式的计算机程序产品或者计算机可读介质。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有用于执行上述方法中的任何方法步骤的程序代码431的存储空间430。例如,用于程序代码的存储空间430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码431。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图5所述的便携式或者固定存储单元。该存储单元可以具有与图4的计算设备中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码431’,即可以由例如诸如410之类的处理器读取的代码, 这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。

Claims (15)

  1. 一种网络服务器,适于处理来自客户端的请求,该网络服务器包括:
    解析器,适于对该请求进行解析,以获取该请求所包括的版本标识信息和文件标识信息;
    文件处理器,适于获取与该版本标识信息相关联的文件包,并且从所述文件包中获取与文件标识信息相对应的一个或者多个文件;以及
    输出装置,适于组合所获取的一个或者多个文件的文件内容并返回到所述客户端。
  2. 如权利要求1所述的网络服务器,还包括存储器,以及所述文件处理器判断所述存储器中是否缓存有所述文件包,如果没有,则从与所述网络服务器通信相连的文件服务器获取与所述版本标识信息相关联的文件包。
  3. 如权利要求2所述的网络服务器,其中所述解析器还适于从所述请求中解析出应用标识信息,而且所述文件处理器利用所述应用标识信息和版本标识信息从所述文件服务器获取文件包。
  4. 如权利要求1-3中任一个所述的网络服务器,其中所述解析器还包括文件标识生成器,适于从所述请求中获取文件标识的公共部分和一个或者多个不同部分,对所述公共部分和每个不同部分进行组合以生成一个或者多个文件标识信息。
  5. 如权利要求4所述的网络服务器,其中文件处理器还适于将所获取的文件包以及文件包中包含的文件一起存储到存储器中,而且所述文件标识信息为文件名。
  6. 如权利要求1-5中任一个所述的网络服务器,其中所述版本标识信息为根据所述文件包中的所有文件的文件内容计算得到的散列值。
  7. 一种网络请求处理方法,适于在网络服务器中处理来自客户端的请求,该方法包括步骤:
    对该请求进行解析,以获取该请求所包括的版本标识信息和文件标识信息;
    获取与该版本标识信息相关联的文件包,并且从所述文件包中获取与文件标识信息相对应的一个或者多个文件;以及
    组合所获取的一个或者多个文件的文件内容并返回到所述客户端。
  8. 如权利要求7所述的网络请求处理方法,其中获取文件包的步骤还包括:判断网络服务器中是否缓存有该文件包,如果没有,则从与所述网络服务器通信相连的文件服务器获取与所述版本标识信息相关联的文件包。
  9. 如权利要求8所述的网络请求处理方法,其中所述对该请求进行解析的步骤还包括:从所述请求中解析出应用标识信息,而且所述获取文件包的步骤还包括:利用所述应用标识信息和版本标识信息从所述文件服务器获取文件包。
  10. 如权利要求7-9中任一个所述的网络请求处理方法,其中所述对请求进行解析的步骤还包括:从所述请求中获取文件标识的公共部分和一个或者多个不同部分,并且对所述公共部分和每个不同部分进行组合以生成一个或者多个文件标识信息。
  11. 如权利要求10所述的网络请求处理方法,还包括步骤:
    将所获取的文件包以及文件包中包含的文件一起存储到网络服务器中,而且所述文件标识信息为文件名。
  12. 如权利要求7-11中任一个所述的网络请求处理方法,其中所述版本标识信息为根据所述文件包中的所有文件的文件内容计算得到的散列值。
  13. 一种网络系统,包括:
    如权利要求1-7中任一个所述的网络服务器;
    与所述网络服务器通信链接的文件服务器;以及
    多个客户端,
    其中所述客户端向所述网络服务器发送请求,所述网络服务器接收该请求,从所述请求中解析出版本标识信息和文件标识信息,从所述文件服务器获取与该版本标识信息相关联的文件包,并且从所述文件包中获取与该文件标识信息相对应的一个或者多个文件,并且组合所述文件的内容并返回给所述客户端。
  14. 一种计算机程序,包括计算机可读代码,当所述计算机可读 代码在计算设备上运行时,导致所述计算设备执行根据权利要求7-12中的任一个所述的网络请求处理方法。
  15. 一种计算机可读介质,其中存储了如权利要求14所述的计算机程序。
PCT/CN2015/076114 2014-04-08 2015-04-08 一种网络请求处理方法、网络服务器和网络系统 WO2015154682A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410138846.1A CN104980464B (zh) 2014-04-08 2014-04-08 一种网络请求处理方法、网络服务器和网络系统
CN201410138846.1 2014-04-08

Publications (1)

Publication Number Publication Date
WO2015154682A1 true WO2015154682A1 (zh) 2015-10-15

Family

ID=54276564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076114 WO2015154682A1 (zh) 2014-04-08 2015-04-08 一种网络请求处理方法、网络服务器和网络系统

Country Status (2)

Country Link
CN (1) CN104980464B (zh)
WO (1) WO2015154682A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240653A (zh) * 2019-12-31 2020-06-05 瑞庭网络技术(上海)有限公司 接口文档生成方法、装置及可读存储介质
CN111723062A (zh) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 一种文件同步方法、装置及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610628B (zh) * 2016-01-20 2019-05-03 北京智驾互联信息服务有限公司 计算机系统
CN106055383A (zh) * 2016-05-26 2016-10-26 北京京东尚科信息技术有限公司 请求处理方法和装置
CN108984189B (zh) * 2017-05-31 2022-04-12 北京京东尚科信息技术有限公司 模块解析的方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010141465A1 (en) * 2009-06-03 2010-12-09 Codekko Software, Inc. Web page optimization
CN102109989A (zh) * 2009-12-29 2011-06-29 阿里巴巴集团控股有限公司 一种控制浏览器缓存的方法、装置和系统
CN102480397A (zh) * 2010-11-26 2012-05-30 金蝶软件(中国)有限公司 访问互联网页面的方法及设备
CN103595782A (zh) * 2013-11-11 2014-02-19 中安消技术有限公司 一种分布式存储系统及其下载文件的方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081633A (zh) * 2009-11-27 2011-06-01 阿里巴巴集团控股有限公司 一种JavaScript文件的管理方法、装置和系统
CN106709073A (zh) * 2013-12-30 2017-05-24 北京奇虎科技有限公司 一种浏览器中进行消息推送的方法和一种浏览器终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010141465A1 (en) * 2009-06-03 2010-12-09 Codekko Software, Inc. Web page optimization
CN102109989A (zh) * 2009-12-29 2011-06-29 阿里巴巴集团控股有限公司 一种控制浏览器缓存的方法、装置和系统
CN102480397A (zh) * 2010-11-26 2012-05-30 金蝶软件(中国)有限公司 访问互联网页面的方法及设备
CN103595782A (zh) * 2013-11-11 2014-02-19 中安消技术有限公司 一种分布式存储系统及其下载文件的方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240653A (zh) * 2019-12-31 2020-06-05 瑞庭网络技术(上海)有限公司 接口文档生成方法、装置及可读存储介质
CN111240653B (zh) * 2019-12-31 2024-02-02 瑞庭网络技术(上海)有限公司 接口文档生成方法、装置及可读存储介质
CN111723062A (zh) * 2020-06-28 2020-09-29 天津联想协同科技有限公司 一种文件同步方法、装置及存储介质

Also Published As

Publication number Publication date
CN104980464A (zh) 2015-10-14
CN104980464B (zh) 2019-07-23

Similar Documents

Publication Publication Date Title
KR101824222B1 (ko) 동적 컨텐츠 및 스테일 컨텐츠를 포함하는 웹사이트들의 고속 렌더링
WO2015043383A1 (zh) 一种进行网页加载的方法、装置和浏览器
WO2015196907A1 (zh) 一种挖掘用户需求的搜索推送方法和装置
US8812737B2 (en) Context-specific unicode characters in shortened URLs
US8135750B2 (en) Efficiently describing relationships between resources
US9547721B2 (en) Native application search results
US7797350B2 (en) System and method for processing downloaded data
US8250466B2 (en) Computer and method for converting a web page
WO2015154682A1 (zh) 一种网络请求处理方法、网络服务器和网络系统
TWI592807B (zh) Method and device for web style address merge
WO2016070718A1 (zh) 进行文件下载的方法、装置和浏览器
TW201222283A (en) On-demand translation of application text
JP2018507480A (ja) インスタントメッセージングのチャットレコードを保存する方法及び装置
WO2017076315A1 (zh) 页面显示方法、装置、系统以及页面显示辅助方法、装置
WO2015081848A1 (zh) 社交化扩展搜索方法及相应的装置、系统
WO2016100541A1 (en) Network based static font subset management
KR102023147B1 (ko) 대응하는 리소스에 대한 애플리케이션 부분적 딥 링크
WO2015154680A1 (zh) 一种文件处理方法、设备和网络系统
US20070124667A1 (en) Verifying content of resources in markup language documents
US8984028B2 (en) Systems and methods for storing data and eliminating redundancy
WO2015154681A1 (zh) 一种链接地址生成方法、设备和服务器
US10503773B2 (en) Tagging of documents and other resources to enhance their searchability
WO2015154683A1 (zh) 一种文件发布系统、文件发布方法和网络服务器
WO2015154678A1 (zh) 一种文件处理方法、设备和网络系统
US20140063339A1 (en) In Browser Muxing and Demuxing For Video Playback

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

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

Country of ref document: EP

Kind code of ref document: A1