IP Library Granted Patent US 8,510,401
Granted Patent B2
US 8,510,401 · App. 13/675,580 · Granted Aug 13, 2013

File folder transmission on network

Inventor: Zhenguo Bai (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,510,401
App. No.
13/675,580
Granted
Aug 13, 2013
Kind
B2
Abstract

Disclosed are a method and a system for transmitting a file folder from the sending end to the receiving end. The system uses a file folder transmission unit at the sending end side to generate a directory structure file of the file folder. The directory structure file may have properties such as the size of the file folder, paths and path lengths of the files in the file folder. The sending end then sends the directory structure file to the receiving end through the file folder transmission unit to allow the system to determine which files in the file folder need to be transmitted. The needed files in the file folder are then transmitted to the receiving end according to the determination. The sending end and the receiving end may communicate using an instant messaging tool. The disclosed method and system allow a faster and more convenient file folder network transmission.

Claims (39)

1. A method for transmitting a file folder from a sending end to a receiving end, the method comprising:

generating a directory structure file of the file folder, the directory structure file having properties including size of the file folder, paths and path lengths of files in the file folder, wherein generating the directory structure file comprises traversing the file folder and computing the properties of the directory structure file;

sending the directory structure file from the sending end to the receiving end;

determining files in the file folder that need to be transmitted from the sending end to the receiving end; and

transmitting the files in the file folder that need to be transmitted to the receiving end.

2. The method as recited in claim 1 , wherein the properties of the directory structure file further include a size of a subfolder in the file folder and paths and path lengths of files in the subfolder.

3. The method as recited in claim 1 , wherein determining the files in the file folder that need to be transmitted comprises analyzing the directory structure file at the receiving end.

4. The method as recited in claim 1 , further comprising:

sending a file acquisition request from the receiving end to the sending end to request the files in the file folder that need to be transmitted.

5. The method as recited in claim 1 , further comprising:

sending a file folder transmission request to the receiving end through an instant messaging channel.

6. The method as recited in claim 1 , further comprising:

establishing a network data transmission channel based on network condition between the sending end and the receiving end before sending the directory structure file from the sending end to the receiving end.

7. The method as recited in claim 1 , further comprising:

determining whether the receiving end already has the directory structure file before transmitting the directory structure file.

8. The method as recited in claim 7 , wherein determining whether the receiving end already has the directory structure file comprises:

generating an index identifier of the directory structure file;

sending the index identifier to the receiving end; and

determining whether the receiving end already has the directory structure file using the index identifier.

9. The method as recited in claim 8 , wherein the index identifier is a 16-bit unique identifier extracted from the directory structure file using a message digest algorithm.

10. The method as recited in claim 1 , wherein, upon an occurrence of a network connection interruption between the receiving end and the sending end, the method further comprises:

acquiring breakpoint information of transmission interruption of the directory structure file or the file folder; and

resuming the transmission from a position indicated by the breakpoint information.

11. The method as recited in claim 1 , wherein the size of the file folder is described using a 64-bit integer.

12. An apparatus for transmitting a file folder from a sending end to a receiving end, the apparatus comprising:

one or more processors;

memory;

a file directory management module stored in the memory and executable by the one or more processors that is adapted for generating a directory structure file of the file folder, the directory structure file having properties including size of the file folder, paths and path lengths of files in the file folder, wherein generating the directory structure file comprises traversing the file folder and computing the properties of the directory structure file;

a file folder transmission operation logic module stored in the memory and executable by the one or more processors that is adapted for determining files in the file folder that need to be transmitted from the sending end to the receiving end according to the directory structure file; and

a network transmission module stored in the memory and executable by the one or more processors that is adapted for sending the directory structure file from the sending end to the receiving end, and for transmitting the files in the file folder that need to be transmitted to the receiving end.

13. The apparatus as recited in claim 12 , wherein the file folder transmission operating logic module is further adapted for receiving a file acquisition request from the receiving end, the file acquisition request requesting the files in the file folder that need to be transmitted.

14. The apparatus as recited in claim 12 , the apparatus being adapted for sending a file folder transmission request to the receiving end through an instant messaging channel.

15. The apparatus as recited in claim 12 , wherein the network transmission module is further adapted for establishing a network data transmission channel based on network condition between the sending end and the receiving end before sending the directory structure file from the sending end to the receiving end.

16. One or more storage devices having stored thereupon a plurality of instructions that, when executed by a processor, causes the processor to perform acts comprising:

generating a directory structure file of a file folder, the directory structure file having properties including size of the file folder, paths and path lengths of files in the file folder, wherein generating the directory structure file comprises traversing the file folder and computing the properties of the directory structure file;

sending the directory structure file from a sending end to a receiving end;

determining files in the file folder that need to be transmitted from the sending end to the receiving end according to the directory structure file; and

transmitting the files in the file folder that need to be transmitted to the receiving end.

17. The one or more storage devices as recited in claim 16 , wherein determining the files in the file folder that need to be transmitted comprises determining the files in the file folder that need to be transmitted according to a file transmission request received from the receiving end.

Priority Claims (1)
CN 2008 1 0084253 · Mar 28, 2008 · national
Continuity (2)
Continuation 12600449
Related Publication 20130073596A1 · Mar 21, 2013