CN101977145B - 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
CN101977145B
CN101977145B CN201010513055.4A CN201010513055A CN101977145B CN 101977145 B CN101977145 B CN 101977145B CN 201010513055 A CN201010513055 A CN 201010513055A CN 101977145 B CN101977145 B CN 101977145B
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.)
Active
Application number
CN201010513055.4A
Other languages
Chinese (zh)
Other versions
CN101977145A (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 forwards
Technical field
The present invention relates to data communication field, refer to the method and system that a kind of aggregated links Business Stream forwards especially.
Background technology
Link Aggregation Control Protocol (LACP, Link Aggregation Control Protocol) be one of main contents of Institute of Electrical and Electric Engineers (IEEE) 802.3ad standard, its essence is and become a data link in logic to transmit data several physical links " combination " of two equipment rooms, to reach the bandwidth of the link between lifting means and to improve the object of data transmission credibility, the data link after combination is an aggregated links.Data transmit-receive task between the common finishing equipment of physical link of aggregated links inside, and the data of backup transmitting-receiving mutually.
Aggregated links mainly contains two advantages: one, improve link availability.In aggregated links, physical link backs up mutually the data of transmitting-receiving.When a certain physical link interrupts, other physical link can take over rapidly its work.And the process of aggregated links backup, to being sightless outside aggregated links, haveing nothing to do with other link, does not affect aggregated links work; Two, link bandwidth is increased.By being polymerized many physical links, user's existing equipment of need not upgrading just can obtain more large bandwidth, and its bandwidth equals each physical link bandwidth sum.The data allocations of Business Stream forwards to different physical links by LACP module.
Second advantage mentioned above increases link bandwidth, because of LACP module the data allocations of Business Stream given different physical link time, and do not know the size of the Business Stream capacity that each physical link has carried, therefore there is a problem, likely part physical link high load capacity even excess load, and other physical links also have remaining bandwidth, so can cause unnecessary flow congestion, the dilatation function of link can not be made to reach optimization.
Summary of the invention
In view of this, main purpose of the present invention is the method and system providing a kind of aggregated links Business Stream to forward, and improves the bandwidth availability ratio of port, the dilatation ability of aggregation link.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method that aggregated links Business Stream forwards, the method comprises: equipment obtains the bandwidth availability ratio of aggregated links port, judge whether aggregated links port can use and notifying link polymerize control protocol with elegance LACP module, and whether LACP module can use the data retransmission carrying out Business Stream according to port according to bandwidth availability ratio.
In such scheme, before described equipment obtains the bandwidth availability ratio of aggregated links port, the method comprises further: user starts timer by LACP module, and timer arrives timing and announcement apparatus.
In such scheme, the bandwidth availability ratio that described equipment obtains aggregated links port comprises: the data traffic of monitoring of equipment port, compares, calculate the bandwidth availability ratio of port with local port bandwidth.
In such scheme, describedly judge whether aggregated links port can use according to bandwidth availability ratio and comprise: the bandwidth availability ratio of the port of acquisition compares with local bandwidth availability ratio threshold value of preserving by equipment, if the bandwidth availability ratio obtained is greater than threshold value, then port can not use; If the bandwidth availability ratio obtained is less than threshold value, then port can use.
In such scheme, whether described LACP module can use the data retransmission carrying out Business Stream to comprise according to port: LACP module defines spendable port, carry out Hash calculation, according to the data of result of calculation forwarding service stream on port can use between port; Determine there is no spendable port, between all of the port, carry out Hash calculation, according to the data of result of calculation forwarding service stream on port.
Present invention also offers the system that a kind of aggregated links Business Stream forwards, this system comprises: computing module, LACP module; According to bandwidth availability ratio, computing module, for obtaining the bandwidth availability ratio of port, judging whether port can use, and notifying LACP module; LACP module, for whether using according to port, the data of forwarding service stream on port.
In such scheme, this system comprises further: timer; LACP module is further used for, and when user selects to start timer, starts timer; Timer, for according to timing periodic duty, arrives timing, notice computing module; Computing module, for the notice according to timer, obtains the bandwidth availability ratio of port.
In such scheme, computing module specifically for, by the bandwidth availability ratio of port that the obtains threshold value with the local bandwidth availability ratio preserved, if the bandwidth availability ratio obtained is greater than threshold value, then port can not use, and notifies LACP module; If the bandwidth availability ratio obtained is less than threshold value, then port can use, and notifies LACP module.
As can be seen here, adopt method and system of the present invention, according to the bandwidth availability ratio of the service condition of port, i.e. port, the data of forwarding service stream, improve the bandwidth availability ratio of port, the dilatation ability of aggregated links are optimized.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram that the present invention realizes the forwarding of aggregated links Business Stream;
Fig. 2 is the system composition schematic diagram that the present invention realizes the forwarding of aggregated links Business Stream.
Embodiment
Basic thought of the present invention is: device periodically obtains the bandwidth availability ratio of aggregated links port, according to bandwidth availability ratio judge port whether can with and notify LACP module, whether LACP module can with the data retransmission carrying out Business Stream according to port.
Below by accompanying drawing and specific embodiment, the present invention is described in detail.
The method that aggregated links Business Stream forwards, as shown in Figure 1, concrete steps are as follows:
Step 101, device periodically obtain the bandwidth availability ratio of port, judge whether port can use and notify LACP module;
User starts timer by LACP model choice, and timer starts, after arriving periodicity timing, and announcement apparatus, the timing of described timer can be arranged by LACP module self as required; Described equipment is data communications equipment, such as switch etc.
Equipment, according to the notice of timer, monitors the data traffic that each port is current, 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.Equipment compares the bandwidth availability ratio of acquisition and the size of local bandwidth availability ratio threshold value of preserving, if the bandwidth availability ratio of port is less than threshold value, then information can be used to LACP module transmit port, described port can comprise port designations in use information, described port designations is used for identification port, can be the exclusive identification code of port; If the bandwidth availability ratio of port is greater than threshold value, then can not use information to LACP module transmit port, described port can not comprise port designations in use information.Described port is the interface be connected between equipment, and can be connected by more than one port between equipment, port arrangement is become aggregated links by LACP module by user.
Step 102, LACP module have judged whether spendable port, if there is spendable port, perform step 103, otherwise, perform 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 of preserve this locality is for using, or, 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 of preserve this locality is for using.
Reach the Business Stream code reassignment condition that IEEE 802.3ab agreement specifies, LACP module needs to carry out code reassignment to Business Stream.First, the port designations position that LACP module check this locality is preserved, has judged whether spendable port, if there is spendable port, performs step 103; If there is no spendable port, perform step 104.
Step 103, LACP module carry out the forwarding of Business Stream between spendable port, terminate current handling process.
It is that spendable port numbers forms Hash table that LACP module chooses flag bit, then carries out Hash calculation according between the port of message content in traffic data in Hash table, finally carries out traffic data forwarding according to result of calculation from certain Single port.Described message content refers to MAC Address, IP address etc.
Step 104, LACP module carry out the forwarding of Business Stream between not spendable port, terminate current handling process.
LACP module chooses flag bit for not spendable port numbers formation Hash table, because now the flag bit of all of the port is and can not uses, so not spendable port is here all of the port, Hash calculation is carried out, according to result of calculation forwarding service flow data between port in Hash table.
Present invention also offers the system that a kind of aggregated links Business Stream forwards, as shown in Figure 2, this system comprises: computing module 201, LACP module 202;
Computing module 201, is positioned at data communications equipment, for periodically obtaining the bandwidth availability ratio of port, judges whether port can use and notify LACP module 202;
LACP module 202, forwards for the data of workability to Business Stream according to port.
This system comprises further: timer 2 03;
LACP module 202 is further used for, and provides user interface, selects to start timer 2 03, arrange the timing of timer 2 03 according to user;
Timer 2 03, for after starting according to timing periodic duty, timing arrives, notice computing module 201;
Computing module 201 for, according to the notice of timer 2 03, obtain the bandwidth availability ratio of port.
Computing module 201 is specifically for, the data traffic of monitoring port, and the bandwidth of the port preserved 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 port one second.
Computing module 201 specifically for, the bandwidth availability ratio of the port of acquisition is compared with local bandwidth availability ratio threshold value of preserving, if the bandwidth availability ratio obtained is greater than threshold value, then port can not use, and notifying LACP module 202, described notice is send to LACP module 202 port comprising port designations can not use information; If the bandwidth availability ratio obtained is less than threshold value, then port can use, and notifies LACP module 202, and described notice is send to LACP module 202 port comprising port designations can use information.
LACP module 202 specifically for, specify according to IEEE 802.3ab agreement, reach the Business Stream code reassignment condition that agreement specifies, define spendable port, choosing flag bit is that spendable port numbers forms Hash table, Hash calculation is carried out, according to result of calculation forwarding service flow data between the port of Hash table; Determine do not have spendable port, then choose flag bit for not spendable port numbers, namely all of the port number forms Hash table, carries out Hash calculation, according to result of calculation forwarding service flow data between the port of Hash table.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, and all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a method for aggregated links Business Stream forwarding, it is characterized in that, the method comprises:
Equipment obtains the bandwidth availability ratio of each port in aggregated links, judges in aggregated links, whether corresponding port can use and notifying link polymerize control protocol with elegance LACP module according to the bandwidth availability ratio of each port;
LACP module defines spendable port, carries out Hash calculation, according to the data of result of calculation forwarding service stream on port can use between port; Determine there is no spendable port, between all of the port, carry out Hash calculation, according to the data of result of calculation forwarding service stream on port.
2. method according to claim 1, is characterized in that, before described equipment obtains the bandwidth availability ratio of each port in aggregated links, the method comprises further:
User starts timer by 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 each port of aggregated links kind comprises:
The data traffic of each port of monitoring of equipment, the corresponding port bandwidth of preserving with this locality is compared, and calculates the bandwidth availability ratio of each port.
4. method according to claim 1 and 2, is characterized in that, the described bandwidth availability ratio according to each port to judge in aggregated links whether corresponding port can use and comprises:
The bandwidth availability ratio threshold value of the bandwidth availability ratio of the port of acquisition with local corresponding port of preserving compares by equipment, if the bandwidth availability ratio obtained is greater than threshold value, then port can not use; If the bandwidth availability ratio obtained is less than threshold value, then port can use.
5. a system for aggregated links Business Stream forwarding, it is characterized in that, this system comprises: computing module, LACP module;
According to the bandwidth availability ratio of each port, computing module, for obtaining the bandwidth availability ratio of each port, judging whether corresponding port can use, and notifying LACP module;
LACP module, for defining spendable port, carries out Hash calculation, according to the data of result of calculation forwarding service stream on port between spendable port; Determine there is no spendable port, between all of the port, carry out Hash calculation, according to the data of result of calculation forwarding service stream on port.
6. system according to claim 5, is characterized in that, this system comprises further: timer;
LACP module is further used for, and when user selects to start timer, starts timer;
Timer, for according to timing periodic duty, arrives timing, notice computing module;
Computing module, for the notice according to timer, obtains the bandwidth availability ratio of each port.
7. the system according to claim 5 or 6, is characterized in that,
Computing module specifically for, monitor the data traffic of each port, with this locality preserve corresponding port bandwidth compare, calculate the bandwidth availability ratio of each port.
8. the system according to claim 5 or 6, is characterized in that,
Computing module specifically for, by the bandwidth availability ratio of each port that the obtains threshold value with the bandwidth availability ratio of local corresponding port of preserving, if the bandwidth availability ratio obtained is greater than threshold value, then port can not use, and notifies LACP module; If the bandwidth availability ratio obtained is less than threshold value, then port can use, and notifies LACP module.
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 CN101977145A (en) 2011-02-16
CN101977145B true 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)

