In the traditional multi-granularity switching system, the wavelength is the smallest exchange granularity, but the wavelength granularity is coarse, which is not suitable for small-scale integrated services.Therefore, the optical code packet granularity is introduced, and a three-layer multi-granularity optical cross-connect (MG-OXC) system is established based on optical code division multiplexing (OCDM).Subsequently, the Code Group Routing Entity (CGRE) technology was proposed, which not only improves the utilization of wavelengths, but also reduces the number of ports required for service transmission and reduces network operation costs.In this paper, based on the premise of CGRE technology, a code group routing table is established according to the PCEP general standard and a new code group routing allocation strategy is proposed.The new code group routing allocation strategy can make full use of optical code resources in the wavelength, improve network performance, and reduce network operation costs.
In the existing GMPLS-based distributed control switching network, each network node needs to bear the traffic pressure, not only to calculate the service transmission path, but also to be responsible for data forwarding. In software-defined networking (SDN), the control plane is decoupled from the forwarding plane, which simplifies the network structure and facilitates network maintenance and management. The multi-granularity network is combined with SDN, and the stateful PCE is used as a controller of the network control plane to implement soft control of the network and ensure that the information of the network traffic is controlled in real time. The standard PCEP protocol is extended to add optical code granularity and CGRE (Code Group Routing Entity) related messages, making it suitable for code group switching networks, thereby enabling network services to be transmitted more efficiently and intelligently.