Method for downloading files in browser, browser client and device
A browser client and browser technology, applied in the Internet field, can solve the problems of different download functions and download interfaces, inconvenient for users to process downloaded files, etc., and achieve the effect of facilitating subsequent processing.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] refer to figure 1 , which shows a schematic flowchart of a method for downloading files in a browser according to the present invention, which may specifically include:
[0066] Step 110, judging whether the network request sent by the current kernel of the browser is a download request; if the network request sent by the current kernel of the browser is a download request, then enter step 120;
[0067] In practical applications, when a multi-core browser uses a certain kernel to access a webpage, if the download button on the webpage is clicked, the browser will be triggered to send a download request to the server, but for the browser kernel, All its visits to the website are sent to the server in the form of network requests, so the present invention needs to judge whether the network request sent by the browser kernel is a download request, and whether it needs to call the download component of the kernel to download data from the server. Then, if it is judged that...
Embodiment 2
[0132] refer to figure 2 , which shows a schematic flowchart of a method for downloading files in a browser according to the present invention, which may specifically include:
[0133] Step 210, judging whether the network request sent by the current kernel of the browser is a download request; if the network request sent by the current kernel of the browser is a download request, then enter step 120;
[0134] If the network request sent by the browser's current kernel is not a download request, it will be called to obtain the corresponding web page data, which will be rendered by the browser kernel.
[0135] Step 220, intercepting the start of the download component of the current kernel, starting a second download component independent of the kernel through the browser interface, and transferring the download request to the second download component;
[0136] Step 230, the second download component downloads the corresponding file according to the download request and disp...
Embodiment 3
[0153] refer to image 3 , which shows a schematic structural diagram of a browser client in the present invention, which may specifically include:
[0154] A network component 310, adapted to send a network request to the server;
[0155] The second download component 320 specifically includes:
[0156] Judging module 321 is suitable for judging whether the network request sent by the current kernel of the browser is a download request;
[0157] Enable module 322, adapted to if the network request sent by the current kernel of the browser is a download request, then intercept the start of the download component of the current kernel, start a second download component independent of the kernel through the browser interface, and send the The download request is transferred to the second download component;
[0158] The download module 323 is suitable for the second download component to download the corresponding file according to the download request and display the file in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


