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

A file uploading method and device, electronic device and storage medium

A file upload and file technology, applied in the Internet field, can solve problems such as memory leaks and cumbersome processes, and achieve the effect of improving user experience and simple parallel processing

Active Publication Date: 2022-07-05
KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and device for uploading files, which are used to solve the cumbersome process of supervising file processing procedures in the prior art and the problems of memory leaks caused by improper management, so as to realize efficient and stable file uploading and improve user experience at the same time

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
  • A file uploading method and device, electronic device and storage medium
  • A file uploading method and device, electronic device and storage medium
  • A file uploading method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0080] figure 1 A schematic flowchart of a file uploading method provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0081] Step 110, receiving an instruction to upload a file.

[0082] Step 120, traverse the file doubly linked list, and determine the proxy object corresponding to the file to be uploaded; wherein, the file doubly linked list includes a plurality ...

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 present invention provides a file uploading method and device, an electronic device and a storage medium. The method includes: receiving an instruction to upload a file; traversing a file doubly linked list to determine a proxy object corresponding to a file to be uploaded; wherein the file doubly linked list includes multiple The proxy objects are sequentially linked by bidirectional pointers, and the proxy objects include the state data and segment data of the corresponding file; according to the state data of the file to be uploaded, the segment data corresponding to the file to be uploaded is sent to the server. The invention uses a doubly linked list structure to centrally and uniformly schedule and manage all files to be processed, realizes simple and parallel processing of multiple files, makes the process of uploading pieces no longer need to rely on the publish-subscribe mode, and can supervise the upload status in real time, making the file processing process easier Not lost, prepare for retry and breakpoint resuming, realize efficient and stable file upload, and improve user experience at the same time.

Description

technical field [0001] The present invention relates to the field of Internet technologies, and in particular, to a file uploading method and device, an electronic device and a storage medium. Background technique [0002] At present, videos and pictures uploaded from the front-end page are usually small files of no more than 20M, and can be uploaded directly without fragmentation. For files with a large amount of data, the method of multipart upload is adopted. When uploading large files, the upload is often interrupted. In order to resume the upload from a breakpoint, the event model is usually used for subscription and publishing, and the processing of file fragments is monitored in real time, so that the file processing process is not lost. [0003] Among them, direct upload without fragmentation is suitable for files with a small amount of data, but with the increase of file data, the upload time becomes longer, and the instability of the network environment increases ...

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 Patents(China)
IPC IPC(8): H04L67/06H04L49/9015
CPCH04L67/06H04L49/9015
Inventor 郭雯宇
Owner KE COM (BEIJING) TECHNOLOGY CO LTD