CN105472477B - A kind of data transmission method, device and equipment - Google Patents
A kind of data transmission method, device and equipment Download PDFInfo
- Publication number
- CN105472477B CN105472477B CN201510901092.5A CN201510901092A CN105472477B CN 105472477 B CN105472477 B CN 105472477B CN 201510901092 A CN201510901092 A CN 201510901092A CN 105472477 B CN105472477 B CN 105472477B
- Authority
- CN
- China
- Prior art keywords
- communication link
- video data
- audio
- wireless communication
- buffer area
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6131—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via a mobile phone network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26208—Content 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/26216—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/647—Control 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/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/647—Control 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/64784—Data processing by the network
- H04N21/64792—Controlling the complexity of the content stream, e.g. by dropping packets
Abstract
Include: the audio, video data for obtaining acquisition the embodiment of the invention discloses a kind of data transmission method, coding compression is carried out to audio, video data;A group packet is split to compressed audio, video data is encoded according to preset segmentation Group Package Policy;According to the corresponding communication link of multiple wireless communication modules of configuration, allocation of packets is transmitted into communication link;The corresponding communication link of wherein at least two wireless communication module is communicated using different mobile communications networks;It obtains the network bandwidth information of every communication link in real time, the distribution of real-time aligned data packet and/or adjusts the coding parameter encoded to audio, video data in real time, to adjust the code rate for encoding compressed audio, video data.Using the present invention, solves the problem of when carrying out audio-video live streaming, being easy to appear communication blind district and signal by mobile communications network in the prior art poorly and leading to live streaming Caton or failure, and meet the urgent need of outdoor live streaming and mobile live broadcast service.
Description
Technical field
The present invention relates to the communications field more particularly to a kind of data transmission methods, device and equipment.
Background technique
With the development of electronic technology and internet, produce it is various based on simulated computer environment,
Using virtual personage's incarnation as carrier, user is in the network world (or virtual platform) wherein lived, exchanged;In this dynamic net
In network social life space, user can learn, game, amusement, shopping etc..
Currently, online live streaming is increasingly liked by user;Online live streaming, which refers to, utilizes internet and stream media technology
It is broadcast live, video is increasingly becoming interconnection because having merged the abundant element such as image, text, sound, excellent both in sound and shape, excellent
The mainstream expression way of net.Main broadcaster's client (i.e. main broadcaster user) can establish online direct broadcasting room by internet on website
(being equivalent to online direct broadcast band), the spectator client (i.e. spectators user) into the online direct broadcast band carry out online broadcasting,
Spectators user can see main broadcaster's content in current online direct broadcast band, for example watch video content etc., main broadcaster user is also
Private chat can be carried out with multiple spectators users in current online direct broadcast band.
For main broadcaster's client during live streaming, acquisition, compression, transmission, reduction, the broadcasting of audio-video are all synchronous progress
, this has very high requirement for the processing and transmission of audio-video.In existing, there are commonly following two audio-video live streaming sides
Formula:
1, it is broadcast live by satellite or microwave.TV programme are broadcast live usually using this direct-seeding, this live streaming side
The advantages of formula is live streaming wide coverage, is not limited by region location substantially.The disadvantage is that live streaming cost is too high, need using special
Satellite or microwave live broadcast vehicle, using flexible is poor, and more staff is needed to cooperate.Meanwhile this live streaming side
Formula is often subject to influence by environment, all many condition limitations such as weather and landform, the video/audio quality of live streaming.
2, it is broadcast live by way of internet.Online education, amusement live streaming and safety monitoring use this live streaming
Mode.This direct-seeding is easy to use, low in cost, but disadvantage it is also obvious that can only have the Internet broadband interface and
The place of wifi access uses, and use scope is restricted, be not suitable for outdoors be broadcast live in moving process.
With the rapid development of mobile radio communication, the bandwidth of mobile communication transmission is higher and higher, for example, by using the movement of 4G
The data uplink speed of several mbps may be implemented in the communication terminal of communication network, this to carry out audio-video by mobile radio communication
Live streaming is possibly realized, that is, solves the problems, such as that satellite or microwave direct-seeding flexibility are poor, solve internet direct-seeding
The limited problem of the scope of application.Although but mobile communication wide coverage, unavoidably still will appear some communications
Blind area and the not so good place of signal, it cannot be guaranteed that the timeliness of data transmission, carries out in moving process outdoors to user
Live streaming causes not small influence, is not able to satisfy the urgent need of outdoor live streaming and mobile live streaming.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of data transmission method, data transmission device
And data transmission set, it solves and when carrying out audio-video live streaming, is easy to appear logical by mobile communications network in the prior art
Letter blind area and signal are not so good and lead to the problem of Caton or failure is broadcast live, and meet outdoor live streaming and mobile live broadcast service
Urgent need.
In a first aspect, the embodiment of the invention provides a kind of data transmission methods, comprising:
The audio, video data for obtaining acquisition, carries out coding compression to the audio, video data;
It is split a group packet to compressed audio, video data is encoded according to preset segmentation Group Package Policy, obtains default lattice
The data packet of formula;
According to the corresponding communication link of multiple wireless communication modules of configuration, the allocation of packets is led to described
It is transmitted in letter link;Wherein, the corresponding communication link of at least two wireless communication modules uses different mobile radio communications
Network is communicated;
The network bandwidth information for obtaining every communication link in real time adjusts the number according to the network bandwidth information in real time
According to the distribution of packet, and/or adjust the coding ginseng encoded to the audio, video data in real time according to the network bandwidth information
Number, to adjust the code rate for encoding compressed audio, video data.
With reference to first aspect, in the first possible implementation, multiple wireless communication modules according to configuration
Corresponding communication link, the allocation of packets is carried out to transmission into the communication link includes:
Successively scan whether the corresponding transmission buffer area of each wireless communication module sends time-out;
When scanning to when sending overtime transmission buffer area, detect whether normally to send buffer area in the presence of transmission;
When the test results is yes, will send the allocation of packets of time-out to the transmission it is normal send in buffer area into
Row is sent;When testing result is no, then the data packet for sending time-out is abandoned.
With reference to first aspect, in the second possible implementation, described to be adjusted in real time according to the network bandwidth information
The distribution of the whole data packet, includes at least one of the following:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication
The data packet of link;Or
When being lower than the second preset threshold by the success rate of the second communication link data packet, reduction is assigned to described
The data packet of second communication link.
With reference to first aspect, in the third possible implementation, described to be adjusted in real time according to the network bandwidth information
The whole coding parameter encoded to the audio, video data, includes at least one of the following:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, pass through tune
Whole coding parameter reduces the code rate for encoding compressed audio, video data;Or
When the total bandwidth of the communication link of statistics is greater than the code rate of the compressed audio, video data of present encoding, and described work as
When the code rate of the preceding compressed audio, video data of coding is less than preset maximum value, by adjusting coding parameter increase coding compression
The code rate of audio, video data afterwards.
Perhaps second of the first possible implementation of first aspect or first aspect with reference to first aspect
The possible implementation of the third of possible implementation or first aspect, in the fourth possible implementation, institute
The corresponding communication link of multiple wireless communication modules according to configuration is stated, by the allocation of packets to the communication link
In transmitted after, further includes:
The corresponding rate flow information of each wireless communication module is obtained in real time;
According to the rate flow information, preferentially by allocation of packets to the corresponding communication chain of the low wireless communication module of rate
Road, or stop using allocation of packets to flow into the corresponding communication chain of wireless communication module greater than third predetermined threshold value
Road.
Second aspect, the embodiment of the invention provides a kind of data transmission devices, comprising:
Module is obtained, for obtaining the audio, video data of acquisition;
Compression module is encoded, for carrying out coding compression to the audio, video data;
Segmentation group packet module, for dividing according to preset segmentation Group Package Policy compressed audio, video data is encoded
A group packet is cut, the data packet of preset format is obtained;
First distribution module will be described for the corresponding communication link of multiple wireless communication modules according to configuration
Allocation of packets is transmitted into the communication link;Wherein, the corresponding communication link of at least two wireless communication modules is adopted
It is communicated with different mobile communications networks;
Module is adjusted, for obtaining the network bandwidth information of every communication link in real time, according to the network bandwidth information
Adjust the distribution of the data packet in real time, and/or according to the network bandwidth information adjust in real time to the audio, video data into
The coding parameter of row coding, to adjust the code rate for encoding compressed audio, video data.
In conjunction with second aspect, in the first possible implementation, first distribution module includes:
Scanning element, for successively scanning whether the corresponding transmission buffer area of each wireless communication module sends time-out;
Detection unit, for when the scanning element scanning to send time-out transmission buffer area when, detect whether exist
Send normal transmission buffer area;
Detection processing unit, for the data packet point of time-out will to be sent when the testing result of the detection unit, which is, is
Normal send in buffer area of the transmission is fitted on to be sent;When the testing result of the detection unit is no, then abandon
The data packet for sending time-out.
In conjunction with second aspect, in the second possible implementation, the adjustment module is included at least one of the following:
First reduces unit, for reducing when the network transmission rate of the first communication link is lower than the first preset threshold
It is assigned to the data packet of first communication link;Or
Second reduces unit, for when the success rate by the second communication link data packet is lower than the second preset threshold
When, reduce the data packet for being assigned to second communication link;Or
Unit is reduced, the total bandwidth for the communication link when statistics is less than the compressed audio, video data of present encoding
When code rate, the code rate for encoding compressed audio, video data is reduced by adjusting coding parameter;Or
Increasing unit, the total bandwidth for the communication link when statistics are greater than the compressed audio, video data of present encoding
Code rate, and the code rate of the compressed audio, video data of the present encoding be less than preset maximum value when, by adjusting coding ginseng
Number increases the code rate for encoding compressed audio, video data.
In conjunction with second of second aspect perhaps the first possible implementation of second aspect or second aspect
Possible implementation, in the third possible implementation, the acquisition module are also used in first distribution module
According to the corresponding communication link of multiple wireless communication modules of configuration, by the allocation of packets into the communication link
After being transmitted, the corresponding rate flow information of each wireless communication module is obtained in real time;
The data transmission device further include: the second distribution module, for will preferentially count according to the rate flow information
It is assigned to the corresponding communication link of the low wireless communication module of rate according to packet, or stops for allocation of packets being greater than to flow use
The corresponding communication link of the wireless communication module of third predetermined threshold value.
The third aspect, the embodiment of the invention provides a kind of data transmission sets, including audio-video capture module, processor
With multiple wireless communication modules, wherein
The audio-video capture module acquires audio, video data by HDMI or SDI interface, and by the audio, video data
Input to the processor;The processor includes the first possible realization side of above-mentioned second aspect or second aspect
Formula perhaps second aspect second of possible implementation perhaps the third possible implementation of second aspect or
Data transmission device in 4th kind of possible implementation of second aspect;
The multiple wireless communication module respectively corresponds multiple communication links, wherein at least two wireless communication modules pair
The communication link answered is communicated using different mobile communications networks;
The processor is connected with the multiple wireless communication module respectively, by allocation of packets to the communication link
In transmitted.
Optionally, which can also include at least one battery, and the battery is hot-swappable, for this
Data transmission set work.
In conjunction with the third aspect, in the first possible implementation, the processor is according to multiple channel radios of configuration
Believe the corresponding communication link of module, the allocation of packets is carried out to transmission into the communication link includes:
Successively scan whether the corresponding transmission buffer area of each wireless communication module sends time-out;
When scanning to when sending overtime transmission buffer area, detect whether normally to send buffer area in the presence of transmission;
When the test results is yes, will send the allocation of packets of time-out to the transmission it is normal send in buffer area into
Row is sent;When testing result is no, then the data packet for sending time-out is abandoned.
In conjunction with the third aspect, in the second possible implementation, the processor is according to the network bandwidth information
The distribution for adjusting the data packet in real time, includes at least one of the following:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication
The data packet of link;Or
When being lower than the second preset threshold by the success rate of the second communication link data packet, reduction is assigned to described
The data packet of second communication link.
In conjunction with the third aspect, in the third possible implementation, the processor is according to the network bandwidth information
The coding parameter encoded to the audio, video data is adjusted in real time, is included at least one of the following:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, pass through tune
Whole coding parameter reduces the code rate for encoding compressed audio, video data;Or
When the total bandwidth of the communication link of statistics is greater than the code rate of the compressed audio, video data of present encoding, and described work as
When the code rate of the preceding compressed audio, video data of coding is less than preset maximum value, by adjusting coding parameter increase coding compression
The code rate of audio, video data afterwards.
In conjunction with second of the third aspect perhaps the first possible implementation of the third aspect or the third aspect
The possible implementation of the third of possible implementation or the third aspect, in the fourth possible implementation, institute
Processor is stated according to the corresponding communication link of multiple wireless communication modules of configuration, the allocation of packets is led to described
After being transmitted in letter link, further includes:
The corresponding rate flow information of each wireless communication module is obtained in real time;
According to the rate flow information, preferentially by allocation of packets to the corresponding communication chain of the low wireless communication module of rate
Road, or stop using allocation of packets to flow into the corresponding communication chain of wireless communication module greater than third predetermined threshold value
Road.
By implementing the embodiment of the present invention, it will acquire and carried out the compressed audio, video data of coding according to preset point
It cuts Group Package Policy and is split a group packet, after obtaining the data packet of preset format, distinguished according to multiple wireless communication modules of configuration
Corresponding communication link transmits allocation of packets into communication link, wherein at least two wireless communication modules are corresponding
Communication link communicated using different mobile communications networks;Pass through mobile communications network in the prior art to solve
Poorly lead to the problem of Caton or failure is broadcast live when carrying out audio-video live streaming, to be easy to appear communication blind district and signal, drop
The threshold of low outdoor moving main broadcaster, in addition, can be in real time according to the distribution of network bandwidth information real-time aligned data packet and/or root
Adjust the coding parameter encoded to audio, video data in real time according to network bandwidth information, further improve data transmission when
Effect property, ensure that live streaming user can with cheap cost realize stablize and clearly outdoor moving be broadcast live, avoid satellite or
The problem that microwave direct-seeding flexibility difference and the internet direct-seeding scope of application are limited, meets outdoor live streaming and movement
The urgent need of live broadcast service.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the system architecture schematic diagram of data transmission method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of data transmission method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another embodiment of data transmission method provided by the invention;
Fig. 4 is the structural schematic diagram of data transmission device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the first distribution module provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of adjustment module provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another embodiment of data transmission device provided by the invention;
Fig. 8 is the structural schematic diagram of data transmission set provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, it is not intended to limit the invention." the one of the embodiment of the present invention and singular used in the attached claims
Kind ", " described " and "the" are also intended to including most forms, unless the context clearly indicates other meaning.It is also understood that this
Term "and/or" used herein refers to and includes one or more associated any or all possible group for listing project
It closes.
Referring to the configuration diagram of data transmission system provided in an embodiment of the present invention shown in fig. 1, user can pass through
The recording audio/video at the scene such as handheld digital video (Digital Video, DV) or professional camera, then will acquisition record
On the audio video transmission of system to data transmission device or equipment, the data transmission device or equipment provide through the embodiment of the present invention
Data transmission method, audio, video data is transferred to the server of network-side, each spectators visitor is finally handed down to by server
Family end.
It should also be noted that, the client in each embodiment of the present invention, can specifically refer to being somebody's turn to do for operation user's login
The communication system platform that the operation of the user equipment of communication system platform, the i.e. user equipment (i.e. client) has user to log in,
In the network architecture as shown in Figure 1, client can include but is not limited to mobile phone, removable computer, tablet computer, a number
Word assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses,
On the user equipmenies such as Intelligent bracelet.
Below with reference to Fig. 2 shows data transmission method provided in an embodiment of the present invention flow diagram, comprising:
Step S200: obtaining the audio, video data of acquisition, carries out coding compression to the audio, video data;
Specifically, main broadcaster user records or acquires at the scene audio-video, data transmission by video camera or hand-held DV etc.
The available video camera of device or the audio, video data of hand-held DV acquisition, the data transmission device and the video camera or hand-held
Formula DV can pass through high-definition multimedia interface (High Definition Multimedia Interface, HDMI) or number
The interfaces such as word component serial line interface (Serial Digital Interface, SDI) transmit audio, video data;Data transmission
After device gets the audio, video data of acquisition, the audio, video data is compiled by the coding parameter of preset encoder
Code, and complete to compress, such as can be by video data compression at H264 format, by Audio data compression at ACC format etc..
Step S202: being split a group packet to compressed audio, video data is encoded according to preset segmentation Group Package Policy,
Obtain the data packet of preset format;
Specifically, preset segmentation Group Package Policy can be default fixed segmentation Group Package Policy, example in the embodiment of the present invention
Such as by according to the demand of network transmission, unified fixed segmentation group is bundled into User Datagram Protocol (User Datagram
Protocol, UDP) format data packet;The present invention is not limited to the fixed data packets for dividing composition UDP format, can be with other
Formatted data packet suitable for network transmission.
Step S204: according to the corresponding communication link of multiple wireless communication modules of configuration, by the data packet point
It is fitted in the communication link and is transmitted;
Specifically, one (wireless) communication link of each wireless communication module correspondence establishment, the embodiment of the present invention is in local terminal
In multiple wireless communication modules of device (i.e. above-mentioned data transmission device) configuration, at least two wireless communication modules are corresponding
Communication link is communicated using different mobile communications networks, that is to say, that the connection of at least two wireless communication modules is different
Carrier network, which includes China Mobile, China Telecom or China Unicom etc., they are to adopt respectively
It is communicated with different mobile communications networks;Moreover, the communication link using identical mobile communications network can also match
It is equipped with a plurality of.The data transmission device can transmit the allocation of packets into above-mentioned communication link.
Step S206: obtaining the network bandwidth information of every communication link in real time, real-time according to the network bandwidth information
The distribution of the data packet is adjusted, and/or is adjusted in real time according to the network bandwidth information and the audio, video data is compiled
The coding parameter of code, to adjust the code rate for encoding compressed audio, video data.
Specifically, the network bandwidth information in the embodiment of the present invention includes but is not limited to network transmission rate, transmission data
The success rate of packet, total bandwidth of communication link etc.;It can be with according to the distribution that the network bandwidth information adjusts the data packet in real time
Including following any two or combine:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication chain
The data packet on road;Or it when being lower than the second preset threshold by the success rate of the second communication link data packet, reduces and divides
It is fitted on the data packet of second communication link.
In detail, which can preset first preset threshold, if to show certain communication link
Network transmission rate is lower than first preset threshold, then knows that the communication link cannot be completed the audio, video data by live streaming demand
Transmission;The data transmission device can send speed with the network of the corresponding communication link of all wireless communication modules of real-time statistics
Rate, when the first communication link network transmission rate be lower than first preset threshold, know that first communication link cannot be by straight
The demand of broadcasting completes the transmission of the audio, video data, then the data packet for being assigned to first communication link should be reduced.The data
Transmitting device can equally preset second preset threshold, if to show that the success rate of certain communication link data packet is low
In second preset threshold, that is, there is frequent packet loss phenomenon, then knows that the communication link cannot be completed sound view by live streaming demand
The transmission of frequency evidence, the data transmission device can be with the corresponding communication link data of all wireless communication modules of real-time statistics
The success rate of packet, such as receive server and return to the reception confirmation message for being directed to certain data packet, then show to be bundled into the data
Function transmission, if do not receive server return be directed to certain data packet reception confirmation message, show to the data packet not at
Function transmission, when statistics discovery the second communication link data packet success rate be lower than the second preset threshold when, know this second
Communication link cannot be completed the transmission of the audio, video data by live streaming demand, be assigned to second communication link then should reduce
Data packet.
It should be noted that first preset threshold or the second preset threshold can be empirical value or the practice of technical staff
Authenticated value, or can be the value of a dynamic adjustment, variation is constantly adjusted with the variation of link bandwidth.
Again specifically, it is adjusted in real time in step S206 according to the network bandwidth information and the audio, video data is compiled
The coding parameter of code may include following any two or combination to adjust the code rate of the compressed audio, video data of coding:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, pass through tune
Whole coding parameter reduces the code rate for encoding compressed audio, video data;Or work as when the total bandwidth of the communication link of statistics is greater than
The code rate of the preceding compressed audio, video data of coding, and the code rate of the compressed audio, video data of the present encoding is less than preset
When maximum value, the code rate of compressed audio, video data is encoded by adjusting coding parameter increase.
In detail, which can be with the corresponding communication link number of all wireless communication modules of real-time statistics
According to the success rate of packet, then when the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding
Know that the communication link cannot be completed the transmission of the audio, video data by live streaming demand;When statistics finds the second communication link
When the success rate of data packet is lower than the second preset threshold, that is, there is frequent packet loss phenomenon, illustrate that time communication bandwidth is smaller, know
Second communication link cannot be completed the transmission of the audio, video data by live streaming demand, then can drop by adjusting coding parameter
The code rate of the low compressed audio, video data of coding, so that second communication link is able to satisfy the audio-video number of current live demand
According to transmission, reduce live streaming in there is the phenomenon that mosaic and Caton.The data transmission device can equally be communicated with real-time statistics
The total bandwidth of link, when statistics communication link total bandwidth be greater than the compressed audio, video data of present encoding code rate, and
When the code rate of the compressed audio, video data of the present encoding is less than preset maximum value, showing can also be by adjusting coding ginseng
Number increases the code rate for encoding compressed audio, video data, to improve the image quality and clarity of live video.
Still further, the process signal of another embodiment of data transmission method provided by the invention as shown in Figure 3
Figure, comprising:
Step S300: initializing wireless communication module establishes communication link, sends for the distribution of each wireless communication module slow
Rush area;
Specifically, when the audio-video that user's turn-on data transmitting device is ready for live streaming is recorded, data transmission dress
The initial configuration for carrying out wireless communication module in the present apparatus after opening first is set, establishes respective communication link, and according to
Default allocation rule, which distributes, sends buffer area, to buffer the message queue for needing to send.
Step S302: it monitors whether to get audio, video data;
After monitoring to obtain audio, video data, step S304 is executed, step S302 is otherwise repeated;
Step S304: setting coder parameters carry out coding compression to audio, video data;
Step S306: compressed audio, video data will be encoded and be split a group packet, and deliver a packet to each nothing
The transmission buffer area of line communication module;
Specifically, step S304 and step S306 can refer to the description of above-mentioned Fig. 2 embodiment, and which is not described herein again.
Step S308: successively scan whether the corresponding transmission buffer area of each wireless communication module sends time-out;
Specifically, when scanning is to when sending overtime transmission buffer area, otherwise execution step S310 executes step S316.
Step S310: detect whether there is the normal transmission buffer area of transmission;
Specifically, when detecting the presence of transmission normally transmission buffer area, step S314 is executed, it is no to then follow the steps
S312。
Step S312: the data packet for sending time-out is abandoned;
Specifically, after the data packet for having abandoned currently transmitted time-out, step S316 is executed.
Step S314: the allocation of packets for sending time-out is sent to normal send in buffer area of the transmission;
Step S316: judge whether it is the last one and send buffer area;
Specifically, when being judged as that the last one sends buffer area, step S318 is executed, is otherwise returned to step
S308 sends buffer area until scanning through the last one.
Step S318: judge whether live streaming terminates;
Specifically, at the end of judging live streaming, step S322 is executed, it is no to then follow the steps S320.
Step S320: the network bandwidth information of the corresponding communication link of each wireless communication module is counted;
Specifically, step S320 can refer to the description of above-mentioned Fig. 2 embodiment, and which is not described herein again, and in step S320
Afterwards, S304 is returned to step.
Further, the embodiment of the present invention is in the corresponding communication link of multiple wireless communication modules according to configuration,
It after the allocation of packets is transmitted into the communication link, i.e. can also include: real-time acquisition in step S320
The corresponding rate flow information of each wireless communication module;According to the rate flow information, preferentially by allocation of packets to rate
The corresponding communication link of low wireless communication module, or stop allocation of packets to flow using being greater than third predetermined threshold value
The corresponding communication link of wireless communication module.
Specifically, it is assumed that count the corresponding rate flow information of some wireless communication module and show the radio communication mold
It, can be preferentially by the allocation of packets to the money when rate of block low (such as specific discharge expense) are lower than other wireless communication module
Take the corresponding communication link of low wireless communication module;Or the monthly payment flow set of certain wireless communication module has pre-purchase in user
Meal, if the flow use of the wireless communication module has had reached third predetermined threshold value, the flow value for having shown currently used is i.e.
It will be more than monthly payment flow value, and or have been over monthly payment flow value, then can stop the allocation of packets to this nothing
The corresponding communication link of line communication module.
Step S322: terminate process.
By implementing the embodiment of the present invention, it will acquire and carried out the compressed audio, video data of coding according to preset point
It cuts Group Package Policy and is split a group packet, after obtaining the data packet of preset format, distinguished according to multiple wireless communication modules of configuration
Corresponding communication link transmits allocation of packets into communication link, wherein at least two wireless communication modules are corresponding
Communication link communicated using different mobile communications networks;Pass through mobile communications network in the prior art to solve
Poorly lead to the problem of Caton or failure is broadcast live when carrying out audio-video live streaming, to be easy to appear communication blind district and signal, drop
The threshold of low outdoor moving main broadcaster, in addition, can be in real time according to the distribution of network bandwidth information real-time aligned data packet and/or root
Adjust the coding parameter encoded to audio, video data in real time according to network bandwidth information, further improve data transmission when
Effect property, ensure that live streaming user can with cheap cost realize stablize and clearly outdoor moving be broadcast live, avoid satellite or
The problem that microwave direct-seeding flexibility difference and the internet direct-seeding scope of application are limited, meets outdoor live streaming and movement
The urgent need of live broadcast service.
It is above-mentioned to illustrate the method for the embodiment of the present invention, following for convenient for better implementing the embodiment of the present invention
Above scheme is correspondingly also provided below for cooperating the relevant apparatus and equipment of implementing above scheme.
The structural schematic diagram of data transmission device provided in an embodiment of the present invention as shown in Figure 4, data transmission device 40
It may include obtaining module 400, coding compression module 402, segmentation group packet module 404, the first distribution module 406 and adjustment module
408, wherein
Obtain the audio, video data that module 400 is used to obtain acquisition;
Coding compression module 402 is for carrying out coding compression to the audio, video data;
Segmentation group packet module 404 is used to carry out according to preset segmentation Group Package Policy to compressed audio, video data is encoded
Segmentation group packet, obtains the data packet of preset format;
First distribution module 406 is used for the corresponding communication link of multiple wireless communication modules according to configuration, by institute
Allocation of packets is stated to be transmitted into the communication link;Wherein, preset multiple wireless in the data transmission device 40
The corresponding communication link of at least two wireless communication modules is communicated using different mobile communications networks in communication module;
Adjustment module 408 is used to obtain the network bandwidth information of every communication link in real time, is believed according to the network bandwidth
Breath adjusts the distribution of the data packet in real time, and/or is adjusted in real time according to the network bandwidth information to the audio, video data
The coding parameter encoded, to adjust the code rate for encoding compressed audio, video data.
Specifically, the structural schematic diagram of the first distribution module provided in an embodiment of the present invention as shown in Figure 5, the first distribution
Module 406 may include scanning element 4060, detection unit 4062 and detection processing unit 4064, wherein
Scanning element 4060 is for successively scanning whether the corresponding transmission buffer area of each wireless communication module sends time-out;
Detection unit 4062 is used to scan when scanning element 4060 to when sending overtime transmission buffer area, detects whether to deposit
Sending normal transmission buffer area;
Detection processing unit 4064 is used for when the testing result of detection unit 4062, which is, is, will send the data packet of time-out
Normal send in buffer area of the transmission is assigned to be sent;When the testing result of detection unit 4062 is no, then lose
Abandon the data packet for sending time-out.
Further, the structural schematic diagram of adjustment module provided in an embodiment of the present invention as shown in Figure 6, adjusts module
408 may include one in the first reduction unit 4080, second reduction unit 4082, reduction unit 4084 and increasing unit 4086
Item is any multinomial, is illustrated for all including said units in Fig. 6,
First, which reduces unit 4080, is used to subtract when the network transmission rate of the first communication link is lower than the first preset threshold
It is assigned to the data packet of first communication link less;Or
Second, which reduces unit 4082, is used for when the success rate for passing through the second communication link data packet is default lower than second
When threshold value, the data packet for being assigned to second communication link is reduced;Or
Unit 4084 is reduced to be used for when the success rate by the second communication link data packet is lower than the second preset threshold
When, the code rate for encoding compressed audio, video data is reduced by adjusting coding parameter;Or
Increasing unit 4086 is used to be greater than the compressed audio-video number of present encoding when the total bandwidth of the communication link of statistics
According to code rate, and the code rate of the compressed audio, video data of the present encoding be less than preset maximum value when, by adjusting volume
Code parameter increase encodes the code rate of compressed audio, video data.
Still further, the acquisition module 400 in the embodiment of the present invention can be also used in 406 basis of the first distribution module
The corresponding communication link of multiple wireless communication modules of configuration, the allocation of packets is carried out into the communication link
After transmission, the corresponding rate flow information of each wireless communication module is obtained in real time;
The structural schematic diagram of another embodiment of data transmission device provided by the invention so as shown in Figure 7, data
Transmitting device 40 includes obtaining module 400, coding compression module 402, segmentation group packet module 404, the first distribution module 406 and adjusting
Outside mould preparation block 408, it can also include the second distribution module 4010, be used for according to the rate flow information, preferentially by data packet
It is assigned to the corresponding communication link of the low wireless communication module of rate, or stops using allocation of packets to flow and is greater than third
The corresponding communication link of the wireless communication module of preset threshold.
It will be appreciated that the function of each functional module of the data transmission device 40 of the present embodiment can be according to above method reality
The method specific implementation in example is applied, details are not described herein again.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of data transmission set provided in an embodiment of the present invention.Wherein, data pass
Transfer device 80 may include: at least one processor 801, such as CPU, multiple wireless communication modules 804, audio-video capture module
803, memory 805, at least one communication bus 802 and at least one battery 806.Wherein, communication bus 802 for realizing
Connection communication between these components.Wherein, audio-video capture module 803 can acquire audio-video by HDMI or SDI interface
Data, and the audio, video data is inputed into processor 801;
Battery 806 in the embodiment of the present invention is hot-swappable, for the data transmission set 80 work;
Multiple wireless communication modules 804 respectively correspond multiple communication links, wherein at least two wireless communication modules are corresponding
Communication link communicated using different mobile communications networks;
Processor 801 is connected with multiple wireless communication modules 804 respectively, for being obtained by audio-video capture module 803
The audio, video data for taking acquisition carries out coding compression to the audio, video data;According to preset segmentation Group Package Policy to coding
Compressed audio, video data is split a group packet, obtains the data packet of preset format;According to the multiple channel radio of configuration
Believe the corresponding communication link of module 802, the allocation of packets is transmitted into the communication link;It obtains in real time
The network bandwidth information of every communication link adjusts the distribution of the data packet according to the network bandwidth information in real time, and/or
The coding parameter encoded to the audio, video data is adjusted, in real time according to the network bandwidth information with adjustment coding compression
The code rate of audio, video data afterwards.
Specifically, processor 801 is according to the corresponding communication link of multiple wireless communication modules 802 of configuration, by institute
It states allocation of packets and carries out transmitting into the communication link and may include:
Successively scan whether the corresponding transmission buffer area of each wireless communication module 802 sends time-out;
When scanning to when sending overtime transmission buffer area, detect whether normally to send buffer area in the presence of transmission;
When the test results is yes, will send the allocation of packets of time-out to the transmission it is normal send in buffer area into
Row is sent;When testing result is no, then the data packet for sending time-out is abandoned.
Further, processor 801 adjusts the distribution of the data packet according to the network bandwidth information in real time, including with
It is at least one of lower:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication
The data packet of link;Or
When being lower than the second preset threshold by the success rate of the second communication link data packet, reduction is assigned to described
The data packet of second communication link.
Further, processor 801 is adjusted in real time according to the network bandwidth information and is compiled to the audio, video data
The coding parameter of code, includes at least one of the following:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, pass through tune
Whole coding parameter reduces the code rate for encoding compressed audio, video data;Or
When the total bandwidth of the communication link of statistics is greater than the code rate of the compressed audio, video data of present encoding, and described work as
When the code rate of the preceding compressed audio, video data of coding is less than preset maximum value, by adjusting coding parameter increase coding compression
The code rate of audio, video data afterwards.
Further, processor 801, will according to the corresponding communication link of multiple wireless communication modules 802 of configuration
After the allocation of packets is transmitted into the communication link, further includes:
The corresponding rate flow information of each wireless communication module 802 is obtained in real time;
According to the rate flow information, preferentially by allocation of packets to the corresponding communication chain of the low wireless communication module of rate
Road, or stop using allocation of packets to flow into the corresponding communication chain of wireless communication module greater than third predetermined threshold value
Road.
It should be noted that how to realize that the transmission of data can refer to above-mentioned for the processor 801 in the embodiment of the present invention
The specific implementation of Fig. 2 and Fig. 3 embodiment of the method or Fig. 4 to Fig. 7 about 70 embodiment of data transmission device, here not
It repeats again.Data transmission set 80 in the embodiment of the present invention can include but is not limited to personal computer, removable computer, plate
Computer, personal digital assistant (Personal Digital Assistant, PDA), media player or other with above-mentioned number
According to the Intelligent treatment equipment of transfer function.
In conclusion will acquire by implementing the embodiment of the present invention and carried out the compressed audio, video data of coding and press
It is split a group packet according to preset segmentation Group Package Policy, after obtaining the data packet of preset format, according to multiple channel radios of configuration
Believe the corresponding communication link of module, allocation of packets is transmitted into communication link, wherein at least two channel radios
The corresponding communication link of letter module is communicated using different mobile communications networks;Pass through shifting in the prior art to solve
Dynamic communication network poorly leads to that Caton or failure is broadcast live when carrying out audio-video live streaming, to be easy to appear communication blind district and signal
The problem of, the threshold of outdoor moving main broadcaster is reduced, in addition, can be in real time according to point of network bandwidth information real-time aligned data packet
Match, and/or adjust the coding parameter encoded to audio, video data in real time according to network bandwidth information, further improves number
According to the timeliness of transmission, it ensure that live streaming user can realize to stablize with cheap cost and be broadcast live with clearly outdoor moving, kept away
Exempt from satellite or microwave direct-seeding flexibility difference and the limited problem of the internet direct-seeding scope of application, meets open air
The urgent need of live streaming and mobile live broadcast service.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (11)
1. a kind of data transmission method characterized by comprising
Initializing wireless communication module, establishes communication link, sends buffer area for the distribution of each wireless communication module;Wherein, until
Few corresponding communication link of two wireless communication modules is communicated using different mobile communications networks;
The audio, video data for obtaining acquisition, carries out coding compression to the audio, video data;
It is split a group packet to compressed audio, video data is encoded according to preset segmentation Group Package Policy, obtains preset format
Data packet;And deliver a packet to the transmission buffer area of each wireless communication module;
Successively scan whether the corresponding transmission buffer area of each wireless communication module sends time-out;
When scanning to when sending overtime transmission buffer area, detect whether normally to send buffer area in the presence of transmission;
When the test results is yes, the allocation of packets for sending time-out is sent out to normal send in buffer area of the transmission
It send;When testing result is no, then the data packet for sending time-out is abandoned;
Judge whether it is the last one and sends buffer area;When being judged as that the last one sends buffer area, judge whether live streaming ties
Beam;It is corresponding that each wireless communication module is successively scanned when judging not send buffer area as the last one, described in return execution
It sends whether buffer area sends time-out, sends buffer area until scanning through the last one;
It is not over when judgement is broadcast live, then the network bandwidth information of every communication link is obtained in real time, according to the network bandwidth
Information adjusts the distribution of the data packet in real time, and/or is adjusted in real time according to the network bandwidth information to the audio-video number
According to the coding parameter encoded, to adjust the code rate for encoding compressed audio, video data.
2. the method as described in claim 1, which is characterized in that described to adjust the number in real time according to the network bandwidth information
According to the distribution of packet, include at least one of the following:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication link
Data packet;Or
When being lower than the second preset threshold by the success rate of the second communication link data packet, reduction is assigned to described second
The data packet of communication link.
3. the method as described in claim 1, which is characterized in that described to be adjusted in real time according to the network bandwidth information to described
The coding parameter that audio, video data is encoded, includes at least one of the following:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, by adjusting volume
Code parameter reduces the code rate for encoding compressed audio, video data;Or
When the total bandwidth of the communication link of statistics is greater than the code rate of the compressed audio, video data of present encoding, and the current volume
It is compressed by adjusting coding parameter increase coding when the code rate of the compressed audio, video data of code is less than preset maximum value
The code rate of audio, video data.
4. the method according to claim 1, which is characterized in that described to deliver a packet to each wireless communication
After the transmission buffer area of module, further includes:
The corresponding rate flow information of each wireless communication module is obtained in real time;
According to the rate flow information, preferentially by allocation of packets to the corresponding communication link of the low wireless communication module of rate,
Or stop using allocation of packets to flow into the corresponding communication link of wireless communication module greater than third predetermined threshold value.
5. a kind of data transmission device characterized by comprising
Module is obtained, for obtaining the audio, video data of acquisition;
Compression module is encoded, for carrying out coding compression to the audio, video data;
Segmentation group packet module, for being split group to compressed audio, video data is encoded according to preset segmentation Group Package Policy
Packet, obtains the data packet of preset format;
First distribution module is used for initializing wireless communication module, establishes communication link, for each wireless communication module distribution hair
Send buffer area;According to the corresponding communication link of multiple wireless communication modules of configuration, by the allocation of packets described in
It is transmitted in communication link;Wherein, the corresponding communication link of at least two wireless communication modules uses different mobile communication
Network is communicated;
First distribution module includes:
Scanning element, for successively scanning whether the corresponding transmission buffer area of each wireless communication module sends time-out;
Detection unit, for when the scanning element scanning to send time-out transmission buffer area when, detect whether exist send
It is normal to send buffer area;
Detection processing unit, for when the testing result of the detection unit be when, will send time-out allocation of packets to
Normal send in buffer area of the transmission is sent;When the testing result of the detection unit is no, then described in discarding
Send the data packet of time-out;Judge whether it is the last one and sends buffer area;When being judged as that the last one sends buffer area, sentence
Whether disconnected live streaming terminates;When judging not send buffer area as the last one, then the scanning element continue to execute it is described successively
It scans whether the corresponding transmission buffer area of each wireless communication module sends time-out, sends buffering until scanning through the last one
Area;
Module is adjusted, for being not over when judgement live streaming, the network bandwidth information of every communication link is obtained in real time, according to institute
The distribution that network bandwidth information adjusts the data packet in real time is stated, and/or is adjusted in real time according to the network bandwidth information to institute
The coding parameter that audio, video data is encoded is stated, to adjust the code rate for encoding compressed audio, video data.
6. device as claimed in claim 5, which is characterized in that the adjustment module includes at least one of the following:
First reduces unit, for reducing distribution when the network transmission rate of the first communication link is lower than the first preset threshold
To the data packet of first communication link;Or
Second reduces unit, for when being lower than the second preset threshold by the success rate of the second communication link data packet,
Reduce the data packet for being assigned to second communication link;Or
Unit is reduced, the code rate of the compressed audio, video data of present encoding is less than for the total bandwidth of the communication link when statistics
When, the code rate for encoding compressed audio, video data is reduced by adjusting coding parameter;Or increasing unit, for when statistics
The total bandwidth of communication link is greater than the code rate of the compressed audio, video data of present encoding, and the compressed sound of the present encoding
When the code rate of video data is less than preset maximum value, compressed audio, video data is encoded by adjusting coding parameter increase
Code rate.
7. such as the described in any item devices of claim 5-6, which is characterized in that the acquisition module is also used at described first point
With module according to the corresponding communication link of multiple wireless communication modules of configuration, by the allocation of packets to the communication
After being transmitted in link, the corresponding rate flow information of each wireless communication module is obtained in real time;
The data transmission device further include: the second distribution module is used for according to the rate flow information, preferentially by data packet
It is assigned to the corresponding communication link of the low wireless communication module of rate, or stops using allocation of packets to flow and is greater than third
The corresponding communication link of the wireless communication module of preset threshold.
8. a kind of data transmission set, which is characterized in that including audio-video capture module, processor and multiple radio communication molds
Block, wherein
The audio-video capture module acquires audio, video data by HDMI or SDI interface, and the audio, video data is inputted
To the processor;
The multiple wireless communication module respectively corresponds multiple communication links, wherein at least two wireless communication modules are corresponding
Communication link is communicated using different mobile communications networks;
The processor is connected with the multiple wireless communication module respectively, is used for initializing wireless communication module, establishes logical
Believe link, sends buffer area for the distribution of each wireless communication module;Wherein, the corresponding communication chain of at least two wireless communication modules
Road is communicated using different mobile communications networks;The audio, video data of acquisition is obtained by the audio-video capture module,
Coding compression is carried out to the audio, video data;According to preset segmentation Group Package Policy to encode compressed audio, video data into
Row segmentation group packet, obtains the data packet of preset format;And deliver a packet to the transmission buffer area of each wireless communication module;
Successively scan whether the corresponding transmission buffer area of each wireless communication module sends time-out;When scanning is slow to the transmission for sending time-out
When rushing area, detect whether there is the normal transmission buffer area of transmission;When the test results is yes, the data packet point of time-out will be sent
Normal send in buffer area of the transmission is fitted on to be sent;When testing result is no, then the transmission time-out is abandoned
Data packet;When, judge whether live streaming terminates;When judging not send buffer area as the last one, returns and successively swept described in executing
It retouches whether the corresponding transmission buffer area of each wireless communication module sends time-out, sends buffer area until scanning through the last one;
It is not over when judgement is broadcast live, then the network bandwidth information of every communication link is obtained in real time, according to the network bandwidth information
Adjust the distribution of the data packet in real time, and/or according to the network bandwidth information adjust in real time to the audio, video data into
The coding parameter of row coding, to adjust the code rate for encoding compressed audio, video data.
9. equipment as claimed in claim 8, which is characterized in that the processor adjusts in real time according to the network bandwidth information
The distribution of the data packet, includes at least one of the following:
When the network transmission rate of the first communication link is lower than the first preset threshold, reduction is assigned to first communication link
Data packet;Or
When being lower than the second preset threshold by the success rate of the second communication link data packet, reduction is assigned to described second
The data packet of communication link.
10. equipment as claimed in claim 8, which is characterized in that the processor is adjusted in real time according to the network bandwidth information
The whole coding parameter encoded to the audio, video data, includes at least one of the following:
When the total bandwidth of the communication link of statistics is less than the code rate of the compressed audio, video data of present encoding, by adjusting volume
Code parameter reduces the code rate for encoding compressed audio, video data;Or
When the total bandwidth of the communication link of statistics is greater than the code rate of the compressed audio, video data of present encoding, and the current volume
It is compressed by adjusting coding parameter increase coding when the code rate of the compressed audio, video data of code is less than preset maximum value
The code rate of audio, video data.
11. such as the described in any item equipment of claim 8-10, which is characterized in that described to deliver a packet to each channel radio
After the transmission buffer area for believing module, further includes:
The corresponding rate flow information of each wireless communication module is obtained in real time;
According to the rate flow information, preferentially by allocation of packets to the corresponding communication link of the low wireless communication module of rate,
Or stop using allocation of packets to flow into the corresponding communication link of wireless communication module greater than third predetermined threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510901092.5A CN105472477B (en) | 2015-12-08 | 2015-12-08 | A kind of data transmission method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510901092.5A CN105472477B (en) | 2015-12-08 | 2015-12-08 | A kind of data transmission method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472477A CN105472477A (en) | 2016-04-06 |
CN105472477B true CN105472477B (en) | 2019-04-02 |
Family
ID=55609687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510901092.5A Active CN105472477B (en) | 2015-12-08 | 2015-12-08 | A kind of data transmission method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472477B (en) |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112218172B (en) * | 2016-04-22 | 2022-06-10 | 华为技术有限公司 | Code stream transmission method and device and network camera |
CN105812386A (en) * | 2016-05-09 | 2016-07-27 | 贵州奥斯科尔科技实业有限公司 | KTV service method, KTV service mobile terminal and system |
CN106411838A (en) * | 2016-06-14 | 2017-02-15 | 青岛乾元通数码科技有限公司 | Multi-channel load balancing audio/video transmission method and system |
CN106210443B (en) * | 2016-08-31 | 2019-05-24 | 广东省广告集团股份有限公司 | The method that network-control shows content synchronization |
CN106302156A (en) * | 2016-09-18 | 2017-01-04 | 深圳市青柠互动科技开发有限公司 | A kind of live broadcasting method solving region network discrepancy time delay and system |
CN106454388B (en) * | 2016-09-20 | 2019-08-16 | 北京百度网讯科技有限公司 | A kind of method and apparatus for determining live streaming setting information |
CN106714229A (en) * | 2017-02-13 | 2017-05-24 | 青岛乾元通数码科技有限公司 | Mobile phone plug-in equipment and implementation method thereof |
CN108024126A (en) * | 2017-11-28 | 2018-05-11 | 北京潘达互娱科技有限公司 | Network direct broadcasting video regulation method, device, electronic equipment and storage medium |
CN108322708B (en) * | 2018-02-12 | 2020-07-31 | 福州大学 | Real-time video transmission system and method based on multi-channel parallel transmission technology |
CN108900850B (en) * | 2018-05-31 | 2019-09-27 | 北京达佳互联信息技术有限公司 | A kind of live broadcasting method, device and intelligent glasses |
CN108769726B (en) * | 2018-06-14 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Multimedia data pushing method and device, storage medium and equipment |
CN109379127B (en) * | 2018-10-17 | 2020-11-13 | 视联动力信息技术股份有限公司 | Data processing method and device |
CN109462761A (en) * | 2018-10-30 | 2019-03-12 | 视联动力信息技术股份有限公司 | A kind of video encoding/decoding method and device |
CN109495660B (en) * | 2018-11-29 | 2021-05-18 | 广州市百果园信息技术有限公司 | Audio data coding method, device, equipment and storage medium |
CN110247955A (en) * | 2019-05-21 | 2019-09-17 | 菜鸟智能物流控股有限公司 | Unmanned vehicle communication method and unmanned vehicle |
CN110337026B (en) * | 2019-06-18 | 2021-07-13 | 厦门立林科技有限公司 | Video code rate self-adaptive adjustment method of cloud intercom system |
CN111315038B (en) * | 2020-02-14 | 2022-03-01 | 腾讯科技(深圳)有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN111194098B (en) * | 2020-02-19 | 2022-03-22 | 腾讯科技(深圳)有限公司 | Link establishment method, device, communication system and computer readable medium |
CN111866586B (en) * | 2020-07-28 | 2022-08-02 | 精英数智科技股份有限公司 | Underground video data processing method and device, electronic equipment and storage medium |
CN112565606B (en) * | 2020-12-02 | 2022-04-01 | 鹏城实验室 | Panoramic video intelligent transmission method and equipment and computer storage medium |
CN112272313B (en) * | 2020-12-23 | 2021-04-16 | 深圳乐播科技有限公司 | HID (high intensity discharge) -based audio and video transmission method and device and computer readable storage medium |
WO2022204997A1 (en) * | 2021-03-30 | 2022-10-06 | 深圳市大疆创新科技有限公司 | Wireless communication method, movable platform, system, and computer readable storage medium |
CN115190080A (en) * | 2021-04-02 | 2022-10-14 | 维沃移动通信有限公司 | Congestion control method and device and communication equipment |
CN113489645B (en) * | 2021-07-08 | 2022-08-19 | 北京中交通信科技有限公司 | Data link aggregation method based on satellite communication, router and server |
CN114173144A (en) * | 2021-12-02 | 2022-03-11 | 北京优祥智恒科技有限公司 | Live broadcast equipment, control method thereof and live broadcast backpack |
CN113905229B (en) * | 2021-12-09 | 2022-03-22 | 深圳市光网视科技有限公司 | Audio and video transmission quality monitoring method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457714A (en) * | 2010-11-01 | 2012-05-16 | 中国移动通信集团上海有限公司 | Method, system and device for transmission of audio-video data acquired by video camera |
CN102891993A (en) * | 2012-09-01 | 2013-01-23 | 合肥移瑞通信技术有限公司 | Streaming media transmission self-adaptive system in wireless network system |
CN103607665A (en) * | 2013-11-27 | 2014-02-26 | 四川九洲电器集团有限责任公司 | Multilink wireless real-time video transmission method and system |
CN105072506A (en) * | 2015-08-20 | 2015-11-18 | 湖南亿谷科技发展股份有限公司 | Method and system for transmitting teaching live video |
-
2015
- 2015-12-08 CN CN201510901092.5A patent/CN105472477B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457714A (en) * | 2010-11-01 | 2012-05-16 | 中国移动通信集团上海有限公司 | Method, system and device for transmission of audio-video data acquired by video camera |
CN102891993A (en) * | 2012-09-01 | 2013-01-23 | 合肥移瑞通信技术有限公司 | Streaming media transmission self-adaptive system in wireless network system |
CN103607665A (en) * | 2013-11-27 | 2014-02-26 | 四川九洲电器集团有限责任公司 | Multilink wireless real-time video transmission method and system |
CN105072506A (en) * | 2015-08-20 | 2015-11-18 | 湖南亿谷科技发展股份有限公司 | Method and system for transmitting teaching live video |
Also Published As
Publication number | Publication date |
---|---|
CN105472477A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472477B (en) | A kind of data transmission method, device and equipment | |
CN105392020B (en) | A kind of internet video live broadcasting method and system | |
CN102946570B (en) | Transmission system and method for multi-stream streaming media of self-adaption network bandwidth | |
CN102598617B (en) | System and method of transmitting content from a mobile device to a wireless display | |
CN102202210B (en) | Method for mobile phone to play real-time monitoring video and mobile phone to play real-time monitoring video | |
CN107846633A (en) | A kind of live broadcasting method and system | |
CN105072506B (en) | The transmission method and system of live teaching broadcast video | |
CN103647954A (en) | Mobile video monitoring system based on 3G channel and intelligent terminal | |
CN105635636A (en) | Video conference system and method for realizing transmission control of video image | |
CN102547375A (en) | Transmission method for quickly previewing H.264 coded picture | |
CN103686221A (en) | Audio/video smooth broadcasting method adaptive to public wireless network | |
EP2945327A1 (en) | Media data transmission method, apparatus and system | |
US10506006B2 (en) | Method and system for flow-rate regulation in a content-controlled streaming network | |
CN103248964A (en) | Vehicle-mounted video transmission system based on Real Time Protocol (RTP)/RTCP (Real-time Transport Control Protocol) | |
CN105681817A (en) | Intelligent terminal video and audio collection, transmission and playing system and method | |
CN104320716A (en) | A video uplink transmission method based on collaborative multiple terminals | |
CN102263771B (en) | Mobile terminal, adapter as well as method and system for playing multi-media data | |
CN108696720B (en) | Video scheduling system and method suitable for satellite communication | |
CN104620590B (en) | Reception device, transmitting/receiving system, method of reseptance | |
Qiang | Consumption reduction solution of TV news broadcast system based on wireless communication network | |
Yunus et al. | Optimum parameters for MPEG-4 data over wireless sensor network | |
CN102377977A (en) | Method, device and system for processing video in video call process | |
JP7299451B2 (en) | Method and system for selective content processing based on panoramic cameras and virtual reality headsets | |
CN201414200Y (en) | System for realizing real time rebroadcasting of multiple-video streaming media | |
CN104869474A (en) | Expansible mobile streaming media system and application method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20160406 Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd. Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd. Contract record no.: X2021980000101 Denomination of invention: A data transmission method, device and equipment Granted publication date: 20190402 License type: Common License Record date: 20210106 |