计算机应用与软件2018,Vol.35Issue(2):248-255,8.DOI:10.3969/j.issn.1000-386x.2018.02.045
基于Boost.Asio的智能车载终端数据采集系统
INTELLIGENT VEHICLE TERMINAL DATA ACQUISITION SYSTEM BASED ON BOOST.ASIO
摘要
Abstract
With the development of car networking and big data technologies, the platform of vehicle management service platform has been decentralized and localized from traditional to centralized and flat.Platform-side resource consumption is growing.How to realize the high concurrency real-time data acquisition of the huge car terminal data is an urgent problem to be solved.To solve this problem,a solution based on Boost.Asio network communication library was proposed.The scheme achieved data acquisition and data analysis separately by separating front-end and back-end.The Boost.Asio's forearm model was used to achieve high concurrent data acquisition.It improved system scalability with Kafka Message Queuing.Combined with the thread pool and smart pointer technology, the traditional data acquisition system had been improved in terms of large amount of data and high occupancy of resources.Experimental results showed that the system had less memory occupation, stable connection and no data loss when there were a large number of connections,which ensured the quality and reliability of data acquisition.关键词
车联网/大数据采集/高并发/Boost.Asio/Kafka/终端接入Key words
Internet of vehicle/Big data acquisition/High concurrency/Boost.Asio/Kafka/Terminal access分类
信息技术与安全科学引用本文复制引用
刘静,吴仲城,李芳,张春风,陈杰..基于Boost.Asio的智能车载终端数据采集系统[J].计算机应用与软件,2018,35(2):248-255,8.基金项目
国家自然科学基金项目(61273323). (61273323)