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

Webstocket-based broken-point continuous-transmission method and apparatus

A technology that resumes uploading from a breakpoint and is not uploaded. It is applied in the field of computer networks and can solve problems such as network speed gaps, files cannot be uploaded continuously, and file transfer efficiency is affected, so as to achieve the effect of improving transfer efficiency.

Inactive Publication Date: 2016-02-17
INSPUR QILU SOFTWARE IND
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there may be a gap in the network speed of the sender and receiver, or poor network stability on one or both parties, which may cause interruptions in the file transfer process, making it impossible to continue uploading halfway through the file transfer
[0003] At present, in the process of transferring files, if an unexpected interruption occurs, the file can only be transferred again. When the file is large, the efficiency of file transfer is greatly affected.

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
  • Webstocket-based broken-point continuous-transmission method and apparatus
  • Webstocket-based broken-point continuous-transmission method and apparatus
  • Webstocket-based broken-point continuous-transmission method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050]The embodiment of the present invention provides a WebSocket-based breakpoint resume method, which is applied to the client, see figure 1 , the method may include the following steps:

[0051] Step 101: Determine the target file to be sent to the server, and add the target file to the queue to be uploaded for file upload;

[0052] Step 102: Calculate the hash value of the target file in the queue to be uploaded, and send the file information of t...

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 provides a webstocket-based broken-point continuous-transmission method and apparatus. The method comprises: a target file is determined and is added into a to-be-uploaded waiting queue to carry out file uploading; a harshed value of the target file in the to-be-uploaded queue is calculated, file information of the target file is sent to a server side and thus the server side divides the target file into a plurality of pieces of file block information, whether a file block corresponding to each piece of file block information is uploaded successfully is determined according to the divided file block information; an uploading instruction that is sent by the server side when the file block that is not uploaded successfully is determined to be contained is received, wherein the uploading instruction contains file block information corresponding to the file block that is not uploaded successfully and the file block information contains the harshed value and a starting position of the file block that is not uploaded successfully in the target file; and according to the uploading instruction, the file block that is not uploaded successfully is uploaded. According to the invention, broken-point continuous-transmission of a file is realized; and the transmission efficiency of a large file is improved.

Description

technical field [0001] The invention relates to computer network technology, in particular to a method and device for resuming transmission based on WebSocket. Background technique [0002] With the rapid development of Internet technology, the efficiency of file transfer between enterprises is also getting higher and higher. When transferring files between enterprises or within an enterprise, the sender can directly use Internet technology to send the files to be transferred to the receiver. However, there may be a gap in network speed between the sender and receiver, or poor network stability on one or both parties, which may cause interruptions in the file transfer process, making it impossible to continue uploading halfway through the file transfer. [0003] At present, in the process of file transfer, if an unexpected interruption occurs, the file can only be re-transmitted. When the file is large, the efficiency of file transfer is greatly affected. Contents of the ...

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): H04L29/08
CPCH04L67/02H04L67/06
Inventor 王柏华孙长杰李照川赵海兴
Owner INSPUR QILU SOFTWARE IND
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