File transmission method under C/S framework

A file transmission and S-architecture technology, applied in the field of computer data storage, can solve problems such as transmission interruption and implementation complexity, and achieve the effects of simple use, realization of breakpoint resume transmission, and improvement of transmission efficiency

Inactive Publication Date: 2017-05-31
厦门天锐科技股份有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At work, it is often necessary to transfer files between the client and the server. Due to network instability and other reasons, the transmission is often interrupted during the transmission process. At this time, it is necessary to retransmit or continue the transmission. Currently, the file is being transferred When retransmitting, a database or configuration file is used to record the length information of the uploaded or downloaded file, which is very complicated to implement and needs to be improved

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The technical solutions of the present invention will be described in detail below in conjunction with specific embodiments.

[0019] The present invention provides a file transfer method under the C / S framework, which can realize the file transfer between the sending end and the receiving end, including the following steps:

[0020] Step 1, the sending end provides the receiving end with the file name, the identification information of the file, the length of the file and the file saving path;

[0021] The identification information may be a message digest or a hash value of the file;

[0022] Step 2, the receiving end names the temporary file according to the file name and the identification information of the file;

[0023] Step 3, the receiving end calculates the length of the received temporary file, and then notifies the sending end of the temporary file length;

[0024] Step 4, the sending end continues to transfer files to the receiving end until the end of th...

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 a file transmission method under a C / S framework. The file transmission method used for transmitting files between a transmitting end and a receiving end includes the steps of firstly, the transmitting end provides a file name, file identification information, a file length and a file save path for the receiving end; secondly, the receiving end names a temporary file according to the file name and the file identification information; thirdly, the receiving end calculates the length of the received temporary file and notifies the transmitting end of the temporary file length; fourthly, the transmitting end continues transmitting the file to the receiving end until the transmission is ended; fifthly, the receiving end calculates the identification information of the received temporary file, wherein the transmission is successful if the identification information obtained by the calculation is identical with the file name of the temporary file. By the file transmission method, the situation of file re-uploading after file retransmission or transmission interruption can be reduced, and file transmission efficiency is increased.

Description

technical field [0001] The invention belongs to the technical field of computer data storage, and in particular relates to a file transmission method under the C / S framework. Background technique [0002] With the popularization of office electronicization, in order to improve the work efficiency and information security of employees in enterprises (units), most enterprises (units) carry out certain management and control on the office files of employees, and it is inevitable that local terminal files need to be uploaded / Backup to the server, and download / restore from the server when needed. [0003] At work, it is often necessary to transfer files between the client and the server. Due to network instability and other reasons, the transmission is often interrupted during the transmission process. At this time, it is necessary to retransmit or continue the transmission. Currently, the file is being transferred When retransmitting, a database or configuration file is used t...

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
CPCH04L67/06
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