[go: up one dir, main page]

CN1933485B - A method and device compatible with SCCP and SUA - Google Patents

A method and device compatible with SCCP and SUA Download PDF

Info

Publication number
CN1933485B
CN1933485B CN2006101099147A CN200610109914A CN1933485B CN 1933485 B CN1933485 B CN 1933485B CN 2006101099147 A CN2006101099147 A CN 2006101099147A CN 200610109914 A CN200610109914 A CN 200610109914A CN 1933485 B CN1933485 B CN 1933485B
Authority
CN
China
Prior art keywords
sua
sccp
message
connection
unit
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
CN2006101099147A
Other languages
Chinese (zh)
Other versions
CN1933485A (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.)
Huawei Technologies Co Ltd
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 CN2006101099147A priority Critical patent/CN1933485B/en
Publication of CN1933485A publication Critical patent/CN1933485A/en
Application granted granted Critical
Publication of CN1933485B publication Critical patent/CN1933485B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种兼容SCCP和SUA的方法及装置,用以解决目前SUA与SCCP共存时,无法实现上层用户无缝使用的问题,以及SCCP与SUA之间互通的问题。在SCCP和SUA的上层提供SIF;当SIF收到上层用户发来的无连接消息或者连接请求时,获取该消息的目的点信息和本点点码;根据目的点信息和本点点码分别获取该目的点在SCCP和SUA中的状态;根据该状态,以及配置的分发策略,选定传递消息时所采用的协议类型,并相应下发该消息;当SCCP或SUA收到连接请求时,从连接ID资源池或者各自的ID段中获取连接ID,以该连接ID进行连接请求的处理;在建立主被叫连接后,SIF根据交互的有连接消息中携带的连接ID,相应下发该消息。

The invention discloses a method and device compatible with SCCP and SUA, which are used to solve the problem that the upper-layer users cannot seamlessly use when SUA and SCCP coexist at present, and the problem of intercommunication between SCCP and SUA. SIF is provided on the upper layer of SCCP and SUA; when SIF receives a connectionless message or a connection request from an upper layer user, it obtains the destination point information and local point code of the message; obtains the destination according to the destination point information and local point code The state of the point in SCCP and SUA; according to the state and the configured distribution strategy, select the protocol type used to transmit the message, and send the message accordingly; when SCCP or SUA receives a connection request, it will send the The connection ID is obtained from the resource pool or the respective ID segment, and the connection request is processed with the connection ID; after the connection between the calling party and the called party is established, the SIF sends the message correspondingly according to the connection ID carried in the exchanged connection message.

Description

一种兼容SCCP和SUA的方法及装置 A method and device compatible with SCCP and SUA

技术领域technical field

本发明涉及网络领域,特别是涉及一种兼容SCCP和SUA的方法及装置。The invention relates to the network field, in particular to a method and device compatible with SCCP and SUA.

背景技术Background technique

1、SUA协议技术背景。1. Technical background of SUA protocol.

随着软交换技术的应用与推广,传统电信网正朝着与IP网互通的方向发展。其中,最关键的问题是,已经得到广泛使用的No.7信令能够在IP网中高效而可靠的传输。早在1999年,IETF就开始制定基于IP技术的SIGTRAN协议簇,它主要包括No.7信令系统MTP层的适配协议,以提供No.7信令在IP网上的传输能力。目前,IETF又进一步提出了信令连接控制部分SCCP层的适配协议—SUA(Signalling Connection Control Part User Adaptation Layer,信令连接控制部分用户消息适配层),以提供更强的地址映射和路由功能,以及更简单的管理功能。With the application and popularization of softswitch technology, the traditional telecommunication network is developing towards the direction of intercommunication with IP network. Among them, the most critical issue is that No.7 signaling, which has been widely used, can be efficiently and reliably transmitted in the IP network. As early as 1999, IETF began to formulate the SIGTRAN protocol cluster based on IP technology, which mainly includes the adaptation protocol of the MTP layer of the No.7 signaling system to provide the transmission capability of No.7 signaling on the IP network. At present, IETF has further proposed the SCCP layer adaptation protocol of the signaling connection control part—SUA (Signalling Connection Control Part User Adaptation Layer, signaling connection control part user message adaptation layer), in order to provide stronger address mapping and routing features, and simpler management features.

2、SUA协议体系结构。2. SUA protocol architecture.

SUA支持在IP网上传输No.7信令SCCP用户消息,例如TCAP消息、RANAP消息等,实现TCAP over IP、RANAP over IP等功能。SUA不仅支持信令网关与IP信令点(如IP地址数据库)间的消息传输,也支持同一IP网中两个信令点间的消息传输。SUA supports the transmission of No.7 signaling SCCP user messages on the IP network, such as TCAP messages, RANAP messages, etc., to realize functions such as TCAP over IP and RANAP over IP. SUA not only supports message transmission between signaling gateway and IP signaling point (such as IP address database), but also supports message transmission between two signaling points in the same IP network.

当位于信令网关的SUA收到本网关的SCCP发来的消息时,首先进行地址翻译和地址映射,并通过SCTP偶联选路至目的IP信令点。当SUA收到来自IP网的消息时,则进行地址翻译和地址映射,将消息发送至信令网关的SCCP,并选路至No.7信令点。When the SUA at the signaling gateway receives the message from the SCCP of the gateway, it first performs address translation and address mapping, and selects a route to the destination IP signaling point through SCTP coupling. When SUA receives a message from the IP network, it performs address translation and address mapping, sends the message to the SCCP of the signaling gateway, and selects a route to the No.7 signaling point.

信令网关可作为端点或中继点与IP信令点协同工作,因而SCCP无连接消息或连接建立消息的选路方式也有所区别。当信令网关作为端点时,消息通过PC(点码)和SSN(子系统编号)选路。若子系统由选路上下文(Routing Context)及SSN标记,从No.7信令点的角度看,则这个SCCP用户位于此信令网关。当信令网关作为中继点时,则需执行GT(全局码)翻译确定消息目的地。SCCP用户的实际位置与No.7信令网无关。GT翻译会生成一组″SCCP实体集″,并由此导出一个AS(Application Server,应用服务器)。根据SCCP被叫用户地址,可对AS选取决定。The signaling gateway can work together with the IP signaling point as an end point or a relay point, so there are differences in the routing methods of SCCP connectionless messages or connection establishment messages. When the signaling gateway acts as an endpoint, messages are routed through PC (Point Code) and SSN (Subsystem Number). If the subsystem is marked by routing context (Routing Context) and SSN, from the perspective of No.7 signaling point, the SCCP user is located in this signaling gateway. When the signaling gateway is used as a relay point, it is necessary to perform GT (global code) translation to determine the destination of the message. The actual location of the SCCP user has nothing to do with the No.7 signaling network. GT translation will generate a set of "SCCP entity sets", and an AS (Application Server, application server) will be derived from it. According to the address of the SCCP called user, a decision can be made to the AS.

AS(应用服务器)是一个逻辑实体,由特定的选路关键字(Routing Key)标识。ASP(应用服务器进程)是AS的进程实例,由选路上下文(Routing Context)标识,用于处理与之的通信。AS与ASP间并非映射关系,一个AS包含一组独立的ASP,一个ASP也可为多个AS提供服务。每个ASP都对应一个IP信令点,为SCTP层提供服务。一个信令网关可以视为带有No.7信令网接口的一组AS。AS (Application Server) is a logical entity identified by a specific routing key (Routing Key). ASP (Application Server Process) is a process instance of AS, identified by routing context (Routing Context), and is used to handle communication with it. There is no mapping relationship between AS and ASP. One AS contains a group of independent ASPs, and one ASP can also provide services for multiple ASs. Each ASP corresponds to an IP signaling point, which provides services for the SCTP layer. A signaling gateway can be regarded as a group of ASs with No.7 signaling network interfaces.

3、SUA协议提供的服务。3. Services provided by the SUA agreement.

(1)SCCP用户消息传输支持。(1) SCCP user message transmission support.

SUA支持信令网关与ASP(应用服务器进程)间SCCP用户消息的无缝传输。SUA supports the seamless transmission of SCCP user messages between the signaling gateway and the ASP (application server process).

(2)SCCP协议类别支持。(2) SCCP protocol category support.

