问题描述
我已经阅读了实时的不同概念的定义,以及为硬和软实时系统对我来说很有意义.但是,没有一个真正的实时系统的真正解释或例子.根据上面的链接:
I have read the definitions for the different notions of real-time, and the examples provided for hard and soft real-time systems make sense to me. But, there is no real explanation or example of a firm real-time system. According to the link above:
公司:偶尔错过最后期限是可以容忍的,但可能会降低系统的服务质量.结果在截止日期后的有用性为零.
硬实时与硬实时或软实时之间是否有明显的区别,是否有一个很好的例子来说明这种区别?
Is there a clear distinction between firm real-time vs. hard or soft real-time, and is there a good example that illustrates that distinction?
在评论中,Charles 要求我为新标签提交标签 wiki.我为 firm-real-time 标签是一个牛奶供应系统.如果系统在过期时间后提供牛奶,那么牛奶就被认为是无用的".可以忍受不吃牛奶的麦片,但体验质量下降.
In comments, Charles asked that I submit tag wikis for the new tags. The example of a "firm real-time system" I provided for the firm-real-time tag was a milk serving system. If the system delivers milk after its expiration time, then the milk is considered "not useful". One can tolerate eating cereal without milk, but the quality of the experience is degraded.
这只是我最初阅读定义时在脑海中形成的想法.我正在寻找一个更好的例子,也许更好地定义公司实时,这将改善我的概念.
This is just the idea I formed in my head when I initially read the definition. I am looking for a much better example, and perhaps a better definition of firm real-time that will improve my notion of it.
推荐答案
硬实时意味着您必须绝对按时完成每个截止日期.很少有系统有这个要求.例如核系统、心脏起搏器等一些医疗应用、大量国防应用、航空电子设备等.
Hard real-time means you must absolutely hit every deadline. Very few systems have this requirement. Some examples are nuclear systems, some medical applications such as pacemakers, a large number of defense applications, avionics, etc.
固定/软实时系统可能会错过一些最后期限,但如果错过太多,最终性能会下降.一个很好的例子是您计算机中的音响系统.如果您错过了几位,没什么大不了的,但是错过了太多,您最终会降低系统的性能.类似的还有地震传感器.如果你错过了一些数据点,没什么大不了的,但你必须抓住其中的大部分才能理解数据.更重要的是,如果他们不能正常工作,没有人会死.
Firm/soft real time systems can miss some deadlines, but eventually performance will degrade if too many are missed. A good example is the sound system in your computer. If you miss a few bits, no big deal, but miss too many and you're going to eventually degrade the system. Similar would be seismic sensors. If you miss a few datapoints, no big deal, but you have to catch most of them to make sense of the data. More importantly, nobody is going to die if they don't work correctly.
这条线是模糊的,因为即使是心脏起搏器也可以在不杀死患者的情况下少量关闭,但这是一般要点.
The line is fuzzy, because even a pacemaker can be off by a small amount without killing the patient, but that's the general gist.
这有点像热和暖之间的区别.没有真正的分歧,但当你感觉到时就会知道.
It's sort of like the difference between hot and warm. There's not a real divide, but you know it when you feel it.
这篇关于硬实时、软实时和硬实时之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!