The invention discloses a routing and spectrum
resource allocation method and a
system for resource awareness in an elastic
optical path network. The method comprises the following steps that when a request for communication service between an originating node and a destination node arrives, firstly whether the established idle optical paths in the current network can carry the communication service or not is judged, if so, the idle optical paths are directly used for communication, and if not, a PCE (
Path Computation Element) generates an auxiliary
list of candidate optical paths, wherein the auxiliary
list contains link hops of each candidate
optical path; a modulation method is determined according to the link hops and frequency slots required by the corresponding candidate
optical path for carrying the communication service are computed; the PCE selects a working path according to the required frequency slots and the available frequency slots for the optical path; frequency slot distribution is conducted in the working path to establish a new optical path; and communication is conducted between the originating node and the destination node. After the communication is completed, the new optical path is temporarily not removed, a
timer is started up and the steps are repeated within
fixed time to realize the resource awareness in the optical
path network and solve the problem of high
network service blocking rate caused by blockage of the shortest path.