Design of Components and Analysis of Reuse Rate Based on Unit-components on Reconfigurable Routing and Switching Platform
The traditional development method of routing software has low efficiency and poor scalability.To implement the reconfigurability and reusability of routing and switching equipments using the software component technology is able to meet the needs of multi-network integration and business integration and is the direction of development of the Internet and the key technologies of the healthy development of routing and switching equipment manufacturing.In this article,the unit-components- components- group components model for the development of routing software was proposed.Through analysis of the codes of routing protocols,the design and implementation method of reusable unit-components and reusable components was presented and nine unit-components with high reusability were implemented.Furthermore,several routing protocols such as BGP、OSPF and RIP were implemented using the reusable unit-components and the code reuse rate increased by an average of 24.2% under the premise of guaranteeing the reliability and protocol conformance,which improved developing efficiency,reuse level and scalability of routing software.