基于Java異步串行通信技術(shù)的研究
[Abstract]:Java Communication API is the only official solution for serial communication program development under Java platform. However, the Java serial port communication program based on the sample program generally has the defect that the long string data can not be received completely in the asynchronous communication mode. In order to solve this problem, According to the characteristics that the two parties can agree on the length of the data before the communication, a method of counting the received bytes is put forward, and the length of the received data is taken as the index to judge whether the communication is over or not. This method overcomes the above defects and has good feasibility and practicability. It can be widely used in various development situations using Java Communication API.
【作者單位】: 四川大學(xué)電氣信息學(xué)院;
【基金】:航空科學(xué)基金項(xiàng)目(20100119004) 國(guó)家級(jí)大學(xué)生創(chuàng)新創(chuàng)業(yè)訓(xùn)練計(jì)劃項(xiàng)目(201310610109)
【分類號(hào)】:TN919
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 李良;朱善安;;基于Java的串口通信[J];電子器件;2007年02期
2 陸穎瑜;張永林;;利用Java實(shí)現(xiàn)對(duì)云臺(tái)和鏡頭的遠(yuǎn)程控制[J];工程設(shè)計(jì)學(xué)報(bào);2007年04期
3 吳興軍;胡漢春;;Java實(shí)現(xiàn)計(jì)算機(jī)與OMRON PLC串口通信[J];工業(yè)儀表與自動(dòng)化裝置;2010年01期
4 丁振凡;王小明;吳小元;鄧建明;周斌;;客車電氣絕緣智能檢測(cè)系統(tǒng)工控機(jī)端設(shè)計(jì)[J];計(jì)算機(jī)測(cè)量與控制;2012年11期
【共引文獻(xiàn)】
相關(guān)期刊論文 前10條
1 曾顯光;陸穎瑜;張永林;;移動(dòng)視頻監(jiān)控系統(tǒng)的設(shè)計(jì)[J];安防科技;2009年10期
2 邱占芝;申向春;;網(wǎng)絡(luò)化軌道衡稱重管理系統(tǒng)關(guān)鍵技術(shù)研究與實(shí)現(xiàn)[J];大連交通大學(xué)學(xué)報(bào);2011年02期
3 邱占芝;于曉龍;;基于JAVA的汽車衡稱重管理系統(tǒng)關(guān)鍵技術(shù)[J];大連交通大學(xué)學(xué)報(bào);2011年04期
4 李秉榮;劉夫云;程雄;王喬義;藍(lán)毓勝;馬永輝;;自動(dòng)稱重系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[J];電子器件;2010年02期
5 唐未香;;Java程序與ZigBee串口通訊的實(shí)現(xiàn)[J];福建電腦;2010年05期
6 彭碧濤;羅海蛟;姜靈敏;;Java課程群的規(guī)劃與建設(shè)[J];福建電腦;2014年02期
7 薛李濱;潘瑜;;Android系統(tǒng)安全機(jī)能的剖析與增強(qiáng)[J];電腦與信息技術(shù);2014年01期
8 張明樂(lè);呂斌斌;左武志;徐曉偉;陳e,
本文編號(hào):2190601
本文鏈接:http://sikaile.net/kejilunwen/wltx/2190601.html