使用Java的GPRS应用程序

发布于 2024-07-19 06:19:01 字数 208 浏览 5 评论 0原文

我们开发了用 Java/J2EE 编写的应用程序,用于从服务提供商发送和接收 SMS,目前我们面临着消息延迟的问题,而且这对我们来说成本更高。

考虑到上述情况,我们计划转向 GPRS 技术(更便宜且速度更快)。

因此,请建议我可以开始的行动方案,并用 Java 发布支持 GPRS 的系统的任何示例应用程序。

We developed application written in Java/J2EE using which send and receives SMS from service provider and presently we are facing problem that there is some delay in messages and it cost's more for us.

by considering above situation we planned to move to GPRS technology (which is more cheaper and considerably fast).

So please suggest a course of action I can start with and post any sample application for GPRS-enabled system in Java.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

余生共白头 2024-07-26 06:19:01

使用 GPRS,您需要在移动设备中运行客户端应用程序。 这意味着开发、部署和支持方面会遇到很多麻烦。 此外,虽然客户端发送消息很简单,但接收消息却不会那么简单。 您需要实现某种“推送”服务。 问题之一是客户端应用程序应该始终运行。

一般来说,用 GPRS 通信取代 SMS 消息并不容易。 您可能需要大幅改变系统的架构。

With GPRS you would need a client application running in the mobile device. This means a lot of headaches for developing, deploying and supporting. Also, although it would be trivial for the clients to send messages, receiving won't be so straightforward. You would need to implement some kind of a "push" service. One of the problems would be that the client application should be always running.

In general, it isn't easy to replace SMS messages with GPRS communication. You may need to considerably change the architecture of your system.

木緿 2024-07-26 06:19:01

要使用 java 制作 GPRS 应用程序,您必须需要 GPRS 调制解调器。 首先,您必须创建一个容器来处理 GPRS 调制解调器和 API 的请求和重放。 API 包含私有 IP 和端口号,将请求发送到容器,容器然后将请求发送到模型,调制解调器将响应容器并将其发送回 API。

通过使用 methd Socket("IP Address", port number) 您可以连接容器和调制解调器。

你必须需要一个公共IP地址和端口号,它在调制解调器和容器之间创建虚拟管道,就像telnet一样。

To make a GPRS application using java you have to need GPRS Modem. First of all you have to make one container which handle request and replay of GPRS modem and your API. API contain private ip and port number wich send the request to container and container then send request to modelm and modem will give response to container and it send back to API.

By using methd Socket("IP Address", port number) you can connect with container and modem .

You have to need a public Ip Address andPort Number, it create virtual pipline between modem and container like as a telnet.

吖咩 2024-07-26 06:19:01

使用 GPRS 而不是 GSM 发送 SMS 不会导致 SMS 传送速度更快。 你找错了树。

Using GPRS instead of GSM to send an SMS will not cause the SMS to be delivered any faster. You're barking up the wrong tree.

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