CN102231712A - Method for load sharing on encoder and encoder - Google Patents

Method for load sharing on encoder and encoder Download PDF

Info

Publication number
CN102231712A
CN102231712A CN2011102074379A CN201110207437A CN102231712A CN 102231712 A CN102231712 A CN 102231712A CN 2011102074379 A CN2011102074379 A CN 2011102074379A CN 201110207437 A CN201110207437 A CN 201110207437A CN 102231712 A CN102231712 A CN 102231712A
Authority
CN
China
Prior art keywords
vrrp
address
arp
interface
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102074379A
Other languages
Chinese (zh)
Other versions
CN102231712B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110207437.9A priority Critical patent/CN102231712B/en
Publication of CN102231712A publication Critical patent/CN102231712A/en
Application granted granted Critical
Publication of CN102231712B publication Critical patent/CN102231712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for load sharing on an encoder and the encoder. The method comprises the following steps: two network interfaces of an encoder (EC) share an internet protocol (IP) address and a media access control (MAC) address; each network interface is connected with a virtual router redundancy protocol (VRRP) router, and the two VRRP routers are configured into a VRRP group; a virtual IP address and an MAC address are distributed for the VRRP group; the virtual IP address of the VRRP group is a gateway IP address of the EC; the EC alternates an address resolution protocol (ARP) message with the two VRRP routers through the two network interfaces, obtains a gateway MAC address, and establishes ARP table entries of the two VRRP routers, i.e., the gateway IP address, the gateway MAC address and an output interface identifier; and when the EC transmits a media flow message, the gateway MAC address can be obtained in the ARP table entries, and the flow is sent out by adopting a pre-set load sharing algorithm and selecting one interface from the two network interfaces. According to the method and the encoder disclosed by the invention, load sharing can be realized on the EC.

Description

