The invention relates to a computer automatic constructing method of optical
network topology. The invention aims at the problems that the network planning pattern for constructing
network topology by means of manpower cannot effectively satisfy the needs, and the service network is hard to match with an optical
transmission network. The technical feature is as follows: initializing the
engineering; performing
route algorithm selection, network
type selection and setting regeneration section length, regeneration section hop count and target
utilization rate constraint condition, and then beginning
topology construction; judging whether the service has completely and successfully arranged to
route, if so, executing step four, otherwise, returning to step two, resetting the constraint condition according to a suggestive reason, re-performing the
topology construction until the service
route is completely and successfully arranged; judging whether the topology needs the further improvement according to the constructed
network topology, if so, continuing adjusting the network topology, and then executing step five, if the topology has been improved, directly executing the step five; and then deriving a planning result.