CN101599986A - The method of increasing transmission speed of files and computer system - Google Patents

The method of increasing transmission speed of files and computer system Download PDF

Info

Publication number
CN101599986A
CN101599986A CNA200810109360XA CN200810109360A CN101599986A CN 101599986 A CN101599986 A CN 101599986A CN A200810109360X A CNA200810109360X A CN A200810109360XA CN 200810109360 A CN200810109360 A CN 200810109360A CN 101599986 A CN101599986 A CN 101599986A
Authority
CN
China
Prior art keywords
file
group
files
processing mode
transmission speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA200810109360XA
Other languages
Chinese (zh)
Other versions
CN101599986B (en
Inventor
林国维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Acer Inc
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to CN200810109360XA priority Critical patent/CN101599986B/en
Publication of CN101599986A publication Critical patent/CN101599986A/en
Application granted granted Critical
Publication of CN101599986B publication Critical patent/CN101599986B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a kind of method and computer system of increasing transmission speed of files, described method comprise provide a plurality of file group, with a plurality of files according to the property sort of described file to described file group, the described file under the described file group is taked a package processing mode of corresponding this document group, and the described file under this document group is transmitted.

Description

The method of increasing transmission speed of files and computer system
Technical field
The invention relates to the file transfer method, especially about the file transfer method in the network.
Background technology
When the other end of heap file to network sent in our tendency to develop, common practices was by network on-line described file to be transmitted one by one.Yet this method will expend the considerable time.Reason has several, and one of them is between file due to the too many added burden (overhead).The foundation of network on-line and keep the extra control information of normal needs is there to be many added burdens between file transfer.When the transmission heap file, these trifling added burdens can expend the plenty of time.Provide a method reducing this type of added burden in the prior art, the method is encapsulated (pack) bigger package (packet) that pluralizes with described file before transmission, and is transmitted with the package pattern.When the quantity of documents that transmits is a lot, described file is encapsulated and the shared time of decapsulation (unpack), will be when transmitting one by one the shared time of all trifling added burdens, as shown in Figure 1.In addition, another slow reason of file transfer speed comes from file itself, with the other method in the prior art file is compressed, and in general, compression can diminish file, and then reduces the time of transfer files, as shown in Figure 2.
Yet, in fact, file is encapsulated or compressed, itself also takies some times this type of action, be really to be reached the effect that reduces the transmission time simply file encapsulate or to compress, in some cases, increase the overall consumed time of file transfer on the contrary, and one by one file is judged whether to be encapsulated or compress obviously also non-wise move.
Summary of the invention
The invention provides a kind of method in order to increasing transmission speed of files, comprise provide a plurality of file group, with a plurality of files according to the property sort of described file to described file group, the described file under the described file group is taked a package processing mode of corresponding this document group, and the described file under this document group is transmitted.The characteristic of wherein said file comprises the size of described file or the type of described file, and this document type can be according to the extension name of this document.Described file group comprises one first file group, and it is the set that file size surpasses the file of a particular value.Also comprise one second file group in the described file group, it is that file size surpasses this particular value, and its compression ratio is less than the set of the file of a certain compression.Also comprise one the 3rd file group in the described file group, it is that file size surpasses this particular value, and its compression ratio surpasses the set of the file of a certain compression.Wherein to the action of one first package processing mode that should the first file group for described file not being encapsulated or compresses.To one second package processing mode that should the second file group for the described file in this second file group is encapsulated in a plurality of packages.To one the 3rd package processing mode that should the 3rd file group be with the described File Compress in the 3rd file group in a plurality of packages.
The present invention can save the file transfer time.
Description of drawings
Fig. 1 is before encapsulating in the file transfer and the comparison diagram after the encapsulation.
Fig. 2 is before compressing in the file transfer and the comparison diagram after the compression.
Fig. 3 is a method flow diagram of the present invention.
Fig. 4 is for classifying the documents according to embodiments of the invention and adopting the correspondence table of package processing mode.
Fig. 5 is that various extension name are according to its corresponding compression ratio classification schematic diagram.
Fig. 6 is the computer system in order to increasing transmission speed of files according to embodiments of the invention.
Drawing reference numeral:
A~B~C~... F~file;
S301~S304~step.
Embodiment
For purpose of the present invention, feature can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below:
For allow purpose of the present invention, feature, and advantage can become apparent, preferred embodiment cited below particularly, and cooperate Fig. 3 to Fig. 5 is described in detail.
The method flow diagram of Fig. 3 for quickening file transfer according to the present invention.The present invention belongs to the invention of application layer (Application Layer) in the network osi model (Open System Interconnection ReferenceModel) in order to transmit a plurality of files at intercomputer.In Fig. 3 step S301, method of the present invention provides a plurality of file group, and is example so that three file groups to be provided in the present embodiment, comprise one first file group, one second file group and one the 3rd file group, yet the present invention is not as limit.In step S302, judge the characteristic of described file, and in the extremely described file of the property sort group according to described file, and the characteristic of described file comprises the size of described file and the type of this document, the type of wherein said file then can be judged according to the extension name of this document, see aftermentioned for details.
The mode classification of step S302 sees also the 2nd hurdle among Fig. 4 in the present embodiment, wherein, this first file group is the set that file size surpasses a particular value file, this particular value is 700MB in present embodiment, is to comprise promptly that with this step the All Files size is classified in this first file group above 700MB person in the described file that tendency to develop is defeated.Moreover this second file group is that file size does not surpass this particular value, and its compression ratio is less than the set of the file of a certain compression.The ratio of the file size after this compression ratio is defined as the preceding file size of compression and compresses:
Compression ratio=(file size before the compression)/(file size after the compression);
And this certain compression is 1.4 in present embodiment, and the extension name of this document promptly can be used as the foundation of its compression ratio, for example, expansion jpg person by name changes very few (compression ratio is much smaller than 1.4) with compressed software commonly used such as WinRAR compression back file size, be with, the jpg shelves are one to have the file type of low compression ratio, and document classification as shown in Figure 5.Step S302 comprises that again the All Files size is classified in this second file group less than 1.4 above 700MB and compression ratio in the described file that tendency to develop is defeated.At last, the 3rd file group is that file size does not surpass the set that this particular value and compression ratio surpass the file of this certain compression.Similarly, compression ratio is with above-mentioned definition, the extension name of this document promptly can be used as the foundation of its compression ratio, for example, expansion txt person by name changes very huge (compression ratio far surpasses 1.4) with compressed software commonly used such as WinRAR compression back file size, be to be one to have the file type of high compression ratio with, txt shelves, document classification as shown in Figure 5.Step S302 comprises that more the All Files size is classified in the 3rd file group above 1.4 above 700MB and compression ratio in the described file that tendency to develop is defeated.
The present invention takes a package processing mode of corresponding this document group respectively to described file group in step S303.In the present embodiment, to one first package processing mode that should the first file group for described file not being encapsulated (packing) or compression (compressing).In the present embodiment, one second package processing mode that should the second file group for the described file in this second file group is encapsulated in a plurality of packages, but is not compressed described file.In the present embodiment, to one the 3rd package processing mode that should the 3rd file group for the described File Compress in the 3rd file group and be encapsulated into a plurality of packages.At last, method of the present invention is transmitted the described file under this document group in step S304.
It should be noted that, adopt the reason of this first package processing mode to be this first file group last being set forth among the step S303, file in this first file group is big, added burden between file (overhead) relative file itself comes much smallerly, and it is encapsulated or compresses on the contrary and come consuming timely with respect to direct transmission.And adopt the reason of this second package processing mode to be this second file group among the step S303, file compression rate in this second file group too small (promptly the file size after the compression is still big), to its compress and after decompress spent temporal summation its encapsulation back is transmitted time of being consumed many, be needn't it being compressed.Yet, adopt the reason of the 3rd package processing mode to be the 3rd file group among the step S303, the file compression rate in the 3rd file group is big, is worth earlier it being compressed again transmitting.
Method according to prior art experimentizes, and the result is shown in following table ().Wherein the total size of file of transmission is all 11.8GB (9922 of number of files) in each experiment, and its included a plurality of files have various file types.This experiment is transmitted file in experiment 1 respectively totally one by one; In experiment 2, file is encapsulated the back totally and transmit, and after transmission, give decapsulation again; And in experiment 3, file being encapsulated and the transmission of compression back totally, and decapsulation and decompression again after transmitting.Can find that from experiment in experiment 1, it need not encapsulate and compression time, is 1 hour 38 minutes 24 seconds but always expend time in, for the longest among the three.Experiment 3 is the action of experiment 2 increase compressed file cases relatively, is to have long encapsulation and compression time, equally also to have long decapsulation and decompression time.
Come again, according to embodiments of the invention, file is classified to each file group after, with the method for corresponding this document group file is transmitted respectively again, shown in following table (two).This is tested with above-mentioned experiment, the file content of transmission identical (the total big or small 11.8GB of file, 9922 of numbers).Therefore the experiment of prior art is adopted in contrast, and it only is 0 hour 34 minutes 18 seconds that the present invention always expends time in, and can find that the present invention can save the file transfer time really.
Encapsulation and compression time Transmission time Decapsulation and decompression time Always expend time in
Experiment 1 0:0:0 1:38:24 0:0:0 1:38:24
Experiment 2 0:18:59 0:06:53 0:14:54 0:40:46
Experiment 3 0:20:12 0:06:36 0:16:40 0:43:22
Table (one)
The total size of file (number of files) Encapsulation and compression time Transmission time Decapsulation and decompression time Always expend time in
The first file group 4.28GB(6) 0:0:0 0:03:14 0:0:0 0:03:14
The second file group 6.75GB(4940) 0:13:23 0:04:20 0:08:50 0:26:33
The 3rd file group 837MB(4976) 0:03:01 0:00:16 0:01:14 0:04:31
Altogether 11.8GB(9922) 0:34:18
Table (two)
Fig. 6 is the computer system in order to increasing transmission speed of files according to another embodiment of the present invention.This computer system 600 has a central control unit 602, a storage element 604, a network element 606.This central control unit 602 is in the present embodiment as the hardware core of these all computings of computer system.This storage element 604 is in order to storing a plurality of files, transports to the file of network and described file comprises tendency to develop in the present embodiment.This network element 606 will provide the path that is connected to network to this computer system.Except that hardware, this computer system 600 comprises that again an operating system 608 is implemented on software platform on the physical network according to this as the present invention.This operating system 608 comprises a file accelerator module 610 again, and wherein the method for the increasing transmission speed of files of this document accelerator module 610 enforcements as previous embodiment, comprises step S302 to S304 at least.In step S302, this document accelerator module 610 these a plurality of files that network is transported in these computer system 600 tendencies to develop are complied with in the extremely a plurality of file of the property sort group of described file.In step S303, the described file under the described file of 610 pairs of this document accelerator modules group is taked a package processing mode of corresponding this document group, and this package processing mode embodiment is not as described above giving unnecessary details in this.Last the present invention is in step S304, and this document accelerator module 610 is transferred to network by this network element 606 with the described file under this document group, and wherein this network can be cable network or wireless network.Being familiar with this skill personage can understand easily, this computer system can be portable computer system such as notebook computer (Notebook), PDA(Personal Digital Assistant), intelligent mobile phone (SmartPhone) and stationary computers system such as desktop computer (Desktop) etc., be with, the present invention can be widely used in the aforementioned calculation machine system.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limiting the present invention, anyly has the knack of this skill person, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking the claim scope person of defining.

Claims (19)

1. the method in order to increasing transmission speed of files is characterized in that, this method comprises:
A plurality of file group is provided;
In the property sort extremely described file group of a plurality of files according to described file;
Described file under the described file group is taked a package processing mode of corresponding this document group; And
Described file under the described file group is transmitted.
2. the method in order to increasing transmission speed of files as claimed in claim 1 is characterized in that, the characteristic of described file comprises the size of described file or the type of described file.
3. the method in order to increasing transmission speed of files as claimed in claim 2 is characterized in that, described file type can be according to the extension name of described file.
4. the method in order to increasing transmission speed of files as claimed in claim 1 is characterized in that, comprises one first file group in the described file group, and it is the set that file size surpasses the file of a particular value.
5. the method in order to increasing transmission speed of files as claimed in claim 1 is characterized in that, comprises one second file group in the described file group, and it is that file size surpasses a particular value, and its compression ratio is less than the set of the file of a certain compression.
6. the method in order to increasing transmission speed of files as claimed in claim 1 is characterized in that, comprises one the 3rd file group in the described file group, and it is that file size surpasses a particular value, and its compression ratio surpasses the set of the file of a certain compression.
7. the method in order to increasing transmission speed of files as claimed in claim 4, it is characterized in that, described package processing mode comprises one first package processing mode of the corresponding described first file group, and this first package processing mode stops the action that to encapsulate or compress for the described file to this first file group.
8. the method in order to increasing transmission speed of files as claimed in claim 5, it is characterized in that, described package processing mode comprises one second package processing mode of the corresponding described second file group, and this second package processing mode is for to be encapsulated into the described file in this second file group in a plurality of packages.
9. the method in order to increasing transmission speed of files as claimed in claim 6, it is characterized in that, described package processing mode comprises one the 3rd package processing mode that should the 3rd file group, and the 3rd package processing mode be with the described File Compress in the 3rd file group in a plurality of packages.
10. the computer system in order to increasing transmission speed of files is characterized in that, this computer system comprises:
One file accelerator module, this computer system tendency to develop is transported in the extremely a plurality of file of the property sort group of a plurality of files according to described file of network, described file under the described file group is taked a package processing mode of corresponding this document group, and the described file under this document group is transferred to network.
11. the computer system in order to increasing transmission speed of files as claimed in claim 10 is characterized in that, the characteristic of described file comprises the size of described file or the type of described file.
12. the computer system in order to increasing transmission speed of files as claimed in claim 11 is characterized in that, described file type can be according to the extension name of described file.
13. the computer system in order to increasing transmission speed of files as claimed in claim 10 is characterized in that, comprises one first file group in the described file group, it is the set that file size surpasses the file of a particular value.
14. the computer system in order to increasing transmission speed of files as claimed in claim 10, it is characterized in that, comprise one second file group in the described file group, it is that file size surpasses a particular value, and its compression ratio is less than the set of the file of a certain compression.
15. the computer system in order to increasing transmission speed of files as claimed in claim 10, it is characterized in that, comprise one the 3rd file group in the described file group, it is that file size surpasses a particular value, and its compression ratio surpasses the set of the file of a certain compression.
16. the computer system in order to increasing transmission speed of files as claimed in claim 13, it is characterized in that, described package processing mode comprises one first package processing mode of the corresponding described first file group, and this first package processing mode stops the action that to encapsulate or compress for the described file to this first file group.
17. the computer system in order to increasing transmission speed of files as claimed in claim 14, it is characterized in that, described package processing mode comprises one second package processing mode of the corresponding described second file group, and this second package processing mode is for to be encapsulated into the described file in this second file group in a plurality of packages.
18. the computer system in order to increasing transmission speed of files as claimed in claim 15, it is characterized in that, described package processing mode comprises one the 3rd package processing mode of corresponding described the 3rd file group, and the 3rd package processing mode be with the described File Compress in the 3rd file group in a plurality of packages.
19. the computer system in order to increasing transmission speed of files as claimed in claim 10 is characterized in that, described network is cable network or wireless network.
CN200810109360XA 2008-06-02 2008-06-02 Method for increasing transmission speed of files and computer system Expired - Fee Related CN101599986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810109360XA CN101599986B (en) 2008-06-02 2008-06-02 Method for increasing transmission speed of files and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810109360XA CN101599986B (en) 2008-06-02 2008-06-02 Method for increasing transmission speed of files and computer system

Publications (2)

Publication Number Publication Date
CN101599986A true CN101599986A (en) 2009-12-09
CN101599986B CN101599986B (en) 2012-08-08

Family

ID=41421231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810109360XA Expired - Fee Related CN101599986B (en) 2008-06-02 2008-06-02 Method for increasing transmission speed of files and computer system

Country Status (1)

Country Link
CN (1) CN101599986B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188368A (en) * 2011-12-27 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Data transmission method and communication terminal
CN103701860A (en) * 2013-12-06 2014-04-02 北京奇虎科技有限公司 Network transmission and receiving methods and devices for small files, and network transmission system
CN104978319A (en) * 2014-04-02 2015-10-14 东华软件股份公司 Method and equipment used for classified transmission of files
WO2017050283A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Data processing method and device
CN106603686A (en) * 2016-12-23 2017-04-26 郑州云海信息技术有限公司 File transmission method based on distributed storage system
WO2017185597A1 (en) * 2016-04-25 2017-11-02 中兴通讯股份有限公司 Data sending method and apparatus
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy
CN108566328A (en) * 2018-01-18 2018-09-21 北京三快在线科技有限公司 Data transmission method, device, medium and electronic equipment
CN108833530A (en) * 2018-06-11 2018-11-16 联想(北京)有限公司 A kind of transmission method and device
CN110266814A (en) * 2019-07-09 2019-09-20 联想(北京)有限公司 Transmission method and transmitting device
US10863005B2 (en) 2017-12-27 2020-12-08 Fujitsu Limited Data transmitting program, data transmitting device, and data transmitting method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161633B (en) * 2016-07-20 2020-05-05 柏科数据技术(深圳)股份有限公司 Transmission method and system for packed files based on cloud computing environment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69432798T2 (en) * 1994-01-21 2004-05-06 Koninklijke Kpn N.V. METHOD AND DEVICE FOR TRANSFORMING A SERIES OF DATA PACKAGES WITH THE AID OF DATA COMPRESSION
CA2163556C (en) * 1994-04-22 2006-07-11 Tetsuji Kawashima System and method for transmitting compressed data or pre-compressed data based on a preset compression ratio
CN1584875B (en) * 2004-06-01 2011-08-10 北京九州软件有限公司 Ergodic compressing and decompressing method for batched computer document
CN100396126C (en) * 2005-02-02 2008-06-18 华为技术有限公司 Method of transmitting data to base station by base station controller

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188368B (en) * 2011-12-27 2017-01-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method and communication terminal
CN103188368A (en) * 2011-12-27 2013-07-03 宇龙计算机通信科技(深圳)有限公司 Data transmission method and communication terminal
CN103701860A (en) * 2013-12-06 2014-04-02 北京奇虎科技有限公司 Network transmission and receiving methods and devices for small files, and network transmission system
CN104978319A (en) * 2014-04-02 2015-10-14 东华软件股份公司 Method and equipment used for classified transmission of files
WO2017050283A1 (en) * 2015-09-25 2017-03-30 中兴通讯股份有限公司 Data processing method and device
CN106559444A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Data processing method and device
WO2017185597A1 (en) * 2016-04-25 2017-11-02 中兴通讯股份有限公司 Data sending method and apparatus
CN106603686A (en) * 2016-12-23 2017-04-26 郑州云海信息技术有限公司 File transmission method based on distributed storage system
CN108009204A (en) * 2017-11-02 2018-05-08 深圳市网心科技有限公司 Method and system based on extension name classification and de-redundancy
US10863005B2 (en) 2017-12-27 2020-12-08 Fujitsu Limited Data transmitting program, data transmitting device, and data transmitting method
CN108566328A (en) * 2018-01-18 2018-09-21 北京三快在线科技有限公司 Data transmission method, device, medium and electronic equipment
WO2019140963A1 (en) * 2018-01-18 2019-07-25 北京三快在线科技有限公司 Data transmission
CN108566328B (en) * 2018-01-18 2021-03-02 北京三快在线科技有限公司 Data transmission method, device, medium and electronic equipment
CN108833530A (en) * 2018-06-11 2018-11-16 联想(北京)有限公司 A kind of transmission method and device
CN110266814A (en) * 2019-07-09 2019-09-20 联想(北京)有限公司 Transmission method and transmitting device

Also Published As

Publication number Publication date
CN101599986B (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN101599986B (en) Method for increasing transmission speed of files and computer system
CN101917490B (en) Method and system for reading cache data
CN100562021C (en) A kind of control method of distributed multi-source data that can be synchronous and device
EP2732377A2 (en) Optimizing data processing using dynamic schemas
CN106302245A (en) The compression method of packet and device in a kind of LTE system
CN102571966A (en) Network transmission method for large extensible markup language (XML) document
CN107171922A (en) Heterogeneous system bridge service method based on middleware Technology
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
CN106161633A (en) A kind of based on the transmission method of packaging file under cloud computing environment and system
CN102571820B (en) For transmitting the method for data, compression service device and terminal
CN102801783A (en) Local cloud storing method and system
CN101197773B (en) Packet compressed transmitting and received de-compression method and system based on multilink
CN103716413B (en) Acceleration method for mass small document IO operation transmission in distribution type document system
CN105677259A (en) Method for storing file in mobile terminal and mobile terminal
CN102437894B (en) Method, device and equipment for compressing information to be sent
CN103106144B (en) A kind of internal memory index compression method and apparatus
WO2023123991A1 (en) Data transmission method and apparatus, electronic device, and storage medium
CN100542339C (en) Portable terminal is carried out the method and system of telemanagement
CN102984753A (en) A method for improving the transmission efficiency of wireless communication data
CN110036621A (en) Frequent data item value is compressed across narrow link
US9860175B2 (en) Methods, systems, and computer program products for processing a packet
CN101901273B (en) Memory disk-based high-performance storage method and device
CN101452449A (en) Method for invoking web page with each other between different browsers
CN201467470U (en) Multi-standard joint communication wireless multimedia terminal unit
WO2021036189A1 (en) Rdma data sending and receiving methods, electronic device and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120808