CN1256847C - Method for dynamic regulating video transmission - Google Patents
Method for dynamic regulating video transmission Download PDFInfo
- Publication number
- CN1256847C CN1256847C CN 03157182 CN03157182A CN1256847C CN 1256847 C CN1256847 C CN 1256847C CN 03157182 CN03157182 CN 03157182 CN 03157182 A CN03157182 A CN 03157182A CN 1256847 C CN1256847 C CN 1256847C
- Authority
- CN
- China
- Prior art keywords
- video
- transmission
- packet loss
- recipient
- network
- 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
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a method for dynamically adjusting video transmission, which comprises the procedures that an initiator and a recipient establish talking connection lines, the initiator and the recipient simultaneously detect respective peripheral equipment capability, and both talking sides can select video signals so as to talk and use a video window and transmission velocities as reference under the condition that network bandwidth permits video transmission; a sending service quality test pack is used for testing packet loss ratios of a network; the magnitude of the video window and the transmission velocities are dynamically adjusted according to the packet loss ratios; when the packet loss ratio are greater than 30%, the talking is ended. By using the method of the present invention, the present invention can dynamically adjust the transmission velocities according to actual transmission of the network. The present invention can guarantee that video information of the transmission is relatively complete under the condition of a bad network state so as to avoid the occurrence of the ' mosaic 'phenomenon of images; the present invention can fully utilize the network bandwidth under the condition of a good network state so as to transmit the most video data as soon as possible.
Description
Technical field
The present invention relates to the computer network, multimedia communication technology, particularly relate to a kind of method of dynamically adjusting video transmission according to network condition.
Background technology
IP phone is meant by internet (Internet Protocol IP) transmission of audio and video data.Because the internet is the network system of connectionless, " doing one's best " (a best effort), it can not guarantee real-time, can bandwidth reserved.
H.323 standard is the set of the series of standards organized to set up of ITU-T, has contained various aspects such as voice, video, data sharing.H.323 agreement is named and is " packet multimedia communication system " (Packet-based multimedia communication systems), and its application demand of mainly facing provides the multimedia communication service exactly on IP network.This agreement becomes the de facto standard that the multimedia communication service is provided gradually on IP network at present.
If want to use as the very strong application of this real-time of IP phone, so just need be to RTP (Real Time Protocol RTP), real time control protocol (Real Time ControlProtocol RTCP), the RSVP H.323 supports of protocol family such as (Resource Reserved Protocol RSVP).The framework of H323 protocol family is seen shown in Figure 1.
Real-time Transport Protocol is the agreement for supporting that real time business designs.It is a tunneling, and real time business operates in the data field of RTP bag, and RTP packet header has comprised the traffic type information about this real time business simultaneously.The head of RTP bag has a timestamp territory, and it plays synchronous effect when the application layer burden of receiving terminal should business.
Rtcp protocol is for providing the mechanism of mutual following message between the main frame: (1) their service quality (if they are ISPs) of providing; (b) their service quality (if they are service clients) of receiving.
The outer transmission of the band of Transmission Control Protocol is meant that (out-of-band OOB) sends some important data to the outer data of transport layer protocol use band, and when having important data to notify the other side as crossing the side that communicates by letter, agreement can send to the other side apace with these data.In order to send these data, agreement is not generally used the passage identical with general data, and is to use other passage.But Transmission Control Protocol does not have the outer data of band truly.In order to send important protocol, TCP provides a kind of mechanism that is called emergency mode (urgent mode).Transmission Control Protocol is provided with the URG position in data segment, expression enters emergency mode.The recipient can take particular processing to emergency mode.
Rtcp protocol normally transmits in the UDP bag, but under the bad situation of network condition, the UDP bag may abandon, and the RTCP message may just can not be delivered to target device like this.And how rtcp protocol is not handled packet loss and is provided any suggestion of dealing with problems.That is to say the mechanism of dynamically not adjusting video transmission according to network condition.
Summary of the invention
The technical problem to be solved in the present invention is the method that proposes a kind of dynamic adjustment video transmission, adopts the present invention can dynamically adjust the strategy of video transmission according to the actual transmissions situation of network.
The method of dynamic adjustment video transmission of the present invention comprises following step:
Initiator and recipient set up the talkie trunk road, initiator and recipient detect peripheral capabilities separately simultaneously, under the condition of network bandwidth permission transmission of video (at present more than 200Kbit/s), select vision signal to begin conversation, with the video window of this moment and transmission rate as benchmark;
Send the service quality test pack, the packet loss of test network;
According to packet loss, adjust video window and transmission rate, when packet loss<5%, then can increase transmission rate or transfer big video window corresponding to the condition of packet loss<5%;
When packet loss between 5%-20%, it is constant then to keep current video window and transmission rate;
When packet loss more than 20%, then turn video window down or reduce transmission rate;
When packet loss more than 30%, then finish conversation.
Dynamically adjust the method for video transmission as mentioned above, described transmission service quality test pack specifically comprises: the initiator calculates the quantity of the video packets that sends in this time period at set intervals, send a service quality test pack with the outer data of band then, the recipient is returned to transmit leg to this bag.
Dynamically adjust the method for video transmission as mentioned above, in the described service quality test pack, comprise that the field by the transmit leg setting is transmitting time, sends at interval, sends quantity of data packets, the field that is provided with by the recipient is a time of reception, receives quantity of data packets.
Dynamically adjust the method for video transmission as mentioned above, when the recipient is returned to transmit leg to the service quality test pack, the recipient is provided with time of reception and receives quantity of data packets according to the time of reception and the quantity of (for example 2 seconds) received video packets of data in the certain hour interval of preserving in this locality.
Adopt the method for the invention, can dynamically adjust transmission rate, under the bad situation of network state, guarantee that the video information of transmission all is more complete, avoid occurring " mosaic " phenomenon of image according to the actual transmissions situation of network.Under the good situation of network condition, then can make full use of the network bandwidth, send maximum video datas as much as possible.
Description of drawings
Fig. 1 is the configuration diagram of H 323 protocol families;
Fig. 2 is the method flow diagram of dynamic adjustment video transmission of the present invention.
Embodiment
The starting point of the method for the invention according to network conditions, is adjusted on volume of transmitted data under the support of present agreement accordingly.If network state is good, so can transmission of audio, vision signal, and the frame number of vision signal can reach the maximum number that transmits under the present network condition; If the network state variation can reduce the frame number that transmits in the video so and video window diminishes; If network continues variation, in video window, only transmit still image so; If network has arrived the poorest situation, so not transmission of video and image, a transmission of audio if audio signal is not transmitted yet, so just finishes conversation.
Among the present invention, the conversation initiator is meant the equipment of initiating conversation; The conversation recipient is meant the call request that receives the conversation initiator, the equipment whether decision converses with the initiator.
Fig. 2 is the flow chart of the method for the invention.Concrete step is described as follows:
The request conversation
The initiator is after obtaining recipient IP address in conversation, just can initiate call request, and the process of this request is exactly one and initiates the process that conversation connects.
Obtain recipient IP address and can use broadcasting to search, also can obtain by the intermediate server switching.The method that obtains recipient IP address is introducing in the scope at this patent not.
Set up the talkie trunk road
After the recipient receives initiator's call request, can select the refusal conversation, talk line can not be set up so.Otherwise the talkie trunk road is set up.Initiator and recipient just can prepare to begin to converse.
Consult peripheral capabilities
After talk line was set up, the initiator can detect this equipment ancillary equipment (headset, camera), and notified detected capacity of equipment (whether supporting audio frequency, video) recipient, recipient whether can select receiving video signals.Simultaneously the recipient detects the peripheral capabilities of oneself, and notifies the initiator whether receiving video signals equally, and whether the initiator can select to receive.
Certainly, if make a video recording mouth, so just can not carry out the Internet video conversation.
Following step all is just to need to adopt under the situation of supporting vision signal.
Send local network conditions
After having consulted peripheral capabilities, initiator and recipient can detect local network condition, if the network bandwidth is enough, can select conversation whether to support video calling so.The network interface card of local area network (LAN) all is 10M or 100M bandwidth usually at present, so can support video calling in local area network (LAN) inside.If the bandwidth that network is allowed more than 200Kbit/s, so just can be thought present support video.The video support is according to capacity of equipment and network bandwidth situation, reaches a conclusion, and confirms whether to provide the video support by the user at last.
Begin conversation
After determining whether to support video, initiator and recipient just can converse.If equipment and network support video, and the user is when selecting video calling, and both call sides not only can be heard the other side's sound, and can see the other side's vision signal.
Send the service quality test pack
There is dual mode can obtain the Network Transmission digit rate at present.A kind of is in video transmission, according to the local video quality, judges network condition; Another kind is initiatively to send network test bag (service quality test pack), the packet loss of test network.Preceding a kind of subjectivity is bigger, and the user if the distal view picture shows in this locality unclear (such as more mosaic phenomenon occurring), so just thinks that network condition is bad in the process of video calling.It is just effective that but this mode can only all be selected under the video calling at both call sides, if a certain side of conversation does not select video calling, so just cannot make test in this way judge network condition.
The second way is (to suppose that the conversation provider provides the video support) on the equipment that provides video to support, (such as 2 seconds) at set intervals, the provider calculates the quantity (being assumed to be 1000 bags) of the video packets that sends in 2 seconds, just send a service quality test pack then with the outer data method of the band of TCP, the user who receives this test pack is returned to transmit leg to this bag, transmit leg is dynamically adjusted the data volume of video transmission according to the network quality of this test pack feedback.
Among the present invention, the form of service quality test pack is as follows:
Field name | Field length (position) | Unit | Explanation |
SendTime | 64 | Second | The absolute time that sends |
ReceiveTime | 64 | Second | The absolute time that this packet is received |
TimeInterval | 32 | Second | The blanking time (2 seconds) that sends |
SendPackNum | 32 | Individual | Send quantity of data packets |
ReceivePackNum | 32 | Individual | Receive quantity of data packets |
Transmit leg is provided with the SendTime of quality test bag, TimeInterval, and the SendPackNum field, the recipient is provided with ReceiveTime, the ReceivePackNum field.For ReceiveTime can be set, the ReceivePackNum field, the recipient need this locality preserve certain hour at interval in (2 seconds) receive time of reception and these fields of quantity of video packets of data.
Dynamically adjust the transmission data according to test pack
By relatively receiving packet and sending quantity of data packets, can calculate packet loss.
Packet loss=(sending quantity of data packets-reception quantity of data packets)/transmission quantity of data packets * 100%.
According to the service quality that obtains, the dynamic adjustment needs data quantity transmitted in application program.
During video calling, video window is all determined by the user usually.Suppose that video window is 160*100 in the beginning video calling, transmission rate was 15 frame/seconds.By sending test pack, find service quality very good (packet loss<5%), so just can transmit more frame of video (such as 25 frame/seconds), simultaneously, and if the user wishes to transfer big video window, so can be big the corresponding accent of video window.If packet loss between 5%-20%, is kept video window so and transmission rate is constant.If packet loss is more than 20%, this is to think that service quality is not enough to competent current video transmission, so just can adjust video window 100*50 or 10 frame/seconds of transmission rate.After the adjustment, continue certain interval of time and send test pack, continue to adjust according to top standard.At (under the transmission situation of per second 1 frame, packet loss is also more than 30%) under the poorest situation of network state, just do not transmit any number of videos, in video display area, show a black zone simultaneously.
In the communication process, either party of conversation can initiatively stop conversation, at this moment, and end of conversation.
It should be noted last that: above embodiment is the unrestricted technical scheme of the present invention in order to explanation only, although the present invention is had been described in detail with reference to the foregoing description, those of ordinary skill in the art is to be understood that: still can make amendment or be equal to replacement the present invention, and not breaking away from any modification or partial replacement of the spirit and scope of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (4)
1, a kind of method of dynamic adjustment video transmission is characterized in that, comprises following step:
Initiator and recipient set up the talkie trunk road, initiator and recipient detect peripheral capabilities separately simultaneously, allow at the network bandwidth under the condition of video transmission, select vision signal to begin conversation, with the video window of this moment and transmission rate as benchmark;
Send the service quality test pack, the packet loss of test network;
According to packet loss, adjust video window and transmission rate, when packet loss<5%, then can increase transmission rate or transfer big video window corresponding to the condition of packet loss<5%;
When packet loss between 5%-20%, it is constant then to keep current video window and transmission rate;
When packet loss more than 20%, then turn video window down or reduce transmission rate;
When packet loss more than 30%, then finish conversation.
2, according to the method for the described dynamic adjustment video transmission of claim 1, it is characterized in that, described transmission service quality test pack specifically comprises: the initiator calculates the quantity of the video packets that sends in this time period at set intervals, send a service quality test pack with the outer data of band then, the recipient is returned to transmit leg to this bag.
3, according to the method for the described dynamic adjustment video transmission of claim 2, it is characterized in that, in the described service quality test pack, is transmitting time by the field of transmit leg setting, sends at interval, sends quantity of data packets.
4, according to the method for the described dynamic adjustment video transmission of claim 3, it is characterized in that, when the recipient is returned to transmit leg to the service quality test pack, the recipient is provided with time of reception and receives quantity of data packets according to the time of reception and the quantity of received video packets of data in the certain hour interval of preserving in this locality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03157182 CN1256847C (en) | 2003-09-17 | 2003-09-17 | Method for dynamic regulating video transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03157182 CN1256847C (en) | 2003-09-17 | 2003-09-17 | Method for dynamic regulating video transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1599453A CN1599453A (en) | 2005-03-23 |
CN1256847C true CN1256847C (en) | 2006-05-17 |
Family
ID=34660238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03157182 Expired - Fee Related CN1256847C (en) | 2003-09-17 | 2003-09-17 | Method for dynamic regulating video transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1256847C (en) |
Families Citing this family (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9108107B2 (en) | 2002-12-10 | 2015-08-18 | Sony Computer Entertainment America Llc | Hosting and broadcasting virtual events using streaming interactive video |
US9314691B2 (en) | 2002-12-10 | 2016-04-19 | Sony Computer Entertainment America Llc | System and method for compressing video frames or portions thereof based on feedback information from a client device |
US9138644B2 (en) | 2002-12-10 | 2015-09-22 | Sony Computer Entertainment America Llc | System and method for accelerated machine switching |
US9077991B2 (en) | 2002-12-10 | 2015-07-07 | Sony Computer Entertainment America Llc | System and method for utilizing forward error correction with video compression |
US20090118019A1 (en) | 2002-12-10 | 2009-05-07 | Onlive, Inc. | System for streaming databases serving real-time applications used through streaming interactive video |
US8964830B2 (en) | 2002-12-10 | 2015-02-24 | Ol2, Inc. | System and method for multi-stream video compression using multiple encoding formats |
CN1845611A (en) * | 2005-04-08 | 2006-10-11 | 华为技术有限公司 | Video transmission protection method based on H.264 |
KR100843073B1 (en) | 2005-06-10 | 2008-07-03 | 삼성전자주식회사 | Method for controlling transmission rate by using error correction packet and communication apparatus using the same |
CN1324839C (en) * | 2005-07-27 | 2007-07-04 | 华为技术有限公司 | Method for processing pocket service in soft exchange network |
WO2007012237A1 (en) * | 2005-07-27 | 2007-02-01 | Huawei Technologies Co., Ltd. | Service process method and system for soft exchange network |
CN1925355B (en) * | 2006-09-11 | 2010-07-28 | 华为技术有限公司 | Method, device and system for up-chain adjustment |
CN101227604B (en) * | 2007-01-18 | 2010-05-19 | 上海未来宽带技术及应用工程研究中心有限公司 | Method for detecting network video quality by network injury tolerance |
CN101594195B (en) * | 2008-05-29 | 2012-09-05 | 中兴通讯股份有限公司 | Method for measuring decreasing time and device |
CN101330340B (en) * | 2008-07-31 | 2010-09-29 | 中兴通讯股份有限公司 | Method for buffering and playing mobile multimedia broadcasting terminal adaptively adjusting receiving rate |
KR101034932B1 (en) * | 2009-03-24 | 2011-05-17 | 주식회사 팬택 | Femtocell System and Data Transmission Method of the System |
CN101945266B (en) * | 2010-08-20 | 2012-06-27 | 山东神戎电子股份有限公司 | Adaptive method for wireless network video stream transmission |
CN102595093A (en) * | 2011-01-05 | 2012-07-18 | 腾讯科技(深圳)有限公司 | Video communication method for dynamically changing video code and system thereof |
CN102932656A (en) * | 2011-08-08 | 2013-02-13 | 中兴通讯股份有限公司 | Video data transmission method and device |
CN102307300B (en) * | 2011-08-17 | 2013-08-28 | 杭州华三通信技术有限公司 | Video connection control method and equipment |
CN103873189A (en) * | 2012-12-13 | 2014-06-18 | 联想(北京)有限公司 | Data transmission method and device |
CN104349158A (en) * | 2013-07-26 | 2015-02-11 | 腾讯科技(深圳)有限公司 | Communication video quality adjusting method and relevant equipment and system |
CN104469244B (en) * | 2013-09-13 | 2018-11-09 | 联想(北京)有限公司 | A kind of network-based video pictures adjusting method and system |
CN103780869B (en) * | 2014-01-20 | 2017-02-15 | 五八同城信息技术有限公司 | Method for dynamically adjusting video transmission efficiency in video session |
CN105025294B (en) * | 2015-08-03 | 2018-06-26 | 兴天通讯技术有限公司 | A kind of transmission of video control device and method |
CN105897506A (en) * | 2016-03-31 | 2016-08-24 | 乐视控股(北京)有限公司 | Bandwidth estimation method and device |
CN110278459A (en) * | 2018-03-16 | 2019-09-24 | 上海小麦互动企业发展有限公司 | Content control system and its control method |
CN108803552B (en) * | 2018-08-31 | 2021-08-03 | 承德建龙特殊钢有限公司 | Monitoring system and monitoring method for equipment fault |
CN111147938A (en) * | 2018-11-06 | 2020-05-12 | 奇酷互联网络科技(深圳)有限公司 | Video screen projection method, video source terminal, playing terminal and storage medium |
CN111355768B (en) * | 2019-04-24 | 2023-05-30 | 深圳市鸿合创新信息技术有限责任公司 | Video data transmission method and device and electronic equipment |
CN110087014B (en) * | 2019-04-29 | 2022-04-19 | 努比亚技术有限公司 | Video completion method, terminal and computer-readable storage medium |
CN112787879A (en) * | 2019-11-08 | 2021-05-11 | 西安诺瓦星云科技股份有限公司 | Gigabit Ethernet packet loss detection method and device thereof |
CN111817920A (en) * | 2020-07-17 | 2020-10-23 | 济南浪潮数据技术有限公司 | Method, device and system for optimizing load of distributed storage system and storage medium |
CN112596985B (en) * | 2020-12-30 | 2023-11-10 | 绿盟科技集团股份有限公司 | IT asset detection method, device, equipment and medium |
CN114257739B (en) * | 2021-12-11 | 2024-04-26 | 苏州华兴源创科技股份有限公司 | Video data rate adjustment method and device |
-
2003
- 2003-09-17 CN CN 03157182 patent/CN1256847C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1599453A (en) | 2005-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1256847C (en) | Method for dynamic regulating video transmission | |
EP2369840B1 (en) | Channel switching method, device and system | |
US9237179B2 (en) | Method and system for synchronizing the output of terminals | |
WO2012173396A2 (en) | Method and apparatus for transmitting data packet of multimedia service using media characteristics | |
CN1856089A (en) | Method of providing video call service in mobile station in a weak signal environment | |
US8737803B2 (en) | Method and apparatus for storing and streaming audiovisual content | |
US20120303797A1 (en) | Scalable audiovisual streaming method and apparatus | |
WO2014014269A1 (en) | Method and device for transferring transmission characteristic information of multimedia data | |
US20120304240A1 (en) | Method and apparatus for selecting audiovisual content for streaming | |
US8446823B2 (en) | Method of managing the flow of time-sensitive data over packet networks | |
CN101651815B (en) | Visual telephone and method for enhancing video quality by utilizing same | |
US7697553B2 (en) | Method for managing variation in a data flow rate | |
WO2012166444A2 (en) | Scalable audiovisual streaming method and apparatus | |
Navarro et al. | Performance of a 3g-based mobile telemedicine system. | |
US7460523B2 (en) | Client-server architecture for the delivery of broadband services | |
CN114979080B (en) | SIP intercom method, system and storage device integrating local area network and wide area network | |
US20030231614A1 (en) | Apparatus and method for isochronous network delay compensation | |
EP2043372B1 (en) | Method for audio and video synchronization, receiving and transmitting device | |
KR200265603Y1 (en) | The CTI conference system using technology of separate transmission of multi-media | |
Navarro et al. | Analysis and measurement of a wireless telemedicine system | |
CN1738410A (en) | Videophone and method for increasing speech quality using it | |
CN115102927B (en) | SIP intercom method, system and storage device for keeping video clear | |
WO2023206910A1 (en) | Sip intercom method and system based on local area network and wide area network, and storage medium | |
WO2000041527A2 (en) | Method and apparatus for providing efficient multiplexing between gateways using dynamic timers | |
KR100651736B1 (en) | Multi-channel streaming system and method |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060517 Termination date: 20091019 |