CN101977145A - Method for forwarding aggregated link service flow and system thereof - Google Patents

Method for forwarding aggregated link service flow and system thereof Download PDF

Info

Publication number
CN101977145A
CN101977145A CN2010105130554A CN201010513055A CN101977145A CN 101977145 A CN101977145 A CN 101977145A CN 2010105130554 A CN2010105130554 A CN 2010105130554A CN 201010513055 A CN201010513055 A CN 201010513055A CN 101977145 A CN101977145 A CN 101977145A
Authority
CN
China
Prior art keywords
port
availability ratio
bandwidth availability
module
lacp
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
CN2010105130554A
Other languages
Chinese (zh)
Other versions
CN101977145B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010513055.4A priority Critical patent/CN101977145B/en
Publication of CN101977145A publication Critical patent/CN101977145A/en
Application granted granted Critical
Publication of CN101977145B publication Critical patent/CN101977145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for forwarding aggregated link service flow. Equipment acquires bandwidth utilization factor of aggregated link port, then whether the aggregated link port can be used or not is judged, an LACP module is noticed, and the LACP module forwards data of service flow according to the judging result. The invention also discloses a system for forwarding aggregated link service flow. By adopting the method and system of the invention, bandwidth utilization factor of port is improved, and capacity expansion capability of aggregated link is optimized.

Description

