我正在编写一个实施调查问卷的应用程序。是否有资格成为实时应用程序?

发布于 2024-09-04 14:53:43 字数 77 浏览 1 评论 0原文

简单来说,我有一个服务器和客户端。服务器一一发送问题,客户端在给出答案后立即给出答案。

那么,您认为这个应用程序是实时的吗?

Keeping it simple, I have a server and client. The server sends questions one by one and the client the answers, as soon as they are given.

So, would you say this application is real time?

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

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

发布评论

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

评论(3

小梨窩很甜 2024-09-11 14:53:44

不,实时系统是操作系统/应用程序必须在已知时间内响应环境的系统,例如战斗机上的嵌入式飞行控制系统。

维基百科有一篇关于实时计算的相当不错的文章。

No, Real-time systems are ones where the OS/Application has to respond to the environment within a known period, for example an embedded flight control system on a fighter jet.

Wikipedia has a fairly good article on Real-time computing.

煮茶煮酒煮时光 2024-09-11 14:53:44

如果您使用像 TCP/IP 这样的协议进行通信,那不是实时系统,因为这些通信链路本质上在响应时间方面不是确定性的,唯一确定的是消息将在何时到达?谁知道...

If you are using for the communication a protocol like TCP/IP, that isnt realtime system, because these communication link are not by nature deterministic in matter of response time, the only sure thing is that the message will arrive, when? who knows...

﹉夏雨初晴づ 2024-09-11 14:53:43

基于 wikipedia 的引用,它总结了我对实时应用程序的理解:

“如果操作的总体正确性不依赖于以下因素,则称系统是实时的:
不仅取决于其逻辑正确性,还取决于其执行的时间。经典的概念是,在硬实时或立即实时系统中,在截止日期之后完成操作被认为是无用的 - 最终,这可能会导致整个系统的严重故障。另一方面,软实时系统将容忍这种延迟,并且可能会以降低的服务质量进行响应(例如,在显示视频时省略帧)。”

我会说不,它不是实时的。

Based on this quote from wikipedia, which summarizes my understand of what a real-time application is:

"A system is said to be real-time if the total correctness of an operation depends not
only upon its logical correctness, but also upon the time in which it is performed. The classical conception is that in a hard real-time or immediate real-time system, the completion of an operation after its deadline is considered useless - ultimately, this may cause a critical failure of the complete system. A soft real-time system on the other hand will tolerate such lateness, and may respond with decreased service quality (e.g., omitting frames while displaying a video)."

I would say no, it is not real-time.

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