CN100568793C - Method for realizing business load uniform of No.7 signalling system - Google Patents

Method for realizing business load uniform of No.7 signalling system Download PDF

Info

Publication number
CN100568793C
CN100568793C CN 200510108377 CN200510108377A CN100568793C CN 100568793 C CN100568793 C CN 100568793C CN 200510108377 CN200510108377 CN 200510108377 CN 200510108377 A CN200510108377 A CN 200510108377A CN 100568793 C CN100568793 C CN 100568793C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
signaling
message
signaling point
index
point
Prior art date
Application number
CN 200510108377
Other languages
Chinese (zh)
Other versions
CN1852072A (en )
Inventor
邓少冬
Original Assignee
华为技术有限公司
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
Grant date

Links

Abstract

本发明提供一种实现七号信令系统业务负荷均衡的方法,网络实体利用消息中的选择子分别得到路由和信令链路选择,MTP层根据确定的源信令点、路由和链路将消息发送出去。 The present invention provides a method implemented SS7 traffic load balancing, the network entity using the selected sub-message routing and signaling links respectively selected, MTP layer will be determined according to the source signaling point, routing and link message sent. 应用本发明方案,由于路由和链路是由选择子来确定的,而选择子是传输请求(MTP_TRANSFER Request)消息中的SLS字段和OPC字段的组合,比现有技术中单独用4个比特的SLS字段进行选择更加合理,更加满足业务负荷均衡的要求。 Application of the present invention, since the route is selected and the sub-link is determined, and the selected sub-field is a combination of SLS transmission request (MTP_TRANSFER Request) message and OPC fields, than in the prior art a separate four bits SLS field to select more reasonable, and more to meet traffic load balancing requirements.

Description

一种实现七号信令系统业务负荷均衡的方法 A method for implementing SS7 traffic load balancing

技术领域 FIELD

本发明涉及七号信令系统技术,特別是涉及一种实现七号信令业务负荷均衡的方法。 The present invention relates to SS7 technology, particularly to a signaling traffic load on the 7th equalization methods.

背景技术 Background technique

七号信令系统也称为No.7信令系统(SS7, Signalling System No.7 ),是局间公共信道信令,应用于数字通信网络。 Also known as Signaling System No. 7 Signaling System No.7 (SS7, Signalling System No.7), a common channel signaling interoffice, applied to a digital communication network. 七号信令系统是在ITUQ系列协议中定义的,包括用户部分和消息传递部分(MTP, Message Transfer Part )。 SS7 is defined in ITUQ series of protocols, including a user part and a message transfer part (MTP, Message Transfer Part). 如图I所示,七号信令系统协议栈中用户部分主要包括移动应用部分(MAP,Mobile Application Part) /智能应用部分(CAP )、事务能力应用部分(TCAP,Transcation Capability Application Part)、綜合业务数字网用户部分(ISUP,ISDN User Part) /电话用户部分(TUP, Telephone User Part)、信令连接控制部分(SCCP,Signalling Connection Control Part)等。 As shown in FIG. I, SS7 protocol stack includes a user portion Mobile Application Part (MAP, Mobile Application Part) / Intelligent Application Part (CAP), Transaction Capabilities Application Part (TCAP, Transcation Capability Application Part), Comprehensive services digital network user part (ISUP, ISDN user part) / telephone user part (TUP, telephone user part), signaling connection control part (SCCP, Signalling connection control part) and the like.

七号信令网中的每ー个节点都是ー个网络实体,不同功能的网络实体包括的网络层次可能不同。 SS7 network each node is ー ー network entity, network-level functions comprising different network entities may vary. 例如:包括MAP/CAP层、TCAP层、SCCP层和MTP层的网络实体可以完成MAP/CAP业务,只包括SCCP层和MTP层的网络实体可以作为信令转接点(STP, Signalling Transfer Point)完成信令的转接任务,而包括ISUP/TUP层和MTP层的网络实体则可以完成ISDN业务或电话业务。 For example: a MAP / CAP layer, the TCAP layer, the network layer, and a SCCP MTP layer entities can be completed MAP / CAP services, the network entity includes only SCCP and MTP level layer as the signaling transfer point (STP, Signalling Transfer Point) signaling the completion of transfer tasks, the network entity comprising ISUP / TUP layer and MTP layers can be completed ISDN telephone service or business. 网络实体中不同层次之间的接ロ消息是不同的,但一般均包含了网络实体准备向外发送的用户数据。 Ro access network entity messages between different levels are different, but generally contains the user is ready to send a data network entity outwardly.

以完成MAP/CAP业务的网络实体发送消息为例,要发送的消息由MAP/CAP层通过TCAP层、SCCP层、MTP层逐层下传。 Example message to the network entity sends a message to complete the MAP / CAP services, to be transmitted by the layer MAP / CAP TCAP layer by, the SCCP layer, the transfer layer MTP-layer. 其中,SCCP层向MTP层下传的消息称为消息传递部分传输请求消息MTP—TRANSFER Request,该消息包括源信令编码(OPC,Original Point Code )字段、目的信令点编码(DPC,Destionation Point Code )字段、信令链路选择(SLS, Signalling Link Selection )字段、业务信息八位组(SIO, Service information octet)字段以及用户数据部分。 Wherein, the SCCP layer is referred to pass the message Message Transfer Part MTP level transmission request message MTP-TRANSFER Request, the signaling message includes a source coding (OPC, Original Point Code) field, a destination point code (DPC, Destionation Point Code) field, a signaling link selection (SLS, Signalling link selection) field, a service information octet (SIO, service information octet) field, and a user data portion. 不同国家按照七号信令协议的规定可能对字段的长度有不同的定义,国际电信联盟定义OPC字段为14个比特,DPC字段为14个比特、SLS字段为4个比特、SIO为8个比特,而用户数据部分由上层用户決定。 Seven different countries in accordance with the signaling protocol of the length field may have different definitions, ITU defined OPC field is 14-bit, 14-bit field is the DPC, SLS field is 4 bits, 8 bits of the SIO , while the upper layer user data portion is determined by the user.

七号信令网由信令点(SP,Signalling Point)、信令转接点和信令链路(SL, SignallingLink)三部分组成。 A SS7 network signaling point (SP, Signalling Point), the signaling transfer point and a signaling link (SL, SignallingLink) of three parts. 其中,信令点SP是处理控制消息的节点,产生消息的信令点为该消息的起源点,消息到达的信令点为该消息的目的地点;信令转接点STP具有信令转发功能,能将信令消息从一条信令链路转送到另一条信令链路;信令链路SL是在两个信令点之间传送信令消息的链路,而直接连接两个信令点的一束信令链路构成ー个信令链路组。 Wherein the signaling point SP is the control message processing node, generating a message for the signaling point point of origin of the message, signaling point for the message reaches the destination point of the message; having a signaling transfer point STP Signaling Transfer function , can signaling message from one signaling link is transferred to another signaling link; a signaling link SL signaling messages between two signaling points of the link, and the direct connection of two signaling a bundle of points constituting ー a signaling link signaling link sets. 七号信令协议规定:两个直连信令点之间只有ー个链路组,并规定ー个链路组最多有16条链路。 The 7th predetermined signaling protocols: a two direct link only ー groups, and a predetermined ー link group with up to 16 links between signaling points. 如图2所示,当A局向B局发送消息时,A局的信令点编码称为源信令编码,B局的信令点编码称为目的信令点编码,A局和B局之间的链路组用一条直线表示。 2, when A sends a message to B Board Board Board A signaling point codes of signaling is called source coding, Board B signaling point codes called destination signaling point code, office A and the office B link group is represented by a straight line between. 当A局给B局发送消息时,一般通过消息中4个比特的信令链路选择字段来确定路由和链路。 When A sends a message to B Administration Bureau, is generally determined by the message routing and link the four bits of signaling link selection field. 所以,如果A局和B局之间有K条路由,每个路由有16条链路,那么从A局到B局就有16 XK条链路选择,4个比特的SLS字段显然无法使链路得到均衡的选择。 So, if there are K Administration route between A and B by the Bureau, each routing links 16, then from office A to office B have 16 XK selected links, 4 bits of the chain can not be clearly SLS field way to get a balanced choice. 另外,如果A局必须经过中间信令点才能到达B局,或者A局有多个源信令点的情况时,A局在发送消息时必须对中间信令点和源信令点分別进行选择。 Further, if the authority must go through an intermediate A signaling point to reach office B, or a plurality of sources Bureau A signaling point, the intermediate authority must A signaling point and the signaling point sources are selected when sending a message . 假定A局有N个中间信令点和M个源信令点,每个路由有16条链路,那么A局向B局发送消息的路径就有16 XMXNXK种选择。 A Bureau assumed N intermediate signaling point and the M source signaling point, each routing links 16, then sends a message to A Board Board B had 16 XMXNXK path choices. 在现有技术中,A局对源信令点、路由和链路的选择都是靠消息中的同一个SLS字段得到,而中间信令点的选择是由用户自行定义的,这种方法显然很难在WxMxNXK种路径中作出均衡的选择,在多次消息发送中,可能使部分路径承受较重的业务负荷,而有的路径却很难被选中。 In the prior art, A bureau source signaling point, routing and link are in the same message by the SLS field obtained, selecting an intermediate signaling point is defined by the user, this method is clearly difficult to make a balanced choice WxMxNXK kind of path, in a number of messages sent, it may be the part of the path withstand heavy traffic load, while others are difficult path is selected. 由此可见,由于仅仅由4个比特的SLS字段来确定路由和链路,所以,现有技术还不能很好地实现七号信令系统业务负荷的均衡。 Thus, since only the link determined by the routing and SLS field of 4 bits, so the prior art does not adequately balanced SS7 traffic load.

发明内容 SUMMARY

有鉴于此,本发明的主要目的在于提供一种实现七号信令系统业务负荷均衡的方法,可以解决现有技术中仅仅由4个比特的SLS字段来确定路由和链路的问题。 In view of this, the main object of the present invention is to provide an SS7 traffic load balancing implemented method, the prior art can be solved solely determined by the SLS field of 4 bits and routing link problem. 为了达到上述目的,本发明提出的技术方案为: To achieve the above object, the technical solution proposed by the invention is:

一种实现七号信令系统业务负荷均衡的方法,包括以下步骤: A service load balancing method SS7 implemented, comprising the steps of:

a、用户部分确定目的信令点编码,并确定由消息传递部分传输请求MTP—TRANSFER Request消息中源信令点编码字段和信令链路选择SLS字段组成的选择子,在多信令点情况下,所述选择子最多为14个比特,在单信令点情况下,所述选择子最多为18个比特;然后下传携带有目的信令点编码和选择子的传输请求MTPJTRANSFERRequest消息; a, the user determines the destination point code portion, and is determined by the message transmitting portion of the transmission request signaling point code field source and the signaling link selection MTP-TRANSFER Request message fields SLS selectors, in the case of multiple signaling points under the selecting sub-maximum of 14 bits, in the case where a single signaling point, the selected sub-most 18 bits; and carrying downlink destination signaling point code and sub-transmission request MTPJTRANSFERRequest selected message;

b、消息传递部分MTP根据传输请求MTP_TRANSFER Request消息中的选择子确定路由和信令链路选择值,消息传递部分MTP根据确定的目的信令点编码、源信令点编码以及路由和链路发送消息。 B, Message Transfer Part MTP according to the transmission request selection sub MTP_TRANSFER Request message to determine routing and signaling link selection value, message transfer part MTP according to the determined destination signaling point code, the signaling point code and source routing and link transmission news.

当用户部分与消息传递部分MTP之间存在适配层时,确定源信令点编码的方法是: When there is an adaptation layer between the user portion and the Message Transfer Part MTP, a method for determining a source point code is:

用户部分先将传输请求MTP一TRANSFER Request消息下传给适配层,适配层根据消息中的选择子确定本局信令点索引,适配层再将携带有本局信令点索引的传输请求MTP_TRANSFER Request消息下传给消息传递部分MTP,然后,消息传递部分MTP将消息中的本局信令点索引作为源信令点索引,根据源信令点索引来确定源信令点编码。 Transmission request to the first part of the user adaptation layer at a MTP TRANSFER Request message, the adaptation layer message in the selected sub-index is determined according to the signaling point Council, then the adaptation layer carries Council transmission request signaling point index MTP_TRANSFER Request message transmitted to the message transfer part MTP, then, the message transfer part MTP signaling point Council index message as the source signaling point in the index, to determine a source signaling point code according to the source index point.

当用户部分不存在适配层时,网络实体确定源信令点编码的方法是: Method When the user adaptation layer portion does not exist, the network entity determines the source point code is:

用户部分根据选择子确定本局信令点索引,再携带本局信令点索引下传消息给消息传递部分MTP;消息传递部分MTP将消息中的本局信令点索弓)作为源信令点索引,再由源信令点索引来确定源信令点编码。 The user selection part determines the sub-index Council signaling point, and then pass the message carrying the signaling point index to Council Message Transfer Part MTP; Message Transfer Part MTP signaling point Council will bow message index) index as the source signaling point, then to determine a source point code of the source signaling point index.

当用户部分为信令连接控制部分SCCP时,为了较好地确定选择子,选择子产生的方法是: When the user part of the signaling connection control part SCCP, in order to better determine the selection sub-process are generated selectors:

事务能力应用部分TCAP判断要发送的消息是否有顺序要求,如菜有,事务能力应用部分TCAP则根据事务ID号得到顺序控制参数,再携带顺序控制参数将要发送的消息下传给信令连接控制部分SCCP层,由信令连接控制部分SCCP层根据消息中的顺序控制参数得到选择子;否则,由信令连接控制部分SCCP层随机产生选择子。 If the message is determined TCAP Transaction Capabilities Application Part sequential requirements to be transmitted, such as dishes, Transaction Capabilities Application Part TCAP signaling connection is obtained transmitted sequence under the control parameters, then the message carrying the sequence control parameter to be transmitted in accordance with a control transaction ID number part SCCP layer, by a signaling connection control part SCCP layer control parameters in the message according to the order obtained selectors; otherwise, signaling connection control part SCCP layer by a random selection sub.

为了更好地确定目的信令点,信令连接控制部分SCCP层确定目的信令点编码的方法是: Method To better define the destination signaling point, the signaling connection control part SCCP layer determines the destination point code is:

信令连接控制部分SCCP层判断该消息是否需要通过中间信令点进行SCCP层转发才能到达目的信令点,如果是,则由信令连接控制部分SCCP层选择ー个中间信令点,并将中间信令点编码作为目的信令点编码;否則,不作处理。 Signaling Connection Control Part SCCP layer determines whether the message needs to be forwarded through intermediate SCCP layer destination signaling point to signaling point, if, by the Signaling Connection Control Part SCCP layer selected ー intermediate signaling point, and intermediate signaling point codes as the destination signaling point code; otherwise, no processing. 为了更好地选择中间信令点,信令连接控制部分SCCP层选择ー个中间信令点的方法是: In order to select an intermediate signaling point, the signaling connection control part SCCP layer selection method ー intermediate signaling point is:

信令连接控制部分SCCP层判断消息是否有顺序要求,如果有,则信令连接控制部分SCCP层根据顺序控制参数得到中间信令点索引,再由中间信令点索引确定中间信令点编码;否则,信令连接控制部分SCCP层根据选择子得到中间信令点索引,再由中间信令点索引确定中间信令点。 Signaling Connection Control Part SCCP layer determines whether there is a message sequence requirements, if any, the Signaling Connection Control Part SCCP layer according to an order to obtain an intermediate signaling point control parameter index, and then determining an intermediate signaling point code from the intermediate point index; otherwise, signaling connection control part SCCP layer according to obtain an intermediate signaling point selecting sub-index, and then an intermediate signaling point is determined from the intermediate signaling point index.

当用户部分为综合业务数字网用户部分ISUP/电话用户部分TUP时,为了较好地确定选择子,选择子产生的方法是:直接将综合业务数字网用户部分ISUP/电话用户部分已有的电路标识码CIC作为选择子。 When the user is part of an integrated services digital network user part ISUP / TUP Telephone User Part time, in order to better determine the selection sub-process is generated selectors: direct ISDN User Part ISUP / TUP circuit has as an alternative identification code CIC child.

为了更好地确定路由和信令链路选择イ直,步骤b所述根据选择子确定路由和信令链路选择值的方法是:选择子经过掩码计算或哈希计算得到路由和信令链路选择值。 To better define the routing and signaling link selection イ straight, said selecting sub-step b according to the method of determining routing and signaling link selection value is: After selecting sub mask is calculated or computed hash routing and signaling link selection value.

为了更好地确定本局信令点索引,所述根据选择子确定本局信令点索引的方法是:选择子经过掩码计算或哈希计算得到本局信令点索引。 To better define the signaling point Council index, selecting sub-index is determined Council signaling point according to the method: After selecting sub mask is calculated or computed hash index Council signaling point.

为了更好地确定顺序控制参数和选择子,所述根据事务ID号得到顺序控制参数的方法是:事务ID号经过掩码计算或哈希计算得到顺序控制参数; To better define the control parameters and selecting sub-sequence, the method according to the transaction ID number sequence control parameter is obtained: the transaction ID number mask through calculation or hash calculated sequence control parameter;

所述根据顺序控制参数得到选择子的方法是:顺序控制参数经过掩码计算或哈希计算得到选择子。 A method according to sequential selection sub-control parameter is obtained: after the mask sequence control parameter calculated hash calculation or selection sub.

为了更好地确定中间信令点索引,所述根据顺序控制参数得到中间信令点索引的方法是:顺序控制参数经过掩码计算或哈希计算得到中间信令点索引; To better define the method of intermediate signaling point index, the control parameter to obtain an intermediate signaling point is indexed according to the order: mask sequence control parameter calculation or through an intermediate signaling point calculated by the hash index;

