USSD 接口 ->java网络应用程序通信 [英] USSD INTERFACE -> java web app communication

查看:25
本文介绍了USSD 接口 ->java网络应用程序通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要一些有关通过 USSD 接口进行 Java Web 应用程序通信的信息!我们需要实施该计划,以便通过低端手机覆盖贫困社区的目标客户群.

Need a few infos please regarding the communication of a Java web application via USSD interface! we need to implement that to reach our target customer base in poorer communities with low end phones.

我正在研究 USSD,作为与我们当前的 Java EE Web 应用程序进行通信的一种方式.

I am looking into USSD, as a way to communicate with our current Java EE web application.

我相信我已经了解如何在 USSD 中构建菜单(通过 XML 和某些参数/标签.)但是,我不知道如何做出回应.我昨天才开始阅读它,但发现了很多 Google 认为无用的信息.

I believe that I have understood how i can construct a menu in USSD (via XML and certain parameters / tags.) However, I am not sure how to give a response. I only started reading up on it yesterday but find a lot of info which Google finds useless.

我们当前的网络应用已设置网络服务.我想我需要将 USSD 接口/xml 文件(参数 = - 回调 - "url request" )连接到 Web 服务!?而一个用户的所有发送数据(接收到的输入)都等于一个 URL 请求?

Our current web app has web services set up. I imagine that I need to get USSD interface / xml file (parameter = - callback - "url request" )connected to the web service!? And all send data of a user (received input) equals a URL request?

我该如何发送回复!?可以显示多少数据??以及需要传输什么格式或数据?

And how do I send a response !? how much data can be displayed ?? and what format or does this data need to be transmitted?

很难从南非的移动提供商那里找出他们使用的网关 - 不确定我是否正确,但似乎是 WASP !?如果这是一个网关,那么这就是所有提供商似乎在 SA 中使用的..我尝试通过多种方式联系vodacom SA,没有回复.我感兴趣的是他们使用什么网关,如何构建响应.

It is very tough to find out from the mobile provider here in south africa what gateway they are using - not sure If I am right, but seem to be WASP !? if that is a gateway, then thats what all providers seem to use in SA . . I have tried contacting vodacom SA in several ways, no reply. All I am interested in is what gateway they use, how to construct a response.

这是 vodacom 的电子邮件回复->我们提供 ussd 网络服务..然后,我们通过 USSD 网关中的 SMPP 连接到 SMSC.

this was an email response of vodacom ->we offer ussd web service . . We then connect to the SMSC’s via SMPP in our USSD Gateway.

推荐答案

您需要 SMPP.OpenSMPP 是用于 SMPP 的出色 Java 库.我已经用它完成了 USSD-SMPP.只需向运营商询问连接参数:

You need SMPP. OpenSMPP is a great Java library for SMPP. I've done USSD-SMPP with it. Just ask the carrier for connection parameters:

  1. 系统标识
  2. 系统类型
  3. IP 地址
  4. 端口
  5. 密码

如果您想了解有关这些字段的更多信息,请阅读 .SMPP规范PDF很不错的简单阅读.

If you want further information on the fields, read SMPP specification PDF. It's pretty good simple reading.

通常需要在 SMPP 数据包中设置一些 TLV(特殊参数)以使用 USSD,但没有任何超出标准协议的内容.另外,请记住,在处理 USSD 时您将需要一些特殊的数据包流.该流程应由网关提供商(将 SMPP-USSD 网关出售给运营商的提供商)提供.

Usually there are some TLVs (special parameters) you will need to set in your SMPP packets in order to use USSD, but nothing outside the standard protocol. Also, do keep in mind that you will need some special packet flow when dealing with USSD. That flow should be provided by the Gateway provider (the one that sold the SMPP-USSD gateway to the carrier).

最后一件非常重要的事情:您需要承运人的帮助才能做这些事情.如果没有他们的帮助,不可能你最终会让 USSD 工作.他们不仅需要为您提供访问他们平台的权限,还需要监控您的数据包,有时还会告诉您出了什么问题.

One last very important thing: you need help from the carrier in order to do these kind on things. There is no way you will end up getting USSD to work without their help. They need to provide you not only by granting you access to their platform, but with monitoring your packets and sometimes telling you what's wrong.

希望有帮助.

这篇关于USSD 接口 ->java网络应用程序通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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