期刊文献+

基于Linux的IPC测控系统中多任务调度的实现

Realization of Multi-task Scheduling in Linux Based IPC Measurement and Control System
下载PDF
导出
摘要 IPC(工业PC)系统通常需要持续长时间的工作,对运行其上的系统软件的稳定性要求非常高。Linux具有运行稳定、源代码开放并且免费等诸多优点,因此采用Linux作为平台开发了1套IPC测控系统。多任务调度是系统软件中的关键部分。提出了一种利用Linux中的闹钟机制来实现IPC测控系统中多任务调度的简单方法。Linux中的闹钟机制是由软件定时器和用来安装和处理闹钟信号的系统调用组合实现的。首先介绍了进程定时器、软中断信号、相关系统调用以及闹钟机制在多任务调度中的应用。随后给出了一个在IPC测控系统中应用的实例。该系统已经通过了长时间的运行测试,完全实现了预定功能,并且稳定性良好,证明了所介绍的调度方法的可行性。 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.
出处 《重庆大学学报(自然科学版)》 EI CAS CSCD 北大核心 2004年第12期45-48,共4页 Journal of Chongqing University
关键词 IPC测控系统 LINUX 多任务调度 闹钟机制 进程定时器 信号 IPC measurement and control system Linux multi-task scheduling alarm clock mechanism process timers signal
  • 相关文献

参考文献1

  • 1The GNU C Library[ EB/OL]. http://www. gnu. org/software/ libc/manual/,2001.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部