所述根据选择子得到中间信令点索引的方法是:选择子经过掩码计算或哈希计算得到中间信令点索引。 The resulting intermediate signaling point index sub-method is based on the selection: After selecting sub mask is calculated or computed hash index intermediate signaling point.

综上所述,本发明提出的一种实现七号信令系统业务负荷均衡的方法具有以下优点: In summary, a method for implementing SS7 traffic load equalization proposed by the present invention has the following advantages:

第一、本发明中,源信令点、路由和链路是由选择子来确定的。 First, in the present invention, the source signaling point, routing and sub-link is determined by the selection. 选择子是MTP_TRANSFER Request消息中的SLS字段和OPC字段的组合,在多信令点情况下,选择子最多可以达到14个比特,在单信令点情况下,选择子最多可以达到18个比特,比现有技术中单独用4个比特的SLS字段进行选择更加合理,可以使I务负荷得到均衡。 SLS is a combination of selected sub-fields and the OPC field MTP_TRANSFER Request message, signaling point in a multi-case, selectors can be up to 14 bits, in a single signaling point, the selected promoter may be up to 18 bits, than in the prior art using four separate field selection bit SLS more reasonable, I can obtain traffic load balancing.

第二、本发明由事务ID确定顺序控制参数,再由顺序控制参数确定中间信令点,或者由随机产生的选择子确定中间信令点,使中间信令点被选择的机会均等,从而可以使业务负荷得到均衡。 Second, the present invention is a control parameter determined by the order of the transaction ID, then the control parameter is determined by the order of an intermediate signaling point, or intermediate signaling point is determined by the selection of the sub-randomly generated, so that the intermediate signaling point equal opportunities are selected, which can so that the traffic load is equalized.

第三、当处理有顺序要求消息的MAP/CAP事务时,一方面,本发明规定事务ID确定顺序控制参数,再由顺序控制参数确定选择子,另ー方面,七号信令协议规定同属一次会话的消息事务ro相同,所以,在本发明中,同属一次会话所有消息的顺序控制参数、选择子是相同的,那么得到的源信令点、中间信令点、路由和链路都是相同的,即同属一次会话的消息将从同一个源信令点发送,并且经过同样的路由、链路和中间信令点,从而可以保证同属一次会话的消息的顺序性。 Thirdly, when processing sequential required MAP message / CAP transaction, in one aspect, the present invention is a predetermined sequence of control parameters determining the transaction ID, then the control parameter is determined by the selected sub-sequence, another aspect ー SS7 belong to a predetermined protocol ro session transaction of the same message, therefore, in the present invention, all messages belong to a conversation order control parameter selectors are the same, then the source signaling point obtained intermediate signaling point, routing and links are the same , i.e. a message sent from a session belong to a same signaling point source, and through the same route, intermediate links and signaling points, thereby ensuring a session belong to the order of the messages.

第四、本发明利用消息中的OPC字段和SLS字段的组合构成选择子,并没有实际改变消息格式,所以,本发明能够在与七号信令协议消息格式保持一致的同时,实现选择承担业务负荷路径的字段的扩展,达到业务负荷的均衡。 Fourth, the present invention utilizes a combination of OPC and SLS field of the message fields constituting the selectors, and no real change message format, while the present invention can be consistent with VII signaling message protocol format, to achieve business choose to assume an extension field of the load path, traffic load equilibrium.

附图说明 BRIEF DESCRIPTION

图I是七号信令协议栈结构示意图; FIG. I is a schematic diagram of a signaling protocol stack structure VII;

图2是七号信令系统组网示意图; FIG 2 is a schematic view of Signaling System No. 7 network;

图3是本发明实施例一和实施例ニ的组网示意图; FIG 3 is a schematic of an embodiment of the present invention, networking and a Ni embodiment of embodiment;

图4是本发明实施例一中七号信令协议各层次掩码计算示意图; FIG 4 is a diagram of a seventh embodiment of the present invention, each of the signaling protocol calculating mask levels schematic;

图5是本发明实施例ー确定消息发送路径的流程图; FIG 5 is a flowchart of an embodiment of the present invention is determined ー message transmission path;

图6是应用本发明方案的实施例ニ确定消息发送路径的示意图; FIG 6 is an example embodiment of the present invention is applied ni schematic message transmission path is determined;

图7是本发明实施例ニ确定消息发送路径的流程图;· FIG 7 is a flowchart of Ni embodiment of the present invention determines the message transmission path; -

图8是应用本发明方案的实施例三确定消息发送路径的示意图; FIG 8 is a schematic of an embodiment of the present invention, three application determines the message transmission path;

图9本发明实施例三确定消息发送路後的流程图。 Example 9 a flowchart of the present invention after three message path is determined.

具体实施方式 detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图及具体实施例对本发明作进ー步地详细描述。 To make the objectives, technical solutions, and advantages of the invention more clearly, the accompanying drawings and the following detailed description of embodiments of the present invention as embodied into ー further embodiment.

本发明的基本思想是:在用户部分确定目的信令点,并利用消息的OPC字段和SLS字段的组合作为选择子;在消息传递部分利用选择子来确定路由和信令链路选择值,并按照确定的源信令点、路由和信令链路将消息向外发送出去。 The basic idea of ​​the invention is: a combination of determining the destination signaling point in the user part, and using the OPC field of the message and a selection sub-fields SLS; determining routing and signaling link selection value using the selected sub-message transfer part, and determined according to the source signaling point, routing and signaling link messages sent out.

在多信令点情况下,网络实体最多有16个源信令点,那么源信令点索引可以用OPC字段中的4个比特位来表示,而OPC字段的其余10个比特就可以与SLS字段组合成选择子。 In the case of multiple signaling points, the network entity a maximum of 16 signaling point source, then the source signaling point index OPC field may be 4 bits to represent, while the remaining 10 bits of OPC field may SLS to select a combination of sub-fields. 所以,在多信令点情况下,选择子最多有14个比特。 Therefore, in the case of multiple signaling point, selecting sub up to 14 bits. 当然,用户也可以根据实际情况,定义选择子小于14个比特,但只要选择子的位数大于SLS字段的4个比特,就可以得到比用仅SLS字段来确定源信令点索引、路由和链路更好的效果。 Of course, the user may be based on the actual situation, the definition is less than 14 bits select the sub, but as long as the number of bits is greater than the selected sub-field of 4 bits SLS, than can be obtained with only SLS field index to determine a source signaling point, routing and link better results. 本发明将选择子定义为14个比特,并规定消息的OPC字段的前10个比特与SLS字段全部4个比特构成选择子,而OPC余下的后4个比特则作为记录本局信令点索引。 The first 10 bits of the SLS field of the present invention is defined as 14 sub-select bits, and predetermined OPC field of the message bits constituting all four selectors, and the remaining four bits of OPC recording Council the signaling point index. 该消息的SLS字段、OPC字段和DPC字段的格式如表一所示: SLS field of the message format, OPC and DPC fields as the fields shown in Table I:

在单信令点情况下,因为网络实体只有一个信令点,不需要在OPC字段中留出一部分比特作为本局信令点索引,那么选择子最多可以有18个比特。 In the case of a single signaling point, since only one signaling point of the network entity, does not need to set aside a portion of the OPC field bits as index Council signaling point, the selectors can have up to 18 bits. 当然,同多信令点情况一祥,用户也可以定义选择子小于18个比特。 Of course, a situation with multiple signaling points Xiang, the user can select a sub-defined of less than 18 bits. 本发明在单信令点情况下将选择子定义为18个比特,即消息的OPC字段全部的14个比特与SLS字段全部的4个比特构成选择子。 In the present invention, a single signaling point is defined as a case where the selected sub 18 bits, i.e., all of the OPC field of the message and the 14-bit field of all SLS 4 bits constituted selectors. 该消息的SLS字段、OPC字段和DPC字段的格式如表ニ所示: SLS field of the message, the format field OPC and DPC fields in Table ni:

当确定源信令点编码时,对不同的情况可以采用不同的方法: When it is determined the source signaling point code, can be used for different circumstances in different ways:

第一、如果网络实体有多个信令点并且层次结构与原七号信令协议相同,那么可以在用户部分,如SCCP层或ISUP/TUP层,由选择子确定本局信令点索引,然后,在MTP层中将本局信令点索引作为源信令点索引,再由源信令点索引确定源信令点编码。 First, if the network entity has a plurality of signaling points and signaling hierarchy of the original on the 7th same protocol, it can be part of the user, such as the SCCP layer or ISUP / TUP layer, determined by the Council signaling point index selectors, and in this Council MTP signaling point index layer as the source signaling point in the index, then the source is determined by the source signaling point code index point.

