Font Size: a A A

Research And Implementation On VTF-based Test Data Record And Playback Technology

Posted on:2016-12-10Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2348330536467380Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Virtual Test Framework(VTF)is a kind of distributed simulation test architecture.Test data record & playback based on VTF can provide data support for simulation data analysis and visualization.Because VTF application interfaces are generated according to VTL files,and record and playback tool(RPT)is a member of VTF application domain,RPT interfaces also need to be generated according to new VTL files.The structures and technologies of existing static RPTs are not suitable for VTF application systems.Therefore,making research on VTF-based test data record and playback technology is meaningful and useful to adapt to dynamic interfaces of VTF member,meet the demand of VTF data analysis and visualization,and perfect VTF tool architecture.To adapt to the feature that interfaces of VTF application are generated dynamically,based on existing RPTs and technologies,this paper made researches on architecture of VTF data record & playback system,dynamic generation of RPT,and save & restore technology for VTF objects.Main work and innovation include:(1)Interfaces of RPT need to be generated dynamically to connect different VTF application systems.Structures and technologies of existing static RPTs can't meet the demand.Therefore,the architecture of VTF data record and playback system based on dynamic generation was proposed.The architecture is made up of VTF RPT Generator(V-RPTG)and VTF RPT(V-RPT).By the way that V-RPT can be generated by V-RPTG according to VTL files and user input,the problem that RPT needs to adapt to VTF application interface s dynamically was solved.(2)Because VTF application interfaces are uncertain,V-RPT contains lots of uncertain structure code related to VTF application interfaces.But code template can only generate certain structure code.This paper proposed dynamic generation technology of V-RPT based on skeleton code.Skeleton code was used to describe common code of V-RPT;code generation engine was used to fill uncertain structure code in proper position of skeleton code to generate whole source code dynamically.Test results show that the proposed technology is correct and effective.(3)Saving and restoring simulation objects is the precondition of test record and playback.The Model Framework Code Layer generated by VTL files shields transmission details in the bottom and e ncapsulates VTF objects in static-link library.Existing saving and restoring technologies,such as using objects' transmission blocks in the bottom and doing serialization on simulation objects,are not suitable for VTF.To solve this problem,saving and restoring technology for VTF objects based on Data Processing Mirror C lass(DPMC)was proposed.Through building VTF object tree and applying Object Tree Mapping algorithm(O TM),the technology mapped VTF objects to DPMC which can be saved and restored,and solved saving and restoring problem of VTF Objects.Based on above researches,this paper designed and implemented VTF data record and playback system.Multiple experiments results show that the system can generate V-RPT correctly according to VTL files of different VTF applications.The generated V-RPT can record and playback test data of VTF application system correctly and meet the VTF test data record and playback demand.
Keywords/Search Tags:VTF, Record and Playback, Dynamic Generation, Data Processing Mirror Class, Save and Restore
PDF Full Text Request
Related items