SUA可透明支持四类SCCP协议类型:无序的无连接协议类型0,提供顺序控制的无连接协议类型1,面向连接协议类型2和提供流量控制的面向连接协议类型3。SUA can transparently support four SCCP protocol types: out-of-order connectionless protocol type 0, connectionless protocol type 1 providing sequence control, connection-oriented protocol type 2 and connection-oriented protocol type 3 providing flow control.

(3)本地管理功能。(3) Local management function.

SUA能指出SUA协议消息中的错误,并可根据需要通知本地管理和远端信令点。SUA can point out errors in SUA protocol messages, and can notify local management and remote signaling points as needed.

(4)SCCP网管功能交互。(4) SCCP network management function interaction.

SUA启用ASP管理消息处理ASP状态,从而实现与SCCP网管功能互通。N-State,N-Pcstate及N-Coord等原语可在信令网关的SCCP和SUA网管功能中传输,用于在IP网和No.7信令网中触发相应事件。The SUA enables the ASP management message to process the ASP state, so as to realize the intercommunication with the SCCP network management function. Primitives such as N-State, N-Pcstate and N-Coord can be transmitted in the SCCP and SUA network management functions of the signaling gateway to trigger corresponding events in the IP network and No.7 signaling network.

(5)信令网关进程与ASP间管理的支持SUA提供了处于电路交换网和IP网间的信令网关与ASP间SCCP网管功能的互通。这个功能包括向ASP提供No.7信令点可及、不可及、拥塞的状态指示,以及在信令网关启动对远端No.7端点的查询。(5) Support of management between signaling gateway process and ASP SUA provides intercommunication of SCCP network management function between signaling gateway between circuit switching network and IP network and ASP. This function includes providing the No.7 signaling point reachable, unreachable, and congested state indications to the ASP, and initiating an inquiry to the remote No.7 endpoint at the signaling gateway.

(6)中继功能。(6) Relay function.

为提升网络的扩展性,SUA中继功能可判定出指向目标SUA端点的下一跳SCTP偶联。下一跳的判定可基于类似No.7信令网中的GT翻译功能,也可由被叫地址的主机名,IP地址或点码提供。SUA可根据需要配置中继功能,从而提高网络的扩展性,可靠性和灵活性。To improve network scalability, the SUA relay function can determine the next-hop SCTP association pointing to the target SUA endpoint. The judgment of the next hop can be based on the GT translation function similar to No.7 signaling network, or it can be provided by the host name, IP address or point code of the called address. SUA can configure the relay function as required, thereby improving the scalability, reliability and flexibility of the network.

4、SUA协议提供的内部功能。4. Internal functions provided by the SUA protocol.

为提供寻址和中继功能,SUA采用了一种称为AMF(Address MappingFunction)的地址映射功能。AMF有多种实现方式:在分布模式下可采用本地GT表翻译,在分层模式下可采用DNS,而在集中模式下可采用LDAP目录协议。当收到入口消息时,AMF即被调用。根据选路上下文或选路关键字,AMF将SCCP/SUA入口消息中的地址解析为对应IP网目的地址的SCTP偶联。In order to provide addressing and relay functions, SUA uses an address mapping function called AMF (Address Mapping Function). There are many ways to implement AMF: local GT table translation can be used in distributed mode, DNS can be used in hierarchical mode, and LDAP directory protocol can be used in centralized mode. AMF is invoked when an ingress message is received. According to the routing context or routing key, AMF resolves the address in the SCCP/SUA entry message into the SCTP coupling corresponding to the destination address of the IP network.

(1)在信令网关的地址映射。(1) Address mapping at the signaling gateway.

一个AS内通常会有一个或多个ASP处于激活状态。但某些情况下,当一个AS内所有ASP均未激活时,信令网关进程则把发往此AS的消息置入缓冲区,并启动定时器,直到有ASP恢复可用。如果定时器超时仍无可用ASP,缓冲区将被清空,并触发相应的返回或拒绝流程。如果没有与消息匹配的地址映射,则通常将消息定向至某个或某组缺省ASP,或者将消息抛弃并报告给管理功能。Usually, one or more ASPs are active in an AS. However, in some cases, when all ASPs in an AS are not activated, the signaling gateway process puts the message sent to this AS into the buffer, and starts a timer until an ASP becomes available again. If the timer expires and there is still no available ASP, the buffer will be cleared and the corresponding return or rejection process will be triggered. If there is no address mapping matching the message, the message is typically directed to a default ASP or set of ASPs, or the message is discarded and reported to a management function.

(2)在ASP的地址映射。(2) Address mapping in ASP.

ASP的地址映射功能可根据目标点码或消息中的其他元素、NO.7信令网状态、信令网关进程状态及选路上下文,为定向至No.7信令网的消息选择特定的信令网关进程。The address mapping function of ASP can select a specific signaling network for messages directed to the No. 7 signaling network according to the target point code or other elements in the message, the status of the NO. make the gateway process.

(3)在中继点的地址映射。(3) Address mapping at relay points.

当采用GT、主机名、SSN+点码或SSN+IP地址(非中继点地址)选路时,需要调用中继功能。根据这些信息翻译或解析生成的地址有几种不同形式。When GT, hostname, SSN+point code or SSN+IP address (non-relay point address) is used to select a route, the relay function needs to be invoked. Addresses generated by translating or parsing from this information come in several different forms.

依SSN选路:生成指向目的结点的SCTP偶联ID、SSN,以及可选的选路上下文和/或IP地址。Routing by SSN: Generate SCTP association ID, SSN, and optional routing context and/or IP address pointing to the destination node.

依GT选路:生成指向下一中继点的SCTP偶联ID、新的GT,以及可选的SSN和/或选路上下文;Routing by GT: Generate SCTP association ID pointing to the next relay point, new GT, and optional SSN and/or routing context;

依主机名选路:生成指向下一中继点的SCTP偶联ID、新的主机名,以及可选的SSN和/或选路上下文。Routing by hostname: Generates an SCTP association ID pointing to the next hop, a new hostname, and optionally an SSN and/or routing context.

若选路信息指示为本地SUA用户,则该点既作为中继点,又作为端点。If the routing information indicates that it is a local SUA user, this point is used as both a relay point and an end point.

为避免出现循环路由,SUA延续了No.7信令网中的跳计数器功能。跳计数器在起始端点(No.7信令网结点或IP网结点均可)被设为最大值,之后随中继功能的调用递减。当计数器减至0时,则调用相应的返回或拒绝流程。In order to avoid loop routing, SUA continues the jump counter function in the No.7 signaling network. The hop counter is set to the maximum value at the starting endpoint (No.7 signaling network node or IP network node can be used), and then decremented with the call of the relay function. When the counter is reduced to 0, the corresponding return or reject process is invoked.

(4)SCTP流映射。(4) SCTP stream mapping.

SUA信令网关和AS通过维护SCTP与SUA用户的对照表来向SCTP流传输提供映射功能。SUA通常采取无序的0类流传输SUA管理信息,特定情况下也可选用顺序流传输。The SUA signaling gateway and the AS provide mapping functions for SCTP stream transmission by maintaining a comparison table between SCTP and SUA users. SUA usually uses unordered Class 0 streams to transmit SUA management information, and sequential streams can also be used in specific cases.

(5)流量控制。(5) Flow control.

当ASP需要临时删除服务中的SCTP偶联或进行测试维护时,本地管理功能可以终止相应SCTP偶联上的通讯,并可将当前SCTP偶联上的通讯转移到另一个偶联上。When the ASP needs to temporarily delete the SCTP coupling in the service or perform test maintenance, the local management function can terminate the communication on the corresponding SCTP coupling, and transfer the communication on the current SCTP coupling to another coupling.

(6)拥塞管理。(6) Congestion management.

在ASP中,SUA层用SCCP原语向本地SCCP用户指示拥塞,并以此触发上层响应。若信令网关发现No.7信令消息传输发生阻塞,则向No.7信令起始点发送SCCP拥塞消息。In ASP, the SUA layer uses SCCP primitives to indicate congestion to local SCCP users, and thus triggers the upper layer to respond. If the signaling gateway finds that the No.7 signaling message transmission is blocked, it sends an SCCP congestion message to the No.7 signaling starting point.