第二、如果网络实体有多个信令点但层次结构与原七号信令协议不同,比如:采用本申请人另ー专利申请中提出的新的七号信令协议栈结构,该结构在用户部分和MTP层之间増加了ー个适配层,用户部分先将MTP—TRANSFER Request消息下传给适配层,由适配层确定源信令点索引和源信令点编码,并将源信令点编码填写在OPC字段中后下传给MTP层。 Second, if the network entity has a plurality of signaling points but with the original hierarchy VII signaling protocols, such as: new SS7 protocol stack structure of the present applicant proposed in Patent Application ー another, the structure in between the user part and the MTP level to increase in the adaptation layer ー a user adaptation layer passed the first part of MTP-TRANSFER Request message, determining a source signaling point and the source point code index by the adaptation layer, and MTP layer was passed at the source point code OPC fill in the field. 在本发明中,用户部分仍然将MTP—TRANSFER Request消息下传给适配层,但适配层根据消息中的选择子确定源信令点索引,再将源信令点索引填写在消息的本局信令点索引字段中后下传给MTP层,然后由MTP层根据本局信令点索引字段确定源信令点编码。 In the present invention, the user is still part of the message transmitted to the MTP-TRANSFER Request adaptation layer, but the adaptation layer determines the source signaling point according to an index in selecting sub-message, then the source signaling point of the message in this Council fill index MTP layer was passed to the signaling point in the index field, and determining a source point code of the signaling point Council the MTP level index field. 第三、如果网络实体只有一个信令点,那么就不需要适配层,也不需要确定源信令点索引,而是由MTP层直接确定源信令点编码。 Third, if only a signaling point of the network entity, then no adaptation layer, does not need to determine the source signaling point index, but to determine the source point code directly from the MTP level.

本发明为了根据事务ID得到顺序控制参数,由顺序控制参数得到选择子,或者由选择子得到源信令点索引、中间信令点索引、路由和链路的索引号,可以采用一种掩码计算来得到。 According to the present invention, the transaction ID in order to obtain the sequence control parameter, the control parameter obtained from the selected sub-sequence, or obtained by the selection sub-source signaling point index, which index number of an intermediate signaling point, routing and links, may employ one mask calculated to obtain. 掩码计算是指当数据X与掩码Y进行掩码计算时,先检查掩码Y中哪些比特位为0,再删除数据X中对应的位,删除后构成的新数据就是数据X与掩码Y进行掩码计算的結果。 Masking calculation means when the data X and Y mask masking calculations, check the mask bits which Y is 0, then delete the corresponding X-bit data, the new data is configured to delete data X and the mask Y codes calculation result masking. 例如:数据X的ニ进制表示为11010101B,掩码Y的ニ进制表示为01111010B,数据X经过掩码Y计算就是将数据X中第0位、第2位和第7位的值删除,得到一个新的数据为10100,该值就是数据X经过掩码Y的掩码计算結果。 For example: data X ni expressed as hexadecimal 11010101B, ni binary mask is represented as Y 01111010B, mask data X through Y is to delete the calculated values ​​X of the first data bit 0, bit 2 and 7 of get a new data is 10100, the mask value is the data X through Y of mask results. 当然,得到源信令点索引、中间信令点索引、路由和链路的索引号还可以采用其它方法,只要可以从数据X中得到ー个新的值,并保证在消息有顺序要求时得到的值相同即可。 Of course, the source signaling point to obtain an index, the index intermediate signaling point, routing and link index may also be employed other methods, can be obtained whenever new values ​​ー from the data X, and to ensure that the message has sequence requirement the same value can be. 比如:在实际应用中,还可以采用哈希算法来得到顺序控制参数、选择子、源信令点索引、中间信令点索引、路由和链路的索引号。 For example: In practical applications, it can be obtained using a hashing algorithm sequence control parameter selecting sub-index index number of the source signaling point, index intermediate signaling point, routing and links.

七号信令系统网中的网络实体的协议层次可以不同,如信令转接点只包括SCCP层和MTP层;完成MAP/CAP业务的网络实体,如移动交换机,包括MAP/CAP层、TCAP层、SCCP层和MTP层;完成ISUP/TUP业务的网络实体,如汇接局,包括ISUP/TUP层和MTP层。 Protocol layers of SS7 network entity may be a different network, such as a signaling transfer point comprises only the SCCP layer and MTP level; complete MAP / CAP service network entity, such as a mobile exchange, including MAP / CAP layer, the TCAP layer, the SCCP and MTP level layer; complete ISUP / TUP service network entity, such as the tandem office, including ISUP / TUP layer and MTP level. 这些网络实体可以有多个信令点,也可以只有一个信令点,可以有适配层,也可以没有适配层。 The network entity may have a plurality of signaling points, signaling may be only one point, there may be adaptation layer, no adaptation layer. 所以,不同的网络可以按照各自不同要求来应用本发明提出的方案。 Therefore, different network requirements may be different in accordance with their proposed applications of the present invention.

另夕卜,当消息有顺序要求时,在SCCP/ISUP/TUP层确定DPC字段和确定选择子时,没有严格的顺序規定,所以,只要能够满足在SCCP/ISUP/TUP层确定DPC和选择子的其它流程均可。 Another Bu Xi, when the message requires sequential, it is determined SCCP / ISUP / TUP layer DPC field and determine the selection neutrons, no strict predetermined sequence, so long as they meet the SCCP / ISUP / TUP and selecting sub-layer is determined DPC other processes can be. 本发明的实施例中规定先由SCCP/ISUP/TUP层确定选择子,再由SCCP/ISUP/TUP层确定DPC字段。 Embodiments of the present invention shall be determined first by selecting sub SCCP / ISUP / TUP layer, then the field is determined by the DPC SCCP / ISUP / TUP layer.

实施例一本实施例的组网情况如图3所示。 Example networking of an embodiment of the embodiment shown in Fig. 其中,完成MAP/CAP业务的A局有三个信令点,信令点编码分别为111111, 222222, 333333; B、C、D局分别有ー个信令点,信令点编码分别为444444, 555555和666666。 Wherein, to complete the MAP / CAP business office A three signaling points, the signaling point code, respectively 111111, 222222, 333333; B, C, D respectively Bureau ー a signaling points, the signaling point code 444444, respectively, 555555 and 666666. A局、B局、C局和D局的相连情况如图3所示,信令点之间通过链路组进行连接,并且每个链路组均有16条链路。 A case connected Bureau, B Bureau, C and D Board Board 3, between signaling points are connected through a link group, and each group has a link 16 link. 本实施例假定A局采用原七号信令协议的层次结构;当A局发送消息给B局时,A局必须通过中间信令点才能将消息发送给B局;A局发送的消息有顺序要求。 The present embodiment assumes office A hierarchy using the original on the 7th signaling protocol; when A sends a message to B Administration Bureau, A authority must be sent to the bureau via an intermediate signaling point B to messages; A message sent by sequential Board Claim.

图4显示了A局进行掩码计算的示意图。 FIG 4 shows a schematic Board A masking calculations. 如图4所示,A局分配的事务ID经过掩码I得到顺序控制参数;顺序控制参数经过掩码2得到中间信令点;顺序控制参数经过掩码3得到选择子;选择子经过掩码4得到源信令点索引;选择子经过掩码5得到路由索引;选择子经过掩码6得到信令链路选择值。 4, a Transaction ID A dispensing Bureau I obtained through the sequence control parameter mask; mask sequence control parameters used to obtain an intermediate signaling point 2; 3 mask sequence control parameters obtained through selectors; mask through selectors 4 to obtain the source signaling point index; selecting sub-routing index obtained through mask 5; after selecting sub-mask 6 to obtain a signaling link selection value. 本实施例中,假定事务ID用16进制表示为B565279AH,掩码I为B7E5F7E7H,掩码2 为86320AH;掩码3 为39B5CBH,掩码4 为AOAH,掩码5为2271H,掩码6为20D0H。 In this embodiment, assuming that the transaction ID is expressed in hexadecimal B565279AH, the mask I is B7E5F7E7H, the mask 2 is 86320AH; mask 3 39B5CBH, 4 AOAH mask, the mask 5 is 2271H, the mask 6 20D0H. 其中,事务ID是由TCAP层分配的, 而掩码I至掩码6可以由用户定义。 Wherein the transaction ID is assigned by the TCAP layer, the mask 6 and the mask I to be defined by the user. 为了得到较好的效果,定义掩码的原則是保证掩码中值为O比特位的位置以及值为O比特位的个数都是任意的。 In order to obtain better results, it is to ensure that the principles defined mask value of the mask bit positions O and O is the number of bits is arbitrary. 当消息没有顺序要求时,掩码在不同的消息中可以不同或相同,但是,当消息有顺序要求时,必须满足同属ー次会话的消息中的掩码是相同的。 When a message is not required sequence, the mask may be different or the same in a different message, but when there is a message sequence requirements must be met ー sessions belong to the same message in the same mask.

参见图5,本实施例中A局向外发送消息的步骤包括: Step embodiment A message exchange sends outwardly Referring to Figure 5, the present embodiment comprises:

步骤501: A局TCAP层判断要发送的消息是否有顺序要求,如果有,则TCAP层的事务ID经过掩码I计算得到顺序控制参数,TCAP层携带顺序控制参数向SCCP层下传消息,然后由SCCP层将顺序控制参数经过掩码3计算得到选择子,将选择子填入MTP_TRANSFER Request消息的选择子字段中;否則,TCAP直接向SCCP层下传消息,由SCCP层随机产生选择子,再将选择子填入MTP_TRANSFER Request消息的选择子字段中。 Step 501: Board A TCAP message to be sent layer determines whether a sequence requirement, if any, through the TCAP transaction ID mask layer I calculated sequence control parameter, TCAP layer message carrying the sequence control parameter passed to the SCCP layer, and the sequence is controlled by the SCCP layer parameter mask selecting sub calculated through 3, the selected sub-sub-field selection filled MTP_TRANSFER Request message; otherwise, the TCAP message is transmitted directly to the SCCP layer, produced by the selected sub-random SCCP layer, and then the selecting sub-filled MTP_TRANSFER Request message selection subfield.

本实施例中,假定要发送的消息有顺序要求,事务ID为B565279AH,掩码I为B7E5F7E7H,掩码3为39B5CBH,所以,TCAP层判断消息为有顺序要求后,将事务ID经过掩码I计算得到顺序控制参数为F5E5E2H,TCAP层再携带顺序控制参数下传给SCCP层。 In this embodiment, assume that the message to be transmitted requires sequential transaction ID is B565279AH, the mask I is B7E5F7E7H, mask 3 is 39B5CBH, therefore, the TCAP message is determined to have the layer sequence requires the transaction ID through the mask I sequence control parameter is calculated F5E5E2H, TCAP layer was passed SCCP layer carrying the sequence control parameter. SCCP层接收到下传的消息后,将顺序控制参数经过掩码3计算,得到选择子为377AH。 After receiving the SCCP layer message downstream to the mask through the sequence control parameter calculation 3, obtained for the selected sub-377AH.

步骤502: SCCP层判断要发送的消息是否需要经过中间信令点才能到达目的信令点,如果是,则执行步骤503;否則,直接将目的信令点填写到MTPTRANSFER Request消息的DPC字段中,再执行步骤504。 Step 502: SCCP layer message determines whether it is necessary to be transmitted via an intermediate signaling point to the destination signaling point, if yes, execute step 503; otherwise, directly to the destination signaling point to fill DPC field MTPTRANSFER Request message, then step 504 is executed.

本实施例假定A局需要经过中间信令点,应该执行步骤503。 The present embodiment assumes office A to go through an intermediate signaling point, step 503 should be performed.

步骤503: SCCP层判断要发送的消息是否有顺序要求,如果有,则将顺序控制参数经过掩码2计算确定中间信令点索引,将该中同信令点编码填入MTP_TRANSFERRequest消息的DPC字段中;否则,选择子经过掩码2计算确定中间信令点索引,将对应的中间信令点编码填入MTP_TRANSFERRequest消息的DPC字段中。 Step 503: Send a message to the SCCP layer determines whether a sequence requirement, if there is, then the sequence control parameter mask 2 via an intermediate signaling point calculation to determine the index, in the same signaling point code DPC of the message field is filled MTP_TRANSFERRequest ; otherwise, selecting sub mask 2 via an intermediate signaling point calculation to determine the index, corresponding to an intermediate point code DPC filled MTP_TRANSFERRequest message field.

本实施例中,SCCP层检查到从TCAP层下传的消息中有顺序控制参数,则判断为消息有顺序要求。 In this embodiment, the SCCP layer has to check the sequence control parameter is determined from the message requires sequential TCAP messaging lower layer. 本实施例中,假定掩码2为86320AH,由步骤501计算得到顺序控制参数为F5E5E2H,所以,顺序控制参数经过掩码2的计算结果为D1H,DlH再经过中间信令点个数的取模运算得到中间信令点索引号为I。 In this embodiment, the mask 2 is assumed 86320AH, calculated at step 501 the sequence control parameter is obtained F5E5E2H, therefore, the sequence control parameter calculation results through the mask 2 is D1H, DlH then through a modulo number of intermediate signaling point to give an intermediate signaling point arithmetic index is I. 所以,本实施例在中间信令点索引表中选择的中间信令点编码应该为666666。 Therefore, an intermediate signaling point codes embodiment the intermediate signaling point index should be selected according to the present embodiment 666666. A局的SCCP层应该将中间信令点编码666666填写到消息的DPC字段中。 A Board SCCP layer should fill the intermediate point code 666666 DPC of the message field. 本实施例的中间信令点索引表如表三所示: Intermediate signaling point index table according to the present embodiment as shown in Table 3:

步骤504: SCCP层将选择子经过掩码4计算,并将结果与A局中能达到DPC字段所表示的信令点的源信令点个数进行取模运算,得到本局信令点索引,并将本局信令点索引填写到MTP 一TRANSFER Request消息的本局信令点索引字段中,再携带DPC和本局信令点索引向MTP层下传消息。 Step 504: SCCP layer was calculated to select the sub mask 4, and the results can be achieved with the number of the office A signaling point source signaling point DPC fields represented by modulo operation, the index of this Council signaling point, Council and the MTP signaling point index to fill a tRANSFER Request message of the signaling point Council index field, and then carries the DPC Council pass a message to the signaling point index lower MTP layers. 本实施例中,假定掩码4为AOAH,由步骤501得到选择子为377AH,掩码计算结果为7,与源信令点个数3进行取模运算的结果为I。 In this embodiment, the mask 4 is assumed AOAH, obtained from step 501 to select a sub 377AH, it evaluates mask 7, and the results of the number of the source signaling point 3 modulo operation is I. 所以,SCCP层应该将I填写到本局信令点索引字段中。 Therefore, SCCP layer should be filled signaling points I to Council index field.

步骤505: A局的MTP层由MTP_TRANSFER Request消息中选择子经过掩码5计算得到路由索引。 Step 505: MTP layer A is selected by the Bureau MTP_TRANSFER Request message through the mask 5 in the sub-index is calculated route.

本实施例中,由步骤504得到本局信令点索引字段值为I,即MTP层应该查找本局第二个信令点的路由表。 In this embodiment, at step 504 the signaling point of this Council index field value I, i.e. MTP level should find the second signaling point Council routing table. 本实施例中,假定本局第二个信令点到信令点666666之间只有一条路由,所以不管计算结果如何,都将选择该路由。 In this embodiment, it is assumed Council second signaling points to only one routing between signaling points 666,666, so regardless of the result of the calculation, the route will be selected. 本局第二个信令点的路由表如表四所示: Council second signaling point routing table as shown in Table 4:

表四 Table IV

步骤506: A局的MTP层将MTP_TRANSFER Request消息中选择子经过掩码6计算得到信令链路选择值,经过与链路总数取模后将結果填写到消息信号单元的SLS字段中。 Step 506: MTP layer A bureau will MTP_TRANSFER Request message selection sub-mask 6 through the signaling link selection value is calculated, after the result modulo the total number of links will fill in the SLS field of the message signal unit.

本实施例中,假定掩码6为4340H,由步骤501得到选择子为377AH,则掩码计算结果为BH, MTP层再将BH与链路总数取模得到11,再将11填写到要发送消息的消息信号单元的SLS字段中,即该路由的第11条链路将承担发送消息的任务。 In this embodiment, the mask 6 is assumed 4340H, obtained from step 501 to select a sub 377AH, the calculated result is BH mask, then the MTP layer link modulo the total number of BH to give 11, 11 and then be transmitted to fill SLS message field of the message signal unit, i.e. the routing of the article will assume the task of the link 11 to send the message.

步骤507: A局的MTP层将MTP—TRANSFER Request消息的本局信令点索引作为源信令点索引,再由源信令点索引得到源信令点编码,并将源信令点编码填写到要发送消息的消息信号单元的OPC字段中。 Step 507: MTP layer will Council Board A signaling point index MTP-TRANSFER Request message index as the source signaling point, and then to obtain the source point code index from the source signaling point, and to fill the source signaling point codes to OPC field of the message signal unit transmitted message.

本实施例中,由步骤504得到A局的本局信令点索引为1,即源信令点编码应该为222222。 In this embodiment, at step 504 the index obtained signaling point Council office A is 1, i.e. the source point code should be 222,222. 能达到DPC字段所表示的信令点的本局源信令点索引表由表五所示: DPC field can achieve signaling point indicated by the Council of the source signaling point indicated by the table index Table 5:

步骤508: A局的MTP层根据OPC字段、DPC字段和SLS字段将消息发送出去。 Step 508: MTP layer Board A sent a message field in accordance with OPC, DPC field and SLS field.

本实施例执行完成后,A局的SLS字段值为11, OPC字段为222222,DPC字段为666666。 After the completion of the present embodiment performs, SLS field value A Board 11, OPC field is 222222, DPC field is 666666. A局的MTP层将4巴要发送的消息从信令点222222的第11条链路发送给信令点666666。 A Board MTP level 4 message transmitted from the bar to point signaling link article 11 is sent to the signaling point 222222 666666.

实施例ニ Example ni

