Unlock instant, AI-driven research and patent intelligence for your innovation.

File downloading method and device and medium

A file download and file technology, applied in electrical components, special data processing applications, instruments, etc., can solve the problem of heavy workload for developers, and achieve the effect of facilitating third-party access and less workload

Pending Publication Date: 2022-04-26
大数金科网络技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem of heavy workload of existing developers in the development process, the present invention provides a file download method, device and medium, which can greatly reduce the workload of developers, will not invade existing projects, and is beneficial to the first Three-way access

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File downloading method and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments. It should be noted here that although the descriptions of these embodiments are used to help the understanding of the present invention, they are not intended to limit the present invention. Specific structural and functional details disclosed herein are for purposes of describing example embodiments of the invention only. However, the invention may be embodied in many alternative forms and should not be construed as limited to the embodiments set forth herein.

[0028] It should be understood that for the term "and / or" that may appear in this article, it is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and / or B may indicate: A exists alone, B alone exists, and A and B exist at the same time; for the term " / and" that may appear in this article, it describes anoth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a file downloading method, file downloading equipment and a medium. The file downloading method comprises the following steps: acquiring a network address of a file to be downloaded and a local address for storing the file to be downloaded; switching to a sub-thread and downloading a file according to the network address, acquiring attribute information of a file stream of a to-be-downloaded file through a request interceptor in a downloading process, the attributes including a downloaded node, a file name, a current timestamp, a file downloading state and the size of the to-be-downloaded file; the file downloading state comprises downloading completion, non-downloading completion, downloading abnormity and path abnormity; and storing the downloaded file stream to a local address, generating a callback object according to the attribute information of the file stream, storing the callback object, and switching to a main thread until the file downloading state of the to-be-downloaded file is downloading completion. By adopting the method, the workload is low, the existing project is not invaded, and the third party access is facilitated.

Description

technical field [0001] The invention belongs to the technical field of application development, and in particular relates to a file downloading method, device and medium. Background technique [0002] In the android development process, due to business needs, it is often necessary to download files for installing apk or other previewable files. Based on this requirement, developers can use open source technology to complete. The existing download file development method is a step-by-step method of integrating and using various open source frameworks, and each step needs to be written by the developer himself during the development process. Namely adopting the existing method, the workload of its developer is heavy. Contents of the invention [0003] In order to solve the problem of heavy workload of existing developers in the development process, the present invention provides a file download method, device and medium, which can greatly reduce the workload of developers, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/448G06F16/172H04L67/06
CPCG06F9/4484G06F16/172H04L67/06
Inventor 莫超卢冯成夏彬
Owner 大数金科网络技术有限公司