The method and system that a kind of aggregated links Business Stream is transmitted
Technical field
The present invention relates to data communication field, be meant the method and system that a kind of aggregated links Business Stream is transmitted especially.
Background technology
Link Aggregation Control Protocol (LACP, Link Aggregation Control Protocol) is one of the main contents of Institute of Electrical and Electric Engineers (IEEE) 802.3ad standard, its essence is that several physical links " combination " with two equipment rooms become a data link in logic to transmit data, with bandwidth that reaches the link between the lifting means and the purpose that improves data transmission credibility, the data link after the combination is an aggregated links.Aggregated links internal physical link is finished the data transmit-receive task between the equipment jointly, and backs up the data of transmitting-receiving mutually.
Aggregated links mainly contains two advantages: one, improve link availability.In the aggregated links, physical link backs up the data of transmitting-receiving mutually.When a certain physical link interrupted, other physical link can be taken over its work rapidly.And the process of aggregated links backup is irrelevant with other link to being sightless outside the aggregated links, does not influence aggregated links work; Two, increase link bandwidth.By many physical links of polymerization, user's existing equipment of needn't upgrading just can obtain bigger bandwidth, and its bandwidth equals each physical link bandwidth sum.The LACP module transmits to different physical links the data allocations of Business Stream.
Second advantage mentioned above increases link bandwidth, when giving different physical links with the data allocations of Business Stream because of the LACP module, and do not know on each physical link the size of loaded service current capacity, therefore there is a problem, possible part physical link is high load capacity even excess load, and other physical links also have remaining bandwidth, so can cause unnecessary flow congested, can not make the dilatation function of link reach optimization.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method and system of aggregated links Business Stream forwarding, improves the bandwidth availability ratio of port, optimizes the dilatation ability of aggregated links.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides the method that a kind of aggregated links Business Stream is transmitted, this method comprises: equipment obtains the bandwidth availability ratio of aggregated links port, judge according to bandwidth availability ratio whether the aggregated links port can use and notify Link Aggregation Control Protocol LACP module, and whether the LACP module can use the data forwarding of carrying out Business Stream according to port.
In the such scheme, described equipment obtains before the bandwidth availability ratio of aggregated links port, and this method further comprises: the user starts timer by the LACP module, and timer arrives timing and announcement apparatus.
In the such scheme, the bandwidth availability ratio that described equipment obtains the aggregated links port comprises: the data traffic of monitoring of equipment port, compare with the local port bandwidth, and calculate the bandwidth availability ratio of port.
In the such scheme, describedly judge according to bandwidth availability ratio whether the aggregated links port can use and comprise: equipment with the bandwidth availability ratio of the port that obtains with the local bandwidth availability ratio threshold ratio of preserving, if the bandwidth availability ratio that obtains is greater than threshold value, then port can not use; If the bandwidth availability ratio that obtains is less than threshold value, then port can use.
In the such scheme, whether described LACP module can use the data forwarding of carrying out Business Stream to comprise according to port: the LACP module defines spendable port, carry out Hash calculation between the port can using, on port, transmit the data of Business Stream according to result of calculation; Determine not have spendable port, between all of the port, carry out Hash calculation, on port, transmit the data of Business Stream according to result of calculation.
The system that the present invention also provides a kind of aggregated links Business Stream to transmit, this system comprises: computing module, LACP module; The computing module is used to obtain the bandwidth availability ratio of port, judges according to bandwidth availability ratio whether port can use, and notice LACP module; Whether the LACP module is used for can using according to port, transmits the data of Business Stream on port.
In the such scheme, this system further comprises: timer; The LACP module is further used for, and when the user selects to start timer, starts timer; Timer is used for according to timing periodic duty, arrives timing, notice computing module; The computing module is used for the notice according to timer, obtains the bandwidth availability ratio of port.
In the such scheme, the computing module specifically is used for, and with the bandwidth availability ratio of the port that the obtains threshold value with the local bandwidth availability ratio of preserving, if the bandwidth availability ratio that obtains is greater than threshold value, then port can not use, and notice LACP module; If the bandwidth availability ratio that obtains is less than threshold value, then port can use, and notice LACP module.
This shows, adopt method and system of the present invention, according to the operating position of port, be the bandwidth availability ratio of port, transmit the data of Business Stream, improve the bandwidth availability ratio of port, the dilatation ability of aggregated links is optimized.
Description of drawings
Fig. 1 realizes the method flow schematic diagram that the aggregated links Business Stream is transmitted for the present invention;
Fig. 2 forms schematic diagram for the present invention realizes the system that the aggregated links Business Stream is transmitted.
Embodiment
Whether available basic thought of the present invention is: equipment periodic is obtained the bandwidth availability ratio of aggregated links port, judge port and notice LACP module according to bandwidth availability ratio, and the LACP module is according to port available data forwarding of carrying out Business Stream whether.
The present invention is described in detail below by accompanying drawing and specific embodiment.
The method that a kind of aggregated links Business Stream is transmitted, as shown in Figure 1, concrete steps are as follows:
Step 101, equipment periodic are obtained the bandwidth availability ratio of port, judge whether port can use and notify LACP module;
The user passes through the LACP module and selects to start timer, and timer starts, behind the arrival periodicity timing, and announcement apparatus, the timing of described timer can be provided with by the LACP module as required voluntarily; Described equipment is data communications equipment, for example switch etc.
Equipment is monitored the current data traffic of each port according to the notice of timer, and described data traffic is the size of the data volume passed through from port in 1 second, and the bandwidth of the corresponding port of preserving with this locality is compared, and calculates the bandwidth availability ratio of each port.The size of bandwidth availability ratio that equipment relatively obtains and local bandwidth availability ratio threshold value of preserving, if the bandwidth availability ratio of port is less than threshold value, then can use information to LACP module transmit port, described port can comprise port designations in the use information, described port designations is used to identify port, can be the unique identification sign indicating number of port; If the bandwidth availability ratio of port then can not use information to LACP module transmit port greater than threshold value, described port can not comprise port designations in the use information.Described port is the interface that links to each other between the equipment, can link to each other by more than one port between the equipment, and the user can become aggregated links with port arrangement by the LACP module.
Step 102, LACP module have judged whether spendable port, if spendable port is arranged, and execution in step 103, otherwise, execution in step 104;
The port that LACP module receiving equipment sends can use information, according to port designations, corresponding port set in the port designations position that this locality is preserved is for using, perhaps, the port that LACP module receiving equipment sends can not use information, according to port designations, the corresponding port set in the port designations position that this locality is preserved is for using.
Reach the heavy distributive condition of Business Stream of IEEE 802.3ab agreement regulation, the LACP module need heavily be distributed Business Stream.At first, the local port designations position of preserving of LACP module check has judged whether spendable port, if spendable port, execution in step 103 are arranged; If do not have spendable port, execution in step 104.
Step 103, LACP module are carried out the forwarding of Business Stream between spendable port, finish current handling process.
It is that spendable port numbers constitutes Hash table that the LACP module is chosen flag bit, then according to carrying out Hash calculation between the port of message content in the traffic data in Hash table, finally carries out traffic data according to result of calculation from a certain port and transmits.Described message content refers to MAC Address, IP address etc.
Step 104, LACP module are carried out the forwarding of Business Stream between the port that can not use, finish current handling process.
The LACP module is chosen flag bit and is constituted Hash table for the port numbers that can not use, because the flag bit of all of the port was and can not uses this moment, so the port that can not use here is all of the port, carry out Hash calculation between the port in Hash table, transmit traffic data according to result of calculation.
The system that the present invention also provides a kind of aggregated links Business Stream to transmit, as shown in Figure 2, this system comprises: computing module 201, LACP module 202;
Computing module 201 is positioned at data communications equipment, is used for periodically obtaining the bandwidth availability ratio of port, judges whether port can use and notify LACP module 202;
LACP module 202 is used for according to the workability of port the data of Business Stream being transmitted.
This system further comprises: timer 2 03;
LACP module 202 is further used for, and user interface is provided, and selects to start timer 2 03 according to the user, and the timing of timer 2 03 is set;
Timer 2 03 is used for starting the back according to timing periodic duty, and timing arrives, notice computing module 201;
Computing module 201 is used for, and according to the notice of timer 2 03, obtains the bandwidth availability ratio of port.
Computing module 201 specifically is used for, the data traffic of monitoring port, and the bandwidth of the port of preserving with this locality is compared, and calculates the bandwidth availability ratio of port, and described data traffic is the size of the data volume passed through in second of port one.
Computing module 201 specifically is used for, with the bandwidth availability ratio of the port that obtains with the local bandwidth availability ratio threshold ratio of preserving, if the bandwidth availability ratio that obtains is greater than threshold value, then port can not use, and notice LACP module 202, described notice can not be used information for sending the port that comprises port designations to LACP module 202; If the bandwidth availability ratio that obtains is less than threshold value, then port can use, and notice LACP module 202, and described notice can be used information for sending the port that comprises port designations to LACP module 202.
LACP module 202 specifically is used for, stipulate according to IEEE 802.3ab agreement, reach the heavy distributive condition of Business Stream of agreement regulation, define spendable port, choosing flag bit is that spendable port numbers constitutes Hash table, between the port of Hash table, carry out Hash calculation, transmit traffic data according to result of calculation; Determine not have spendable port, then choose the port numbers of flag bit for using, promptly all of the port number formation Hash table carries out Hash calculation between the port of Hash table, transmits traffic data according to result of calculation.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method transmitted of an aggregated links Business Stream is characterized in that this method comprises:
Equipment obtains the bandwidth availability ratio of aggregated links port, judges according to bandwidth availability ratio whether the aggregated links port can use and notify Link Aggregation Control Protocol LACP module, and whether the LACP module can use the data forwarding of carrying out Business Stream according to port.
2. method according to claim 1 is characterized in that, described equipment obtains before the bandwidth availability ratio of aggregated links port, and this method further comprises:
The user starts timer by the LACP module, and timer arrives timing and announcement apparatus.
3. method according to claim 1 and 2 is characterized in that, the bandwidth availability ratio that described equipment obtains the aggregated links port comprises:
The data traffic of monitoring of equipment port is compared with the local port bandwidth, calculates the bandwidth availability ratio of port.
4. method according to claim 1 and 2 is characterized in that, describedly judges according to bandwidth availability ratio whether the aggregated links port can use and comprises:
Equipment with the bandwidth availability ratio of the port that obtains with the local bandwidth availability ratio threshold ratio of preserving, if the bandwidth availability ratio that obtains is greater than threshold value, then port can not use; If the bandwidth availability ratio that obtains is less than threshold value, then port can use.
5. method according to claim 1 and 2 is characterized in that, whether described LACP module can use the data forwarding of carrying out Business Stream to comprise according to port:
The LACP module defines spendable port, carries out Hash calculation between the port can using, and transmits the data of Business Stream on port according to result of calculation; Determine not have spendable port, between all of the port, carry out Hash calculation, on port, transmit the data of Business Stream according to result of calculation.
6. the system that the aggregated links Business Stream is transmitted is characterized in that this system comprises: computing module, LACP module;
The computing module is used to obtain the bandwidth availability ratio of port, judges according to bandwidth availability ratio whether port can use, and notice LACP module;
Whether the LACP module is used for can using according to port, transmits the data of Business Stream on port.
7. system according to claim 6 is characterized in that this system further comprises: timer;
The LACP module is further used for, and when the user selects to start timer, starts timer;
Timer is used for according to timing periodic duty, arrives timing, notice computing module;
The computing module is used for the notice according to timer, obtains the bandwidth availability ratio of port.
8. according to claim 6 or 7 described systems, it is characterized in that,
The computing module specifically is used for, and the data traffic of monitoring port is compared with the local port bandwidth, calculates the bandwidth availability ratio of port.
9. according to claim 6 or 7 described systems, it is characterized in that,
The computing module specifically is used for, and with the bandwidth availability ratio of the port that the obtains threshold value with the local bandwidth availability ratio of preserving, if the bandwidth availability ratio that obtains is greater than threshold value, then port can not use, and notice LACP module; If the bandwidth availability ratio that obtains is less than threshold value, then port can use, and notice LACP module.
10. according to claim 6 or 7 described systems, it is characterized in that,
The LACP module specifically is used for, and defines spendable port, carries out Hash calculation between spendable port, transmits the data of Business Stream on port according to result of calculation; Determine not have spendable port, between all of the port, carry out Hash calculation, on port, transmit the data of Business Stream according to result of calculation.
CN201010513055.4A 2010-10-20 2010-10-20 Method for forwarding aggregated link service flow and system thereof Active CN101977145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010513055.4A CN101977145B (en) 2010-10-20 2010-10-20 Method for forwarding aggregated link service flow and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010513055.4A CN101977145B (en) 2010-10-20 2010-10-20 Method for forwarding aggregated link service flow and system thereof

