Font Size: a A A

The Design And Implementation Of High Concurrent Processing Data Platform For Electric Vehicles

Posted on:2019-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:X J ZhangFull Text:PDF
GTID:2322330569495535Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet of Things(IoT)technology,its application scope has also been expanding,gradually becoming a research and application hotspot in various fields.The application of the Internet of Things to electric vehicles can be said to bring a new technological revolution to electric vehicles.In this technological revolution,IoT technology has realized the interconnection of electric vehicle data and provided effective data for monitoring and management of electric vehicles.Firstly,the real-time data of the electric vehicle is acquired through the vehicle terminal,and then the real-time data is sent to the data processing platform through the network.After the real-time data received by the data processing platform,the real-time data is analyzed and utilized,so that the monitoring and management of the electric vehicle can be achieved.The investigation and research found that the current data processing platform for electric vehicles still has its shortcomings.On the one hand,the data processing platform lacks good high concurrency performance.With the continuous increase of vehicle terminal network requests,the platform's concurrent processing capacity still needs to be improved.On the one hand,the real-time performance of data processing platforms has not yet reached high real-time performance metrics,and data parsing speed needs to be improved.Therefore,it is very necessary to establish a data processing platform with high concurrency and high real-time performance.First of all,this paper analyzes the requirement of high concurrency data processing platform from two aspects of function and performance,and analyzes the design scheme.Then,the platform architecture is designed,and the functional modules are divided into vehicle registration,data transmission,data encoding and decoding,data analysis,log recording,data caching,and vehicle terminal management blocks according to the functional requirement analysis.Each module is designed and implemented.The Mina high concurrency framework is used to manage the network connection requests of the vehicle terminals,ensuring the high concurrency performance of the platform,using the heartbeat mechanism to detect the connection status,discarding unnecessary connections in time,and improving the utilization of platform resources.Design suitable data packet format and codec method to solve the problem of sticking and unpacking during network transmission and ensure the integrity and correctness of data receiving.The local method is invoked through the JNI native method interface to realize the accelerated parsing of the SSE instruction to parse the received real-time data of the electric vehicle,so as to ensure the correctness and high efficiency of the parsing of the platform data.The parsed data is sent to the electric vehicle monitoring system by writing to the kafka message system to improve the real-time performance of the vehicle monitoring system.The realization of the basic information management and message pushing functions of the vehicle-mounted terminal makes the communication between the vehicle-mounted terminal and the platform more convenient.Finally,functional tests and performance tests are performed on this platform to verify the correctness of each module and the high performance of the platform.
Keywords/Search Tags:high concurrency, data parsing, JNI, SSE instruction set, kafka
PDF Full Text Request
Related items