Font Size: a A A

Research Of The Sotfware Dynamic Evolution Method Based On NET Reflection Mechanism

Posted on:2013-04-30Degree:MasterType:Thesis
Country:ChinaCandidate:L DuanFull Text:PDF
GTID:2248330371985895Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software is a certain kind of reflection of our objective world which always keepschanging. Therefore, the problem domain of the software system is also changing anddeveloping in order to adapt to the changing demands of the outside world. So the softwareevolution is one of the most important properties of software. Nowadays, the open,interactivity and dynamics of the present network make more changing about the clients’demands and hardware resources, which leads the enhancement of software’s evolution andcomplexity especially the dynamic evolution. Therefore, under such circumstance, the study ofthe software’s dynamic evolution becomes a hot issue, which makes the study of its theory andmethod more practical and meaningful.The focus of the dynamic evolution system based on the reflection mechanism is theapproach which could construct dynamically expending evolutionary system by using thereflection mechanism. Therefore, the focus of this thesis is the realization of the dynamicchanging function of the system’s business logic without machine halting, by loading theassembly in the.NET, so that the software’s dynamic evolution is realized.In this thesis, the writer designs a software system which could dynamic evolveconstruction elements. During the design of the system, firstly, the using parts and therealization parts should be classified in order to achieve the effect that apartment of using andrealization. In this section, the key part is defining a public interface to construct the businesslogic in order to realize the business logic. Therefore, all the DLL (dynamic link library), that is,every constructive element should be realized according to certain interface to formindependent submodule which could load in the inter storage dynamically through main framewhen it is needed. When it isn’t needed, it also could be deleted dynamically from the interstorage. The main program module also could realize an interface of itself to visit its internalresources in order to realize the function of elements. Through this way, the main program andthe business logic could interact through interface without indirect visiting, which could reducethe coupling between codes and needn’t reprogramming the interlinking application program inorder to enhance the dynamic expanding of the program. Finally, this paper tests the software’sdynamic evolution under different conditions including dynamic deleting, adding elements,changing business logic and so on, and obtains expectant results, and verifies the feasibility of dynamic evolution based on the.NET reflection mechanism.
Keywords/Search Tags:Evolution, Dynamic Evolution, The Reflection Mechanism, Dynamic Loading, TheAssembly
PDF Full Text Request
Related items