Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An HTML5 breakpoint resuming method

A technology for resumed uploading and files, applied in the field of video cloud storage systems and HTML5 resumed uploading, which can solve the problems of upload failure, HTTP connection disconnection, and inability to continue uploading, and achieve the effect of short upload time.

Inactive Publication Date: 2019-05-28
CHUANGSHENG SHILIAN DIGITAL TECH BEIJING CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing solution, the browser and the server continue to send the file stream. When there is jitter in the network, or other circumstances cause the HTTP connection to be disconnected, the upload fails, and the upload cannot be continued. When the file is too large, the network is unstable and it is easy to appear Cases where the upload fails

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
  • An HTML5 breakpoint resuming method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0021] Such as figure 1 Shown, the method for HTML5 (HyperText Markup Language, hypertext markup language) of the present invention resumes the breakpoint, and it comprises the following steps:

[0022] Step 1, select the uploaded file through the file selection box of the browser;

[0023] Step 2, judging whether the use of ajax (webpage development technology for creating interactive webpage applications) to request the upload server to create a video unique identifier (vid) is successful, if so, go to step 3, otherwise go to step 6;

[0024] Step 3, use ajax to send the video unique identifier returned in step 2 to the server to obtain the video upload location;

[0025] Step 4, use the new API (Application Programming Interface, application programming interface) method of File (fi...

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 an HTML5 breakpoint resuming method. The method comprises the following steps that 1, an uploading file is selected through a browser file selection box; 2, whether the video unique identifier is successfully created by using the ajax request uploading server or not is judged, if yes, the step 3 is executed, and otherwise, the step 6 is executed; and step 3, the video unique identifier returned in the step 2 is sent to a server by using the ajax to obtain a video uploading position and the like. According to the invention, when the network shakes or the HTTP connectionis disconnected, the browser can continue to upload the video file from the disconnected position; The file uploading is faster; The breakpoint is continuously uploaded in the file uploading process,and the situation that the whole file is uploaded again after uploading fails due to the fact that the network speed is low and the file is jammed is avoided; The uploading time is shorter, and the file uploading is faster; The uploading process is interrupted due to low network speed or network jitter of the breakpoint continuous uploading video, the uploaded file part does not need to be uploaded again, and only the non-uploaded file part needs to be uploaded.

Description

technical field [0001] The invention relates to the field of a video cloud storage system applied to browsers to upload video files, in particular to a method for HTML5 breakpoint resume transmission. Background technique [0002] Traditional browsers upload video files, select files to create unique video identifiers, and send video files and unique video identifiers to the server through the HTTP protocol. During the entire upload process, the browser continuously sends video files to the server. When the entire video file and unique video identifiers All are sent to the server. After the server returns the uploaded information, the browser will prompt the user that the video file has been uploaded successfully. In the existing solution, the browser and the server continue to send the file stream. When there is jitter in the network, or other conditions cause the HTTP connection to be disconnected, the upload fails, and the upload cannot be continued. When the file is too ...

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
IPC IPC(8): H04N21/4782H04N21/643H04N21/8543H04L29/08
Inventor 尚雷涛
Owner CHUANGSHENG SHILIAN DIGITAL TECH BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products