📜  实时任务与非实时任务之间的区别

📅  最后修改于: 2021-08-25 18:20:09             🧑  作者: Mango

1.实时任务:
实时任务是与时间的定量表达相关联的任务。时间的这种定量表达描述了实时任务的行为。计划实时任务以将其涉及的所有计算事件完成到时序约束中。与实时任务相关的时间限制是截止日期。所有实时任务都需要在截止日期之前完成。

例如,与设备的输入输出交互,Web浏览等。

2.非实时任务:
非实时任务是与时序约束无关的任务。定时表达式不描述非实时任务。它与任何时间限制都没有关联。这些任务仅需要在系统可能花费的任何时间完成。基本上,现在不使用这些任务。如今使用的所有任务都是实时任务。

例如,批处理作业,事件记录器等。

实时任务与非实时任务之间的区别:

REAL-TIME TASKS NON-REAL-TIME TASKS
Real-time task is the task that is associated with time bound. Non-real-time task is not associated with time bound.
It can be expressed as quantitative expression of time. It can’t be expressed ad function of time.
It is of two types – Hard and Soft. It is not further classified.
Deadline of real-time tasks are in the order of seconds. Deadline of non-real-time tasks may be minutes, hours or even days.
Most of the interactive tasks are real-time tasks. It includes some old jobs used some decades ago.
It is widely used in computer systems. It is not used now-a-days in computer systems.
It is computed by real-time systems. It is computed by traditional systems.
Example: Satellite tracking, video conferencing etc. Example: Batch processing jobs, old email services etc.