On encoder, carry out the method and the encoder of load balancing
Technical field
The present invention relates to technical field of video monitoring, (EC carries out the method and the EC of load balancing on Encoder) to be specifically related to encoder in video monitoring system.
Background technology
Understand for convenient, at first provide following notion:
Video management (VM, Video Management) server: be arranged in supervisory control system, can manage all devices in the control supervisory control system concentratedly, dispatch various video monitoring services, and management distributes the supervisory user authority.
EC: be positioned at the supervisory control system front end, analog video signal can be encoded according to specified format, appointment code check, can give other client program request with video clean culture behind the coding or multicast.
Videoconference client (VC, Video Client): can carry out the live video monitoring by VC, also can also can formulate storage plan to EC to EC fixed time section playback history video by VC.
Media server (MS, Media Server): can receive clean culture/multicast Media Stream that EC sends, Media Stream is transmitted and be distributed to decoding client (DC, Decoder) broadcast of decoding with clean culture/multicast mode.
Internet Protocol storage area network (IPSAN, Internet Protocol Storage Area Network): be used to store Media Stream, when the user need check historical video recording, from IPSAN, read the video recording data from front end.
At present in supervisory control system in order to improve reliability, take two network interface networking plans, promptly the terminal in the monitor network, server all adopt two network interfaces to connect.
Fig. 1 has provided existing IP and has monitored typical networking diagram, and as shown in Figure 1, storage and replayed section are as follows:
Write IPSAN behind the coding video data of data storage procedure: EC to camera collection.
Data readback process: VC or DC send the playback application to the VM server, from the IPSAN reading of data, give VC or DC with data forwarding by data management (DM, Data Management) server then; Perhaps by the direct reading of data from IPSAN of VC or DC.
Fig. 2 has provided an existing local area network building figure, as shown in Figure 2, usually, all exist on the All hosts in the same network segment one identical, with the default route of gateway for next jumping.The message that main frame mails to other network segment will mail to gateway by default route, be transmitted by gateway, thereby realize communicating by letter of main frame and external network.When gateway breaks down, in this network segment all with the gateway be default route main frame can't with external network communication.
Default route provides convenience for user's configuration operation, but default gateway equipment has been proposed very high stability requirement.The gateway of increasing export is the common methods that improves system reliability, how to carry out routing this moment and just become the problem that needs solution between a plurality of outlets.
Virtual Router Redundancy Protocol (VRRP, Virtual Router Redundancy Protocol) set of router that can bear gateway function joins in the backup group, form a virtual router, which platform router is election mechanism by VRRP determine bear the forwarding task, and the main frame in the local area network (LAN) only needs virtual router is configured to default gateway.
VRRP is a kind of protocol for error tolerance, when improving reliability, has simplified the configuration of main frame.The local area network (LAN) with multicast or broadcast-capable as: in the Ethernet, can when breaking down, certain router still provide highly reliable default link by VRRP, effectively avoid the problem that network interrupts after the single link occurs fault, and need not to revise configuration informations such as dynamic routing protocol, route discovery protocols.
Equipment is supported the VRRP of two kinds of patterns at present:
Standard agreement pattern: based on the VRRPv2 and the VRRPv3 of RFC realization.Wherein, VRRPv2 is based on IPv4, and VRRPv3 is based on IPv6.VRRPv2 and VRRPv3 be not difference on function realizes, just the network environment difference of using
Load-sharing mode: on the basis of standard agreement pattern, expand, realized load-balancing function.
In present supervisory control system, EC uses two network interfaces to connect network, and two network interfaces are respectively with active/standby mode work.The shortcoming of this mode is: last two network interfaces of EC are same medium access control (MAC, Media Access Control) addresses, can't carry out port trunking simultaneously, can't realize load balancing, cause the wasting of resources.
Summary of the invention
The invention provides the method and the EC that on EC, carry out load balancing, on EC, to realize load balancing.
Technical scheme of the present invention is achieved in that
A kind of method of on encoder EC, carrying out load balancing, this EC is arranged in supervisory control system, two network interface shared IP addresses on the EC and MAC Address, each network interface connects a Virtual Router Redundancy Protocol VRRP router, this two VRRP router is a VRRP group, be this VRRP set of dispense virtual ip address and virtual medium access control MAC addresses, this VRRP group virtual ip address is the gateway ip address of EC, block VRRP message and ARP message between the two VRRP routers, this method comprises:
EC obtains the gateway MAC Address by two network interfaces and two mutual ARP messages of VRRP router, sets up the ARP list item of two VRRP routers, and contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface sign;
When EC sends media stream message, in the ARP list item, find the gateway MAC Address, the gateway MAC Address is encapsulated on the message, adopt default load balancing algorithm, in two network interfaces, select an interface, flow is sent by selected interface.
Described EC is respectively by further comprising before two network interfaces and two mutual ARP messages of VRRP router:
EC sends the initial media stream packet, does not find the ARP list item of the next-hop ip address correspondence of message, then carries out the described action of passing through two network interfaces and two mutual ARP messages of VRRP router.
Described method further comprises:
EC monitors the VRRP notification packet on two network interfaces, for arbitrary interface, if in arbitrary VRRP announcement wait duration, on this interface, do not hear the VRRP notification packet, then delete the ARP list item of this interface, the flow on this interface is switched on another interface.
Described method further comprises:
EC adds up the transmission control protocol TCP number of retransmissions of each the bar flow on each network interface, if the TCP number of retransmissions of arbitrary flow on arbitrary interface reaches predetermined threshold value, then this flow is switched on another interface and sends.
Described two VRRP routers are a VRRP router and the 2nd VRRP router, and described method further comprises:
The one VRRP router receives the message that the monitor network side is sent, if in the ARP list item of self, do not find the purpose IP address of this message, then structure carries the ARP request message of this purpose IP address, this ARP request message is sent to an EC who self connects, this EC receives this ARP request message, and this ARP request message another network interface by self is forwarded;
The 2nd EC receives this ARP request message, the purpose IP address of finding message is oneself, then return the arp response message that carries the self MAC address, when the arp response message arrives a VRRP router, the one VRRP router is set up the ARP list item according to this arp response message, and the message of described monitor network side being sent according to this ARP list item is transmitted to the 2nd EC.
A kind of EC, this EC is arranged in supervisory control system, this EC disposes two network interfaces, this two interfaces shared IP address and MAC Address, each network interface connects a VRRP router, and this two VRRP router is formed the VRRP group, this VRRP group has VRRP group virtual ip address and virtual mac address, block VRRP message and ARP message between two VRRP routers, this VRRP group virtual ip address is the gateway ip address of EC, and this EC comprises:
The ARP module: by two network interfaces and two mutual ARP messages of VRRP router, obtain the gateway MAC Address, and set up the ARP list item of two VRRP routers, contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface sign;
Flow transceiver module: in the time will sending media stream message, in the ARP list item, find the gateway MAC Address, the gateway MAC Address is encapsulated on the message, adopt default load balancing algorithm, in two network interfaces, select an interface, flow is sent by selected interface.
Described flow transceiver module is further used for, when sending the initial media stream packet, do not find the ARP list item of the next-hop ip address correspondence of message, then send this next-hop ip address to the ARP module, and, when receiving list item that the ARP module returns when having set up indication, carry out the described action that in the ARP list item, finds the gateway MAC Address;
And, described ARP module receives described next-hop ip address, carry out the described action of passing through two network interfaces and two mutual ARP messages of VRRP router respectively according to this IP address, and after setting up the ARP list item, return list item to the flow transceiver module and set up indication.
Described EC further comprises:
Module is monitored in the VRRP announcement: monitor the VRRP notification packet on two network interfaces, for arbitrary interface, if in arbitrary VRRP announcement wait duration, on this interface, do not hear the VRRP notification packet, then delete the ARP list item of this interface, so that the flow on this interface is switched on another interface.
Described EC further comprises:
TCP retransmission statistics module: the TCP number of retransmissions to each the bar flow on each network interface is added up, if the TCP number of retransmissions of arbitrary flow on arbitrary interface reaches predetermined threshold value, then this flow is switched on another interface and sends.
Compared with prior art, the present invention has realized the load balancing on EC.
Description of drawings
Fig. 1 monitors typical networking diagram for existing IP;
Fig. 2 is existing local area network building figure;
The networking diagram of the supervisory control system that Fig. 3 provides for the embodiment of the invention;
The method flow diagram that on EC, carries out load balancing that Fig. 4 provides for the embodiment of the invention;
Flow changing method flow chart during VRRP fault that Fig. 5 provides for the embodiment of the invention;
The part EC that Fig. 6 provides for the embodiment of the invention has the networking exemplary plot that two network interfaces, another part EC have the supervisory control system of a network interface;
The monitor network side message transmitting method flow chart that Fig. 7 provides for the embodiment of the invention;
The composition schematic diagram of EC in the video monitoring system that Fig. 8 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The networking diagram of the supervisory control system that Fig. 3 provides for the embodiment of the invention as shown in Figure 3, has disposed two network interfaces on the EC, each network interface connects a VRRP router, another side joint monitor network of two VRRP routers.
Two networks of EC connect a shared IP address and MAC Address, the two VRRP configuration of routers that will be connected with two network interfaces of EC are VRRP group, be VRRP group virtual ip address of this VRRP set of dispense and VRRP group virtual mac address, this VRRP group virtual ip address of configuration is a gateway ip address on EC.
VRRP group virtual ip address and VRRP group virtual mac address are that two VRRP routers are shared.
Among the present invention, also need to block two VRRP message and ARP messages between the VRRP router, promptly can not intercommunication VRRP message and ARP message between two VRRP routers, at this moment, need dispose on two network interfaces of EC: the VRRP message or the ARP message that from the purpose IP address that this interface receives are gateway ip address are not transmitted to another interface.Certainly, if also interconnect between two VRRP routers, then also need on this equipment, carry out similar configuration by miscellaneous equipment.
The method flow diagram that on EC, carries out load balancing that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, its concrete steps are as follows:
Step 401: when initial, the EC plan outwards sends media stream message, purpose IP address according to message finds next-hop ip address in three layers of route table items, but do not find the ARP list item corresponding with this next-hop ip address, then send address resolution protocol (ARP from two interfaces, Address Resolution Protocol) request message, the gateway ip address of the gateway ip address that carries in this message for disposing on this network interface, be VRRP group virtual ip address, obtain the gateway MAC Address with request.
Next-hop ip address is a gateway ip address, because the ARP list item of two network interfaces is not also set up, therefore, searches the ARP list item less than the gateway ip address correspondence.
Step 402: each VRRP router receives the ARP request message, returns the arp response message, carries the gateway MAC Address in this message, i.e. the MAC Address of this VRRP router.
Step 403:EC receives the arp response message from each interface, sets up the ARP list item according to this arp response message, and contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface number, VRRP announce waiting timer.
Table 1 has provided the ARP list item example that EC safeguards:
The ARP list item example that table 1EC safeguards
Because under the normal condition, the VRRP router can regularly send the VRRP notification packet to EC, if EC can normally receive the VRRP notification packet from an interface, think that then the VRRP router of this interface connection is normal, otherwise, think the VRRP router failure that this interface connects, therefore, EC will be provided with VRRP announcement waiting timer, the timing length of this timer for each interface 〉=maximum of VRRP notification packet sends at interval.In the table 1, the value representation of VRRP announcement waiting timer be residual waiting time, VRRP announcement waiting timer periodically is decremented to 0 from timing length.If for an interface, the VRRP of this interface announcement waiting timer is decremented to 0 process from timing length, on this interface, do not receive any VRRP notification packet, then think the VRRP router failure that this interface connects.
Step 404:EC is encapsulated into the gateway MAC Address in the media stream message according to the ARP list item of having set up, simultaneously, according to default load balancing algorithm, selects an interface in two network interfaces, and this message is sent from selected interface.
Step 405:EC will send the subsequent media stream packet, purpose IP address according to message finds next-hop ip address in three layers of route table items, in the ARP list item of having set up, find corresponding gateway MAC Address according to next-hop ip address, the gateway MAC Address is encapsulated on the message, then according to default load balancing algorithm, in two network interfaces, select an interface, this message is sent from selected interface.
Load balancing algorithm in the present embodiment can adopt prior art, for example: at passage carry out load balancing algorithm, at the fluxion amount carry out load balancing algorithm, carry out the algorithm of load balancing at stream, or the like.
Wherein, carry out the algorithm of load balancing at passage, soon share equably to two interfaces and sending from the flow of each passage (being camera), for example: EC can be according to formula: outgoing interface number=channel number %2, will be to the outgoing interface of correspondence from the traffic sharing of each passage, wherein, % is for getting remainder operation, and outgoing interface is numbered 0,1.
Carry out the algorithm of load balancing at the fluxion amount, promptly flow is shared equably to two interfaces and being sent according to the way of transmitted traffic.For example: EC can be according to the purpose client of request flow: the quantity of VC and DC, and flow shared equably to two outgoing interfaces send.
Carry out the algorithm of load balancing at stream, promptly, flow is classified, all types of flows are shared equably to two interfaces sent according to the stream feature, as: the flow of a part of type is sent by interface 0, the flow of another part type is sent by interface 1.
Flow changing method flow chart during VRRP fault that Fig. 5 provides for the embodiment of the invention, as shown in Figure 5, its concrete steps are as follows:
Step 501:EC monitors the VRRP notification packet from corresponding VRRP router respectively on two network interfaces.
Step 502: if EC does not receive the VRRP notification packet when the VRRP of interface announcement waiting timer is overtime, then think the VRRP router failure that this interface connects, with the ARP list item deletion of this interface.
The flow that step 503:EC will share on the interface that is connected with fault VRRP router originally sends from another interface.
In the embodiment of the invention, can also be to the transmission control protocol (TCP of every stream on each interface of EC, Transferring Control Protocol) retransmits number and add up,, just this stream is switched on another network interface to send when the TCP of a stream retransmits number when reaching predetermined threshold value.
In actual applications, have such a case: a part of EC has two network interfaces, and another part EC has only a network interface, as shown in Figure 6, EC1 has two network interfaces and EC2 has a network interface, so, because the IP address of two VRRP routers, MAC Address is all identical, therefore, this can cause: the message of issuing the EC (as the EC2 Fig. 6) that has only an interface from the monitor network side has been sent to the VRRP router that is not connected with this EC (as the VRRP router one among Fig. 6), thereby can cause message dropping,, provide following solution in order to address this problem:
The monitor network side message transmitting method flow chart that Fig. 7 provides for the embodiment of the invention, as shown in Figure 7, its concrete steps are as follows:
Step 701:, two network interfaces of this EC are enabled switch mode for each dual network interface EC.
Step 702: a VRRP router receives the message that the monitor network side is sent, and does not find the purpose IP address of this message in the ARP list item of self, then sends to an EC who self connects and carries the ARP request message of this purpose IP address.
The one VRRP router may be connected with a plurality of EC simultaneously, and at this moment, a VRRP router can be selected to send the ARP request message to one of them EC.
Step 703: an EC receives this ARP request message from a network interface, finds that the IP address of carrying in this message is not an its own IP address, then this message another network interface from self is sent.
This ARP request message finally can arrive other EC that is in same subnet with an EC.
Step 704: the 2nd EC receives this ARP request message, finds that the IP address in the message is an its own IP address, then returns the arp response message, carries the MAC Address of the 2nd EC in this message.
Step 705: this arp response message arrives a VRRP router through an EC, the one EC sets up two-layer retransmitting table item according to this message, contents in table comprises: the MAC Address of the 2nd EC, outbound port number are the inbound port number of arp response message, the one VRRP router is set up the ARP list item according to this arp response message, and contents in table comprises: the IP address of the 2nd EC and MAC Address, outgoing interface number are the incoming interface number of arp response message.
Step 706: a VRRP router is according to newly-established ARP list item, and the message of network side transmitted in the step 702 is transmitted to the 2nd EC via an EC.
Owing to set up the ARP list item of the 2nd EC on the VRRP router, set up the two-layer retransmitting table item of the 2nd EC on the one EC, therefore after this a VRRP router receives the message that network side sends to the 2nd EC again, just can directly message be transmitted to the 2nd EC by an EC according to this ARP list item.
The composition schematic diagram of EC in the video monitoring system that Fig. 8 provides for the embodiment of the invention, this EC disposes two network interfaces, this two network interface shared IP addresses and MAC Address, each network interface connects a VRRP router, this two VRRP router is formed VRRP group, this VRRP group has VRRP group virtual ip address and virtual mac address, having disposed this VRRP group virtual ip address on the EC is gateway ip address, two network interfaces of EC have disposed respectively: the VRRP message and the ARP message that from the purpose IP address that this interface receives are gateway ip address are not transmitted to another network interface, this EC comprises: ARP module 81, module 83 is monitored in flow transceiver module 82 and VRRP announcement, wherein:
ARP module 81: receive the gateway ip address that flow transceiver module 82 is sent, send the ARP request message that carries gateway ip address to two VRRP routers by two network interfaces, when receiving the arp response message that carries the gateway MAC Address that arbitrary VRRP router returns, set up and preserve the ARP list item according to this arp response message, contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface sign, and return list item to flow transceiver module 82 and set up indication.
Flow transceiver module 82: when outside transmission media stream message, purpose IP address search next-hop ip address according to message, search the ARP list item corresponding with this next-hop ip address, if do not find, then be that gateway ip address sends to ARP module 81 with next-hop ip address, the list item that reception ARP module 81 is returned has been set up indication, in the ARP list item, search the ARP list item of gateway ip address correspondence, gateway MAC Address in the list item is encapsulated on the message, then according to default load balancing algorithm, in two network interfaces, select an interface, this message is sent from selected interface; If find, then the gateway MAC Address in the ARP list item is encapsulated on the message, then according to default load balancing algorithm, in two network interfaces, select an interface, this message is sent from selected interface.
Module 83 is monitored in the VRRP announcement: be used to monitor two VRRP notification packets on the network interface, for arbitrary interface, if in arbitrary VRRP announcement wait duration, on this interface, do not hear the VRRP notification packet, then delete the ARP list item of this interface correspondence in the ARP module 81, so that the flow on this interface is switched on another interface.
In actual applications, EC also can comprise: TCP retransmission statistics module, be used for the TCP number of retransmissions of each the bar flow on each network interface is added up,, then this flow switched on another interface and send if the TCP number of retransmissions of arbitrary flow on arbitrary interface reaches predetermined threshold value.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (9)