ASP中的SUA也可向对端SUA发出本地拥塞消息。当信令网关收到此消息,确定有端点阻塞,可依照SCCP协议触发拥塞处理流程。The SUA in the ASP can also send a local congestion message to the peer SUA. When the signaling gateway receives this message, it determines that there is end-point congestion, and can trigger the congestion processing process according to the SCCP protocol.

5、SUA协议与SCCP协议在信令网关的互通。5. Intercommunication between SUA protocol and SCCP protocol at the signaling gateway.

SUA信令网关灵活的路由机制和信令控制是No.7信令网与IP网实现互通的关键。在SUA的作用下,不需要重新设计网络,即可添加或移除网络元素。只要IP带宽充足,即可实现不同信令需求的各项应用。The flexible routing mechanism and signaling control of the SUA signaling gateway is the key to the intercommunication between the No.7 signaling network and the IP network. Under the function of SUA, network elements can be added or removed without redesigning the network. As long as the IP bandwidth is sufficient, various applications with different signaling requirements can be realized.

以下列举了SUA与SCCP在信令网关互通时的重要流程。The following lists the important procedures when SUA and SCCP communicate with each other at the signaling gateway.

(1)分片与重装。(1) Fragmentation and reloading.

当信令消息过长,超出PDU容量时,信令网关或ASP需要执行分片与重装。如果信令网关或ASP无法完成分片与重装,则以适当消息向对端发起错误报告。When the signaling message is too long and exceeds the capacity of the PDU, the signaling gateway or ASP needs to perform fragmentation and reassembly. If the signaling gateway or ASP cannot complete fragmentation and reinstallation, an error report will be sent to the opposite end with an appropriate message.

(2)负载分担支持。(2) Load sharing support.

同一AS中的多个ASP可同时激活,处于负载分担的工作方式。在处理TCAP事务或SCCP连接时,信令网关的负载分担机制还应保证:同一路事务或连接的后续消息与初始消息(如TC_Query,TC_Begin,CR等)所到达的ASP一致。Multiple ASPs in the same AS can be activated at the same time, working in load sharing mode. When processing TCAP transactions or SCCP connections, the load sharing mechanism of the signaling gateway should also ensure that the subsequent messages of the same transaction or connection are consistent with the ASP that the initial message (such as TC_Query, TC_Begin, CR, etc.) arrives at.

如果根据选路关键字(如DPC或GT)就能唯一识别ASP,则不需考虑负载分担。若AS内的ASP采用共享状态或内部分配机制而无法唯一识别时,信令网关就需要选用顺序传输方式保证消息到达的ASP前后一致。而对于面向连接的SCCP通信,只需要在最初的连接建立消息CR采用负载分担方式,其后续消息即可沿用已建立的连接通路。If the ASP can be uniquely identified based on the routing key (such as DPC or GT), there is no need to consider load balancing. If the ASP in the AS adopts a shared state or an internal allocation mechanism and cannot be uniquely identified, the signaling gateway needs to use a sequential transmission method to ensure that the message arrives consistent with the ASP. However, for connection-oriented SCCP communication, it is only necessary to use the load sharing method in the initial connection establishment message CR, and the subsequent messages can follow the established connection path.

若以上情况均不满足,则需要在信令网关和ASP中启用一套通用机制来支持负载分担:先建立ASP与AS关联,然后ASP在AS中激活,并向所有与No.7信令网连通的信令网关发送激活消息,每个消息的特定字段都包含由ASP分配的独立标记。信令网关为每个选路关键字都建立一个列表记录向其注册的ASP;之后信令网关就为各选路上下文建立分配表,在有新关联建立及ASP激活时更新。If none of the above conditions are satisfied, a common mechanism needs to be enabled in the signaling gateway and ASP to support load sharing: first establish the association between the ASP and the AS, then activate the ASP in the AS, and provide Connected signaling gateways send activation messages, and specific fields of each message contain individual tokens assigned by the ASP. The signaling gateway creates a list for each routing keyword to record the ASPs registered with it; then the signaling gateway creates a distribution table for each routing context, which is updated when a new association is established and the ASP is activated.

(3)信令网关的选路和消息分发。(3) Route selection and message distribution of the signaling gateway.

a.TCAP消息。a. TCAP message.

若TCAP消息不包含目的或回应TID(事务处理ID)标记,如Query,Begin,Unidirectional,则采用负载分担方式分配ASP。若消息包含TID标记,则由SG对其解析并选取对应的ASP。如果对应ASP不存在且返回选项已激活,则返回错误报告。If the TCAP message does not contain the purpose or response TID (transaction ID) mark, such as Query, Begin, and Unidirectional, the load sharing method is used to allocate ASP. If the message contains a TID tag, the SG parses it and selects the corresponding ASP. Returns an error report if the corresponding ASP does not exist and the return option is activated.

b.SCCP面向连接消息。b. SCCP is connection-oriented message.

若SCCP面向连接消息不包含DRN(目的参考编号)标记,如连接建立消息,则采用负载分担方式分配ASP。若消息包含DRN标记,则由SG对其解析并选取对应的ASP。若对应ASP不存在,则丢弃该消息。If the SCCP connection-oriented message does not contain a DRN (Destination Reference Number) mark, such as a connection establishment message, the ASP is allocated in a load sharing manner. If the message contains the DRN mark, the SG parses it and selects the corresponding ASP. If the corresponding ASP does not exist, the message is discarded.

(4)多信令网关SUA中继。(4) Multi-signaling gateway SUA relay.

每个ASP均会向信令网关进程发送其独立标记。出于系统容错和稳健性的考虑,多个信令网关可协同运行,为ASP提供可选路由。Each ASP sends its own token to the signaling gateway process. For the sake of system fault tolerance and robustness, multiple signaling gateways can work together to provide alternative routes for ASP.

6、SUA协议与其他协议的比较。6. Comparison of SUA protocol with other protocols.

(1)SUA与SCCP+M3UA的比较。(1) Comparison of SUA and SCCP+M3UA.

虽然SUA与SCCP+M3UA均位于SCTP+IP之上,但从SUA的角度来看,它对底层SCTP及IP网络的架构有更直观的了解。Although both SUA and SCCP+M3UA are located on top of SCTP+IP, from the perspective of SUA, it has a more intuitive understanding of the underlying SCTP and IP network architecture.

从横向来看,SUA简化了No.7信令网各元素繁琐的配置过程,降低了管理维护成本。从纵向比较,SUA只有一层,其管理功能也简单很多,只需要执行SUA的ASP管理;而SCCP+M3UA则需要兼顾SCCP管理和M3UA的ASP管理。From a horizontal perspective, SUA simplifies the tedious configuration process of each element of the No.7 signaling network and reduces management and maintenance costs. From a vertical comparison, SUA has only one layer, and its management function is much simpler. It only needs to implement ASP management of SUA; while SCCP+M3UA needs to take into account both SCCP management and M3UA ASP management.

SUA拓展了信令的寻址能力,它可以采用IP地址,主机名及DNS等SCCP中没有的方式进行路由寻址,为路由规划和调整提供了更高效、更灵活的机制。此外,SUA原则上并不要求使用No.7信令点码,从而能节省下大量点码资源。SUA expands the addressing capability of signaling. It can use IP address, host name, and DNS to perform routing addressing, which is not available in SCCP, and provides a more efficient and flexible mechanism for routing planning and adjustment. In addition, SUA does not require the use of No.7 signaling point codes in principle, thus saving a lot of point code resources.

(2)SUA与TI-SCCP的比较。(2) Comparison between SUA and TI-SCCP.

2002年底,ITU-T通过Q.2220规范制定了一组称为TI-SCCP(TransportIndependent Signalling Connection Control Part,传输独立信令连接控制部分)的协议,对Q.711~Q.716规范中定义的SCCP做出修改,使其能运行于多种传输网上。At the end of 2002, ITU-T formulated a group of protocols called TI-SCCP (Transport Independent Signaling Connection Control Part) through the Q.2220 specification, which defined in the Q.711~Q.716 specifications SCCP is modified so that it can run on various transmission networks.

