[go: up one dir, main page]

CN100456750C - A Message Processing Method of Heterogeneous SS7 Signaling Network - Google Patents

A Message Processing Method of Heterogeneous SS7 Signaling Network Download PDF

Info

Publication number
CN100456750C
CN100456750C CNB2004101017612A CN200410101761A CN100456750C CN 100456750 C CN100456750 C CN 100456750C CN B2004101017612 A CNB2004101017612 A CN B2004101017612A CN 200410101761 A CN200410101761 A CN 200410101761A CN 100456750 C CN100456750 C CN 100456750C
Authority
CN
China
Prior art keywords
network
message
conversion
network device
signaling
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.)
Expired - Fee Related
Application number
CNB2004101017612A
Other languages
Chinese (zh)
Other versions
CN1798109A (en
Inventor
邵景莅
熊媛
汪碧海
曹子元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zheng Chunyuan
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004101017612A priority Critical patent/CN100456750C/en
Publication of CN1798109A publication Critical patent/CN1798109A/en
Application granted granted Critical
Publication of CN100456750C publication Critical patent/CN100456750C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

一种异构7号信令网消息的处理方法,预先在网络设备中设置包含有有效网络指示之间的转换规则信息,与异构网络直接通信的网络设备从异构网络接收到一条消息,或者准备向异构网络发送一条消息时,执行以下操作:A.所述网络设备根据适用于该消息的转换规则信息,将该消息中的网络指示数值转换成自身能够处理的有效网络指示数值,或者转换成异构网络能够处理的有效网络指示数值;B.所述网络设备将转换后的消息解码后发送给自身上层用户,或者重组后发送给目的信令点。使用本发明方案,由与异构网络直接通信的网络设备对消息进行转换NI的处理,可减少占用的网络资源、降低组网复杂程度,同时亦可节省网络通信的成本。

Figure 200410101761

A method for processing heterogeneous No. 7 signaling network messages. The network device is pre-set to include conversion rule information between effective network indications, and the network device that directly communicates with the heterogeneous network receives a message from the heterogeneous network. Or when preparing to send a message to a heterogeneous network, perform the following operations: A. The network device converts the network indication value in the message into a valid network indication value that can be processed by itself according to the conversion rule information applicable to the message, Or convert it into an effective network indication value that can be processed by the heterogeneous network; B. The network device decodes the converted message and sends it to its own upper-layer user, or sends it to the destination signaling point after reorganization. Using the solution of the present invention, the network equipment directly communicating with the heterogeneous network performs NI conversion processing on the message, which can reduce occupied network resources, reduce the complexity of networking, and also save the cost of network communication.

Figure 200410101761

Description

一种异构7号信令网消息的处理方法 A Message Processing Method of Heterogeneous SS7 Signaling Network

技术领域 technical field

本发明涉及7号信令网的消息传递技术,尤其涉及一种异构7号信令网消息的处理方法。The invention relates to the message transmission technology of the No. 7 signaling network, in particular to a processing method for messages of the heterogeneous No. 7 signaling network.

背景技术 Background technique

在通信系统中,按照传送通路与话路之间的关系划分,信令可分为随路信令和公共信道信令。其中随路信令是使用传送话音信息的通路来传送与该话路有关的各种信令;而公共信道信令是将传送信令的通路上与传送话音的通路分开,即把各电话接续通路中的各种信令集中在一条双向的信令链路上传送。目前常用的公共信道信令系统包括6号信令系统(SS6)和7号信令系统(SS7),其中SS6应用于模拟网、而SS7应用于数字网。SS7具有传输速度快、信号容量大、可靠性高等特点,信令链路具有握手、检验、差错控制、拥塞控制、冗余备份等能力,不仅可传送与电路接续有关的信号,还可传送各种与电路接续无关的信令信息,适用于有线通信网络和无线通信网络。In a communication system, according to the relationship between transmission channels and voice channels, signaling can be divided into channel-associated signaling and common channel signaling. Among them, channel-associated signaling uses the channel for transmitting voice information to transmit various signaling related to the voice channel; while common channel signaling separates the channel for transmitting signaling from the channel for transmitting voice, that is, connects each telephone All kinds of signaling in the channel are transmitted on a bidirectional signaling link. Currently commonly used public channel signaling systems include Signaling System No. 6 (SS6) and Signaling System No. 7 (SS7), wherein SS6 is applied to an analog network and SS7 is applied to a digital network. SS7 has the characteristics of fast transmission speed, large signal capacity, and high reliability. The signaling link has the capabilities of handshake, inspection, error control, congestion control, and redundant backup. It is a kind of signaling information that has nothing to do with circuit connection, and is applicable to wired communication network and wireless communication network.

SS7信令网是用于传递通信消息的数据网络,它由许多各种信令点(SP)和连接信令点的链路构成。所谓信令点,即为依附于网络设备上的信令网的节点,例如:有线通信系统中的交换机、无线通信系统中的归属位置寄存器(HLR)和短消息中心(SMC)等。从消息收发的角度而言,发出消息的信令点为该消息的源信令点,而接收消息的信令点为该消息的目的信令点。从功能角度而言,信令点包括非信令转接点和信令转接点(STP)。其中非信令转接点是信令消息的产生或终结点,负责发起呼叫或接收呼入,并把语音交换系统信号转换成SS7消息;而STP用于完成消息转发的功能,查看由非信令转接点发来的消息,然后通过网络把来自于其他信令点的消息交换到目的信令点。连接各个信令点之间的物理链路被称为是信令链路,信令链路可以是透明的数字通路,也可以是高质量的模拟通路;连接两个信令点的信令链路的集合称为信令链路集;而信令消息从源信令点到目的信令点所经过的路径叫做信令路由。The SS7 signaling network is a data network used to transmit communication messages, and it consists of many various signaling points (SP) and links connecting the signaling points. The so-called signaling point refers to the node of the signaling network attached to the network equipment, such as: a switch in a wired communication system, a home location register (HLR) and a short message center (SMC) in a wireless communication system. From the perspective of message sending and receiving, the signaling point that sends a message is the source signaling point of the message, and the signaling point that receives the message is the destination signaling point of the message. From a functional point of view, signaling points include non-signaling transfer points and signaling transfer points (STP). Among them, the non-signaling transfer point is the generation or termination point of signaling messages, responsible for initiating calls or receiving incoming calls, and converting voice switching system signals into SS7 messages; and STP is used to complete the function of message forwarding. The message sent by the transfer point, and then exchange the message from other signaling points to the destination signaling point through the network. The physical link connecting each signaling point is called a signaling link. The signaling link can be a transparent digital path or a high-quality analog path; the signaling link connecting two signaling points The collection of paths is called signaling link set; and the path that signaling message takes from source signaling point to destination signaling point is called signaling route.

SS7从结构上分为消息传递部分(MTP)和用户部分(UP)。其中MTP负责在各个信令点之间正确无误的传递信令消息;而UP负责处理信令消息。MTP由如下三级组成:SS7 is structurally divided into message transfer part (MTP) and user part (UP). Among them, MTP is responsible for the correct transmission of signaling messages between various signaling points; and UP is responsible for processing signaling messages. MTP consists of the following three levels:

1.信令数据链路级:又叫做MTP1,该级规定了信令链路的物理电气特性及接入方法,提供全双工的双向传输通道,由一对传输速率相同、传输方向相反的数据通道组成,完成二进制比特流的透明传递。1. Signaling data link level: also known as MTP1, this level specifies the physical and electrical characteristics and access methods of the signaling link, and provides a full-duplex bidirectional transmission channel, consisting of a pair of transmission channels with the same transmission rate and opposite transmission directions Composed of data channels to complete the transparent transmission of binary bit streams.

2.信令链路级:又叫做MTP2,该级将MTP1中透明传输的比特流划分位不同长度的信令单元,并通过差错检测及重发校正保证信令单元的正确传输。2. Signaling link level: also called MTP2, this level divides the transparently transmitted bit stream in MTP1 into signaling units of different lengths, and ensures correct transmission of signaling units through error detection and retransmission correction.

3.信令网功能级:又叫做MTP3,包括信令消息处理和信令网管理两部分。信令消息处理的功能是根据消息信令单元中的地址消息,将信令单元送至用户指定的相应用户部分;信令网管理的功能是对每一个信令路由及信令链路的工作情况进行监视,当信令链路和信令路由出现故障时,信令网管理在已知的信令网状态数据和信息的基础之上,控制消息路由和信令网的结构,完成信令网的重新组合,从而恢复正常的消息传递能力。3. Signaling network function level: also called MTP3, including two parts: signaling message processing and signaling network management. The function of signaling message processing is to send the signaling unit to the corresponding user part designated by the user according to the address message in the message signaling unit; the function of signaling network management is to work on each signaling route and signaling link When the signaling link and signaling route fail, the signaling network management will control the message routing and the structure of the signaling network on the basis of the known signaling network status data and information, and complete the signaling The reassembly of the network restores normal messaging capabilities.

有关MTP的协议ITU-T Q.704规定,SS7消息中携带的网络指示(NI)用来标识该消息的源信令点所处的网络结构,NI共有0、1、2、3四种有效的取值。另外每一个信令点都使用信令点编码来标识其网络地址,信令点编码一般包括14位和24位两种结构。The protocol ITU-T Q.704 related to MTP stipulates that the network indication (NI) carried in the SS7 message is used to identify the network structure where the source signaling point of the message is located. There are four valid types of NI: 0, 1, 2, and 3. value of . In addition, each signaling point uses a signaling point code to identify its network address, and the signaling point code generally includes two structures of 14 bits and 24 bits.

对于采用24位信令点编码的网络,其消息的格式为:主信令区编码(8位)+分信令区编码(8位)+具体信令点编码(8位),其中主信令区编码代表信令点所在的省份或市,分信令区编码代表信令点所在交换局的等级,具体信令点编码中包含该消息的源信令点和目标信令点等信息;对于采用14位信令点编码的网络,其消息格式为:主信令区编码(3位)+分信令区编码(8位)+具体信令点编码(3位),各部分含义与24位信令点编码中的相应部分相同。For a network using 24-bit signaling point codes, the message format is: main signaling area code (8 bits) + sub-signaling area code (8 bits) + specific signaling point code (8 bits), where the main signaling area The code of the signaling area represents the province or city where the signaling point is located, and the sub-signaling area code represents the level of the switching office where the signaling point is located. The specific signaling point code includes information such as the source signaling point and the target signaling point of the message; For a network using 14-bit signaling point codes, the message format is: main signaling area code (3 bits) + sub-signaling area code (8 bits) + specific signaling point code (3 bits), the meaning of each part is the same as The corresponding part in the 24-bit signaling point code is the same.

由于NI和信令点编码是由各个国家或运营商根据具体情况而自行选择的,因此NI相同的网络,其信令点结构可以相同或者不同;NI不同的网络,其信令点结构也会出现相同或者不同的情况。在SS7信令网中,NI相同、而信令点不同的网络被称作是异构网络。Since the NI and signaling point codes are selected by each country or operator according to the specific situation, the signaling point structure of the network with the same NI can be the same or different; the signaling point structure of the network with different NI will also be different. same or different situations. In the SS7 signaling network, a network with the same NI but different signaling points is called a heterogeneous network.

按照协议规定,在NI相同的网络中,只有信令点编码结构相同的信令点之间才能够直接通信。例如,当两个不同运营商的网络采用的NI都是2、而信令点编码分别是14位信令点和24位信令点,由于NI相同而信令点编码结构不同,因此分别位于上述两个网络中的信令点不能直接互通。According to the agreement, in the network with the same NI, only the signaling points with the same coding structure of signaling points can communicate directly. For example, when the NIs adopted by the networks of two different operators are both 2, and the signaling point codes are 14-bit signaling points and 24-bit signaling points respectively, since the NIs are the same but the signaling point coding structures are different, they are respectively located in The signaling points in the above two networks cannot directly communicate with each other.

假设网络设备A、B分别处于NI=2和NI=3的网络中,而网络设备C同时处于NI=2和NI=3的两种网络中。网络维护人员根据网络设备A和B的信令点结构,预先在网络设备C中设置了不同NI对应的信令点编码方式,即假设网络设备A上为14位信令点编码、网络设备B上为24位信令点编码,则网络设备C中将NI=2对应于网络设备A设置14位信令点编码、将NI=3对应于网络设备B设置24位信令点编码。由于网络设备C同时与网络设备A和网络设备B保持一致,因此网络设备C能够分别与网络设备A和网络设备B直接进行通信。另外,由于网络设备C的存在,网络设备A和网络设备B能够互相传送消息,进而实现NI=2的网络与NI=3的网络之间的互通。Assume that network devices A and B are in networks with NI=2 and NI=3 respectively, and network device C is in both networks with NI=2 and NI=3. According to the signaling point structure of network devices A and B, the network maintenance personnel pre-set the signaling point encoding methods corresponding to different NIs in network device C, that is, assuming that network device A is 14-bit signaling point code, network device B The above is a 24-bit signaling point code, then setting NI=2 in network device C corresponds to setting 14-bit signaling point code in network device A, and setting NI=3 corresponds to setting 24-bit signaling point code in network device B. Since network device C is consistent with network device A and network device B at the same time, network device C can directly communicate with network device A and network device B respectively. In addition, due to the existence of the network device C, the network device A and the network device B can transmit messages to each other, thereby realizing intercommunication between the network with NI=2 and the network with NI=3.

具体而言,网络设备C与网络设备A之间的消息采用NI=2、14位信令点结构,网络设备C与网络设备A之间的消息采用NI=3、24位信令点结构;而当网络设备A与网络设备B之间交互消息时,网络设备C为网络设备A和网络设备B转发消息。Specifically, the message between network device C and network device A adopts NI=2, 14-bit signaling point structure, and the message between network device C and network device A adopts NI=3, 24-bit signaling point structure; However, when the network device A and the network device B exchange messages, the network device C forwards the messages for the network device A and the network device B.

以网络设备A向网络设备B发送信令连接控制部分(SCCP)消息为例,具体过程如下:Taking network device A sending a signaling connection control part (SCCP) message to network device B as an example, the specific process is as follows:

网络设备C接收到来自于网络设备A的SCCP消息,则首先获取该消息中所携带的NI值,并按照预先设置的该NI值对应的信令点编码结构进行解码;然后,网络设备C从该消息中获取全局码(GT),并在进行GT翻译后,确定该消息的目的信令点为网络设备B上的信令点;网络设备C根据网络设备B的NI值、以及预先设置的该NI值所对应的网络设备C上的信令点编码,对SCCP消息进行重新构造,并发送给网络设备B。When network device C receives the SCCP message from network device A, it first obtains the NI value carried in the message, and decodes it according to the preset signaling point coding structure corresponding to the NI value; then, network device C obtains the NI value from Obtain the global code (GT) in the message, and after GT translation, determine that the destination signaling point of the message is the signaling point on the network device B; network device C according to the NI value of network device B and the preset The signaling point code on network device C corresponding to the NI value reconstructs the SCCP message and sends it to network device B.

同样地,当网络设备B向网络设备A发送消息时,首先由网络设备C按照NI=3所对应的24位信令点编码对该消息进行解码,而后再重组成设备A能够识别的14位信令点编码的消息,并发送给网络设备A。Similarly, when network device B sends a message to network device A, network device C first decodes the message according to the 24-bit signaling point code corresponding to NI=3, and then reassembles the message into a 14-bit signal that device A can recognize. The message encoded by the signaling point is sent to network device A.

以上是NI不同,信令点结构不同的网络正常的通信过程,但是当NI相同而信令点结构也不同时,就无法按照正常的处理流程进行处理。为了使得处于NI相同而信令点编码结构不同的异构网络中的网络设备能够相互通信,目前的做法是:利用网关将在异构网络设备之间传输的消息进行处理,转换成目的网络设备所在网络能够识别的消息格式,再将转换后的消息发送出去。如图1所示,网络设备A处于NI=2的网络中、具有24位信令点编码,而网络设备C也处于NI=2的网络中,但是却具有14位信令点编码,因此网络设备A与网络设备C处于异构网络中。为了使得网络设备A与网络设备C之间能够互通,在A与C之间增加一个网关,作为消息的中转。目前网关的种类较多,实现方式各有不同,此处仅以一种网关为例进行说明。如图2所示,完成处于异构网络中网络设备A与网络设备C互通的网关,至少包括与网络设备A通信的处理单元和与网络设备C通信的处理单元,分别负责将来自于网络设备A和网络设备C的消息转换成目的信令点能够识别的格式并发送出去。如图3所示,当消息从网络设备A发往网络设备C时,网关处理异构网络消息的方法包括以下步骤:The above is the normal communication process of the network with different NI and different signaling point structure, but when the NI is the same but the signaling point structure is different, it cannot be processed according to the normal processing flow. In order to enable network devices in heterogeneous networks with the same NI but different signaling point coding structures to communicate with each other, the current practice is to use gateways to process messages transmitted between heterogeneous network devices and convert them into destination network devices The message format that can be recognized by the network where it is located, and then the converted message is sent out. As shown in Figure 1, network device A is in a network with NI=2 and has a 24-bit signaling point code, while network device C is also in a network with NI=2, but has a 14-bit signaling point code, so the network Device A and network device C are in a heterogeneous network. In order to enable intercommunication between network device A and network device C, a gateway is added between A and C as a message transfer. At present, there are many types of gateways, and their implementation methods are different. Here, only one gateway is used as an example for illustration. As shown in Figure 2, the gateway that completes the intercommunication between network device A and network device C in a heterogeneous network includes at least a processing unit that communicates with network device A and a processing unit that communicates with network device C. The message of A and network device C is converted into a format that the destination signaling point can recognize and sent out. As shown in Figure 3, when a message is sent from network device A to network device C, the method for the gateway to process heterogeneous network messages includes the following steps:

步骤301.网关中与网络设备A通信的处理单元收到网络设备A发往网络设备C的消息。Step 301. The processing unit in the gateway that communicates with network device A receives the message sent by network device A to network device C.

当网络设备A与网络设备C通信时,由于网络设备A处于NI=2、信令点编码结构为24位的网络中,而网络设备C处于NI=2、信令点编码结构为14位的网络中,即两者是异构网络中的网络设备,无法直接通信。因此由网络设备A发送给网络设备C的消息,实际上是发送给了处于网络设备A和网络设备C之间的网关,并且由网关中与网络设备A通信的处理单元接收该条消息。When network device A communicates with network device C, because network device A is in a network with NI=2 and a signaling point code structure of 24 bits, and network device C is in a network with NI=2 and a signaling point code structure of 14 bits In the network, that is, the two are network devices in a heterogeneous network and cannot communicate directly. Therefore, the message sent by network device A to network device C is actually sent to the gateway between network device A and network device C, and the processing unit communicating with network device A in the gateway receives the message.

步骤302~303.网关中与网络设备A通信的处理单元对收到的消息进行数据分析和解码处理;然后,将处理后的消息发送给网关中与网络设备C通信的处理单元。Steps 302-303. The processing unit in the gateway that communicates with network device A performs data analysis and decoding processing on the received message; then, sends the processed message to the processing unit in the gateway that communicates with network device C.

此处与网络设备A通信的处理单元首先对来自于网络设备A的消息进行数据分析和解码处理,分辨出24位信令点编码中各部分的具体含义,并将其转变成以字节表示的形式;然后,与网络设备A通信的处理单元将以字节形式表示的消息发送给自身所在网关中与网络设备C通信的处理单元。Here, the processing unit that communicates with network device A first performs data analysis and decoding processing on the message from network device A, distinguishes the specific meaning of each part in the 24-bit signaling point code, and converts it into a byte representation Then, the processing unit communicating with network device A sends the message expressed in bytes to the processing unit communicating with network device C in the gateway where it is located.

步骤304.网关中与网络设备C通信的处理单元将处理后的消息转换为网络设备C能够识别的格式,然后发送给网络设备C。Step 304. The processing unit in the gateway that communicates with the network device C converts the processed message into a format that the network device C can recognize, and then sends it to the network device C.

此处与网络设备C通信的处理单元首先根据以字节形式表示的消息的内容,将其转换为14位信令点编码,以便网络设备C能够识别;然后,将转换为14位信令点编码的消息发送给网络设备C。Here, the processing unit communicating with network device C first converts the content of the message expressed in bytes into a 14-bit signaling point code so that network device C can recognize it; then, converts it into a 14-bit signaling point code The encoded message is sent to network device C.

步骤306.网络设备C将该消息发送给自身的上层用户或者其它网络设备。Step 306. Network device C sends the message to its own upper layer user or other network devices.

网络设备C接收到来自于网关的14位信令点编码消息后,根据该消息的具体内容,将其发送给网络设备C的上层用户或者其它网络设备上的信令点。After receiving the 14-bit signaling point coded message from the gateway, network device C sends it to the upper layer user of network device C or the signaling point on other network devices according to the specific content of the message.

现有的异构7号信令网消息处理方法的缺点在于:The disadvantages of the existing heterogeneous SS7 message processing method are:

采用网关设备对在异构7号信令网之间传输的消息进行转换,增加了组网的复杂程度;并且由于网关设备需要占用一个独立的信令点码,因此占用了较多的网络资源。The use of gateway equipment to convert messages transmitted between heterogeneous SS7 signaling networks increases the complexity of networking; and because the gateway equipment needs to occupy an independent signaling point code, it takes up more network resources .

发明内容 Contents of the invention

有鉴于此,本发明的目的在于提供一种异构7号信令网消息的处理方法,减少占用的网络资源、降低组网的复杂程度。In view of this, the purpose of the present invention is to provide a method for processing heterogeneous SS7 messages, which reduces occupied network resources and reduces the complexity of networking.

为实现上述目的,本发明提供了一种异构7号信令网消息的处理方法,预先在网络设备中设置包括含有网络设备自身能够处理的有效网络指示和异构网络能够处理的有效网络指示之间的转换规则信息,与异构网络直接通信的网络设备从异构网络接收到一条消息,或者准备向异构网络发送一条消息时,执行以下操作:In order to achieve the above object, the present invention provides a method for processing heterogeneous No. 7 signaling network messages. The network equipment is pre-set to include valid network indications that can be processed by the network equipment itself and effective network indications that can be processed by heterogeneous networks. When a network device directly communicating with a heterogeneous network receives a message from a heterogeneous network, or prepares to send a message to a heterogeneous network, it performs the following operations:

A.所述网络设备根据适用于该消息的转换规则信息,将该消息中的网络指示数值转换成自身能够处理的有效网络指示数值,或者转换成所述异构网络能够处理的有效网络指示数值;A. According to the conversion rule information applicable to the message, the network device converts the network indication value in the message into an effective network indication value that can be processed by itself, or into an effective network indication value that can be processed by the heterogeneous network ;

B.所述网络设备将转换后的消息解码后发送给自身上层用户,或者重组后发送给目的信令点。B. The network device decodes the converted message and sends it to its own upper-layer user, or reassembles it and sends it to the destination signaling point.

将所述网络设备自身能够处理的有效网络指示设为源网络指示,将所述异构网络能够处理的有效网络指示设为目的网络指示,则步骤A所述将该消息中的网络指示数值转换成所述网络设备自身能够处理的有效网络指示数值,或者转换成异构网络能够处理的有效网络指示数值的方法为:Set the effective network indication that can be processed by the network device itself as the source network indication, and set the effective network indication that can be processed by the heterogeneous network as the destination network indication, then in step A, convert the network indication value in the message The method of converting the network device into an effective network indicator value that can be processed by itself, or converting it into an effective network indicator value that can be processed by a heterogeneous network is as follows:

如果所述网络设备接收消息,则将该消息的网络指示按照该转换规则信息从转换映射表中的目的网络指示转换为源网络指示;If the network device receives the message, convert the network indication of the message from the destination network indication in the conversion mapping table to the source network indication according to the conversion rule information;

如果所述网络设备准备发送消息,则将该消息的网络指示按照该转换规则信息从转换映射表中的源网络指示转换为目的网络指示。If the network device is going to send a message, convert the network indication of the message from the source network indication in the conversion mapping table to the destination network indication according to the conversion rule information.

所述网络设备在执行所述步骤A之前执行如下操作:The network device performs the following operations before performing the step A:

A 1.检查转换映射表,获取首条转换规则;A 1. Check the conversion mapping table to obtain the first conversion rule;

A2.判断该条转换规则是否适用于该消息;如果适用,则按照该条转化规则执行步骤A,否则,执行步骤A3;A2. Determine whether the conversion rule is applicable to the message; if applicable, perform step A according to the conversion rule, otherwise, perform step A3;

A3.判断该条转换规则是否为转换映射表中的尾记录;如果是,则结束本转换处理流程,否则,转向转换映射表中的下一条转换规则,然后返回执行步骤A2。A3. Determine whether the conversion rule is the last record in the conversion mapping table; if yes, end the conversion processing flow, otherwise, turn to the next conversion rule in the conversion mapping table, and then return to step A2.

所述的转换规则进一步包括:转换开关、表明消息传输方式的约束类型和表明消息传输具体信息的约束。The conversion rule further includes: a conversion switch, a constraint type indicating a message transmission mode, and a constraint indicating specific information of message transmission.

所述网络设备判断所述转换规则是否适用于该消息的方法为:判断所述转换开关是否打开,如果打开,则判断所述约束类型和约束是否与该消息匹配,如果是,则该条转换规则适用于该消息,否则,该条转换规则不适用于该消息;如果所述转换开关关闭,则该条转换规则不适用于该消息。The method for the network device to determine whether the conversion rule is applicable to the message is to determine whether the conversion switch is turned on, and if it is turned on, then judge whether the constraint type and the constraint match the message, and if so, the conversion The rule is applicable to the message, otherwise, the conversion rule is not applicable to the message; if the conversion switch is off, the conversion rule is not applicable to the message.

所述的约束类型至少包括:链路集转换、链路转换或者路由转换。The constraint type at least includes: link set conversion, link conversion or route conversion.

如果约束类型为链路集转换,则所述的约束为:指明应转换消息所在链路集的约束;If the constraint type is link set conversion, the constraint is: a constraint indicating the link set where the message should be converted;

如果约束类型为链路转换,则所述的约束为:指明应转换消息所在链路的约束;If the constraint type is link conversion, the constraint is: a constraint indicating the link where the message should be converted;

如果约束类型为路由转换,则所述的约束为:指明应转换消息所在路由的约束。If the constraint type is route conversion, the constraint is: a constraint indicating the route where the message should be converted.

应用本发明,由与异构网络直接通信的网络设备将准备发送或者接收到消息中的NI值转换成其它有效的数值,实现了同一个设备与异构网络的通信。具体而言,本发明具有如下有益效果:By applying the present invention, the network device directly communicating with the heterogeneous network converts the NI value in the message to be sent or received into other effective values, realizing the communication between the same device and the heterogeneous network. Specifically, the present invention has the following beneficial effects:

1.本发明由与异构网络直接通信的网络设备对与异构网络进行交互的消息进行转换NI的处理,而无需网关对信令消息进行中转处理,减少了占用的网络资源、降低了组网的复杂程度、同时节省了网络通信的成本;1. In the present invention, the network equipment that directly communicates with the heterogeneous network converts the messages interacting with the heterogeneous network to NI processing, without the need for the gateway to transfer the signaling messages, which reduces the occupied network resources and reduces the number of groups. The complexity of the network, while saving the cost of network communication;

2.本发明省去了网关对信令消息的处理,减少了处理时间,缩短了信令点之间的交互时间;2. The present invention saves the processing of the signaling message by the gateway, reduces the processing time, and shortens the interaction time between signaling points;

3.本发明在异构7号信令网之间传输消息时,无需网关的参与,减少了网络中信令点的个数,便于网络的管理与维护。3. The present invention does not require the participation of gateways when transmitting messages between heterogeneous SS7 signaling networks, reduces the number of signaling points in the network, and facilitates network management and maintenance.

附图说明 Description of drawings

图1为现有的异构7号信令网结构图。FIG. 1 is a structural diagram of an existing heterogeneous SS7 signaling network.

图2为现有的网关结构示意图。FIG. 2 is a schematic diagram of an existing gateway structure.

图3为现有的异构7号信令网消息处理方法流程图。Fig. 3 is a flow chart of an existing heterogeneous No. 7 signaling network message processing method.

图4为本发明异构7号信令网结构图。Fig. 4 is a structural diagram of a heterogeneous SS7 signaling network according to the present invention.

图5为本发明实施例中网络设备C准备发送消息时采用的异构7号信令网消息处理方法的流程图。FIG. 5 is a flow chart of a message processing method for a heterogeneous SS7 signaling network adopted when a network device C prepares to send a message in an embodiment of the present invention.

图6为本发明实施例中网络设备C对消息进行NI转换处理的流程图。FIG. 6 is a flow chart of the network device C performing NI conversion processing on messages in the embodiment of the present invention.

图7为本发明实施例中网络设备C接收消息时异构7号信令网消息处理方法的流程图。FIG. 7 is a flow chart of a message processing method for a heterogeneous No. 7 signaling network when network device C receives a message in an embodiment of the present invention.

图8为使用本发明异构7号信令网消息处理方法的网络示意图。Fig. 8 is a schematic diagram of a network using the message processing method of the heterogeneous SS7 signaling network of the present invention.

具体实施方式 Detailed ways

为使本发明的目的、技术方案更加清楚明白,以下参照附图并举实施例,对本发明做进一步的详细说明。In order to make the purpose and technical solution of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

本发明为一种异构7号信令网消息的处理方法,其基本思想是:在与NI相同而信令点结构不同的异构网络需要直接通信的网络设备从异构网络接收到一条消息,或者准备向异构网络发送一条消息时,由该网络设备将消息中的NI转换成自身能够处理的有效NI、或者转换成异构网络能够处理的有效NI后,再对消息进行解码或编码重组处理。The present invention is a processing method for heterogeneous No. 7 signaling network messages, and its basic idea is: a network device that needs direct communication in a heterogeneous network that is the same as NI but has a different signaling point structure receives a message from the heterogeneous network , or when preparing to send a message to a heterogeneous network, the network device converts the NI in the message into an effective NI that can be processed by itself, or into an effective NI that can be processed by the heterogeneous network, and then decode or encode the message Recombination processing.

本实施例采用图4所示的异构7号信令网,假设网络设备A处于NI=2、信令点编码结构为24位的网络中,而由于网络设备C通过转换消息的NI值而实现既能够与NI=2、24位信令点编码的网络互通、又能够与NI=2、14位信令点编码的网络互通,即两种网络均认为信令点C处于自身的网络中,则网络设备C同时处于两种网络中。本实施例中,网络设备A和网络设备C使用的协议类型相同,即两者均使用国际电信联盟(ITU)协议或者是国家标准协议,例如中国7号国标规范、美国国家标准化组织(ANSI)协议等。This embodiment adopts the heterogeneous No. 7 signaling network shown in FIG. 4 , assuming that network device A is in a network with NI=2 and a signaling point encoding structure of 24 bits, and because network device C converts the NI value of the message to Realize the intercommunication with the network with NI=2, 24-bit signaling point code, and the network with NI=2, 14-bit signaling point code, that is, both networks think that signaling point C is in their own network , then network device C is in both networks at the same time. In this embodiment, the protocol types used by network device A and network device C are the same, that is, both use the International Telecommunication Union (ITU) protocol or a national standard protocol, such as China's No. 7 national standard specification, the American National Standards Institute (ANSI) agreement etc.

如图5所示,当网络设备C准备向异构网络中的其它网络设备发送消息时,本实施例对异构7号信令网消息的处理方法包括以下步骤:As shown in FIG. 5, when the network device C prepares to send a message to other network devices in the heterogeneous network, the method for processing the message of the heterogeneous No. 7 signaling network in this embodiment includes the following steps:

步骤501.网络设备C准备发送一条消息。Step 501. Network device C prepares to send a message.

本步骤中,网络设备C准备发送一条消息,该消息的目的信令点处于NI=2、14位信令点编码的网络中、或者处于NI=2、24位信令点编码的网络中。In this step, the network device C prepares to send a message, and the destination signaling point of the message is in a network with NI=2 and a 14-bit signaling point code, or in a network with NI=2 and a 24-bit signaling point code.

步骤502.网络设备C对该消息进行NI转换处理。Step 502. Network device C performs NI conversion processing on the message.

为了与两个网络中的信令点进行通信,网络设备C需要把上述网络之一映射到本地的一个有效网络上,例如:把NI=2、14位信令点编码的网络映射为NI=3、14位信令点编码的网络;这样网络设备C上与NI=2,14位信令点编码的网络通信时,认为是与NI=3,14位信令点编码的网络进行通信。为了进行NI值的转换处理,本实施例预先在网络设备C的MTP3/M3UA(MTP3用户适配层)中设置包含转换规则的转换映射表。转换映射表中每条转换规则的内容如下:In order to communicate with signaling points in the two networks, network device C needs to map one of the above networks to a local effective network, for example: map the network with NI=2, 14-bit signaling point code as NI= 3. A network with a 14-bit signaling point code; in this way, when the network device C communicates with a network with NI=2 and a 14-bit signaling point code, it is considered to be communicating with a network with NI=3 and a 14-bit signaling point code. In order to convert the NI value, this embodiment sets a conversion mapping table including conversion rules in the MTP3/M3UA (MTP3 User Adaptation Layer) of the network device C in advance. The content of each conversion rule in the conversion mapping table is as follows:

1.转换开关:是开发人员为了减少转换映射表的修改、提高该转换映射表灵活程度、根据实际的应用场合而设置的开关量,其作用在于表明该条转换规则是否起作用。当转换开关为“真(TRUE)”时,转换开关打开,该条转换规则起作用;当转换开关为“假(FALSE)”时,转换开关关闭,该条转换规则不起作用。1. Conversion switch: It is a switch value set by the developer according to the actual application in order to reduce the modification of the conversion mapping table and improve the flexibility of the conversion mapping table. Its function is to indicate whether the conversion rule works. When the conversion switch is "TRUE", the conversion switch is turned on, and this conversion rule takes effect; when the conversion switch is "False (FALSE)", the conversion switch is closed, and this conversion rule does not work.

2.约束类型和约束:本发明共定义了三种约束类型:链路转换、链路集转换和路由转换,其中链路转换表示将规定信令链路上信令消息的NI值全部转换,链路集转换表示将规定信令链路集中所有链路上的信令消息进行转换NI值的操作,路由转换表示将所有经过规定信令路由的信令消息的NI值进行转换;上述信令链路、信令链路集以及信令路由的具体信息在转换映射表中的约束部分进行规定。2. constraint type and constraint: the present invention has defined three kinds of constraint types altogether: link conversion, link set conversion and route conversion, wherein link conversion represents that the NI value of the signaling message on the prescribed signaling link is all converted, Link set conversion means converting the NI value of signaling messages on all links in the specified signaling link set, and routing conversion means converting the NI value of all signaling messages that have passed through the specified signaling route; the above signaling The specific information of link, signaling link set and signaling route is stipulated in the constraint part of the conversion mapping table.

3.源NI:表明对该条转换规则所适用的信令消息进行NI转换的网络设备自身所能够识别的NI值。3. Source NI: Indicates the NI value that can be recognized by the network device that performs NI conversion on the signaling message to which the conversion rule applies.

4.目的NI:表明该条规则所适用的信令消息的网络设备所能够识别的NI值。4. Destination NI: Indicates the NI value that can be recognized by the network equipment of the signaling message to which this rule applies.

例如表1所示的转换映射表,该表中包含三条转换规则,每条转换规则中均包含有转换开关、约束类型、约束、源NI以及目的NI等内容。For example, the conversion mapping table shown in Table 1 includes three conversion rules, and each conversion rule includes conversion switch, constraint type, constraint, source NI, and destination NI.

  转换规则 Conversion rules   转换开关 transfer switch   约束类型 Constraint type   约束 constraint   源NI Source NI   目的NI Purpose NI   1 1   FALSE FALSE   链路转换 link switch   链路集1的1号链路 Link 1 of link set 1   3 3   2 2   2 2   TRUE TRUE   链路集转换 Linkset conversion   1号链路集 Link Set No. 1   3 3   2 2   3 3   TRUE TRUE   路由转换 Routing conversion   3号路由 Route 3   3 3   2 2

表1Table 1

本步骤中,该消息与转换规则2中的约束类型和约束相匹配,所以网络设备C按照转换规则表将消息中的NI值进行转换,将该消息中的NI值由2转换为3,以便目的网络设备能够识别该消息。In this step, the message matches the constraint type and constraint in conversion rule 2, so network device C converts the NI value in the message according to the conversion rule table, and converts the NI value in the message from 2 to 3, so that The destination network device can recognize the message.

步骤503.网络设备C将转换处理后的消息重组后发送给目的信令点。Step 503. Network device C reassembles the converted message and sends it to the destination signaling point.

本步骤中,网络设备C根据转换后的NI值将该消息重新组合成其目的网络设备能够识别的信令点编码结构,然后再将该消息发送给其目的网络设备。其中网络设备C重组消息信令点编码的方法与现有的方法完全相同。In this step, network device C reassembles the message into a signaling point code structure that its destination network device can recognize according to the converted NI value, and then sends the message to its destination network device. The method for the network device C to recombine the signaling point code of the message is exactly the same as the existing method.

其中,步骤502中网络设备C对该消息进行NI转换处理的过程如图6所示,该过程包括以下步骤:Wherein, in step 502, the process of network device C performing NI conversion processing on the message is shown in Figure 6, and the process includes the following steps:

步骤601.网络设备C检查转换映射表,获取首条转换规则。Step 601. Network device C checks the conversion mapping table to obtain the first conversion rule.

本步骤中,网络设备C读取转换映射表,获取转换映射表中的首条转换规则。以表1所示的转换映射表为例,网络设备C在本步骤中获得转换开关为FALSE、约束类型为链路转换、约束为1号链路集的1号链路、源NI为2、目的NI为3的转换规则。In this step, the network device C reads the conversion mapping table, and obtains the first conversion rule in the conversion mapping table. Taking the conversion mapping table shown in Table 1 as an example, network device C obtains in this step that the conversion switch is FALSE, the constraint type is link conversion, the constraint is link 1 of link set 1, the source NI is 2, A conversion rule whose destination NI is 3.

步骤602.网络设备C判断转换规则中的转换开关是否打开,如果是,则执行步骤603;否则,执行步骤605。Step 602. The network device C judges whether the switch in the conversion rule is turned on, and if yes, executes step 603; otherwise, executes step 605.

本步骤中,网络设备C读取转换规则中转换开关的状态,如果转换开关的取值为TRUE,表示转换开关已经打开,则信令点C可继续读取该转换规则中的其它部分;如果转换开关的取值为FALSE,表示转换开关关闭,该条转换规则不起作用,因此网络设备C无需再读取该转换规则其他部分的内容。对于表1中的第一条转换规则而言,由于转换开关为关闭状态,因此网络设备C转而执行步骤605。In this step, the network device C reads the state of the conversion switch in the conversion rule. If the value of the conversion switch is TRUE, it means that the conversion switch has been turned on, and the signaling point C can continue to read other parts of the conversion rule; if The value of the conversion switch is FALSE, which means that the conversion switch is turned off, and the conversion rule does not work, so the network device C does not need to read the content of other parts of the conversion rule. For the first conversion rule in Table 1, since the conversion switch is in the off state, the network device C turns to step 605 .

当网络维护人员认为某条转换规则不需要再起作用时,则直接把该规则的开关设置为FALSE,从而不再根据该条规则进行后续操作。When the network maintainer thinks that a certain conversion rule does not need to work any more, he directly sets the switch of the rule to FALSE, so that subsequent operations are no longer performed according to the rule.

步骤603.网络设备C判断转换规则中的约束类型和约束是否与该消息匹配,如果是,则执行步骤604;否则,执行步骤605。Step 603 . The network device C judges whether the constraint type and the constraint in the conversion rule match the message, and if yes, execute step 604 ; otherwise, execute step 605 .

本步骤中,网络设备C首先读取转换规则中的约束类型和约束部分的具体内容,然后判断上述两部分与当前的消息是否匹配。例如:表1中转换规则2的约束类型是链路集转换,对应的约束是1号链路集,而如果当前的消息是来自于2号链路集,则由于当前消息与约束部分所指明的链路集不相同,因此认为转换规则中的约束类型和约束与该消息不匹配。In this step, the network device C first reads the constraint type and the specific content of the constraint part in the conversion rule, and then judges whether the above two parts match the current message. For example: the constraint type of conversion rule 2 in Table 1 is link set conversion, and the corresponding constraint is link set No. 1, and if the current message comes from link set No. 2, because the current message and constraint part indicate The link sets for are not the same, so the constraint type and constraints in the translation rule are considered to not match the message.

步骤604.网络设备C按照转换规则中的源NI和目的NI对该消息进行转换,而后结束NI处理流程。Step 604. The network device C converts the message according to the source NI and destination NI in the conversion rule, and then ends the NI processing flow.

本步骤中,如果转换规则中的转换开关打开、约束类型和约束与信令消息相匹配,则网络设备C将该消息的NI值从源NI转换为目的NI。In this step, if the conversion switch in the conversion rule is turned on, and the constraint type and constraint match the signaling message, the network device C converts the NI value of the message from the source NI to the destination NI.

步骤605~606.网络设备C判断该转换规则是否为转换映射表中的尾记录,如果是,则结束NI转换处理流程;否则,转向转换映射表中的下一条转换规则,然后返回执行步骤602。Steps 605-606. The network device C judges whether the conversion rule is the last record in the conversion mapping table, and if so, ends the NI conversion processing flow; otherwise, turns to the next conversion rule in the conversion mapping table, and then returns to execute step 602 .

当转换规则中的转换开关关闭或者约束类型和约束与该消息不相匹配的情况下,网络设备C首先判断本条转换规则是否为转换映射表中的最后一条记录,即判断转换映射表中是否还有其它未被查询过的转换规则。如果本条转换规则是转换映射表中的尾记录,表明转换映射表中的转换规则均不适用于该消息,即该消息的目的信令点能够识别其中的信令点编码,故NI无需转换,则结束M转换处理流程;如果本条转换规则步骤转换映射表中的尾记录,则信令点C转向下一条转换规则,并返回执行步骤602,重新判断是否存在适用于该消息的转换规则。When the conversion switch in the conversion rule is turned off or the constraint type and the constraint do not match the message, network device C first judges whether this conversion rule is the last record in the conversion mapping table, that is, judges whether the conversion mapping table still contains There are other transformation rules that have not been queried. If this conversion rule is the last record in the conversion mapping table, it indicates that none of the conversion rules in the conversion mapping table is applicable to the message, that is, the destination signaling point of the message can identify the signaling point code, so NI does not need to convert, Then end the M conversion processing flow; if this conversion rule step converts the tail record in the mapping table, then the signaling point C turns to the next conversion rule, and returns to the execution step 602 to re-judge whether there is a conversion rule applicable to the message.

以表1所示的转换映射表为例,此时网络设备C判断当前的转换规则是否为第三条转换规则,如果是则结束NI处理流程;否则,则转向表1中的下一条转换规则。Take the conversion mapping table shown in Table 1 as an example, at this time, network device C judges whether the current conversion rule is the third conversion rule, and if so, ends the NI processing flow; otherwise, turns to the next conversion rule in Table 1 .

通过上述步骤601至步骤606,网络设备C完成了对步骤501中消息的NI转换处理,该处理有两种结果:一种结果是在转换映射表中存在适用于该消息的转换规则,则网络设备C按照转换映射表的内容将该消息的NI值进行了转换;另一种结果是在转换映射表中不存在适用于该消息的转换规则,即NI值无需转换,则网络设备C仍然保留该消息中的NI值不变。Through the above steps 601 to 606, the network device C has completed the NI conversion processing of the message in step 501. This processing has two results: one result is that there is a conversion rule applicable to the message in the conversion mapping table, and the network Device C converts the NI value of the message according to the content of the conversion mapping table; another result is that there is no conversion rule applicable to the message in the conversion mapping table, that is, the NI value does not need to be converted, and network device C still retains The NI value in this message is unchanged.

以上为信令点C准备发送一条消息时使用异构7号信令网消息处理方法的具体流程。如图7所示,当网络设备C接收到一条消息时,本实施例对异构7号信令网消息的处理方法包括以下步骤:The above is the specific process of using the message processing method of the heterogeneous No. 7 signaling network when the signaling point C prepares to send a message. As shown in FIG. 7, when the network device C receives a message, the method for processing the heterogeneous No. 7 signaling network message in this embodiment includes the following steps:

步骤701.网络设备C接收到一条消息。Step 701. Network device C receives a message.

本步骤中,网络设备C接收到一条消息,该消息来自于处于NI=2、14位信令点编码网络中的信令点、或者来自处于NI=2、24位信令点编码网络中的信令点。In this step, the network device C receives a message from a signaling point in a NI=2, 14-bit signaling point coding network, or from a signaling point in a NI=2, 24-bit signaling point coding network signaling point.

步骤702.网络设备C对该消息进行NI逆转换处理。Step 702. Network device C performs NI inverse conversion processing on the message.

为了进行NI值的逆转换处理,本实施例在信令点C的MTP3/M3UA(MTP3用户适配层)中预先设置包含转换规则的转换映射表。转换映射表的内容与步骤602中的转换映射表完全相同。In order to perform inverse conversion processing of the NI value, this embodiment presets a conversion mapping table including conversion rules in the MTP3/M3UA (MTP3 User Adaptation Layer) of the signaling point C. The content of the conversion mapping table is exactly the same as the conversion mapping table in step 602 .

本步骤中,网络设备C对该消息进行NI转换处理的过程与图6所示的步骤601至步骤606基本相同,只是本步骤中将消息的NI值从转换规则中的目的NI转换为源NI。In this step, the process of network device C performing NI conversion processing on the message is basically the same as step 601 to step 606 shown in Figure 6, except that in this step, the NI value of the message is converted from the destination NI in the conversion rule to the source NI .

步骤703.网络设备C将逆转换处理后的消息解码后发送给自身的上层用户。Step 703. Network device C decodes the inversely converted message and sends it to its upper-layer user.

本步骤中,网络设备C根据转换后的NI值将该消息按照对应的信令点编码进行解码,然后再将该消息发送给网络设备C的上层用户。其中网络设备C按照转换后的NI值进行消息解码的方法与现有的方法完全相同。In this step, the network device C decodes the message according to the corresponding signaling point code according to the converted NI value, and then sends the message to the upper layer user of the network device C. The method in which the network device C decodes the message according to the converted NI value is exactly the same as the existing method.

为了使本发明的方法更加直观,下面进行举例说明。如图8所示,网络设备C处于NI=2、24位信令点编码的网络和NI=2、14位信令点编码的网络中,它与NI=2、信令点编码分别为14位、24位、14位的信令点1、信令点2和信令点3直接通信。网络设备C与信令点1之间为1号链路集、1号路由,其中1号链路集中包含1号链路和2号链路;网络设备C与信令点2之间为2号链路集、2号路由,其中2号链路集中只包含1条链路;网络设备C与信令点3之间为3号链路集、3号路由,其中3号链路集中只包含1条链路。假设网络设备C中的转换映射表为表1的内容。In order to make the method of the present invention more intuitive, an example is given below. As shown in Figure 8, network equipment C is in the network of NI=2, 24 signaling point codes and the network of NI=2, 14 signaling point codes, and it and NI=2, signaling point codes are 14 respectively Signaling point 1, signaling point 2 and signaling point 3 of bit, 24 bit, and 14 bit communicate directly. Between network device C and signaling point 1 is link set No. 1 and route No. 1, where link set No. 1 includes link No. 1 and link No. 2; between network device C and signaling point 2 is link set 2 No. link set and No. 2 route, of which No. 2 link set contains only one link; No. 3 link set and No. 3 route are between network device C and signaling point 3, of which No. Contains 1 link. Assume that the conversion mapping table in network device C has the contents in Table 1.

当网络设备C从1号链路集中的1号链路上接收到来自于信令点1的一条消息,该消息的NI=2、信令点编码为14位,则网络设备C首先检查转换映射表,获取转换规则1。由于转换规则1中的转换开关关闭,因此该转换规则不起作用,则网络设备C转向转换规则2。转换规则2中的转换开关为打开状态,网络设备C再检查约束类型和约束部分。由于转换规则2中的约束类型为链路集转换、约束为1号链路集,而该消息来自于1号链路集,该消息与转换规则2中的约束类型和约束相匹配,所以网络设备C将该消息中的NI由2转换为3。由于网络设备C在转换映射表中已经找到适用于该消息的转换规则,并进行了NI的转换,无需再检查其它的转换规则,因此网络设备C将转换了NI值的消息解码后发送给自身的上层用户。When network device C receives a message from signaling point 1 from link No. 1 in link set No. 1, the NI of the message is 2, and the signaling point code is 14 bits, then network device C first checks the conversion Mapping table, get conversion rule 1. Since the conversion switch in conversion rule 1 is off, the conversion rule does not work, and network device C turns to conversion rule 2. The conversion switch in the conversion rule 2 is in the open state, and the network device C checks the constraint type and the constraint part again. Since the constraint type in conversion rule 2 is link set conversion and the constraint is link set 1, and the message comes from link set 1, the message matches the constraint type and constraint in conversion rule 2, so the network Device C converts the NI in the message from 2 to 3. Since the network device C has already found the conversion rule applicable to the message in the conversion mapping table, and has performed the conversion of NI, there is no need to check other conversion rules, so the network device C decodes the message with the converted NI value and sends it to itself upper-level users.

当网络设备C从2号链路集中的1号链路上接收来自于信令点2一条消息时,该消息的NI=2、信令点编码为24位。使用本发明的方法时,网络设备C首先检查转换映射表,获取转换规则1。由于转换规则1中的转换开关关闭,因此该转换规则不起作用,则网络设备C转向转换规则2。转换规则2中的转换开关为打开状态,网络设备C再检查约束类型和约束部分。由于转换规则2中的约束类型为链路集转换、约束为1号链路集,而该消息来自于2号链路集,则该消息与转换规则2中的约束类型和约束不相匹配,所以网络设备C转向转换规则3。转换规则3中的转换开关为打开、约束类型为路由转换、约束为3号路由,由于该消息来自于2号路由,因此转换规则3也不适用于该消息。网络设备C检查到转换规则3为转换映射表中的尾记录,所以对该消息的NI值不作转换。此处可以看出,转换映射表中不存在适用于该消息的转换规则,即网络设备C与信令点2能够直接通信,所以网络设备C对来自信令点2的消息保留了其原来的NI值。When the network device C receives a message from the signaling point 2 from the No. 1 link in the No. 2 link set, the message has NI=2 and the signaling point code is 24 bits. When using the method of the present invention, the network device C first checks the conversion mapping table to obtain the conversion rule 1. Since the conversion switch in conversion rule 1 is off, the conversion rule does not work, and network device C turns to conversion rule 2. The conversion switch in the conversion rule 2 is in the open state, and the network device C checks the constraint type and the constraint part again. Since the constraint type in conversion rule 2 is link set conversion and the constraint is link set No. 1, and the message comes from link set No. 2, the message does not match the constraint type and constraint in conversion rule 2. So network device C turns to conversion rule 3. The conversion switch in conversion rule 3 is open, the constraint type is route conversion, and the constraint is route No. 3. Since the message comes from route No. 2, conversion rule 3 is also not applicable to this message. Network device C checks that conversion rule 3 is the last record in the conversion mapping table, so it does not convert the NI value of the message. It can be seen here that there is no conversion rule applicable to this message in the conversion mapping table, that is, network device C and signaling point 2 can communicate directly, so network device C retains its original NI value.

当网络设备C从3号链路集中的1号链路上接收到来自于信令点3的一条消息,该消息的NI=2、信令点编码为14位。使用本发明的方法时,网络设备C首先检查转换映射表,获取转换规则1。由于转换规则1中的转换开关关闭,因此该转换规则不起作用,则网络设备C转向转换规则2。转换规则2中的转换开关为打开状态,网络设备C再检查约束类型和约束部分。由于转换规则2中的约束类型为链路集转换、约束为1号链路集,而该消息来自于3号链路集,则该消息与转换规则2中的约束类型和约束不相匹配,所以网络设备C转向转换规则3。转换规则3中的转换开关为打开、约束类型为路由转换、约束为3号路由,由于该消息来自于3号路由,转换规则3适用于该消息,因此网络设备C将该消息的NI值由2转换为3,然后网络设备C再将转换了NI值的消息解码后发送给自身的上层用户。因此网络设备C使用本实施例的方法将消息中的NI值转换成协议允许的其它NI值后,按照协议规定的NI不同的消息处理方式进行解码,则其上层用户就按照转换后的NI识别该消息,从而实现NI值相同、信令点编码结构不同的异构网络间的互通。When the network device C receives a message from the signaling point 3 from the No. 1 link in the No. 3 link set, the message has NI=2 and the signaling point code is 14 bits. When using the method of the present invention, the network device C first checks the conversion mapping table to obtain the conversion rule 1. Since the conversion switch in conversion rule 1 is off, the conversion rule does not work, and network device C turns to conversion rule 2. The conversion switch in the conversion rule 2 is in the open state, and the network device C checks the constraint type and the constraint part again. Since the constraint type in conversion rule 2 is link set conversion and the constraint is link set No. 1, and the message comes from link set No. 3, the message does not match the constraint type and constraint in conversion rule 2, So network device C turns to conversion rule 3. The conversion switch in conversion rule 3 is open, the constraint type is route conversion, and the constraint is route No. 3. Since the message comes from route No. 3, conversion rule 3 is applicable to this message, so network device C converts the NI value of the message to 2 is converted to 3, and then network device C decodes the message with the converted NI value and sends it to its own upper-layer user. Therefore, after the network device C uses the method of this embodiment to convert the NI value in the message into other NI values allowed by the protocol, and then decodes according to the different message processing methods of NI stipulated in the protocol, the upper-layer users will be identified according to the converted NI This message realizes intercommunication between heterogeneous networks with the same NI value and different signaling point coding structures.

当网络设备C向网络设备1、2、3发送消息时,同样要检查该转换映射表,在把消息发送到链路上以前,把消息中的NI转换为网络设备1、2、3可以处理的NI。When network device C sends a message to network devices 1, 2, and 3, it also needs to check the conversion mapping table. Before sending the message to the link, convert the NI in the message to the network device 1, 2, and 3 that can be processed. The NI.

本实施例中描述了由信令点网络设备C对异构7号信令网消息的处理方法;同样地,也可以由A使用本实施例的方法,实现异构7号信令网的互通,其具体流程与上述C使用的流程相同。This embodiment describes the processing method of the heterogeneous No. 7 signaling network message by the signaling point network device C; similarly, A can also use the method of this embodiment to realize the intercommunication of the heterogeneous No. 7 signaling network , the specific process is the same as the process used in C above.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (7)

1、一种异构7号信令网消息的处理方法,其特征在于,预先在网络设备中设置包含有网络设备自身能够处理的有效网络指示和异构网络能够处理的有效网络指示之间的转换规则信息,与异构网络直接通信的网络设备从异构网络接收到一条消息,或者准备向异构网络发送一条消息时,执行以下操作:1. A processing method for heterogeneous No. 7 signaling network messages, characterized in that the network device is pre-configured to contain the effective network indication that the network equipment itself can handle and the effective network indication that the heterogeneous network can handle. To convert rule information, when a network device that directly communicates with a heterogeneous network receives a message from a heterogeneous network, or prepares to send a message to a heterogeneous network, it performs the following operations: A.所述网络设备根据适用于该消息的转换规则信息,将该消息中的网络指示数值转换成自身能够处理的有效网络指示数值,或者转换成所述异构网络能够处理的有效网络指示数值;A. According to the conversion rule information applicable to the message, the network device converts the network indication value in the message into an effective network indication value that can be processed by itself, or into an effective network indication value that can be processed by the heterogeneous network ; B.所述网络设备将转换后的消息解码后发送给自身上层用户,或者重组后发送给目的信令点。B. The network device decodes the converted message and sends it to its own upper-layer user, or reassembles it and sends it to the destination signaling point. 2、如权利要求1所述的方法,其特征在于,将所述网络设备自身能够处理的有效网络指示设为源网络指示,将所述异构网络能够处理的有效网络指示设为目的网络指示,则步骤A所述将该消息中的网络指示数值转换成所述网络设备自身能够处理的有效网络指示数值,或者转换成异构网络能够处理的有效网络指示数值的方法为:2. The method according to claim 1, wherein the effective network indication that the network device itself can handle is set as the source network indication, and the effective network indication that the heterogeneous network can handle is set as the destination network indication , then the method of converting the network indicator value in the message into an effective network indicator value that can be processed by the network device itself, or into an effective network indicator value that can be processed by a heterogeneous network as described in step A is: 如果所述网络设备接收消息,则将该消息的网络指示按照该转换规则信息从转换映射表中的目的网络指示转换为源网络指示;If the network device receives the message, convert the network indication of the message from the destination network indication in the conversion mapping table to the source network indication according to the conversion rule information; 如果所述网络设备准备发送消息,则将该消息的网络指示按照该转换规则信息从转换映射表中的源网络指示转换为目的网络指示。If the network device is going to send a message, convert the network indication of the message from the source network indication in the conversion mapping table to the destination network indication according to the conversion rule information. 3、如权利要求2所述的方法,其特征在于,所述网络设备在执行所述步骤A之前执行如下操作:3. The method according to claim 2, wherein the network device performs the following operations before performing the step A: A1.检查转换映射表,获取首条转换规则;A1. Check the conversion mapping table to obtain the first conversion rule; A2.判断该条转换规则是否适用于该消息;如果适用,则按照该条转化规则执行步骤A,否则,执行步骤A3;A2. Determine whether the conversion rule is applicable to the message; if applicable, perform step A according to the conversion rule, otherwise, perform step A3; A3.判断该条转换规则是否为转换映射表中的尾记录;如果是,则结束本转换处理流程,否则,转向转换映射表中的下一条转换规则,然后返回执行步骤A2。A3. Determine whether the conversion rule is the last record in the conversion mapping table; if yes, end the conversion processing flow, otherwise, turn to the next conversion rule in the conversion mapping table, and then return to step A2. 4、如权利要求3所述的方法,其特征在于,所述的转换规则进一步包括:转换开关、表明消息传输方式的约束类型和表明消息传输具体信息的约束。4. The method according to claim 3, wherein the conversion rule further comprises: a conversion switch, a constraint type indicating a message transmission mode, and a constraint indicating specific information of message transmission. 5、如权利要求4所述的方法,其特征在于,所述网络设备判断所述转换规则是否适用于该消息的方法为:判断所述转换开关是否打开,如果打开,则判断所述约束类型和约束是否与该消息匹配,如果是,则该条转换规则适用于该消息,否则,该条转换规则不适用于该消息;如果所述转换开关关闭,则该条转换规则不适用于该消息。5. The method according to claim 4, wherein the method for the network device to determine whether the conversion rule is applicable to the message is: determine whether the conversion switch is turned on, and if it is turned on, then determine the constraint type Whether the sum constraint matches the message, if yes, the conversion rule is applicable to the message, otherwise, the conversion rule is not applicable to the message; if the conversion switch is off, the conversion rule is not applicable to the message . 6、如权利要求5所述的方法,其特征在于,所述的约束类型至少包括:链路集转换、链路转换或者路由转换。6. The method according to claim 5, wherein the constraint type at least includes: link set conversion, link conversion or route conversion. 7、如权利要求6所述的方法,其特征在于:7. The method of claim 6, wherein: 如果约束类型为链路集转换,则所述的约束为:指明应转换消息所在链路集的约束;If the constraint type is link set conversion, the constraint is: a constraint indicating the link set where the message should be converted; 如果约束类型为链路转换,则所述的约束为:指明应转换消息所在链路的约束;If the constraint type is link conversion, the constraint is: a constraint indicating the link where the message should be converted; 如果约束类型为路由转换,则所述的约束为:指明应转换消息所在路由的约束。If the constraint type is route conversion, the constraint is: a constraint indicating the route where the message should be converted.
CNB2004101017612A 2004-12-22 2004-12-22 A Message Processing Method of Heterogeneous SS7 Signaling Network Expired - Fee Related CN100456750C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004101017612A CN100456750C (en) 2004-12-22 2004-12-22 A Message Processing Method of Heterogeneous SS7 Signaling Network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004101017612A CN100456750C (en) 2004-12-22 2004-12-22 A Message Processing Method of Heterogeneous SS7 Signaling Network

Publications (2)

Publication Number Publication Date
CN1798109A CN1798109A (en) 2006-07-05
CN100456750C true CN100456750C (en) 2009-01-28

Family

ID=36818883

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004101017612A Expired - Fee Related CN100456750C (en) 2004-12-22 2004-12-22 A Message Processing Method of Heterogeneous SS7 Signaling Network

Country Status (1)

Country Link
CN (1) CN100456750C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5867788A (en) * 1996-06-03 1999-02-02 Ericsson Inc. Coverting a routing address within a telecommunications network
CN1300167A (en) * 1999-12-16 2001-06-20 Lg电子株式会社 Method for mapping transform types in No.7 gate signalling networks
CN1329421A (en) * 2000-06-14 2002-01-02 Lg电子株式会社 Intercommunication equipment between heterogeneous No.7 signaling networks and its method
US20030128832A1 (en) * 2002-01-04 2003-07-10 Telefonaktiebolaget Lm Ericsson (Publ) Message transfer part point code mapping method and node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5867788A (en) * 1996-06-03 1999-02-02 Ericsson Inc. Coverting a routing address within a telecommunications network
CN1300167A (en) * 1999-12-16 2001-06-20 Lg电子株式会社 Method for mapping transform types in No.7 gate signalling networks
CN1329421A (en) * 2000-06-14 2002-01-02 Lg电子株式会社 Intercommunication equipment between heterogeneous No.7 signaling networks and its method
US20030128832A1 (en) * 2002-01-04 2003-07-10 Telefonaktiebolaget Lm Ericsson (Publ) Message transfer part point code mapping method and node

Also Published As

Publication number Publication date
CN1798109A (en) 2006-07-05

Similar Documents

Publication Publication Date Title
CN1140999C (en) Network Protocol Conversion Models in Telecommunication Systems
CN100452781C (en) A method for sending destination user partly unavailable message
US20030206519A1 (en) System and method for encoding and decoding messages
CN1154332C (en) Method for providing short message intelligent service on mobile intelligent network
CN1258902C (en) Multiple-signalling point and multiple-protocal method
CN100456750C (en) A Message Processing Method of Heterogeneous SS7 Signaling Network
Hekmat Communication networks
EP1519591A1 (en) Methods and apparatus for controlling signalling gateways
FI106499B (en) Data transfer method and network elements
CN1972494B (en) Processing method for signaling tracking
US20040008668A1 (en) Method for the transmission of digital data over several data transmission networks, the associated units and associated program
US7092388B2 (en) Interconnection of signalling nodes
US20060098628A1 (en) Methods and apparatus for controlling signaling gateways
US7031298B2 (en) Method of transmitting signaling data
CN100394735C (en) Method for transmitting news on signalling link based on No.7 signalling system
CN101001206A (en) Signal system and transmission method based on IP
US6535737B1 (en) Signalling link capacity in a cellular communications system
CN100391172C (en) A signaling monitoring system and method
KR100269590B1 (en) Signal message routing method by using default signa route formation on common channel signalling network
CN100499660C (en) Route coding method and device for signaling message
CN100544300C (en) Method for Realizing Interworking of Signaling Networks
EP1111847B1 (en) System and method of telecommunications network node ethernet connectivity
CN100349439C (en) Method for implementing intercommunication between different bearing network
CN101115075B (en) Transmission device, method and signaling network of circuit identification code information based on M3UA protocol
CN100544456C (en) A tandem system and a method for call routing in the tandem system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170919

Address after: 276000 Shandong province Linyi City Hedong District Office Messire Hongling Bu Village No. 386

Patentee after: Zheng Chunyuan

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090128

Termination date: 20171222