1. method of on encoder EC, carrying out load balancing, this EC is arranged in supervisory control system, it is characterized in that, two network interface shared IP addresses on the EC and MAC Address, each network interface connects a Virtual Router Redundancy Protocol VRRP router, this two VRRP router is a VRRP group, be this VRRP set of dispense virtual ip address and virtual medium access control MAC addresses, this VRRP group virtual ip address is the gateway ip address of EC, block VRRP message and ARP message between the two VRRP routers, this method comprises:
EC obtains the gateway MAC Address by two network interfaces and two mutual ARP messages of VRRP router, sets up the ARP list item of two VRRP routers, and contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface sign;
When EC sends media stream message, in the ARP list item, find the gateway MAC Address, the gateway MAC Address is encapsulated on the message, adopt default load balancing algorithm, in two network interfaces, select an interface, flow is sent by selected interface.
2. method according to claim 1 is characterized in that, described EC is respectively by further comprising before two network interfaces and two mutual ARP messages of VRRP router:
EC sends the initial media stream packet, does not find the ARP list item of the next-hop ip address correspondence of message, then carries out the described action of passing through two network interfaces and two mutual ARP messages of VRRP router.
3. method according to claim 1 is characterized in that, described method further comprises:
EC monitors the VRRP notification packet on two network interfaces, for arbitrary interface, if in arbitrary VRRP announcement wait duration, on this interface, do not hear the VRRP notification packet, then delete the ARP list item of this interface, the flow on this interface is switched on another interface.
4. method according to claim 1 is characterized in that, described method further comprises:
EC adds up the transmission control protocol TCP number of retransmissions of each the bar flow on each network interface, if the TCP number of retransmissions of arbitrary flow on arbitrary interface reaches predetermined threshold value, then this flow is switched on another interface and sends.
5. method according to claim 1 is characterized in that, described two VRRP routers are a VRRP router and the 2nd VRRP router, and described method further comprises:
The one VRRP router receives the message that the monitor network side is sent, if in the ARP list item of self, do not find the purpose IP address of this message, then structure carries the ARP request message of this purpose IP address, this ARP request message is sent to an EC who self connects, this EC receives this ARP request message, and this ARP request message another network interface by self is forwarded;
The 2nd EC receives this ARP request message, the purpose IP address of finding message is oneself, then return the arp response message that carries the self MAC address, when the arp response message arrives a VRRP router, the one VRRP router is set up the ARP list item according to this arp response message, and the message of described monitor network side being sent according to this ARP list item is transmitted to the 2nd EC.
6. EC, this EC is arranged in supervisory control system, it is characterized in that this EC disposes two network interfaces, this two interfaces shared IP address and MAC Address, each network interface connects a VRRP router, this two VRRP router is formed the VRRP group, and this VRRP group has VRRP group virtual ip address and virtual mac address, blocks VRRP message and ARP message between two VRRP routers, this VRRP group virtual ip address is the gateway ip address of EC, and this EC comprises:
The ARP module: by two network interfaces and two mutual ARP messages of VRRP router, obtain the gateway MAC Address, and set up the ARP list item of two VRRP routers, contents in table comprises: gateway ip address, gateway MAC Address, outgoing interface sign;
Flow transceiver module: in the time will sending media stream message, in the ARP list item, find the gateway MAC Address, the gateway MAC Address is encapsulated on the message, adopt default load balancing algorithm, in two network interfaces, select an interface, flow is sent by selected interface.
7. EC according to claim 6, it is characterized in that, described flow transceiver module is further used for, when sending the initial media stream packet, do not find the ARP list item of the next-hop ip address correspondence of message, then send this next-hop ip address to the ARP module, and, when receiving list item that the ARP module returns when having set up indication, carry out the described action that in the ARP list item, finds the gateway MAC Address;
And, described ARP module receives described next-hop ip address, carry out the described action of passing through two network interfaces and two mutual ARP messages of VRRP router respectively according to this IP address, and after setting up the ARP list item, return list item to the flow transceiver module and set up indication.
8. EC according to claim 6 is characterized in that, described EC further comprises:
Module is monitored in the VRRP announcement: monitor the VRRP notification packet on two network interfaces, for arbitrary interface, if in arbitrary VRRP announcement wait duration, on this interface, do not hear the VRRP notification packet, then delete the ARP list item of this interface, so that the flow on this interface is switched on another interface.
9. EC according to claim 6 is characterized in that, described EC further comprises:
TCP retransmission statistics module: the TCP number of retransmissions to each the bar flow on each network interface is added up, if the TCP number of retransmissions of arbitrary flow on arbitrary interface reaches predetermined threshold value, then this flow is switched on another interface and sends.
CN201110207437.9A 2011-07-22 2011-07-22 Method for load sharing on encoder and encoder Active CN102231712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110207437.9A CN102231712B (en) 2011-07-22 2011-07-22 Method for load sharing on encoder and encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110207437.9A CN102231712B (en) 2011-07-22 2011-07-22 Method for load sharing on encoder and encoder