本实施例的组网情况仍然如图3所示。 Networking still present embodiment shown in FIG. 本实施例中,假定完成MAP/CAP业务的A局的SCCP层和MTP层之间有ー个适配层;A局发送的消息无顺序要求;选择子为52DH;掩码值与实施例一相同。 There layer between SCCP and MTP layers A Board embodiment of the present embodiment, the assumed complete MAP / CAP an adaptation layer service ー; Bureau A message sent no sequence requirement; promoter is selected 52DH; a mask value Example the same. 图6显示了有适配层的A局进行掩码计算的示意图。 Figure 6 shows a schematic diagram of the adaptation layer has office A masking calculations. 如图6所示,A局的SCCP层随机产生ー个14位比特的选择子;选择子经过掩码2得到中间信令点索引;选择子经过掩码4得到源信令点索引;选择子经过掩码5得到路由索引;选择子经过掩码6得到链路索引。 As shown in FIG 6, SCCP layer Bureau A randomly generated 14-bit selectors ー bits; selecting sub mask 2 via an intermediate signaling point index obtained; selecting sub mask 4 obtained after the source signaling point index; selecting sub after 5 to obtain routing mask index; selecting sub-link through the mask 6 to obtain the index.

参见图7,本实施例中A局发送消息的步骤包括: Referring to Figure 7, the procedure of Example A of the present embodiment Bureau sends a message comprising:

步骤701与实施例一的步骤501相同。 A step 701501 the same procedure as in Example embodiment.

本实施例中,假定消息无顺序要求,TCAP层应该将没有顺序控制参数的消息下传给SCCP层,由SCCP层随机生成选择子。 In this embodiment, the message is assumed that no sequence requirement, should not be passed to the TCAP layer SCCP layer message sequence under the control parameters, selected randomly generated by the SCCP sub-layers. 本实施例中,假定生成的选择子为52DH。 In this embodiment, it is assumed to generate the sub-52DH.

步骤702与实施例一的步骤502相同。 The same procedure of Example 502 a step 702.

本实施例中,假定A局需要通过中间信令点才能到达B局,应该执行步骤703。 In this embodiment, assuming that A Board Board needs to reach B via an intermediate signaling point, step 703 should be performed. 步骤703与实施例一的步骤503相同。 A step 703, the same procedure of Example 503.

本实施例中,假定消息无顺序要求,掩码2为86320AH,由步骤701得到选择子为52DH,则应该由选择子确定中间信令点。 In this embodiment, the message is assumed that no sequence requirements, the mask 2 is 86320AH, obtained from step 701 to select a sub 52DH, an intermediate signaling point should be determined by the selected promoter. SCCP层将选择子经过掩码2的计算结果为1EH,IEH与中间信令点总数取模可得到中间信令点索引0,那么,得到中间信令点编码应该为555555。 The SCCP layer is calculated to result selecting sub mask 2 is 1EH, IEH and modulo the total number of intermediate signaling point intermediate signaling point index 0 is obtained, so to obtain an intermediate signaling point codes should be 555,555. A局的SCCP层应该将中间信令点编码555555填写到消息的DPC字段中。 A Board SCCP layer should fill the intermediate point code 555555 DPC of the message field. 中间信令点索弓I表如表一所示。 I bow intermediate signaling point index table as shown in Table.

步骤704: A局的适配层将选择子经过掩码4计算,再与能到达DPC字段所表示的信令点的源信令点个数进行取模运算,得到源信令点索引,然后,填写到消息的本局信令点字段中后将消息下传给MTP层。 Step 704: A bureau adaptation layer through the selected sub mask 4 is calculated, and then the number of the source signaling point to reach the signaling point indicated DPC field modulo operation to obtain the source signaling point index, and , Council signaling point in the message field is filled MTP level transmitted after the message.

本实施例中,由步骤701得到选择子为52DH,假定掩码4为A0AH, 掩码计算结果为2,能到达DPC表示的信令点的源信令点个数为3,取模结果也为2。 In this embodiment, the number obtained in step 701 to select a sub 52DH, the mask 4 is assumed A0AH, evaluates mask 2, to reach the DPC indicates the signaling point to signaling point source 3, modulo results 2. 所以,适配层应该将2填写到消息的本局信令点索引字段中。 Therefore, the adaptation layer 2 should be filled to the signaling point Council index field of the message.

步骤705与实施例一的步骤505相同。 A step 705 the same procedure as in Example 505 embodiment.

本实施例中,消息的本局信令点索引字段值为2,应该查找本局第三个信令点的路由表。 In this embodiment, the signaling point Council message index field is 2, it should find the third signaling point Council routing table. 本局第三个信令点到信令点555555之间只有一条路由,所以不管计算结果如何,都将选择该路由。 Council third signaling between signaling points 555555 points to only one route, so no matter how the results of the calculation, will select the route. 第三个信令点的路由表如表六所示: Third signaling point routing table as shown in Table six:

表六 Table VI

步骤706与实施例一的步骤506相同。 A step 706 the same procedure of Example 506.

本实施例中,由步骤701得到选择子为52D H,假定掩码6为4340H,计算结果为0,MTP层将0填写到要发送消息的消息信号单元的SLS字段中。 In this embodiment, obtained from step 701 to select a sub-52D H, assuming the mask 6 is 4340H, the calculation result is 0, the MTP layer to fill in the SLS field 0 of the message to be transmitted message signal unit.

步骤707: A局的MTP层根据消息中本局信令点索引字段确定源信令点编码,并将源信令点编码填写到要发送消息的消息信号单元的OPC字段中。 Step 707: MTP layer A Board for determining a source point code in the message to the signaling point Council index field, and to fill the source point code OPC field of the message signal unit is to be transmitted message.

本实施例中,由步骤704得到本局信令点索引为2,MTP在源信令点索引表中确定源信令点编码为333333,MTP层应该将333333填写在OPC字段中。 In this embodiment, in step 704 the index obtained Council signaling point 2, MTP point code to determine the source of the source signaling point 333333 index table, MTP layers 333,333 should be filled in the OPC field. 源信令点索引表由表五所示。 Source signaling point from the index table shown in Table 5.

步骤708: A局的MTP层根据消息的OPC字段、DPC字段和SLS字段将消息发送出去。 Step 708: MTP layer Board A sent a message field of the message according to the OPC, DPC and SLS field field.

本实施例执行完成后,A局消息的SLS字段值为0,OPC字段为333333,DPC字段为555555。 After the completion of the present embodiment performs, A SLS incoming message field value of 0, OPC field is 333333, DPC field is 555555. A局的MTP层将把消息从信令点333333的第0条链路发送给信令点555555。 MTP level message will be sent from the signaling office A 0 333 333 links point to the signaling points 555,555.

实施例三· Example Three • Implement

本实施例的组网情况如图2所示,假定完成MAP/CAP业务的A局有一个信令点111111,B局有一个信令点222222,A局与B局的连接关系如图所示。 Networking the present embodiment shown in Figure 2, assuming complete MAP / CAP service bureau has a signaling point A 111111, a signaling point B Bureau 222222, a connection relationship as shown in A and B office, as shown Bureau . 本实施例假定A局发送的消息有顺序要求;A局没有适配层;A局与B局的链路组有16条链路。 The present embodiment assumes office A message sent by sequential requirements; Board A No adaptation layer; link groups B and A Board 16 Board links. 由于本实施例A局只有一个信令点,无需要定义本局信令点索引字段,可以将消息的SLS字段和OPC字段全部共18个比特定义为选择子,该消息的OPC字段、SLS字段和DPC字段的格式如表ニ所示。 Since the embodiment is only one signaling point A Board present embodiment, no need to define the signaling point index field Council, SLS OPC field of the message field, and a total of 18 bits all defined as selectors, the OPC field of the message, SLS field and you may be DPC field format as shown in table ni.

图8显示了本实施例在原七号信令协议结构中进行掩码计算的示意图。 8 shows a schematic diagram of the present embodiment is calculated in masking the original signaling protocol structure VII. 其中,A局分配的事务ID经过掩码I得到顺序控制参数;顺序控制参数经过掩码2得到中间信令点;顺序控制参数经过掩码3得到选择子;选择子经过掩码5得到路由索引;选择子经过掩码6得到链路索引。 Wherein Transaction ID A mask Bureau I obtained through the assigned sequence control parameter; mask sequence control parameters used to obtain an intermediate signaling point 2; 3 mask sequence control parameters obtained through selectors; mask 5 via selectors routing index obtained ; selecting sub-link through the mask 6 to obtain the index. 本实施例假定事务ID、掩码I至掩码6与实施例一相同。 The present embodiment assumes transaction ID, I mask to a mask the same as in Example 6.

参见图9,本实施例中A局发送消息的步骤包括: Referring to FIG. 9, the procedure of Example A of the present embodiment Bureau sends a message comprising:

步骤901与实施例一的步骤501相同。 A step 901501 the same procedure as in Example embodiment.

本实施例中,计算得到选择子应该为377AH。 In this embodiment, it should be calculated by selecting sub 377AH. 步骤902与实施例一的步骤502相同。 The same procedure of Example 502 a step 902.

本实施例中,假定A局无需经过中间信令点就能到达B局,所以SCCP层应该在下传消息的DPC字段中填写B局信令点444444,再执行步骤904。 Fill DPC field in the present embodiment, assuming that A Board without passing an intermediate signaling point able to reach the office B, the SCCP message transfer layer should be lower in B 444444 office signaling point, then step 904 is executed.