同SUA一样,TI-SCCP利用Q.2150.3规范中定义的SCTP信令传输转换器(STC),也可以直接运行于SCTP之上。但它的寻址能力有限,不支持IP地址、主机名及DNS等扩展寻址方式。Like SUA, TI-SCCP utilizes the SCTP signaling transport converter (STC) defined in the Q.2150.3 specification, and can also run directly on top of SCTP. However, its addressing capability is limited, and it does not support extended addressing methods such as IP address, host name, and DNS.

此外,TI-SCCP在传输长消息时,需要引入MAP协议共同工作。它无法像SUA,将所有的分片/重装工作交由下层的SCTP完成。而且,MAP协议的引入将引起一系列的适配问题。In addition, when TI-SCCP transmits long messages, it needs to introduce the MAP protocol to work together. It cannot, like SUA, hand over all fragmentation/reinstallation work to the underlying SCTP. Moreover, the introduction of the MAP protocol will cause a series of adaptation problems.

(3)SUA与No.7信令系统的比较。(3) Comparison between SUA and No.7 signaling system.

SUA协议针对事务处理消息的传输做出了优化。SUA作为TCAP的承载者,在保持No.7信令全部功能的同时,也使网络稳健性达到运营商级水平。The SUA protocol is optimized for the transmission of transactional messages. As the bearer of TCAP, SUA not only maintains all the functions of No.7 signaling, but also makes the network robustness reach the carrier-level level.

SUA采用公共分组传输承载信令,仅通过简单的操作就能提升网络的带宽和连通性,而不需像No.7信令网E1/T1渠化链路那样重组网络。SUA adopts public packet transmission to carry signaling, and can improve the bandwidth and connectivity of the network through simple operations, without reorganizing the network like the E1/T1 channelized links of the No.7 signaling network.

SUA简化了No.7信令网繁琐的配置过程,更充分的利用了IP路由机制。它采取的分布式应用方式,可根据需求方便的重新配置。SUA simplifies the tedious configuration process of the No.7 signaling network and makes full use of the IP routing mechanism. The distributed application method it adopts can be easily reconfigured according to the needs.

SUA还促使设备制造商将以往垂直集成的增值业务推演为水平分布的服务层面。在这一层面上可以集成传统技术(如漫游,号码移植数据库),增值服务(如短消息服务)与下一代网络技术(如SIP,ENUM,LDAP等)。SUA also urges equipment manufacturers to deduce the previously vertically integrated value-added services into horizontally distributed service levels. At this level, traditional technologies (such as roaming, number porting database), value-added services (such as short message service) and next-generation network technologies (such as SIP, ENUM, LDAP, etc.) can be integrated.

7、结语。7. Conclusion.

SUA充分利用分组传输信令的性能,大幅度节省运营成本。它能简化网管过程,并行提供基于IP的DNS路由,增加SCCP路由的灵活性,减少对信令点码的依赖,减少链路和带宽对网络构架的限制。通过以上分析,我们不难看出,在未来增值业务繁多的3G网络和IP智能网中,SUA会得到广泛的应用。SUA makes full use of the performance of packet transmission signaling, greatly saving operating costs. It can simplify the network management process, provide IP-based DNS routing in parallel, increase the flexibility of SCCP routing, reduce the dependence on signaling point codes, and reduce the limitations of links and bandwidth on network architecture. Through the above analysis, we can easily see that SUA will be widely used in 3G networks and IP intelligent networks with many value-added services in the future.

在协议制定时间上是先定义了SCCP协议,然后定义了SUA协议;SCCP协议与SUA协议还需要在很长的一段时间内共存。但是目前没有兼容SUA与SCCP的方案。SCCP和SUA的用户是相同的,在共存时如何实现对用户的无缝接口,是目前需要解决的问题。In terms of protocol formulation time, the SCCP protocol was first defined, and then the SUA protocol was defined; the SCCP protocol and the SUA protocol still need to coexist for a long period of time. However, there is currently no solution compatible with SUA and SCCP. The users of SCCP and SUA are the same, how to realize the seamless interface to users when they coexist is a problem that needs to be solved at present.

发明内容Contents of the invention

本发明提供一种兼容SCCP和SUA的方法及装置,用以解决目前SUA与SCCP共存时,无法实现上层用户无缝使用的问题,以及SCCP与SUA之间互通的问题。The present invention provides a method and device compatible with SCCP and SUA, which are used to solve the problem that when SUA and SCCP coexist, the seamless use of upper-layer users cannot be realized, and the problem of intercommunication between SCCP and SUA.

本发明的兼容SCCP和SUA的方法,包括下列步骤:The method for compatible SCCP and SUA of the present invention comprises the following steps:

在信令连接控制部分SCCP和信令连接控制部分用户消息适配层SUA的上层提供适配层SIF;An adaptation layer SIF is provided at the upper layer of the signaling connection control part SCCP and the signaling connection control part user message adaptation layer SUA;

当SIF收到上层用户发来的无连接消息或者连接请求时,从被叫地址和主叫地址中获取该无连接消息或者连接请求的目的点信息和本点点码;根据目的点信息和本点点码分别获取该目的点在SCCP和SUA中的状态;根据所述目的点在SCCP和SUA中的状态,以及配置的分发策略,选定传递消息时所采用的协议类型,并相应下发该无连接消息或者连接请求;When the SIF receives a connectionless message or a connection request from an upper-layer user, it obtains the destination point information and the local point code of the connectionless message or connection request from the called address and the calling address; code to obtain the status of the destination point in SCCP and SUA respectively; according to the status of the destination point in SCCP and SUA, as well as the configured distribution strategy, select the protocol type used when transmitting the message, and issue the corresponding connection message or connection request;

当SCCP或SUA收到对端或者上层用户的连接请求时,从连接ID资源池或者各自的ID段中获取连接ID;SCCP或SUA以该连接ID进行连接请求的处理;在建立主被叫连接后,SIF根据交互的有连接消息中携带的连接ID,相应下发该有连接消息。When SCCP or SUA receives a connection request from the peer or upper-layer user, it obtains the connection ID from the connection ID resource pool or the respective ID segments; SCCP or SUA uses the connection ID to process the connection request; Afterwards, the SIF sends the connected message correspondingly according to the connection ID carried in the exchanged connected message.

所述配置的分发策略为负荷分担,或为主备用。The distribution strategy of the configuration is load sharing, or active and standby.

其中,所述SIF在SCCP与SUA之间转发消息。Wherein, the SIF forwards messages between the SCCP and the SUA.

接收域收到消息时,由本局的SIF根据目的点和配置的分发策略,将该消息相应转发到选定的域。When the receiving domain receives the message, the local SIF forwards the message to the selected domain according to the destination point and the configured distribution strategy.

本发明的兼容SCCP和SUA的装置,包括:The device compatible with SCCP and SUA of the present invention includes:

SCCP单元,用于以信令连接控制部分协议处理收到的消息;an SCCP unit for processing received messages with the Signaling Connection Control Part protocol;

SUA单元,用于以信令连接控制部分用户消息适配层协议处理收到的消息;The SUA unit is used to process the received message with the user message adaptation layer protocol of the signaling connection control part;

SIF单元,其位于SCCP单元和SUA单元的上层;SIF unit, which is located on the upper layer of SCCP unit and SUA unit;

连接ID管理单元,与所述SCCP单元、所述SUA单元和所述SIF单元均相连,用于为所述SCCP单元和所述SUA单元提供连接ID,并相应进行连接ID的管理;a connection ID management unit, which is connected to the SCCP unit, the SUA unit and the SIF unit, and is used to provide connection IDs for the SCCP unit and the SUA unit, and to manage connection IDs accordingly;

所述SIF单元中包括:信息获取子单元,用于当所述SIF单元收到上层用户发来的消息时,从被叫地址和主叫地址中获取该消息的目的点信息和本点点码;状态获取子单元,用于根据信息获取子单元获取的目的点信息和本点点码分别获取该目的点在所述SCCP单元和所述SUA单元中的状态;分发单元,根据所述目的点在所述SCCP单元和所述SUA单元中的状态,以及配置的分发策略,选定传递的协议类型,并相应下发该消息。The SIF unit includes: an information acquisition subunit, which is used to obtain the destination point information and the local point code of the message from the called address and the calling address when the SIF unit receives a message from an upper layer user; The state acquisition subunit is used to obtain the status of the destination point in the SCCP unit and the SUA unit according to the destination point information obtained by the information acquisition subunit and the point code; The status in the SCCP unit and the SUA unit, as well as the configured distribution strategy, select the protocol type to be transferred, and send the message accordingly.

