CN107104897A - Data transmission method and system based on path - Google Patents
Data transmission method and system based on path Download PDFInfo
- Publication number
- CN107104897A CN107104897A CN201710464650.5A CN201710464650A CN107104897A CN 107104897 A CN107104897 A CN 107104897A CN 201710464650 A CN201710464650 A CN 201710464650A CN 107104897 A CN107104897 A CN 107104897A
- Authority
- CN
- China
- Prior art keywords
- transmission
- data
- path
- receiving terminal
- data transmission
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
- H04L45/123—Evaluation of link metrics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of data transmission method based on path and system, the optimal transmission paths to obtain data transfer between client and server.Method includes:The network state that monitoring user is presently in;Obtain for transmitting the average speed that the transmission path, transmission end and receiving terminal of data carry out data transmission;The average speed of transmission end and receiving terminal based on acquisition, calculates the speed difference of the average speed of transmission end and receiving terminal;The speed difference obtained according to calculating, selects corresponding transmission path to carry out data transmission;Or:By monitoring the network state that user is presently in;When identifying that the network state being presently in meets preparatory condition, the main path for transmitting data is switched into bypass footpath, and carry out data transmission based on bypass footpath;With the beneficial effect for obtaining the optimal transmission paths of data transfer between client and server, it is ensured that the high efficiency of data interaction, reach that data accelerate the purpose of transmission.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of data transmission method and system based on path.
Background technology
By continuing to develop for the communication technology in recent years, data transfer is increasingly by attention in the industry.And data transfer
The speed of speed, has directly influenced the data processing of client to a certain extent, and then has influence on the user's body of client
Test.For example, with the popularization of intelligent mobile terminal, mobile phone games have also obtained the favor of more and more users because of its convenience.
But due to the objective reality of unstable networks factor, there is the unstable situation of data transfer when accelerating node server in network
Under, such as network occurs when significantly shaking, server be to the situation of the data transparent transmission of going game link it is uncontrollable,
In this case, the acceleration behavior that server is transmitted for game data is almost failure.Therefore, currently add in server
When fast path network is out of condition, the most fast data transfer path between client and game server how is found out, is current
One of urgent problem to be solved.
The content of the invention
The present invention provides a kind of data transmission method and system based on path, to obtain between client and server
The optimal transmission paths of data transfer.
The invention discloses a kind of data transmission method based on path, the data transmission method includes:
The network state that monitoring user is presently in;
Obtain for transmitting the average speed that the transmission path, transmission end and receiving terminal of data carry out data transmission;
The average speed of the transmission end and receiving terminal based on acquisition, calculates the transmission end and the average speed of receiving terminal
The speed difference of degree;
The speed difference obtained according to calculating, selects corresponding transmission path to carry out data transmission;
Or, the data transmission method includes:
The network state that monitoring user is presently in;
When identifying that the network state being presently in meets preparatory condition, the main path for transmitting data is switched to auxiliary
Path, and carried out data transmission based on bypass footpath.
Preferably, it is described to obtain what is carried out data transmission for transmitting the transmission path, transmission end and receiving terminal of data
Average speed, including:
It is t based on length of windowwPreset time window, obtain the transmission end and receiving terminal in time point t and distinguish
Corresponding request transmission rate;
Monitor time point (t-tw) to the corresponding length of window t of time point twNetwork state residing for interior user, and obtain
Take and the time point (t-tw) to time point t it is adjacent upper one described in length of window twCorresponding period (t-1) is interior, described
Transmission end and the corresponding average transmission rate of receiving terminal difference;
According to the default length of window twAnd the request transmission rate and average transmission rate obtained, calculate
The transmission end and the corresponding average speed of receiving terminal difference.
Preferably, the speed difference obtained according to calculating, selects corresponding transmission path to carry out data transmission,
Including:
If the speed difference is less than or equal to zero, selection main path carries out data transmission as transmission path;
If the speed difference is more than zero and less than preset critical, selection main path carries out data transmission, tasted simultaneously
Examination connection bypass footpath;
If the speed difference is more than or equal to the preset critical, the bypass footpath connected, selection master are activated
Path and bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate transmission.
Preferably, the selection main path and bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate to pass
It is defeated, including:
To receiving terminal and node is accelerated to send identical transmission data respectively by main path;
The control acceleration node sends the transmission data received to the receiving terminal by the bypass footpath.
Preferably, the data transmission method also includes:
Sent out in the receiving terminal to the transmission data sent by the main path that receive and by the bypass footpath
The transmission data sent, carry out data check, eliminate the noise data in transmitting procedure, the data after generation fusion, and base
Respective operations are performed in the data after fusion.
Based on a kind of data transmission method based on path described by above example, the invention also discloses a kind of base
Data transmission system in path, the data transmission system includes:
Monitoring modular, for monitoring the network state that user is presently in;
Acquisition module, the transmission path, transmission end and receiving terminal for being used to transmit data for obtaining carries out data transmission
Average speed;
Computing module, for the transmission end and the average speed of receiving terminal based on acquisition, calculate the transmission end with
The speed difference of the average speed of receiving terminal;
Selecting module, for the speed difference obtained according to calculating, selects corresponding transmission path to carry out data biography
It is defeated;
Or:
The data transmission system includes:
The monitoring modular, for monitoring the network state that user is presently in;
Handover module, when the network state being presently in for identifying meets preparatory condition, will transmit data
Main path switches to bypass footpath, and is carried out data transmission based on bypass footpath.
Preferably, the acquisition module includes:
Acquiring unit, for being t based on length of windowwPreset time window, obtain in time point t the transmission end
Request transmission rate corresponding with receiving terminal difference;
Monitoring unit, for monitoring time point (t-tw) to the corresponding length of window t of time point twResiding for interior user
Network state, and obtain and the time point (t-tw) to time point t it is adjacent upper one described in length of window twThe corresponding period
(t-1) the interior, transmission end and the corresponding average transmission rate of receiving terminal difference;
Computing unit, for according to the default length of window twAnd the request transmission rate that obtains and average
Transmission rate, calculates the transmission end and the corresponding average speed of receiving terminal difference.
Preferably, the selecting module includes:
Main path unit, if being less than or equal to zero for the speed difference, selects main path as transmission path,
Carry out data transmission;
Auxiliary path unit, if being more than zero and less than preset critical for the speed difference, selection main path is carried out
Data transfer, while attempting connection bypass footpath;
Dual path unit, if being more than or equal to the preset critical for the speed difference, activates and has connected
Bypass footpath, selection main path and bypass footpath binary channels cooperative transmission path carries out double-channel data and accelerates transmission.
Preferably, the dual path unit includes:
Transmission sub-unit, for receiving terminal and accelerating node to send identical transmission data respectively by main path;
Subelement is controlled, for controlling the acceleration node to send out the transmission data received by the bypass footpath
Deliver to the receiving terminal.
Preferably, the data transmission system also includes:
Fusion Module, for the receiving terminal is to the transmission data sent by the main path that receive and passes through
The transmission data that the bypass footpath is sent, carry out data check, the noise data in transmitting procedure are eliminated, after generation fusion
Data, and based on after fusion data perform respective operations.
Data transmission method and system of the present invention based on path are by monitoring the network state that user is presently in;Obtain
For transmitting the average speed that the transmission path, transmission end and receiving terminal of data carry out data transmission;Based on described in acquisition
The average speed of transmission end and receiving terminal, calculates the speed difference of the average speed of the transmission end and receiving terminal;According to calculating
The obtained speed difference, selects corresponding transmission path to carry out data transmission;Or:It is presently in by monitoring user
Network state;When identifying that the network state being presently in meets preparatory condition, the main path for transmitting data is switched to
Bypass footpath, and carried out data transmission based on bypass footpath;With the best transmission for obtaining data transfer between client and server
The beneficial effect in path, it is ensured that the high efficiency of data interaction, has reached that data accelerate the purpose of transmission, has been the game of client
User provides full-range service guarantee.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Pointed content is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described further.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention
Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of schematic flow sheet of embodiment of the data transmission method of the invention based on path;
Fig. 2 is a kind of principle schematic of embodiment of the corresponding application scenarios of embodiment described in Fig. 1;
Fig. 3 is the schematic flow sheet of the another embodiment of the data transmission method of the invention based on path;
Fig. 4 is in the data transmission method of the invention based on path, the step S20 of embodiment described in Fig. 3 one kind is real
Apply the schematic flow sheet of mode;
During Fig. 5 is data transmission method of the present invention, double-channel data is carried out by main path and bypass footpath and accelerates what is transmitted
A kind of schematic flow sheet of embodiment;
Fig. 6 is a kind of principle schematic of way of example of the corresponding application scenarios of embodiment described in Fig. 3;
Fig. 7 is the schematic flow sheet of another embodiment of the data transmission method of the invention based on path;
Fig. 8 is a kind of system structure diagram of embodiment of the data transmission system of the invention based on path;
Fig. 9 is the system structure diagram of the another embodiment of the data transmission system of the invention based on path;
Figure 10 is a kind of system structure diagram of embodiment of acquisition module 200 in embodiment described in Fig. 9;
Figure 11 is a kind of system structure diagram of embodiment of selecting module 400 in embodiment described in Fig. 9;
Figure 12 is a kind of system structure diagram of embodiment of dual path unit 430 in embodiment described in Figure 11;
Figure 13 is the system structure diagram of another embodiment of the data transmission system of the invention based on path.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
The invention provides a kind of data transmission method based on path and system, to obtain client and server it
Between data transfer optimal transmission paths.In data transmission method of the present invention, there are two for transmitting the path of data, be respectively
Main path and bypass footpath.When data transfer starts, system selects to use by monitoring network state that user is presently in
Which kind of path carries out data transmission.Fig. 1 is a kind of schematic flow sheet of embodiment of data transmission method of the present invention, such as Fig. 1
Shown, the data transmission method of the invention based on path may be embodied as step S11 to step S12:
The network state that step S11, monitoring user are presently in;
Step S12, when identifying that the network state being presently in meets preparatory condition, the main path of data will be transmitted
Bypass footpath is switched to, and is carried out data transmission based on bypass footpath.
In a specific application scenarios, for example for game, when the game begins, client by main path realize with
The data interaction of game server;When system identification goes out in the network state being presently in, the corresponding network of main path occurs different
During reason condition, accelerating chain route main path is switched to bypass footpath by system, and is carried out data transmission based on bypass footpath, continues to provide
Accelerate service, so as to provide the service guarantee enjoyed a trip to for game user.Data transmission method of the present invention is applied (can manage in hand trip
Xie Wei, the game for the execution that can be networked in intelligent mobile terminal) in this specific application scenarios, its advantage will more show
Write.
Further, in a preferred embodiment of the invention, when main path network is relatively stablized, system is mainly using master
Path transmission data and the interworking for carrying out data, at the same time, system is using the double transmission means sent out of data, i.e. system is same
When data are reissued by bypass footpath, consequently, it is possible to just ensure that the high efficiency of data interaction, be finally reached data and accelerate transmission
Purpose.For this concrete application scene of playing, above-mentioned data transfer mode has reached the purpose that game accelerates, and is client
Game user provides full-range service guarantee.
As shown in Fig. 2 in the corresponding one of application scenarios of data transmission method of the present invention, main path and bypass footpath
This two acceleration paths are connected by an aggregation node, and by aggregation node, data interaction is carried out between client and server.
Test the speed for example, the acceleration node being directed in this specific application scenarios of playing, Fig. 2 possesses, calculate optimal path, agency's game
The server of the functions such as flow;In actual deployment, the acceleration node can be the key components that backbone network accelerates, portion
Administration is in different provinces and cities.Aggregation node in Fig. 2 is in actual deployment, it can be understood as nearest with game server physical distance
Acceleration server, be mainly used in converge a gaming session multiple traffic there is provided efficient data exchange guarantee.In Fig. 2
Client for game, search the process of optimal acceleration path.Such as, session is accelerated for example to accelerate for a game
One innings of game inside Link, correspondence game, is divided into following two situations, a kind of situation is UDP (User Datagram
Protocol, UDP) game, by Local IP:Port+Dest IP:The UDP links of Port signs;Separately
A kind of situation is TCP (Transmission Control Protocol, transmission control protocol) game, one TCP chain of correspondence
Connect.
In the embodiment of the present invention, main path is a major part accelerated in Link, all data in one innings of game
It will be received and dispatched by main path;Bypass footpath is a slave part accelerated in Link, only in unstable (such as WiFi of main path
Shake) when, carry out transceiving data.Such as, when the game begins, client is realized by main path and interacted with server, when
When abnormal conditions occurs in the network of main path, link will be accelerated to switch to secondary path, and continue to provide acceleration service.Another
Situation is, when main path network is more stable, the main interworking that data are carried out using main path, at the same time using data
The scheme of double hairs, (that is, while reissuing data by bypass footpath), so ensures that the high efficiency of data interaction, final up to trip
The purpose that play accelerates.
Based on the embodiment described by Fig. 1 and Fig. 2, in data transmission method of the present invention, system carries out state anticipation first,
The current network state of user is checked, judges whether to meet normal acceleration environment, is unsatisfactory for, carry out data transparency transmission;When full
During sufficient normal acceleration environment, carry out two ends and test the speed, according to the result distribution aggregation node that tests the speed, data are carried out if distributing and failing saturating
Bright transmission;After main path connection aggregation node and successful connection, if finding, general rule does not carry out data transparency biography for data transmit-receive port
Send;When client obtains acceleration service token, if occurring obtaining the abnormal conditions such as token failure or time-out or failure of shaking hands
When, then carry out data transparency transmission;If after token is obtained successfully, main path, which is opened, accelerates service, while distributing bypass footpath;Dividing
During with bypass footpath, system chooses bypass footpath according to user network situation tactic, if auxiliary path allocation fails, does not enable auxiliary
Path;If because the factors such as failure of testing the speed cause auxiliary path node distribution failure, bypass footpath is used as from aggregation node;For auxiliary
The abnormal conditions processing in path, accelerates token or checking procedure of shaking hands exception occur, from aggregation node if bypass footpath is obtained
It is used as bypass footpath.If bypass footpath is allocated successfully, and is obtained after token and shaking hands verify successfully, bypass footpath is opened acceleration and serviced.System
Main path and bypass footpath that system monitoring has turned on, if monitor main path data communication appearance exception, system switches to bypass
Footpath carries out data transmission;If in the case of main path and the paths of bypass footpath two are normal, system is mainly carried out using main path
Data transmit-receive, reissues while carrying out data using bypass footpath, acceleration effect is ensured with this.In above-mentioned whole process, system is real
When monitoring main path and bypass footpath working condition and main path and the path switching condition in bypass footpath, and export corresponding knot
Really, such as:Main path and bypass footpath are switched successfully, and failure is shaken hands, it is necessary to be switched under the pattern shaken hands again in path when switching
Work(, calls underlay handovers interface to fail, without switching etc..
A kind of data transmission method of the present invention is by monitoring the network state that user is presently in;Identify what is be presently in
When the network state meets preparatory condition, the main path for transmitting data is switched into bypass footpath, and line number is entered based on bypass footpath
According to transmission;The beneficial effect for obtaining the optimal transmission paths of data transfer between client and server has been reached, further,
Data transmission method of the present invention can also carry out the double hairs of data of dual path, it is ensured that the high efficiency of data interaction, reach trip
The purpose that play accelerates.
Fig. 3 is the schematic flow sheet of the another embodiment of data transmission method of the present invention;As shown in figure 3, of the invention
A kind of data transmission method can also be embodied as step S10-S40:
The network state that step S10, monitoring user are presently in;
Step S20, obtain for being averaged of transmitting that the transmission path, transmission end and receiving terminal of data carry out data transmission
Speed;
In the embodiment of the present invention, whether the network state that system monitoring user is presently in, such as network state are stablized, and are
It is no WiFi shakes etc. occur.According to the network state monitored, system obtains transmission end on data transfer path and entered with receiving terminal
The average speed of row data transfer.For example, system sets a period of time, within the time cycle, transmission end is calculated with receiving
Hold the average speed carried out data transmission.In a concrete application scene of the embodiment of the present invention, above-mentioned transmission end is appreciated that
For server end, receiving terminal can be understood as client.
In a preferred embodiment of the invention, in order to ensure the switching efficiency of data transfer path, system is preset
One time window, and the average speed based on transmission end and receiving terminal in the time window carries out Path selection, rather than wink
Shi Sudu is used as main path and the switching foundation in bypass footpath;In the acquisition process of above-mentioned average speed, ignore network transient wave
Big ups and downs caused by speed.As shown in figure 4, the step S20 in embodiment described in Fig. 3 may be implemented as step S21-
S23:
Step S21, based on length of window be twPreset time window, obtain in time point t the transmission end with connecing
Receiving end distinguishes corresponding request transmission rate;
Step S22, monitoring time point (t-tw) to the corresponding length of window t of time point twNetwork residing for interior user
State, and obtain and the time point (t-tw) to time point t it is adjacent upper one described in length of window twCorresponding period (t-
1) the interior, transmission end and the corresponding average transmission rate of receiving terminal difference;
Step S23, according to the default length of window twAnd the request transmission rate and average transmission obtained
Speed, calculates the transmission end and the corresponding average speed of receiving terminal difference.
In the embodiment of the present invention, system pre-sets a length of window for twPreset time window, for receiving terminal, be
System is obtained in time point t, transmission end request transmission rate r (t) corresponding with receiving terminal difference, such as client is to base
Stand the transmission rate of request, the transmission rate together decides on by client and base station.System monitoring time point (t-tw) to the time
Point t is corresponding in length of window twNetwork state residing for interior user, and obtain and the time point (t-tw) to time point t phase
Length of window t described in adjacent upper onewCorresponding period (t-1) is interior, the transmission end average biography corresponding with receiving terminal difference
Defeated speed R (t-1);According to the length of window tw and the above-mentioned parameter of acquisition pre-set:Ask transmission rate r (t) and upper
Average transmission rate R (t-1) in one neighbouring window time tw, according to equation below:
Calculate and obtained in preset window length respectively, transmission end average speed R corresponding with receiving terminal differenceSAnd R (t)D
(t)。
Step S30, the transmission end based on acquisition and receiving terminal average speed, calculate the transmission end and receiving terminal
Average speed speed difference;
Step S40, the speed difference obtained according to calculating, select corresponding transmission path to carry out data transmission;
The transmission end average speed R corresponding with receiving terminal difference obtained according to step S20SAnd R (t)D(t), calculate described
The speed difference Δ R (t) of the average speed of transmission end and receiving terminal is:
Δ R (t)=RS(t)-RD(t);
The corresponding transmission path of above-mentioned speed difference Δ R (t) Systematic selection obtained according to calculating carries out data transmission.
In a preferred embodiment of the invention, system pre-sets a critical value, by by transmission end and receiving terminal
The speed difference Δ R (t) of average speed is compared, further to select corresponding transmission path.If the speed difference is small
In or equal to zero i.e. Δ R (t)≤0, then it represents that data transfer is normal, and game running is good, selection main path is used as transmission road
Footpath, carries out data transmission;If the speed difference is more than zero and is 0 < Δ R (t) < ε less than preset critical, main road is selected
Footpath carries out data transmission, while attempting connection bypass footpath;If the speed difference is more than or equal to the preset critical
Δ R (t) >=ε, then activate the bypass footpath connected, selection main path and bypass footpath binary channels cooperative transmission path, carry out bilateral
Track data accelerates transmission.
Description based on above example, as shown in figure 5, in a kind of data transmission method of the invention, Systematic selection main road
Footpath and bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate transmission, may be implemented as steps as described below
S41-S42:
Step S41, by main path respectively to receiving terminal and accelerate node send identical transmit data;
Step S42, the control acceleration node send the transmission data received to institute by the bypass footpath
State receiving terminal.
In the embodiment of the present invention, when system carries out dual path cooperative transmission, the concurrent mechanism of data will be transmitted;Work as
During in binary channels cooperative transmission, the data that receiving terminal is received actually are made up of two stages.
In a specific application scenarios shown in Fig. 6, transmission end is server, and receiving terminal is client, visitor
The data that family termination is received are made up of the data in two stages:First stage is to be transmitted by server by main path to client
End, i.e. S → D stages;Second stage is the acceleration node-node transmission in being Fig. 6 by acceleration server to client, i.e. R → D stages.
In the first phase, server sends identical data to client and boost phase respectively, for S → D's
During, data transfer meets following mathematic(al) representation:
YSD=αSDXSD+nSD;
Wherein:XSDThe data that representative server end S is sent to client D, YSDRepresent the data that client D is received, nSD
Represent the noise data of the generation in S → D transmitting procedures, αSDFor the channel fading coefficient in S → D transmission.
For during S → R, data transfer meets following mathematic(al) representation:
YSR=αSRXSR+nSR;
Wherein:XSRThe data that representative server end S is sent to acceleration node R, YSRRepresent the number for accelerating node R to receive
According to nSRRepresent the noise data of the generation in S → R transmitting procedures, αSRFor the channel fading coefficient in S → R transmission.
When system activation dual path dynamically accelerates, just there is following second stage process, that is, accelerate node to client
End transmission data, in second stage, i.e., for during R → D, data transfer meets following mathematic(al) representation:
YRD=αRD*γYSR+nRD
Wherein:YSRThe data that representative server end S is sent to acceleration node R, YRDRepresent client D and receive acclerating section
The data that point R is sent, nRDRepresent the noise data of the generation in R → D transmitting procedures, αRDDeclined for channel in being transmitted in R → D
Fall coefficient, γ is accelerates the amplification forwarding coefficient of node, when γ=1 item is directly forwarding;γ > 1 are then amplification forwarding.
Description based on above example, as shown in fig. 7, in a kind of data transmission method of the invention, when system is using double
During passage cooperative data transmission, data fusion is carried out to the data received in receiving terminal.As shown in fig. 7, a kind of number of the invention
According to transmission method after the step S40 of embodiment described in Fig. 3, also execute the following steps:
Step S50, in the receiving terminal to the transmission data sent by the main path that receive and by described
The transmission data that bypass footpath is sent, carry out data check, eliminate the noise data in transmitting procedure, the number after generation fusion
According to, and perform respective operations based on the data after fusion.
In the embodiment of the present invention, what is received due to receiving terminal is two parts number for being transmitted respectively by two transmission paths
According to, the client D in such as Fig. 6 along with data transfer during receiving, because the noise of data transmission channel is independently of one another,
Front and rear two frame data that data thus can be sent using two passages are verified, and eliminate the noise in transmitting procedure, it is ensured that number
According to transmission quality.
In a preferred embodiment of the invention, for i-th, (i-1) and (i-2) transmission frame number evidence, it can use as follows
Math equation expression formula verified:
Wherein, in above-mentioned data equation expression formula, β is the coefficient of rotary of acceleration node-node transmission signal, Xi-1Representative server
(i-1) frame data that end S is sent to client D,(i-1) frame data that client D is received are represented,Represent
Noise data in S → D transmitting procedures produced by (i-1) frame data,For in S → D data transfer (i-1)
The corresponding channel fading coefficient of frame data.(i-1) frame data for the acceleration node R transmission that client D is received are represented,The noise data that (i-1) frame data are produced in R → D transmitting procedures is represented,For in R → D data transfer
The corresponding channel fading coefficient of (i-1) frame data.
Client D shown in Fig. 6 is according to the transmission data Y received from S → DSDAnd the data Y received from R → DRD
Fusion, generates final data.System abnormal conditions can occur by the data transmission procedure in two above stage in client D
When, realize stable data transfer, it is ensured that the high efficiency of data interaction, be finally reached in application scenarios real in such as game
The purpose now accelerated to game.
Corresponding to a kind of data transmission method based on path described by above example, present invention also offers one kind
Data transmission system based on path, the optimal transmission paths to obtain data transfer between client and server.Such as Fig. 8
Shown, data transmission system of the present invention includes:
Monitoring modular 110, for monitoring the network state that user is presently in;
Handover module 120, when the network state being presently in for identifying meets preparatory condition, will transmit data
Main path switch to bypass footpath, and carried out data transmission based on bypass footpath.
Fig. 9 is the system structure diagram of the another embodiment of data transmission system of the present invention;As shown in figure 9, this
Invention data transmission system includes:
Monitoring modular 100, for monitoring the network state that user is presently in;
Acquisition module 200, data biography is carried out for obtaining the transmission path, transmission end and receiving terminal that are used to transmit data
Defeated average speed;
Computing module 300, for the transmission end and the average speed of receiving terminal based on acquisition, calculates the transmission end
With the speed difference of the average speed of receiving terminal;
Selecting module 400, for the speed difference obtained according to calculating, selects corresponding transmission path to carry out data
Transmission.
Figure 10 is a kind of system structure diagram of embodiment of acquisition module 200 in embodiment described in Fig. 9;Such as Figure 10
Shown, the acquisition module 200 includes:
Acquiring unit 210, for being t based on length of windowwPreset time window, obtain in time point t it is described pass
Defeated end request transmission rate corresponding with receiving terminal difference;
Monitoring unit 220, for monitoring time point (t-tw) to the corresponding length of window t of time point twInterior user institute
The network state at place, and obtain and the time point (t-tw) to time point t it is adjacent upper one described in length of window twWhen corresponding
Between in section (t-1), the transmission end and the corresponding average transmission rate of receiving terminal difference;
Computing unit 230, for according to the default length of window twAnd obtain the request transmission rate and
Average transmission rate, calculates the transmission end and the corresponding average speed of receiving terminal difference.
Figure 11 is a kind of system structure diagram of embodiment of selecting module 400 in embodiment described in Fig. 9;Such as Figure 11
Shown, the selecting module 400 includes:
Main path unit 410, if being less than or equal to zero for the speed difference, selection main path is used as transmission road
Footpath, carries out data transmission;
Auxiliary path unit 420, if being more than zero and less than preset critical for the speed difference, selection main path enters
Row data transfer, while attempting connection bypass footpath;
Dual path unit 430, if being more than or equal to the preset critical for the speed difference, activates and has connected
The bypass footpath connect, selection main path and bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate transmission.
Figure 12 is a kind of system structure diagram of embodiment of dual path unit 430 in embodiment described in Figure 11;Such as
Shown in Figure 12, the dual path unit 430 includes:
Transmission sub-unit 431, for receiving terminal and accelerating node to send identical transmission data respectively by main path;
Subelement 432 is controlled, for controlling the acceleration node that the transmission data received are passed through into the bypass
Footpath is sent to the receiving terminal.
Figure 13 is the system structure diagram of another embodiment of data transmission system of the present invention, based on described in Fig. 9
The description of embodiment, as shown in figure 13, data transmission system of the present invention also include:
Fusion Module 500, for the transmission data that are sent in the receiving terminal to receiving by the main path and
The transmission data sent by the bypass footpath, carry out data check, eliminate the noise data in transmitting procedure, and generation is melted
Data after conjunction, and perform respective operations based on the data after fusion.
Data transmission system of the present invention is by monitoring the network state that user is presently in;Obtain the biography for transmitting data
On defeated path, the average speed that transmission end and receiving terminal carry out data transmission;The transmission end and receiving terminal based on acquisition
Average speed, calculates the speed difference of the average speed of the transmission end and receiving terminal;The speed difference obtained according to calculating
Value, selects corresponding transmission path to carry out data transmission;Or:By monitoring the network state that user is presently in;Identify
When the network state being presently in meets preparatory condition, the main path for transmitting data is switched into bypass footpath, and based on auxiliary
Path carries out data transmission;With the beneficial effect for obtaining the optimal transmission paths of data transfer between client and server,
The high efficiency of data interaction is ensure that, has reached that data accelerate the purpose of transmission, whole process is provided for the game user of client
Service guarantee.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of data transmission method based on path, it is characterised in that the data transmission method includes:
The network state that monitoring user is presently in;
Obtain for transmitting the average speed that the transmission path, transmission end and receiving terminal of data carry out data transmission;
The average speed of the transmission end and receiving terminal based on acquisition, calculates the average speed of the transmission end and receiving terminal
Speed difference;
The speed difference obtained according to calculating, selects corresponding transmission path to carry out data transmission;
Or, the data transmission method includes:
The network state that monitoring user is presently in;
When identifying that the network state being presently in meets preparatory condition, the main path for transmitting data is switched into bypass
Footpath, and carried out data transmission based on bypass footpath.
2. data transmission method as claimed in claim 1, it is characterised in that the acquisition is used for the transmission path for transmitting data
The average speed that upper, transmission end and receiving terminal carry out data transmission, including:
It is t based on length of windowwPreset time window, obtain in time point t the transmission end it is corresponding with receiving terminal difference
Ask transmission rate;
Monitor time point (t-tw) to the corresponding length of window t of time point twNetwork state residing for interior user, and obtain with
Time point (the t-tw) to time point t it is adjacent upper one described in length of window twCorresponding period (t-1) is interior, the transmission
End and the corresponding average transmission rate of receiving terminal difference;
According to the default length of window twAnd the request transmission rate and average transmission rate obtained, calculate described
Transmission end and the corresponding average speed of receiving terminal difference.
3. data transmission method as claimed in claim 1 or 2, it is characterised in that the speed obtained according to calculating
Difference, selects corresponding transmission path to carry out data transmission, including:
If the speed difference is less than or equal to zero, selection main path carries out data transmission as transmission path;
If the speed difference is more than zero and less than preset critical, selection main path carries out data transmission, while the company of trial
Connect bypass footpath;
If the speed difference is more than or equal to the preset critical, the bypass footpath connected is activated, main path is selected
With bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate transmission.
4. data transmission method as claimed in claim 3, it is characterised in that the selection main path and bypass footpath binary channels association
Same transmission path, carries out double-channel data and accelerates transmission, including:
To receiving terminal and node is accelerated to send identical transmission data respectively by main path;
The control acceleration node sends the transmission data received to the receiving terminal by the bypass footpath.
5. data transmission method as claimed in claim 4, it is characterised in that the data transmission method also includes:
Sent in the receiving terminal to the transmission data sent by the main path that receive and by the bypass footpath
The transmission data, carry out data check, eliminate the noise data in transmitting procedure, the data after generation fusion, and be based on melting
Data after conjunction perform respective operations.
6. a kind of data transmission system based on path, it is characterised in that the data transmission system includes:
Monitoring modular, for monitoring the network state that user is presently in;
Acquisition module, is used to transmitting that the transmission path, transmission end and receiving terminal of data carry out data transmission to be flat for obtaining
Equal speed;
Computing module, for the transmission end and the average speed of receiving terminal based on acquisition, calculates the transmission end with receiving
The speed difference of the average speed at end;
Selecting module, for the speed difference obtained according to calculating, selects corresponding transmission path to carry out data transmission;
Or:
The data transmission system includes:
The monitoring modular, for monitoring the network state that user is presently in;
Handover module, when the network state being presently in for identifying meets preparatory condition, will transmit the main road of data
Footpath switches to bypass footpath, and is carried out data transmission based on bypass footpath.
7. data transmission system as claimed in claim 6, it is characterised in that the acquisition module includes:
Acquiring unit, for being t based on length of windowwPreset time window, obtain in time point t the transmission end with connecing
Receiving end distinguishes corresponding request transmission rate;
Monitoring unit, for monitoring time point (t-tw) to the corresponding length of window t of time point twNetwork residing for interior user
State, and obtain and the time point (t-tw) to time point t it is adjacent upper one described in length of window twCorresponding period (t-
1) the interior, transmission end and the corresponding average transmission rate of receiving terminal difference;
Computing unit, for according to the default length of window twAnd the request transmission rate and average transmission obtained
Speed, calculates the transmission end and the corresponding average speed of receiving terminal difference.
8. data transmission system as claimed in claims 6 or 7, it is characterised in that the selecting module includes:
Main path unit, if being less than or equal to zero for the speed difference, selection main path is carried out as transmission path
Data transfer;
Auxiliary path unit, if being more than zero and less than preset critical for the speed difference, selection main path carries out data
Transmission, while attempting connection bypass footpath;
Dual path unit, if being more than or equal to the preset critical for the speed difference, activates connected auxiliary
Path, selection main path and bypass footpath binary channels cooperative transmission path, carry out double-channel data and accelerate transmission.
9. data transmission system as claimed in claim 8, it is characterised in that the dual path unit includes:
Transmission sub-unit, for receiving terminal and accelerating node to send identical transmission data respectively by main path;
Control subelement, for control it is described acceleration node by the transmission data received by the bypass footpath send to
The receiving terminal.
10. data transmission system as claimed in claim 9, it is characterised in that the data transmission system also includes:
Fusion Module, in the receiving terminal to the transmission data sent by the main path that receive and by described
The transmission data that bypass footpath is sent, carry out data check, eliminate the noise data in transmitting procedure, the number after generation fusion
According to, and perform respective operations based on the data after fusion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710464650.5A CN107104897B (en) | 2017-06-19 | 2017-06-19 | Data transmission method and system based on path |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710464650.5A CN107104897B (en) | 2017-06-19 | 2017-06-19 | Data transmission method and system based on path |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107104897A true CN107104897A (en) | 2017-08-29 |
CN107104897B CN107104897B (en) | 2020-03-24 |
Family
ID=59660793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710464650.5A Active CN107104897B (en) | 2017-06-19 | 2017-06-19 | Data transmission method and system based on path |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107104897B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107465945A (en) * | 2017-09-12 | 2017-12-12 | 中广热点云科技有限公司 | A kind of method and system realized IPV and play enhancing |
CN107734556A (en) * | 2017-10-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Data transfer control method and Related product |
CN108261763A (en) * | 2018-02-08 | 2018-07-10 | 四川速宝网络科技有限公司 | The acceleration system of game running environment |
CN108449284A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Accelerating method and device based on multipath convergence |
CN108449408A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Game acceleration system based on multipath |
CN109922485A (en) * | 2019-02-02 | 2019-06-21 | 四川速宝网络科技有限公司 | Intelligent network bridge accelerated method and system based on dual communication devices |
CN110166327A (en) * | 2019-06-26 | 2019-08-23 | 恒宝股份有限公司 | A kind of data transfer integrity control system and method |
CN111182607A (en) * | 2019-12-30 | 2020-05-19 | 四川速宝网络科技有限公司 | Double-path forwarding acceleration method based on 4G router |
CN111839345A (en) * | 2019-04-24 | 2020-10-30 | 苏州市春菊电器有限公司 | Automatic suction adjusting method and system of dust collector |
CN112954765A (en) * | 2021-02-24 | 2021-06-11 | 四川速宝网络科技有限公司 | Dynamic operator routing method based on network state monitoring |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728645A (en) * | 2004-07-31 | 2006-02-01 | 华为技术有限公司 | Method for protecting operation of light transmission network |
CN101631357A (en) * | 2008-07-18 | 2010-01-20 | ***通信集团公司 | Method, device and terminal for selective response packet transmission |
CN103929364A (en) * | 2014-05-07 | 2014-07-16 | 北京邮电大学 | Method and device for controlling intelligently collaborative multi-path transmission of receiving end |
CN105338435A (en) * | 2015-10-21 | 2016-02-17 | 苏州大学 | Virtual optical network cooperation mapping method and apparatus |
CN106850805A (en) * | 2017-02-06 | 2017-06-13 | 网宿科技股份有限公司 | A kind of data transmission method and device |
-
2017
- 2017-06-19 CN CN201710464650.5A patent/CN107104897B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728645A (en) * | 2004-07-31 | 2006-02-01 | 华为技术有限公司 | Method for protecting operation of light transmission network |
CN101631357A (en) * | 2008-07-18 | 2010-01-20 | ***通信集团公司 | Method, device and terminal for selective response packet transmission |
CN103929364A (en) * | 2014-05-07 | 2014-07-16 | 北京邮电大学 | Method and device for controlling intelligently collaborative multi-path transmission of receiving end |
CN105338435A (en) * | 2015-10-21 | 2016-02-17 | 苏州大学 | Virtual optical network cooperation mapping method and apparatus |
CN106850805A (en) * | 2017-02-06 | 2017-06-13 | 网宿科技股份有限公司 | A kind of data transmission method and device |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107465945B (en) * | 2017-09-12 | 2019-12-03 | 中广热点云科技有限公司 | A kind of method and system realized IPTV and play enhancing |
CN107465945A (en) * | 2017-09-12 | 2017-12-12 | 中广热点云科技有限公司 | A kind of method and system realized IPV and play enhancing |
CN107734556B (en) * | 2017-10-30 | 2019-10-18 | Oppo广东移动通信有限公司 | Data transfer control method and Related product |
CN107734556A (en) * | 2017-10-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | Data transfer control method and Related product |
US10873530B2 (en) | 2017-10-30 | 2020-12-22 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for controlling data transmission, device, and storage medium |
CN108449408A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Game acceleration system based on multipath |
CN108449284A (en) * | 2018-02-08 | 2018-08-24 | 四川速宝网络科技有限公司 | Accelerating method and device based on multipath convergence |
CN108449408B (en) * | 2018-02-08 | 2020-12-08 | 四川速宝网络科技有限公司 | Game acceleration system based on multipath |
CN108261763B (en) * | 2018-02-08 | 2020-12-08 | 四川速宝网络科技有限公司 | Acceleration system of game running environment |
CN108261763A (en) * | 2018-02-08 | 2018-07-10 | 四川速宝网络科技有限公司 | The acceleration system of game running environment |
CN108449284B (en) * | 2018-02-08 | 2021-11-09 | 四川速宝网络科技有限公司 | Acceleration method and device based on multipath convergence |
CN109922485A (en) * | 2019-02-02 | 2019-06-21 | 四川速宝网络科技有限公司 | Intelligent network bridge accelerated method and system based on dual communication devices |
CN109922485B (en) * | 2019-02-02 | 2022-06-17 | 四川速宝网络科技有限公司 | Intelligent network bridge acceleration method and system based on dual communication equipment |
CN111839345A (en) * | 2019-04-24 | 2020-10-30 | 苏州市春菊电器有限公司 | Automatic suction adjusting method and system of dust collector |
CN110166327A (en) * | 2019-06-26 | 2019-08-23 | 恒宝股份有限公司 | A kind of data transfer integrity control system and method |
CN111182607A (en) * | 2019-12-30 | 2020-05-19 | 四川速宝网络科技有限公司 | Double-path forwarding acceleration method based on 4G router |
CN111182607B (en) * | 2019-12-30 | 2021-09-24 | 四川速宝网络科技有限公司 | Double-path forwarding acceleration method based on 4G router |
CN112954765A (en) * | 2021-02-24 | 2021-06-11 | 四川速宝网络科技有限公司 | Dynamic operator routing method based on network state monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN107104897B (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107104897A (en) | Data transmission method and system based on path | |
CN103404049B (en) | Data transport service method and apply the device of this method simultaneously | |
CN106301829B (en) | A kind of method and apparatus of network service dilatation | |
CN105379191B (en) | The upgrade method and network function of virtual network function virtualize composer | |
CN109618372B (en) | Data transmission method and related device | |
CN104184617B (en) | InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment | |
CN104539531B (en) | Data transmission method and device | |
CN107347205B (en) | A kind of network slice selection method, apparatus and system | |
CN112291816B (en) | Data transmission method, device, storage medium and electronic equipment | |
CN105009521B (en) | Message treatment method and gateway | |
CN107846313B (en) | A kind of method and the network equipment of the generation of network service moulding plate | |
CN104378299B (en) | Flow table item processing method and device | |
CN108568109A (en) | A kind of game control method, device and storage medium | |
CN104580029B (en) | Address distribution method and device | |
CN105099953A (en) | Cloud data center virtual network isolation method and device | |
CN105592505A (en) | Data transmission method and data terminal | |
CN108289246A (en) | Data processing method, device, storage medium and electronic device | |
KR101805628B1 (en) | Method and system for isochronous communication in audio/video networks | |
CN102307141B (en) | Message forwarding method and device | |
CN104468368A (en) | Method and device for allocating BGP neighbors | |
US20160019086A1 (en) | Apparauts and method for generating software defined network(sdn)-based virtual network according to user demand | |
CN107547242A (en) | The acquisition methods and device of VM configuration informations | |
CN103002517A (en) | Data transmission method and data terminal | |
CN105813154B (en) | A kind of network layer handoff control method and device | |
CN106576068B (en) | A kind of software security verification method, equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |