天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于Java異步串行通信技術(shù)的研究

發(fā)布時間:2018-08-18 20:33
【摘要】:Java Communication API是Java平臺下用于串口通信程序開發(fā)的唯一官方解決方案,Java串口通信程序均可以由官方提供的開發(fā)包中的示例程序括展;但以示例程序為基礎(chǔ)開發(fā)的Java串口通信程序一般都存在著在異步通信模式下無法完整接收長串數(shù)據(jù)的缺陷;為解決這一問題,根據(jù)通信前收發(fā)信雙方可以約定通信的數(shù)據(jù)長度這一特點,提出一種對接收到的字節(jié)進行計數(shù)的方法,以接收的數(shù)據(jù)長度為指標判斷通信是否結(jié)束;通過實際編程驗證,該方法克服了上述缺陷,具有很好的可行性與實用性,可以廣泛應用于各種使用Java Communication API進行開發(fā)的場合。
[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.
【作者單位】: 四川大學電氣信息學院;
【基金】:航空科學基金項目(20100119004) 國家級大學生創(chuàng)新創(chuàng)業(yè)訓練計劃項目(201310610109)
【分類號】:TN919

【參考文獻】

相關(guān)期刊論文 前4條

1 李良;朱善安;;基于Java的串口通信[J];電子器件;2007年02期

2 陸穎瑜;張永林;;利用Java實現(xiàn)對云臺和鏡頭的遠程控制[J];工程設(shè)計學報;2007年04期

3 吳興軍;胡漢春;;Java實現(xiàn)計算機與OMRON PLC串口通信[J];工業(yè)儀表與自動化裝置;2010年01期

4 丁振凡;王小明;吳小元;鄧建明;周斌;;客車電氣絕緣智能檢測系統(tǒng)工控機端設(shè)計[J];計算機測量與控制;2012年11期

【共引文獻】

相關(guān)期刊論文 前10條

1 曾顯光;陸穎瑜;張永林;;移動視頻監(jiān)控系統(tǒng)的設(shè)計[J];安防科技;2009年10期

2 邱占芝;申向春;;網(wǎng)絡(luò)化軌道衡稱重管理系統(tǒng)關(guān)鍵技術(shù)研究與實現(xiàn)[J];大連交通大學學報;2011年02期

3 邱占芝;于曉龍;;基于JAVA的汽車衡稱重管理系統(tǒng)關(guān)鍵技術(shù)[J];大連交通大學學報;2011年04期

4 李秉榮;劉夫云;程雄;王喬義;藍毓勝;馬永輝;;自動稱重系統(tǒng)的設(shè)計與實現(xiàn)[J];電子器件;2010年02期

5 唐未香;;Java程序與ZigBee串口通訊的實現(xiàn)[J];福建電腦;2010年05期

6 彭碧濤;羅海蛟;姜靈敏;;Java課程群的規(guī)劃與建設(shè)[J];福建電腦;2014年02期

7 薛李濱;潘瑜;;Android系統(tǒng)安全機能的剖析與增強[J];電腦與信息技術(shù);2014年01期

8 張明樂;呂斌斌;左武志;徐曉偉;陳e,

本文編號:2190601


資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/wltx/2190601.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶6edb2***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com