File downloading method and device, equipment, storage medium and computer program product
By calling the download acceleration plug-in in the browser, the problem of slow file download speed in the existing technology is solved, and faster download speed and better user experience are achieved.
Patent Information
- Application Number
- CN202510067603.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-02
AI Technical Summary
The existing file download method downloads files separately through the browser's network process, resulting in limited download speed and poor user experience.
Provides a file download method, which determines the file to be downloaded by responding to the file download request, and calls the download acceleration plug-in built-in by the browser. The plug-in is an independent process relative to the browser. Through the plug-in, the file to be downloaded to be downloaded is improved.
By calling the browser's built-in download acceleration plug-in, it can significantly improve file download speed and thus improve user experience.
Smart Images

Figure CN119922182A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a file downloading method, device, equipment, storage medium and computer program product. Background Art
[0002] Currently, in browsers, downloading files is an important function of the browser and a scenario that users use frequently. The existing file downloading method usually downloads files separately through the browser's network process, and the download speed is limited, resulting in slow download speed and poor user experience. Summary of the invention
[0003] The main purpose of the present application is to provide a file downloading method, apparatus, device, storage medium and computer program product, aiming to solve the technical problem that the existing file downloading method usually downloads files separately through the network process of the browser, the download speed is limited, and thus there are defects such as slow download speed and poor user experience.
[0004] To achieve the above object, the present application provides a file downloading method, the file downloading method comprising:
[0005] In response to a file download request, determining a file to be downloaded corresponding to the file download request;
[0006] Calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser;
[0007] The file to be downloaded is downloaded through the download acceleration plug-in to obtain a download completion file.
[0008] Optionally, before calling the download acceleration plug-in built into the browser, the method further includes:
[0009] Pre-parse the file to be downloaded to obtain the file size of the file to be downloaded:
[0010] Accordingly, the calling of the built-in download acceleration plug-in of the browser includes:
[0011] If the file size is larger than a preset threshold, a download acceleration plug-in built into the browser is called.
[0012] Optionally, pre-parsing the file to be downloaded to obtain the file size of the file to be downloaded includes:
[0013] Parsing the file to be downloaded to obtain a uniform resource locator of the file to be downloaded;
[0014] converting the uniform resource locator into an Internet Protocol address through a browser's network process;
[0015] The file size of the file to be downloaded is requested from the server corresponding to the Internet Protocol address through the network process of the browser.
[0016] Optionally, after pre-parsing the file to be downloaded and obtaining the file size of the file to be downloaded, the method further includes:
[0017] If the file size is less than or equal to a preset threshold, calling the network process of the browser;
[0018] The file to be downloaded is downloaded through the network process of the browser to obtain a download completed file.
[0019] Optionally, calling a download acceleration plug-in built into the browser includes:
[0020] Generate a download task corresponding to the file to be downloaded;
[0021] Based on the download task, the download acceleration plug-in built into the browser is called through a remote procedure call mechanism.
[0022] Optionally, after downloading the file to be downloaded through the download acceleration plug-in and obtaining the downloaded file, the method further includes:
[0023] Receiving the download result returned by the download acceleration plug-in via a remote procedure call message;
[0024] The download result is displayed on the user interaction interface of the browser.
[0025] Optionally, downloading the to-be-downloaded file through the download acceleration plug-in to obtain a download completed file includes:
[0026] Obtain the file type of the file to be downloaded;
[0027] The file to be downloaded is downloaded through the download acceleration plug-in based on the file type to obtain a download completion file.
[0028] Optionally, downloading the file to be downloaded by using the download acceleration plug-in based on the file type to obtain a download completion file includes:
[0029] If the file type is a hypertext transfer protocol type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block;
[0030] Downloading the first data block from the original download site corresponding to the file to be downloaded through the original acceleration node cluster;
[0031] Downloading the second data block from other data sources through a smart acceleration node cluster, wherein the other data sources are data sources other than the original download site;
[0032] The first data block and the second data block are assembled to obtain a download completion file.
[0033] Optionally, downloading the second data block from other data sources through the intelligent acceleration node cluster includes:
[0034] Selecting a download acceleration method through an intelligent acceleration node cluster, wherein the download acceleration method includes at least one of peer-to-peer network acceleration, content distribution network acceleration, and mirror acceleration;
[0035] The second data block is downloaded from the corresponding data source based on the download acceleration method.
[0036] Optionally, downloading the file to be downloaded by using the download acceleration plug-in based on the file type to obtain a download completion file includes:
[0037] If the file type is a bitstream file type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block;
[0038] Downloading the first data block through a bitstream seed cluster, and downloading the second data block through a content distribution network acceleration node cluster;
[0039] The first data block and the second data block are assembled to obtain a download completion file.
[0040] Optionally, downloading the first data block through a bitstream seed cluster, and downloading the second data block through a content distribution network acceleration node cluster, includes:
[0041] Selecting a peer node from a bitstream seed cluster, and downloading the first data block through the peer node;
[0042] A content distribution network node is selected from the content distribution network acceleration node cluster, and the second data block is downloaded through the content distribution network node.
[0043] In addition, to achieve the above purpose, the present application also proposes a file downloading device, the file downloading device comprising:
[0044] A file determination module, configured to determine, in response to a file download request, a file to be downloaded corresponding to the file download request;
[0045] A plug-in calling module, used to call a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser;
[0046] The file download module is used to download the file to be downloaded through the download acceleration plug-in to obtain the download completion file.
[0047] Optionally, the file downloading device further includes:
[0048] A file parsing module, used for pre-parsing the file to be downloaded to obtain the file size of the file to be downloaded;
[0049] Correspondingly, the file download module is also used to call the download acceleration plug-in built into the browser if the file size is greater than a preset threshold.
[0050] Optionally, the file parsing module is further used to parse the file to be downloaded to obtain a uniform resource locator of the file to be downloaded; convert the uniform resource locator into an Internet Protocol address through the browser's network process; and request the file size of the file to be downloaded from a server corresponding to the Internet Protocol address through the browser's network process.
[0051] Optionally, the file download module is further used to call the network process of the browser if the file size is less than or equal to a preset threshold; download the file to be downloaded through the network process of the browser to obtain a download completion file.
[0052] Optionally, the plug-in calling module is further used to generate a download task corresponding to the file to be downloaded; and based on the download task, call the download acceleration plug-in built into the browser through a remote procedure call mechanism.
[0053] Optionally, the file downloading device further includes:
[0054] The result display module is used to receive the download result returned by the download acceleration plug-in through the remote procedure call message; and display the download result on the user interaction interface of the browser.
[0055] In addition, to achieve the above objectives, the present application also proposes a file downloading device, which includes a memory, a processor, and a file downloading program stored in the memory and executable on the processor, wherein the file downloading program is configured to implement the file downloading method described above.
[0056] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which a file download program is stored, and when the file download program is executed by a processor, the file download method as described above is implemented.
[0057] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a file downloading program, and when the file downloading program is executed by a processor, it implements the file downloading method described above.
[0058] One or more technical solutions proposed in this application have at least the following technical effects:
[0059] In the present application, a method is disclosed of responding to a file download request, determining the file to be downloaded corresponding to the file download request, calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser, downloading the file to be downloaded through the download acceleration plug-in, and obtaining a download completion file; since the present application downloads files by calling the download acceleration plug-in built into the browser, the download acceleration plug-in is an independent process relative to the browser, thereby being able to increase the file download speed and thus improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0061] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0062] Figure 1 This is a flow chart of the first embodiment of the method for downloading application documents;
[0063] Figure 2 This is a flow chart of the second embodiment of the method for downloading application documents;
[0064] Figure 3 A specific flow chart of an embodiment of a method for downloading application documents;
[0065] Figure 4 This is a flowchart of the third embodiment of the method for downloading application documents;
[0066] Figure 5 This is a schematic diagram of the module structure of the file downloading device according to the embodiment of the present application;
[0067] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the file downloading method in the embodiment of the present application.
[0068] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0069] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0070] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0071] Currently, in browsers, downloading files is an important function of the browser and a scenario that users use frequently. The existing file download method usually downloads files separately through the browser's network process, and the download speed is limited. However, with the development of the Internet, the quality of video and film information has also been greatly improved, and the size of files has also become larger. Therefore, the existing file download method has the defects of slow download speed and poor user experience.
[0072] Therefore, in order to overcome the above-mentioned defects, the present application provides a solution, which includes: responding to a file download request, determining the file to be downloaded corresponding to the file download request, calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser, downloading the file to be downloaded through the download acceleration plug-in, and obtaining the download completion file; since the present application downloads the file by calling the download acceleration plug-in built into the browser, the download acceleration plug-in is an independent process relative to the browser, thereby being able to increase the file download speed and thus improve the user experience.
[0073] It should be noted that the execution subject of this embodiment can be a file downloading device with data processing, network communication and program running functions, such as a computer, or other electronic devices that can achieve the same or similar functions, and this embodiment does not impose any restrictions on this.
[0074] Based on this, the present application embodiment provides a file download method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the method for downloading documents of this application.
[0075] In a first embodiment, the file downloading method includes:
[0076] Step S10: In response to a file download request, determining a file to be downloaded corresponding to the file download request.
[0077] It should be understood that in order to clarify the specific file that the user wants to download and provide a target for subsequent download operations. In this embodiment, in response to a file download request, a file to be downloaded corresponding to the file download request is determined. The file download request may refer to a file request initiated by a user through a browser to obtain and save the file locally from the network. The file to be downloaded may refer to a specific file specified in the file download request that needs to be obtained from the network.
[0078] In a specific implementation, when a user clicks a download link through a browser, a file download request is issued, and the browser can respond to the file download request and parse out a Uniform Resource Locator (URL) of the file to be downloaded specified in the file download request.
[0079] Step S20: calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser.
[0080] It is understandable that in order to increase the download speed and reduce the coupling with the main process of the browser, the stability and response speed of the browser are improved. In this embodiment, the built-in download acceleration plug-in of the browser is called for downloading. Among them, the download acceleration plug-in may refer to a software component that is integrated or can be integrated into the browser, which is intended to improve the speed and efficiency of file downloads. In this embodiment, the download acceleration plug-in may refer to an independent process relative to the main process of the browser. An independent process may refer to an independently running program instance in a computer operating system, which has its own memory space and system resources and is relatively isolated from other processes. In this embodiment, the download acceleration plug-in runs as an independent process, which can reduce the coupling with the main process of the browser.
[0081] In the specific implementation, after determining the file to be downloaded, the browser can decide whether to call the built-in download acceleration plug-in to handle the download task according to the configuration or user selection. This plug-in runs as an independent process and is relatively isolated from the main browser process.
[0082] Furthermore, in order to achieve low-coupling communication between the browser and the download acceleration plug-in and improve the flexibility and scalability of the system, the step S20 includes: generating a download task corresponding to the file to be downloaded; and calling the download acceleration plug-in built into the browser through a remote procedure call mechanism based on the download task. The download task may refer to a task entity generated according to a file download request, including information about the file to be downloaded (such as URL, file name, expected size, etc.) and download operation related parameters (such as download path, whether to use acceleration, etc.). Remote Procedure Call (RPC) may refer to a protocol that allows a program (browser) to call a procedure or function in another address space.
[0083] In the specific implementation, the browser generates a download task based on the parsed URL of the file to be downloaded and the user's download preferences (such as download path, whether to use acceleration, etc.). If the download task specifies the use of an acceleration plug-in or the file size of the file to be downloaded is larger than the preset threshold, the browser can call the built-in download acceleration plug-in through the RPC mechanism. This plug-in runs as an independent process and is relatively isolated from the main browser process.
[0084] Step S30: downloading the file to be downloaded through the download acceleration plug-in to obtain a download completion file.
[0085] It should be understood that in order to utilize the efficient downloading capability of the download acceleration plug-in and quickly obtain a complete download completion file, in this embodiment, the download acceleration plug-in is used to download the file to be downloaded to obtain the download completion file, wherein the download completion file may refer to a complete file formed after all the data blocks to be downloaded are successfully downloaded and correctly assembled.
[0086] In a specific implementation, after receiving the download task, the download acceleration plug-in can start to execute the download operation. The specific download operation may include steps such as establishing a network connection, sending an HTTP request, receiving a server response, and saving the file locally, which is not limited in this embodiment.
[0087] Furthermore, in order to facilitate the user to understand the download result, after step S30, the process further includes: receiving the download result sent back by the download acceleration plug-in through a remote procedure call message; and displaying the download result on the user interaction interface of the browser. The download result may refer to the general term for information such as whether the download is successful, the file size, and the download speed, which is sent back to the browser through an RPC message after the download acceleration plug-in completes the file download.
[0088] In a specific implementation, after the download acceleration plug-in completes the download task, it can send the download result (such as success, file size, download speed, etc.) back to the browser through an RPC message. After receiving the download result sent back by the download acceleration plug-in, the browser can display it on the browser's user interface (such as the download manager, status bar, etc.).
[0089] This embodiment downloads files by calling a download acceleration plug-in built into the browser. The download acceleration plug-in is an independent process relative to the browser, thereby increasing the file download speed and further improving the user experience.
[0090] Reference Figure 2 , Figure 2 This is a flow chart of the second embodiment of the method for downloading application files. Figure 1 The first embodiment shown proposes a second embodiment of the method for downloading files of the present application.
[0091] In the second embodiment, before step S20, the method further includes:
[0092] Step S11: pre-parse the file to be downloaded to obtain the file size of the file to be downloaded.
[0093] Accordingly, the step S20 includes:
[0094] Step S20': If the file size is larger than a preset threshold, a download acceleration plug-in built into the browser is called.
[0095] It should be understood that in order to accurately determine whether it is necessary to call a download acceleration plug-in for download acceleration, this embodiment will pre-parse the file to be downloaded before calling the built-in download acceleration plug-in of the browser to obtain the file size of the file to be downloaded. If the file size is greater than a preset threshold, the built-in download acceleration plug-in of the browser is called. Among them, pre-parsing can refer to the process of preliminarily parsing the relevant information of the file (such as file size, type, server address, etc.) before officially downloading the file. The file size can refer to the actual data size of the file to be downloaded, which can be in bytes. The preset threshold can be a pre-set value used to determine whether the file to be downloaded needs to be downloaded using a download acceleration plug-in. If the file size exceeds this threshold, the acceleration plug-in is called.
[0096] In the specific implementation, before officially downloading the file, the browser can send an HTTP HEAD request to the server. This request will not download the content of the file, but only obtain the file's metadata (such as file size, type, etc.). The browser can determine whether the size of the file to be downloaded exceeds the preset threshold (such as 10MB). If it exceeds this threshold, the built-in download acceleration plug-in will be called to download the file.
[0097] Furthermore, in order to improve the accuracy of pre-analysis, the step S11 includes: parsing the file to be downloaded to obtain the uniform resource locator of the file to be downloaded; converting the uniform resource locator into an Internet Protocol address through the network process of the browser; and requesting the file size of the file to be downloaded from the server corresponding to the Internet Protocol address through the network process of the browser. Among them, the uniform resource locator (Uniform Resource Locator, URL) can be used to identify the address of a resource on the network. In a specific implementation, the URL can be a string containing information such as a protocol, domain name, and path. Internet Protocol Address (Internet Protocol Address, IP Address): A digital label used to identify a device or server on a network.
[0098] In a specific implementation, when a user clicks a download link in a browser, the browser can parse the download link clicked by the user and extract the URL of the file to be downloaded. The browser converts the domain name in the URL into the corresponding IP address through DNS resolution. Based on the IP address, the browser sends an HTTP HEAD request to the server to obtain the file's metadata (such as file size) without downloading the file content.
[0099] Furthermore, for small files, using the network process of the browser can simplify the download process and improve the download efficiency. After step S11, it also includes: if the file size is less than or equal to a preset threshold, calling the network process of the browser; downloading the file to be downloaded through the network process of the browser to obtain a downloaded file. The network process of the browser may refer to a component in the browser that is responsible for processing network communications (such as HTTP requests and responses).
[0100] In a specific implementation, the browser can determine whether the file size meets the condition according to a preset threshold (such as 10MB). If the file size is less than or equal to the preset threshold, the browser's network process is used for downloading. After deciding to use the browser's network process to download the file, the browser can send a formal download request to the server, and receive and save the file data through the network process.
[0101] For ease of understanding, refer to Figure 3 This invention is provided for illustration, but is not intended to limit the present application. Figure 3 This is a specific flow chart of an embodiment of the method for downloading application documents. Figure 3 In the method for downloading a file, the method comprises the following steps:
[0102] 1. The user clicks on the download link: When a user visits a website, he clicks on an HTTP link that can be downloaded.
[0103] 2. The browser parses the URL address and obtains the file size: The browser can parse the URL of this link and pass the URL to the browser's network process through inter-process communication. The network process performs pre-parsing, including DNS resolution and request sending. After the server responds, it will return file information including the file size.
[0104] 3. Determine whether the file size is greater than the preset threshold: Determine whether the file size is greater than 10M.
[0105] 4. If the file size is not greater than the preset threshold, continue to download the file through the browser's network process.
[0106] 5. If the file size is larger than the preset threshold, the browser's built-in download acceleration plug-in is called: In order to reduce program coupling, the download acceleration plug-in is taken out separately as an independent process.
[0107] 6. Download files through the download acceleration plug-in: The interaction between the browser and the download acceleration plug-in is implemented through RPC.
[0108] 7. Return download results: If the download acceleration plug-in completes the download of the file, it can return the result to the browser through the RPC message.
[0109] Before calling the built-in download acceleration plug-in of the browser, this embodiment will pre-parse the file to be downloaded to obtain the file size of the file to be downloaded. If the file size is greater than a preset threshold, the built-in download acceleration plug-in of the browser will be called, so as to accurately determine whether it is necessary to call the download acceleration plug-in for download acceleration, thereby avoiding waste of resources.
[0110] Reference Figure 4 , Figure 4 This is a flow chart of the third embodiment of the method for downloading files of the present application. Based on the above embodiments, the third embodiment of the method for downloading files of the present application is proposed.
[0111] In the third embodiment, the step S30 includes:
[0112] Step S301: Obtain the file type of the file to be downloaded.
[0113] It should be understood that in order to further improve the file download speed, in this embodiment, the file type of the file to be downloaded is also obtained, and the most suitable download method is selected based on the file type to download the file. The file type may refer to the type or format of the file, such as Hypertext Transfer Protocol (HTTP) type files, BitTorrent type files, etc., which are not limited in this embodiment.
[0114] Step S302: based on the file type, download the file to be downloaded through the download acceleration plug-in to obtain a download completion file.
[0115] In a specific implementation, during the download process, the browser or the download acceleration plug-in can obtain the file type of the file to be downloaded by analyzing the file extension or Multipurpose Internet Mail Extensions (MIME) type. According to the obtained file type information, the download acceleration plug-in can select the most suitable download method to download the file to be downloaded.
[0116] This embodiment obtains the file type of the file to be downloaded and selects the most suitable downloading method to download the file based on the file type, thereby further improving the file download speed.
[0117] Furthermore, in order to improve the download speed of HTTP type files, the step S302 includes: if the file type is a hypertext transfer protocol type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block; downloading the first data block from the original download site corresponding to the file to be downloaded through the original acceleration node cluster; downloading the second data block from other data sources through the intelligent acceleration node cluster, wherein the other data sources are data sources other than the original download site; assembling the first data block and the second data block to obtain a downloaded file.
[0118] It should be noted that the data to be downloaded may refer to all data contents contained in the file to be downloaded, and these data may be divided into multiple data blocks during the download process for easy transmission and processing. The first data block may refer to the first part of the data to be downloaded after being divided, and the first data block may include multiple data blocks. The second data block may refer to the second part of the data to be downloaded after being divided, and together with the first data block, it constitutes a complete file to be downloaded, and the second data block may also include multiple data blocks. The original acceleration node cluster may refer to a group of servers or nodes specifically used to obtain data from the original download site. The original download site may be the original server or site that provides the file to be downloaded. The intelligent acceleration node cluster may refer to a group of servers or nodes that can intelligently select the optimal download path according to network conditions and data sources. Other data sources may be any source that can provide the file data to be downloaded except the original download site, such as a peer-to-peer (P2P) network, a content delivery network (CDN) node, a local memory, etc., and this embodiment does not limit this.
[0119] In a specific implementation, if the file type is an HTTP type, the data to be downloaded can be divided into multiple data blocks according to factors such as the file size, network conditions, and download strategies (such as dividing the file into multiple data blocks according to the size of 1M), and then the multiple data blocks can be divided into a first data block and a second data block according to a preset strategy. Among them, the preset strategy can be set in advance, and this embodiment does not limit this. An HTTP request is sent to the original download site through the server or node of the original acceleration node cluster, and the first data block is downloaded from the original download site. Utilizing the intelligent selection capability of the intelligent acceleration node cluster, the second data block is requested and downloaded from other data sources other than the original download site (such as other users in the P2P network, CDN nodes, etc.). After the first data block and the second data block are downloaded, the first data block and the second data block can be reassembled in the original order of the files to form a complete download completion file.
[0120] Furthermore, in order to achieve dynamic optimization and improve the download speed, the downloading of the second data block from other data sources through the intelligent acceleration node cluster includes: selecting a download acceleration method through the intelligent acceleration node cluster, wherein the download acceleration method includes at least one of peer-to-peer network acceleration, content distribution network acceleration and mirror acceleration; downloading the second data block from the corresponding data source based on the download acceleration method.
[0121] It should be understood that in order to achieve dynamic optimization and improve download speed, in this embodiment, the intelligent acceleration node cluster can intelligently select the download acceleration method, and request and download the second data block from the corresponding data source according to the download acceleration method selected by the intelligent acceleration node cluster.
[0122] It should be noted that peer-to-peer acceleration (P2P acceleration) may refer to a technology that uses the downloaded data of other users in the network to accelerate the download process. Content distribution network acceleration (CDN acceleration) may refer to a technology that accelerates content distribution and downloading through CDN nodes distributed in various places. Mirror acceleration may refer to a technology that uses a mirror server that stores the same file to accelerate downloading.
[0123] In the specific implementation, the intelligent acceleration node cluster intelligently selects the optimal download acceleration method based on factors such as current network conditions, availability of data sources, and load conditions.
[0124] It is understandable that in order to fully utilize the advantages of various acceleration methods and improve the download speed, in this embodiment, the second data block is downloaded from the corresponding data source based on the download acceleration method. In a specific implementation, for example, according to the download acceleration method selected by the intelligent acceleration node cluster, the second data block is requested and downloaded from the corresponding data source.
[0125] Furthermore, in order to utilize the resources of other users in the network to accelerate downloading and reduce the dependence on the original server and bandwidth consumption, the download acceleration method is peer-to-peer network acceleration; the downloading of the second data block from the corresponding data source based on the download acceleration method includes: obtaining the current download data of each node in the peer-to-peer network, and matching the data to be downloaded with the current download data of each node; selecting a peer node from the peer network according to the matching result, and downloading the first data block through the peer node. Wherein, the peer node may refer to a node that provides data to other users in peer-to-peer network acceleration.
[0126] In a specific implementation, if a certain peer node has downloaded a portion of the data of the second data block, the smart acceleration node cluster can guide other users to download this portion of data from the peer node.
[0127] Furthermore, in order to utilize the distributed characteristics of the CDN network to improve the download speed, the download acceleration method is content distribution network acceleration; the downloading of the second data block from the corresponding data source based on the download acceleration method includes: requesting a content distribution network acceleration node; downloading the second data block through the content distribution network acceleration node. The content distribution network acceleration node may refer to a specific server node in the CDN network, which is responsible for storing and distributing content.
[0128] Furthermore, in order to maintain the smoothness of the CDN download process, the request for the content distribution network acceleration node includes: creating an independent thread, and requesting the content distribution network node information corresponding to the file to be downloaded from the content distribution network service through the independent thread; and selecting a content distribution network node based on the content distribution network node information.
[0129] It should be understood that in order to maintain the smoothness of the CDN download process, in this embodiment, an independent thread can be created and CDN download can be performed through the independent thread. The independent thread can refer to a thread in a computer program that can independently execute tasks, which does not share the execution path with the main thread or other threads, but can share the resources of the process.
[0130] It is understandable that after the independent thread is created, the independent thread is responsible for selecting a CDN node from the CDN network and downloading the second data block through the CDN node. The process of selecting a CDN node can be based on a variety of factors, such as the availability of the node, the download speed, the geographical location, and the distance from the user, etc., which are not limited in this embodiment. Among them, the content distribution network service can be a system that provides a content distribution network (CDN) acceleration service, which realizes rapid distribution and transmission of data by deploying multiple nodes. Content distribution network node information can refer to detailed information about each node in the content distribution network, including the address, status, load, etc. of the node.
[0131] Furthermore, in order to utilize the fast data access provided by the mirror server to increase the download speed, the download acceleration method is mirror acceleration; the downloading of the second data block from the corresponding data source based on the download acceleration method includes: searching in the backend service whether there is a target file identical to the file to be downloaded; obtaining the mirror address of the target file, and downloading the second data block through the mirror address. Among them, mirror acceleration may refer to accelerating the download using a mirror server with the same content as the original server, and the mirror server may be located in a different geographical location to provide faster data access speed. The target file may refer to a file with the same content as the file to be downloaded, and may be located on a mirror server or other storage location. The mirror address may point to the URL or network location of the target file, and is used to download data from the mirror server.
[0132] In a specific implementation, it is searched in the backend service whether there is a target file identical to the file to be downloaded, the mirror address of the target file is obtained, and the second data block is downloaded from the mirror server through the mirror address.
[0133] It should be understood that in order to further improve the download speed, in this embodiment, the download acceleration method may include peer-to-peer network acceleration, content distribution network acceleration and mirror acceleration, then the downloading of the second data block from the corresponding data source based on the download acceleration method includes: accelerating the download of the first part of the data blocks in the second data block through the peer-to-peer network, accelerating the download of the second part of the data blocks in the second data block through the content distribution network, and accelerating the download of the third part of the data blocks in the second data block through the mirror. The specific download process of each acceleration method is as described above and will not be repeated here.
[0134] Furthermore, in order to improve the download speed of BitTorrent type files, the downloading of the file to be downloaded through the download acceleration plug-in based on the file type to obtain the download completion file includes: if the file type is a bitstream file type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block; downloading the first data block through a bitstream seed cluster, and downloading the second data block through a content distribution network acceleration node cluster; assembling the first data block and the second data block to obtain the download completion file.
[0135] It should be noted that the data to be downloaded may refer to all data contents contained in the file to be downloaded, and these data may be divided into multiple data blocks during the download process for easy transmission and processing. The first data block may refer to the first part of the data to be downloaded after being divided, and the first data block may include multiple data blocks. The second data block may refer to the second part of the data to be downloaded after being divided, and together with the first data block, it constitutes a complete file to be downloaded, and the second data block may also include multiple data blocks.
[0136] In a specific implementation, if the file type is a BitTorrent type, the data to be downloaded can be divided into multiple data blocks based on factors such as the file size, network conditions, and download strategy, and then the multiple data blocks can be divided into a first data block and a second data block based on the peer node information of the bittorrent seed cluster and the content distribution network node information of the content distribution network acceleration node cluster.
[0137] It is understandable that in order to make full use of the advantages of the two technologies, an efficient and stable file download service is achieved. In this embodiment, the first data block is downloaded through a bitstream seed cluster, and the second data block is downloaded through a content distribution network acceleration node cluster. Among them, the bitstream seed cluster may refer to a distributed download network based on the BitTorrent protocol, which is composed of multiple nodes, and these nodes jointly provide a piecemeal download service for the file. Each node has a portion of the data of the file and can share this data with other nodes. The content distribution network acceleration node cluster may refer to a distributed network architecture, consisting of multiple geographically dispersed nodes. These nodes cache the content of the original server and distribute the content to the node closest to the user based on the user's geographical location and network conditions to improve download speed and user experience.
[0138] In the specific implementation, the first data block is downloaded through the BitTorrent seed cluster, because the BitTorrent protocol is suitable for distributed download of large-scale files and can make full use of idle resources in the network. For the second data block, the CDN acceleration node cluster is used to download, because CDN can significantly increase the download speed and reduce latency, especially for large-volume, high-concurrency download scenarios.
[0139] It should be understood that in order to ensure the integrity and correctness of the file, in this embodiment, the first data block and the second data block are assembled to obtain a download completion file, wherein the download completion file may refer to a complete file formed after all the data blocks to be downloaded are successfully downloaded and correctly assembled.
[0140] In a specific implementation, after the first data block and the second data block are downloaded, the first data block and the second data block can be reassembled according to the original order of the file to form a complete download completed file.
[0141] Furthermore, in order to improve the download speed of the data block, the downloading of the first data block through the bitstream seed cluster and the downloading of the second data block through the content distribution network acceleration node cluster include: selecting a peer node from the bitstream seed cluster and downloading the first data block through the peer node; selecting a content distribution network node from the content distribution network acceleration node cluster, and downloading the second data block through the content distribution network node.
[0142] It should be noted that a peer node may refer to a node in a bittorrent seed cluster that provides file segment download services and is also a client that downloads segments provided by other nodes.
[0143] It should be understood that selecting a peer node from the bitstream seed cluster and downloading the first data block through the peer node may be to match the data to be downloaded with the download data of the node in the bitstream seed cluster; selecting a peer node from the bitstream seed cluster based on the matching result, and downloading the first data block through the peer node.
[0144] In a specific implementation, in a BitTorrent seed cluster, multiple peer nodes can be searched and connected to, and these peer nodes have part or all of the data of the file that the user wishes to download. Then, one or more of the peer nodes can be selected to download the first data block.
[0145] It should be noted that a content delivery network node may refer to a single node in a CDN node cluster, which is responsible for caching and distributing specific content to improve the download or access speed of users.
[0146] In a specific implementation, the CDN node cluster may be composed of multiple geographically dispersed nodes, each of which caches a copy or fragment of the file. One or more nodes may be selected from the CDN node cluster to download the second data block according to the user's geographical location and network conditions.
[0147] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the method for downloading the documents of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0148] This application also provides a file download device, please refer to Figure 5 , the file downloading device comprises:
[0149] A file determination module 10, configured to determine, in response to a file download request, a file to be downloaded corresponding to the file download request;
[0150] A plug-in calling module 20, used to call a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser;
[0151] The file download module 30 is used to download the file to be downloaded through the download acceleration plug-in to obtain a download completion file.
[0152] The file download device provided by the present application adopts the file download method in the above embodiment, which can solve the technical problem that the existing file download method usually downloads files separately through the network process of the browser, and the download speed is limited, thus there are defects such as slow download speed and poor user experience. Compared with the prior art, the beneficial effects of the file download device provided by the present application are the same as the beneficial effects of the file download method provided by the above embodiment, and other technical features in the file download device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0153] The present application provides a file downloading device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the file downloading method in the above-mentioned embodiment 1.
[0154] Reference below Figure 6 , which shows a schematic diagram of the structure of a file download device suitable for implementing the embodiment of the present application. The file download device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The file downloading device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0155] like Figure 6As shown, the file download device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a ROM (Read Only Memory) 1002 or a program loaded from a storage device 1003 to a RAM (Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the file download device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the file download device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a file download device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0156] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0157] The file download device provided by the present application adopts the file download method in the above embodiment, which can solve the technical problem that the existing file download method usually downloads files separately through the network process of the browser, and the download speed is limited, thus there are defects such as slow download speed and poor user experience. Compared with the prior art, the beneficial effects of the file download device provided by the present application are the same as the beneficial effects of the file download method provided by the above embodiment, and other technical features in the file download device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0158] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0159] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0160] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the file downloading method in the above-mentioned embodiment.
[0161] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory) or flash memory, optical fiber, CD-ROM (CD-Read Only Memory, portable compact disk read-only memory), optical storage device, magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0162] The computer-readable storage medium may be included in the file downloading device; or may exist independently without being assembled into the file downloading device.
[0163] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the file downloading device, the file downloading device executes the file downloading method.
[0164] The computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or it can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0165] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0166] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0167] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned file download method, and can solve the technical problem that the existing file download method is usually to download files separately through the network process of the browser, and the download speed is limited, so there are defects such as slow download speed and poor user experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the file download method provided by the above-mentioned embodiment, and will not be repeated here.
[0168] The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the file downloading method as described above is implemented.
[0169] The computer program product provided by the present application can solve the technical problem that the existing file downloading method is usually to download files separately through the network process of the browser, and the download speed is limited, resulting in the defects of slow download speed and poor user experience. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the file downloading method provided by the above embodiment, and will not be repeated here.
[0170] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
[0171] The present application discloses A1, a file downloading method, the file downloading method comprising:
[0172] In response to a file download request, determining a file to be downloaded corresponding to the file download request;
[0173] Calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser;
[0174] The file to be downloaded is downloaded through the download acceleration plug-in to obtain a download completion file.
[0175] A2. The file downloading method as described in A1, before calling the download acceleration plug-in built into the browser, further comprising:
[0176] Pre-parse the file to be downloaded to obtain the file size of the file to be downloaded:
[0177] Accordingly, the calling of the built-in download acceleration plug-in of the browser includes:
[0178] If the file size is larger than a preset threshold, a download acceleration plug-in built into the browser is called.
[0179] A3. The file downloading method as described in A2, wherein the pre-parsing of the file to be downloaded to obtain the file size of the file to be downloaded comprises:
[0180] Parsing the file to be downloaded to obtain a uniform resource locator of the file to be downloaded;
[0181] converting the uniform resource locator into an Internet Protocol address through a browser's network process;
[0182] The file size of the file to be downloaded is requested from the server corresponding to the Internet Protocol address through the network process of the browser.
[0183] A4. The file downloading method as described in A2, wherein after pre-parsing the file to be downloaded and obtaining the file size of the file to be downloaded, the method further comprises:
[0184] If the file size is less than or equal to a preset threshold, calling the network process of the browser;
[0185] The file to be downloaded is downloaded through the network process of the browser to obtain a download completed file.
[0186] A5. The file downloading method as described in any one of A1 to A4, wherein the calling of the download acceleration plug-in built into the browser comprises:
[0187] Generate a download task corresponding to the file to be downloaded;
[0188] Based on the download task, the download acceleration plug-in built into the browser is called through a remote procedure call mechanism.
[0189] A6. The file downloading method as described in any one of A1 to A4, wherein after downloading the file to be downloaded by the download acceleration plug-in and obtaining the downloaded file, the method further comprises:
[0190] Receiving the download result returned by the download acceleration plug-in via a remote procedure call message;
[0191] The download result is displayed on the user interaction interface of the browser.
[0192] A7. The file downloading method as described in any one of A1 to A4, wherein the downloading of the to-be-downloaded file by the download acceleration plug-in to obtain the downloaded file comprises:
[0193] Obtain the file type of the file to be downloaded;
[0194] The file to be downloaded is downloaded through the download acceleration plug-in based on the file type to obtain a download completion file.
[0195] A8. The file downloading method as described in A7, wherein the downloading of the file to be downloaded by the download acceleration plug-in based on the file type to obtain the downloaded file comprises:
[0196] If the file type is a hypertext transfer protocol type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block;
[0197] Downloading the first data block from the original download site corresponding to the file to be downloaded through the original acceleration node cluster;
[0198] Downloading the second data block from other data sources through a smart acceleration node cluster, wherein the other data sources are data sources other than the original download site;
[0199] The first data block and the second data block are assembled to obtain a download completion file.
[0200] A9. The file downloading method as described in A8, wherein downloading the second data block from other data sources through the intelligent acceleration node cluster comprises:
[0201] Selecting a download acceleration method through an intelligent acceleration node cluster, wherein the download acceleration method includes at least one of peer-to-peer network acceleration, content distribution network acceleration, and mirror acceleration;
[0202] The second data block is downloaded from the corresponding data source based on the download acceleration method.
[0203] A10. The file downloading method as described in A7, wherein the downloading of the file to be downloaded by the download acceleration plug-in based on the file type to obtain the downloaded file comprises:
[0204] If the file type is a bitstream file type, dividing the data to be downloaded corresponding to the file to be downloaded into a first data block and a second data block;
[0205] Downloading the first data block through a bitstream seed cluster, and downloading the second data block through a content distribution network acceleration node cluster;
[0206] The first data block and the second data block are assembled to obtain a download completion file.
[0207] A11. The file downloading method as described in A10, wherein the first data block is downloaded through a bitstream seed cluster, and the second data block is downloaded through a content distribution network acceleration node cluster, comprising:
[0208] Selecting a peer node from a bitstream seed cluster, and downloading the first data block through the peer node;
[0209] A content distribution network node is selected from the content distribution network acceleration node cluster, and the second data block is downloaded through the content distribution network node.
[0210] The present application also discloses B12, a file downloading device, the file downloading device comprising:
[0211] A file determination module, configured to determine, in response to a file download request, a file to be downloaded corresponding to the file download request;
[0212] A plug-in calling module, used to call a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser;
[0213] The file download module is used to download the file to be downloaded through the download acceleration plug-in to obtain the download completion file.
[0214] B13. The file downloading device as described in B12, wherein the file downloading device further comprises:
[0215] A file parsing module, used for pre-parsing the file to be downloaded to obtain the file size of the file to be downloaded;
[0216] Correspondingly, the file download module is also used to call the download acceleration plug-in built into the browser if the file size is greater than a preset threshold.
[0217] B14. In the file downloading device as described in B13, the file parsing module is further used to parse the file to be downloaded to obtain the uniform resource locator of the file to be downloaded; convert the uniform resource locator into an Internet Protocol address through the network process of the browser; and request the file size of the file to be downloaded from the server corresponding to the Internet Protocol address through the network process of the browser.
[0218] B15. In the file downloading device as described in B13, the file downloading module is further used to call the network process of the browser if the file size is less than or equal to a preset threshold; download the file to be downloaded through the network process of the browser to obtain a download completion file.
[0219] B16. In the file downloading device as described in any one of B12 to B15, the plug-in calling module is further used to generate a download task corresponding to the file to be downloaded; and call the download acceleration plug-in built into the browser through a remote procedure call mechanism based on the download task.
[0220] B17. The file downloading device as described in any one of B12 to B15, further comprising:
[0221] The result display module is used to receive the download result returned by the download acceleration plug-in through the remote procedure call message; and display the download result on the user interaction interface of the browser.
[0222] The present application also discloses C18, a file downloading device, which includes: a memory, a processor, and a file downloading program stored in the memory and executable on the processor, wherein the file downloading program implements the file downloading method described above when executed by the processor.
[0223] The present application also discloses D19, a storage medium, on which a file download program is stored, and when the file download program is executed by a processor, the file download method as described above is implemented.
[0224] The present application also discloses E20, a computer program product, which includes a file downloading program, and when the file downloading program is executed by a processor, the file downloading method as described above is implemented.
Claims
1. A file downloading method, characterized in that: The file downloading method comprises: In response to a file download request, determining a file to be downloaded corresponding to the file download request; Calling a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser; The file to be downloaded is downloaded through the download acceleration plug-in to obtain a download completion file.
2. The file downloading method according to claim 1, characterized in that: Before calling the built-in download acceleration plug-in of the browser, the method further includes: Pre-parse the file to be downloaded to obtain the file size of the file to be downloaded: Accordingly, the calling of the built-in download acceleration plug-in of the browser includes: If the file size is larger than a preset threshold, a download acceleration plug-in built into the browser is called.
3. The file downloading method according to claim 2, characterized in that: The pre-parsing of the file to be downloaded to obtain the file size of the file to be downloaded includes: Parsing the file to be downloaded to obtain a uniform resource locator of the file to be downloaded; converting the uniform resource locator into an Internet Protocol address through a browser's network process; The file size of the file to be downloaded is requested from the server corresponding to the Internet Protocol address through the network process of the browser.
4. The file downloading method according to claim 2, characterized in that: After pre-parsing the file to be downloaded and obtaining the file size of the file to be downloaded, the method further includes: If the file size is less than or equal to a preset threshold, calling the network process of the browser; The file to be downloaded is downloaded through the network process of the browser to obtain a download completed file.
5. The file downloading method according to any one of claims 1 to 4, characterized in that: The calling of the built-in download acceleration plug-in of the browser includes: Generate a download task corresponding to the file to be downloaded; Based on the download task, the download acceleration plug-in built into the browser is called through a remote procedure call mechanism.
6. The file downloading method according to any one of claims 1 to 4, characterized in that: After downloading the to-be-downloaded file through the download acceleration plug-in and obtaining the downloaded file, the method further includes: Receiving the download result returned by the download acceleration plug-in via a remote procedure call message; The download result is displayed on the user interaction interface of the browser.
7. A file downloading device, characterized in that: The file downloading device comprises: A file determination module, configured to determine, in response to a file download request, a file to be downloaded corresponding to the file download request; A plug-in calling module, used to call a download acceleration plug-in built into the browser, wherein the download acceleration plug-in is an independent process relative to the browser; The file download module is used to download the file to be downloaded through the download acceleration plug-in to obtain the download completion file.
8. A file downloading device, characterized in that: The file downloading device comprises: a memory, a processor, and a file downloading program stored in the memory and executable on the processor, wherein the file downloading program implements the file downloading method according to any one of claims 1 to 6 when executed by the processor.
9. A storage medium, characterized in that: The storage medium stores a file downloading program, and when the file downloading program is executed by the processor, the file downloading method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The computer program product comprises a file downloading program, and when the file downloading program is executed by a processor, the file downloading method according to any one of claims 1 to 6 is implemented.