CN101370136B - Band width control method for video transmission, data relay device and video transmission system - Google Patents

Band width control method for video transmission, data relay device and video transmission system Download PDF

Info

Publication number
CN101370136B
CN101370136B CN 200810199034 CN200810199034A CN101370136B CN 101370136 B CN101370136 B CN 101370136B CN 200810199034 CN200810199034 CN 200810199034 CN 200810199034 A CN200810199034 A CN 200810199034A CN 101370136 B CN101370136 B CN 101370136B
Authority
CN
China
Prior art keywords
data
client
relay device
current
data relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200810199034
Other languages
Chinese (zh)
Other versions
CN101370136A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN 200810199034 priority Critical patent/CN101370136B/en
Publication of CN101370136A publication Critical patent/CN101370136A/en
Application granted granted Critical
Publication of CN101370136B publication Critical patent/CN101370136B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a control method of a wideband in the video transmission, detecting the initial wideband capacity from the client to the data relay. The initial wideband capacity is the wideband capacity initializing the video connection from the client to the data relay; the method detects the actual wideband capacity from the client to the data relay; the actual wideband capacity is the wideband capacity of the client and the data relay in the connecting state; the minimal values of the actual wideband capacity and the initialized wideband capacity are taken as the current wideband capacity; the data relay sends the data to the client according to the current wideband capacity. The invention also provides a data relay and a video transmitting system. The invention can enhance the user satisfaction and reduce the network congestion.

Description

