Disclosed are a service resource analysis method, an electronic device and a storage medium. In the present application, the method comprises: determining each service model; selecting a port resource matching each service model from all port resources of a network; and where a first calculation result that there is a path resource in each service model is determined according to the port resource matching each service model and a routing constraint condition for each service model and a second calculation result that there is a wavelength resource, on the path resource, of the service model is determined according to a light transmission quality constraint condition for each service model, generating service resource information according to the first calculation result and the second calculation result, wherein the service resource information comprises the path resource in each service model and the wavelength resource on the path resource.
展开▼