Report the method for distributed signaling gateway link failure
Technical field
The present invention relates to the method that fault reports in a kind of communication system, particularly a kind of method that reports fault in the distributed signaling gateway.
Background technology
Along with the fast development of internetworking agreement (Internet Protocol is called for short " IP ") network, the business that IP network provides is more and more, and audio medium stream and image media stream also generally transmit by IP network.
The characteristics of IP gateway are to make operator can utilize existing telephone-switching network, transmit these Media Streams on IP network.Present IP gateway has realized separating of professional, professional control and signaling.
On structure, IP gateway is made up of three parts: SGW (Signaling Gateway, abbreviation " SG "), media gateway (Media Gateway is called for short " MG ") and Media Gateway Controller (Media Gateway Controller is called for short " MGC ").
Wherein, SG is responsible for processing signaling message, with its termination, translation or relaying; MG is responsible for handling Media Stream, and Media Stream is delivered to IP network or give the arrowband net after being unpacked after IP network receives from arrowband net packing; MGC is responsible for the registration and the management of the resource of MG, and calls out control.
SG transmits (Signalling Transport with the general signaling that adopts between the MGC, be called for short " SIGTRAN ") protocol stack communication, the SIGTRAN stack comprise the integrated services digital network network Q.921 the user adaptive (ISDN is Adaptation Q.921-User, abbreviation " IUA "), adaptive (the LAPV5 User Adaptation of links and accesses protocol version 5 users, abbreviation " V5UA "), the adaptive user's adapting protocols such as (MTP2 User Adaptation are called for short " M2UA ") of message transfer part 2 users.
When the E1/T1 link occurs fault, SGW central processing unit (Central ProcessingUnit, be called for short " CPU ") can be according to links and accesses protocol version 5 (Link Access Protocol for V5, abbreviation " LAPV5 "), Q921 agreement or message transfer part 2 (Message Transfer Part 2, abbreviation " MTP2 ") protocol detection is to this fault, and initiatively report V5UA, IUA or M2UA, connect circular by IP again and give MGC, make MGC know the state of corresponding signaling link very soon.
The latest developments situation that relevant V5UA, IUA are current, can be with reference to the pertinent literature of the Internet engineering duty group (INTERNET ENGINEERING TASK FORCE, be called for short " IETF "):
《RFC3057,ISDN?Q.921-User?Adaptation?Layer》;
《Draft-ietf-sigtran-v5ua-03》;
《Draft-ietf-sigtran-iua-imp-guide-01》。
In actual applications, there is following problem in such scheme: when a SGW CPU in the distributed treatment SGW broke down, MGC can't obtain the LAPV5 of described fault CPU maintenance and the Trouble Report of Q.921 signaling link.
Cause a main cause of this situation to be, for LAPV5 and Q.921 signaling link, need know end point sign (the Terminal endpoint identifier of respective link, abbreviation " TEI "), service access point identifier (Server Access Point Identifier, be called for short " SAPI ") and encapsulation function address (Envelope Function Address, be called for short " EFA "), could construct the fault reporting message and report MGC.And these parameters are to safeguard on the SGW CPU that breaks down, and do not preserve among other SGW CPU.After original SGW CPU broke down, these parameters were all lost, therefore according to existing IUA and V5UA agreement, can't initiatively report signaling link failure to give MGC.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of method that reports distributed signaling gateway link failure, after making that some SGW CPU break down in the multiple step format processing signaling gateway, MGC can in time obtain the Trouble Report of corresponding Q921 and LAPV5 link.
In order to solve the problems of the technologies described above, the invention provides a kind of method that reports distributed signaling gateway link failure, may further comprise the steps:
A SGW central processing unit breaks down in the A distributed signaling gateway;
Other normal SGW central processing unit inquiries and the relevant narrow-band signaling link of described SGW central processing unit that breaks down in the described distributed signaling gateway of B;
Described other the normal SGW central processing unit structure fault reporting messages of C, send to Media Gateway Controller, the signalling path parameter in the described fault reporting message extends this as the invalid value of making an appointment between SGW central processor CPU and the media gateway controller MGC;
The described Media Gateway Controller of D is resolved the fault reporting message from the SGW central processing unit, if the signalling path parameter that is resolved to is described invalid value of making an appointment, then carry out adaptive and processing to described signalling path parameters all on the described narrow-band signaling link.
Wherein, described signalling path parameter comprises the end point sign.
Described signalling path parameter comprises the service access point identifier.
Described signalling path parameter comprises the encapsulation function address.
Described other normal SGW central processing units are SGW central processing units that all can operate as normal except the SGW central processing unit of fault.
Described other normal SGW central processing units are preassigned SGW central processing units except the SGW central processing unit of fault.
The invalid value of making an appointment between described SGW CPU and the MGC is the fixed value beyond the normal span of signalling path parameter.
By relatively finding, technical scheme difference with the prior art of the present invention is, by other normal SGW CPU inquiries and the relevant narrow-band signaling link of SGW CPU that breaks down in the distributed signaling gateway, structure fault reporting message, be notified to MGC, the signalling path parameter in the described fault reporting message extends this as the invalid value of making an appointment; After MGC receives the described fault reporting message that is filled with the invalid value of making an appointment, carry out adaptive and processing to described signalling path parameters all on the described narrow-band signaling link.
Difference on this technical scheme, brought comparatively significantly beneficial effect, promptly when some SGW CPU break down, MGC can in time obtain the Q921 of described SGW CPU maintenance of breaking down and the Trouble Report of LAPV5 link, be convenient to make corresponding processing in time, improved the reliability of whole system.
Description of drawings
Fig. 1 is the flow chart that distributed signaling gateway link failure according to an embodiment of the invention reports.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 shows the flow chart that distributed signaling gateway link failure according to an embodiment of the invention reports.
When a SGW CPU breaks down in the distributed signaling gateway, in step 100, other normal SGW CPU inquiries and the relevant narrow-band signaling link of SGW CPU that breaks down in the distributed signaling gateway.In general distributed signaling gateway, there are a plurality of SGW CPU to work simultaneously, a table is all arranged among each SGW CPU, deposit all SGW CPU in the table and go up the narrow-band signaling link of safeguarding.When a SGW CPU broke down in the distributed signaling gateway, other normal SGW CPU just can search this table, knew which narrow-band signaling link safeguarded by this fault CPU.It is multiple that SGW CPU finds that method that another SGW CPU breaks down has, and in a preferred embodiment of the present invention, finds the fault of SGW CPU by heartbeat detection.Specifically, exist one to be exclusively used in and to safeguard SGW CPU status detection CPU, this detects CPU and regularly sends detection information to each SGW CPU, SGW CPU replys self current state at once after receiving described detection information, if detection CPU can't receive the answer from certain SGW CPU in a long time, think that then fault has taken place this SGW CPU, detect CPU and send failure message to other SGWs CPU this moment, notifies the identification number of the SGW CPU that they break down.
Then enter step 200, in this step, other normal SGW CPU structure fault reporting messages, and send to MGC, the signalling path parameter in the wherein said fault reporting message extends this as the invalid value of making an appointment.Need to prove that the form of fault reporting message is fixed, in the document " RFC3057, ISDN be Adaptation Layer Q.921-User " of IETF, have a detailed description.For LAPV5 and Q.921 signaling link, the signalling path parameter has multiple, for example, and TEI, SAPI and EFA.It also can be a plurality of that described other normal SGW CPU can be one, in a preferred embodiment of the present invention, the equal standalone configuration fault of every other SGW CPU reporting message except that fault CPU, signalling path parameter in the fault reporting message is extended this as the invalid value of making an appointment, send to MGC then respectively.The benefit of doing like this is reliable, guarantees that MGC can receive the fault reporting message.In another embodiment of the present invention, have only a preassigned SGW CPU to carry out the structure and the transmission of fault reporting message, the scheme that realizes also has multiple, for example, in advance all SGW CPU are set fault and report priority, in normal SGW CPU, select a fault and report the highest CPU of priority to carry out the structure and the transmission of fault reporting message.
In addition, the invalid value of mentioning in the step 200 of making an appointment can be a normal signalling path parameter get less than fixed value, for example under normal circumstances the value of certain parameter can only be a positive integer, so can be with 0 as the invalid value of making an appointment, the meaning of making an appointment here is meant between SGW CPU and MGC reaches an agreement in advance.
Then enter step 300, MGC resolves it after receiving the fault reporting message, if the signalling path parameter that is resolved to is the invalid value of making an appointment, then carries out adaptive to signalling path parameters all on the narrow-band signaling link that breaks down and processing.Need to prove that the fault reporting message that MGC receives both may cause because of the SGW cpu fault, also may cause because of other narrow-band signaling link faults.All fault reporting messages all can send to MGC from each SGW CPU, and MGC does different processing after resolving.
In addition, MGC carries out adaptive mode with processing to the signalling path parameter also multiple implementation in different systems, and for example, MGC can all delete TEI all on the narrow-band signaling link that breaks down, SAPI and EFA.
Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.