Font Size: a A A

Research On Driver Upgrade Method Of Legacy System Based On WinUSB And Named Pipe

Posted on:2021-05-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y R HuFull Text:PDF
GTID:2428330626463635Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computers and technology,the updating speed of operating systems is gradually accelerating.while the updating speed of hardware equipment is slower.The original hardware driver does not adapt to the new operating system,the original software system is no longer applicable to the new operating system,so the software system becomes a legacy system.In the cooperative development of software and hardware,when the software cannot be applied to the new operating system,the user wants to use the original hardware equipment and software system in the new operating system.At this time,the traditional legacy system can no longer meet the new needs of the user.However,the original system contains a lot of domain knowledge and key information.If it is discarded and re-developed,it will consume a lot of manpower and material resources,causing a lot of waste of resources.It will be more expensive if users are re-purchased new equipment,and the shelving of old hardware equipment will cause waste.The best way is to redevelop the legacy system.How to shorten the development time,reduce the development cost,and enable the system to be released and put into use as soon as possible is a major problem facing the reengineering of legacy systems.Now it is necessary to modify few legacy codes on the basis of the original legacy system.without replacing hardware equipment,to meet the new needs of users,so that hardware equipment and software systems can run on the new operating system.This article studies and analyzes the problems encountered by users and the advantages and disadvantages of the solution.In the end,WinUSB and Named pipe technologies were used as middleware to replace the original driver to implement the transformation of legacy code,so that the software system and hardware equipment Successful communication.The work of this paper consists of the following parts:The first part is to analyze the legacy code of the high-resolution scanning electroluminescence micro-imaging system according to user needs,and analyze the reengineering solution of the legacy system.The second part selects the most reliable solution by designing multiple technical solutions and comparing multiple solutions,and the scalability of the solution should make the system more low-coupling and high cohesion.This article encapsulates the business logic of the legacy system.The original system can be released as quickly as possible without changing the original functions.The server and client sides are discussed separately.The performance and concurrency issues that may be encountered are analyzed.WinUSB and Named are finally proposed.Pipe technology is used as middleware to replace the original driver and achieve the transformation of legacy code.The third part describes the characteristics,design and implementation details of the WinUSB driver,as well as the characteristics of named pipes and the communication mechanism of named pipes,as well as the implementation details of named pipe servers.The fourth part consists of unit test and integration test for WinUSB and named pipe server respectively,and model the objective facts of the GUI test.The original experimental data and the experimental data obtained from the legacy system using WinUSB and named pipe server as the new driver By comparison,it is concluded that WinUSB and Named pipe technology are used as middleware to replace the original driver.It is effective to implement driver upgrade,reduce the coupling of the original system,and increase the sustainability of the legacy system.
Keywords/Search Tags:Legacy system, reengineering, code refactoring, driver development, upgrade
PDF Full Text Request
Related items