Families Citing this family (2)

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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094157B (en) * 2007-08-20 2011-09-21 中兴通讯股份有限公司 Method for implementing network interconnection by using link aggregation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN101977145A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN105122898B (en) A kind of communication means and device
JP7177259B2 (en) Data transmission method and device
CN109392004A (en) Communication means, base station, terminal device and system
JP5792398B2 (en) Using wireless wide area network protocol information to manage processor performance levels
US10869213B2 (en) Transmission status reporting apparatus and method and communication system
CN101375618A (en) Base station deice and packet scheduling method
CN105282835A (en) Wlan system with opportunistic transitioning to a low power state for power management
TW201036355A (en) Power saving method for wireless access point
TW200828879A (en) Automatic resignation from ad hoc network
CN102638849A (en) Method, system and device for controlling service push
CN103209395B (en) Sending and receiving method of clustering paging message
CN104159306A (en) Method, device and system for controlling radio resources
WO2007066982A3 (en) Wireless communication system counting mobile terminals using mbms
CN102104552B (en) Message control method and device based on ECN (Explicit Congestion Notification) mechanism
CN105471763A (en) Control message transmission method and device
CN101977145B (en) Method for forwarding aggregated link service flow and system thereof
CA2794229C (en) Method for state transition and network device
KR20140037239A (en) Filtering group-addressed frames in wi-fi devices
CN102149173B (en) A kind of method and system indicating machine terminal transmission and receiving data
EP2936883B1 (en) Power saving in wlan stations using data accumulation at an access point
EP4228318A1 (en) Data transmission method and apparatus, and storage medium
CN108886766B (en) Control information transmission method and device
CN101765193B (en) Method for scheduling resource in EDCH, user terminal and communication system
CN105264993B (en) A kind of business datum shunt method, access network equipment and terminal
CN104159301B (en) A kind of bearing mode selection method and 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
C14 Grant of patent or utility model
GR01 Patent grant