Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
When with reference to GSM network shown in Figure 1, the method flow of a kind of uploading link exception information of the embodiment of the invention may further comprise the steps as shown in Figure 2:
Step s201, whether the link that detects betweenBSC 11 and the MGW 12 is normal; If then can finish, otherwise can change step s202.By BFD (BidirectionalForwarding Detection, bidirectional transmission detecting protocol) link betweenBSC 11 and the MGW 12 is detected in the present embodiment.Detection method can regularly send the BFD controlling packet mutually atBSC 11 and 12 of MGW fast as: BFD, detect at receiving terminal, exceed three about fixed cycles and do not receive the BFD bag, judge that then the link betweenBSC 11 and the MGW 12 is unusual, unusual situation comprises disconnection etc., and certainly, decision condition also can be provided with as required, as exceeding four, perhaps about fixed cycle of other numbers does not receive and judges under the situation of BFD bag thatBSC 11 and link between the MGW 12 take place unusually yet.BFD can move on all types of interfaces, and the fast detecting of Millisecond even microsecond level is provided.The embodiment of the invention is not only limited to and adopts BFD to carry out the detection of link, can adopt other mode that detects link that the link betweenBSC 11 and the MGW 12 is detected fully.
Step s202,BSC 11 sends the message of carrying link exception information toMSC 13, and this message of carrying link exception information can be Assignment Failure message, and this link exception information is the link abnormal causation value.In the present embodiment, whenBSC 11 receives assignment request (ASSIGNMENT_REQ) message ofMSC 13, carry IP address and the port ofMGW 12 in this assignment request message,BSC 11 returns Assignment Failure message (ASSIGNMENT_FAILURE), carry the link abnormal causation value in this message, for example as: the link abnormal causation value is 1011000, and then corresponding " IP mistake between BSC and the MGW " shows the link failure betweenBSC 11 and the MGW 12.An example of failure reason value and corresponding definition thereof can be as shown in table 1 below.
Table 1
Wherein, adopt 1011000 in the present embodiment, 1011000 cause values that are defined as reservation in former agreement as the link abnormal causation value.The embodiment of the invention is not only limited to and adopts 1011000 as the link abnormal causation value, the cause value that can also adopt other any one reservation is as the link abnormal causation value, carry out the notice of user's face break-make, unusual to show the link betweenBSC 11 and the MGW 12.
Further, after MSC 13 receives this Assignment Failure message of carrying the link abnormal causation value, can stop the signaling assignment procedure, discharge resource.
In the A of GSM network interface IPization scheme, when the link between BSC and the MGW takes place when unusual, present embodiment sends the message of carrying link exception information by BSC to MSC, makes MSC stop assignment procedure, thereby has prevented that signaling plane from leading to and the obstructed problem of user's face.
When with reference to GSM network shown in Figure 1, the method flow of the another kind of uploading link exception information that the embodiment of the invention disclosed may further comprise the steps as shown in Figure 3:
Step s301, whether the link that detects betweenBSC 11 and the MGW 12 is normal; If, then can process ends, otherwise can change step s302.By BFD the link betweenBSC 11 and the MGW12 is detected in the present embodiment.The embodiment of the invention is not only limited to and adopts BFD to carry out the detection of link, can also adopt other mode that detects link that the link betweenBSC 11 and the MGW 12 is detected.
Step s302, MGW 12 sends the message of carrying link exception information to MSC 13, and this message of carrying link exception information can be the Modify response message.In the present embodiment, when MGW 12 receives Modify request (MOD_REQ) message of MSC 13, carry IP address and the port of MGW 12 in this message, MGW 12 returns Modify response message (MOD_Rsp), carry link exception information in this message, unusual to show the link betweenBSC 11 and the MGW 12.
Further, after MSC 13 receives this Modify response message that carries link exception information, can stop the signaling assignment procedure, discharge resource.
After the A of GSM network interface IPization, when the link between BSC and the MGW takes place when unusual, present embodiment sends the message carry link exception information by MGW to MSC, makes MSC stop assignment procedure, thereby has prevented the logical and appearance of the problem that user's face is obstructed of signaling plane.
A kind of example structure of GSM network comprisesBSC 41, router four 2, MGW43 and MSC 44 as shown in Figure 4.Wherein router four 2 is connected with MGW 43 withBSC 41 respectively, and MSC 44 communicates withBSC 41 and MGW 43 respectively.
When with reference to GSM network shown in Figure 4, the embodiment of the invention has disclosed a kind of method flow of uploading link exception information, as shown in Figure 5, the scheme of present embodiment, link occurs unusual betweenBSC 41 and router four 2, and betweenMGW 43 and the router four 2 under the normal situation of link, the present embodiment method may further comprise the steps:
Step s501, whether the link that detects betweenBSC 41 and the MGW 43 is normal; If then can finish, otherwise can change step s502.Because the link in the present embodiment betweenBSC 41 and the router four 2 occurs unusual, so the link betweenBSC 41 and the MGW 43 also is unusual.
Step s502,BSC 41 sends the message of carrying link exception information to MSC 44, and this message of carrying link exception information can be Assignment Failure message, and this link exception information comprises the link abnormal causation value.In the present embodiment, whenBSC 41 receives assignment request (ASSIGNMENT_REQ) message of MSC 44, carry IP address and the port ofMGW 43 in this message,BSC 41 returns Assignment Failure message (ASSIGNMENT_FAILURE), carry the link abnormal causation value in this message, the link abnormal causation value is 1011000, and corresponding " IP mistake between BSC and the MGW " is to show the link failure between BSC41 and the MGW43.An example of failure reason value and corresponding definition thereof can be as shown in table 2 below.
Table 2
Wherein, adopt 1011000 in the present embodiment, 1011000 cause values that are defined as reservation in former agreement as the link abnormal causation value.The embodiment of the invention is not only limited to and adopts 1011000 as the link abnormal causation value, the cause value that can also adopt other any one reservation is as the link abnormal causation value, carry out the notice of user's face break-make, to show the link failure betweenBSC 41 and the MGW 43.
Further, after MSC 44 receives this Assignment Failure message of carrying the link abnormal causation value, can stop the signaling assignment procedure, discharge resource.
After the A of GSM network interface IPization, when the link between BSC and the MGW takes place when unusual, present embodiment sends the message of carrying link exception information by BSC to MSC, makes MSC stop assignment procedure, thereby has prevented the logical and obstructed problem of user's face of signaling plane.
When with reference to GSM network shown in Figure 4, the embodiment of the invention has disclosed the method for another kind of uploading link exception information, flow process as shown in Figure 6, in the present embodiment scheme, link is normal betweenBSC 41 and router four 2, and link occurs under the unusual situation betweenMGW 43 and the router four 2.With reference to Fig. 6, may further comprise the steps:
Step s601, whether the link that detects betweenBSC 41 and the MGW 43 is normal; If then can finish, otherwise can change step s602.Because in the present embodiment between MGW 43 and the router four 2 link occur unusual, so the link betweenBSC 41 and the MGW 43 also is unusual.
Step s602, MGW 43 sends the message of carrying link exception information to MSC 44, and this message of carrying link exception information can be the Modify response message.In the present embodiment, when MGW 43 receives Modify request (MOD_REQ) message of MSC 44, carry IP address and the port of MGW 43 in this message, MGW 43 returns Modify response message (MOD_Rsp), carry link exception information in this message, unusual to show the link betweenBSC 41 and the MGW 43.
Further, after MSC 44 receives this Modify response message that carries link exception information, can stop the signaling assignment procedure, discharge resource.
After the A of GSM network interface IPization, when the link between BSC and the MGW takes place when unusual, present embodiment sends the message of carrying link exception information by MGW to MSC, makes MSC stop assignment procedure, thereby has prevented the logical and obstructed problem of user's face of signaling plane.
The structural representation of a kind of GSM network of the embodiment of the invention comprises BSC71, MGW72 and MSC73 as shown in Figure 7, and BSC71 communicates with MGW72 and MSC73 respectively by the A interface, and MGW72 is connected to MSC73.Wherein can be called signaling plane usually between MSC73 and the BSC71 and be connected, can be called user's face usually between MGW72 and the BSC71 and be connected.When the link between BSC71 and the MGW72 takes place when unusual, BSC71 or MGW72 send the message of carrying link exception information to MSC73.When BSC71 sends when carrying the message of link exception information to MSC73, described message of carrying link exception information is Assignment Failure message, and described link exception information is the link abnormal causation value; When MGW72 sends when carrying the message of link exception information to MSC73, described message of carrying link exception information is the Modify response message.
BSC71 comprises the firstlink detecting unit 711 and first message generation unit 712.The firstlink detecting unit 711 communicates with MGW72, and whether the link that is used to detect between BSC71 and the MGW72 is normal; Firstmessage generation unit 712 communicates with MSC73, is used to generate the message of carrying link exception information, and described message of carrying link exception information is Assignment Failure message, and described link exception information is the link abnormal causation value.
MGW72 comprises the secondlink detecting unit 721 and second message generation unit 722.The secondlink detecting unit 721 communicates with BSC71, and whether the link that is used to detect between MGW72 and the BSC71 is normal; Secondmessage generation unit 722 communicates with MSC73, is used to generate the message of carrying link exception information, and described message of carrying link exception information is the Modify response message.
After the A of GSM network interface IPization, when the link between BSC and the MGW takes place when unusual, the embodiment of the invention sends the message of carrying link exception information by BSC or MGW to MSC, makes MSC stop assignment procedure, thereby has prevented that signaling plane from leading to and the obstructed problem of user's face.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to background technology in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is embodiments of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.