One video conference optimisation technique method under transparent mode
Technical field
The present invention relates to the communication technical field that video conference is relevant, particularly relate to a kind of video conference optimization method based on transparent mode and system.
Background technology
Along with the development of multimedia technology and digital communication technology, video conferencing system has become the important means realizing real time remote in many ways and exchange, be one of indispensable form during work is linked up, such as, a lot of enterprises and institutions have set up video conferencing system between general headquarters and branch.Video conference not only increases communication efficiency, also can reduce communication cost simultaneously.
Because video conference is the Real-time multimedia that the communication technology Network Based realizes, its requirement in the network bandwidth, propagation delay time, packet loss etc. is all very high.In practical application, consider cost factor, most video conferencing system utilizes wide area network as the bearer network of transmission of video, but the available bandwidth of wide area network can not be protected, packet loss and delay phenomenon often occur, and also there is paroxysmal network impairment phenomenon.Because the real-time of video communication and reliability do not reach requirement, often there is the problem such as picture mosaic, card, shake in video conference, even there will be the situation causing meeting midway to stop because video link interrupts.
The technology that transmission optimization technology is efficiency in order to promote data stream transmitting under wide area network condition and quality and develops, comprising: for the data stream transmitting of some application distributes stable fixed-bandwidth, limits other office software or P2P software taking bandwidth; Higher transmission priority is arranged to specific data stream, reduces time delay; Set up and adopt packet loss detection and retransmission mechanism, reduce packet loss; The Repetitive controller of IP bag, corrects packet loss and retransmits a large amount of repetitive data packet brought; The uneven shake caused because of transmission delay is eliminated by buffer memory, etc.
In order to solve the problems referred to above in videoconference data transmission, technology relatively current is at present at the embedded transmission optimization equipment of transmission optimization technology of the local area network (LAN) export deployment of each participant of video conference.But existing transmission optimization equipment needs to dispose based on route pattern.Under route pattern, need for this transmission optimization Equipments Setting IP address and route, meanwhile, also will change the routing configuration of local area network (LAN) other network equipment inner of each participant of video conference, the original network topology structure of local area network (LAN) will be changed like this.This deployment way is owing to needing the routing configuration changing other network equipment, and operate more complicated, adds difficulty and the complexity of deployment.
On the other hand, the video data stream produced in video conference adopts udp protocol transmission, and thus transmission optimization equipment also can only perform compensation optimizing to video data stream on the basis of udp protocol; This just makes the transmission optimization technology based on IP bag, such as packet loss detection re-transmission above-mentioned, IP bag Repetitive controller etc., well can not be applicable to the optimization of video flowing adopting udp protocol, thus also just effectively can not solve the situation that mosaic, Ka Dun and termination appear in the video pictures caused due to packet loss.
Visible, need in prior art a kind ofly can simplify deployment way and optimize the video conference optimal solution of video streaming more.
Summary of the invention
For the problems referred to above of the prior art, the invention provides a kind of video conference optimization method based on transparent mode and system.The present invention disposes video frequency transmission optimizing equipment in the local area network (LAN) outlet of each participant of video conference based on transparent mode, do not need to change the original network configuration of local area network (LAN) and routing configuration, and the acceleration optimized transmission that can realize under Transmission Control Protocol, utilize TCP to accelerate optimisation technique to greatest extent, and improve the guarantee to transmission of video link.
The invention provides a kind of video conference optimization method based on transparent mode, it is characterized in that, comprise the following steps:
The video flowing of video conference is delivered to L3 layer from L2 layer in the local area network (LAN) outlet of each participant of video conference by bridge joint mouth by the deployment way based on transparent mode;
Utilize vpn tunneling technology that the UDP in video flowing is encapsulated as TCP message, and by TCP speed technology, acceleration process is carried out to the transfer of data of vpn tunneling;
Based on the connectedness of heartbeat detection technology for detection transmission of video link, and carry out link switching when transmission of video link is obstructed.
Preferably, under the deployment way of described transparent mode, be only described bridge joint mouth configuration of IP address, do not change the network configuration of the local area network (LAN) of each participant of video conference.
Preferably, described bridge joint mouth adopts ebtables to configure the IP address of bridge interface name and video flowing under linux system, thus realizes L2 layer data stream to be delivered to L3 layer.
Preferably, can the described connectedness based on heartbeat detection technology for detection transmission of video link comprises: the heartbeat message that the opposite end judging whether to receive transmission of video link sends, and determine whether carry out link switching according to the presence that receive described heartbeat message and transmission of video link.
Further preferably, if described heartbeat message can be received from transmission of video link and the presence of transmission of video link for be communicated with, then keep application this transmission of video link; Or, if described heartbeat message can not be received from transmission of video link and the presence of transmission of video link for be communicated with, then search and be switched to alternate video transmission link; Or, if described heartbeat message can not be received from transmission of video link and the presence of transmission of video link is obstructed, then keep application alternate video transmission link; Or, if described heartbeat message can be received from transmission of video link and the presence of transmission of video link is obstructed, be then switched to this transmission of video link by alternate video transmission link.
Present invention also offers a kind of video conference optimization system based on transparent mode, it is characterized in that, comprise deployment way based on transparent mode at the video frequency transmission optimizing equipment of the local area network (LAN) export deployment of each participant of video conference, described video frequency transmission optimizing equipment comprises:
Bridge joint mouth, for being delivered to L3 layer by the video flowing of video conference from L2 layer;
Vpn accelerated module, for utilizing vpn tunneling technology that the UDP in video flowing is encapsulated as TCP message, and carries out acceleration process by TCP speed technology to the transfer of data of vpn tunneling;
Link communication with detection module, based on the connectedness of heartbeat detection technology for detection transmission of video link, and carries out link switching when transmission of video link is obstructed.
Preferably, described video frequency transmission optimizing equipment is only described bridge joint mouth configuration of IP address under the deployment way of transparent mode, does not change the network configuration of the local area network (LAN) of each participant of video conference.
Preferably, described bridge joint mouth adopts ebtables to configure the IP address of bridge interface name and video flowing under linux system, thus realizes L2 layer data stream to be delivered to L3 layer.
Preferably, the heartbeat message that the opposite end that described link communication with detection module judges whether to receive transmission of video link sends, and determine whether carry out link switching according to the presence that can receive described heartbeat message and transmission of video link.
Further preferably, link communication with detection module judge if described heartbeat message can be received from transmission of video link and the presence of transmission of video link as be communicated with, then keep application this transmission of video link; Or, link communication with detection module judge if described heartbeat message can not be received from transmission of video link and the presence of transmission of video link as be communicated with, then search and be switched to alternate video transmission link; Or, if link communication with detection module judges to receive described heartbeat message from transmission of video link and the presence of transmission of video link is obstructed, then keep application alternate video transmission link; Or, if link communication with detection module judges to receive described heartbeat message from transmission of video link and the presence of transmission of video link is obstructed, be then switched to this transmission of video link by alternate video transmission link.
Thus, technological merit of the present invention comprises: breaching in the past can only to the method that video conference is optimized under route pattern, adopt bridge interface filter technology to achieve the optimization of video conference under transparent mode, simplify network design, improve network stabilization; Break traditional thinking video being compensated to optimization on UDP basis, employ innovatively and adopt vpn tunneling technology that UDP video flowing is converted to TCP video flowing, thus be that TCP accelerates optimization problem by UDP compensation optimizing question variation, existing TCP can be utilized to greatest extent to accelerate optimisation technique; Employing Heart-Beat Technology achieves the connection guarantee to video link, decreases video failure rate; In conjunction with the acceleration of TCP speed technology to tunnel interface, ensure that the effect that video conference is optimized.
Accompanying drawing explanation
Fig. 1 is that the system of the preferred embodiment of the present invention disposes structure chart;
Fig. 2 is the video frequency transmission optimizing device structure schematic diagram of the preferred embodiment of the present invention;
Fig. 3 is that the transmission of video connectivity of link of the preferred embodiment of the present invention detects schematic diagram.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is done more specifically bright.
Fig. 1 is the video conference optimization system deployment architecture figure of the preferred embodiment of the present invention.As seen from Figure 1, framework video conference optimization system between general headquarters of the side of attending a meeting of video conference A and branch B.In the respective local area network (LAN) 101 of general headquarters A and branch B, arrange video conference terminal 102, generated by video conference terminal and transmit the video data stream of employing udp protocol.In local area network (LAN) 101 exit of general headquarters A and branch B, the deployment way based on transparent mode deploys the video frequency transmission optimizing equipment 103 of embedded video frequency transmission optimizing technology respectively.
Video frequency transmission optimizing equipment 103 inside is integrated with the function of video frequency transmission optimizing, and support bridge configuration and routing configuration, under transparent mode, only need to bridge interface configuration 1 IP address of this equipment, do not need to change the original network configuration of local area network (LAN) 101 and routing configuration.Video frequency transmission optimizing equipment 103 processes needing the video flowing of transmission to be delivered to L3 layer from L2 layer, and use vpn tunneling technology that the UDP of video flowing is encapsulated as TCP message, by TCP speed technology, delivery acceleration is carried out to vpn tunneling again, efficiently solve video pictures occur mosaic, card, jitter problem.Meanwhile, video frequency transmission optimizing equipment 103 can also ensure the transmission of video link of video conference, when the transmission link of video conference breaks down, can video conference is switched on other available reserve link, to ensure that video conference can not be interrupted.
Transparent mode is also known as bridge mode.So-called transparent, be exactly the network equipment under this pattern be transparent to user, user awareness is less than the existence of this network equipment.When adopting the deployment way of transparent mode, generally, do not need disposed network equipments configuration IP and route, do not need the routing configuration changing other network equipment yet, directly the network equipment of deployment is placed in network, so just need not changes original network topology structure.Dispose relative to route pattern, the deployment way of transparent mode is simply a lot.But under transparent mode, owing to not using IP and route, data flow forwards at L2 layer based on MAC, can not arrive L3 layer.
Video frequency transmission optimizing equipment 103 of the present invention carries out disposing in the exit of local area network (LAN) 101 according to the deployment way of transparent mode, therefore must achieve simplification according to route pattern carries out disposing compared to existing transmission optimization equipment.Under transparent mode, only need the bridge joint mouth configuration of IP address to video frequency transmission optimizing equipment 103, do not need any configuration changing local area network (LAN) 101 legacy network equipment, thus also would not change network topology structure.Under transparent mode, data flow can only forward at L2, therefore needs by bridge interface filter technology, the data of L2 layer to be passed to L3 layer at described bridge joint mouth and carries out processing and transmitting.Under linux system, the filtration configuration of bridge joint mouth can be carried out by ebtables order, ebtables order can configure the forwarding that bridge joint mouth performs data between packet filtering and L2/L3 layer, thus, the present invention utilizes ebtables order, by configuring the IP address of bridge interface name and video flowing, realize the L2 layer data stream under transparent mode to be delivered to L3 layer.The configuration mode of ebtables order of the present invention is as follows:
ebtables-tbroute-ABROUTING-pIPv4--logical-inbrInter--ip-dstdstIp-jredirect--redirect-targetACCEPT。Wherein, brInter is bridge interface name, and dstIp needs video flowing IP to be processed.
The video flowing of L3 layer is delivered to from L2 layer for utilizing bridge joint mouth, the problem of L3 layer cannot be arrived owing to solving data flow under transparent mode, thus video frequency transmission optimizing equipment 103 of the present invention can use vpn tunneling technology to perform TCP acceleration further, and uses heartbeat detection to ensure the connectedness of transmission of video link.Video frequency transmission optimizing device structure schematic diagram as shown in Figure 2, video frequency transmission optimizing equipment 103 comprises bridge joint mouth 1031 presented hereinbefore, also comprises vpn accelerated module 1032 and link communication with detection module 1033 further.
UDP in video flowing is encapsulated as TCP message for utilizing vpn tunneling technology by vpn accelerated module 1032, and carries out acceleration process by TCP speed technology to the transfer of data of vpn tunneling.Be encapsulated as the transmitting of receiving-transmitting sides realization to these data that TCP message can make vpn tunneling.TCP speed technology improves the hot spot technology of data transmission bauds under wan environment, the means that can adopt comprise the aspect such as the optimization of TCP treatment mechanism and the improvement of TCP structure, such as verify calculation optimization, stem prediction processing, congestion control improvement, packet filtering, hiding latency etc., do not repeat them here.Vpn tunneling technology and process is accelerated to the TCP in tunnel efficiently solve the picture quality problems such as mosaic, card, shake.
Link communication with detection module 1033 pairs of transmission of video links carry out effective guarantee, realize quick link switching to reserve link after transmission link breaks down, and ensure that meeting can not be interrupted.Link communication with detection module 1033 is based on the connectedness of heartbeat detection technology for detection transmission of video link, and idiographic flow as shown in Figure 3.After beginning, can link communication with detection module 1033, under " detection " state of Fig. 3, keep the heartbeat message detecting the opposite end transmission that receive transmission of video link.According to the presence that can receive described heartbeat message and transmission of video link, there are following two kinds of situations:
(I) if under " detection " state, the heartbeat message of opposite end transmission can be received from current detected transmission of video link, show that now this transmission of video link is communicated with, now will process respectively according to the link presence of this transmission of video link before this heartbeat message of reception:
If before receiving this heartbeat message, the presence of this transmission of video link is communicated with, then keep this transmission of video link of application to carry out the transfer of data of video conference, and return " detection " state in Fig. 3, the heartbeat message continuing to perform this transmission of video link detects;
If before receiving this heartbeat message, the presence of this transmission of video link is obstructed, then illustrate that transmission of video is utilizing alternate video transmission link to carry out due to obstructed before this transmission of video link; Since now this transmission of video link recovers, then switch back this transmission of video link by alternate video transmission link.
(II) if under " detection " state shown in Fig. 3, the heartbeat message that the opposite end not receiving detected transmission of video link sends, illustrates that now this transmission of video link is obstructed; Now to process respectively according to the link presence of this transmission of video link before this heartbeat message of reception:
If before this heartbeat message detects, the presence of this transmission of video link is also obstructed, illustrate that transmission of video link just interrupts before this, transmission of video is relying on alternate video transmission link to perform, then continue to keep application alternate video transmission link, and returning " detection " state, the heartbeat message carried out next time receives and detects.
If before this heartbeat message detects, the presence of this transmission of video link is communicated with, illustrate that this transmission of video link is communicated with before this, interruption occurs between heartbeat detection to this heartbeat detection last time, now, just search other available reserve link immediately, then the transfer of data of video conference is switched on the alternate video transmission link found.
Thus, technological merit of the present invention comprises: breaching in the past can only to the method that video conference is optimized under route pattern, adopt bridge interface filter technology to achieve the optimization of video conference under transparent mode, simplify network design, improve network stabilization; Break traditional thinking video being compensated to optimization on UDP basis, employ innovatively and adopt vpn tunneling technology that UDP video flowing is converted to TCP video flowing, thus be that TCP accelerates optimization problem by UDP compensation optimizing question variation, existing TCP can be utilized to greatest extent to accelerate optimisation technique; Employing Heart-Beat Technology achieves the connection guarantee to video link, decreases video failure rate; In conjunction with the acceleration of TCP speed technology to tunnel interface, ensure that the effect that video conference is optimized.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.