基于Linux的IPC测控系统中多任务调度的实现
DOI:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP316

基金项目:


Realization of Multi-task Scheduling in Linux Based IPC Measurement and Control System
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    IPC(工业PC)系统通常需要持续长时间的工作,对运行其上的系统软件的稳定性要求非常高.Linux具有运行稳定、源代码开放并且免费等诸多优点,因此采用Linux作为平台开发了1套IPC测控系统.多任务调度是系统软件中的关键部分.提出了一种利用Linux中的闹钟机制来实现IPC测控系统中多任务调度的简单方法.Linux中的闹钟机制是由软件定时器和用来安装和处理闹钟信号的系统调用组合实现的.首先介绍了进程定时器、软中断信号、相关系统调用以及闹钟机制在多任务调度中的应用.随后给出了一个在IPC测控系统中应用的实例.该系统已经通过了长时间的运行测试,完全实现了预定功能,并且稳定性良好,证明了所介绍的调度方法的可行性.

    Abstract:

    Industrial Personal Computer(IPC) system generally works in long duration,and so a stable software is essential for an IPC system.Linux has a good deal advantages,such as,stability in use,open source code and free of charge, therefore an IPC measurement and control system has developed based on Linux. Multi-task scheduling is the critical part in system software.A simple method to realize multi-task scheduling in IPC measurement and control system based on Linux alarm clock mechanism is presented. Linux alarm clock mechanism is implemented by the cooperation of software timers and system call that is used to install and handle alarm clock.First, Linux process timers,soft interrupt signals, relevant system call are introduced,as well as applications of Linux alarm clock mechanism in multi-task scheduling. And then an example of the application in the IPC measurement and control system is given. The system has passed longtime run test,accomplished expected functions and shown well stability, so that practicability of the scheduling method has been authenticated.

    参考文献
    相似文献
    引证文献
引用本文

李志文,陈曾汉.基于Linux的IPC测控系统中多任务调度的实现[J].重庆大学学报,2004,27(12):45-48.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:2004-08-11
  • 录用日期:
  • 在线发布日期:
  • 出版日期: