Linux环境下I/O重定向与异步通信的实现  被引量:5

IMPLEMENTING I/O REDIRECTION AND ASYNCHRONOUS COMMUNICATION IN LINUX

在线阅读下载全文

作  者:黄可杰[1] 马莉[1] 

机构地区:[1]杭州电子科技大学自动化学院,浙江杭州310018

出  处:《计算机应用与软件》2011年第3期57-60,共4页Computer Applications and Software

基  金:国家自然科学基金(60775016);浙江省重大科技专项(2007C13062)

摘  要:串口通信广泛应用于各种控制环境,在视频监控领域中通过Linux串口通信实现ARM与DSP双处理器之间的信息数据交互是关注的热点之一。针对海康威视的IP视频模块(IPMOD),提出了Linux下双处理器系统通信的实现技术:(1)采用I/O重定向的文件共享技术,使原IP视频模块开发板硬件仅有的一个控制台串行口成为普通串行通信口,实现了IP模块和TMS320DM642之间的双向串行通信;(2)采用异步非阻塞I/O的通信模式,提高I/O的读写和CPU的执行效率。Serial communication is widely used in a variety of control environments.In video surveillance application the information and data interaction between two processors of ARM and DSP through Linux serial communication is one of the hot research interests.Based on IP video module(IPMOD) from Hikvision,this paper presents the implementation of a communication approach between two processors in Linux system:(1) By using I/O redirected file-sharing technique the only RS232 console port which the development board hardware of the module has is modified into a normal serial port and is used to realise bidirectional communication between the IPMOD and the TMS320DM642;(2) By using asynchronous non-blocking mode of I/O access the efficiency of I/O read/write and CPU executions is improved.

关 键 词:Linux串口通信 文件共享 I/O重定向 异步非阻塞I/O 

分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象