Method for processing uploading of multiple-instance large files based on browser

A processing method and browser technology, applied in the network field, can solve problems such as inability to see upload progress in real time, file size limitation, poor user experience, etc., and achieve good user experience and improved processing capabilities

Inactive Publication Date: 2014-10-08
HUBEI ANBIAO INFORMATION TECH
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First, the size of the browser-based upload will be limited by the memory available on the server
Especially when concurrent, if there are too many processes uploading files at the same time, it will cause insufficient memory on the server side
In addition, users cannot see the upload progress in real time, resulting in poor user experience

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
  • Method for processing uploading of multiple-instance large files based on browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0014] Please refer to figure 1 , the present invention is based on the processing method of browser-based multi-instance large file upload, and its steps include:

[0015] 1) When the user selects a file, for browsers that do not support HTML5 language, only one file can be selected at a time, and a file is selected to save an upload request in the request queue; for browsers that support HTML5 language, multiple files can be selected at a time, At this time, the selected files are saved to the request queue in turn;

[0016] 2) The files in the request queue send upload requests to the service in turn, and the request header will contain a file size information; when a file is being uploaded, other upload requests will be in a waiting state;

[0017] 3) After receiving the upload request message, the server first obtains the f...

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 relates to the technical field of networks, in particular to a method for processing uploading of multiple-instance large files based on a browser. The method for processing uploading of the multiple-instance large files based on the browser is characterized by comprising the steps that (1) files are selected and stored in a request queue; (2) the files in the request queue sequentially sends uploading requests to a server; (3) after the server receives uploading request messages, the file sizes are acquired first; (4) a server end reads binary stream data, a binary stream is divided into multiple blocks according to the writing size at each time, and each binary stream server writs while reads; (5) after the uploading requests in the request queue are sent successfully, a browser end acquires the uploading progress and displays the uploading progress on a webpage; (6) after the browser end receives a successful processing result, the next file in the request queue uploads the request. According to the method for processing uploading of the multiple-instance large files based on the browser, the browser end is used for controlling concurrent request numbers, the method for reading and writing the files of the server is changed, and therefore the uploading concurrent processing capacity of the server is improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a browser-based processing method for uploading multi-instance large files. Background technique [0002] Browser-based file upload is a feature of most browser-based programs. First, the file size of browser-based uploads is limited by the memory available on the server. Especially when concurrent, if there are too many processes uploading files at the same time, the server will run out of memory. In addition, users cannot see the upload progress in real time, resulting in poor user experience. Contents of the invention [0003] The purpose of the present invention is to overcome the disadvantages of the prior art, and provide a browser-based processing method for multi-instance large file uploading. [0004] In order to solve the above technical problems, the technical solution of the present invention is: a browser-based method for processing multi-instance large file up...

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): H04L29/08
Inventor 王征平黄平韩腾飞陈杰蔡博丁
Owner HUBEI ANBIAO INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products