Publications (2)

Publication Number Publication Date
CN101977145A true CN101977145A (en) 2011-02-16
CN101977145B CN101977145B (en) 2015-04-01

Family

ID=43576992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010513055.4A Active CN101977145B (en) 2010-10-20 2010-10-20 Method for forwarding aggregated link service flow and system thereof

Country Status (1)

Country Link
CN (1) CN101977145B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100988A (en) * 2016-07-26 2016-11-09 安徽皖通邮电股份有限公司 A kind of realize the method that link aggregation is switched fast
WO2017118422A1 (en) * 2016-01-08 2017-07-13 中兴通讯股份有限公司 Method and system for distributing preserved bandwidth of tunnel egress

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
CN101640644A (en) * 2009-09-01 2010-02-03 杭州华三通信技术有限公司 Method and equipment for flow equilibrium based on flexible link group
CN101651960A (en) * 2009-09-17 2010-02-17 中兴通讯股份有限公司 Protection method and device of link condensation bandwidth based on LACP

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094157A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation
CN101640644A (en) * 2009-09-01 2010-02-03 杭州华三通信技术有限公司 Method and equipment for flow equilibrium based on flexible link group
CN101651960A (en) * 2009-09-17 2010-02-17 中兴通讯股份有限公司 Protection method and device of link condensation bandwidth based on LACP

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017118422A1 (en) * 2016-01-08 2017-07-13 中兴通讯股份有限公司 Method and system for distributing preserved bandwidth of tunnel egress
CN106100988A (en) * 2016-07-26 2016-11-09 安徽皖通邮电股份有限公司 A kind of realize the method that link aggregation is switched fast

