Invention content
The present invention provides automatic recovery method and device after a kind of IMA equipment faults, with solve in the prior art when due to
Link failure enters the problem of Internet resources after Insufficent-Links states cannot efficiently use.
The present invention provides automatic recovery method after a kind of IMA equipment faults, including:
Monitor IMA group states;
When IMA groups state is in Insufficent-Links states, IMA group state machines are restarted;
Minimum activation number of links is re-set as to the value no more than current active link number.
Further, it is described when IMA groups state is in Insufficent-Links states, restart IMA group state machines, adopt
Specific method is:
When IMA groups state Insufficent-Links states duration be more than pre-determined threshold when, restart IMA groups
State machine.
Further, the value range of the pre-determined threshold is 0 to 1 hour.
Still further, the value range of the pre-determined threshold is 0 to 5 second.
Further, the value minimum activation number of links being re-set as no more than current active link number, refers to
Minimum activation number of links is re-set as to the value equal to current active link number.
The present invention also provides automatic recovery device after a kind of IMA equipment faults, including:
Group state monitoring module, for monitoring IMA group states;
Group state machine restarts module, for when IMA groups state is in Insufficent-Links states, restarting IMA group shapes
State machine;
Minimum activation number of links resetting module, for being re-set as minimum activation number of links no more than the currently active chain
The value of way.
Further, it is described to restart IMA group state machines when IMA groups state is in Insufficent-Links states, tool
Body is:
When IMA groups state Insufficent-Links states duration be more than pre-determined threshold when, restart IMA groups
State machine.
Further, the value range of the pre-determined threshold is 0 to 1 hour.
Still further, the value range of the pre-determined threshold is 0 to 5 second.
Further, the value minimum activation number of links being re-set as no more than current active link number, refers to
Minimum activation number of links is re-set as to the value equal to current active link number.
The present invention has the beneficial effect that:
The present invention reduces minimum activation number of links by restarting IMA group state machines automatically, solves in the prior art
Measured ima protocol can only intervene manually when IMA group state machines are stuck in Insufficent-Links states, and
The problem of change configuration could enter IMA group state machine rebooting status manually.The present invention restarts IMA automatically without manual intervention
Group state machine, and configuration parameter is adjusted, IMA groups is enable to transmit ATM cell, make full use of Internet resources.Treat network failure
After recovery, can manual amendment configuration, have no effect on original network configuration
Specific embodiment
Below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein
Specific embodiment be only used to explain the present invention, limit the present invention.
Embodiment of the method
According to an embodiment of the invention, automatic recovery method after a kind of IMA equipment faults, the main think of of this method are provided
Think be:IMA group state machines monitor the group state of oneself in real time, if IMA group state machines in Insufficent-Links states,
So IMA group state machines are restarted automatically, and are counted using the link (link) for being currently at active (activation) as new parameter
(minimum activation number of links) is restarted.And the webmaster IMA groups is reported to be restarted with new parameter, so as to subsequent artefacts
Restore failure or configuration before.
Fig. 2 be the embodiment of the present invention IMA equipment faults after automatic recovery method flow chart, as shown in Fig. 2, according to this
Automatic recovery method after the IMA equipment faults of inventive embodiments, specifically includes following processing:
Step 201, IMA group state machines monitoring group state, if IMA groups state in Insufficent-Links states,
The minimum activation number of links that IMA groups are currently configured is recorded, including sending minimum activation number of links TXn1 and receiving minimum activation chain
Way RXn1, and the number of links for being currently at state of activation is recorded, including sending activation number of links TXn2 and receiving activation link
Number RXn2, then performs 202.Conversely, continue ima state if above-mentioned condition is unsatisfactory for.
In the embodiment of the present invention, time threshold that IMA group state machines can be set to restart, only when IMA group states exist
When Insufficent-Links states duration is more than preset time threshold T1, IMA group state machines are just restarted.This hair
In bright embodiment, preset thresholding T1 can take the value in 0 to 1 hour, the value in 0 to 5 second to be taken to be preferred.Certainly, it is of the invention
The reboot time thresholding of IMA group state machines can not also be set, as long as confirming that IMA groups state is Insufficent-Links shapes
State, you can implement the method for the present invention at any time, to restart IMA equipment automatically.
Step 202, IMA group state machines are restarted automatically, into startup (startup) state.Certainly, currently swash in the present invention
Number of links living is not 0, otherwise loses meaning.
Step 203, minimum activation number of links is re-set as to the value no more than current active link number.
In the embodiment of the present invention, can directly it be taken the value of current active link number as minimum the new of activation number of links
Value, i.e., be assigned to TXn1 by the value of TXn2, and the value of RXn2 is assigned to RXn1, and the event of minimum activation number of links adjustment is reported use
Family.
Step 204, the group state machine of ima protocol enters Operational states.
Below using the IMA groups of a link number N=4 as example, to illustrate how to realize IMA equipment using the method for the present invention
Automatic recovery after failure.
As shown in figure 3, in NodeB (base station) and RNC (Radio Network Controller, radio network controller)
Website between create an IMA group, the IMAID that the IMA ID of NodeB are 0, RNC is 4, the number of links between two websites
It is 4, it is assumed that be the pattern of balanced configuration symmetry operation, frame length fixation is all M byte, and M is natural number, IMA OAM Label
(label of ima protocol) unanimously, the time-out time thresholding T1 of Insufficient-Links states is set as 5 seconds.NodeB configurations
Minimum activation number of links is TXn1=RXn1=4, and the minimum activation number of links of RNC is TXn1=RXn1=2, and two websites pass through
Negotiate, in certain moment T1, the IMA group state machines at both ends are all Operational states, normally send and connect between two websites
It collects mail first.As shown in figure 4, in certain moment T2, the link ID between two websites is 3 disconnecting, leads to NodeB websites
IMA group state machines enter Insufficient-Links states.
It is described below and realizes IMA groups to recovery Operational states automatically using the method for the present invention.
The first step:The IMA group state machines monitoring IMA group states at NodeB ends, it is 3 to detect current active link number, and is matched
The minimum activation number of links put is 4, then IMA groups state enters Insufficent-Links states.In Insufficent-
Links durations are more than after 5 seconds, and record is currently at the number of links TXn2=RXn2=3 of state of activation, and performs second
Step.
Second step:IMA group state machines are restarted automatically, into startup states.
Third walks:It is reset to sending minimum activation number of links TXn1, in the embodiment of the present invention, by the value of TXn2
TXn1 is assigned, then the TXn1 after resetting is 3, and the minimum event that number of links is activated to be adjusted to 3 is reported webmaster.Due to being pair
Title pattern, so RXn1 is reset to 3 to RXn1 and RXn2 processing with same rule simultaneously.
4th step:The group state machine of ima protocol carries out original flow and opposite end RNC ends are held consultation, final IMA groups state
Machine enters Operational states, and IMA group flow status machines are normal, and ATM cell transmission can be carried out between two websites, completes
Business is automatically restored.
Device embodiment
According to an embodiment of the invention, restore automatically after providing a kind of IMA equipment faults, Fig. 5 is the embodiment of the present invention
IMA equipment faults after automatic recovery device structure diagram, as shown in figure 5, after the IMA equipment faults of the embodiment of the present invention
Automatic recovery device restarts module 502 and minimum activation number of links resetting mould including group state monitoring module 501, group state machine
Block 503.The modules of the embodiment of the present invention are described in detail below.
Specifically, state monitoring module 501 is organized, for monitoring IMA group states.
Group state machine restarts module 502, for when IMA groups state is in Insufficent-Links states, restarting IMA
Group state machine.
In the embodiment of the present invention, when IMA groups state is in Insufficent-Links states, IMA group state machines are restarted,
Specially:When IMA groups state Insufficent-Links states duration be more than pre-determined threshold when, restart IMA group shapes
State machine.In the embodiment of the present invention, the value range of pre-determined threshold can be 0 to 1 hour, be preferred especially with 0 to 5 second.
Minimum activation number of links resetting module 503, for minimum activation number of links to be re-set as swashing no more than current
The value of number of links living.Can reset minimum activation number of links equal to current active link number in the embodiment of the present invention
Value.
Although for example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize
Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to the above embodiments.