The control method of bandwidth, data relay device and Video transmission system in the video transmission
Technical field
The present invention relates to the transmission field of video data, especially relate to method, data relay device and the transmission system thereof of bandwidth control in a kind of video transmission process.
Background technology
H.264 a kind of coded system that coding is present compression ratio height, picture quality is good, but h.264 the data volume of coding generation is big, transmit simultaneously multichannel h.264 video to the requirement height of the network bandwidth, for limited bandwidth resources, how reasonably the shared network bandwidth of control data transmission seems particularly important.
Transmission for video data at present realizes usually in the following manner: client needed the local bandwidth capacity to the data relay device of detection earlier usually before the data relay device is initiated the video connection, and keep this value, with this bandwidth capacity as a parameter of consulting with the data relay device.After client and data relay device connect, after the data relay device is received the data request information of certain client, data are sent to client with this bandwidth capacity.But because bandwidth capacity is generally the bandwidth capacity of the maximum that the service provider provides for the user, for example, if the user handle business of networking the time bandwidth be 512kb/s, then this bandwidth capacity is 512kb/s, if the user handle business of networking the time bandwidth be 1mb/s, then this bandwidth capacity is 1mb/s, and this bandwidth capacity is distributed to a plurality of clients usually and is used jointly, therefore, when the data relay device passes through this bandwidth capacity when certain client sends data, to cause other client can't normally use Internet resources or data not smooth, cause the obstruction of Internet resources, reduce user satisfaction.
Summary of the invention
The object of the present invention is to provide when the multi-client request sends the data transmission in a kind of video transmission, can reduce the obstruction of Internet resources, band width control method, corresponding data relay device and Video transmission system.
The control method of bandwidth in the video transmission provided by the invention comprises step:
Detect the initial strip tolerance of client to the data relay device, described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection;
Detect described client to the actual bandwidth capacity of described data relay device, described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status;
As the current bandwidth capacity, described data relay device sends data according to described current bandwidth capacity to described client with the minimum value of described actual bandwidth capacity and described initial strip tolerance.
Data relay device provided by the invention comprises:
Data are advanced group manager, are used for depositing the data of client in formation;
The video data formation is used to each client distribution queue, and described formation is used to deposit the data that described client sends;
The dequeuing data controller is used for taking out the client that data based current bandwidth capacity sends to request msg from described formation;
The upstream bandwidth adjuster is used to detect the initial strip tolerance of described client to the data relay device, and described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection; And described client is to the actual bandwidth capacity of described data relay device, and described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status; And with the minimum value of described actual bandwidth capacity and described initial strip tolerance as the current bandwidth capacity.
Video transmission system provided by the invention comprises data relay device and client;
Described data relay device comprises:
Data are advanced group manager, are used for depositing the data of client in formation;
The video data formation is used to each client distribution queue, and described formation is used to deposit client and sends to data in server;
The dequeuing data controller is used for taking out the client that data based current bandwidth capacity sends to request from described formation;
The upstream bandwidth adjuster is used to detect the initial strip tolerance of client to the data relay device, and described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection; And described client is to the actual bandwidth capacity of described data relay device, and described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status; And with the minimum value of described actual bandwidth capacity and described initial strip tolerance as the current bandwidth capacity;
Described client comprises:
Data transmission blocks is used for data are sent to described data relay device;
Data reception module is used for receiving data from described data relay device.
The present invention is by detecting the actual bandwidth capacity of the client that receives data, and upgrade the current bandwidth capacity with the actual bandwidth capacity, send data to client by the current bandwidth capacity after upgrading, rather than use fixing bandwidth capacity all the time, thereby having reduced certain client as much as possible causes other clients can't normally use the probability of network when receiving data, make the balance more that receives data between the client, therefore, improved user's satisfaction, reduced the possibility that Internet resources stop up, obtain more continuous images, obtain better user experience effect.
Description of drawings
Fig. 1 is the flow chart of the control method of bandwidth in the video transmission in the one embodiment of the invention;
Fig. 2 is the schematic diagram of queuing model in the one embodiment of the invention;
Fig. 3 is the structured flowchart of data relay device in the one embodiment of the invention;
Fig. 4 is the structured flowchart of Video transmission system in the one embodiment of the invention.
Embodiment
The present invention by control bandwidth, makes the data relay device can be according to current network state dynamic adjustments bandwidth in the video transmission process, and the process of control depends on data relay device and the direct network bandwidth situation of client.
See also Fig. 1, the present invention at first detects the initial strip tolerance B of client to the data relay device 0(S1), initial strip tolerance B 0Refer to the bandwidth capacity of client before the data relay device is initiated the video connection.Client is initiated video to the data relay device to be needed to detect the bandwidth capacity of client to the data relay device earlier before connecting usually, and keeps this value, as with a parameter of data relay device negotiation.Unlike the prior art, the present invention is in order to realize the dynamic adjustments to bandwidth, after client and data relay device connect, also needs to detect the actual bandwidth capacity B of client to the data relay device i(S2), actual bandwidth capacity B iBandwidth capacity when being in connection status for client and data relay device, it is the actual available bandwidth of client and data relay device communication process, this is because client is not only moved the video conference client, other web applications can be competed the use network bandwidth equally, the initial strip tolerance B that surveys before therefore connecting 0Bandwidth in not necessarily being fit to connect is used.The present invention is with actual bandwidth capacity B iWith described initial strip tolerance B 0Minimum value as current bandwidth capacity (S3), in real time the bandwidth that sends video data is regulated, the data relay device sends data (S4) according to the current bandwidth capacity after regulating according to the S3 step to client.
Can carry out self adaptation by following formula for the S3 step dynamically adjusts:
B=min{B 0, B iFormula (1)
Wherein, B sends data to the current bandwidth capacity of client for the data relay device.In the data transmission procedure current bandwidth capacity B according to the current data transponder to the network condition adjustment between the client.
S2 step of the present invention detects actual bandwidth capacity B 0Can different detection modes be set according to user's demand, different sense cycle etc. for example is set.
The video transponder need distribute a data space for each client usually, and this paper is called formation, and the data that client sends to the data relay device all can deposit in the corresponding queues, and the client of receiving video data will be taken out data and be sent from formation.Fig. 2 is the model of formation.
As to one embodiment of the present of invention, the present invention writes down the current positional information that reads when described client sends data, currently reads the positional information of client data streams read in formation that positional information refers to current reading of data; When receiving the data of described client, write down current writing position information, current writing position information index will receive the positional information that described data deposit described formation in according to transponder; In this embodiment, after determining good current bandwidth capacity, when carrying out the S4 step, the data relay device issues the current data that read the position to described client.
In addition, as a preferred embodiment of the present invention, if, then when writing position has arrived rear of queue, will return the formation head again and write, therefore because formation is the Infinite Cyclic formation, the data that client reads might be capped, cause video-losing, mosaic occurs, be invalid data from the current data that read below the position this moment, if these data are sent to client, obviously be a kind of way of waste bandwidth.The present invention has carried out further optimization by following process to the present invention in order to address this problem, and self adaptation is adjusted the current position of reading of client, to satisfy the normal transmission of data, with further optimization network bandwidth transmission.
In this embodiment, the data relay device also needs the positional information of recorded key frame when receiving the data of client; After determining good current bandwidth capacity, when carrying out the S4 step, if current writing position information and the current difference that reads positional information are during more than or equal to the predetermined safe scope, with the position of last key frame in the key frame as the current position of reading, obtain the current data that read the position, be sent to described client.Judge that current writing position information and the current difference that reads positional information can realize by following formula more than or equal to the process of predetermined safe scope:
If (W i-R i〉=SR and SR 〉=0)
Formula (2)
R i=W last
W wherein iBe current writing position, R iBe the current position of reading, SR is for reading position and writing position safe range, and the value of SR can be adjusted flexibly, can as one embodiment of the present of invention, can get 1/2nd of queue length, W according to the length adjustment of formation LastThe subscript of last key frame in formation for record.
Can clearly find out thus, the present invention is when reading/writing distance during greater than safe range, adopt the adjustment strategy of formula (2) to carry out frame-skipping, guarantee the stable of transfer of data, simultaneously, since the present invention with last key frame as the current position of reading, therefore can guarantee that client receives be can complete demonstration on screen image, thereby guaranteed favorable user experience.
Control method at bandwidth in the above video transmission the invention provides the entity apparatus that bandwidth is controlled: the data relay device.The data relay device serves as the forwarding of data function in the present invention, and its major function is the data of reception client, and forwards the data to other clients, and bandwidth control strategy of the present invention is mainly realized in this equipment.As one embodiment of the present of invention, the data relay device is multipoint control unit MCU.
See also Fig. 3, this device comprises that data advance group manager 301, is used for depositing the data of client in formation; Video data formation 302 is used to each client distribution queue, and the formation that distributes for client is used to deposit the data that described client sends, and as one embodiment of the present of invention, video data formation 302 is the first-in first-out fifo queue; Dequeuing data controller 303 is used for taking out the client that data based current bandwidth capacity sends to request msg from video data formation 302;
The present invention realizes by upstream bandwidth adjuster 304 that to the adjusting control of bandwidth is main upstream bandwidth adjuster 304 detects the initial strip tolerance B of client to the data relay device 0, initial strip tolerance B 0Be the bandwidth capacity of client before the data relay device is initiated the video connection; And described client is to the actual bandwidth capacity B of data relay device i, actual bandwidth capacity B iBandwidth capacity when being in connection status for client and data relay device; And with the minimum value of actual bandwidth capacity and initial strip tolerance as the current bandwidth capacity, can obtain the current bandwidth capacity by formula 1 equally, do not repeat them here.
As one embodiment of the present of invention, dequeuing data manager 303 needs the current positional information that reads of record, currently reads the positional information of client data streams read in formation that positional information is current reading of data; Data are advanced group manager 301 needs the current writing position information of record, as a preferred embodiment of the present invention, and the positional information of all right recorded key frame; Current writing position information will receive the positional information that data deposit formation in for the data relay device.
In one embodiment of the invention, upstream bandwidth adjuster 304 is sent to client with the current data that read the position; Equally, as a preferred embodiment of the present invention, upstream bandwidth adjuster 304 can also be when judging current writing position information and the described current difference that reads positional information more than or equal to the predetermined safe scope, notify described dequeuing data manager with the position of last key frame in the described key frame as the described current position of reading.Judge that current writing position information and the described current difference that reads positional information can realize by formula 2 equally more than or equal to the process of predetermined safe scope, do not repeat them here.
Control method and data relay device at bandwidth in the above-mentioned video transmission the invention also discloses a kind of Video transmission system, see also Fig. 4, and this system comprises data relay device 401 and client 402; The structure of data relay device is as indicated above, repeats no more, and client 402 comprises data transmission blocks, is used for data are sent to described data relay device; Data reception module is used for receiving data from described data relay device.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (10)

1. the control method of bandwidth in the video transmission is characterized in that, comprises step:
Detect the initial strip tolerance of client to the data relay device, described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection;
Detect described client to the actual bandwidth capacity of described data relay device, described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status;
As the current bandwidth capacity, described data relay device sends data according to described current bandwidth capacity to described client with the minimum value of described actual bandwidth capacity and described initial strip tolerance.
2. the control method of bandwidth is characterized in that in the video transmission according to claim 1, and described step also comprises:
Step 1 when when described client sends data, writes down the current positional information that reads, the described current positional information of client data streams read in formation that positional information is current reading of data that read;
Step 2 when receiving the data of described client, writes down current writing position information, and described current writing position information is that described data relay device will receive the positional information that described data deposit described formation in;
Described data relay device comprises to the step that described client sends data:
Step 3 issues the described current data that read the position to described client.
3. the control method of bandwidth is characterized in that in the video transmission according to claim 2, and described step also comprises:
When receiving the data of described client, the positional information of recorded key frame;
Also comprise step before the described step 3:
When described current writing position information and the described current difference that reads positional information during more than or equal to the predetermined safe scope, with the position of last key frame in the described key frame as the described current position of reading, obtain the described current data that read the position, be sent to described client.
4. the control method of bandwidth is characterized in that in the video transmission according to claim 3,
Described predetermined safe scope is 1/2nd of a described queue length.
5. a data relay device is characterized in that, comprising:
Data are advanced group manager, are used for depositing the data of client in formation;
The video data formation is used to each client distribution queue, and described formation is used to deposit the data that described client sends;
The dequeuing data controller is used for taking out the client that data based current bandwidth capacity sends to request msg from described formation;
The upstream bandwidth adjuster is used to detect the initial strip tolerance of described client to the data relay device, and described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection; And described client is to the actual bandwidth capacity of described data relay device, and described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status; And with the minimum value of described actual bandwidth capacity and described initial strip tolerance as the current bandwidth capacity.
6. data relay device according to claim 5 is characterized in that:
The dequeuing data manager also is used to write down the current positional information that reads, the described current positional information of client data streams read in formation that positional information is current reading of data that read;
Data are advanced the positional information that group manager also is used to write down current writing position information and key frame; Described current writing position information is that described data relay device will receive the positional information that described data deposit described formation in;
The upstream bandwidth adjuster also is used for when described current writing position information and the described current difference that reads positional information during more than or equal to the predetermined safe scope, notify described dequeuing data manager with the position of last key frame in the described key frame as the described current position of reading.
7. data relay device according to claim 6 is characterized in that,
Described predetermined safe scope is 1/2nd of a described queue length.
8. data relay device according to claim 7 is characterized in that:
Described video data formation is a First Input First Output.
9. a Video transmission system comprises data relay device and client;
Described data relay device comprises:
Data are advanced group manager, are used for depositing the data of client in formation;
The video data formation is used to each client distribution queue, and described formation is used to deposit the data that client sends;
The dequeuing data controller is used for taking out the client that data based current bandwidth capacity sends to request from described formation;
The upstream bandwidth adjuster is used to detect the initial strip tolerance of client to the data relay device, and described initial strip tolerance is the bandwidth capacity of described client before described data relay device is initiated the video connection; And described client is to the actual bandwidth capacity of described data relay device, and described actual bandwidth capacity is described client and the described data relay device bandwidth capacity when being in connection status; And with the minimum value of described actual bandwidth capacity and described initial strip tolerance as the current bandwidth capacity;
Described client comprises:
Data transmission blocks is used for data are sent to described data relay device;
Data reception module is used for receiving data from described data relay device.
10. Video transmission system according to claim 9 is characterized in that:
The dequeuing data manager also is used to write down the current positional information that reads, the described current positional information of client data streams read in formation that positional information is current reading of data that read;
Data are advanced the positional information that group manager also is used to write down current writing position information and key frame; Described current writing position information is that described data relay device will receive the positional information that described data deposit described formation in;
The upstream bandwidth adjuster also is used for when described current writing position information and the described current difference that reads positional information during more than or equal to the predetermined safe scope, notify described dequeuing data manager with the position of last key frame in the described key frame as the described current position of reading.
CN 200810199034 2008-10-08 2008-10-08 Band width control method for video transmission, data relay device and video transmission system Expired - Fee Related CN101370136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810199034 CN101370136B (en) 2008-10-08 2008-10-08 Band width control method for video transmission, data relay device and video transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810199034 CN101370136B (en) 2008-10-08 2008-10-08 Band width control method for video transmission, data relay device and video transmission system

Publications (2)

Publication Number Publication Date
CN101370136A CN101370136A (en) 2009-02-18
CN101370136B true CN101370136B (en) 2011-11-09

Family

ID=40413720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810199034 Expired - Fee Related CN101370136B (en) 2008-10-08 2008-10-08 Band width control method for video transmission, data relay device and video transmission system

Country Status (1)

Country Link
CN (1) CN101370136B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8467412B2 (en) * 2010-04-14 2013-06-18 Ericsson Television Inc. Adaptive rate shifting for delivery of video services to service groups
CN101984661B (en) * 2010-11-23 2012-05-23 广东威创视讯科技股份有限公司 Information transmission method of video conference system and video conference system

Also Published As

Publication number Publication date
CN101370136A (en) 2009-02-18

Similar Documents

Publication Publication Date Title
JP3658087B2 (en) Terminal device and method for controlling terminal device
US7856501B2 (en) Network traffic prioritization
JP3866793B2 (en) Network system
EP2127229B1 (en) Strategies for selecting a format for data transmission based on measured bandwidth
CN100452876C (en) Parallel transmission dispatching method for stream media data
CN101282305B (en) Bandwidth control method for distributed system as well as service plate
CN104737514A (en) A method and apparatus for distributing a media content service
EP2039156A2 (en) System and method for dynamic control of image capture in a video conference system
CN104427286B (en) A kind of method and system carrying out video calling
JP5874730B2 (en) Content distribution system, cache server, and content distribution method
CN106792263A (en) A kind of method of transmitting video data, apparatus and system
CN106303611A (en) A kind of method and system realizing film source propelling movement
CN101370136B (en) Band width control method for video transmission, data relay device and video transmission system
CN102187641A (en) A method for delivering visit content and a device thereof
CN101163238B (en) Stream media service method of implementing smoothly real-time relay broadcasting/living broadcast
CN101714956A (en) Virtual video system, remote sharing system and method of video file
CN100412832C (en) Non-homogeneous multi media flow transmission regulation method based on priority regulation
CN101296110B (en) Real-time monitoring apparatus and method
CN111314738A (en) Data transmission method and device
CN115334068A (en) Data transmission method, device, terminal equipment and storage medium
JP4153207B2 (en) Method for transmitting data over a data line in a network
CN107302504B (en) Multipath transmission scheduling method and system based on virtual sending queue
JP2006303980A (en) Multipoint distribution system and method therefor
Nam et al. Adaptive multimedia stream service with intelligent proxy
JP7201468B2 (en) Video distribution system, video distribution server, video distribution method and video distribution program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 510670 Guangdong Province, Guangzhou high tech Industrial Development Zone Kezhu Road No. 233

Patentee after: Wei Chong group Limited by Share Ltd

Address before: 510663 No. 6, color road, hi tech Industrial Development Zone, Guangdong, Guangzhou, China

Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111109

Termination date: 20171008

CF01 Termination of patent right due to non-payment of annual fee