Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, server, client and system for processing script files

A script file and server technology, which is applied in the field of computer networks, can solve problems such as multi-time, increased system task burden and communication transmission burden, long loading time, etc., to achieve the effect of accelerating loading speed, reducing system task burden and communication transmission burden

Active Publication Date: 2016-08-24
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It takes a lot of time to establish a TCP connection. With the increase of the dynamic effect of the webpage, the number of external Javascript sub-resources contained in the webpage is also increasing.
In the prior art, every time an external Javascript sub-resource is obtained, a TCP connection needs to be established with the website, resulting in the problem of slow loading of the webpage and too long loading time
In addition, each client needs to establish a TCP connection with the website to download Javascript sub-resources when loading the webpage of the website, which causes a significant increase in the system task burden and communication transmission burden of the website, and further leads to a slow loading speed of the webpage

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, server, client and system for processing script files
  • Method, server, client and system for processing script files
  • Method, server, client and system for processing script files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0056] Such as figure 1 Shown is a structural diagram of a server for processing script files according to an embodiment of the present invention. The server 100 includes: a proxy module 110 , a cache module 120 and a script file resource optimization module 130 .

[0057] Proxy module 110 is suitable for forwarding the webpage access request of client 200 to the website to which the webpage that requests to visit belongs, receive...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a script file processing method, a server, a client and a system. The method includes the steps that the server sends a webpage visit request of the client to a website which a webpage belongs to; response information returned from the website is received; whether a script file sub-resource of the webpage is cached in the server is judged; if the result is negative, the response information is sent to the client, a script file sub-resource request sent by the client is sent to the website, the returned script file sub-resource is received and sent to the client, and the script file sub-resource is optimized and then cached; if the result is positive, the response information is revised according to the cached content, the revised response information is sent to the client, a script file sub-resource request sent by the client is received, and the corresponding optimized script file sub-resource is searched and then returned to the client. The problem that the loading speed of the webpage of the client is low is solved, and the advantages that the loading speed of the webpage of the client is enhanced and load of the website is reduced are achieved.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method for processing script files, a server, a client and a system. Background technique [0002] In the prior art, the architecture related to the terminal browser is a C / S (client / server, Client / Server) architecture. In this architecture, the terminal browser as the client has a rendering engine. When the client requests to access the page and the server returns the page resource, the client's rendering engine renders the page locally. In this architecture, the server (also known as "cloud") is usually a processing module for proxy plus cache. The client's request is sent to the website through the server, and the response returned from the website is also returned to the client through the server. After the client receives the webpage information returned by the server, it will render it through the browser rendering engine to present the rendered page. page. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 孙涛
Owner BEIJING QIHOO TECH CO LTD