步骤903: SCCP层判断消息是否有顺序要求,如果有,则将顺序控制参数经过掩码2计算确定中间信令点索引,将该中同信令点编码填入DPC字段中,再下传消息;否则,选择子经过掩码2计算确定中间信令点索引,将该中间信令点编码填入DPC字段中,再下传消息。 Step 903: SCCP layer determines whether there is a message sequence requirement, if there is, then the sequence control parameter mask 2 via an intermediate signaling point calculation to determine the index, in the same signaling point code DPC field is filled, then the next message transmission ; otherwise, selecting sub mask 2 via an intermediate signaling point calculation to determine the index, the middle point code DPC field is filled, then the next message transmission.

步骤904〜步骤905与实施例一的步骤505〜步骤506相同。 505~ Step 506 and 905 the same procedure as in Example embodiment a step 904~ step.

步骤906: A局的MTP层将源信令点编码填写到要发送消息的消息信号单元的OPC字段中。 Step 906: MTP layer A Board fill the source point code OPC field of the message signal unit to be transmitted message. 本实施例中,A局的MTP应该将111111填写在OPC字段中。 In this embodiment, MTP A 111111 Bureau should be filled in the OPC field.

步骤907与实施例一的步骤508相同。 A step 907 the same procedure of Example 508.

本实施例执行完成后,A局消息的SLS字段为11,OPC字段为111111,DPC字段为444444。 After the completion of the present embodiment performs, A SLS field of the incoming message 11, OPC field is 111111, DPC field is 444444. 所以,A局的MTP层将把消息从信令点111111的第11条链路发送给B局信令点444444。 Therefore, MTP layer A message will be sent to the office exchange signaling point B 444444 link from the signaling point of Article 11 111111.

本发明给出了当网络实体实现MAP/CAP业务时的三个实施例,即网络网络实体至少包括MAP/CAP层、TCAP层、SCCP层和MTP层,当MTP层有多个源信令点时,网络实体还可能包括适配层。 The present invention gives the network entity is implemented when a MAP / CAP business three embodiments, i.e. the network entity comprises a network of at least MAP / CAP layer, the TCAP layer, the SCCP and MTP level layer, when there are a plurality of sources MTP level signaling points when the network entity may further comprise adaptation layer. 但实际应用中,ネ良据网络实体是否有适配层、MTP层是否有多个信令点等条件的组合,还有其它可以应用本发明方案的实施例。 In actual practice, according to whether the combination of ne good adaptation layer network entities, whether a plurality of conditions MTP layer signaling point or the like, there may be other embodiments of the present invention is applied.

另外,本发明中的实施例只给出了针对MAP/CAP业务的网络实体,但其它的网络实体,比如:只包括ISUP/TUP层和MTP层的网络实体也可以应用本发明的方案。 Further, in the embodiment of the present invention is given only the network entity for MAP / CAP services, other network entities, such as: the network entity includes only ISUP / TUP layer and MTP layer may be applied to the present invention. 完成ISUP/TUP业务的网络实体在应用本发明时,与完成MAP/CAP业务的网络实体的区别在于: The difference between the network entity complete ISUP / TUP network service entity when applying the present invention, with the completion of MAP / CAP operations comprising:

第一、ISUP/TUP业务要求消息必须有顺序要求,而MAP/CAP业务可以要求消息有顺序,也可以要求消息无顺序; First, ISUP / TUP message traffic required to be sequential requirements, MAP / CAP message service may require sequential, non-sequential message may be required;

第二、完成ISUP/TUP ik务的网络实体产生选择子时可以利用ISUP/TUP层中的电路识别码CIC得到,比如:直接将CIC作为选择子,而MAP/CAP业务是通过顺序控制参数或随机产生的。 Second, complete ISUP / TUP ik network service entity may be utilized to produce neutrons selection circuit identification code CIC ISUP / TUP layer is obtained, such as: CIC directly as selectors, and MAP / CAP service control parameters is by sequentially or randomly generated.

但是,完成ISUP/TUP业务的网络实体的ISUP/TUP层与MTP层之间的接ロ消息也是MTP_TRANSFER Request消息,只是选择子的产生方式不同,所以,实现ISUP/TUP业务的网络实体也同样可以应用本发明方案。 However, the connection between ISUP message ro complete ISUP / TUP network service entity / TUP layer and MTP layers are MTP_TRANSFER Request message, but in different ways to produce the selected sub Therefore, network entity ISUP / TUP services can likewise be applications of the present invention.

综上所述,以上仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 In summary, the present invention is more than merely the preferred embodiments only, not intended to limit the scope of the present invention. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、故进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalents, and therefore intake should be included within the scope of the present invention.

