Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for link aggregation control protocol (LACP) link switching, comprising: monitoring state changes of interfaces in an LACP link aggregation group; when monitoring that a state change occurs on an active interface in the LACP link aggregation group, determining whether a number of active interfaces in the LACP link aggregation group is smaller than a preset minimum active link number, and if yes, keeping states of N interfaces among interfaces on which a state change occurs being an active state, so that the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, wherein N is a natural number and N is smaller than or equal to the number of interfaces on which a state change occurs, among the active interfaces in the LACP link aggregation group; and when monitoring that a state change occurs on an inactive interface in the LACP link aggregation group, adjusting states of M interfaces among the N interfaces kept in the active state into an inactive state, wherein M is a natural number and M is smaller than or equal to N.
2. The method according to claim 1 , wherein, when keeping states of the N interfaces among interfaces on which the state change occurs being the active state, a timer is started; then, when no state change of an inactive interface in the LACP link aggregation group is monitored during a preset time, the states of the M interfaces among the N interfaces kept in the active state are adjusted into the inactive state.
3. The method according to claim 2 , wherein the preset time is a long period or a short period of LACP configuration.
4. The method according to claim 1 , wherein, when determining the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, states of Q interfaces among interfaces on which the state change occurs are kept in the active state, so that the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, Q is a natural number and Q is smaller than or equal to the number of interfaces on which the state change occurs, among the active interfaces in the LACP link aggregation group.
5. A device for link aggregation control protocol (LACP) link switching, comprising a monitoring unit, a determining unit and a state adjusting unit, wherein: the monitoring unit is configured to monitor state changes of interfaces in an LACP link aggregation group; the determining unit is configured to, when monitoring that a state change occurs on an active interface in the LACP link aggregation group, determine whether a number of active interfaces in the LACP link aggregation group is smaller than a preset minimum active link number, and if yes, trigger the state adjusting unit; and the state adjusting unit is configured to, when the number of the active interfaces in the LACP link aggregation group is smaller than the preset minimum active link number, keep states of N interfaces among interfaces on which a state change occurs being an active state, so that the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, wherein N is a natural number and N is smaller than or equal to the number of interfaces on which a state change occurs, among the active interfaces in the LACP link aggregation group; and when monitoring that a state change occurs on an inactive interface in the aggregation group, adjust states of M interfaces among the N interfaces kept be the active state into an inactive state, wherein M is a natural number and M is smaller than or equal to N.
6. The device according to claim 5 , wherein the device further comprises a timer, configured to be started when states of the N interfaces among interfaces on which the state change occurs are kept in the active state; then, when no state change of an inactive interface in the LACP link aggregation group is monitored during a preset time, trigger the state adjusting unit, and the state adjusting unit is configured to adjust the states of M interfaces among the N interfaces kept in the active state into the inactive state.
7. A method for link aggregation control protocol (LACP) data transmission, comprising: monitoring state changes of interfaces in an LACP link aggregation group; when monitoring that a state change occurs on an active interface in the LACP link aggregation group, determining whether a number of active interfaces in the LACP link aggregation group is smaller than a preset minimum active link number, and if yes, keeping states of N interfaces among interfaces on which a state change occurs being an active state, so that the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, wherein N is a natural number and N is smaller than or equal to the number of interfaces on which a state change occurs, among the active interfaces in the LACP link aggregation group; and when monitoring that a state change occurs on an inactive interface in the LACP link aggregation group, adjusting states of M interfaces among the N interfaces kept in the active state into an inactive state, wherein M is a natural number and M is smaller than or equal to N; performing message transmitting and receiving registration for the active interfaces in the LACP link aggregation group, and performing message receiving registration for an interface changing into the inactive state; and performing data transmission according to the message transmitting and receiving registration of interfaces in the LACP link aggregation group.
8. The method according to claim 7 , wherein, when the message receiving registration is performed for an interface changing into the inactive state, a timer is started; after a preset time elapses, the message receiving registration of the interface is deleted.
9. The method according to claim 8 , wherein the preset time is a long period or a short period of LACP configuration.
10. A device for link aggregation control protocol (LACP) data transmission, comprising a monitoring unit, a determining unit, a state adjusting unit, a message transmitting and receiving registration unit, and a data transmission unit, wherein: the monitoring unit is configured to monitor state changes of interfaces in an LACP link aggregation group; the determining unit is configured to, when monitoring that a state change occurs on an active interface in the LACP link aggregation group, determine whether a number of active interfaces in the LACP link aggregation group is smaller than a preset minimum active link number, and if yes, trigger the state adjusting unit; the state adjusting unit is configured to, when the number of the active interfaces in the LACP link aggregation group is smaller than the preset minimum active link number, keep states of N interfaces among interfaces on which a state change occurs being an active state, so that the number of the active interfaces in the LACP link aggregation group is greater than or equal to the preset minimum active link number, wherein N is a natural number and N is smaller than or equal to the number of interfaces on which a state change occurs, among the active interfaces in the LACP link aggregation group; and when monitoring that a state change occurs on an inactive interface in the aggregation group, adjust states of M interfaces among the N interfaces kept in the active state into an inactive state, wherein M is a natural number and M is smaller than or equal to N; the message transmitting and receiving registration unit is configured to perform message transmitting and receiving registration for the active interfaces in the LACP link aggregation group, and perform message receiving registration for an interface changing into the inactive state; and the data transmission unit is configured to perform data transmission according to the message transmitting and receiving registration of interfaces in the LACP link aggregation group.
Unknown
February 23, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.