Method for downloading files by browser, browser client and device

A browser client and browser technology, applied in the Internet field, can solve the problems of download failure and inability to download the download component.

Inactive Publication Date: 2018-03-02
BEIJING QIHOO TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the limitation of the web page format, for example, when the ie kernel is switched to the download of the chrome kernel, the download link of ie cannot be downloaded for the chrome kernel, and there will be a situation where the download cannot be performed; The number of links is limited. During the process of switching download components, the same host will still connect to the server multiple times. The server will prohibit the download of the switched download component, and the download of the switched download component will also fail.

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 for downloading files by browser, browser client and device
  • Method for downloading files by browser, browser client and device
  • Method for downloading files by browser, browser client and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0082] refer to figure 1 , which shows a schematic flowchart of a browser information sharing method of the present invention. Specifically can include:

[0083] Step 110, after the current kernel of the browser triggers the download link, obtain the download failure list;

[0084] In the embodiment of the present invention, a download failure list can be constructed, and the download failure list is a download component that switches the download link from the current kernel to other kernels after a kernel of the dual-core or multi-core browser triggers the download link, or switches the download link from the current kernel. When the kernel is switched to the browser-independent download component for downloading, if the download fails, the link will record the switching failure in the download failure list.

[0085] Of course, the download failure list of the present invention can be maintained in the cloud server, and the download failure list of the cloud server can be ...

Embodiment 2

[0107] refer to figure 2 , which shows a schematic flowchart of a method for sharing browser information in the present invention, which may specifically include:

[0108] Step 210, after the current kernel of the browser triggers the download link, obtain the download failure list;

[0109] In the embodiment of the present invention, the download failure list corresponding to the download link triggered by the ie kernel is shown in Table 3:

[0110]

[0111] Table three

[0112] In the embodiment of the present invention, in the list of download failures, the primary domain name where the download link is located is used as the key to switch the records of download failures.

[0113] Step 220, extracting the main domain name of the download link, matching the main domain name with the main domain name in the download failure list; if the main domain name does not match the main domain name in the download failure list, then enter step 221, If the primary domain name ma...

Embodiment 3

[0149] refer to image 3 , which shows a schematic flowchart of a method for sharing browser information in the present invention, which may specifically include:

[0150] Step 310, judging whether the link triggered by the current kernel of the browser is a download link.

[0151] In the embodiment of the present invention, for a link triggered by a browser, it is first necessary to determine whether it is a download link.

[0152] Preferably, said judging whether the link triggered by the current kernel of the browser is a download link comprises:

[0153] Substep 311, according to the value of the file type field in the HTTP response sent by the server for the HTTP request fed back by the current kernel, when the value of the file type field cannot be resolved to the type displayed in the page by the browser kernel, then judge The link touched by the current core of the browser is a download link.

[0154] When the browser's kernel sends a network request, it generally f...

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 method for downloading a file through a browser, and relates to the technical field of browsers. The method includes the steps that after the current kernel of the browser triggers a downloading link, a downloading failure list is obtained; according to the downloading failure list, whether to switch a downloading module of another kernel or switch to a downloading module independent of the browser is selected and determined, and the downloading process is executed according to the downloading link; after the switched downloading module fails to execute the downloading process according to the downloading link, the state of the downloading failure is updated to the downloading failure list. Therefore, the problem that when a certain link is downloaded in the switched kernel, downloading fails all the time is solved, and the method has the advantages that after the kernel triggers the downloading link, the switching action likely to fail in downloading is not executed, the downloading failure caused by downloading module switch is avoided, and the switching state can be corrected intelligently.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method for downloading files by a browser, a browser client and a device with the browser client. Background technique [0002] A browser refers to a software that can display the content of HTML (HyperText Mark-up Language, HyperText Mark-up Language)) files on a web server or file system, and allows users to interact with these files. The web browser mainly interacts with the web server and obtains web pages through the HTTP protocol (Hypertext transfer protocol, Hypertext Transfer Protocol). These web pages are specified by URL (Uniform Resource Locator), and the file format is usually HTML (Hypertext Markup Language ,Hypertext Markup Language). The browser can also provide resource upload and download functions. [0003] Because the format of the webpage is not uniform now, different websites use different formats to edit the content of the webpage, so in order to ma...

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): G06F17/30
CPCG06F9/44568G06F16/957
Inventor 杨晓兵
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products