CN101599986B - Method for increasing transmission speed of files and computer system - Google Patents

Method for increasing transmission speed of files and computer system Download PDF

Info

Publication number
CN101599986B
CN101599986B CN200810109360XA CN200810109360A CN101599986B CN 101599986 B CN101599986 B CN 101599986B CN 200810109360X A CN200810109360X A CN 200810109360XA CN 200810109360 A CN200810109360 A CN 200810109360A CN 101599986 B CN101599986 B CN 101599986B
Authority
CN
China
Prior art keywords
file
group
processing mode
package processing
described file
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.)
Expired - Fee Related
Application number
CN200810109360XA
Other languages
Chinese (zh)
Other versions
CN101599986A (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 method for increasing the transmission speed of files and a computer system. The method comprises the following steps: providing a plurality of file groups; sorting a plurality of files to the file groups according to the characteristics of the files; adopting a package processing mode corresponding to the file groups for the files in the file groups; and transmitting the files in the file groups.

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 through 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 the labor time.Provide a method reducing this type of added burden in the prior art, the method is that described file encapsulate (pack) the individual bigger package (packet) that pluralizes before transmission, and transmits 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, is to be that file is compressed with another method in the prior art, and in general, compression can diminish file, and then reduces the time of transfer files, and is as shown in Figure 2.
Yet; In fact, file is encapsulated or compresses, itself also takies some times this type of action; Be really to reach the effect that reduces the transmission time simply file encapsulated 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 encapsulate or compress obviously also non-wise move.
Summary of the invention
The present 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 accordinging to the correspondence table that embodiments of the invention classify the documents and adopt the package processing mode.
Fig. 5 is that various extension name are according to its corresponding compression ratio classification sketch map.
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 make the object of the invention, characteristic can be more obviously understandable, hereinafter is special lifts preferred embodiment, and conjunction with figs., elaborates as follows:
For let the object of the invention, characteristic, and advantage can be more obviously understandable, hereinafter is special lifts preferred embodiment, and cooperates Fig. 3 to Fig. 5, does detailed explanation.
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, and the type of wherein said file then can be judged according to the extension name of this document, states after seeing 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 is 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.Likewise; Compression ratio is with above-mentioned definition, and 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 is 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 for a short time, 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 with its encapsulation back transmit 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 transmission totally, 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 the present invention always expends time in and is merely 0 hour 34 minutes 18 seconds, 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 NE 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 NE 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 the 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 such as previous embodiment are not being given unnecessary details in this.Last the present invention is in step S304, and this document accelerator module 610 transfers to network through this NE 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 art, do not breaking away 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 (7)

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, wherein, the characteristic of described file comprises the size of 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;
Wherein, comprise one first file group in the described file group, it is the set that file size surpasses the file of a particular value; 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;
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; 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;
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; 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;
The ratio of the file size after said compression ratio is defined as the preceding file size of compression and compresses.
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 also comprises 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. device in order to increasing transmission speed of files that is used for computer system is characterized in that this device 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; Wherein,
The characteristic of described file comprises the size of described file;
Comprise one first file group in the described file group, it is the set that file size surpasses the file of a particular value; 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;
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; 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;
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; 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;
The ratio of the file size after said compression ratio is defined as the preceding file size of compression and compresses.
5. the device in order to increasing transmission speed of files that is used for computer system as claimed in claim 4 is characterized in that the characteristic of described file also comprises the type of described file.
6. the device in order to increasing transmission speed of files that is used for computer system as claimed in claim 5 is characterized in that described file type can be according to the extension name of described file.
7. the device in order to increasing transmission speed of files that is used for computer system as claimed in claim 4 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 CN101599986A (en) 2009-12-09
CN101599986B true 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161633A (en) * 2016-07-20 2016-11-23 柏科数据技术(深圳)股份有限公司 A kind of based on the transmission method of packaging file under cloud computing environment and system
EP3506097A1 (en) * 2017-12-27 2019-07-03 Fujitsu Limited Data transmitting program, data transmitting device, and data transmitting method

Families Citing this family (10)

* 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
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
CN106559444A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Data processing method and device
CN107306444A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Send the method and device of data
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
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
CN110266814B (en) * 2019-07-09 2021-08-17 联想(北京)有限公司 Transmission method and transmission device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1127558A (en) * 1994-04-22 1996-07-24 索尼公司 Device and method for transmitting data, and device and method for recording data
EP1280279A2 (en) * 1994-01-21 2003-01-29 Koninklijke KPN N.V. Method and device for transforming a series of data packets by means of data compression
CN1584875A (en) * 2004-06-01 2005-02-23 北京九州计算机网络有限公司 Ergodic compressing and decompressing method for batched computer document
CN1816182A (en) * 2005-02-02 2006-08-09 华为技术有限公司 Method of transmitting data to base station by base station controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1280279A2 (en) * 1994-01-21 2003-01-29 Koninklijke KPN N.V. Method and device for transforming a series of data packets by means of data compression
CN1127558A (en) * 1994-04-22 1996-07-24 索尼公司 Device and method for transmitting data, and device and method for recording data
CN1584875A (en) * 2004-06-01 2005-02-23 北京九州计算机网络有限公司 Ergodic compressing and decompressing method for batched computer document
CN1816182A (en) * 2005-02-02 2006-08-09 华为技术有限公司 Method of transmitting data to base station by base station controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161633A (en) * 2016-07-20 2016-11-23 柏科数据技术(深圳)股份有限公司 A kind of based on the transmission method of packaging file under cloud computing environment and system
EP3506097A1 (en) * 2017-12-27 2019-07-03 Fujitsu Limited Data transmitting program, data transmitting device, and data transmitting method

Also Published As

Publication number Publication date
CN101599986A (en) 2009-12-09

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
CN106302245A (en) The compression method of packet and device in a kind of LTE system
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
CN102571966A (en) Network transmission method for large extensible markup language (XML) document
CN106161633A (en) A kind of based on the transmission method of packaging file under cloud computing environment and system
CN103716413B (en) Acceleration method for mass small document IO operation transmission in distribution type document system
CN104978319A (en) Method and equipment used for classified transmission of files
CN101630323A (en) Method for compressing space of finite automaton
CN102437894B (en) Method, device and equipment for compressing information to be sent
CN105653484A (en) Data block-oriented compression multi-path transmission method
CN110278143A (en) E-mail data processing method, device, computer equipment and storage medium
CN105677259A (en) Method for storing file in mobile terminal and mobile terminal
CN102880739A (en) Network minimum path set determination method based on adjacency list
CN107729406A (en) A kind of data classification storage method and device
CN103106144B (en) A kind of internal memory index compression method and apparatus
CN111124801A (en) Intelligent system resource monitoring method and device and computer readable storage medium
CN100542339C (en) Portable terminal is carried out the method and system of telemanagement
WO2023123991A1 (en) Data transmission method and apparatus, electronic device, and storage medium
CN110036621A (en) Frequent data item value is compressed across narrow link
US20140301199A1 (en) Methods, systems, and computer program products for processing a packet
CN103138766A (en) Method and device of compression and decompression of data
CN104678815A (en) Interface structure and configuration method of FPGA (field programmable gate array) chip
CN107318129A (en) Data processing method, device and terminal

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