| The application of 5G technology brings a new dawn to the Internet and communication industry,and people’s lives will enter a more intelligent era.At the same time,fast-growing data traffic and more intelligent user requirements have also brought more challenges to optical networks.In traditional networks,nodes have both the tasks of path calculation and service forwarding,and the network nodes are facing excessive pressure.Software-defined networking(SDN)architecture realizes the separation of the data plane and the control plane,the path calculation function is gathered to the control plane,and reduces the workload of network nodes.The SDN architecture manages the network in a centralized management manner and has open interfaces.At the same time,it becomes easier to control the network equipment and manage the network.Firstly,SDN technology and multi-granularity switching architecture are introduced.Incorporating multi-granularity switched optical networks into the SDN architecture and using Path Computation Element(PCE)as SDON controller,enables smoothly transition from software-defined networking to software-defined optical networking.Based on the diversification of service types and different traffic volumes,The four-layer multi-granularity switching structure and flexible bundling strategy based on optical code division multiplexing(OCDM)are studied.This structure improves the flexibility of granularity conversion in the network.Secondly,Multi-granularity routing and resource allocation algorithms are studied.Based on the introduction of Widest-Shortest Path(WSP)algorithm and Shortest Widest Path(SWP)algorithm,the study focuses on the learning routing selection strategy based on the WSP algorithm idea,which educe the pressure of network path calculation and save the time to calculate the path.Aiming at the problem of insufficient utilization of optical codes in wavelengths,the idea of service segmentation is adopted,the calculation strategy of switching paths down to the granularity of optical codes is studied.An optical code fragment minimization allocation(OCFMA)algorithm is proposed,which can improve the performance of the network.Finally,the number of ports based on OCDM-based four-layer switching structure and WBS-based three-layer switching structure are compared.At the same time,the throughput,packet loss rate and blocking rate of multi-granularity switching system using OCFMA algorithm are simulated and analyzed. |