Folder transmission method and device

A transmission method and folder technology, applied in the field of network communication, can solve the problem of wasting system bandwidth, save time and make full use of network bandwidth.

Active Publication Date: 2012-05-23
ALIBABA GRP HLDG LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a file transfer method and device to solve the problem of wasting system bandwidth when transferring files based on folders

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
  • Folder transmission method and device
  • Folder transmission method and device
  • Folder transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0026] See figure 1 , which is the flow chart of the first embodiment of the folder transmission method of the present application, and is specifically described as follows:

[0027] Step 101: The IM receiver obtains directory information of a folder to be transmitted from the IM sender to the IM receiver, and the directory information includes the file identifier and file size of each file in the folder to be transmitted.

[0028] After the IM sending end and the IM receiving end establish a network connection, when the IM sending end needs to send a folder to the IM receiving end, the IM sending end first traverses the files in the folder to be transferred, calculates and generates the size of the disk space occupied by the folder , the path to each file in the folder, the file name, file ID, and file size directory information for each file.

[0029] The IM sending end sends to the IM receiving end the configuration information generated according to the directory informat...

no. 1 example

[0065] see image 3 , which is a block diagram of the first embodiment of the folder transmission device of the present application:

[0066] The folder transmission device includes: an acquiring unit 310 , a sending unit 320 , an updating unit 330 , a calculating unit 340 and a judging unit 350 .

[0067] Wherein, the obtaining unit 310 is configured to obtain directory information of a folder when the device is used as an IM receiving end, the folder is a folder to be transmitted from the IM sending end to the IM receiving end, and the directory information includes the Describe the file ID and file size of each file in the folder to be transferred;

[0068] A sending unit 320, configured to send a file data acquisition request to the IM sending end according to the file identifier in the directory information;

[0069] An update unit 330, configured to increase the value of a pre-established data member variable according to the file size of the requested file in the file...

no. 2 example

[0073] see Figure 4 , which is a block diagram of the second embodiment of the folder transmission device of the present application:

[0074] The folder transmission device includes: an acquiring unit 410 , a preset unit 420 , a sending unit 430 , an updating unit 440 , a computing unit 450 , a judging unit 460 and an operating unit 470 .

[0075] Wherein, the obtaining unit 410 is configured to obtain directory information of a folder when the device is used as an IM receiving end, the folder is a folder to be transmitted from the IM sending end to the IM receiving end, and the directory information includes the Describe the file ID and file size of each file in the folder to be transferred;

[0076] The preset unit 420 is configured to pre-establish a data member variable for the folder to be transferred, and initialize the value of the data member variable to zero;

[0077] A sending unit 430, configured to send a file data acquisition request to the IM sending end acco...

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 folder transmission method and a folder transmission device. The method comprises the following steps that: an instant messaging (IM) receiving end obtains directory information of a folder; a file data obtaining request is sent to an IM sending end according to a file mark in the directory information, a value of the pre-built data member variable is added according to the file size in the requested file in the file data obtaining request, when the file data sent by the IM sending end according to the obtaining request is received, the receiving speed of the file data is calculated, and the value of the data member variable is reduced according to the size of the received file data; and when the value of the data member variable is smaller than the preset times of the current received data quantity in the unit time, whether all files in the folder are completely obtained or not is judged, if so, the flow process is completed, and otherwise, the operation is returned to the step of sending the file data obtaining request to the IM sending end. The embodiment of the invention has the advantages that the network bandwidth can be sufficiently utilized, the network bandwidth utilization rate is improved, and simultaneously, the folder transmission time is reduced.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a folder transmission method and device. Background technique [0002] IM (Instant Messaging, Instant Messaging) is a real-time communication service that allows users to set up private chat rooms on the Internet. Since file transfer has become a basic application for Internet users, most existing IM tools integrate file transfer functions, and in order to facilitate users to transfer multiple files, many IM tools have developed folder transfer on the basis of file transfer. function to simplify operations for users when transferring multiple files. [0003] In the prior art, two IM clients carry out according to the following process when transferring folders: the IM sending end generates configuration information according to the directory structure information of the folder to be transferred, and transmits the configuration information to the IM receiving end, a...

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): H04L12/58H04L29/08
Inventor 白振国
Owner ALIBABA GRP HLDG LTD
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