Large file uploading method based on HTML5 and Python

A technology for large files and files, which is applied in the field of large file uploads based on HTML5 and Python, can solve problems such as difficult reverse derivation of plaintext, difficult reverse, high probability, etc., to save traffic and time costs, reduce waiting time, and smooth the system Effect

Inactive Publication Date: 2020-06-30
山东爱城市网信息技术有限公司
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 2) Reverse Difficulty: Given (several) hash values, it is difficult (basically impossible) to reverse the plaintext within a limited time
And if the input messages are different, the SHA algorithm has a high probability of corresponding to different strings

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
  • Large file uploading method based on HTML5 and Python
  • Large file uploading method based on HTML5 and Python

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be described in detail below in conjunction with the embodiments. It should be noted that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0032] This large file upload method based on HTML5 and Python does not need to use a third-party library for uploading files. The file is divided into blocks at the front end, and then the files separated into blocks are uploaded to the background one by one. After getting the code snippets, splice them into a complete file and save it.

[0033] The method for uploading a large file based on HTML5 and Python includes the following steps:

[0034] The first step is to encrypt the entire file, and the encrypted file generates a uniquely identified string;

[0035] The second step is to pass the value o...

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 particularly relates to a large file uploading method based on HTML5 and Python. According to the HTML5 and Python-based large file uploading method, a library for uploading files by a third party does not need to be used, the files are partitioned into blocks at the front end, then the files partitioned into blocks are uploaded to the background successively, a breakpoint resume technology is supported, and the files are spliced into a complete file and stored after code fragments are obtained in a background Python environment. In the large file uploading method based on HTML5and Python, through the cooperation of the background and the application program, the operation of uploading the large file by the user becomes simple and efficient, the breakpoint resume function isrealized, the waiting time of the user is reduced, the user can be prevented from repeatedly uploading the same content for multiple times, the flow and time cost of the user are saved, the application program becomes more flow-saving, and the system is smoother.

Description

technical field [0001] The invention relates to the technical field of webpage file uploading, in particular to a large file uploading method based on HTML5 and Python. Background technique [0002] At present, it is very difficult to upload huge files in the webpage through the interface data request method. There is basically no pressure when uploading files of a few KB or several MB in ordinary html forms, but when uploading hundreds of MB or even GB Level large files are difficult to achieve. [0003] In some businesses, uploading large files is a relatively important interaction scenario, such as uploading relatively large Excel table data to the library, uploading audio and video files, and so on. If the file size is relatively large, or the network condition is not good, the upload time will be relatively long (more packets need to be transmitted, and the probability of packet loss and retransmission is also greater), the user cannot refresh the page, and can only wa...

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/08H04L29/06G06F16/16G06F21/60G06F21/64
CPCH04L67/06H04L67/108H04L63/123G06F16/16G06F21/602G06F21/64
Inventor 陈隆霄
Owner 山东爱城市网信息技术有限公司
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