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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com