通过 USSD 发送消息需要什么?

发布于 2024-07-10 02:24:53 字数 119 浏览 6 评论 0原文

我正在尝试开始使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

眸中客 2024-07-17 02:24:53

以下是您在实施 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!

清音悠歌 2024-07-17 02:24:53

我只是用谷歌搜索并收集信息。

根据非结构化补充服务数据 (USSD)

非结构化补充服务
数据(USSD)允许
通过 GSM 传输信息
网络。 与短信相比,
提供实时连接
会议。 USSD 消息最多可达
长度为 182 个字母数字字符。
非结构化补充服务
数据允许交互服务
MS 和托管应用程序之间
由移动运营商提供。 这些消息
由数字和#、*组成
键,并允许用户轻松地、
快速获取信息/访问
运营商提供的服务。

USSD 消息的形成很简单并且
易于发送。 用户可以直接输入
ussd 字符串并按呼叫发送
消息。 典型的 USSD 消息
以 * 开头,后跟数字
这表明要采取的行动
执行或是参数。 每个
一组数字由 * 分隔,
消息以 # 结束。
USSD网关反过来可以与外部应用程序交互
基于 USSD 命令。 这允许
获得增值数量
通过 USSD 提供服务。

  • USSD 适用于第二阶段或更高版本的所有 GSM 手机。

但是,如果您在诺基亚设备上编写 Java MIDlet,则它不会工作。

I just Googled around and gathered info.

According to Unstructured Supplementary Services Data (USSD):

Unstructured Supplementary Services
Data (USSD) allows for the
transmission of information via a GSM
network. Contrasting with SMS, it
offers real time connection during a
session. A USSD message can be upto
182 alphanumeric characters in length.
Unstructured Supplementary Service
Data allows interactive services
between a MS and applications hosted
by the Mobile Operator. These messages
are composed of digits and the #, *
keys, and allow users to easily and
quickly get information/access
services from the Operator.

USSD messages are simple to form and
easy to send. User can directly enter
the ussd string and press call to send
the message. A typical USSD message
starts with a * followed by digits
which indicate an action to be
performed or are parameters. Each
group of numbers is separated by a *,
and the message is terminated with a #.
The USSD gateway in turn can interact with external applications
based on the USSD command. This allows
access to number of value added
services via USSD.

  • USSD works on all GSM handsets of Phase II or later.

However, if you are writing Java MIDlet on a Nokia device, it does not work.

赏烟花じ飞满天 2024-07-17 02:24:53

我刚刚发现 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.

别念他 2024-07-17 02:24:53

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文