CN106060118A - Data transmission method and system - Google Patents

Data transmission method and system Download PDF

Info

Publication number
CN106060118A
CN106060118A CN201610326425.0A CN201610326425A CN106060118A CN 106060118 A CN106060118 A CN 106060118A CN 201610326425 A CN201610326425 A CN 201610326425A CN 106060118 A CN106060118 A CN 106060118A
Authority
CN
China
Prior art keywords
transmission
transmitted
data
ping
package
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.)
Pending
Application number
CN201610326425.0A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610326425.0A priority Critical patent/CN106060118A/en
Publication of CN106060118A publication Critical patent/CN106060118A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data transmission method. The method includes the following steps: establishing connection between a local server and a remote server, and determining connection to the maximum transmission bandwidth for transmitting a ping packet; packaging a to-be-transmitted data file to a corresponding to-be-transmitted ping packet, and based on an expected transmission speed and the maximum transmission bandwidth of the to-be-transmitted data file, determining the linking number of connection for transmitting the to-be-transmitted ping packet; based on the determined linking number, configuring local servers and remote servers with a corresponding number so as to transmit the to-be-transmitted ping packet. The invention also provides a data transmission system which can effectively configure corresponding local servers and remote servers for data transmission based on the to-be-transmitted data file, and meet requirements for corresponding data transmission so as to guarantee data transmission speed of high requirements.

Description

