Summary of the invention
The invention provides automatic recovery method and device after a kind of IMA equipment fault, with solve in the prior art when since link failure enter the Insufficent-Links state after Internet resources can not get the effectively problem of utilization.
The invention provides automatic recovery method after a kind of IMA equipment fault, comprising:
Monitoring IMA group state;
When IMA organizes state at the Insufficent-Links state, restart the IMA group state machine;
Minimum active link number is re-set as the value that is not more than current active link number.
Further, describedly restart the IMA group state machine when IMA group state during at the Insufficent-Links state, the concrete grammar of employing is:
When IMA organizes state when the duration of Insufficent-Links state surpasses default thresholding, restart the IMA group state machine.
Further, the span of described default thresholding is 0 to 1 hour.
Again further, the span of described default thresholding is 0 to 5 second.
Further, described minimum active link number is re-set as the value that is not more than current active link number, refers to minimum active link number is re-set as the value that equals current active link number.
The present invention also provides automatic recovery device after a kind of IMA equipment fault, comprising:
The group state monitoring module is used for monitoring IMA group state;
Group state machine is restarted module, is used for restarting the IMA group state machine when IMA organizes state at the Insufficent-Links state;
Minimum active link is counted the replacement module, is used for minimum active link number is re-set as the value that is not more than current active link number.
Further, describedly restart the IMA group state machine when IMA group state during at the Insufficent-Links state, be specially:
When IMA organizes state when the duration of Insufficent-Links state surpasses default thresholding, restart the IMA group state machine.
Further, the span of described default thresholding is 0 to 1 hour.
Again further, the span of described default thresholding is 0 to 5 second.
Further, described minimum active link number is re-set as the value that is not more than current active link number, refers to minimum active link number is re-set as the value that equals current active link number.
Beneficial effect of the present invention is as follows:
The present invention is by autoboot IMA group state machine, and reduce minimum active link number, solved in the prior art measured ima protocol when the IMA group state machine is stuck in the Insufficent-Links state, can only manually intervene, and manually the problem that just can enter IMA group state machine rebooting status is disposed in change.The present invention need not manual intervention, autoboot IMA group state machine, and adjust configuration parameter, and make the IMA group can transmit ATM cell, take full advantage of Internet resources.Treat after the network disaster recovery, can the manual amendment dispose, do not affect original network configuration
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
Embodiment of the method
According to embodiments of the invention, automatic recovery method after a kind of IMA equipment fault is provided, the main thought of the method is: the group state of IMA group state machine Real-Time Monitoring oneself, if the IMA group state machine is at the Insufficent-Links state, IMA group state machine autoboot so, and restart as new argument (minimum active link number) with link (link) number of the current active of being in (activation).And report this IMA group of webmaster to restart with new parameter, so that follow-up manual reversion fault or configuration before.
Fig. 2 is the flow chart of automatic recovery method after the IMA equipment fault of the embodiment of the invention, as shown in Figure 2, according to automatic recovery method after the IMA equipment fault of the embodiment of the invention, specifically comprises following processing:
Step 201, IMA group state machine monitoring group state, if IMA group state is at the Insufficent-Links state, then record the minimum active link number that IMA organizes current configuration, comprise that the minimum active link of transmission is counted TXn1 and the minimum active link of reception is counted RXn1, and record the current number of links that is in state of activation, and comprise that the transmission active link is counted TXn2 and the reception active link is counted RXn2, then carry out 202.Otherwise, then do not proceed ima state if do not satisfy above-mentioned condition.
In the embodiment of the invention, the time threshold that the IMA group state machine is restarted can be set, only when IMA group state when the time of Insufficent-Links state continuance surpasses default time threshold T1, the IMA group state machine is restarted in the side.In the embodiment of the invention, default thresholding T1 can get the value in 0 to 1 hour, to get value in 0 to 5 second as good.Certainly, the present invention also can not arrange the reboot time thresholding of IMA group state machine, as long as confirm that IMA group state is the Insufficent-Links state, can implement at any time the inventive method, with autoboot IMA equipment.
Step 202, IMA group state machine autoboot enters startup (startup) state.Certainly, current active link number is not 0 among the present invention, otherwise has lost meaning.
Step 203 is re-set as the value that is not more than current active link number with minimum active link number.
In the embodiment of the invention, can be directly with the value of the current active link number new value as minimum active link number, the value that is about to TXn2 is assigned to TXn1, and the value of RXn2 is assigned to RXn1, and the reporting events user that minimum active link number is adjusted.
Step 204, the group state machine of ima protocol enters the Operational state.
The below organizes as example take the IMA of a link number N=4, and the automatic recovery of how adopting after the inventive method realizes the IMA equipment fault is described.
As shown in Figure 3, at NodeB (base station) and RNC (Radio Network Controller, radio network controller) created an IMA group between the website, the IMA ID of NodeB is 0, the IMAID of RNC is 4, number of links between two websites is 4, suppose it is the pattern of balanced configuration symmetry operation, frame length is fixing all to be M byte, M is natural number, IMA OAM Label (label of ima protocol) is consistent, and the time-out time thresholding T1 of Insufficient-Links state is made as 5 seconds.The minimum active link number of NodeB configuration is TXn1=RXn1=4, the minimum active link number of RNC is TXn1=RXn1=2, and two websites are carved T1 at a time through consulting, the IMA group state machine at two ends all is the Operational state, normal sending and receiving cell between two websites.As shown in Figure 4, carve at a time T2, the link ID between two websites is 3 disconnecting, causes the IMA group state machine of NodeB website to enter the Insufficient-Links state.
The following describes and adopt the inventive method to realize that automatically IMA organizes the Operational state that recovers.
The IMA group state machine monitoring IMA group state of the first step: NodeB end, detecting current active link number is 3, and the minimum active link number of configuration is 4, then IMA group state enters the Insufficent-Links state.After the time that Insufficent-Links continues surpasses 5 seconds, record the current number of links TXn2=RXn2=3 that is in state of activation, and carry out second step.
Second step: IMA group state machine autoboot enters the startup state.
The 3rd step: count TXn1 and reset sending minimum active link, in the embodiment of the invention, give TXn1 with the value of TXn2, the TXn1 after then resetting is 3, and minimum active link number is adjusted into 3 reporting events webmaster.Owing to be symmetric pattern, so with same rule RXn1 and RXn2 are processed simultaneously, RXn1 is reset to 3.
The 4th step: the group state machine of ima protocol carries out original flow process and RNC end in opposite end is held consultation, final IMA group state machine enters the Operational state, IMA group flow status machine is normal, can carry out the ATM cell transmission between two websites, has finished professional automatic recovery.
Device embodiment
According to embodiments of the invention, after being provided, a kind of IMA equipment fault automatically recovers, Fig. 5 is the structural representation of automatic recovery device after the IMA equipment fault of the embodiment of the invention, as shown in Figure 5, automatic recovery device after the IMA equipment fault of the embodiment of the invention, comprise the group state monitoring module 501, group state machine restarts module 502 and minimum active link is counted replacement module 503.Below the modules of the embodiment of the invention is described in detail.
Particularly, group state monitoring module 501 is used for monitoring IMA group state.
Group state machine is restarted module 502, is used for restarting the IMA group state machine when IMA organizes state at the Insufficent-Links state.
In the embodiment of the invention, when IMA organizes state at the Insufficent-Links state, restart the IMA group state machine, be specially: when IMA organizes state when the duration of Insufficent-Links state surpasses default thresholding, restart the IMA group state machine.In the embodiment of the invention, the span of default thresholding can be 0 to 1 hour, and take 0 to 5 second as good especially.
Minimum active link is counted replacement module 503, is used for minimum active link number is re-set as the value that is not more than current active link number.In the embodiment of the invention, can be that minimum active link number is reset the value that equals current active link number.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it also is possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.