SCTP偶联 [英] SCTP association

查看:603
本文介绍了SCTP偶联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图构建一个使用SCTP的SS7网络实体,我的问题是我应该如何设计用于路由到对PC GT或路由路径都各协会的路由表。

I'm trying to build an SS7 network entity that uses sctp, my question is how should I design the routing table used to route to each association in both route on GT or route on PC.

因此​​,例如,让我们说,这个实体连接到污水处理厂2,2协会每个STP

So for example let's say that this entity is connected to 2 STPs, 2 associations to each STP

node1 (thread 1)  ----association 1---->STP1
node1 (thread 2)  ----association 2---->STP1

node1 (thread 3)  ----association 1---->STP2
node1 (thread 4)  ----association 2---->STP2

由于每个线程上面显示有一个协会,所以我想共享的所有线程各关联的文件描述符,那么我可以将流量发送到任何协会(当然锁定机构),作为该协会这里被作为链路集,再基于点code或GT。

As shown above each thread has one association, so I was thinking of sharing the file descriptor of each association with all threads, then I can send the traffic to any association(of course with a lock mechanism),as the association is treated here as link-set, again based on the point code or the GT.

或者在一个过程中创建的所有关联,只是发送到基于它的每个协会的描述符,当然没有多线程。

Or create all association in one process and just send to each association based on it's descriptor with no multi-threading of course.

环境是Linux和语言是C
而且请注意,我可以使用除上述2以外的任何其他的想法。

The environment is Linux and language is C And please note I can use any other idea other than the above 2.

推荐答案

在你的目标是实现对STP或网络故障甚至负荷分担和弹性的假设则每个线程需要一个关联到每个STP。因此,我将分享线程之间的文件描述符。

On the assumption that your goal is to achieve even load sharing and resilience against STP or network failures then each thread needs an association to each STP. Therefore I would share the file descriptors between threads.

请记住,SS7预计要在中期计划进行SLS负载共享,以确保通过网络顺序传送。

Remember that SS7 expects load sharing to be performed on the MTP SLS to ensure in-sequence delivery through the network.

如果我是开发一个应用程序SS7我会看看第三方协议栈如可从Dialogic的,你可以从他们的网站下载试用。这是在Linux中提供(或Solaris和Windows),并提供了一​​个基于消息API,它允许您的应用程序是多线程或单线程等,他们支持SCTP,M3UA,M2PA,SUA,MTP3,SCCP,TCAP,INAP,MAP ,ISUP和更

If I were developing an SS7 application I would look at third party protocol stacks such as that available from Dialogic which you can download and trial from their web site. This is available in Linux (or Solaris and Windows) and provides a message based API which allows your application to be multi-threaded or single threaded etc. They support SCTP, M3UA, M2PA, SUA, MTP3, SCCP, TCAP, INAP, MAP, ISUP and more.

这篇关于SCTP偶联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