又进一步,所述连接ID管理单元随机为SCCP单元和SUA单元提供连接ID,并通知SIF单元该连接ID被分配到SCCP单元或SUA单元。Still further, the connection ID management unit randomly provides connection IDs for the SCCP unit and the SUA unit, and notifies the SIF unit that the connection ID is allocated to the SCCP unit or the SUA unit.

又进一步,所述连接ID管理单元对连接ID分段,并将各段与SCCP单元和SUA单元分别对应,以及从段内为SCCP单元或SUA单元提供连接ID。Still further, the connection ID management unit segments the connection ID, and corresponds each segment to the SCCP unit and the SUA unit, and provides the connection ID for the SCCP unit or the SUA unit from the segment.

本发明有益效果如下:The beneficial effects of the present invention are as follows:

本发明方法在SCCP和SUA的上层提供适配层SIF,由SIF根据相关信息判断应分发到哪个协议进行消息处理。The method of the present invention provides an adaptation layer SIF on the upper layer of SCCP and SUA, and the SIF judges which protocol to distribute to for message processing according to relevant information.

对于无连接消息,当SIF收到上层用户发来的消息时,从被叫地址和主叫地址中获取该消息的目的点信息和本点点码;根据目的点信息和本点点码分别获取该目的点在SCCP和SUA中的状态;根据所述目的点在SCCP和SUA中的状态,以及配置的分发策略,选定传递的协议类型,并相应下发该消息。For connectionless messages, when SIF receives a message from an upper-layer user, it obtains the destination point information and local point code of the message from the called address and calling address; obtains the destination point information and local point code respectively according to the destination point information The status of the point in SCCP and SUA; according to the status of the destination point in SCCP and SUA, as well as the configured distribution strategy, select the protocol type to be transferred, and send the message accordingly.

对于有连接消息,当SIF收到上层用户发来的消息时,通过对连接ID的管理,实现SIF对交互的消息中携带的连接ID的识别,进而选定传递的协议类型,并相应下发消息。For connection messages, when SIF receives a message from an upper-layer user, through the management of the connection ID, the SIF realizes the identification of the connection ID carried in the interactive message, and then selects the protocol type to be transmitted, and sends it accordingly information.

关于SCCP与SUA的互通,当接收域(SCCP或SUA)收到消息时,由本局的SIF根据目的点和配置的分发策略,将该消息相应转发到选定的域,从而实现SCCP与SUA的互通。Regarding the intercommunication between SCCP and SUA, when the receiving domain (SCCP or SUA) receives a message, the SIF of the local office will forward the message to the selected domain according to the destination point and the configured distribution strategy, so as to realize the communication between SCCP and SUA intercommunication.

为了支撑本发明方法,本发明还提供了一种兼容SCCP和SUA的装置。In order to support the method of the present invention, the present invention also provides a device compatible with SCCP and SUA.

附图说明Description of drawings

图1为本发明装置结构示意图;Fig. 1 is the schematic diagram of device structure of the present invention;

图2为本发明装置在处理无连接消息时的结构示意图;Fig. 2 is a schematic structural diagram of the device of the present invention when processing a connectionless message;

图3为本发明装置在处理有连接消息时的结构示意图;Fig. 3 is a schematic structural diagram of the device of the present invention when processing a connection message;

图4为本发明方法步骤流程图。Fig. 4 is a flowchart of the method steps of the present invention.

具体实施方式Detailed ways

为了实现SUA与SCCP的兼容和共存,本发明提供了一种兼容SCCP和SUA的装置,参见图1所示,其包括:SCCP单元、SUA单元,以及分别与SCCP单元和SUA单元相连的SIF单元;In order to realize the compatibility and coexistence of SUA and SCCP, the present invention provides a device compatible with SCCP and SUA, as shown in Figure 1, which includes: an SCCP unit, a SUA unit, and a SIF unit connected to the SCCP unit and the SUA unit respectively ;

所述SCCP单元,用于以信令连接控制部分协议处理收到的消息。The SCCP unit is used to process the received message with the signaling connection control part protocol.

所述SUA单元,用于以信令连接控制部分用户消息适配层处理收到的消息。The SUA unit is used to process the received message by the user message adaptation layer of the signaling connection control part.

所述SIF单元,其位于SCCP单元和SUA单元的上层,用于向SCCP单元或SUA单元分发消息,以兼容SCCP单元和SUA单元。The SIF unit is located on the upper layer of the SCCP unit and the SUA unit, and is used for distributing messages to the SCCP unit or the SUA unit, so as to be compatible with the SCCP unit and the SUA unit.

参见图2所示,若所述装置处理无连接消息,则所述SIF单元中还包括依次相连的信息获取子单元、状态获取子单元和分发单元。Referring to FIG. 2 , if the device processes connectionless messages, the SIF unit further includes an information acquisition subunit, a state acquisition subunit and a distribution unit that are sequentially connected.

所述信息获取子单元,用于当SIF单元收到上层用户发来的消息时,从被叫地址和主叫地址中获取该消息的目的点信息和本点点码;The information acquisition subunit is used to obtain the destination point information and the local point code of the message from the called address and the calling address when the SIF unit receives a message from an upper layer user;

所述状态获取子单元,用于根据信息获取子单元获取的目的点信息和本点点码分别获取该目的点在SCCP单元和SUA单元中的状态;The state acquisition subunit is used to obtain the status of the destination point in the SCCP unit and the SUA unit respectively according to the destination point information and the point code obtained by the information acquisition subunit;

所述分发单元,根据所述目的点在SCCP单元和SUA单元中的状态,以及配置的分发策略,选定传递的协议类型,并相应下发该消息。所述分发策略为负荷分担,或为主备用。The distribution unit selects the protocol type to be transferred according to the state of the destination point in the SCCP unit and the SUA unit, and the configured distribution strategy, and sends the message accordingly. The distribution strategy is load sharing, or active and standby.

参见图3所示,若所述装置处理有连接消息,则所述装置中还包括与SCCP单元、SUA单元和SIF单元均相连的连接ID管理单元。Referring to FIG. 3 , if the device processes a connection message, the device further includes a connection ID management unit connected to the SCCP unit, the SUA unit and the SIF unit.

所述连接ID管理单元,用于为SCCP单元和SUA单元提供连接ID,并相应进行连接ID的管理。所述连接ID管理单元可以随机为SCCP单元和SUA单元提供连接ID,并通知SIF单元该连接ID被分配到SCCP单元或SUA单元,以便SIF单元相应下发消息。或者,所述连接ID管理单元对连接ID分段,并将各段与SCCP单元和SUA单元分别对应,以及从段内为SCCP单元或SUA单元提供连接ID,以便SIF单元根据每段的特征相应下发消息(例如:最高位为1,则表示由SCCP单元处理;最高位为0,则表示由SUA单元处理)。The connection ID management unit is used to provide connection IDs for SCCP units and SUA units, and manage connection IDs accordingly. The connection ID management unit may randomly provide connection IDs for the SCCP unit and the SUA unit, and notify the SIF unit that the connection ID is allocated to the SCCP unit or the SUA unit, so that the SIF unit sends a message accordingly. Or, the connection ID management unit segments the connection ID, and corresponds each segment to the SCCP unit and the SUA unit, and provides the connection ID for the SCCP unit or the SUA unit from within the segment, so that the SIF unit responds according to the characteristics of each segment Sending a message (for example, if the highest bit is 1, it means that it is processed by the SCCP unit; if the highest bit is 0, it means that it is processed by the SUA unit).

应用上述装置,本发明还提供了一种兼容SCCP和SUA的方法,参见图4所示,包括下列主要步骤:Applying the above-mentioned device, the present invention also provides a method compatible with SCCP and SUA, as shown in Figure 4, including the following main steps:

S1、在SCCP和SUA的上层提供适配层SIF。S1. Provide an adaptation layer SIF on the upper layer of SCCP and SUA.

