CN102164055A - Detection processing method and device for signaling connection control part (SCCP) loop - Google Patents
Detection processing method and device for signaling connection control part (SCCP) loop Download PDFInfo
- Publication number
- CN102164055A CN102164055A CN2011100468592A CN201110046859A CN102164055A CN 102164055 A CN102164055 A CN 102164055A CN 2011100468592 A CN2011100468592 A CN 2011100468592A CN 201110046859 A CN201110046859 A CN 201110046859A CN 102164055 A CN102164055 A CN 102164055A
- Authority
- CN
- China
- Prior art keywords
- network element
- sccp
- message
- loop
- connectionless service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 38
- 230000011664 signaling Effects 0.000 title claims description 16
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 28
- 238000013519 translation Methods 0.000 claims description 30
- 230000009191 jumping Effects 0.000 claims 5
- 230000002708 enhancing effect Effects 0.000 claims 1
- 230000014616 translation Effects 0.000 description 29
- 238000012360 testing method Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q3/00—Selecting arrangements
- H04Q3/0016—Arrangements providing connection between exchanges
- H04Q3/0025—Provisions for signalling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种SCCP环路的检测处理方法,包括:第一网元对第二网元发来的无连接业务消息进行GT路由处理;根据路由结果,判断无连接业务消息中的被叫地址是否被修改,且路由的下一跳网元是否为所述第二网元;如果被叫地址没有修改且路由的下一跳网元是第二网元,则确定在第一网元和第二网元之间产生了SCCP环路。由于通过路由结果判断在两个网元之间是否存在SCCP环路,效率更高,且适用范围更广。另外,将基于跳计数器实现SCCP环路检测的操作提前在业务处理前进行,避免了SCCP环路检测延时对业务造成的影响。
A method for detecting and processing an SCCP loop, comprising: a first network element performs GT routing processing on a connectionless service message sent by a second network element; according to the routing result, it is judged whether the called address in the connectionless service message has been modified , and whether the next-hop network element of the route is the second network element; if the called address has not been modified and the next-hop network element of the route is the second network element, then determine whether the first network element and the second network element An SCCP loop is created between them. Since it is judged whether there is an SCCP loop between two network elements through the routing result, the efficiency is higher and the scope of application is wider. In addition, the operation of realizing the SCCP loop detection based on the hop counter is performed in advance before the service processing, so as to avoid the impact of the SCCP loop detection delay on the service.
Description
技术领域technical field
本发明实施例涉及网络通信技术领域,尤其涉及一种SCCP(Signaling Connection Control Part,信令连接控制部分)环路的检测处理方法及装置。Embodiments of the present invention relate to the technical field of network communication, and in particular to a SCCP (Signaling Connection Control Part, signaling connection control part) loop detection and processing method and device.
背景技术Background technique
SCCP协议作为No.7(Signaling System No.7,7号信令系统)的重要成员,广泛应用于通信网络中。如果通信网络中的不同网元之间的数据规划出现冲突,会导致消息的SCCP层出现环路(即SCCP环路),使得消息在多个网元之间震荡,占用大量网络带宽和CPU(Central Processing Unit,中央处理器)资源。As an important member of No.7 (Signaling System No.7, No. 7 signaling system), the SCCP protocol is widely used in communication networks. If there is a conflict in the data planning between different network elements in the communication network, it will cause a loop at the SCCP layer of the message (that is, an SCCP loop), causing the message to oscillate among multiple network elements, occupying a large amount of network bandwidth and CPU ( Central Processing Unit, central processing unit) resources.
针对无连接业务消息中的XUDT(Extended unitdata,增强单位数据)消息和LUDT(Long unitdata,长单位数据)消息,SCCP协议规定了“跳计数器”参数,并提出了基于“跳计数器”参数实现SCCP环路检测的方法,该方法工作原理如下:跳计数器的初始值为15,数据业务传递过程中,XUDT消息或LUDT消息每进行一次GT(Global Title)翻译,其中的跳计数器值减一,当跳计数器值为0时,表示在传递该消息的网元之间出现了SCCP环路。此时,丢弃该消息并发出告警信息。For the XUDT (Extended unitdata, enhanced unit data) message and LUDT (Long unitdata, long unit data) message in the connectionless service message, the SCCP protocol stipulates the "hop counter" parameter, and proposes to implement SCCP based on the "hop counter" parameter. The method of loop detection, the working principle of this method is as follows: the initial value of the hop counter is 15, during the data service transmission process, each time the GT (Global Title) translation is performed for the XUDT message or LUDT message, the hop counter value is decremented by one, when When the hop counter value is 0, it indicates that an SCCP loop occurs between the network elements that transmit the message. At this point, the message is discarded and a warning message is issued.
发明人在实现本发明的过程中,发现现有技术中至少存在如下问题:In the process of realizing the present invention, the inventor found that at least the following problems existed in the prior art:
现有的SCCP环路检测方法仅适用于XUDT消息或LUDT消息,对其他无连接业务消息则无法检测出SCCP环路。The existing SCCP loop detection method is only applicable to XUDT messages or LUDT messages, and cannot detect SCCP loops for other connectionless service messages.
发明内容Contents of the invention
本发明的实施例提供了一种SCCP环路检测的方法及装置,从而解决现有的SCCP环路检测仅适用于XUDT消息或LUDT消息的问题。Embodiments of the present invention provide a method and device for SCCP loop detection, thereby solving the problem that the existing SCCP loop detection is only applicable to XUDT messages or LUDT messages.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
一种信令连接控制部分SCCP环路的检测处理方法,包括:A method for detecting and processing an SCCP loop in a signaling connection control part, comprising:
第一网元对第二网元发来的无连接业务消息进行全局码GT路由处理;The first network element performs global code GT routing processing on the connectionless service message sent by the second network element;
所述第一网元根据路由结果,判断所述无连接业务消息中的被叫地址是否被修改,且路由的下一跳网元是否为所述第二网元;The first network element determines whether the called address in the connectionless service message is modified according to the routing result, and whether the next-hop network element of the route is the second network element;
如果所述被叫地址未被修改,且路由的下一跳网元是所述第二网元,则确定在所述第一网元和所述第二网元之间产生了SCCP环路。If the called address is not modified and the next-hop network element of the route is the second network element, it is determined that an SCCP loop is generated between the first network element and the second network element.
一种信令连接控制部分SCCP环路的检测处理装置,包括:A device for detecting and processing an SCCP loop of a signaling connection control part, comprising:
路由处理模块,用于对第二网元发来的无连接业务消息进行全局码GT路由处理;A routing processing module, configured to perform global code GT routing processing on the connectionless service message sent by the second network element;
环路检测模块,用于根据所述路由处理模块的路由结果,判断所述无连接业务消息中的被叫地址是否被修改,且路由的下一跳网元是否为所述第二网元;如果所述被叫地址未被修改且所述路由的下一跳网元是所述第二网元,则确定在本地网元和所述第二网元之间产生了SCCP环路。A loop detection module, configured to determine whether the called address in the connectionless service message has been modified and whether the next-hop network element of the route is the second network element according to the routing result of the routing processing module; If the called address is not modified and the next-hop network element of the route is the second network element, it is determined that an SCCP loop is generated between the local network element and the second network element.
由于现有的基于跳计数器实现SCCP环路检测的方法,需要进行15次GT翻译之后才能检测到SCCP环路,且其仅适用于XUDT消息或LUDT消息的SCCP环路检测。由上述本发明的实施例提供的技术方案可以看出,本发明提供的一种实施例中,通过GT路由结果判断在两个网元之间是否存在SCCP环路,而不需要基于跳计数器进行检测,由于GT路由适用于所有类型的无连接业务消息,因此本发明实施例提供的技术方案较之现有的SCCP环路检测方式效率更高,且适用范围更广。Due to the existing method for implementing SCCP loop detection based on the hop counter, the SCCP loop can only be detected after 15 GT translations, and it is only applicable to the SCCP loop detection of XUDT messages or LUDT messages. It can be seen from the above-mentioned technical solutions provided by the embodiments of the present invention that in one embodiment provided by the present invention, it is judged whether there is an SCCP loop between two network elements based on the GT routing results, without the need for hop counters. For detection, since GT routing is applicable to all types of connectionless service messages, the technical solution provided by the embodiment of the present invention is more efficient than the existing SCCP loop detection method and has a wider application range.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1为本发明第一实施例提供的一种方法流程图;Fig. 1 is a flow chart of a method provided by the first embodiment of the present invention;
图2为本发明第二实施例提供的方法流程图;Fig. 2 is a flow chart of the method provided by the second embodiment of the present invention;
图3为本发明第三实施例提供的方法流程图;Fig. 3 is a flow chart of the method provided by the third embodiment of the present invention;
图4为本发明第四实施例提供的方法流程图;FIG. 4 is a flowchart of a method provided by a fourth embodiment of the present invention;
图5为本发明第五实施例提供的方法流程图;Fig. 5 is a flow chart of the method provided by the fifth embodiment of the present invention;
图6为本发明装置实施例结构示意图。Fig. 6 is a schematic structural diagram of an embodiment of the device of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明第一实施例提供一种SCCP环路的检测处理方法,其处理过程如图1所示,具体实现方式如下:The first embodiment of the present invention provides a method for detecting and processing an SCCP loop, the processing process of which is shown in Figure 1, and the specific implementation is as follows:
S101、第一网元对第二网元发来的无连接业务消息进行GT路由处理;S101. The first network element performs GT routing processing on the connectionless service message sent by the second network element;
在本发明实施例中,将进行SCCP环路检测的本地网元称为第一网元,将向第一网元发送无连接业务消息的网元称为第二网元。这里的GT路由处理可以为GT翻译,即根据SCCP层的地址,找到一个可达的信令点。In the embodiment of the present invention, the local network element performing SCCP loop detection is called the first network element, and the network element sending the connectionless service message to the first network element is called the second network element. The GT routing processing here can be translated for the GT, that is, to find a reachable signaling point according to the address of the SCCP layer.
其中,无连接业务消息可以包括:UDT消息,或XUDT消息,或LUDT消息等。Wherein, the connectionless service message may include: UDT message, or XUDT message, or LUDT message, etc.
S102、上述第一网元根据路由结果,判断上述无连接业务消息中的被叫地址是否被修改,且下一跳网元是否为所述第二网元,如果被叫地址未被修改且下一跳网元是第二网元,执行S103,否则,执行S104;S102. The above-mentioned first network element determines whether the called address in the above-mentioned connectionless service message has been modified according to the routing result, and whether the next-hop network element is the second network element. If the called address has not been modified and the next The first-hop network element is the second network element, execute S103, otherwise, execute S104;
S103、上述第一网元确定在上述第一网元和上述第二网元之间产生了SCCP环路;S103. The first network element determines that an SCCP loop is generated between the first network element and the second network element;
S104、上述第一网元根据路由结果,将上述无连接业务消息转发给下一跳网元。S104. The above-mentioned first network element forwards the above-mentioned connectionless service message to the next-hop network element according to the routing result.
其中,第一网元在接收到上述无连接业务消息后,对无连接业务消息进行GT翻译,如果GT翻译之后,被叫地址被修改,则不会产生SCCP环路。例如,如果第一网元确定下一跳网元即为该无连接业务消息的目的地址指向的网元,则将被叫地址中的路由指示修改为SSN路由,这样,在无连接业务消息到达下一跳后不再进行GT翻译,因此不会产生SCCP环路。或者,如果第一网元在GT翻译过程中修改了被叫地址的GT码,则GT翻译结果为DPC+修改后的GT,这样,即使确定的路由的下一跳网元是第二网元,第二网元接收到该无连接业务消息后,由于被叫地址中的GT码被修改,因此第二网元进行GT路由后确定的下一跳网元不再是第一网元,因此不会产生SCCP环路。Wherein, the first network element performs GT translation on the connectionless service message after receiving the connectionless service message, and if the called address is modified after the GT translation, an SCCP loop will not be generated. For example, if the first network element determines that the next-hop network element is the network element pointed to by the destination address of the connectionless service message, then the routing indication in the called address is modified to an SSN route, so that when the connectionless service message arrives There is no GT translation after the next hop, so there is no SCCP loop. Or, if the first network element modifies the GT code of the called address during the GT translation process, the GT translation result is DPC + the modified GT. In this way, even if the next-hop network element of the determined route is the second network element, After the second network element receives the connectionless service message, because the GT code in the called address is modified, the next-hop network element determined by the second network element after performing GT routing is no longer the first network element, so it does not An SCCP loop will be generated.
上述本发明实施例中,由于通过路由结果判断在两个网元之间是否存在SCCP环路,是一种快速检测方法,较之现有的SCCP环路检测方式效率更高。另外,由于基于GT路由结果判断是否产生SCCP环路,还可以适用于UDT消息的SCCP环路检测,且适用于所有类型的无连接业务消息,较之基于跳计数器检测SCCP环路的现有技术,适用范围更广。In the above embodiments of the present invention, judging whether there is an SCCP loop between two network elements based on the routing result is a fast detection method, which is more efficient than the existing SCCP loop detection method. In addition, since it is judged whether an SCCP loop occurs based on the GT routing result, it can also be applied to the SCCP loop detection of UDT messages, and is applicable to all types of connectionless service messages, compared with the prior art of detecting SCCP loops based on hop counters , with a wider scope of application.
上述本发明实施例提供的方法,确定在上述第一网元和上述第二网元之间产生了SCCP环路之后,还可以包括:The method provided by the above-mentioned embodiment of the present invention may further include:
S105、上述第一网元构造用于返回故障信息的无连接业务消息,该用于返回故障信息的无连接业务消息中携带发现SCCP环路信息;S105. The above-mentioned first network element constructs a connectionless service message for returning fault information, and the connectionless service message for returning fault information carries SCCP loop discovery information;
其中,用于返回故障信息的无连接业务消息可以但不仅限于包括:如果第二网元发来的无连接业务消息是UDT消息,则用于返回故障信息的无连接业务消息是UDTS消息;或者,如果第二网元发来的无连接业务消息是XUDT消息,则用于返回故障信息的无连接业务消息是XUDTS消息;或者,如果第二网元发来的无连接业务消息是LUDT消息,则用于返回故障信息的无连接业务消息是LUDTS消息等。Wherein, the connectionless service message used to return the fault information may include, but is not limited to: if the connectionless service message sent by the second network element is a UDT message, the connectionless service message used to return the fault information is a UDTS message; or , if the connectionless service message sent by the second network element is an XUDT message, the connectionless service message used to return the fault information is an XUDTS message; or, if the connectionless service message sent by the second network element is a LUDT message, Then the connectionless service message used to return the fault information is a LUDTS message or the like.
S106、上述第一网元将该用于返回故障信息的无连接业务消息发送给上述第二网元。S106. The above-mentioned first network element sends the connectionless service message for returning the fault information to the above-mentioned second network element.
通过上述操作,使得第二网元获知在其与第一网元之间产生了SCCP环路,进而可以采取进一步的措施,例如,上报告警消息等。Through the above operations, the second network element is informed that an SCCP loop has occurred between itself and the first network element, and further measures can be taken, such as reporting an alarm message.
本发明实施例中,上述S102具体实现方式如下:In the embodiment of the present invention, the specific implementation of the above S102 is as follows:
如果GT翻译的结果为DPC(目的地信令点编码)+上述无连接业务消息原被叫地址中的GT,则确定该无连接业务消息没有被修改;如果该DPC是上述第二网元的SPC(Signaling Point Code,信令点编码),则确定路由的下一跳网元是该第二网元;If the result of GT translation is DPC (Destination Point Code)+GT in the original called address of the above-mentioned connectionless service message, it is determined that the connectionless service message has not been modified; if the DPC is the above-mentioned second network element SPC (Signaling Point Code, signaling point code), then determine that the next hop network element of the route is the second network element;
如果第一网元在GT翻译过程中对被叫地址进行了修改,该第一网元可以进行修改标记,则在判断时,该第一网元根据修改标记获知自身是否对被叫地址进行了修改。If the first network element has modified the called address during the GT translation process, the first network element can mark the modification, and when judging, the first network element knows whether it has modified the called address according to the modification mark. Revise.
本发明实施例还提供另一种SCCP环路的检测方法,其实现方式如下:The embodiment of the present invention also provides another SCCP loop detection method, which is implemented in the following manner:
网元在入网之前或者完成数据规划后,且进行数据传输之前,基于跳计数器进行SCCP环路检测。The NE performs SCCP loop detection based on the hop counter before entering the network or after completing data planning and before data transmission.
在这种实现方式中,将基于跳计数器实现SCCP环路检测的操作提前在业务处理前进行,较之现有技术在业务进行中进行SCCP环路检测,避免了SCCP环路检测延时对业务造成的影响。In this implementation mode, the operation of implementing SCCP loop detection based on the hop counter is performed in advance before business processing. Compared with the prior art, SCCP loop detection is performed during the business process, which avoids the impact of SCCP loop detection delay on business. impact.
下面将对本发明实施例在实际应用过程中的具体实现方式进行详细的说明。The specific implementation manner of the embodiment of the present invention in the actual application process will be described in detail below.
第二实施例second embodiment
在本发明第二实施例中,第一网元和第二网元均是No.7信令网元,第一网元的SPC是11,第二网元的SPC是22。则,本发明第二实施例的处理过程如图2所示,具体实现方式如下:In the second embodiment of the present invention, both the first network element and the second network element are No.7 signaling network elements, the SPC of the first network element is 11, and the SPC of the second network element is 22. Then, the processing procedure of the second embodiment of the present invention is shown in Figure 2, and the specific implementation is as follows:
S201、第一网元接收来自第二网元的UDT消息,所述UDT消息的路由方式为GT路由;S201. The first network element receives a UDT message from the second network element, and the routing mode of the UDT message is GT routing;
S202、上述第一网元对上述UDT消息进行GT翻译,在本发明第二实施例中,GT翻译的结果为22+原被叫地址中的GT;S202. The above-mentioned first network element performs GT translation on the above-mentioned UDT message. In the second embodiment of the present invention, the result of GT translation is 22+GT in the original called address;
S203、上述第一网元确定在第一网元与第二网元之间出现了SCCP环路;S203. The above-mentioned first network element determines that an SCCP loop occurs between the first network element and the second network element;
在GT路由过程中,如果网元确定下一跳网元即为无连接业务消息的目的地址指向的网元,则在GT翻译过程中,将路由指示设置为SSN(Sub-System Number,子系统编码)路由,且GT翻译的结果为:DPC;如果网元无法确定下一跳网元就是无连接业务消息的目的地址指向的网元,则GT翻译的结果为:DPC+原被叫地址中的GT,这种情况下,没有对被叫地址进行修改。如果第一网元对上述无连接业务消息进行GT翻译的结果是22+原被叫地址中的GT,则表示无连接业务消息中的被叫地址没有被修改,且该无连接被叫地址的下一跳网元是第二网元,第二网元在接收到该无连接业务消息后,根据原被叫地址进行GT翻译,确定的路由的下一跳网元仍然是第一网元,因此产生SCCP环路。In the GT routing process, if the network element determines that the next-hop network element is the network element pointed to by the destination address of the connectionless service message, then in the GT translation process, the routing indication is set to SSN (Sub-System Number, subsystem code) routing, and the result of GT translation is: DPC; if the network element cannot determine that the next-hop network element is the network element pointed to by the destination address of the connectionless service message, the result of GT translation is: DPC + the original called address GT, in this case, the called address is not modified. If the result of GT translation performed by the first network element on the connectionless service message is 22+GT in the original called address, it means that the called address in the connectionless service message has not been modified, and the connectionless called address The next-hop network element is the second network element. After receiving the connectionless service message, the second network element performs GT translation according to the original called address, and the next-hop network element of the determined route is still the first network element. Hence an SCCP loop is created.
S204、上述第一网元丢弃上述UDT消息,以避免该UDT消息在第一网元和第二网元之间震荡;S204. The first network element discards the UDT message, so as to prevent the UDT message from oscillating between the first network element and the second network element;
S205、上述第一网元构造UDTS消息,并将该UDTS消息发送给上述第二网元;S205. The first network element constructs a UDTS message, and sends the UDTS message to the second network element;
该UDTS消息的主叫地址为上述UDT消息中的被叫地址,该UDTS消息的被叫地址为上述UDT消息的主叫地址,该UDTS消息中返回原因字段的内容为“检出SCCP层的环路”(其中,返回原因字段还可以是其他表示出现SCCP环路的描述),该UDTS消息中其他字段内容同上述UDT消息;The calling address of the UDTS message is the called address in the above UDT message, the called address of the UDTS message is the calling address of the above UDT message, and the content of the reason field returned in the UDTS message is "detected SCCP layer ring "Road" (wherein, the return cause field can also be other descriptions indicating that an SCCP loop occurs), and the content of other fields in the UDTS message is the same as the above UDT message;
S206、上述第一网元向操作维护中心发出告警,以便操作维护中心修改数据配置,彻底消除SCCP环路。其中,操作维护中心修改数据配置的实现方式可以但不仅限于:由操作人员手动操作实现。S206. The above-mentioned first network element sends an alarm to the operation and maintenance center, so that the operation and maintenance center can modify the data configuration and completely eliminate the SCCP loop. Wherein, the implementation manner of modifying the data configuration by the operation and maintenance center may be, but not limited to: manual operation by an operator.
上述本发明第二实施例中,由于基于GT路由结果判断是否产生SCCP环路,可以适用于UDT消息的SCCP环路检测,较之基于跳计数器检测SCCP环路的现有技术,适用范围更广。In the above-mentioned second embodiment of the present invention, since it is judged whether an SCCP loop occurs based on the GT routing result, it can be applied to the SCCP loop detection of UDT messages, and has a wider scope of application than the prior art of detecting SCCP loops based on hop counters .
第三实施例third embodiment
在本发明第三实施例中,第一网元和第二网元均是No.7信令网元,第一网元的SPC是11,第二网元的SPC是22。则,本发明第三实施例的处理过程如图3所示,具体实现方式如下:In the third embodiment of the present invention, both the first network element and the second network element are No.7 signaling network elements, the SPC of the first network element is 11, and the SPC of the second network element is 22. Then, the processing procedure of the third embodiment of the present invention is shown in Figure 3, and the specific implementation is as follows:
S301、第一网元接收来自第二网元的XUDT消息,所述XUDT消息的路由方式为GT路由;S301. The first network element receives the XUDT message from the second network element, and the routing mode of the XUDT message is GT routing;
S302、上述第一网元确定第二网元为上述XUDT消息的被叫地址,则将该XUDT消息中被叫地址的路由指示修改为SSN路由,且对上述XUDT消息进行GT翻译的结果为22;S302. The above-mentioned first network element determines that the second network element is the called address of the above-mentioned XUDT message, then modify the routing indication of the called address in the XUDT message to SSN routing, and the GT translation result of the above-mentioned XUDT message is 22 ;
S303、上述第一网元确定在第一网元与第二网元之间没有产生SCCP环路;S303. The first network element determines that no SCCP loop is generated between the first network element and the second network element;
由于XUDT消息在到达第二网元后不再进行GT翻译,因此不会产生SCCP环路,因此第一网元在确定XUDT消息中的路由指示改变,且GT翻译的结果为22后,可确定在第一网元和第二网元之间没有产生SCCP环路。Since the XUDT message does not undergo GT translation after reaching the second network element, an SCCP loop will not be generated. Therefore, after the first network element determines that the routing indication in the XUDT message has changed and the GT translation result is 22, it can determine that No SCCP loop is generated between the first network element and the second network element.
S304、上述第一网元将上述修改了被叫地址中路由指示的XUDT消息发送给第二网元。S304. The first network element sends the XUDT message in which the routing indication in the called address is modified to the second network element.
本发明第三实施例中,如果S302中,第一网元无法确定XUDT消息的被叫地址,且GT翻译的结果为22+原被叫地址的GT,则S303中,第一网元确定在第一网元与第二网元之间产生了SCCP环路,其后的处理过程可参照第二实施例中的步骤S204~S206。In the third embodiment of the present invention, if in S302, the first network element cannot determine the called address of the XUDT message, and the GT translation result is 22+GT of the original called address, then in S303, the first network element determines that An SCCP loop is generated between the first network element and the second network element, and the subsequent processing may refer to steps S204-S206 in the second embodiment.
上述本发明实施例中,由于通过路由结果判断在两个网元之间是否存在SCCP环路,较之现有技术中基于跳计数器检测SCCP环路的,是一种快速检测方法,且检测效率更高。In the above-mentioned embodiment of the present invention, since it is judged whether there is an SCCP loop between two network elements through the routing result, it is a fast detection method compared with the detection of SCCP loop based on the hop counter in the prior art, and the detection efficiency is higher.
第四实施例Fourth embodiment
在本发明第四实施例中,第一网元和第二网元均是No.7信令网元,第一网元的SPC是11,第二网元的SPC是22。则,本发明第四实施例的处理过程如图4所示,具体实现方式如下:In the fourth embodiment of the present invention, both the first network element and the second network element are No.7 signaling network elements, the SPC of the first network element is 11, and the SPC of the second network element is 22. Then, the processing procedure of the fourth embodiment of the present invention is shown in Figure 4, and the specific implementation is as follows:
S401、第一网元接收来自第二网元的LUDT消息,所述LUDT消息的路由方式为GT路由;S401. The first network element receives the LUDT message from the second network element, and the routing mode of the LUDT message is GT routing;
S402、上述第一网元对上述LUDT消息进行GT翻译,GT翻译的结果为22+新的GT,则将被叫地址中GT替换为该新的GT,新的GT是指与原被叫地址中的GT不同的GT;S402. The above-mentioned first network element performs GT translation on the above-mentioned LUDT message, and the GT translation result is 22+new GT, then replace the GT in the called address with the new GT, and the new GT refers to the original called address The GT in different GT;
S403、上述第一网元确定在第一网元与第二网元之间没有出现SCCP环路;S403. The first network element determines that there is no SCCP loop between the first network element and the second network element;
由于第一网元进行GT翻译后,LUDT消息的被叫地址被改变,该LUDT消息发回给第二网元后,第二网元根据新的被叫地址进行GT翻译的下一跳网元不再是第一网元,因此不会在第一网元和第二网元之间产生SCCP环路。After the first network element performs GT translation, the called address of the LUDT message is changed. After the LUDT message is sent back to the second network element, the second network element performs GT translation based on the new called address. It is no longer the first network element, so no SCCP loop will be generated between the first network element and the second network element.
S404、上述第一网元将上述LUDT消息发送给第二网元。S404. The first network element sends the LUDT message to the second network element.
本发明第四实施例中,如果S402中,第一网元进行GT翻译的结果为22+原被叫地址的GT,则S403中,第一网元确定在第一网元与第二网元之间产生了SCCP环路,其后的处理过程可参照第二实施例中的步骤S204~S206。In the fourth embodiment of the present invention, if in S402, the result of GT translation performed by the first network element is 22 + the GT of the original called address, then in S403, the first network element determines that the first network element and the second network element An SCCP loop is generated, and the subsequent processing may refer to steps S204-S206 in the second embodiment.
上述本发明实施例中,由于通过路由结果判断在两个网元之间是否存在SCCP环路,较之现有技术中基于跳计数器检测SCCP环路的,是一种快速检测方法,且检测效率更高。In the above-mentioned embodiment of the present invention, since it is judged whether there is an SCCP loop between two network elements through the routing result, it is a fast detection method compared with the detection of SCCP loop based on the hop counter in the prior art, and the detection efficiency is higher.
第五实施例fifth embodiment
在本发明第五实施例中,支持No.7信令的网元在入网前或者完成数据规划(数据规划包括:配置和其他网元对接的数据)后,且进行数据传输之前,基于跳计数器进行SCCP环路检测。其具体实现方式如图5所示,包括如下操作:In the fifth embodiment of the present invention, before the network element supporting No.7 signaling is connected to the network or after completing the data planning (data planning includes: configuring data interconnected with other network elements), and before performing data transmission, based on the hop counter Perform SCCP loop detection. Its specific implementation is shown in Figure 5, including the following operations:
S501、网元A构造测试消息;S501. Network element A constructs a test message;
其中,该测试消息的为特殊无分段的XUDT消息,消息中的被叫地址是为该测试消息构造的GT,主叫地址为网元A的GT,该特殊无分段的XUDT消息具体可以使用保留的SSN或者填充特殊消息内容来构造。Wherein, the test message is a special non-segmented XUDT message, the called address in the message is the GT constructed for the test message, the calling address is the GT of network element A, and the special non-segmented XUDT message can specifically be Constructed using a reserved SSN or filled with special message content.
S502、网元A对该测试消息中的地址进行GT翻译,根据GT翻译结果将该测试消息发送给下一跳网元(网元B);S502. Network element A performs GT translation on the address in the test message, and sends the test message to the next-hop network element (network element B) according to the GT translation result;
S503、网元B在接收到上述测试消息后进行GT翻译,并将该测试消息中的跳计数器减1,根据GT翻译结果将上述测试消息发送给下一跳网元;S503. Network element B performs GT translation after receiving the above test message, and decrements the hop counter in the test message by 1, and sends the above test message to the next hop network element according to the GT translation result;
以此类推,直至跳计数器减为“0”时,则该测试消息当前所在的网元判断出现了SCCP环路,执行S504、丢弃该测试消息,构造用于返回故障信息的无连接业务消息并发送;By analogy, until the jump counter is reduced to "0", the network element where the test message is currently located judges that an SCCP loop occurs, executes S504, discards the test message, constructs a connectionless service message for returning fault information and send;
S505、网元A在接收到上述用于返回故障信息的无连接业务消息后,向操作维护中心发出告警,以便操作维护中心对数据配置进行修改,彻底消除SCCP环路。S505. After receiving the connectionless service message for returning the fault information, the network element A sends an alarm to the operation and maintenance center, so that the operation and maintenance center can modify the data configuration and completely eliminate the SCCP loop.
实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。All or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, the steps including the above-mentioned method embodiments are executed; The aforementioned storage medium includes various media capable of storing program codes such as ROM, RAM, magnetic disk or optical disk.
本发明实施例还提供了一种SCCP环路的检测处理装置,其结构如图6所示,具体实现结构包括:The embodiment of the present invention also provides a SCCP loop detection and processing device, the structure of which is shown in Figure 6, and the specific implementation structure includes:
路由处理模块601,用于对第二网元发来的无连接业务消息进行GT路由处理;A routing processing module 601, configured to perform GT routing processing on the connectionless service message sent by the second network element;
其中,无连接业务消息可以包括:UDT消息,或XUDT消息,或LUDT消息等。Wherein, the connectionless service message may include: UDT message, or XUDT message, or LUDT message, etc.
环路检测模块602,用于根据路由处理模块601的路由结果,判断上述无连接业务消息的被叫地址是否被修改,且路由的下一跳网元是否为上述第二网元;如果被叫地址未被修改且路由的下一跳网元是第二网元,则确定在本地网元和上述第二网元之间产生了SCCP环路。The loop detection module 602 is used to determine whether the called address of the above-mentioned connectionless service message is modified according to the routing result of the routing processing module 601, and whether the next-hop network element of the route is the above-mentioned second network element; if the called If the address is not modified and the next-hop network element of the route is the second network element, it is determined that an SCCP loop is generated between the local network element and the second network element.
本发明实施例提供的装置具体可以设置在第一网元中,也可以是第一网元。The device provided in the embodiment of the present invention may specifically be set in the first network element, or may be the first network element.
上述本发明实施例提供的装置,由于通过路由结果判断在两个网元之间是否存在SCCP环路,是一种快速检测方法,较之现有的SCCP环路检测方式效率更高,且还可以适用于UDT消息的SCCP环路检测,适用范围更广。The device provided by the above-mentioned embodiments of the present invention is a fast detection method because it judges whether there is an SCCP loop between two network elements through the routing result, which is more efficient than the existing SCCP loop detection method, and also It can be applied to SCCP loop detection of UDT messages, and has a wider application range.
上述本发明实施例提供的装置还包括:故障通知模块603,用于构造用于返回故障信息的无连接业务消息,该用于返回故障信息的无连接业务消息中携带发现SCCP环路信息;并将该用于返回故障信息的无连接业务消息发送给所述第二网元。The device provided by the above-mentioned embodiment of the present invention further includes: a fault notification module 603, configured to construct a connectionless service message for returning fault information, and the connectionless service message for returning fault information carries SCCP loop discovery information; and Send the connectionless service message for returning fault information to the second network element.
通过上述操作,使得第二网元获知在其与第一网元之间产生了SCCP环路,进而可以采取进一步的措施。Through the above operations, the second network element is informed that an SCCP loop is generated between itself and the first network element, and further measures can be taken.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (6)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100468592A CN102164055A (en) | 2011-02-23 | 2011-02-23 | Detection processing method and device for signaling connection control part (SCCP) loop |
PCT/CN2011/084217 WO2012113257A1 (en) | 2011-02-23 | 2011-12-21 | A method and equipment for sccp loop detection processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100468592A CN102164055A (en) | 2011-02-23 | 2011-02-23 | Detection processing method and device for signaling connection control part (SCCP) loop |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102164055A true CN102164055A (en) | 2011-08-24 |
Family
ID=44465041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100468592A Pending CN102164055A (en) | 2011-02-23 | 2011-02-23 | Detection processing method and device for signaling connection control part (SCCP) loop |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102164055A (en) |
WO (1) | WO2012113257A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012113257A1 (en) * | 2011-02-23 | 2012-08-30 | 华为技术有限公司 | A method and equipment for sccp loop detection processing |
CN102883281A (en) * | 2012-01-30 | 2013-01-16 | 华为技术有限公司 | Method, equipment and system for sending message |
WO2016078240A1 (en) * | 2014-11-19 | 2016-05-26 | 中兴通讯股份有限公司 | Method and device for detecting routing ring formation |
WO2023011630A1 (en) * | 2021-08-06 | 2023-02-09 | 华为技术有限公司 | Authorization verification method and apparatus |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040264675A1 (en) * | 2003-06-27 | 2004-12-30 | Tekelec | Methods and systems for detecting and preventing signaling connection control part (SCCP) looping |
CN101102554A (en) * | 2007-08-10 | 2008-01-09 | 中兴通讯股份有限公司 | Signaling forward device and method for signaling connection controller in No. 7 signaling system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5889847A (en) * | 1996-09-12 | 1999-03-30 | Alcatel Usa Sourcing, L.P. | Method for signalling connection control part message loop prevention |
EP1078536A1 (en) * | 1998-05-12 | 2001-02-28 | Siemens Aktiengesellschaft | Method for signaling in a signaling transfer point |
FR2902590B1 (en) * | 2006-06-16 | 2008-08-01 | Alcatel Sa | LOOP DETECTION WITHIN A SIP SIGNAL INTERMEDIATE ELEMENT |
CN102164055A (en) * | 2011-02-23 | 2011-08-24 | 华为技术有限公司 | Detection processing method and device for signaling connection control part (SCCP) loop |
-
2011
- 2011-02-23 CN CN2011100468592A patent/CN102164055A/en active Pending
- 2011-12-21 WO PCT/CN2011/084217 patent/WO2012113257A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040264675A1 (en) * | 2003-06-27 | 2004-12-30 | Tekelec | Methods and systems for detecting and preventing signaling connection control part (SCCP) looping |
CN101102554A (en) * | 2007-08-10 | 2008-01-09 | 中兴通讯股份有限公司 | Signaling forward device and method for signaling connection controller in No. 7 signaling system |
Non-Patent Citations (1)
Title |
---|
吴畏: "移动交换机GT翻译表的配置浅析", 《百度文库,HTTP://WENKU.BAIDU.COM/VIEW/7DE2762CE2BD960590C6770A.HTML》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012113257A1 (en) * | 2011-02-23 | 2012-08-30 | 华为技术有限公司 | A method and equipment for sccp loop detection processing |
CN102883281A (en) * | 2012-01-30 | 2013-01-16 | 华为技术有限公司 | Method, equipment and system for sending message |
CN102883281B (en) * | 2012-01-30 | 2015-09-09 | 华为技术有限公司 | A kind of method, equipment and system sending message |
WO2016078240A1 (en) * | 2014-11-19 | 2016-05-26 | 中兴通讯股份有限公司 | Method and device for detecting routing ring formation |
WO2023011630A1 (en) * | 2021-08-06 | 2023-02-09 | 华为技术有限公司 | Authorization verification method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2012113257A1 (en) | 2012-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2536066A1 (en) | Link detecting method, apparatus and system | |
US10411972B2 (en) | Determining impact of network failures | |
US10439880B2 (en) | Loop-free convergence in communication networks | |
CN103560898B (en) | A kind of port status method to set up, the system of selection of port priority and device | |
US20210234797A1 (en) | Method, device, and system for determining route leak | |
CN104869014A (en) | Ethernet fault positioning and detection method | |
CN102164055A (en) | Detection processing method and device for signaling connection control part (SCCP) loop | |
US9282025B2 (en) | Medium access control address protection method and switch | |
CN104852826A (en) | Loop detecting method and device | |
CN103200100A (en) | Method and device for packet transmitting | |
CN105530115A (en) | Method and device for realizing operation management and maintenance function | |
KR20130087535A (en) | Lookahead computation of routing information | |
JP2012054866A (en) | Wireless network path setting device | |
CN107294856B (en) | Method, equipment and system for determining topology change | |
CN102882757B (en) | Point-to-multipoint service protecting method for ring network and upper ring node in ring network | |
JP7238148B2 (en) | System and method for handling IGP flooding topology mismatch | |
WO2018219103A1 (en) | Method and device for determining link state | |
WO2011124178A2 (en) | Fault detection method, route node and system | |
US20160036622A1 (en) | Protection switching method, network, and system | |
CN104219068B (en) | The method and the network equipment of tunnel failure notice | |
CN103546303A (en) | Lost frame measuring method and system | |
CN105591932B (en) | The recognition methods of neighbours and device | |
CN102292936A (en) | Link state database synchronization detection method and routing equipment | |
CN103428085A (en) | Method and device for rapidly switching RIP (routing information protocol) routings | |
US20220094486A1 (en) | Link bit error-based processing method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110824 |