| With the continuous development of virtual simulation technology,electronic virtual simulation experiments play an increasingly important role in the teaching and research of electronic disciplines.In this context,the development of electronic virtual simulation experimental systems has not formed a unified norm and standards.The use of various technologies to develop an electronic virtual simulation experiment development framework with scalability and high reusability has become an important research content.This thesis aims to realize the research and design of integrated development framework for electronic virtual simulation experiments based on this research content.Firstly,based on the research background and the research status of the subject,this thesis expounds the basic concepts of the electronic virtual simulation experiment development framework,and then briefly introduces the theoretical background and key technologies involved in the subject,including Unity3 D engine,common design patterns,software framework design,message middleware technology,etc.Through the demand analysis and summary of the electronic virtual simulation experiment and based on the publish-subscribe communication model of message middleware,this thesis proposes a framework hierarchical architecture model in the overall design part of the framework.The model includes three levels: the base layer,the communication layer,and the application layer.The overall characteristics of the framework are modular,layering and scalability.For the most important base layer and communication layer in the framework,this thesis gives a detailed design and implementation description.Modular packaging of commonly used functions in electronic virtual simulation experiment development in the base layer,each sub-module maintains its own functional independence.Modular design will make the coupling between modules very low.The modification and expansion of the internal functions of one module will not affect other modules.This will ensure the continuous improvement of the module function and keep the overall architecture of the entire framework unchanged,which have effectively improved the stability of the entire framework.Based on the publish-subscribe communication model of the message middleware,the communication layer unifies and standardizes the communication protocols and communication rules between the modules.When designing the communication between the base layer modules in the framework,each module can perform indirect and reliable transmission of messages as long as the communication protocol of the communication layer is followed.The communication layer realizes decoupling between each module component of the base layer,and the modules store and forward messages through the communication layer without directly communicating,which not only avoids the design complexity brought by direct communication of each module,but also improves independence of each module,thereby provides the basis for the scalability of modules and the framework.Finally,based on the framework,this thesis develops an electronic virtual simulation experiment and tests the function of the virtual experiment to verify the feasibility and scalability of the framework. |