作战室 留言中心

发布于 2024-09-07 21:52:40 字数 195 浏览 2 评论 0原文

寻找有关如何实现信息亭样式/全屏客户端的想法,该客户端将实时或基于推送显示发送给它的消息。基本上,可以想象 911 调度中心呼叫板。我正在考虑显示一个 xmpp 机器人,并制作一个简单的 xmpp 客户端,该客户端只能向机器人发送消息。

这是一个非常小的紧急灾难机构作战室,只需要能够显示从建筑物中的一台计算机输入的简单消息。 XMPP 是一个好的解决方案吗?

Looking for ideas on how to implement a kiosk style/full screen client that will display messages sent to it, in realtime or push based. Basically, think a 911 dispatch center call board. I was thinking a xmpp bot to display, and making a simple xmpp client that can only send messages to the bot.

This is for a very small emergency disaster agencies war room, and only needs to be able to display simple messages entered in from one of the computers in the building. Is XMPP a good solution for this?

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

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

发布评论

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

评论(3

℉絮湮 2024-09-14 21:52:40

像 XMPP 这样的 IM 协议是一个可接受的解决方案。

XMPP 似乎符合要求,它很成熟并且有很多客户端支持它,因此不需要编写客户端,只需设置一个常规 IM 客户端发送给“好友”即大板即可。

你是不是向后看问题?多描述一下您想做什么,然后寻求有关协议的建议。听起来你可能是围​​绕协议进行设计,而不是围绕你的需求进行设计。

An IM protocol like XMPP is an acceptable solution for this.

XMPP seems to fit the bill, it is mature and has many clients that support it so it would not be necessary to write a client, just set up a regular IM client to send to the "buddy" that is the big board.

Are you looking at the problem backwards? Describe what you want to do a little more THEN seek advice on protocols. It smells like you might be designing around a protocol rather than designing around your requirements.

音栖息无 2024-09-14 21:52:40

这应该像单个 HTML 页面一样简单,使用 Strope.js 和 XMPP 帐户全屏运行。 Strope 是一个易于使用的 Javascript XMPP 库。

类似这里的基本的.{html,js} 示例应该正是您想要的:
http://code.stanziq.com/cgit/stropice/stropicejs/tree/< /a>

This should be as simple as a single HTML page, running full screen, using Strophe.js and an XMPP account. Strophe is an easy-to-use XMPP library in Javascript.

Something like the basic.{html,js} example here should be pretty much what you want:
http://code.stanziq.com/cgit/strophe/strophejs/tree/

囍笑 2024-09-14 21:52:40

听起来像是一个简单的 pubsub 设置(XMPP 将适用于此),其中客户端都是发布者,而作战室是唯一的订阅者。这消除了对名册的需要,因此它使初始配置非常简单。

我不知道你喜欢使用什么语言,但是在 Smack 中会相当简单 使用 pubsub API 以及您喜欢的任何支持 pubsub 扩展的 XMPP 服务器。 (您将需要从源代码构建 Smack,因为该特定 API 是新的,尚未包含在发布版本中。)

Sounds like a simple pubsub setup (XMPP will work for this) where the clients are all publishers and the War room is the only subscriber. This eliminates the need for rosters so it keeps the intial configuration pretty simple.

I don't know what language you prefer to use, but it would be rather simple in Smack using the pubsub API and any XMPP server you prefer that supports the pubsub extension. (You will need to build Smack from source though as that particular API is new and not in the release version yet.)

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