Data transmission method and system
Technical field
Disclosure embodiment relates to Communication Control Technology field, particularly relates to a kind of data transmission method and system.
Background technology
In daily life, the speed that network transmits is limited to ensure most user's body by the network operation chamber of commerce Test;Especially in transnational data are transmitted, Transmission Control Protocol based on friendly data transmission, Virtual network operator typically will not be by TCP bag Intercepting, but the transmission speed of Transmission Control Protocol is relatively slow, Consumer's Experience is poor;A kind of solution party as above-mentioned technical problem Case, allows users to enjoy the Consumer's Experience of preferably data transmission based on udp protocol, but owing to udp protocol has Aggressivity, cause occupied bandwidth relatively big, the transmission of network operation chamber of commerce disabling UDP message bag.
How improving data transmission bauds to optimize data transmission Consumer's Experience is a current industry difficult problem urgently to be resolved hurrily.
Summary of the invention
Disclosure embodiment provides a kind of data transmission method and system, in order to solve to be illustrated in above-mentioned prior art At least one technical problem.
On the one hand, disclosure embodiment provides a kind of data transmission method, including:
Set up between home server with remote server and be connected, and be connected to described in determining transmit ping package Maximum transmission bandwidth;
It is corresponding ping package to be transmitted by data to be transmitted Document encapsulation, and according to described data to be transmitted file Expect that transfer rate and described maximum transmission bandwidth determine the connection number of the connection for transmitting described ping package to be transmitted;
Home server and remote server according to the described connection number configuration respective numbers determined are treated described in transmission Transmission ping package.
On the other hand, disclosure embodiment also provides for a kind of data transmission system, including:
Maximum transmission bandwidth determines unit, is connected for setting up between home server with remote server, and determines The described maximum transmission bandwidth being connected to transmit ping package;
Data transmission connects number and determines unit, and being used for data to be transmitted Document encapsulation is corresponding ping to be transmitted envelope Bag, and determine according to the expectation transfer rate of described data to be transmitted file and described maximum transmission bandwidth and treat described in transmitting The connection number of the connection of transmission ping package;
Configuration data transmission unit, for configuring the home server of respective numbers with remote according to the described connection number determined Journey server is to transmit described ping package to be transmitted.
In the data transmission method provided in disclosure embodiment and system, ping bag is creatively utilized to transmit data File, can effectively avoid the Virtual network operator disabling to UDP bag in daily life, can realize again the data higher than TCP bag Transfer rate, improves Consumer's Experience;And, effectively can dispose corresponding home server according to data file waiting for transmission Complete data transmission with remote server, and meet corresponding data transfer demands to ensure the message transmission rate of high request; Further, based on a determination that the maximum data transfer bandwidth of transmission ping package so that ensureing while data transmission is experienced also Server and bandwidth resources will not be wasted, saved server and bandwidth cost.
Accompanying drawing explanation
In order to be illustrated more clearly that disclosure embodiment or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is these public affairs Some embodiments opened, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is illustrated that the flow chart of the data transmission method of the disclosure one embodiment;
Step 101 the holding in detail under a kind of preferred embodiment that Fig. 2 is illustrated that in the data transmission method shown in Fig. 1 Row figure;
What Fig. 3 .1 and Fig. 3 .2 was illustrated that a specific embodiment of disclosure data transmission method realizes design sketch;
Fig. 4 is illustrated that the structural representation of the data transmission system of the disclosure one embodiment;
The maximum transmission bandwidth that Fig. 5 is illustrated that in the data transmission system shown in Fig. 4 determines that unit is the most real in one Execute the detailed construction schematic diagram under example;
Fig. 6 is that the structure of the computer system that can apply to realize the terminal unit of disclosure embodiment or server is shown It is intended to.
Specific embodiment
For making the purpose of disclosure embodiment, technical scheme and advantage clearer, below in conjunction with disclosure embodiment In accompanying drawing, the technical scheme in disclosure embodiment is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the disclosure rather than whole embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of disclosure protection.
See the flow chart that Fig. 1 is illustrated that the data transmission method of the disclosure one embodiment, including:
Step 101: set up between home server with remote server and be connected, and determine that above-mentioned being connected to is transmitted The maximum transmission bandwidth of ping package;
In the present embodiment, be determined by the IP address of home server and remote server with ensure home server and The communication connection of remote server, as an example, home server and remote server can be same server operator portions Affix one's name at different local servers;Can be by test with the maximum transmission bandwidth determining ping package, it is also possible to transported by network The maximum transmission bandwidth of the ping package that battalion business is notified, therefore the determination mode of maximum transmission bandwidth should not be limited at this; Should explain, Virtual network operator can be the Virtual network operator China Mobile of China, CHINAUNICOM, the Verizon of the U.S. Wireless, Sprint Nextel etc., in this type that should not be limited Virtual network operator and title;Transmission ping package Maximum transmission bandwidth be Virtual network operator limit ping package largest data transfer speed.
Step 102: be corresponding ping package to be transmitted by data to be transmitted Document encapsulation, and according to data to be transmitted literary composition The expectation transfer rate of part and maximum transmission bandwidth determine the connection number of the connection for transmitting above-mentioned ping package to be transmitted;
As example, can be by adding the packet header of ping package for data to be transmitted file with by data to be transmitted file It is encapsulated as corresponding ping package to be transmitted;By true with the integer that the ratio of maximum transmission bandwidth rounds up for expectation transfer rate Be set to connection number, can ensure determined by connect the accuracy of number.
Step 103: the home server connecting number configuration respective numbers and remote server according to determining are with in transmission State ping package to be transmitted.
In the data transmission method that disclosure embodiment is provided, creatively utilize ping package transmission data literary composition Part, can effectively avoid the Virtual network operator disabling to UDP bag in daily life, can realize again passing higher than the data of TCP bag Defeated speed, improves Consumer's Experience;Further, can effectively according to data file waiting for transmission dispose corresponding home server and Remote server completes data transmission scheme, to meet corresponding data transfer demands to ensure the data transmission speed of high request Rate;Based on a determination that the maximum data transfer bandwidth of transmission ping package so that ensureing while data transmission is experienced the most not Server and bandwidth resources can be wasted, saved server and bandwidth cost.
In the data transmission method provided in disclosure embodiment application on the one hand, can apply with each local clothes The first management server that business device is associated neutralizes in the second management server being associated with each remote server, thus, makes Can be realized breaking through between home server and remote server by the first management server and the second management server The restriction of large transmission bandwidth, can meet the speed that preset requirement data are transmitted by effective guarantee.
See detailed under a kind of preferred embodiment of step 101 that Fig. 2 is illustrated that in the data transmission method shown in Fig. 1 Carefully perform figure, including:
Step 1011: set up between home server with remote server and be connected;
In the present embodiment, set up to be connected between home server with remote server and be referred to above-described embodiment side The associated description of step 101 in method, therefore not in this to go forth;
Step 1012: be encapsulated as test data file testing ping package;
In the present embodiment, test data file is encapsulated as test ping package be referred in above-described embodiment method The associated description of step 101;In order to strengthen the accuracy of test data, test data file can be by server operator institute That pre-set with the active service of the server operator institute akin data file of data file size, again due to ping bag The size with 65500 bytes limits, therefore generally, a test data file should be with a number of ping package phase Corresponding.
Step 1013: send to remote server from home server transmission with multiple different message transmission rates successively Above-mentioned test ping package;
In the present embodiment, can be to send out by the differently configured message transmission rate of the most multiple home servers Test ping package is sent to send to multiple remote servers, it is also possible to be passed by the data differently configured for single home server Defeated speed, to send test ping package extremely single remote server, should not be limited at this.
Step 1014: determine used by the transmission completing above-mentioned test ping package under multiple different message transmission rates Multiple transmission durations;
As example, statistics, under each message transmission rate, completes the transmission all of ping corresponding to data file Package transmits each transmission duration of above-mentioned test ping package to have determined.
Step 1015: according to the multiple message transmission rates corresponding to multiple transmission durations equal in multiple transmission durations Determine described maximum transmission bandwidth.
It is understood that under different message transmission rates, during the transmission that the data of transmission formed objects are consumed Length should be different in theory, therefore when transmission duration is constant along with the change of message transmission rate, it should be determined that should The minimum transfer duration of this number of ping package of a length of transmission during constant transmission, and the biography that minimum transfer duration is corresponding One of them of defeated speed should be exactly that Virtual network operator is to the maximum transmission bandwidth set by ping package.
In the present embodiment, by utilizing multiple different size of message transmission rate to test with the maximum transmitted band determined Wide, it is provided that the solution of a kind of maximum transmission bandwidth obtaining Virtual network operator transmission ping package.
As a kind of preferred embodiment of disclosure embodiment method, the step in the data transmission method shown in Fig. 2 1015 particularly as follows:
Determine in the multiple message transmission rates corresponding to multiple transmission durations equal in multiple transmission duration that value is Little message transmission rate is maximum transmission bandwidth.
It is understood that when the transmission message transmission rate of home server is sealed for ping not less than Virtual network operator During the maximum transmission bandwidth of bag, remote server receives the transfer rate of ping package just should be constant for maximum transmission bandwidth, therefore Minimum transmission rate from the multiple message transmission rates corresponding to equal minimum transfer duration just should be maximum transmitted band Wide.
As further optimizing, the many numbers corresponding to multiple transmission durations equal in determining multiple transmission duration Also include according to after the message transmission rate that value in transfer rate is minimum: according to the data transmission speed minimum less than above-mentioned value Rate is successively decreased and is sent the message transmission rate of above-mentioned ping package from home server, and redefines the transmission of the data after successively decreasing The multiple transmission durations used by the transmission of above-mentioned test ping package are completed under speed;When the above-mentioned transmission duration redefined is opened When beginning to change, it is determined that the message transmission rate before change is maximum transmission bandwidth.
In the present embodiment, it is possible to maximum transmission bandwidth accurate of the transmission ping package acquired in ensureing theoretically Property.
As a kind of preferred embodiment of disclosure embodiment method, when the quantity of the home server of configuration is multiple Time, the home server of the most above-mentioned configuration respective numbers and remote server to transmit above-mentioned ping package to be transmitted particularly as follows:
The quantity of home server based on configuration, is many groups ping package to be transmitted by data to be transmitted Document encapsulation;
It is utilized respectively multiple home server and sends above-mentioned many groups ping package to be transmitted to corresponding remote server.
It is understood that the quantity organizing number and the home server of configuration of the ping package to be transmitted in the present embodiment Identical;
As further optimizing, in each group of ping package, the number of ping package is the most identical.
In the present embodiment, utilize multiple server to send many group ping packages respectively, improve with the shape of ping package Data to be transmitted file is sent the efficiency to remote server from home server by formula, can ensure that high data rate needs Ask.
As a kind of preferred embodiment of disclosure embodiment method, the determination of above-mentioned expectation transfer rate particularly as follows:
File size according to data file waiting for transmission and the expectation transmission time preset, determine data to be transmitted file Expectation transfer rate.
In the present embodiment, it is desirable to the transmission time can be determined by server operator is self-defined, it is also possible to is root Determined by the file attribute information of the required data file waiting for transmission of visitor, as example, file attribute information Can be super clear, high definition and the smoothness of the code stream information of video file, therefore the determination side of expectation transmission time should not be limited.
In the present embodiment so that server operator can dispose data transmission scheme according to transmission real-time demand, real Show the demand customizing data transmission.
See Fig. 3 .1 and Fig. 3 .2 and be illustrated that the design sketch that realizes of disclosure data transmission method one specific embodiment, this Specific embodiment is to be applied by data transmission method in the first management server 301, the first management server 301 and multiple Ground server 303 is associated, and home server 303 is by first home server the 3031, second home server 3032... N Home server 303n is formed, and this specific embodiment is to apply data transmission method to manage server 302 second In, the second management server 302 is associated with multiple remote servers 304, and remote server 304 is by the first remote server 3041, the second remote server 3042... N remote server 304n;As example, home server 303 and the first management Server 301 is laid in China, and remote server 304 and the second management server 302 are laid in the U.S., it is to be understood that In this specific embodiment, the region of the laying of home server and remote server should be not limited to China and the U.S., it is also possible to is The foreign countries such as Sino-Spanish, India should not be limited at this;This specific embodiment specifically includes:
Test data file is encapsulated as testing ping package, the test ping that will be generated by the first management server 301 Package sends to the first home server 3031 being connected with the first management server 301 as reference home server 3031, Arrange the first remote server 3041 being associated with the second management server 302 to be somebody's turn to do as receiving with reference to remote server 3041 The test ping transmitted with reference to home server;Test and transmit between home server 303 and remote server 304 to determine The maximum transmission bandwidth of ping package, specifically includes:
Pass from reference to home server 3031 with multiple different message transmission rates successively with reference to home server 3031 Transfer to above-mentioned send above-mentioned test ping package with reference to remote server 3041;
Determine and complete to send above-mentioned test ping with reference to home server 3031 under multiple different message transmission rates Package is the most above-mentioned with reference to the multiple transmission durations used by remote server 3041;Should explain, when test data file institute When the quantity of corresponding test ping package has multiple, then the time completed used by the ping package of all quantity is defined as Above-mentioned transmission duration;
Value in multiple message transmission rates corresponding to multiple transmission durations equal in multiple transmission durations is minimum Be defined as with reference to home server 3031 with reference to transmitting the maximum transmission bandwidth of ping package between remote server 3041, And maximum transmission bandwidth determined by inciting somebody to action is defined as home server 303 and with reference to transmitting ping envelope between remote server 304 The maximum transmission bandwidth of bag.
As further optimizing, the many numbers corresponding to multiple transmission durations equal in determining multiple transmission duration Also include according to after the message transmission rate that value in transfer rate is minimum: according to the data transmission speed minimum less than above-mentioned value Rate is successively decreased from the message transmission rate sending above-mentioned ping package with reference to home server 3031, and redefines after successively decreasing The multiple transmission durations used by the transmission of above-mentioned test ping package are completed under message transmission rate;When the above-mentioned biography redefined When defeated duration starts to change, it is determined that the message transmission rate before change is maximum transmission bandwidth.
As example, can be with continued reference to Fig. 3 .2, wherein, VData are transmitted/kb·s-1For with reference to home server 3031 configuration Data transmission bauds, TData are transmittedFor completing to transmit the duration used by the ping package corresponding to data to be transmitted file;Have when determining Two different data transmission bauds V1And V2All correspond to same data transmission duration tMinimumTime, it is determined that tMinimumFor with reference to this Transmitting the minimum data transmission duration of ping package between ground server 3031 and reference remote server 3041, it is corresponding V1And V2It is all higher than or equal to maximum transmission bandwidth VThe upper limit, in order to obtain more accurate VThe upper limit, for joining with reference to home server 3031 Put and compare V1The V that value is less3, and determine that data transmission duration is the most still for tMinimum;By that analogy, if with reference to home server 3031 configuration VnTime, determine that data transmission duration is still for tMinimum, and for comparing V with reference to home server 3031 configurationnLess Vn+1 Time, determine that data transmission duration is no longer for tMinimumTime, determine VnFor current with reference to home server 3031 with reference to remote server The maximum data transfer bandwidth of ping package is transmitted between 3041;About the V in the example of this specific embodiment1~Vn+1Really Fixed, can be based on determined by iterative algorithm mathematical model, acquired transmission ping package can be ensure that theoretically The accuracy of maximum transmission bandwidth.
The home server being connected with the first management server 301 according to the configuration of the above-mentioned maximum transmission bandwidth determined The quantity of 303 is waiting for transmission to transmit with the quantity of the remote server 304 being connected with the second management server 302 accordingly Data file, specifically includes:
First management server 301 transmits ping determined by obtaining between home server 303 and remote server 304 The maximum transmission bandwidth of package;
Data to be transmitted Document encapsulation is corresponding ping package to be transmitted by the first management server 301;
First management server 301 obtains the file size of data to be transmitted file, true according to expectation transmission time and institute Fixed file size determines expectation transfer rate;It is understood that the expectation transmission time by server operator both can be Fixed, user should be met and typically experience, server operator should be advantageous for and seize a numerical value of user market, and same Under the expectation transmission time of sample, the file size of data file waiting for transmission is the biggest, it is desirable to transfer rate should be the highest;
First management server 301 determines use according to expectation transfer rate and the maximum transmission bandwidth of data to be transmitted file Connection number in the connection transmitting above-mentioned ping package to be transmitted;As example, when maximum transmission bandwidth is 200k/s, it is desirable to pass When defeated speed is 1M/s, then determined by connect number should be 5;
First management server 301 sends to be passed according to the home server 303 connecting number configuration respective numbers determined Defeated ping package, and accordingly with the second management server 302 according to the long-range clothes connecting number configuration respective numbers determined Business device 304 receives above-mentioned ping package to be transmitted.
In disclosure specific embodiment, creatively utilize ping bag to transmit data file, can effectively avoid daily The life outer network operator of the China disabling to UDP bag, can realize again the message transmission rate higher than TCP bag, improve use Family is experienced;Realize breaking through home server and remotely taking furthermore, it is possible to manage server by the first management server and second The restriction of maximum transmission bandwidth between business device, can effectively according to data file waiting for transmission dispose corresponding home server and Remote server completes data transmission scheme, to meet corresponding data transfer demands, can ensure the data transmission speed of high request Rate;And it is possible to the high-precision largest data transfer of the transmission ping bag obtained between domestic server and external server Bandwidth so that also will not waste server and bandwidth resources ensureing while data transmission is experienced, save server and band Wide cost.
See the structural representation that Fig. 4 is illustrated that the data transmission system of the disclosure one embodiment, including:
Maximum transmission bandwidth determines unit 401, is connected for setting up between home server with remote server, and really The fixed above-mentioned maximum transmission bandwidth being connected to transmit ping package;
Data transmission connects number and determines unit 402, and being used for data to be transmitted Document encapsulation is corresponding ping to be transmitted Package, and the expectation transfer rate and maximum transmission bandwidth according to data to be transmitted file determine for transmitting above-mentioned to be transmitted The connection number of the connection of ping package;
Configuration data transmission unit 403, for configuring the home server of respective numbers with remote according to the number that connects determined Journey server is to transmit ping package to be transmitted.
In the present embodiment, creatively utilize ping bag to transmit data file, can effectively avoid net in daily life The network operator disabling to UDP bag, can realize again the message transmission rate higher than TCP bag, improve Consumer's Experience;And, Effectively can dispose corresponding home server according to data file waiting for transmission and remote server completes data transmission scheme, And meet corresponding data transfer demands to ensure the message transmission rate of high request;Further, based on a determination that transmission ping envelope The maximum data transfer bandwidth of bag so that also will not waste server and bandwidth resources while data transmission is experienced ensureing, Server and bandwidth cost are saved.
See the maximum transmission bandwidth that Fig. 5 is illustrated that in the system shown in Fig. 4 and determine that unit 401 is preferable to carry out in one Detailed construction schematic diagram under example, then maximum transmission bandwidth determines that unit 401 specifically includes:
Ping package package module 4011, for being encapsulated as test ping package by test data file;
Ping package configuration sending module 4012, for successively with multiple different message transmission rates from home server Transmit and send above-mentioned test ping package to remote server;
Transmission duration determines module 4013, completes above-mentioned test for determining under multiple different message transmission rates Multiple transmission durations used by the transmission of ping package;
Maximum transmission bandwidth determines module 4014, and it is right to be used for according to multiple transmission durations institute equal in multiple transmission durations The multiple message transmission rates answered determine maximum transmission bandwidth.
In the present embodiment, by utilizing multiple different size of message transmission rate to test with the maximum transmitted band determined Wide, it is provided that the solution of a kind of maximum transmission bandwidth obtaining Virtual network operator transmission ping package.
As a kind of preferred embodiment of disclosure embodiment system, maximum transmission bandwidth determines that module 4014 is for determining The data transmission that in the multiple message transmission rates corresponding to multiple transmission durations equal in multiple transmission durations, value is minimum Speed is maximum transmission bandwidth.
In the present embodiment, it is possible to maximum transmission bandwidth accurate of the transmission ping package acquired in ensureing theoretically Property.
As a kind of preferred embodiment of disclosure embodiment system, when the quantity of the home server of configuration is multiple Time, wherein, configuration data transmission unit 403 includes:
Ping package grouping module, for the quantity of home server based on configuration, by above-mentioned ping package to be transmitted It is divided into corresponding many groups ping package to be transmitted;
File sends configuration module, is used for being utilized respectively multiple home server and sends many groups ping package to be transmitted to phase The remote server answered.
In the present embodiment, utilize multiple server to send many group ping packages respectively, improve with the shape of ping package Data to be transmitted file is sent the efficiency to remote server from home server by formula, can ensure that high data rate needs Ask.
As a kind of preferred embodiment of disclosure embodiment system, data transmission connects number and determines that unit 402 includes:
Expect that transfer rate determines module, pass for the file size according to data file waiting for transmission and the expectation preset The defeated time, determine the expectation transfer rate of data to be transmitted file.
In the present embodiment so that server operator can dispose data transmission scheme according to transmission real-time demand, real Show the demand customizing data transmission.
In the data transmission system provided in disclosure embodiment application on the one hand, can build with each local clothes The first management server that business device is associated neutralizes in the second management server being associated with each remote server, thus, makes Can be realized breaking through between home server and remote server by the first management server and the second management server The restriction of large transmission bandwidth, can meet the speed that preset requirement data are transmitted by effective guarantee.
See Fig. 6 to show and be suitable to the computer system for the terminal unit or server realizing the embodiment of the present application Structural representation, wherein computer system includes CPU (CPU) 601, and it can be according to being stored in read only memory (ROM) program in 602 or be loaded into the program random access storage device (RAM) 603 from storage part 608 and perform each Plant suitable action and process.In RAM603, the various programs needed for also storage has system operation and data.CPU 601、 ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604.
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component;Penetrate including such as negative electrode The output part 607 of spool (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 608 including hard disk etc.; And include the communications portion 609 of the NIC of such as LAN card, modem etc..Communications portion 609 via such as because of The network of special net performs communication process.Driver 610 is connected to I/O interface 605 also according to needs.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 610, in order to read from it as required Computer program as required be mounted into storage part 608.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer Software program.Such as, embodiment of the disclosure and include a kind of computer program, it includes being tangibly embodied in machine readable Computer program on medium, above computer program comprises the program code for performing the method shown in flow chart.At this In the embodiment of sample, this computer program can be downloaded and installed from network by communications portion 609, and/or from removable Unload medium 611 to be mounted.
It should be noted that in the case of not conflicting, involved in embodiment in the disclosure and preferred embodiment Technical characteristic can be mutually combined each other;Term " includes ", " comprising ", not only include those key elements, but also include Other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment. In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that in the mistake including described key element Journey, method, article or equipment there is also other identical element.
Disclosure embodiment can realize related function module and unit by hardware processor.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate the technical scheme of the disclosure, it is not intended to limit;Although With reference to previous embodiment, the disclosure is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from the disclosure each embodiment technical scheme spirit and Scope.

Claims (10)

1. a data transmission method, including:
Set up between home server with remote server and be connected, and be connected to transmit the maximum of ping package described in determining Transmission bandwidth;
It is corresponding ping package to be transmitted by data to be transmitted Document encapsulation, and according to the expectation of described data to be transmitted file Transfer rate and described maximum transmission bandwidth determine the connection number of the connection for transmitting described ping package to be transmitted;
Home server and remote server according to the described connection number configuration respective numbers determined are described to be transmitted with transmission Ping package.
Method the most according to claim 1, wherein, described determine described in be connected to transmit ping package maximum transmitted Bandwidth includes:
It is encapsulated as test data file testing ping package;
Send described with multiple different message transmission rates to described remote server from the transmission of described home server successively Test ping package;
Determine the multiple biographies used by transmission completing described test ping package under the plurality of different message transmission rate Defeated duration;
Determine described according to the multiple message transmission rates corresponding to multiple transmission durations equal in the plurality of transmission duration Maximum transmission bandwidth.
Method the most according to claim 2, described according to multiple transmission duration institutes equal in the plurality of transmission duration Corresponding multiple message transmission rates determine that described maximum transmission bandwidth is:
Determine in the multiple message transmission rates corresponding to multiple transmission durations equal in the plurality of transmission duration that value is Little message transmission rate is described maximum transmission bandwidth.
Method the most according to claim 1 and 2, when the quantity of the home server of described configuration is multiple, wherein, institute Home server and the remote server of stating configuration respective numbers include to transmit described ping package to be transmitted:
The quantity of home server based on described configuration, is that the ping to be transmitted of group seals more by described data to be transmitted Document encapsulation Bag;
It is utilized respectively multiple home server and sends described many groups ping package to be transmitted to corresponding remote server.
Method the most according to claim 1, wherein, the determination of described expectation transfer rate includes:
File size according to described data file waiting for transmission and the expectation transmission time preset, determine described data to be transmitted The expectation transfer rate of file.
6. a data transmission system, including:
Maximum transmission bandwidth determines unit, is connected for setting up between home server with remote server, and determines described It is connected to transmit the maximum transmission bandwidth of ping package;
Data transmission connects number and determines unit, and being used for data to be transmitted Document encapsulation is corresponding ping package to be transmitted, and Expectation transfer rate and described maximum transmission bandwidth according to described data to be transmitted file determine for transmitting described to be transmitted The connection number of the connection of ping package;
Configuration data transmission unit, for the home server according to the described connection number configuration respective numbers determined and long-range clothes Business device is to transmit described ping package to be transmitted.
System the most according to claim 6, wherein, described maximum transmission bandwidth determines that unit includes:
Ping package package module, for being encapsulated as test ping package by test data file;
Ping package configuration sending module, for transmitting from described home server with multiple different message transmission rates successively Described test ping package is sent to described remote server;
Transmission duration determines module, completes described test ping envelope for determining under the plurality of different message transmission rate Multiple transmission durations used by transmission of bag;
Maximum transmission bandwidth determines module, for according to corresponding to multiple transmission durations equal in the plurality of transmission duration Multiple message transmission rates determine described maximum transmission bandwidth.
System the most according to claim 7, wherein, described maximum transmission bandwidth determines that module is for determining the plurality of biography The message transmission rate that in the multiple message transmission rates corresponding to multiple transmission durations equal in defeated duration, value is minimum is Described maximum transmission bandwidth.
9. according to the system described in claim 6 or 7, when the quantity of the home server of described configuration is multiple, wherein, institute State configuration data transmission unit to include:
Ping package grouped element, for the quantity of home server based on described configuration, by described ping package to be transmitted It is divided into corresponding many groups ping package to be transmitted;
File sends dispensing unit, is used for being utilized respectively multiple home server and sends described many groups ping package to be transmitted to phase The remote server answered.
System the most according to claim 6, wherein, the transmission of described data connects number and determines that unit includes:
Expect that transfer rate determines module, pass for the file size according to described data file waiting for transmission and the expectation preset The defeated time, determine the expectation transfer rate of described data to be transmitted file.
CN201610326425.0A 2016-05-17 2016-05-17 Data transmission method and system Pending CN106060118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610326425.0A CN106060118A (en) 2016-05-17 2016-05-17 Data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610326425.0A CN106060118A (en) 2016-05-17 2016-05-17 Data transmission method and system

Publications (1)

Publication Number Publication Date
CN106060118A true CN106060118A (en) 2016-10-26

Family

ID=57177081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610326425.0A Pending CN106060118A (en) 2016-05-17 2016-05-17 Data transmission method and system

Country Status (1)

Country Link
CN (1) CN106060118A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259696A (en) * 2013-04-19 2013-08-21 华为技术有限公司 Network bandwidth detecting method and device and network devices
CN103391596A (en) * 2012-05-07 2013-11-13 华为终端有限公司 Method and device for transmitting data
US20130321211A1 (en) * 2012-06-01 2013-12-05 Petari USA, Inc. Asset tracking system with adjusted ping rate and ping period
CN103905263A (en) * 2012-12-26 2014-07-02 中国移动通信集团公司 Service bandwidth testing method and device
CN104144085A (en) * 2013-05-08 2014-11-12 宏达国际电子股份有限公司 Method for data transmission and corresponding electronic device
CN104967880A (en) * 2015-05-29 2015-10-07 董遂武 Method and equipment for uniformly distributing videos in wireless network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391596A (en) * 2012-05-07 2013-11-13 华为终端有限公司 Method and device for transmitting data
US20130321211A1 (en) * 2012-06-01 2013-12-05 Petari USA, Inc. Asset tracking system with adjusted ping rate and ping period
CN103905263A (en) * 2012-12-26 2014-07-02 中国移动通信集团公司 Service bandwidth testing method and device
CN103259696A (en) * 2013-04-19 2013-08-21 华为技术有限公司 Network bandwidth detecting method and device and network devices
CN104144085A (en) * 2013-05-08 2014-11-12 宏达国际电子股份有限公司 Method for data transmission and corresponding electronic device
CN104967880A (en) * 2015-05-29 2015-10-07 董遂武 Method and equipment for uniformly distributing videos in wireless network

Similar Documents

Publication Publication Date Title
CN108062230B (en) Serial ports transparent transmission and program updating system and its method in a kind of Internet wide
CN102790776B (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN102771164B (en) Methods and apparatus providing intelligent radio selection for legacy and non-legacy applications
CN107770269B (en) A kind of service response method and its terminal
CN106664290A (en) Data transmission method and device for photoelectric hybrid network
CN107483390A (en) A kind of cloud rendering web deployment subsystem, system and cloud rendering platform
CN108200170A (en) Message treatment method, device and readable storage medium storing program for executing
CN108494817A (en) Data transmission method, relevant apparatus and system
JP6145216B2 (en) Data transmission method, apparatus, and computer storage medium
CN107800603B (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN108833267A (en) Intelligent industrial gateway
CN104683428B (en) Network service processing method and device
CN102761558A (en) Ethernet communication system and communication method based on Xilinx FPGA (Field Programmable Gata Array) and Treck
CN106878197A (en) A kind of management system and method for the transmission of cloud platform message
CN106302230B (en) A kind of data transmission method and device
CN107071074A (en) A kind of load-balancing method and web server group system
CN109818867A (en) A kind of configuration method and device
CN106850770A (en) High-efficiency transmission method and device based on cloud computing service
CN103840927B (en) The method and relevant device of data transfer
CN104769906A (en) Data transmission method, user device and proxy device
CN104539576B (en) Communication means and system based on IPv6 networks
CN109040334A (en) Static Intranet mapping method, external network server, Intranet communication equipment and system
CN107343037A (en) The data transmission method and device of a kind of distributed memory system
CN105302664B (en) A kind of storage snapshot management method and system
CN106060118A (en) Data transmission method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161026