安卓嵌入式車聯(lián)網(wǎng)終端系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-08-04 16:09
【摘要】:近年來(lái),物聯(lián)網(wǎng)技術(shù)不斷地被研究和發(fā)展,并逐漸滲透到各行各業(yè),帶動(dòng)相關(guān)產(chǎn)業(yè)不斷發(fā)展。物流產(chǎn)業(yè)作為國(guó)家交通運(yùn)輸產(chǎn)業(yè)結(jié)構(gòu)改革的重要一環(huán),具有重大的發(fā)展?jié)摿褪袌?chǎng)空間。隨著智慧物流概念的提出,為了實(shí)現(xiàn)對(duì)物流架構(gòu)的優(yōu)化調(diào)整,降低物流貨車的空載率,涌現(xiàn)出大量的優(yōu)化物流系統(tǒng)的車聯(lián)網(wǎng)終端系統(tǒng)。車聯(lián)網(wǎng)終端系統(tǒng)通過(guò)使用全球定位GPS技術(shù)對(duì)貨車地理位置信息采集,使用GPRS無(wú)線網(wǎng)絡(luò)技術(shù)傳輸數(shù)據(jù),并使用GIS技術(shù)實(shí)現(xiàn)貨車位置的定位。但是目前車聯(lián)網(wǎng)終端系統(tǒng)仍有許多不足:多數(shù)車聯(lián)網(wǎng)終端沒(méi)有使用智能操作系統(tǒng),采集數(shù)據(jù)僅僅采集GPS信息,車聯(lián)網(wǎng)終端的服務(wù)器并沒(méi)有高效得處理能力和響應(yīng)能力,車聯(lián)網(wǎng)終端系統(tǒng)往往只是實(shí)現(xiàn)單一的定位功能。因此,建立一套完整、高效的車聯(lián)網(wǎng)終端系統(tǒng),對(duì)提高物流產(chǎn)業(yè)的整體效率,提高企業(yè)的經(jīng)濟(jì)效益,以及推動(dòng)國(guó)家物流產(chǎn)業(yè)結(jié)構(gòu)的調(diào)整具有極其深遠(yuǎn)的意義。本文基于對(duì)電動(dòng)物流貨車以及物流行業(yè)的實(shí)際調(diào)研,以及對(duì)相關(guān)技術(shù)的研究和分析,設(shè)計(jì)了基于Android的嵌入式車聯(lián)網(wǎng)終端系統(tǒng)的整體框架結(jié)構(gòu)。著重對(duì)整個(gè)系統(tǒng)中的Android嵌入式車聯(lián)網(wǎng)終端和采集服務(wù)器進(jìn)行需求分析,并根據(jù)分析進(jìn)行設(shè)計(jì)和實(shí)現(xiàn)。在車聯(lián)網(wǎng)終端方面,設(shè)計(jì)了基于MCP2515芯片的CAN總線驅(qū)動(dòng),完成對(duì)J1939報(bào)文的解析與發(fā)送,設(shè)計(jì)了Android車聯(lián)網(wǎng)終端后臺(tái)服務(wù),車載APP的基礎(chǔ)功能并根據(jù)車聯(lián)網(wǎng)終端的運(yùn)行環(huán)境對(duì)Android系統(tǒng)啟動(dòng)優(yōu)化方面進(jìn)行詳細(xì)設(shè)計(jì)與實(shí)現(xiàn)。服務(wù)器方面,使用MINA架構(gòu)搭建高并發(fā)處理服務(wù)器,并制定有效的協(xié)議建立和維護(hù)車聯(lián)網(wǎng)終端和采集服務(wù)器之間的連接,同時(shí)針對(duì)服務(wù)器要處理的大量實(shí)時(shí)數(shù)據(jù),進(jìn)行異步處理,設(shè)計(jì)了通過(guò)JNI調(diào)用本地方法實(shí)現(xiàn)SSE并行指令加速方案,優(yōu)化服務(wù)器的響應(yīng)速度。最后,對(duì)整個(gè)系統(tǒng)的性能和功能進(jìn)行相關(guān)測(cè)試,驗(yàn)證各項(xiàng)功能正常運(yùn)作,完成了整個(gè)系統(tǒng)的可靠性驗(yàn)證。結(jié)果表明,Android車聯(lián)網(wǎng)終端系統(tǒng)可以準(zhǔn)確的為物流系統(tǒng)提供電動(dòng)物流貨車的實(shí)時(shí)數(shù)據(jù)信息,同時(shí)實(shí)時(shí)解析相關(guān)報(bào)文并發(fā)送到應(yīng)用服務(wù)器,為后續(xù)建立車載大數(shù)據(jù)奠定了基礎(chǔ)。
[Abstract]:In recent years, the Internet of things technology has been continuously studied and developed, and gradually penetrated into various industries, driving the continuous development of related industries. As an important part of the reform of national transportation industry structure, logistics industry has great development potential and market space. With the development of the concept of intelligent logistics, in order to optimize the logistics structure and reduce the no-load rate of freight cars, a large number of vehicle network terminal systems have emerged. The vehicle network terminal system collects the geographic position information of freight cars by using global positioning GPS technology, uses GPRS wireless network technology to transmit data, and uses GIS technology to realize the location of freight cars. However, there are still many shortcomings in the vehicle networking terminal system: most of the vehicle network terminals do not use the intelligent operating system, collect data only to collect GPS information, and the server of the vehicle network terminal does not have the ability to process and respond efficiently. Vehicle networking terminal system often only realizes a single positioning function. Therefore, it is of great significance to establish a complete and efficient vehicle network terminal system to improve the overall efficiency of logistics industry, improve the economic benefits of enterprises, and promote the adjustment of national logistics industry structure. Based on the actual investigation of electric logistics freight cars and logistics industry, as well as the research and analysis of related technologies, the whole frame structure of embedded vehicle networking terminal system based on Android is designed in this paper. The requirement analysis of Android embedded vehicle network terminal and acquisition server is emphasized, and the design and implementation are carried out according to the analysis. In the aspect of the vehicle network terminal, the CAN bus driver based on MCP2515 chip is designed, the J1939 message is analyzed and sent, and the background service of Android vehicle network terminal is designed. The basic function of on-board APP and the detailed design and implementation of Android system startup optimization according to the running environment of the vehicle network terminal. On the server side, the high concurrency processing server is built with MINA architecture, and an effective protocol is established to establish and maintain the connection between the vehicle network terminal and the acquisition server. At the same time, aiming at a large number of real-time data to be processed by the server, the server processes asynchronously. In order to optimize the response speed of the server, the SSE parallel instruction acceleration scheme is designed by calling the local method by JNI. Finally, the performance and function of the whole system are tested to verify the normal operation of the functions, and the reliability of the whole system is verified. The results show that the big data terminal system can accurately provide the real-time data information of the electric logistics truck for the logistics system, and at the same time, analyze the relevant messages and send them to the application server, which lays the foundation for the subsequent establishment of the on-board big data.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:U495;TP391.44;TN929.5
[Abstract]:In recent years, the Internet of things technology has been continuously studied and developed, and gradually penetrated into various industries, driving the continuous development of related industries. As an important part of the reform of national transportation industry structure, logistics industry has great development potential and market space. With the development of the concept of intelligent logistics, in order to optimize the logistics structure and reduce the no-load rate of freight cars, a large number of vehicle network terminal systems have emerged. The vehicle network terminal system collects the geographic position information of freight cars by using global positioning GPS technology, uses GPRS wireless network technology to transmit data, and uses GIS technology to realize the location of freight cars. However, there are still many shortcomings in the vehicle networking terminal system: most of the vehicle network terminals do not use the intelligent operating system, collect data only to collect GPS information, and the server of the vehicle network terminal does not have the ability to process and respond efficiently. Vehicle networking terminal system often only realizes a single positioning function. Therefore, it is of great significance to establish a complete and efficient vehicle network terminal system to improve the overall efficiency of logistics industry, improve the economic benefits of enterprises, and promote the adjustment of national logistics industry structure. Based on the actual investigation of electric logistics freight cars and logistics industry, as well as the research and analysis of related technologies, the whole frame structure of embedded vehicle networking terminal system based on Android is designed in this paper. The requirement analysis of Android embedded vehicle network terminal and acquisition server is emphasized, and the design and implementation are carried out according to the analysis. In the aspect of the vehicle network terminal, the CAN bus driver based on MCP2515 chip is designed, the J1939 message is analyzed and sent, and the background service of Android vehicle network terminal is designed. The basic function of on-board APP and the detailed design and implementation of Android system startup optimization according to the running environment of the vehicle network terminal. On the server side, the high concurrency processing server is built with MINA architecture, and an effective protocol is established to establish and maintain the connection between the vehicle network terminal and the acquisition server. At the same time, aiming at a large number of real-time data to be processed by the server, the server processes asynchronously. In order to optimize the response speed of the server, the SSE parallel instruction acceleration scheme is designed by calling the local method by JNI. Finally, the performance and function of the whole system are tested to verify the normal operation of the functions, and the reliability of the whole system is verified. The results show that the big data terminal system can accurately provide the real-time data information of the electric logistics truck for the logistics system, and at the same time, analyze the relevant messages and send them to the application server, which lays the foundation for the subsequent establishment of the on-board big data.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:U495;TP391.44;TN929.5
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 王巖;王純;;一種基于Kafka的可靠的Consumer的設(shè)計(jì)方案[J];軟件;2016年01期
2 丁雪靜;許永輝;;基于MCP2515的CAN總線通信單元設(shè)計(jì)[J];現(xiàn)代電子技術(shù);2015年21期
3 韓月霞;李雄偉;張陽(yáng);盧宏峰;;基于物聯(lián)網(wǎng)的物流車載終端系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)[J];傳感器與微系統(tǒng);2015年05期
4 林文輝;許彬彬;;基于μC/OS-Ⅱ的SAE J1939協(xié)議通信技術(shù)[J];傳感器世界;2015年03期
5 韓銳;宋繼華;孫丹;喬瑞中;;物流服務(wù)模式及運(yùn)營(yíng)策略研究[J];中國(guó)商貿(mào);2014年36期
6 劉一君;劉子s,
本文編號(hào):2164408
本文鏈接:http://sikaile.net/kejilunwen/xinxigongchenglunwen/2164408.html
最近更新
教材專著