| Under the background of sanctions imposed by the United States on many universities and technology enterprises in China,the research and development and ecological construction of domestic operating systems are being promoted at a high speed to solve the "neck" problem of core computer technology.At the same time,operating systems are software with high requirements for quality attributes such as usability,performance and robustness,therefore,testing of operating systems is an essential and critical part of the development process to achieve its autonomous control,and it is of great practical significance and value to conduct relevant research.In the process of testing the numeral control real-time operating system Sylix OS,many problems of embedded operating system testing were exposed.For example,the OS test execution is limited by the machine interface,which cannot improve the test efficiency by executing test tasks in parallel;testers in different geographical locations cannot carry out the same project or the same test object in a joint debugging;test data aggregation takes a lot of time and effort of testers,etc.Therefore,from the practical problems found in the project,this paper combines the development status of commercial cloud testing platform and the results of related literature research,researches,analyzes and designs a cloud testing platform for embedded operating system,gives the corresponding prototype system implementation and carries out the corresponding test verification.The paper first analyzes the application scenarios of the cloud testing platform for embedded OS,and divides the cloud testing platform for embedded OS into several functional modules and subsystems from the perspective of users and business functions and support functions.On this basis,the design and implementation of the system under test deployment module,test implementation module,platform management module,test node scheduling subsystem and test case scheduling subsystem are discussed in detail.Finally,the deployment of the prototype system based on the virtual network is realized,and the tests and results are analyzed for the embedded operating systems such as Sylix OS deployed on the Quick Emulator(QEMU)virtual machine and Maix Py deployed on the K210 development board,respectively.The innovative work in this paper mainly includes.(1)A design scheme of an embedded OS cloud testing platform is studied and proposed,and a corresponding prototype system is implemented on this basis.The embedded OS cloud testing platform implements OS compilation and deployment,test case scheduling,test node scheduling,test result collection and analysis,and test machine management covering virtual machines and embedded physical machines.Then,the feasibility and effectiveness of the embedded OS cloud testing platform design plan and the prototype system in this paper are verified through the tests conducted on the prototype system by different embedded operating systems and hardware platforms.(2)The cloudization of embedded physical machine resources is realized.The embedded OS cloud testing platform can realize input and output control,usage authority allocation and OS deployment for the accessed embedded physical machines,so that the embedded physical machines can become test machine resources on the cloud testing platform to support the construction of test nodes and the execution of OS test tasks. |