CN108667939B - File downloading method, device, terminal and storage medium - Google Patents
File downloading method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN108667939B CN108667939B CN201810489341.8A CN201810489341A CN108667939B CN 108667939 B CN108667939 B CN 108667939B CN 201810489341 A CN201810489341 A CN 201810489341A CN 108667939 B CN108667939 B CN 108667939B
- Authority
- CN
- China
- Prior art keywords
- target file
- file
- provider
- terminal
- downloading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a file downloading device, a terminal and a storage medium, wherein the file downloading device comprises: acquiring a size numerical value of a target file from a target file provider; judging whether the size numerical value of the target file is larger than a preset control value or not; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; storing a judgment result of whether the target file is larger than a preset control value; according to the subsequent acquisition requirement of the target file, directly executing feedback prompt information or downloading the target file according to the judgment result of whether the target file is larger than the preset control value; according to the device, the terminal and the storage medium, after the target file is judged to be the large resource file, the judgment result is uniformly stored in the terminal, so that the storage space of the terminal is saved, and the problem of blockage caused by excessive memory of the terminal is avoided.
Description
Technical Field
The present invention relates to the field of resource file downloading, and in particular, to a method, an apparatus, a terminal, and a storage medium for downloading a file.
Background
When the terminal selectively downloads the specific resource, if the specific resource is a large resource file, a large amount of user traffic is consumed. In the prior art, the resource file is usually filtered according to the size value of the large resource file, so that the terminal does not download the large resource file. In the prior art, the terminal usually stores the downloaded resource file into the cache, so that the terminal directly obtains the resource file from the cache when obtaining the resource file next time.
However, if the number of resource files in the cache is too large, the task of extracting the resource files from the cache is stuck.
Disclosure of Invention
The invention mainly aims to provide a file downloading method, a file downloading device, a terminal and a storage medium, which solve the problem that the extraction of resource files is unsmooth due to the fact that downloaded resource files are stored in a cache.
According to a first aspect of the present invention, there is provided a method of file downloading, the method comprising:
acquiring a size numerical value of a target file from a target file provider; judging whether the size numerical value of the target file is larger than a preset control value or not; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; storing a judgment result of whether the target file is larger than a preset control value; and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
Optionally, the method further includes: and acquiring a shielding strategy, wherein the shielding strategy is configured with whether the method is started or not.
Optionally, the obtaining the size value of the target file from the target file provider includes: acquiring a unique identifier of a target file from a target file provider; and acquiring the size numerical value of the target file from the target file provider according to the unique identifier.
Optionally, after the obtaining the unique identifier of the target file from the target file provider, and before obtaining the size value of the target file from the target file provider according to the unique identifier, the method further includes: judging whether the judgment result corresponding to the target file is stored or not according to the unique identifier; if yes, determining to feed back the prompt information to the target file provider or download the target file according to the judgment result; otherwise, determining to acquire the size numerical value of the target file.
Optionally, the obtaining the size value of the target file from the target file provider according to the unique identifier includes: sending a network request constructed according to the unique identifier to the target file provider; and acquiring the size numerical value of the target file fed back by the target file provider.
Optionally, after sending the network request constructed according to the unique identifier to the target file provider, and before obtaining the size value of the target file fed back by the target file provider, the method further includes: closing the network request.
Optionally, the method further includes: judging whether the stored judgment result exceeds a preset time limit or not; and if so, deleting the judgment result exceeding the preset time limit.
According to a second aspect of the present invention, there is provided an apparatus for file downloading, the apparatus comprising: the numerical value acquisition module is used for acquiring the size numerical value of the target file from the target file provider; the judging module is used for judging whether the size numerical value of the target file is larger than a preset control value or not; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; the storage module is used for storing a judgment result of whether the target file is larger than a preset control value; and the execution module is used for directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than the preset control value or not aiming at the acquisition requirement of the target file subsequently.
Optionally, the apparatus further comprises: and the strategy acquisition module is used for acquiring a shielding strategy, and the shielding strategy is configured with whether the device is started or not.
Optionally, the value obtaining module includes: the identification acquisition unit is used for acquiring the unique identification of the target file from a target file provider; and the value acquiring unit is used for acquiring the size value of the target file from the target file provider according to the unique identifier.
Optionally, the apparatus further comprises: the storage judging module is used for judging whether the judging result corresponding to the target file is stored according to the unique identifier after the unique identifier of the target file is acquired from the target file provider and before the size numerical value of the target file is acquired from the target file provider according to the unique identifier; if yes, determining to feed back the prompt information to the target file provider or download the target file according to the judgment result; otherwise, determining to acquire the size numerical value of the target file.
Optionally, the numerical value obtaining unit is specifically configured to: sending a network request constructed according to the unique identifier to the target file provider; and acquiring the size numerical value of the target file fed back by the target file provider.
Optionally, the apparatus further comprises: and the request closing module is used for closing the network request after sending the network request constructed according to the unique identifier to the target file provider and before acquiring the size numerical value of the target file fed back by the target file provider.
Optionally, the apparatus further comprises: the time limit judging module is used for judging whether the stored judging result exceeds a preset time limit or not; and if so, deleting the judgment result exceeding the preset time limit.
According to a third aspect of the present invention, there is provided a terminal comprising a processor and a memory; the memory is used for storing computer instructions, and the processor is used for operating the computer instructions stored by the memory to realize the file downloading method.
According to a fourth aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement a method of file downloading as described above.
The invention has the following beneficial effects: whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the traffic is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Drawings
FIG. 1 is a flowchart illustrating a file downloading method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a file downloading method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a file downloading method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a file downloading method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating a file downloading method according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a file downloading method according to a sixth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a file downloading method according to a seventh embodiment of the present invention;
fig. 8 is a schematic structural diagram of a file downloading device according to an eighth embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
In order to facilitate understanding of the embodiments of the present invention, the following detailed description of the embodiments of the present invention is provided.
A first embodiment of the present invention provides a method for downloading a file, where the method includes: acquiring a size numerical value of a target file from a target file provider; judging whether the size numerical value of the target file is larger than a preset control value or not; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; storing a judgment result of whether the target file is larger than a preset control value; and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 1 is a flowchart illustrating a file downloading method according to a first embodiment of the present invention. According to fig. 1, a first embodiment of the present invention provides a method for downloading a file, where the method includes:
s11: acquiring a size numerical value of a target file from a target file provider;
the terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
In this embodiment, the terminal may be an intelligent terminal that executes a predetermined process such as numerical calculation and/or logic calculation by running a predetermined program or instruction, and may include a processor and a memory, where the processor executes a pre-stored instruction stored in the memory to execute the predetermined process, or the processor executes a predetermined process by hardware such as ASIC, FPGA, DSP, or a combination thereof. The terminal includes, but is not limited to, a server, a personal computer, a notebook computer, a tablet computer, and a smart phone.
S12: judging whether the size value of the target file is larger than a preset control value, if so, executing a step S13, otherwise, executing a step S14;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S13: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing step S15;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S14: downloading the target file and executing the step S15;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S15: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
S16: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 2 is a flowchart illustrating a file downloading method according to a second embodiment of the present invention. According to fig. 2, a second embodiment of the present invention provides a method for downloading a file, where the method includes:
s20: obtaining a shielding strategy;
s21: and judging whether the shielding strategy is configured with a method for starting the file downloading, if so, executing the step S22, otherwise, executing the step S28.
Specifically, the shielding policy is configured with whether the method is enabled or not.
The screening policy may be obtained by the terminal from the target file provider, and of course, the screening policy is pre-stored in the terminal. Wherein the masking policy is configured with the enablement or non-enablement of the method.
S22: acquiring a size numerical value of a target file from a target file provider;
the terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
S23: judging whether the size value of the target file is larger than a preset control value, if so, executing a step S24, otherwise, executing a step S25;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S24: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing step S16;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S25: downloading the target file, and executing the step S16;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S26: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
S27: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
S28: only the target file is downloaded.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
The user can directly determine whether to enable the file downloading method through the shielding strategy.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 3 is a flowchart illustrating a file downloading method according to a third embodiment of the present invention. According to the illustration in fig. 3, a third embodiment of the present invention provides a method for downloading a file, where the method includes:
s30: obtaining a shielding strategy;
s31: and judging whether the shielding strategy is configured with a method for starting the file downloading, if so, executing the step S32, otherwise, executing the step S38.
Specifically, the shielding policy is configured with whether the method is enabled or not.
The screening policy may be obtained by the terminal from the target file provider, and of course, the screening policy is pre-stored in the terminal. Wherein the masking policy is configured with the enablement or non-enablement of the method.
S32: acquiring a unique identifier of a target file from a target file provider; acquiring the size numerical value of the target file from the target file provider according to the unique identifier;
the terminal acquires the unique identifier of the target file from a target file provider; acquiring the size numerical value of the target file from the target file provider according to the unique identifier;
wherein the unique identification comprises a uniform resource locator, URL. The terminal obtains the size value of the target file from the target file provider according to the unique identifier, and in this embodiment, a specific manner in which the terminal obtains the size value of the target file according to the unique identifier is not limited. Such as: and the terminal sends the unique identifier to the target file provider so that the target file provider feeds back the size value of the corresponding target file according to the unique identifier.
The terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
S33: judging whether the size value of the target file is larger than a preset control value, if so, executing a step S34, otherwise, executing a step S35;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S34: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing step S36;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S35: downloading the target file and executing the step S36;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S36: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
Optionally, the unique identifier corresponding to the target file is also stored.
S37: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
S38: only the target file is downloaded.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
The user can directly determine whether to enable the file downloading method through the shielding strategy.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 4 is a flowchart illustrating a file downloading method according to a fourth embodiment of the present invention. According to fig. 4, a fourth embodiment of the present invention provides a method for downloading a file, where the method includes:
s40: obtaining a shielding strategy;
s41: and judging whether the shielding strategy is configured with a method for starting the file downloading, if so, executing the step S42, otherwise, executing the step S493.
Specifically, the shielding policy is configured with whether the method is enabled or not.
The screening policy may be obtained by the terminal from the target file provider, and of course, the screening policy is pre-stored in the terminal. Wherein the masking policy is configured with the enablement or non-enablement of the method.
S42: acquiring a unique identifier of a target file from a target file provider;
s43: judging whether the judgment result corresponding to the target file is stored or not according to the unique identifier, if so, executing a step S44, otherwise, executing a step S45;
specifically, the terminal judges whether the terminal stores a judgment result corresponding to the target file or not according to the unique identifier.
Optionally, the terminal queries whether the terminal stores the judgment result corresponding to the target file according to the unique identifier.
S44: according to the judgment result, the prompt information is fed back to the target file provider or the target file is downloaded;
under the condition that the judgment result of the target file is inquired, if the judgment result represents that the size numerical value of the target file is larger than the preset control value, the target file is determined to be a large resource file, and therefore prompt information is determined to be fed back to the target file provider.
Of course, if the judgment result represents that the size value of the target file is not greater than the preset control value, it is determined that the target file is not a large resource file, and thus it is determined that the terminal downloads the target file from a target file provider.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S45, determining the size value of the obtained target file;
s46: acquiring the size numerical value of the target file from the target file provider according to the unique identifier;
the terminal acquires the unique identifier of the target file from a target file provider; acquiring the size numerical value of the target file from the target file provider according to the unique identifier;
wherein the unique identification comprises a uniform resource locator, URL. The terminal acquires the size value of the target file from the target file provider according to the unique identifier, and in this embodiment, the specific way in which the terminal acquires the size value of the target file according to the unique identifier is not limited; such as: and the terminal sends the unique identifier to the target file provider so that the target file provider feeds back the size value of the corresponding target file according to the unique identifier.
The terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
S47: judging whether the size value of the target file is larger than a preset control value, if so, executing a step S48, otherwise, executing a step S49;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S48: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing step S491;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
S49: downloading the target file, and executing step S491;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S491: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
Optionally, the unique identifier corresponding to the target file is also stored.
S492: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
S493: only the target file is downloaded.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
The user can directly determine whether to enable the file downloading method through the shielding strategy.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 5 is a flowchart illustrating a file downloading method according to a fifth embodiment of the present invention. According to fig. 5, a fifth embodiment of the present invention provides a file downloading method, where the method includes:
s50: obtaining a shielding strategy;
s51: and judging whether the shielding strategy is configured with a method for starting the file downloading, if so, executing the step S52, otherwise, executing the step S593.
Specifically, the shielding policy is configured with whether the method is enabled or not. The screening policy may be obtained by the terminal from the target file provider, and of course, the screening policy is pre-stored in the terminal. Wherein the masking policy is configured with the enablement or non-enablement of the method.
S52: acquiring a unique identifier of a target file from a target file provider;
s53: judging whether the judgment result corresponding to the target file is stored or not according to the unique identifier, if so, executing a step S54, otherwise, executing a step S55;
specifically, the terminal judges whether the terminal stores a judgment result corresponding to the target file or not according to the unique identifier.
Optionally, the terminal queries whether the terminal stores the judgment result corresponding to the target file according to the unique identifier.
S54: according to the judgment result, the prompt information is fed back to the target file provider or the target file is downloaded;
under the condition that the judgment result of the target file is inquired, if the judgment result represents that the size numerical value of the target file is larger than the preset control value, the target file is determined to be a large resource file, and therefore prompt information is determined to be fed back to the target file provider.
Of course, if the judgment result represents that the size value of the target file is not greater than the preset control value, it is determined that the target file is not a large resource file, and thus it is determined that the terminal downloads the target file from a target file provider.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S55, determining the size value of the obtained target file;
s56: sending a network request constructed according to the unique identifier to the target file provider; acquiring the size numerical value of the target file fed back by the target file provider;
specifically, the terminal constructs a network request according to the unique identifier. The terminal sends the network request to a target file provider, the target file provider queries the size numerical value of the corresponding target file according to the unique identifier in the network request, and after the size numerical value of the target file is queried, the target file provider feeds the size numerical value of the target file back to the terminal, so that the terminal can obtain the size numerical value of the target file.
Wherein the unique identification comprises a uniform resource locator, URL. The terminal acquires the size value of the target file from the target file provider according to the unique identifier, and in this embodiment, the specific way in which the terminal acquires the size value of the target file according to the unique identifier is not limited; such as: and the terminal sends the unique identifier to the target file provider so that the target file provider feeds back the size value of the corresponding target file according to the unique identifier.
The terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
S57: judging whether the size value of the target file is larger than a preset control value, if so, executing a step S58, otherwise, executing a step S59;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S58: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing step S591;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
S59: downloading the target file, and executing step S591;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S591: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
Optionally, the unique identifier corresponding to the target file is also stored.
S592: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
S593: only the target file is downloaded.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
The user can directly determine whether to enable the file downloading method through the shielding strategy.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
Fig. 6 is a flowchart illustrating a file downloading method according to a sixth embodiment of the present invention. According to fig. 6, a sixth embodiment of the present invention provides a method for downloading a file, where the method includes:
s60: obtaining a shielding strategy;
s61: judging whether the shielding strategy is configured with a method for starting the file downloading, if so, executing the step S62, otherwise, executing the step S695;
specifically, the shielding policy is configured with whether the method is enabled or not.
The screening policy may be obtained by the terminal from the target file provider, and of course, the screening policy is pre-stored in the terminal. Wherein the masking policy is configured with the enablement or non-enablement of the method.
S62: acquiring a unique identifier of a target file from a target file provider;
s63: judging whether the judgment result corresponding to the target file is stored or not according to the unique identifier, if so, executing a step S64, otherwise, executing a step S65;
specifically, the terminal judges whether the terminal stores a judgment result corresponding to the target file or not according to the unique identifier.
Optionally, the terminal queries whether the terminal stores the judgment result corresponding to the target file according to the unique identifier.
S64: according to the judgment result, the prompt information is fed back to the target file provider or the target file is downloaded;
under the condition that the judgment result of the target file is inquired, if the judgment result represents that the size numerical value of the target file is larger than the preset control value, the target file is determined to be a large resource file, and therefore prompt information is determined to be fed back to the target file provider.
Of course, if the judgment result represents that the size value of the target file is not greater than the preset control value, it is determined that the target file is not a large resource file, and thus it is determined that the terminal downloads the target file from a target file provider.
Optionally, the terminal feeds back the prompt information to the preset downloading tool, so that the preset downloading tool does not work, and the terminal prohibits downloading the target file.
Optionally, the prompt message is constructed by an empty character string.
S65, determining the size value of the obtained target file;
s66: sending a network request constructed according to the unique identifier to the target file provider;
s67: closing the network request;
in this embodiment, after sending the constructed network request to the target file provider, the terminal closes the network request immediately to avoid continuing to acquire resources from the target file provider, thereby avoiding data confusion.
S68: acquiring the size numerical value of the target file fed back by the target file provider;
specifically, the terminal constructs a network request according to the unique identifier. The terminal sends the network request to a target file provider, the target file provider queries the size numerical value of the corresponding target file according to the unique identifier in the network request, and after the size numerical value of the target file is queried, the target file provider feeds the size numerical value of the target file back to the terminal, so that the terminal can obtain the size numerical value of the target file.
Wherein the unique identification comprises a uniform resource locator, URL. The terminal acquires the size value of the target file from the target file provider according to the unique identifier, and in this embodiment, the specific way in which the terminal acquires the size value of the target file according to the unique identifier is not limited; such as: and the terminal sends the unique identifier to the target file provider so that the target file provider feeds back the size value of the corresponding target file according to the unique identifier.
The terminal obtains the size value of the target file from the target file provider, such as: and if the size of the target file is 3M, the terminal acquires the size value of the target file from the target file provider to be 3M.
S69: judging whether the size numerical value of the target file is larger than a preset control value, if so, executing a step S691, otherwise, executing a step S692;
and the terminal determines whether the target file is a large resource file or not according to the size relation between the size numerical value of the target file and the preset control value.
If the size value of the target file is larger than the preset control value, determining that the target file is a large resource file, otherwise, determining that the target file is not the large resource file.
Optionally, the preset control value may be obtained by the terminal from the target file provider, and of course, the preset control value may also be preset in the terminal.
S691: feeding back prompt information for prohibiting downloading the target file to the target file provider, and executing the step S693;
in this embodiment, when the size value of the target file is greater than the preset control value, the terminal may determine that the target file is a large resource file, and feed back prompt information to the target file provider, where the prompt information represents that the target file is prohibited from being downloaded.
S692: downloading the target file and executing the step S693;
and under the condition that the size value of the target file is not larger than the preset control value, the terminal can determine that the target file is not a large resource file, the terminal can download the target file, and optionally, the terminal directly downloads the target file from a target file provider.
Optionally, the terminal downloads the target file from the target file provider through a preset downloading tool.
S693: storing a judgment result of whether the target file is larger than a preset control value;
in this embodiment, the determination result may be stored locally, or only the determination result may be cached, which is not limited in this embodiment.
Optionally, the unique identifier corresponding to the target file is also stored.
S694: and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
S695: only the target file is downloaded.
In this embodiment, the terminal stores the determination result of determining whether the size value of the target file is greater than the preset control value, and then directly performs an operation of feeding back the prompt information or downloading the target file according to the determination result of whether the target file is greater than the preset control value according to the subsequent requirement for acquiring the target file.
Namely: when the target file is obtained subsequently, the terminal can directly determine whether the target file is a large resource file according to the stored judgment result, if so, prompt information can be directly fed back, otherwise, the target file is directly downloaded.
The user can directly determine whether to enable the file downloading method through the shielding strategy.
Optionally, judging whether the stored judgment result exceeds a preset time limit; and if so, deleting the judgment result exceeding the preset time limit. Otherwise, no processing is performed.
Therefore, whether the target file is a large resource file or not can be judged according to the size relation between the size numerical value of the target file and the preset control value, so that the large resource file is filtered, only the target file which is not the large resource file is downloaded, and the flow is saved. And after judging whether the target file is a large resource file, uniformly storing the unique identifier of the target file and a judgment result representing whether the target file is the large resource file or not into the terminal, thereby saving the storage space of the terminal and avoiding the problem of blockage caused by excessive memory of the terminal.
In order to better explain the implementation process of the method in this embodiment, the method in this embodiment is explained below with reference to a specific application example.
Fig. 7 is a schematic structural diagram of a file downloading method according to a seventh embodiment of the present invention. According to fig. 7, a seventh embodiment of the present invention provides a file downloading method, which is applied to downloading advertisement resources, and specifically, the method includes:
1. the server is configured with a shielding strategy, whether the file downloading method is started or not is configured in the screen strategy, and the server is the target file provider in the first to sixth embodiments;
2. the terminal acquires the shielding strategy, if the shielding strategy is configured to start the method, the terminal acquires a threshold control variable from the server side, wherein the threshold control variable is a preset control value in the first to sixth embodiments, and if not, the step 11 is executed;
3. a terminal acquires a Uniform Resource Locator (URL) of a resource to be acquired, wherein the URL is a unique identifier in the first to sixth embodiments, and the resource to be acquired is a target file in the first to sixth embodiments;
specifically, for versions with an android API of 21 or above, a shouldnterceptrequest (WebView view, WebResourceRequest request) field of a WebView needs to be reloaded, then a url of a resource is obtained through a locator acquisition field request.getUrl ().tostring (), for versions with an android API lower than 21, a locator for reloading a WebView intercepts a shouldnterceptrequest (WebView, strongurl) field of a WebView, and the locator is directly used for intercepting the url provided by the web request field.
4. The terminal determines whether the URL and a judgment result are cached; if not, executing the step 5, otherwise, executing the step 12;
5. the terminal establishes a network request through url;
6. the terminal acquires the ContentLength value of the resource to be acquired corresponding to the URL according to the network request, and immediately closes the request after acquiring the ContentLength value to prevent the resource from being continuously downloaded;
7. the terminal determines whether the size of the resource to be acquired exceeds the threshold control variable according to the size relation between the ContentLength and the threshold control variable, if so, the step 8 is executed, otherwise, the step 9 is executed;
8. the terminal returns a WebResourceResponse object constructed by a null character string to the server, the WebResourceResponse object constructed by the null character string is the prompt message in the first to sixth embodiments, and step 10 is executed;
9. downloading by WebView, and executing step 10;
10. and putting the URL of the resource to be acquired and the judgment result into an LrucCache for caching.
Specifically, the judged url is placed into an LruCache cache, the url is taken as a key value key, the value of the url exceeding the threshold is false, and the value of the url not exceeding the threshold is true.
11. And (4) handing to WebView for downloading.
12. Determining whether the judgment result is characterized in that the resource to be acquired is a large resource file; if yes, executing step 8; otherwise, step 9 is executed.
Fig. 8 is a schematic structural diagram of a file downloading device according to an eighth embodiment of the present invention. According to fig. 8, an eighth embodiment of the present invention provides an apparatus for downloading a file, the apparatus comprising:
a value obtaining module 110, configured to obtain a size value of the target file from a target file provider; a judging module 120, configured to judge whether a size value of the target file is greater than a preset control value; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; a storage module 130, configured to store a determination result of whether the target file is greater than a preset control value; the execution module 140 is configured to directly perform an operation of feeding back the prompt information or downloading the target file according to a determination result of whether the target file is greater than a preset control value according to a subsequent acquisition requirement of the target file.
Optionally, the apparatus further comprises: and the strategy acquisition module is used for acquiring a shielding strategy, and the shielding strategy is configured with whether the device is started or not.
Optionally, the value obtaining module 110 includes: the identification acquisition unit is used for acquiring the unique identification of the target file from a target file provider; and the value acquiring unit is used for acquiring the size value of the target file from the target file provider according to the unique identifier.
Optionally, the apparatus further comprises: the storage judging module is used for judging whether the judging result corresponding to the target file is stored according to the unique identifier after the unique identifier of the target file is acquired from the target file provider and before the size numerical value of the target file is acquired from the target file provider according to the unique identifier; if yes, determining to feed back the prompt information to the target file provider or download the target file according to the judgment result; otherwise, determining to acquire the size numerical value of the target file.
Optionally, the numerical value obtaining unit is specifically configured to: sending a network request constructed according to the unique identifier to the target file provider; and acquiring the size numerical value of the target file fed back by the target file provider.
Optionally, the apparatus further comprises: and the request closing module is used for closing the network request after sending the network request constructed according to the unique identifier to the target file provider and before acquiring the size numerical value of the target file fed back by the target file provider.
Optionally, the apparatus further comprises: the time limit judging module is used for judging whether the stored judging result exceeds a preset time limit or not; and if so, deleting the judgment result exceeding the preset time limit.
A ninth embodiment of the present invention provides a computer apparatus, comprising a processor and a memory; the memory is used for storing computer instructions, and the processor is used for operating the computer instructions stored by the memory to realize the file downloading method.
The terms and implementation principles related to a computer device in the ninth embodiment of the present invention may specifically refer to a file downloading method in the first to seventh embodiments of the present invention, and are not described herein again.
A tenth embodiment of the present invention provides a computer-readable storage medium storing one or more modules executable by one or more processors to implement a method of file downloading as described above.
The terms and implementation principles related to a computer-readable storage medium in the tenth embodiment of the present invention may specifically refer to a file downloading method in the first to seventh embodiments of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (16)
1. A method of file download, the method comprising:
acquiring a size numerical value of a target file from a target file provider;
judging whether the size numerical value of the target file is larger than a preset control value or not according to the preset control value preset in the terminal;
if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file; storing a judgment result of whether the target file is larger than a preset control value;
and subsequently, directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than a preset control value or not according to the acquisition requirement of the target file.
2. The method of claim 1, further comprising: and acquiring a shielding strategy, wherein the shielding strategy is configured with whether the method is started or not.
3. The method of claim 1, wherein obtaining the size value of the target file from the target file provider comprises:
acquiring a unique identifier of a target file from a target file provider;
and acquiring the size numerical value of the target file from the target file provider according to the unique identifier.
4. The method of claim 3, wherein after said obtaining the unique identifier of the object file from the object file provider and before obtaining the size value of the object file from the object file provider according to the unique identifier, the method further comprises:
judging whether the judgment result corresponding to the target file is stored or not according to the unique identifier;
if yes, determining to feed back the prompt information to the target file provider or download the target file according to the judgment result; otherwise, determining to acquire the size numerical value of the target file.
5. The method of claim 3, wherein obtaining the size value of the object file from the object file provider according to the unique identifier comprises:
sending a network request constructed according to the unique identifier to the target file provider;
and acquiring the size numerical value of the target file fed back by the target file provider.
6. The method of claim 5, wherein after sending the network request constructed according to the unique identifier to the target file provider, and before obtaining the size value of the target file fed back by the target file provider, the method further comprises:
closing the network request.
7. The method according to any one of claims 1-6, further comprising:
judging whether the stored judgment result exceeds a preset time limit or not;
and if so, deleting the judgment result exceeding the preset time limit.
8. An apparatus for file downloading, the apparatus comprising:
the numerical value acquisition module is used for acquiring the size numerical value of the target file from the target file provider;
the judging module is used for judging whether the size numerical value of the target file is larger than a preset control value according to the preset control value preset in the terminal; if yes, feeding back prompt information for prohibiting downloading the target file to the target file provider; otherwise, downloading the target file;
the storage module is used for storing a judgment result of whether the target file is larger than a preset control value;
and the execution module is used for directly executing the operation of feeding back the prompt message or downloading the target file according to the judgment result of whether the target file is larger than the preset control value or not aiming at the acquisition requirement of the target file subsequently.
9. The apparatus of claim 8, further comprising:
and the strategy acquisition module is used for acquiring a shielding strategy, and the shielding strategy is configured with whether the device is started or not.
10. The apparatus of claim 8, wherein the value obtaining module comprises:
the identification acquisition unit is used for acquiring the unique identification of the target file from a target file provider;
and the value acquiring unit is used for acquiring the size value of the target file from the target file provider according to the unique identifier.
11. The apparatus of claim 10, further comprising:
the storage judging module is used for judging whether the judging result corresponding to the target file is stored according to the unique identifier after the unique identifier of the target file is acquired from the target file provider and before the size numerical value of the target file is acquired from the target file provider according to the unique identifier; if yes, determining to feed back the prompt information to the target file provider or download the target file according to the judgment result; otherwise, determining to acquire the size numerical value of the target file.
12. The apparatus according to claim 10, wherein the numerical value obtaining unit is specifically configured to: sending a network request constructed according to the unique identifier to the target file provider; and acquiring the size numerical value of the target file fed back by the target file provider.
13. The apparatus of claim 12, further comprising:
and the request closing module is used for closing the network request after sending the network request constructed according to the unique identifier to the target file provider and before acquiring the size numerical value of the target file fed back by the target file provider.
14. The apparatus of any one of claims 8-13, further comprising:
the time limit judging module is used for judging whether the stored judging result exceeds a preset time limit or not; and if so, deleting the judgment result exceeding the preset time limit.
15. A terminal comprising a processor and a memory;
the memory is used for storing computer instructions, and the processor is used for operating the computer instructions stored by the memory to realize a file downloading method of any one of claims 1 to 7.
16. A computer readable storage medium, storing one or more programs, executable by one or more processors, for performing a method for file download as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810489341.8A CN108667939B (en) | 2018-05-21 | 2018-05-21 | File downloading method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810489341.8A CN108667939B (en) | 2018-05-21 | 2018-05-21 | File downloading method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108667939A CN108667939A (en) | 2018-10-16 |
CN108667939B true CN108667939B (en) | 2021-09-28 |
Family
ID=63777019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810489341.8A Active CN108667939B (en) | 2018-05-21 | 2018-05-21 | File downloading method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108667939B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IL180566A (en) * | 2007-01-04 | 2013-03-24 | Boaz Fletcher | Electronic messaging system and method |
CN102904915B (en) * | 2011-07-28 | 2016-02-24 | 腾讯科技(深圳)有限公司 | The methods, devices and systems of deal with data |
CN104185250A (en) * | 2014-09-15 | 2014-12-03 | 联想(北京)有限公司 | Wireless communication method, electronic devices and wireless communication system |
CN104243604A (en) * | 2014-09-28 | 2014-12-24 | 北京奇虎科技有限公司 | File disabling method and device |
CN104331428B (en) * | 2014-10-20 | 2017-07-04 | 暨南大学 | The storage of a kind of small documents and big file and access method |
KR20160080825A (en) * | 2014-12-29 | 2016-07-08 | 대우조선해양 주식회사 | System for upload and download of bulk file through plug-in |
CN107343055A (en) * | 2017-08-30 | 2017-11-10 | 努比亚技术有限公司 | A kind of document down loading method, mobile terminal and router |
-
2018
- 2018-05-21 CN CN201810489341.8A patent/CN108667939B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108667939A (en) | 2018-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10694353B2 (en) | Updating web resources | |
CN106990950B (en) | Interface layout method and device | |
US6976251B2 (en) | Intelligent update agent | |
CN103826215B (en) | A kind of method and apparatus for carrying out Root authority management on the terminal device | |
CN108228810B (en) | Form linkage configuration method and system and form updating method and system | |
CN108874426B (en) | Application program updating method and device and readable storage medium | |
US9756120B2 (en) | Computing device with automatic download and installation of a new plug-in | |
US20200264904A1 (en) | Application environment that implements native code functionality in progressive web applications | |
CN104954395B (en) | Information-pushing method and device | |
CN106713395B (en) | Data downloading method and device | |
CN112579202A (en) | Method, device, equipment and storage medium for editing service program of Windows system | |
CN106708494B (en) | JAR upgrading method and device | |
CN101146111B (en) | A file download method and device | |
CN108667939B (en) | File downloading method, device, terminal and storage medium | |
CN113641987A (en) | Interception method and device for application silent installation and computer equipment | |
US9946557B2 (en) | Computing device with script execution application | |
JP2021535480A (en) | Resource allocation method, equipment and storage media | |
CN113900723B (en) | Common platform updating method, network device and computer readable storage medium | |
CN106843929B (en) | Game installation method, installation display processing device and terminal | |
CN111176671A (en) | Method for automatically and continuously updating system, mobile terminal and storage medium | |
CN111522615B (en) | Method, device, equipment and storage medium for updating command line interface | |
CN112882733A (en) | Application updating method and device, electronic equipment and storage medium | |
CN112596773A (en) | Application program updating method, device, equipment and storage medium | |
CN107193588B (en) | Application upgrading method and device | |
CN108536483B (en) | Starting control method and system for starting item |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |