With the rapid development of automobile market and automobile electronic technology, the building of IVI(In-Vehicle Infotainment) has become the focus. HTML5 technology can speed up building IVI, reduce development cycles and save development cost. However, how to provide stable runtime platform for HTML5 automobile applications has become the problem must be solved to apply HTML5 to the field of automobile.The key to solve above problem is designing HTML5 runtime engine that is suitable for HTML5 automobile applications. Aiming at the existing problem of applying general runtime engine to IVI, this paper selects the open-source Chromium browser and studys it further. According to the real demand of In-Vehicle Infotainment, we analyzes the existing problems:Chromium can’t capture the information of user operations, especially for third party applications, can’t access automobiles’ special hardware devices.For the shortage of Chromium in information collecting, The architecture of Chromium, event mechanism of WebKit render engine and Chromium Inter-Process Communication system are deeply studied in this paper. Through adding the module of capturing information in WebKit, we capture the information of users’ operation. In regard to the problem of devices of automobile can’t be accessed,we study plug-ins technology and JavaScript extensions. Through encapsulating communication of serial port, control of voice and network, Bluetooth hands-free, providing corresponding interfaces in WebKit for JavaScript engine to call, and binding WebKit interfaces and JavaScript engine through binding mechanism, HTML5 runtime engine is extended to access hardware devices.Finally, information collecting and extension functions for HTML5 runtime engine are tested in this paper. The implements which had verified by analyzing results of test is valid. Meanwhile, the full work of this paper is summarized, and the next step is discussed. |