按照协议规定引入SUA协议后,在同时存在SCCP和SUA两个协议时,要保持上层用户的接口不变。对于上层用户而言不需要知道消息是通过SCCP传递给对端,还是通过SUA传递给对端。因此本发明在SCCP和SUA的上层提供适配层SIF(SUA与SCCP接口层),其功能是实现上层用户的消息在SCCP与SUA之间的分发。After introducing the SUA protocol according to the agreement, when the two protocols of SCCP and SUA exist at the same time, the interface of the upper layer user should be kept unchanged. For the upper layer users, it is not necessary to know whether the message is passed to the opposite end through SCCP or through SUA. Therefore, the present invention provides an adaptation layer SIF (SUA and SCCP interface layer) on the upper layer of SCCP and SUA, and its function is to realize the distribution of messages of upper layer users between SCCP and SUA.

S2、SIF收到消息。S2. The SIF receives the message.

所述消息从发送方向看,可由上层用户发来(即欲分发到SUA或SCCP),或者由SUA或SCCP发来(即对端发来的消息欲接续到上层用户)。From the perspective of the sending direction, the message can be sent by the upper-layer user (that is, to be distributed to the SUA or SCCP), or sent by the SUA or the SCCP (that is, the message sent by the opposite end is to be connected to the upper-layer user).

所述消息从消息类型看,可为无连接消息,或有连接消息。In terms of message type, the message may be a connectionless message or a connection message.

S3、SIF进行消息的分发。S3, the SIF distributes the message.

SIF根据相关信息进行消息的分发,以实现SCCP与SUA的兼容。SIF distributes messages according to relevant information, so as to realize compatibility between SCCP and SUA.

S4、SCCP或SUA收到SIF下发的消息后,进行处理。S4, SCCP or SUA processes the message sent by the SIF after receiving it.

以下通过四个实例具体描述本发明方法。The method of the present invention is specifically described below through four examples.

方法实例一:上层用户发来的无连接消息的分发。包括下列具体步骤:Method example 1: Distribution of connectionless messages sent by upper-layer users. Include the following specific steps:

-当SIF收到上层用户发来的消息时,从被叫地址和主叫地址中获取消息的目的点信息(DPC或者DPCSSN)和本点点码(OPC或者OPCSSN)。- When the SIF receives a message from an upper-layer user, it obtains the destination point information (DPC or DPCSSN) and the local point code (OPC or OPCSSN) of the message from the called address and the calling address.

-根据目的点和本点信息获取该目的点在SCCP和SUA中的状态。-Acquiring the status of the destination point in SCCP and SUA according to the destination point and the information of this point.

-根据所述目的点在SCCP和SUA中的状态,以及配置的分发策略(负荷分担、主备用),选定传递的协议类型,并相应下发该消息。如果是负荷分担,需要根据上层的呼叫相关性实现SCCP和SUA的业务负荷分担,保持SCCP和SUA传递的呼叫个数相等;如果是主备用,根据设置的主用标志选择主用的协议,传递所有的呼叫消息。- According to the status of the destination point in SCCP and SUA, and the configured distribution strategy (load sharing, active backup), select the type of protocol to be transferred, and issue the message accordingly. If it is load sharing, it is necessary to implement SCCP and SUA service load sharing according to the call correlation of the upper layer, and keep the number of calls transmitted by SCCP and SUA equal; All call messages.

方法实例二:通过连接ID资源池实现有连接消息的分发。Method example two: Realize the distribution of connected messages through the connection ID resource pool.

当消息是有连接消息时,根据连接参考实现网络侧与上层用户N原语的交互。协议中对于有连接的N原语参数定义如下表:When the message is a connection message, the interaction between the network side and the upper-layer user N primitive is realized according to the connection reference. The parameters of the connected N primitives in the protocol are defined in the following table:

Table 1/Q.711-Network service primitives for connection-oriented servicesb)

Figure G061A9914720060829D000121
Figure G061A9914720060829D000131
Table 1/Q.711-Network service primitives for connection-oriented servicesb)
Figure G061A9914720060829D000121
Figure G061A9914720060829D000131

在实现上可以使用Connection identification作为上下层间通信的关键字,上层用户收到SCCP的N源语通知消息后,根据Connection identification可以快速找到自己的连接控制块,进行相应的消息处理;当上层用户下发请求源语给SCCP时,SCCP根据源语中的Connection identification可以快速的获取SCCP的连接控制块,进行相应的消息处理。SUA的N源语处理与SCCP雷同。但是当底层同时存在SCCP和SUA时,此时上层用户所能够获取的就是Connection identification,并不知道这个Connection identification是SCCP的还是SUA的。因此通过上表可以看到,有部分的有连接源语中并没有被叫地址或主叫地址,但需要SIF在分发消息时能够根据Connection identification快速的定位该消息的处理协议。实现时就有一个如何管理Connection identification的问题。In terms of implementation, Connection identification can be used as the keyword for communication between the upper and lower layers. After the upper layer user receives the N source notification message of SCCP, he can quickly find his own connection control block according to the Connection identification, and perform corresponding message processing; when the upper layer user When sending the source language of the request to SCCP, SCCP can quickly obtain the connection control block of SCCP according to the Connection identification in the source language, and process the corresponding message. The N source language processing of SUA is similar to that of SCCP. However, when both SCCP and SUA exist at the bottom layer, what the upper layer user can obtain at this time is the Connection identification, and does not know whether the Connection identification is SCCP or SUA. Therefore, it can be seen from the above table that some connected source languages do not have called or calling addresses, but SIF needs to be able to quickly locate the message processing protocol based on the Connection identification when distributing messages. There is a question of how to manage Connection identification when implementing it.

本例通过连接ID资源池实现有连接消息的分发。根据发送方向可分为两种情况。In this example, the distribution of connected messages is realized through the connection ID resource pool. There are two cases according to the sending direction.

情况一:从对端接收到连接请求。包括下列具体步骤:Case 1: A connection request is received from the peer. Include the following specific steps:

-在SCCP或SUA接收到对端的连接请求时,从连接ID资源池中获取连接ID(可以通过函数调用的方式或者消息通知的方式获取)。- When the SCCP or SUA receives the connection request from the opposite end, obtain the connection ID from the connection ID resource pool (it can be obtained by means of function calling or message notification).

-连接ID资源池从自己空闲的连接ID中随机取出一个空闲的连接ID,传递给SCCP或SUA。- The connection ID resource pool randomly picks out an idle connection ID from its idle connection IDs, and passes it to SCCP or SUA.

-SCCP或SUA使用该连接ID进行消息后续处理(按照现有协议)。- SCCP or SUA uses this connection ID for message post-processing (according to existing protocols).

-在建立主被叫连接后,SIF根据交互的消息中携带的连接ID,检查该ID是属于哪个协议使用,如果判定是被SCCP使用,则直接将该消息发送给SCCP处理;如果判定是被SUA使用,则直接将该消息发送给SUA处理。- After establishing the connection between the calling party and the called party, the SIF checks which protocol the ID belongs to according to the connection ID carried in the exchanged message. If it is determined that the ID is used by the SCCP, it will directly send the message to the SCCP for processing; if it is determined that it is used by the SCCP If the SUA uses it, the message is directly sent to the SUA for processing.

情况二:接收到上层用户的连接请求。包括下列具体步骤:Case 2: A connection request from an upper-layer user is received. Include the following specific steps:

-上层用户发送连接请求给SIF层时,SIF层首先按照无连接消息处理方法选择该次连接通过哪个协议处理。- When the upper layer user sends a connection request to the SIF layer, the SIF layer first selects which protocol to process the connection according to the connectionless message processing method.

-SCCP或SUA接收到该用户的连接请求时,从连接ID资源池中获取连接ID(可以通过函数调用的方式或者消息通知的方式获取)。- When SCCP or SUA receives the user's connection request, it obtains the connection ID from the connection ID resource pool (it can be obtained by means of function calling or message notification).

-连接ID资源池从自己空闲的连接ID中随机取出一个空闲的连接ID,传递给SCCP或SUA。- The connection ID resource pool randomly picks out an idle connection ID from its idle connection IDs, and passes it to SCCP or SUA.

-SCCP或SUA使用该连接ID进行消息后续处理(按照协议做)。- SCCP or SUA uses the connection ID for subsequent message processing (according to the protocol).

