Font Size: a A A

Research On And Implementation Of Driving Transplantation Method For Touch Panel And Liquid Crystal Display

Posted on:2021-08-24Degree:MasterType:Thesis
Country:ChinaCandidate:W J GuoFull Text:PDF
GTID:2518306050984409Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of information society,the Android operating system with Linux as the core has gradually developed into the mainstream operating system in the world,and has led to the widespread use of touch screen and LCD.Usually,the device driver of touch screen is developed by the supplier based on specific products and platforms.However,with the promotion of the application scope,the touch screen driver begins to face the problem of repeated development of a variety of devices in different products and platforms,and the development involved in transplanting the touch screen device driver to the code branches of various products and platforms is more complex.The normal operation of LCD driver requires developers to manually configure a large number of platform,product and device related parameters.There is a lot of repetitive work in the configuration process.Once the touch screen and LCD need to add a function or add a device for the project,they need to spend a lot of manpower to transplant and test the code.Based on the above situation and combined with the needs of the project,this paper takes the touch screen and LCD driver as the starting point,studies how to design and implement the corresponding solutions for the touch screen and LCD driver respectively without affecting the reliability of the whole machine,and seals them into kit package,making the migration and debugging of the driver easier.Firstly,this paper analyzes the working level,driving structure and original transplantation scheme of touch screen and LCD,and then analyzes the problems of the original transplantation scheme in cross product and cross platform transplantation.In view of the existing problems,the paper proposes solutions for touch screen and LCD driver respectively.For touch screen,it is abstracted on the basis of its original driving architecture,encapsulated as a tpkit standardization platform and implemented.Including but not limited to the proposal of encapsulation scheme,overall process design,architecture design and the implementation of tpkit core logic layer and tpkit common module layer.For LCD,it is to design and implement the automatic file generation toolkit for the automatic generation of files needed by LCD driver.In addition,the device nodes for debugging and maintenance are added to the touch screen and LCD driver respectively,and the read-write operation of the device nodes is realized.Finally,the usability,stability and portability of the touch screen and LCD driving functions are tested,and the amount of code needed to be developed before and after packaging is counted and the test conclusion is given.After verification,the package scheme can quickly realize the cross platform,product and device transplantation,and the device can be used normally in different products and different platforms with good stability.All modules operate normally according to the design requirements and achieve the purpose of simplifying the drive transplantation and debugging.To sum up,this paper designs and implements different encapsulation schemes respectively for the problems existing in the original transplantation scheme of touch screen and LCD driver.The encapsulation scheme is insensitive to users,but it can effectively simplify the driver transplantation and debugging,reduce the workload of the driver developers,and improve the efficiency of the driver transplantation.After encapsulation,the kit package is programmed into the Android system kernel in the form of soft link,which will eventually achieve that the newly built driver can be developed under the framework,and gradually have the ability to drive the supplier’s interface standardization,which is conducive to the interface standardization,reduce the modification during driver migration,and make the driver development simpler.
Keywords/Search Tags:touch screen, display, driver, Android
PDF Full Text Request
Related items