通过 USSD 发送消息需要什么?
我正在尝试开始使用USSD。 我熟悉其他形式的短信。 最终我想使用USSD作为实时支付平台的一部分。
谢谢。
I'm trying to get started with USSD. I'm familiar with other forms of SMS.
Ultimately i want to use USSD as part of a real-time payment platform.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
以下是您在实施 USSD 计划时希望找到答案的一些问题。
•。 我们希望渠道如何运作?
对于初学者来说,USSD 就像面向连接的 SMS 通信,即 USSD 之于 SMS,就像 IM 之于电子邮件。 通信的发起可以是USSD-PUSH(移动端终止和提供商发起)或USSD-PULL(移动端发起和提供商终止)。 就您而言,我相信这可能是移动发起的 USSD 拉动,移动用户在手机上拨打 USSD 短代码即可访问该应用程序。
•。 如果是 USSD-PULL...我们的短代码是什么?
每个应用程序都需要一个单独的短代码。 USSD 短代码是类似于互联网世界中的网站地址的网站地址方案。 我不确定您来自哪个国家/地区,但在印度,USSD 短代码由移动服务提供商拥有,需要让服务提供商为您配置正确的短代码。
•。 那么,什么是通讯接口呢?
USSD 使用面向连接的 SMPP 工作。 然而,USSD 网关(服务提供商拥有的中间件,用于在订阅者的手机之间转发 USSD 消息,现在能够充当桥梁,其应用程序接口可以通过 HTTP 或 HTTPS 进行传输。在这种情况下,我会认为您需要在移动运营商的网关和您的应用程序之间打开 HTTP 或 HTTPS 连接 从那时起,只需构建一个带有文本响应的 Web 应用程序即可!
Here are some of the questions you'd like to find answers for as you proceed with your USSD plan.
•. How do we want the channel to work?
For starters, USSD is just like connection-oriented SMS communication i.e, USSD is to SMS what IM is to email. The initiation of the communication can either be USSD-PUSH ( Mobile-terminated & provider originated) or a USSD-PULL (Mobile originated & provider terminated). In your case, I believe it would probably be a mobile originated USSD pull where the mobile subscriber dials a USSD short code on his mobile to access the app.
•. If it is USSD-PULL... what is our short code?
Every app requires a separate short code. USSD shortcodes are site addresses scheme similar to the website addresses in the internet world. I am not sure what country you are from, but here in India, USSD shortcodes are owned by the mobile service providers and one needs to get the service provider to configure the right short codes for you.
•. Now, what is the communication interface?
USSD works using a connection oriented SMPP. However, USSD gateways ( service-provider owned middle-ware that relays USSD messages to and from the subscribers' mobiles, these days are capable of acting as bridges where their app interface can be over HTTP or HTTPS. In this case, I'd think you'd need HTTP or HTTPS connectivity opened between the mobile operator's gateway and your app. From then on, it is just matter of building a web-app with a text response!
我只是用谷歌搜索并收集信息。
根据非结构化补充服务数据 (USSD):
但是,如果您在诺基亚设备上编写 Java MIDlet,则它不会工作。
I just Googled around and gathered info.
According to Unstructured Supplementary Services Data (USSD):
However, if you are writing Java MIDlet on a Nokia device, it does not work.
我刚刚发现 Mobicents 有一个 ussd 网关和模拟器 。 您需要做的就是从 SVN 中查看源代码并“mvn clean install”文件。 我还没试过。 但我知道 mobicent 是一个可靠的程序。
I just found out that Mobicents has a ussd gateway and simulator . all you need to do is to checkout their source code from their SVN and "mvn clean install" the files. I didn't try it yet . But I know mobicent is a reliable program.
Vumi 是为您运行 USSD 应用程序的免费开源服务器的名称。
事实上,您需要知道您希望 USSD 代码在哪个国家/地区运行,并与这些网络或已经与这些网络建立合作伙伴关系的人建立合作伙伴关系。
例如,在南非,您可以使用 TruTeq 。 或者Vodacom Messaging。
Vumi is the name of a free opensource server that runs USSD app's for you.
Indeed, you need to know which country you want the USSD code to work and have partnerships with those networks or someone who is already partnered with those networks.
e.g. in South Africa you could use TruTeq for example. Or Vodacom Messaging.