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

📅  最后修改于: 2021-09-11 04:32:35             🧑  作者: Mango

1.实时任务:
实时任务是与时间的定量表达相关的任务。这种时间的定量表达描述了实时任务的行为。实时任务被安排完成所有涉及到的计算事件进入时间约束。与实时任务相关的时间约束是截止日期。所有实时任务都需要在截止日期前完成。

例如,与设备的输入-输出交互、网页浏览等。

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.