Also Published As

Publication number Publication date
CN101977145B (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN102045810B (en) Method, device and system for accessing machine type communication terminal equipment to network
CN102638849B (en) Method, system and device for controlling service push
JP2016500228A5 (en)
CN105306591A (en) Internet of Things intelligent gas meter communication method communicating through concentrator
CN102045253A (en) Method and device for sending video surveillance service messages in link aggregation network
CN105282835A (en) Wlan system with opportunistic transitioning to a low power state for power management
CN102104552B (en) Message control method and device based on ECN (Explicit Congestion Notification) mechanism
CN104753749B (en) A kind of multi-host communication method and communication system
WO2007066982A3 (en) Wireless communication system counting mobile terminals using mbms
CN105323723A (en) Method and system for inquiring node state in cluster communication based on MBMS loading
CN103209395A (en) Sending and receiving method of clustering paging message
CN103888380A (en) Priority-based link scheduling method and device
US11700189B2 (en) Method for performing task processing on common service entity, common service entity, apparatus and medium for task processing
CN103607360A (en) Message processing method, line card and switching equipment
CN105610460A (en) Communication terminal and method for communicating data
CN107306412B (en) Method, user equipment and base station for realizing reliable transmission of message
CN105323722A (en) Method and system for reporting congestion state in cluster communication based on MBMS loading
CA2794229C (en) Method for state transition and network device
CN102802167A (en) Method and system for acquiring communication link quality of terminal
CN101977145A (en) Method for forwarding aggregated link service flow and system thereof
CN103442452A (en) Terminal, server and connection management method
CN102882795B (en) Method and device for issuing internet protocol (IP) multicast message in wireless network
CN107547264B (en) Data backup method and device based on Internet of things
CN104753820A (en) Asymmetric forwarding method and device for service stream in aggregated link and switch
CN101984586A (en) Method and device for monitoring multiple links

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