The invention belongs to the field of
quantum key distribution networks, and discloses a
quantum channel
wavelength allocation method adaptive to a tidal effect and a related device, and the method comprises the steps: predicting the classical traffic demand of a next time window through constructing a PON service
traffic model, and calculating the number of needed wavelengths; judging whether the requirement is met or not according to the current
wavelength distribution state: if not, preferentially recovering
wavelength resources of a low-frequency
quantum channel for classical
signal transmission, and if yes, preferentially distributing idle high-frequency wavelength to the quantum
signal, and meanwhile, completing
key distribution by using the
quantum channel to supplement a key
pool; and finally, updating the network load state to realize
loop optimization. By adopting the method, tidal flow fluctuation can be effectively adapted, resource competition in peak periods can be reduced, classic service congestion and
service quality reduction can be avoided, the channel
utilization rate in valley periods can be optimized, and efficient coordination of quantum secret communication and classic service transmission can be realized.