-在建立主被叫连接后,SIF根据交互的消息中携带的连接ID,检查该ID是属于哪个协议使用,如果判定是被SCCP使用,则直接将该消息发送给SCCP处理;如果判定是被SUA使用,则直接将该消息发送给SUA处理。- After establishing the connection between the calling party and the called party, the SIF checks which protocol the ID belongs to according to the connection ID carried in the exchanged message. If it is determined that the ID is used by the SCCP, it will directly send the message to the SCCP for processing; if it is determined that it is used by the SCCP If the SUA uses it, the message is directly sent to the SUA for processing.

方法实例三:通过对连接ID分段实现有连接消息的分发。Method Example 3: Realize the distribution of connected messages by segmenting the connection ID.

当消息是有连接消息时,根据连接参考实现网络侧与上层用户N原语的交互。协议中对于有连接的N原语参数定义如下表:When the message is a connection message, the interaction between the network side and the upper-layer user N primitive is realized according to the connection reference. The parameters of the connected N primitives in the protocol are defined in the following table:

Table 1/Q.711-Network service primitives for connection-oriented servicesb)

Figure G061A9914720060829D000141
Table 1/Q.711-Network service primitives for connection-oriented servicesb)
Figure G061A9914720060829D000141

在实现上可以使用Connection identification作为上下层间通信的关键字,上层用户收到SCCP的N源语通知消息后,根据Connection identification可以快速找到自己的连接控制块,进行相应的消息处理;当上层用户下发请求源语给SCCP时,SCCP根据源语中的Connection identification可以快速的获取SCCP的连接控制块,进行相应的消息处理。SUA的N源语处理与SCCP雷同。但是当底层同时存在SCCP和SUA时,此时上层用户所能够获取的就是Connection identification,并不知道这个Connection identification是SCCP的还是SUA的。因此通过上表可以看到,有部分的有连接源语中并没有被叫地址或主叫地址,但需要SIF在分发消息时能够根据Connection identification快速的定位该消息的处理协议。实现时就有一个如何管理Connection identification的问题。In terms of implementation, Connection identification can be used as the keyword for communication between the upper and lower layers. After the upper layer user receives the N source notification message of SCCP, he can quickly find his own connection control block according to the Connection identification and perform corresponding message processing; when the upper layer user When sending the request source language to SCCP, SCCP can quickly obtain the SCCP connection control block according to the Connection identification in the source language, and perform corresponding message processing. The N source language processing of SUA is similar to that of SCCP. However, when both SCCP and SUA exist at the bottom layer, what the upper layer user can obtain at this time is the Connection identification, and does not know whether the Connection identification is SCCP or SUA. Therefore, it can be seen from the above table that some connected source languages do not have called or calling addresses, but SIF needs to be able to quickly locate the message processing protocol based on the Connection identification when distributing messages. There is a question of how to manage Connection identification when implementing it.

本例通过对连接ID分段实现有连接消息的分发。根据发送方向可分为两种情况。In this example, the distribution of connected messages is realized by segmenting the connection ID. There are two cases according to the sending direction.

情况一:从对端接收到连接请求。包括下列具体步骤:Case 1: A connection request is received from the peer. Include the following specific steps:

-在SCCP或SUA接收到对端的连接请求时,对应从各自的ID段中获取连接ID(可以通过函数调用的方式或者消息通知的方式)。- When SCCP or SUA receives the connection request from the opposite end, it correspondingly obtains the connection ID from the respective ID segments (it can be through function calling or message notification).

-从对应的ID段中的空闲连接ID中取出一个空闲的连接ID,对应传递给SCCP或SUA。- Take an idle connection ID from the idle connection IDs in the corresponding ID segment, and pass it to SCCP or SUA correspondingly.

-SCCP或SUA使用该连接ID进行消息后续处理(按照现有协议)。- SCCP or SUA uses this connection ID for message post-processing (according to existing protocols).

-在建立主被叫连接后,SIF根据交互的消息中携带的连接ID的段特征,判定该消息应由哪个协议处理(例如:最高位为1,则判定应由SCCP处理;最高位为0,则判定应由SUA处理)。如果判定应由SCCP处理,则直接将该消息发送给SCCP;如果判定应由SUA处理,则直接将该消息发送给SUA。- After the caller-caller connection is established, SIF determines which protocol the message should be processed according to the segment characteristics of the connection ID carried in the exchanged message (for example, if the highest bit is 1, it is determined that it should be processed by SCCP; the highest bit is 0 , the judgment should be handled by SUA). If it is determined that the SCCP should be processed, the message is directly sent to the SCCP; if it is determined that the SUA should be processed, the message is directly sent to the SUA.

情况二:接收到上层用户的连接请求。包括下列具体步骤:Case 2: A connection request from an upper-layer user is received. Include the following specific steps:

-上层用户发送连接请求给SIF层时,SIF层首先按照无连接消息处理方法选择该次连接通过哪个协议处理。- When the upper layer user sends a connection request to the SIF layer, the SIF layer first selects which protocol to process the connection according to the connectionless message processing method.

-SCCP或SUA接收到该用户的连接请求时,对应从各自的ID段中获取连接ID(可以通过函数调用的方式或者消息通知的方式)。- When SCCP or SUA receives the user's connection request, it correspondingly obtains the connection ID from the respective ID segments (it can be in the way of function calling or message notification).

-从对应的ID段中的空闲连接ID中取出一个空闲的连接ID,对应传递给SCCP或SUA。- Take an idle connection ID from the idle connection IDs in the corresponding ID segment, and pass it to SCCP or SUA correspondingly.

-SCCP或SUA使用该连接ID进行消息后续处理(按照现有协议)。- SCCP or SUA uses this connection ID for message post-processing (according to existing protocols).

-在建立主被叫连接后,SIF根据交互的消息中携带的连接ID的段特征,判定该消息应由哪个协议处理(例如:最高位为1,则判定应由SCCP处理;最高位为0,则判定应由SUA处理)。如果判定应由SCCP处理,则直接将该消息发送给SCCP;如果判定应由SUA处理,则直接将该消息发送给SUA。- After the caller-caller connection is established, SIF determines which protocol the message should be processed according to the segment characteristics of the connection ID carried in the exchanged message (for example, if the highest bit is 1, it is determined that it should be processed by SCCP; the highest bit is 0 , the judgment should be handled by SUA). If it is determined that the SCCP should be processed, the message is directly sent to the SCCP; if it is determined that the SUA should be processed, the message is directly sent to the SUA.

方法实例四:域间消息的分发。Method example four: distribution of inter-domain messages.

网络中通常会存在一种使用场景:SUA侧的消息经过SUA处理后,发现它的下一处理结点应该处于窄带侧,即下一处理结点为SCCP;需要实现把消息从一个域传递到另外一个域的功能,即:实现信令网关功能(SG功能)。There is usually a usage scenario in the network: After the message on the SUA side is processed by the SUA, it is found that its next processing node should be on the narrowband side, that is, the next processing node is SCCP; it is necessary to transfer the message from one domain to the The function of another domain is to realize the signaling gateway function (SG function).

当从SCCP接收到消息时,该消息首先经过SCCP的GT翻译后,检查消息的目的点不是本局时,则将该消息转发给SIF,SIF根据该消息的目的点和配置的分发策略(协议间负荷分担、主备用等),决定该消息应该经过哪个域(SCCP或SUA)传递到对端。When receiving a message from SCCP, the message is first translated by GT of SCCP, and if the destination point of the message is not checked by the local office, then the message is forwarded to the SIF, and the SIF forwards the message to the SIF according to the destination point of the message and the configured distribution strategy (inter-protocol Load sharing, active backup, etc.), decide which domain (SCCP or SUA) the message should pass through to the peer.

从SUA接收到消息的处理流程与从SCCP接收到消息的处理流程雷同。The processing flow of receiving a message from SUA is the same as that of receiving a message from SCCP.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (5)

