Method for downloading file through browser and browser

A file download and browser technology, applied in the Internet field, can solve the problems of indistinguishable, digital, inconvenient management of downloaded files, etc.

Inactive Publication Date: 2014-04-02
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, the default name of the downloaded file on the web page is often a long string of garbled characters, numbers, etc. When users download too much, it often happens that they cannot be found or cannot be identified...

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 file through browser and browser
  • Method for downloading file through browser and browser
  • Method for downloading file through browser and browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0106] The embodiment of the present invention provides a method for downloading files through a browser. This method improves the browser.

[0107] figure 1 It is a flowchart of a method for downloading files through a browser according to an embodiment of the present invention, and the method includes steps S102 to S108.

[0108] S102: Determine that the file name of the file to be downloaded in the browser is in a preset string format.

[0109] S104: Obtain webpage content of the browser webpage to which the file to be downloaded belongs.

[0110] S106: Generate a new file name for the file to be downloaded according to the web page element of the file to be downloaded in the web page content.

[0111] S108: Perform a download operation, and save the downloaded file with a new file name.

[0112] The embodiment of the present invention provides a method for downloading a file through a browser. When the user selects the file name to be downloaded in a preset string format, the user c...

Embodiment 2

[0114] This embodiment is a specific application scenario of the first embodiment above. Through this embodiment, the method provided by the present invention can be explained more clearly and specifically.

[0115] figure 2 It is a flowchart of a specific method for downloading files through a browser according to an embodiment of the present invention. The method includes steps S201 to S214.

[0116] It should be noted that, in this embodiment, a user logging in a cloud disk is used as an example to describe the method provided in this embodiment in detail. In this embodiment, the browser and the cloud disk use the same account system. Therefore, if the user is logged in in the browser, it is equivalent to logging in to the cloud disk at the same time.

[0117] First, step S201 is executed to receive the file link selected by the user to be downloaded. In this embodiment, the user can select the file to be downloaded in the browser page.

[0118] Next, step S202 is executed, that ...

Embodiment 3

[0177] Figure 4 It is a structural block diagram of a browser provided by an embodiment of the present invention, and the browser 400 includes:

[0178] The file name determination module 401 is configured to determine that the file name of the file to be downloaded in the browser is in a preset string format;

[0179] The content obtaining module 402 is configured to obtain the webpage content of the browser webpage to which the file to be downloaded belongs;

[0180] The file name generating module 403 is configured to generate a new file name for the file to be downloaded according to the web page elements of the file to be downloaded in the web content;

[0181] The file download module 404 is configured to perform a download operation;

[0182] The file storage module 405 is configured to save the downloaded file with a new file name.

[0183] Optionally, the file name judgment module 401 is configured as:

[0184] Obtain the file name of the downloaded file corresponding to the sp...

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 provides a method for downloading a file through a browser and the browser. The method comprises the following steps of judging that a filename of a file to be downloaded in the browser is in a preset character string format; acquiring page content of a browser page to which the file to be downloaded belongs; generating a new filename for the file to be downloaded according to page elements about the file to be downloaded in the page content; executing download operation, and saving the downloaded file under the new filename. By the method, the new filename can be generated for the file to be downloaded according to the page content of the page in which the file to be downloaded is positioned, and the regenerated filename has readability, so that the file downloaded through the browser is convenient to manage, the filename is generated according to page information and has high readability, a user conveniently distinguishes and searches files, and user experience can be improved.

Description

Technical field [0001] The present invention relates to the field of Internet technology, and in particular to a method for downloading files through a browser and a browser. Background technique [0002] A browser is a software that displays files in a web server or file system and allows users to interact with the files. With the rapid development of the Internet today, various browsers have become essential software for users to surf the Internet. In addition to browsing the web, users often download the resources provided on the web via the browser, such as documents, songs, software, etc. [0003] In the current situation, the file downloaded by the user through the browser will be saved in the browser's default download directory or the user's designated path, and if the user does not manually rename it, the file will generally be saved under the default name. In many cases, the default name of a file provided for download on a web page is often a long string of garbled cha...

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
IPC IPC(8): G06F17/30
CPCG06F16/986H04L67/06
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