Publications (2)

Publication Number Publication Date
CN102231712A true CN102231712A (en) 2011-11-02
CN102231712B CN102231712B (en) 2014-04-23

Family

ID=44844250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110207437.9A Active CN102231712B (en) 2011-07-22 2011-07-22 Method for load sharing on encoder and encoder

Country Status (1)

Country Link
CN (1) CN102231712B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238092A (en) * 2011-08-02 2011-11-09 杭州华三通信技术有限公司 Method for performing load sharing on encoder and encoder
CN102665098A (en) * 2012-05-03 2012-09-12 浙江宇视科技有限公司 Video encoder
CN105591936A (en) * 2015-09-11 2016-05-18 杭州华三通信技术有限公司 Method and device for updating forwarding table item
CN105959226A (en) * 2016-06-17 2016-09-21 杭州迪普科技有限公司 Method and device for establishing forwarding table item
CN106161267A (en) * 2015-03-26 2016-11-23 中兴通讯股份有限公司 A kind of method and system realizing server internal network interface load balancing
CN113285874A (en) * 2021-05-20 2021-08-20 烽火通信科技股份有限公司 Gateway backup method and device based on VRRP single instance

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925496A (en) * 2006-09-15 2007-03-07 杭州华为三康技术有限公司 System and method for load sharing of network layer with multiple network interface cards terminal equipment
US20080031249A1 (en) * 2006-08-02 2008-02-07 Cicso Technologies, Inc. Method and System for Providing Load Balanced Traffic in Redundant Infiniband Ethernet Gateways Network
CN101257447A (en) * 2008-03-14 2008-09-03 华为技术有限公司 Method, system and routing apparatus of load sharing
CN101355519A (en) * 2008-09-12 2009-01-28 杭州华三通信技术有限公司 Method and apparatus for implementing share of business stream load
CN101729425A (en) * 2009-12-22 2010-06-09 杭州华三通信技术有限公司 Method and equipment for flow sending in VRRP networking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080031249A1 (en) * 2006-08-02 2008-02-07 Cicso Technologies, Inc. Method and System for Providing Load Balanced Traffic in Redundant Infiniband Ethernet Gateways Network
CN1925496A (en) * 2006-09-15 2007-03-07 杭州华为三康技术有限公司 System and method for load sharing of network layer with multiple network interface cards terminal equipment
CN101257447A (en) * 2008-03-14 2008-09-03 华为技术有限公司 Method, system and routing apparatus of load sharing
CN101355519A (en) * 2008-09-12 2009-01-28 杭州华三通信技术有限公司 Method and apparatus for implementing share of business stream load
CN101729425A (en) * 2009-12-22 2010-06-09 杭州华三通信技术有限公司 Method and equipment for flow sending in VRRP networking

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238092A (en) * 2011-08-02 2011-11-09 杭州华三通信技术有限公司 Method for performing load sharing on encoder and encoder
CN102238092B (en) * 2011-08-02 2013-09-18 浙江宇视科技有限公司 Method for performing load sharing on encoder and encoder
CN102665098A (en) * 2012-05-03 2012-09-12 浙江宇视科技有限公司 Video encoder
CN102665098B (en) * 2012-05-03 2015-09-09 浙江宇视科技有限公司 A kind of video encoder
CN106161267A (en) * 2015-03-26 2016-11-23 中兴通讯股份有限公司 A kind of method and system realizing server internal network interface load balancing
CN105591936A (en) * 2015-09-11 2016-05-18 杭州华三通信技术有限公司 Method and device for updating forwarding table item
CN105591936B (en) * 2015-09-11 2019-01-11 新华三技术有限公司 A kind of method and apparatus updating forwarding-table item
CN105959226A (en) * 2016-06-17 2016-09-21 杭州迪普科技有限公司 Method and device for establishing forwarding table item
CN113285874A (en) * 2021-05-20 2021-08-20 烽火通信科技股份有限公司 Gateway backup method and device based on VRRP single instance

