Font Size: a A A

Design And Implementation Of Trigger Box Software Based On Linux

Posted on:2018-03-05Degree:MasterType:Thesis
Country:ChinaCandidate:Z LiFull Text:PDF
GTID:2348330515951714Subject:Instrument Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of microprocessor technology,the technology of operating system is constantly changing.For the advantages of operating system in software development,the trigger box with operating system will be favored by manufacturers.Linux operating system appears early,the technology is mature and its application scope is wide,so it is very necessary to develop the trigger box based on Linux operating system.At the same time,with the development of Internet,support for mobile terminal controlling trigger box has become a necessity.Only in 2016 the global mobile phone shipments are more than 1 billion 470 million,Therefor the problem is how to avoid the different operating system platform to make the software be used normally.B/S communication based on HTML5 can be a good solution to this problem.This paper studies the design method of the trigger box based on Linux,and explains the design process of the trigger box software.from operating system to hardware control program,and service program to instrument driver/web page.This paper first analyzes the status quo and development significance,then according to the function of the instrument,focuses on the design and implementation of B/S communication,instrument driver software design,realization of crossing platform architecture,implementation of service program and the function test.The main research contents are as follows:1.Transplantation of Linux system and design of hardware control program.Through the steps of Bootloader transplantation,system kernel transplantation and hardware control program design,the whole operating system is constructed.Hardware control module is used to read and write I/O data.2 Service programming.Trigger box in the data transmission is not only to meet the RPC call but also uses the HTML5 WebSocket communication.According to the requirements of data transmission,achieve the WebSocket communication process and port mapping program transplant.On the Server side,we use C language to realize the response of WebSocket handshake protocol and analyze the frame of the received data,and send the data.3 Design and implementation of Web page software.Web page software needs to meet the requirements of crossing platform and browser,Therefore,using HTML5+JavaScript+CSS technology achieve the entire page Web software includes display page and control page,which allow users to operate trigger box and display the return data through the browser.4 The design of instrument driver program.The design and implementation of the corresponding driver function follows the IVI specification.In this paper,the design and implementation of the trigger box software is finished,and the function of the software is tested.
Keywords/Search Tags:B/S mode, WebSocket communication, LXI trigger box, HTML5, Linux
PDF Full Text Request
Related items