1.一种兼容SCCP和SUA的方法,其特征在于,包括下列步骤:1. A method compatible with SCCP and SUA, characterized in that, comprising the following steps: 在信令连接控制部分SCCP和信令连接控制部分用户消息适配层SUA的上层提供适配层SIF;An adaptation layer SIF is provided at the upper layer of the signaling connection control part SCCP and the signaling connection control part user message adaptation layer SUA; 当SIF收到上层用户发来的无连接消息或者连接请求时,从被叫地址和主叫地址中获取该无连接消息或者连接请求的目的点信息和本点点码;根据目的点信息和本点点码分别获取该目的点在SCCP和SUA中的状态;根据所述目的点在SCCP和SUA中的状态,以及配置的分发策略,选定传递消息时所采用的协议类型,并相应下发该无连接消息或者连接请求;When the SIF receives a connectionless message or a connection request from an upper-layer user, it obtains the destination point information and the local point code of the connectionless message or connection request from the called address and the calling address; code to obtain the status of the destination point in SCCP and SUA respectively; according to the status of the destination point in SCCP and SUA, as well as the configured distribution strategy, select the protocol type used when transmitting the message, and issue the corresponding connection message or connection request; 当SCCP或SUA收到对端或者上层用户的连接请求时,从连接ID资源池或者各自的ID段中获取连接ID;SCCP或SUA以该连接ID进行连接请求的处理;在建立主被叫连接后,SIF根据交互的有连接消息中携带的连接ID,相应下发该有连接消息。When SCCP or SUA receives a connection request from the peer or upper-layer user, it obtains the connection ID from the connection ID resource pool or the respective ID segments; SCCP or SUA uses the connection ID to process the connection request; Afterwards, the SIF sends the connected message correspondingly according to the connection ID carried in the exchanged connected message. 2.如权利要求1所述的方法,其特征在于,接收域收到消息时,由本局的SIF根据目的点和配置的分发策略,将该消息相应转发到选定的域,以实现消息在SCCP与SUA之间的转发。2. The method according to claim 1, wherein when the receiving domain receives the message, the SIF of the local office forwards the message to the selected domain according to the destination point and the configured distribution strategy, so that the message can be sent to the selected domain. Forwarding between SCCP and SUA. 3.一种兼容SCCP和SUA的装置,包括:3. A device compatible with SCCP and SUA, comprising: SCCP单元,用于以信令连接控制部分协议处理收到的消息;an SCCP unit for processing received messages with the Signaling Connection Control Part protocol; SUA单元,用于以信令连接控制部分用户消息适配层协议处理收到的消息;The SUA unit is used to process the received message with the user message adaptation layer protocol of the signaling connection control part; 其特征在于,所述装置还包括:SIF单元,其位于所述SCCP单元和所述SUA单元的上层;It is characterized in that the device further includes: a SIF unit located on the upper layer of the SCCP unit and the SUA unit; 连接ID管理单元,与所述SCCP单元、所述SUA单元和所述SIF单元均相连,用于为所述SCCP单元和所述SUA单元提供连接ID,并相应进行连接ID的管理;a connection ID management unit, which is connected to the SCCP unit, the SUA unit and the SIF unit, and is used to provide connection IDs for the SCCP unit and the SUA unit, and to manage connection IDs accordingly; 所述SIF单元中包括:The SIF unit includes: 信息获取子单元,用于当所述SIF单元收到上层用户发来的消息时,从被叫地址和主叫地址中获取该消息的目的点信息和本点点码;The information acquisition subunit is used to obtain the destination point information and the local point code of the message from the called address and the calling address when the SIF unit receives a message from an upper layer user; 状态获取子单元,用于根据所述信息获取子单元获取的目的点信息和本点点码分别获取该目的点在所述SCCP单元和所述SUA单元中的状态;The state acquisition subunit is used to obtain the status of the destination point in the SCCP unit and the SUA unit respectively according to the destination point information and the point code obtained by the information acquisition subunit; 分发单元,根据所述目的点在所述SCCP单元和所述SUA单元中的状态,以及配置的分发策略,选定传递消息时所采用的协议类型,并相应下发该消息。The distribution unit, according to the state of the destination point in the SCCP unit and the SUA unit, and the configured distribution strategy, selects the type of protocol used when transferring the message, and sends the message accordingly. 4.如权利要求3所述的装置,其特征在于,所述连接ID管理单元随机为SCCP单元和SUA单元提供连接ID,并通知SIF单元该连接ID被分配到SCCP单元或SUA单元。4. The device according to claim 3, wherein the connection ID management unit randomly provides connection IDs for the SCCP unit and the SUA unit, and notifies the SIF unit that the connection ID is assigned to the SCCP unit or the SUA unit. 5.如权利要求3所述的装置,其特征在于,所述连接ID管理单元对连接ID分段,并将各段与SCCP单元和SUA单元分别对应,以及从段内为SCCP单元或SUA单元提供连接ID。5. The device according to claim 3, wherein the connection ID management unit segments the connection ID, and corresponds each segment to the SCCP unit and the SUA unit, and the SCCP unit or the SUA unit in the segment Provide a connection ID.
CN2006101099147A 2006-08-22 2006-08-22 A method and device compatible with SCCP and SUA Expired - Fee Related CN1933485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101099147A CN1933485B (en) 2006-08-22 2006-08-22 A method and device compatible with SCCP and SUA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101099147A CN1933485B (en) 2006-08-22 2006-08-22 A method and device compatible with SCCP and SUA

Publications (2)

Publication Number Publication Date
CN1933485A CN1933485A (en) 2007-03-21
CN1933485B true CN1933485B (en) 2010-06-23

Family

ID=37879101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101099147A Expired - Fee Related CN1933485B (en) 2006-08-22 2006-08-22 A method and device compatible with SCCP and SUA

Country Status (1)

Country Link
CN (1) CN1933485B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425921B (en) * 2007-11-01 2011-04-20 华为技术有限公司 Method and device for adaptation layer protocol resource management of signaling connection control part customer
CN101511104B (en) * 2008-02-15 2013-03-20 华为技术有限公司 Communication method and equipment based on small-sized honeycomb access network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1320338A (en) * 1998-09-25 2001-10-31 艾利森电话股份有限公司 Signalling in a telecommunications system
CN1553669A (en) * 2003-05-29 2004-12-08 华为技术有限公司 Method for making application adaptation compatible with two media gateway control protocols

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1320338A (en) * 1998-09-25 2001-10-31 艾利森电话股份有限公司 Signalling in a telecommunications system
CN1553669A (en) * 2003-05-29 2004-12-08 华为技术有限公司 Method for making application adaptation compatible with two media gateway control protocols

Also Published As

Publication number Publication date
CN1933485A (en) 2007-03-21

Similar Documents

Publication Publication Date Title
CN102067623B (en) The network node and method of IP-based signaling network routing messages
US6965592B2 (en) Distributed signaling system 7 (SS7) message routing gateway
US8340083B2 (en) Border control system, method, and software
US7477646B1 (en) Arrangement for controlling congestion for multiple host groups sharing a single signaling point code in an IP-based network using respective group congestion levels
CN101471903A (en) Signaling gateway, network system and data transmission method
EP2143260A1 (en) Telecommunication nodes of sigtran network remaining active in an isolated received state for only receiving traffic related to pre-established or self-initiated sessions
US8565220B2 (en) Signaling status information of an application service
CN1933485B (en) A method and device compatible with SCCP and SUA
CN101253718B (en) Methods and systems for using signaling system 7 (SS7) subsystem numbers to route messages to session initiation protocol (SIP) nodes
JP4907649B2 (en) Public switched telephone network signaling in media gateways for packet-based networks
CN100546308C (en) Gateway control protocol message transmission method
CN101184047B (en) Message routing method, equipment and system
CN100550803C (en) Device and method for managing multi-protocol public route
US7881281B1 (en) Border control system, method, and software
CN1870764B (en) Method and system for load sharing by signaling point
CA2375807A1 (en) Signaling gateway
CN100568856C (en) Method for Signaling Routing Using Routing Keyword
CN101207564B (en) Method for extending M3UA route supervision function
KR100511747B1 (en) Operation Method for Signaling Network Resources in Signaling Gateway System
CN101136845A (en) Multi-protocol routing configuration device and method
CN100499832C (en) Message processing method for signal connection controlling part in distribution type system
KR100820854B1 (en) Home location register system supporting trunk line-based and IP-based network interfaces
CN101453417B (en) Application layer service data packet switching method and apparatus
CN101207616A (en) An Extended Method of M3UA Routing Management Function in IP Signaling System
CN101207615A (en) The extension method of M3UA routing management function

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
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: 20100623

Termination date: 20170822