Also Published As

Publication number Publication date
CN102231712B (en) 2014-04-23

Similar Documents

Publication Publication Date Title
EP1763204B1 (en) System and method for redundant switches taking into account learning bridge functionality
US8243594B1 (en) Coordinated control of multiple parallel links or link aggregations
EP2028768B1 (en) Service protecting method, system and device based on connectionless
CN100579034C (en) Method for reporting equipment information, system and device for obtaining equipment information
CN101595696B (en) Multipath virtual router redundancy
CN102231712B (en) Method for load sharing on encoder and encoder
WO2008056838A1 (en) System and method for controlling network traffic
US10367680B2 (en) Network relay apparatus, gateway redundancy system, program, and redundancy method
CN100484088C (en) Technique for notifying EIGRP neighbors when destroying adjacencies in a computer network
US20050073998A1 (en) Methods, systems, and computer program products for voice over IP (VoIP) traffic engineering and path resilience using media gateway and associated next-hop routers
JP2007189512A (en) Multicast packet controller
EP2215489A1 (en) Scalable connectivity fault management in a bridged/virtual private lan service environment
JP5295273B2 (en) Data stream filtering apparatus and method
CN101179510B (en) Main/slave link load sharing method and apparatus for virtual switch system
CN102742221A (en) Multicast realization method and network device
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
JP2008103864A (en) Ip multicast service system, switch device, and method of selecting and transmitting group used for them
CN102571527A (en) Backup and load balancing system based on virtual router redundancy
CN102238092B (en) Method for performing load sharing on encoder and encoder
JP2004297521A (en) Transmission method, receiving terminal, and l2 switch, l3 switch in multicast communication network
CN102244606A (en) Method for realizing virtual router redundancy protocol extended (VRRPE) flow transmission, system and equipment thereof
CN101702664A (en) Data transmission method, device and system of virtual local area network
WO2016082516A1 (en) Link bundling method and system
CN102946348A (en) VRRPE (Extended VRRP (Virtual Router Redundancy Protocol)) message processing method and equipment in two-layer network
CN102388568B (en) Forwarding method and forwarding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHEJIANG UNIVIEW TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUASAN COMMUNICATION TECHNOLOGY CO., LTD.

Effective date: 20120222

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120222

Address after: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 building two or three layer A C

Applicant after: Zhejiang Uniview Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant