基于多线程的环境监控系统下位机的设计

Design of Lower Computer in Environment Monitoring System Based on Multi-thread

  • 摘要: 为提高环境监控系统的稳定性,节约系统资源,提出了一种由下位机、传输网络和上位机组成的环境监控系统的设计方案,详细介绍了该系统中下位机的硬件及软件设计。该下位机硬件以ARM9处理器S3C2410为核心,软件采用多线程应用程序同时处理多个任务,并采用信号量和互斥量实现线程间的同步。实际应用表明,该系统运行稳定,提高了系统效率。

     

    Abstract: In order to improve stability of environment monitoring system and save system's resource, the paper proposed a design scheme of environment monitoring system composed by lower computer, transmission network and upper computer. It introduced design of hardware and software of the lower computer in the system in details. The hardware of the lower computer takes ARM9 processor S3C2410 as core, its software uses multi-thread application program to process multi-task at the same time and uses semaphore and mutex to realize synchronization among threads. The actual application showed that the system runs stably and improves system efficiency.

     

/

返回文章
返回