Claims (11)

  1. 1、一种实现七号信令系统业务负荷均衡的方法,其特征在于,该オ法包括以下步骤: a、用户部分确定目的信令点编码,并确定由消息传递部分传输请求MTP—TRANSFER Request消息中源信令点编码字段和信令链路选择SLS字段组成的选择子,在多信令点情况下,所述选择子最多为14个比特,在单信令点情况下,所述选择子最多为18个比特;然后下传携带有目的信令点编码和选择子的传输请求MTP_TRANSFERRequest消息; b、消息传递部分MTP根据传输请求MTP_TRANSFER Request消息中的选择子确定路由和信令链路选择值,消息传递部分MTP根据确定的目的信令点编码、源信令点编码以及路由和链路发送消息。 An SS7 traffic load balancing implemented method, characterized in that the Bio comprising the steps: a, the user determines the destination point code portion, and is determined by the message transfer part MTP-TRANSFER Request transmission request message encoding field of the source signaling point and a signaling link selection fields SLS selectors, in the case of multiple signaling point, the selected sub-most 14 bits, in the case where a single signaling point, the selection up to 18 sub-bit; and then carrying downstream destination signaling point code and transmission sub-selection request message MTP_TRANSFERRequest; b, message transfer part MTP according to the transmission request selection sub MTP_TRANSFER request message to determine routing and signaling link selection values, message transfer part MTP according to the determined destination signaling point code, the signaling point code and source routing and link transmission message.
  2. 2、根据权利要求I所述的方法,其特征在于,用户部分与消息传递部分MTP之间存在适配层,所述确定源信令点编码的方法是: 用户部分先将传输请求MTP_TRANSFER Request消息下传给适配层,适配层根据消息中的选择子确定本局信令点索引,适配层再将携带有本局信令点索引的传输请求MTP_TRANSFER Request消息下传给消息传递部分MTP,然后,消息传递部分MTP根据消息中的本局信令点索引得到源信令点索引,根据源信令点索? 2. The method as claimed in claim I, wherein the adaptation layer is present between the user portion and the MTP Message Transfer Part, the method of determining the source point code is: first user part message transmission request MTP_TRANSFER Request pass the adaptation layer, the adaptation layer message in the selected sub-index is determined according to the signaling point Council, then the adaptation layer carries Council transmission request to the signaling point index message transfer part MTP at MTP_TRANSFER request message, and then , message transfer part MTP signaling point index obtained according to the source signaling point Council index message, the source signaling point rope? ]来确定源信令点编码。 ] To determine a source signaling point code.
  3. 3、根据权利要求I所述的方法,其特征在于,所述确定源信令点编码的方法是: 用户部分根据选择子确定本局信令点索引,再携带本局信令点索引下传消息给消息传递部分MTP;消息传递部分MTP将消息中的本局信令点索引作为源信令点索引,再由源信令点索? 3. The method as claimed in claim I, wherein said determining a source point code method is: user part message transmitted according to the selected signaling point Council sub index determined, and then carrying signaling point Council Index MTP message transfer part; message transfer part MTP signaling point will Council index message as the source signaling point in the index, then the source signaling point rope? I来确定源信令点编码。 I to determine a source signaling point code.
  4. 4、根据权利要求I或2所述的方法,其特征在于,所述用户部分为信令连接控制部分SCCP层,步骤a所述的选择子产生的方法是: 事务能力应用部分TCAP判断要发送的消息是否有顺序要求,如果有,事务能力应用部分TCAP则根据事务ID号得到顺序控制参数,再携带顺序控制参数将要发送的消息下传给信令连接控制部分SCCP层,由信令连接控制部分SCCP层根据消息中的顺序控制参数得到选择子;否則,由信令连接控制部分SCCP层随机产生选择子。 4. The method of claim I or claim 2, wherein said connection control part SCCP user part signaling layer, according to a method of selecting sub-step is produced: Transaction Capabilities Application Part TCAP determined to be transmitted whether the message requires sequential, and if so, the transaction capabilities application part TCAP transaction ID is obtained according to the sequence number of the control parameters, and then passed to carry signaling connection control part SCCP layer message sequence under the control parameters to be transmitted, the signaling connection control layer control part SCCP parameters in the message according to the order obtained selectors; otherwise, signaling connection control part SCCP layer by a random selection sub.
  5. 5、根据权利要求4所述的方法,其特征在于,步骤a所述的信令连接控制部分SCCP层确定目的信令点编码的方法是: 信令连接控制部分SCCP层判断该消息是否需要通过中间信令点进行SCCP层转发才能到达目的信令点,如果是,则由信令连接控制部分SCCP层选择ー个中间信令点,并将中间信令点编码作为目的信令点编码;否则,不作处理。 5. The method as claimed in claim 4, wherein said step of a signaling connection control part SCCP layer determines the destination point code of the method is: Signaling Connection Control Part SCCP layer determines whether the message need intermediate signaling point forwards the SCCP layer to reach the destination signaling point, if, by the signaling connection control part SCCP layer selected ー intermediate signaling point and the signaling point code as an intermediate destination signaling point code; otherwise , no treatment.
  6. 6、根据权利要求5所述的方法,其特征在于,所述的信令连接控制部分SCCP层选择ー个中间信令点的方法是: 信令连接控制部分SCCP层判断消息是否有顺序要求,如果有,则信令连接控制部分SCCP层根据顺序控制参数得到中间信令点索引,再由中间信令点索引确定中间信令点编码;否则,信令连接控制部分SCCP层根据选择子得到中间信令点索引,再由中同信令点索引确定中间信令点。 6. The method as claimed in claim 5, characterized in that the Signaling Connection Control Part SCCP layer selection method ー intermediate signaling point is: Signaling Connection Control Part SCCP layer determines whether there is a message sequence requirement, If so, the signaling connection control part SCCP layer according to an order to obtain an intermediate signaling point control parameter index, and then determining an intermediate signaling point code from the intermediate point index; otherwise, the signaling connection control part SCCP layer obtained according to the selected sub-intermediate signaling point index, with the index then determine the neutral intermediate signaling point signaling point.
  7. 7、根据权利要求I或2所述的方法,其特征在于,所述用户部分为综合业务数字网用户部分ISUP/电话用户部分TUP,步骤a所述的选择子产生的方法是:直接将综合业务数字网用户部分ISUP/电话用户部分TUP已有的电路标识码CIC作为选择子。 7. The method of claim I or claim 2, wherein said user part is Integrated Services Digital Network User Part ISUP / TUP Telephone User Part, the method of selecting a sub-step of generating is: direct synthesis ISDN user part ISUP / TUP telephone user part conventional circuit identification code CIC as selectors.
  8. 8、根据权利要求I所述的方法,其特征在于,步骤b所述根据选择子确定路由和信令链路选择值的方法是:选择子经过掩码计算或哈希计算得到路由和信令链路选择值。 8. A method as claimed in claim I, wherein the step b determines the method of selecting the sub-route and signaling link selection value is: After selecting sub mask is calculated or computed hash routing and signaling link selection value.
  9. 9、根据权利要求2或3所述的方法,其特征在于,所述根据选择子确定本局信令点索引的方法是:选择子经过掩码计算或哈希计算得到本局信令点索引。 9. A method according to claim 2 or claim 3, characterized in that the method of selecting the sub-index determining Council signaling points are: After selecting sub mask is calculated or computed hash index Council signaling point.
  10. 10、根据权利要求4所述的方法,其特征在亍,所述根据事务ID号得到顺序控制参数的方法是:事务ID号经过掩码计算或哈希计算得到顺序控制参数;所述根据顺序控制参数得到选择子的方法是:顺序控制参数经过掩码计算或哈希计算得到选择子。 10. The method as claimed in claim 4, characterized in that the right foot, the method to obtain the sequence control parameter is a transaction ID NO: transaction ID number mask through calculation or hash calculated sequence control parameter; according to the sequence control parameter selecting sub-method is obtained: mask sequence control parameter after calculating the hash calculated or selected sub.
  11. 11、根据权利要求6所述的方法,其特征在于,所述根据顺序控制参数得到中间信令点索引的方法是:顺序控制参数经过掩码计算或哈希计算得到中间信令点索引; 所述根据选择子得到中间信令点索引的方法是:选择子经过掩码计算或哈希计算得到中间信令点索引。 11. The method of claim 6, characterized in that the control method according to a sequence index parameter to obtain an intermediate signaling point is: mask sequence control parameter calculation or through a hash index is calculated to give an intermediate signaling point; the said index to obtain an intermediate signaling point is the sub-method according to the selection: after selecting sub mask is calculated or computed hash index intermediate signaling point.
CN 200510108377 2005-10-13 2005-10-13 Method for realizing business load uniform of No.7 signalling system CN100568793C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510108377 CN100568793C (en) 2005-10-13 2005-10-13 Method for realizing business load uniform of No.7 signalling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510108377 CN100568793C (en) 2005-10-13 2005-10-13 Method for realizing business load uniform of No.7 signalling system

Publications (2)

Publication Number Publication Date
CN1852072A true CN1852072A (en) 2006-10-25
CN100568793C true CN100568793C (en) 2009-12-09

Family

ID=37133543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510108377 CN100568793C (en) 2005-10-13 2005-10-13 Method for realizing business load uniform of No.7 signalling system

Country Status (1)

Country Link
CN (1) CN100568793C (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002693A (en) * 1997-06-04 1999-12-14 Nortel Networks Corporation Method and system for routing messages in a telecommunication network using an expanded signalling link selector field
WO2000049814A1 (en) * 1999-02-18 2000-08-24 Siemens Aktiengesellschaft Signaling point
WO2001031873A2 (en) * 1999-10-28 2001-05-03 Siemens Aktiengesellschaft Method for extending protocol fields
CN1339227A (en) * 1999-02-05 2002-03-06 西门子公司 Method for improving a load distribution a signalling network
CN1378753A (en) * 1999-04-20 2002-11-06 西门子公司 Device and method for improving load distribution in signaling network
CN1463111A (en) * 2002-05-31 2003-12-24 华为技术有限公司 Method of multipoint encoding and load sharing for transit point in number 7 signaling
CN1466390A (en) * 2002-07-05 2004-01-07 华为技术有限公司 Method for realizing service load sharing in signaling message transmission part

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6002693A (en) * 1997-06-04 1999-12-14 Nortel Networks Corporation Method and system for routing messages in a telecommunication network using an expanded signalling link selector field
CN1339227A (en) * 1999-02-05 2002-03-06 西门子公司 Method for improving a load distribution a signalling network
WO2000049814A1 (en) * 1999-02-18 2000-08-24 Siemens Aktiengesellschaft Signaling point
CN1378753A (en) * 1999-04-20 2002-11-06 西门子公司 Device and method for improving load distribution in signaling network
WO2001031873A2 (en) * 1999-10-28 2001-05-03 Siemens Aktiengesellschaft Method for extending protocol fields
CN1463111A (en) * 2002-05-31 2003-12-24 华为技术有限公司 Method of multipoint encoding and load sharing for transit point in number 7 signaling
CN1466390A (en) * 2002-07-05 2004-01-07 华为技术有限公司 Method for realizing service load sharing in signaling message transmission part

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
. . *
GMS中的公共信道七号信令. 范存明.现代电信科技,第10期. 2000 *
GSM中的公共信道七号信令CCS7. 范存明.现代电信科技,第2000年第10期. 2000 *

Also Published As

Publication number Publication date Type
CN1852072A (en) 2006-10-25 application

Similar Documents

Publication Publication Date Title
Gao et al. Stable Internet routing without global coordination
Lee Nonblocking copy networks for multicast packet switching
US5563878A (en) Transaction message routing in digital communication networks
US5883891A (en) Method and apparatus for increased quality of voice transmission over the internet
Cai et al. Network coding and error correction
US6195425B1 (en) Telecommunications system with wide area internetwork control
US6181695B1 (en) Telecommunications network
US6611532B1 (en) Methods and apparatus for integrating signaling system number 7 networks with networks using multi-protocol label switching
Rhee Internet security: cryptographic principles, algorithms and protocols
US6137876A (en) Network call trace
US6327350B1 (en) Methods and systems for collecting and processing signaling system 7 (SS7) message signal units (MSUs)
Ephremides et al. Information theory and communication networks: An unconsummated union
US7313129B1 (en) Arrangement for sharing a single signaling point code between multiple hosts in an IP-based network
US6459788B1 (en) Call center resource processor
US5610904A (en) Packet-based telecommunications network
Van Mieghem et al. On the efficiency of multicast
US20070047539A1 (en) Methods, systems, and computer program products for preserving sequencing of signaling messages at a routing node
US6560226B1 (en) System and method for caching ported number information
US6078582A (en) Internet long distance telephone service
US6996225B1 (en) Arrangement for controlling congestion in an SS7 signaling node based on packet classification
US20070116018A1 (en) Methods, systems, and computer program products for distributed resource allocation among clustered media gateways in a communications network
US5953404A (en) Method and system for providing mediated access between signaling networks
US7103068B1 (en) System and method for configuring bandwidth transmission rates for call connections
US7043004B1 (en) Call processing system and service control point for handling calls to a call center
US6870827B1 (en) Voice call alternative routing through PSTN and internet networks

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted