| Today,with the rapid development of information technology,with the emergence of emerging technologies such as 5G and VR,the business volume of optical network transmission is increasing exponentially,and the requirements for data transmission rate and throughput of optical network are also increasing day by day.DWDM(Dense Wavelength Division Multiplexing)realizes the simultaneous transmission of signals of different wavelengths,greatly improving the transmission efficiency of optical networks.ROADM(Reconfigurable Optical Add-Drop Multiplexer)equipment,as the core equipment for the realization of DWDM technology,can realize the functions of adding and dropping at any wavelength and business management.The traditional ROADM system generally uses the REST API protocol in terms of software,which is based on the HTTP/1.1 protocol,which has certain limitations in transmission performance and high resource occupancy.gRPC is a high-performance,open-source RPC protocol researched and developed by Google.It is based on the HTTP/2 protocol,which can realize multiplexing,and uses Protobuf technology to serialize and deserialize data,with high compression rate.This thesis combines the advantages of the gRPC protocol and the characteristics of ROADM equipment,and introduces the idea of modular and layered design,designs and implements a set of RPC system for ROADM equipment,which effectively improves the transmission performance of ROADM equipment information and reduces the transmission response time.,Simplify the development process of the system,and reduce the coupling of the system.The main work of this thesis is as follows:(1)The design and implementation of the gRPC protocol architecture in the ROADM RPC system,including the design of the proto file,the design of the gRPC client,the gRPC server,and the design of the entire gRPC service startup,etc.,this step realizes the use of the gRPC protocol in the ROADM device to transfer.(2)Carried out the module design related to ROADM RPC system,including ROADM system startup module design,ROADM system command line interface design,APL(application layer)and HAL(hardware abstraction layer)design.The relevant modules required for the complete ROADM system are realized,and the information transmission and device control of the entire ROADM device are carried out in combination with the gRPC protocol.(3)The system test is carried out with ROADM equipment,including the feasibility test of the RPC system for ROADM equipment and the performance comparison test of different transmission protocols.The experimental results verify the effectiveness and applicability of the designed RPC system.At the same time,compared with the REST API transmission protocol,the ROADM RPC system can improve the serialization performance and reduce the system response time.It is of great significance to improve the performance of ROADM devices and DWDM systems and realize flexible networking. |