CN105407411A - Data sending method and data sending device - Google Patents

Data sending method and data sending device Download PDF

Info

Publication number
CN105407411A
CN105407411A CN201510698811.8A CN201510698811A CN105407411A CN 105407411 A CN105407411 A CN 105407411A CN 201510698811 A CN201510698811 A CN 201510698811A CN 105407411 A CN105407411 A CN 105407411A
Authority
CN
China
Prior art keywords
network
current
transmission rate
moment
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510698811.8A
Other languages
Chinese (zh)
Other versions
CN105407411B (en
Inventor
刘丽
成家雄
周芳
李博
同鑫
高盛
胡建强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Network Technology 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 Guangzhou Baiguoyuan Network Technology Co Ltd filed Critical Guangzhou Baiguoyuan Network Technology Co Ltd
Priority to CN201510698811.8A priority Critical patent/CN105407411B/en
Publication of CN105407411A publication Critical patent/CN105407411A/en
Application granted granted Critical
Publication of CN105407411B publication Critical patent/CN105407411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Embodiments of the invention disclose a data sending method. The method comprises the following steps of through calculating network time delay of a preset time segment, analyzing time-delay changes of a current network; according to the time-delay changes of the current network, analyzing a network congestion state trend; according to the network congestion state trend, determining whether the current network is in a congestion state; when the current network is in the congestion state, reducing a sending rate of current sending data. The invention also discloses a correlation device. By using the method and the device, the sending rate can be adjusted in advance, and a technical problem that video transmission quality is severely influenced because congestion network recovery time is long in a low bandwidth network in the prior art is solved. In addition, through creating a sending window used for limiting an instantaneous sending rate, a network deterioration degree during a detection process can be further controlled; jamming and pause frequencies of video playing are greatly reduced and real-time and fluent performance of the video playing are guaranteed.

Description

A kind of data transmission method for uplink and data sending device
Technical field
The present invention relates to the communications field, particularly relate to a kind of data transmission method for uplink and device.
Background technology
Along with the fast development of the Internet and the communication technology, the Internet becomes an aspect indispensable in people's life gradually.Accordingly, utilize network to carry out the application of transmission of video, as visual telephone, video conference etc., also more and more receive the concern of people.But, be engraved in change during available bandwidth due to the Internet itself, if the video data of transmission exceedes current available bandwidth will cause network congestion, not only can cause video playback card, pause, reduce video quality, but also the quality of other business used on the internet can be affected; And if the video data of transmission is lower than current bandwidth, then cannot make full use of Internet resources, video pictures quality cannot reach optimum.
In order to solve this unsteadiness of internet, transmitting terminal can detect current network, the congestion state of current network is judged in real time according to network state, and transmission rate is made adjustment, thus the video data sent can be changed according to the network bandwidth, both avoided congested, made full use of bandwidth resources again.
But by analyzing network, whether traditional network detection mode occurs that packet loss judges that whether network is congested, occur the mark of packet loss as network congestion by network; Prior art is in video call process, and meeting sustainable growth transmission rate, once there is the situation of Network Packet Loss, then reduces transmission rate.This network detection mode is always carried out adjusting expecting avoiding again occurring congested after generation is congested, that is, first causes a kind of destruction to network, after this destruction being detected, just repairs; Transmission rate can not be reduced in advance in prior art, avoid this destruction.For high bandwidth network, because it can promptly produce this destruction, can recover soon, thus this impact is acceptable simultaneously; But for low bandwidth, before trigger network packet loss, current network has entered the congestion state of a high time delay, this time delay may reach more than 10 second, its recovery often will spend the longer time, has had a strong impact on the real-time of transmission of video (such as videotelephony data).
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of data transmission method for uplink and data sending device are provided, by detecting current network environment, the change of Sampling network time delay, judge the whether congested of network in advance, achieve and in advance transmission rate is adjusted, thus obtain best result of broadcast.
First aspect, embodiments provides a kind of data transmission method for uplink, comprising:
By adding up the network delay of preset time period, analyze the time delay change of current network;
According to the trend of the time delay mutation analysis network congestion condition of described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
When being judged as YES, reduce the transmission rate of current transmission data.
In conjunction with first aspect, in the implementation that the first is possible, the trend of the described time delay mutation analysis network congestion condition according to described current network, and whether there is congested comprising according to the Trend judgement current network of described network congestion condition:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
In conjunction with first aspect, in the implementation that the second is possible, the described network delay by statistics preset time period, the time delay change analyzing current network comprises:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
In conjunction with the first possible implementation of first aspect, in the implementation that the third is possible, the difference of described n and described m is within 25.
In conjunction with first aspect, or the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, or the third possible implementation of first aspect, in the 4th kind of possible implementation,
The transmission rate of the current transmission data of described reduction comprises:
0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, after congested according to the Trend judgement current network appearance of described network congestion condition, also comprise:
Create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
Second aspect, embodiments provides a kind of data sending device, comprising:
Delay Variation analysis module, for the network delay by statistics preset time period, analyzes the time delay change of current network;
Analyze judge module, for the trend of the time delay mutation analysis network congestion condition according to described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
Transmission rate reduces module, for when described analysis judge module is judged as YES, reduces the transmission rate of current transmission data.
In conjunction with second aspect, in the implementation that the first is possible, described analysis judge module specifically for:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
In conjunction with second aspect, in the implementation that the second is possible, described Delay Variation analysis module specifically for:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
In conjunction with the first possible implementation of second aspect, in the implementation that the third is possible, the difference of described n and described m is within 25.
In conjunction with second aspect, or the first possible implementation of second aspect, or the implementation that the second of second aspect is possible, or the third possible implementation of second aspect, in the 4th kind of possible implementation, described transmission rate reduce module specifically for:
When described analysis judge module is judged as YES, 0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, also comprise:
Window creating module, for when described analysis judge module is judged as YES, create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
By implementing the embodiment of the present invention, by analyzing the time delay change of current network, according to the trend of the time delay mutation analysis network congestion condition of current network, when occurring congested according to the Trend judgement current network of network congestion condition, reduce the transmission rate of current transmission data, can network occur congested before, judge that network occurs in advance congested, achieve and in advance transmission rate is adjusted, solve prior art long for recovery time for congested network in low-bandwidth network, have a strong impact on the technical problem of video transmission quality, in addition, by creating the send window for limiting instantaneous transmission rate, the network impairment degree in detection process can be controlled further, greatly reduce video playback card, the number of times paused, ensure real-time and the fluency of video playback.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the data transmission method for uplink that the embodiment of the present invention provides;
Fig. 2 is the structural representation of the data sending device that the embodiment of the present invention provides;
Fig. 3 is the structural representation of another embodiment of data sending device provided by the invention;
Fig. 4 is the structural representation of another embodiment of data sending device provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
See Fig. 1, be the schematic flow sheet of the data transmission method for uplink that the embodiment of the present invention provides, the method comprises:
Step S100: by adding up the network delay of preset time period, analyzes the time delay change of current network;
Particularly, the embodiment of the present invention is for transmitting video data, and network delay refers to and sends to the other side to start a video packets, the time delay between the reply bag receiving the other side.The time delay change of the network of the embodiment of the present invention, refer to network delay sometime, with the situation of change of the network delay in moment before, that is, the time delay change of network can be defined as a kind of filtering and calculate, and embodiment of the present invention data sending terminal can analyze the time delay change of current network by the variation tendency of adding up the network delay in one section of preset time period.
Again in detail, to add up the network delay in two priority moment, the time delay change of current network can be drawn by following formulae discovery:
Y (n)=x (n) – x (n-1)+coef*y (n-1) formula 1
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.Will be understood that, network delay change y (1) in first moment can be 0, so network delay change y (2)=x (2) – x (1)+coef*y (1) in second moment, that is, y (2)=x (2) – x (1).
It should be noted that, the embodiment of the present invention includes but not limited to that formula 1 is to calculate the time delay change of current network, and can also pass through other formula, such as can change formula 1, the embodiment of the present invention is not construed as limiting.
Step S102: according to the trend of the time delay mutation analysis network congestion condition of described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
Particularly, the time delay of current network change can change compare analysis with the time delay of moment network before, if the time delay of current Network that latest computed goes out changes more increasing than what add up before, so judge that network occurs congested; Or can check whether the time delay change of current network reaches predetermined threshold value, if reach, illustrates that network occurs that the congested network delay that causes changes suddenly change greatly, namely judge that network occurs congested, etc.
Again in detail, can pass through to judge following formula:
Y (n) >y (m)+a formula 2
Whether set up, judge whether current network occurs congested.Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
Will be understood that, n, m and a in each embodiment of the present invention can be nonnegative integer, namely comprise 0 and natural number; .Preferably, in above-mentioned formula 2, the difference of n and m is within 25, and namely the difference of n and m can be 1, and namely m was a upper moment of n; A can be 160,180,200 or 220 etc., and the present invention is not construed as limiting, and can arrange this congestion threshold for technical staff according to system actual needs.
When judgment formula 2 is set up, namely current time network delay change be greater than before moment m network delay change value, when having exceeded congestion threshold a, then judge current network occur congested, perform step S104; Otherwise, when judgment formula 2 is false, then judge that current network does not occur congested.
Step S104: when being judged as YES, reduces the transmission rate of current transmission data.
Particularly, directly can reduce the speed of current transmission rate 0.5 times, the transmission rate by current transmission data is reduced to original 0.5 times; Or can also 0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate; Or can also comprise the send window created for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay, thus can control the network impairment degree in detection process further.
It should be noted that, step S104 can also comprise: when data sending terminal detects that the video packets number of not replying equals current send window size, will not send new video data.When judging that current network does not occur congested in step S102, current data sending strategy can be kept, do not adjust.
Also it should be noted that, the embodiment of the present invention is after the transmission rate reducing current transmission data, the network congestion judgment mode provided by the embodiment of the present invention, according to the trend of the time delay mutation analysis network congestion condition of described current network, and when judging that network does not occur congested, according to original data sending strategy, or can automatically raise the speed sending data by demand.
By implementing the embodiment of the present invention, by analyzing the time delay change of current network, according to the trend of the time delay mutation analysis network congestion condition of current network, when occurring congested according to the Trend judgement current network of network congestion condition, reduce the transmission rate of current transmission data, can network occur congested before, judge that network occurs in advance congested, achieve and in advance transmission rate is adjusted, solve prior art long for recovery time for congested network in low-bandwidth network, have a strong impact on the technical problem of video transmission quality, in addition, by creating the send window for limiting instantaneous transmission rate, the network impairment degree in detection process can be controlled further, greatly reduce video playback card, the number of times paused, ensure real-time and the fluency of video playback.
The above-mentioned method illustrating the embodiment of the present invention, below for the ease of implementing the such scheme of the embodiment of the present invention better, correspondingly, is also provided for coordinating the relevant apparatus implementing such scheme below.
The structural representation of the data sending device that the embodiment of the present invention as shown in Figure 2 provides, data sending device 20 data sending terminal that is method item embodiment is corresponding, data sending device 20 can comprise Delay Variation analysis module 200, analyze judge module 202 and transmission rate reduction module 204, wherein
Delay Variation analysis module 200, for the network delay by statistics preset time period, analyzes the time delay change of current network;
Analyze the trend of judge module 202 for the time delay mutation analysis network congestion condition according to described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
Transmission rate reduces module 204 for when analyzing judge module 202 and being judged as YES, and reduces the transmission rate of current transmission data.
Particularly, the analysis judge module 202 in the embodiment of the present invention specifically may be used for:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
Again particularly, the Delay Variation analysis module 200 in the embodiment of the present invention specifically may be used for:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
Transmission rate in the embodiment of the present invention reduces module 204 and specifically may be used for:
When analyzing judge module 202 and being judged as YES, 0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate.
Further, the structural representation of another embodiment of data sending device provided by the invention as shown in Figure 3, data sending device 20 comprises Delay Variation analysis module 200, analyzes outside judge module 202 and transmission rate reduction module 204, window creating module 206 can also be comprised, for when analyzing judge module 202 and being judged as YES, create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
The data sending device 20 of the embodiment of the present invention can be such as panel computer, personal digital assistant, intelligent mobile terminal or other can carry out the subscriber equipment of video network transmission.
Will be understood that, the function of each functional module of the data sending device 20 of the present embodiment according to the method specific implementation in said method embodiment, can repeat no more herein.
Refer to Fig. 4, Fig. 4 is the structural representation of another embodiment of data sending device provided by the invention.Wherein, as shown in Figure 4, data sending device 40 can comprise: at least one processor 401, such as CPU, at least one network interface 404, user interface 403, memory 405, at least one communication bus 402 and display screen 406.Wherein, communication bus 402 is for realizing the connection communication between these assemblies.Wherein, user interface 403 can comprise touch-screen, keyboard or mouse etc.Network interface 404 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Memory 405 can be high-speed RAM memory, and also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store, memory 405 comprises the flash in the embodiment of the present invention.Memory 405 can also be optionally that at least one is positioned at the storage system away from aforementioned processor 401.As shown in Figure 4, operating system, network communication module, Subscriber Interface Module SIM and data transmission program can be comprised as in a kind of memory 405 of computer-readable storage medium.
Processor 401 may be used for calling the data transmission program stored in memory 405, and performs following operation:
Added up the network delay of preset time period by network interface 404, analyze the time delay change of current network;
According to the trend of the time delay mutation analysis network congestion condition of described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
When being judged as YES, reduce the transmission rate of the current transmission data of network interface 404.
Particularly, whether processor 401 according to the trend of the time delay mutation analysis network congestion condition of described current network, and there is congested can comprising according to the Trend judgement current network of described network congestion condition:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
Particularly, processor 401 adds up the network delay of preset time period by network interface 404, and the time delay change analyzing current network comprises:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
Particularly, the difference of described n and described m is within 25.
Particularly, the transmission rate that processor 401 reduces the current transmission data of network interface 404 can comprise:
0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as the up-to-date transmission rate of network interface 404.
Particularly, after processor 401 is congested according to the Trend judgement current network appearance of described network congestion condition, can also perform:
Create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
It should be noted that, the function of each functional module of data sending device 40 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
In sum, by implementing the embodiment of the present invention, by analyzing the time delay change of current network, according to the trend of the time delay mutation analysis network congestion condition of current network, when occurring congested according to the Trend judgement current network of network congestion condition, reduce the transmission rate of current transmission data, can network occur congested before, judge that network occurs in advance congested, achieve and in advance transmission rate is adjusted, solve prior art long for recovery time for congested network in low-bandwidth network, have a strong impact on the technical problem of video transmission quality, in addition, by creating the send window for limiting instantaneous transmission rate, the network impairment degree in detection process can be controlled further, greatly reduce video playback card, the number of times paused, ensure real-time and the fluency of video playback.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (12)

1. a data transmission method for uplink, is characterized in that, comprising:
By adding up the network delay of preset time period, analyze the time delay change of current network;
According to the trend of the time delay mutation analysis network congestion condition of described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
When being judged as YES, reduce the transmission rate of current transmission data.
2. the method for claim 1, is characterized in that, the trend of the described time delay mutation analysis network congestion condition according to described current network, and whether occurs congested comprising according to the Trend judgement current network of described network congestion condition:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
3. the method for claim 1, is characterized in that, the described network delay by statistics preset time period, and the time delay change analyzing current network comprises:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
4. method as claimed in claim 2, it is characterized in that, the difference of described n and described m is within 25.
5. the method as described in any one of claim 1-4, is characterized in that, the transmission rate of the current transmission data of described reduction comprises:
0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate.
6. method as claimed in claim 5, is characterized in that, after congested according to the Trend judgement current network appearance of described network congestion condition, also comprises:
Create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
7. a data sending device, is characterized in that, comprising:
Delay Variation analysis module, for the network delay by statistics preset time period, analyzes the time delay change of current network;
Analyze judge module, for the trend of the time delay mutation analysis network congestion condition according to described current network, and whether occur congested according to the Trend judgement current network of described network congestion condition;
Transmission rate reduces module, for when described analysis judge module is judged as YES, reduces the transmission rate of current transmission data.
8. device as claimed in claim 7, is characterized in that, described analysis judge module specifically for:
Whether judgment formula y (n) >y (m)+a sets up; Wherein, y (n) is the network delay change in the n-th moment, and y (m) is the network delay change in m moment, and described n-th moment is current time, and n>m, a are default congestion threshold;
When judging that described formula is set up, then judge that current network occurs congested; When judging that described formula is false, then judge that current network does not occur congested.
9. device as claimed in claim 7, is characterized in that, described Delay Variation analysis module specifically for:
The time delay change of current network is drawn by following formulae discovery:
y(n)=x(n)–x(n-1)+coef*y(n-1)
Wherein, y (n) is the network delay change in the n-th moment, and x (n) is the network delay in the n-th moment, and described n-th moment is current time, coef is default weight, and 0<coef<1.
10. device as claimed in claim 8, it is characterized in that, the difference of described n and described m is within 25.
11. devices as described in any one of claim 7-9, is characterized in that, described transmission rate reduce module specifically for:
When described analysis judge module is judged as YES, 0.5 times of speed of more current transmission rate and the size of current receiving velocity, and choose speed larger in 0.5 times of speed of described current transmission rate and current receiving velocity as up-to-date transmission rate.
12. devices as claimed in claim 11, is characterized in that, also comprise:
Window creating module, for when described analysis judge module is judged as YES, create the send window for limiting instantaneous transmission rate, the size of described send window is the product of current receiving velocity and current network time delay.
CN201510698811.8A 2015-10-21 2015-10-21 A kind of data transmission method for uplink and data sending device Active CN105407411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510698811.8A CN105407411B (en) 2015-10-21 2015-10-21 A kind of data transmission method for uplink and data sending device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510698811.8A CN105407411B (en) 2015-10-21 2015-10-21 A kind of data transmission method for uplink and data sending device

Publications (2)

Publication Number Publication Date
CN105407411A true CN105407411A (en) 2016-03-16
CN105407411B CN105407411B (en) 2019-05-03

Family

ID=55472614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510698811.8A Active CN105407411B (en) 2015-10-21 2015-10-21 A kind of data transmission method for uplink and data sending device

Country Status (1)

Country Link
CN (1) CN105407411B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301684A (en) * 2016-08-12 2017-01-04 广州市百果园网络科技有限公司 A kind of media data transmission method and device
CN107070805A (en) * 2017-03-22 2017-08-18 上海华为技术有限公司 The method and node of a kind of flow control
CN108494698A (en) * 2017-12-13 2018-09-04 天津天地伟业机器人技术有限公司 A kind of jamming control method based on transmission rate
CN108833214A (en) * 2018-08-29 2018-11-16 杭州安恒信息技术股份有限公司 A kind of methods, devices and systems of industry control network detection
CN109428784A (en) * 2017-08-31 2019-03-05 腾讯科技(深圳)有限公司 Network detection method and device, computer storage medium and equipment
CN109788228A (en) * 2019-01-24 2019-05-21 Oppo广东移动通信有限公司 Adjust method, apparatus, equipment and the storage medium of IMS video speech quality
CN113691882A (en) * 2021-09-02 2021-11-23 广州市奥威亚电子科技有限公司 Method, device, equipment and storage medium for judging network condition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546106A (en) * 2011-12-28 2012-07-04 南京邮电大学 Multipath parallel transmission method facing satellite network
CN102726092A (en) * 2011-11-25 2012-10-10 华为技术有限公司 Method and apparatus for controlling network congestion
CN104618258A (en) * 2015-02-05 2015-05-13 成都金本华科技股份有限公司 Control method of data transmission rate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102726092A (en) * 2011-11-25 2012-10-10 华为技术有限公司 Method and apparatus for controlling network congestion
CN102546106A (en) * 2011-12-28 2012-07-04 南京邮电大学 Multipath parallel transmission method facing satellite network
CN104618258A (en) * 2015-02-05 2015-05-13 成都金本华科技股份有限公司 Control method of data transmission rate

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301684A (en) * 2016-08-12 2017-01-04 广州市百果园网络科技有限公司 A kind of media data transmission method and device
CN107070805A (en) * 2017-03-22 2017-08-18 上海华为技术有限公司 The method and node of a kind of flow control
CN109428784A (en) * 2017-08-31 2019-03-05 腾讯科技(深圳)有限公司 Network detection method and device, computer storage medium and equipment
CN109428784B (en) * 2017-08-31 2021-10-15 腾讯科技(深圳)有限公司 Network detection method and device, computer storage medium and equipment
CN108494698A (en) * 2017-12-13 2018-09-04 天津天地伟业机器人技术有限公司 A kind of jamming control method based on transmission rate
CN108833214A (en) * 2018-08-29 2018-11-16 杭州安恒信息技术股份有限公司 A kind of methods, devices and systems of industry control network detection
CN109788228A (en) * 2019-01-24 2019-05-21 Oppo广东移动通信有限公司 Adjust method, apparatus, equipment and the storage medium of IMS video speech quality
CN113691882A (en) * 2021-09-02 2021-11-23 广州市奥威亚电子科技有限公司 Method, device, equipment and storage medium for judging network condition
CN113691882B (en) * 2021-09-02 2024-04-26 广州市奥威亚电子科技有限公司 Method, device, equipment and storage medium for judging network condition

Also Published As

Publication number Publication date
CN105407411B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN105407411A (en) Data sending method and data sending device
EP3188479A1 (en) Adaptive video definition adjustment method and apparatus, terminal device, and storage medium
CN105187167A (en) Voice data communication method and device
CN105049369A (en) Video transmission congestion control method based on MPTCP in heterogeneous wireless network
CN108259448B (en) Method and device for preventing abnormal disconnection during wheat connection
CN105262699A (en) Network adaptive coding adjustment method and device
CN102904697B (en) Method for wireless link control based on round-trip delay and device thereof
CN106791575B (en) A kind of control method and equipment that data are sent
CN103269260A (en) Data transmission method, data receiving terminal, data sending terminal and data transmission system
WO2020233462A1 (en) Communication method for unmanned vehicle, and unmanned vehicle
CN103517024B (en) Video call system and video call method
CN103607661B (en) A kind of method and device of transmitting multimedia data
KR20150085405A (en) Apparatus and method for congestion detection of wireless network in a communication system
CN103916622A (en) Talking mode switching method and device
CN105554819A (en) Data transmission method and device and mobile terminal
CN103634556B (en) Information transmission method, information receiving method and electronic apparatus
CN105791735B (en) Method and system for video calling code stream dynamic adjustment
CN109495660B (en) Audio data coding method, device, equipment and storage medium
CN101141768B (en) Test method and device for simulating voice quality variation aroused by network characteristic
CN102905315A (en) Non-real-time traffic scheduling method, equipment and system
CN112653865A (en) Video call processing method and device and electronic equipment
CN104333728B (en) Audio video transmission regulates and controls method, apparatus, system and computer readable storage medium
CN104378307A (en) Optimizing method and system based on throughput rate and packet loss control CWND
CN106357693B (en) Real-time media stream packet loss compensation method
KR100736082B1 (en) Apparatus and method for transmitting packets in wireless networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510000 South Village Town, Panyu District, Guangzhou City, Guangdong Province, 79 Wanbo Second Road Wanbo Business District Wanda Business Square North District B-1 25 floors

Applicant after: GUANGZHOU BAIGUOYUAN NETWORK TECHNOLOGY Co.,Ltd.

Address before: 511442 25 floors, B-1 Building, North Wanda Commercial Plaza, Wanbo Business District, 79 Wanbo Second Road, Nancun Town, Panyu District, Zhuhai City, Guangdong Province

Applicant before: GUANGZHOU BAIGUOYUAN NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230927

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 510000 South Village Town, Panyu District, Guangzhou City, Guangdong Province, 79 Wanbo Second Road Wanbo Business District Wanda Business Square North District B-1 25 floors

Patentee before: GUANGZHOU BAIGUOYUAN NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right