[1]江峰 刘高嵩.串口通讯中系统资源分配问题的研究[J].计算机技术与发展,2006,(11):64-66.
 JIANG Feng,LIU Gao-song.Research on Operating System's Resource in Serial - Port' s Communication[J].,2006,(11):64-66.
点击复制

串口通讯中系统资源分配问题的研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2006年11期
页码:
64-66
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Research on Operating System's Resource in Serial - Port' s Communication
文章编号:
1673-629X(2006)11-0064-03
作者:
江峰 刘高嵩
中南大学信息科学与工程学院
Author(s):
JIANG Feng LIU Gao-song
College of Information Science and Technology, Central South University
关键词:
串口加锁队列
Keywords:
serial- port lock queue
分类号:
TP311
文献标志码:
A
摘要:
通常串口设备与主机问的通讯是一一对应的。而客户端与服务器问的通讯一般都是多线程并发的,因此在多客户端调用服务器端串口设备时就会产生矛盾。文中从软件的角度出发,探讨了用程序方式控制客户端请求,协调多客户端资源分配及数据传递的可能性。提出串口操作函数加锁、设置服务器端队列、握手协议二次开发和快速反应4种解决方案。最后分析了这4种方法在实际应用过程中各自的优缺点
Abstract:
Usually, the communication type between server and serial- equipment is point- to- point. But the communication between client and server is multi - thread parallel rurming. So it arises contradictions when multi - clients want to use one serial - equipment on the server at the same time. Discusses the poesibility of using program to control the client's requests and corresponding the resouree distribution and data transfer between one client and another from the software side. And brings forward four solutions: locking for the serial operating function, set queue on the server, the second developing to the handshake protocol and quickly response. And then analyses the advantages and disadvantages of each other in practical situation

相似文献/References:

[1]李思源 谭业双.基于LabWindows/CVI多线程编程的串口测试实现[J].计算机技术与发展,2012,(07):121.
 LI Si-yuan,TAN Ye-shuang.Design of Testing Programme for Serial Port Based on Multithreading Method in LabWindows/CVI[J].,2012,(11):121.
[2]王宁 王铮.Ice插件技术研究[J].计算机技术与发展,2012,(05):40.
 WANG Ning,WANG Zheng.Research of Plug-In Technology Based on Ice[J].,2012,(11):40.
[3]李姝萱,卜 刚,韩宇昕.基于 UVM 的软硬件协同验证平台设计[J].计算机技术与发展,2022,32(08):76.[doi:10. 3969 / j. issn. 1673-629X. 2022. 08. 013]
 LI Shu-xuan,BU Gang,HAN Yu-xin.Design of UVM-based Software and Hardware Co-simulation Verification Platform[J].,2022,32(11):76.[doi:10. 3969 / j. issn. 1673-629X. 2022. 08. 013]

备注/Memo

备注/Memo:
江峰(1983-),男,湖南安乡人,硕士研究生,研究方向为构件技术和分布式系统;刘高嵩,副教授,研究方向为软件工程、构件技术、MIS系统
更新日期/Last Update: 1900-01-01