摘要
通过嵌入式实时操作系统(VxWorks),实现了视频监控系统的解决方案.研究了在VxWorks系统下实现设备和数据通信的关键技术和相应机制,并采用有限状态机(FSM)解决了串行数据通信的帧同步.文中重点分析了采用计数器信号量解决多进程同步通信,即生产者—消费者问题.本文的方案可以推广到串行设备以外的其它通信机制.
Combining with the application of video supervision system which is implemented in real_time operating system VxWorks, the key technique and corresponding mechanism about communication between devices and data are discussed. The current research is based on FSM(Finite State Machine)in an attempt to solving the frame synchronism of serial communication in real time operating system VxWorks. But the focus in this paper is the application of counting semaphore in VxWorks, which can be used in the Producer_Consumer problem to solve the data synchronism in multi process communication. The communication mechanism in this paper can be extended to other communication mechanism besides serial devices in VxWorks.
出处
《北方交通大学学报》
CSCD
北大核心
2004年第3期79-81,87,共4页
Journal of Northern Jiaotong University