Summary of the invention
Technical problem to be solved by this invention is: a kind of hierarchical routing inquiry method of ASON is provided, can solves the routing inquiry problem of setting up cross-domain connection, and have advantage fast.
In order to solve the problems of the technologies described above, the invention provides a kind of hierarchical routing inquiry method of ASON, may further comprise the steps:
(a) after the path control deivce RC of subdomain receives routing inquiry request,, finish route based on this node RDB and calculate, as calculate complete route, then return this route, finish to the requesting party according to the request call routing algorithm; As do not obtain complete route, and comprise the situation of calculating failure or only calculating the part route, routing inquiry request is forwarded to father field RC, carry the part route that calculates simultaneously;
(b) father field RC finishes route based on this node RDB and calculates, as calculate complete route according to the request call routing algorithm, returns this route by the RC that initiates request to the requesting party, finishes; As do not obtain complete route, and then this request being forwarded to other certain subdomain RC, father field RC should preserve the route between each subdomain that calculates and initiate the route of the subdomain of request this moment;
(c) the subdomain RC that receives routing inquiry request calls routing algorithm, finishes route based on this node RDB and calculates, and returns the routing inquiry result to father field RC, may be the part routing iinformation that calculates, or the information of inquiry failure;
(d) result that returns according to the described subdomain RC of step 4 of father field RC if can obtain or make up obtaining complete route, then returns this route by the RC that initiates request to the requesting party, finishes; As fail to obtain complete route, and preserve the part route of returning, carry out next step;
(e) father field RC judges whether to also have other subdomain RC not inquire about, if father field RC transmits this request to other certain subdomain RC again, and changes step (c) over to; If all subdomain RC inquire about, then return the routing inquiry failure information to the requesting party by the RC that initiates request, finish.
In order to solve the problems of the technologies described above, the present invention provides a kind of hierarchical routing inquiry method of ASON again, may further comprise the steps:
(A) after the path control deivce RC of subdomain receives routing inquiry request, call routing algorithm, finish route based on this node RDB and calculate, as calculate complete route, then return this route, finish to the requesting party; As do not obtain complete route, and comprise the situation of calculating failure or only calculating the part route, routing inquiry request is forwarded to father field RC, carry the part route that calculates simultaneously;
(B) father field RC finishes route based on this node RDB and calculates, as calculate complete route according to the request call routing algorithm, returns this route by the RC that initiates request to the requesting party, finishes; As do not obtain complete route, and then broadcasting this request to every other subdomain RC except that the subdomain RC that initiates request, father field RC also should preserve the route between each subdomain that calculates and initiate the route of the subdomain of request;
(C) the subdomain RC that receives routing inquiry request calls routing algorithm, finishes route based on this node RDB and calculates, and returns the routing inquiry result to father field RC, may be the part routing iinformation that calculates, or the information of inquiry failure;
(D) father field RC judges whether complete route or can make up to obtain complete route according to the routing inquiry result that the subdomain RC that receives returns, if, return this route by the RC that initiates request to the requesting party, finish; Otherwise, return failure information by the RC that initiates request to the requesting party, finish.
The present invention is based on the model of the level route that G.8080 ITU-T advise, mutual by the RC of different levels routed domain, finish the routing inquiry work that can't finish at this routed domain ASON network element, possess succinct, advantage reliably.As when certain RC can find the route of origin-to-destination, can accelerate the speed of routing inquiry.
Embodiment
The present invention proposes a kind of implementation strategy for the RC that solves ASON network element in the present single routed domain territory can't finish the routing inquiry function according to prior art.Core of the present invention is based on the level route matrix, and is mutual by the RC of relevant ASON network element in relevant father field and the subdomain, finishes the routing inquiry function.The present invention adopts human configuration or additive method at the RC of each routed domain, can obtain the territory, upper strata and (be called for short father field.Relative father field, other routed domain can abbreviate subdomain as) information of RC.In the time of need carrying out routing inquiry, local routed domain RC is according to the request call routing algorithm, and for example CSPF finishes route based on this node RDB and calculates.If calculate failure, then this RC transmits this request to territory, upper strata RC, finishes routing inquiry alternately by father field RC and other subdomains RC.
The present invention is described in further detail below in conjunction with drawings and Examples.
First embodiment
The interlayer method for searching route of present embodiment may further comprise the steps:
After the path control deivce RC of step 1, subdomain receives routing inquiry request, then change next step over to;
Step 2, described RC finish route based on this node RDB and calculate, as calculate complete route according to the request call routing algorithm, then return this route to requesting party (for example CC), finish; As do not obtain complete route, and comprise the situation of calculating failure or only calculating the part route, routing inquiry request is forwarded to father field RC, carry the part route that calculates simultaneously;
Step 3, father field RC finish route based on this node RDB and calculate, as calculate complete route according to the request call routing algorithm, return this route by the RC that initiates request to the requesting party, finish; As do not obtain complete route, and then this request being forwarded to other certain subdomain RC, father field RC should preserve the route between each subdomain that calculates and initiate the route of the subdomain of request this moment;
Step 4, receiving that the subdomain RC of routing inquiry request calls routing algorithm, finish route based on this node RDB and calculate, return the routing inquiry result to father field RC, may be the part routing iinformation that calculates, or the information of inquiry failure;
The result that step 5, father field RC return according to the described subdomain RC of step 4 if can obtain or make up obtaining complete route, then returns this route by the RC that initiates request to the requesting party, finishes; As fail to obtain complete route, and preserve the part route of returning, carry out next step;
Step 6, father field RC judges whether to also have other subdomain RC not inquire about, if father field RC transmits this request to other certain subdomain RC again, and changes step 4 over to; If all subdomain RC inquire about, then return the routing inquiry failure information to the requesting party by the RC that initiates request, finish.
Below in conjunction with Fig. 1, Fig. 2, Fig. 3, Fig. 4 and Fig. 7, to need the route shown in query graph 2 dotted lines is that example describes present embodiment, routed domain ASON network element A has only the information of routed domain 1, ASON network element B belongs to the network element of representing of routed domain 1, and (standard is commonly referred to as SPEAKER, represent subdomain and upper strata routed domain mutual, have the information of upper strata routed domain.All are represented network element and form the upper strata routed domain), ASON network element G belongs to the network element of representing of routed domain 2, and ASON network element I belongs to the network element of representing of routed domain 3, and ASON network element M belongs to the network element of representing of routed domain 4.
Specifically comprise the steps:
The RC of step 1, routed domain 1,2,3 and 4 each ASON network element detects routing inquiry request.The RC of the ASON network element A of routed domain 1 receives routing inquiry request, and starting point is A, and terminal point is K, changes next step over to;
The RC of step 2, A calls routing algorithm according to route requests, finishes route based on this node RDB and calculates.Because this node RDB information is incomplete, can not calculate complete route, RC is forwarded to the RC that father field RC is network element B with route requests, carries the route result of calculation of this subdomain, changes next step over to;
The RC of step 3, B finishes route based on this node RDB and calculates according to the request call routing algorithm.As calculate complete route, and then return the routing inquiry result to the RC of A, finish.Otherwise, this request is forwarded to the RC of the ASON network element G of routed domain 2, the RC of B should preserve the subdomain route that the RC of the route that calculates between each subdomain and A sends;
The RC of step 4, G calls routing algorithm according to the routing inquiry request that receives, and finishes route based on this node RDB and calculates, return the routing inquiry result to the RC of B, may calculate complete route, perhaps calculate the part route in this territory, perhaps calculate failure;
The RC of step 5, B obtains complete route according to the result that the RC of G returns if complete route maybe can make up, and then returns this result to the RC of A, finishes; Otherwise the RC to the ASON of routed domain 3 network element I transmits this request again, repeats similar step 4, five process.If all subdomains comprise that routed domain 2,3 and 4 all inquires about, still can not obtain complete route, then the RC of B returns the routing inquiry failure to the RC of A, finishes.
The route of successful inquiring as shown in Figure 7.
Second embodiment
Based on the first embodiment method, correlation step etc. is made part revise, form the hierarchical routing inquiry method of the second embodiment of the present invention, comprise the steps:
After the path control deivce RC of step 1, subdomain receives routing inquiry request, change next step over to;
Step 2, described RC finish route based on this node RDB and calculate, as calculate complete route according to the request call routing algorithm, then return this route to the requesting party, finish; As do not obtain complete route, and comprise the situation of calculating failure or only calculating the part route, routing inquiry request is forwarded to father field RC, carry the part route that calculates simultaneously;
Step 3, father field RC finish route based on this node RDB and calculate, as calculate complete route according to the request call routing algorithm, return this route by the RC that initiates request to the requesting party, finish; As do not obtain complete route, and then broadcasting this request to every other subdomain RC except that the subdomain RC that initiates request, father field RC also should preserve the route between each subdomain that calculates and initiate the route of the subdomain of request;
Step 4, receiving that the subdomain RC of routing inquiry request calls routing algorithm, finish route based on this node RDB and calculate, return the routing inquiry result to father field RC, may be the part routing iinformation that calculates, or the information of inquiry failure;
Step 5, father field RC judge whether complete route or can make up to obtain complete route according to the routing inquiry result that the subdomain RC that receives returns, if, return this route by the RC that initiates request to the requesting party, finish; Otherwise, return failure information by the RC that initiates request to the requesting party, finish.
Below in conjunction with Fig. 1, Fig. 2, Fig. 3, Fig. 5 and Fig. 7, be that example is done present embodiment and specified to need the route shown in query graph 2 dotted lines.The composition of network is identical with previous examples.
Specifically comprise the steps:
The RC of step 1, routed domain 1,2,3 and 4 each ASON network element detects routing inquiry request.The RC of the ASON network element A of routed domain 1 receives routing inquiry request, and starting point is A, and terminal point is K, changes next step over to;
The RC of step 2, A is according to route requests, call routing algorithm, finishing route based on this node RDB calculates, because this node RDB information is incomplete, can not calculate complete route, RC is forwarded to the RC that father field RC is network element B with route requests, carries the route result of calculation of this subdomain, changes next step over to;
The RC of step 3, B finishes route based on this node RDB and calculates according to the request call routing algorithm.As calculate complete route, and then return the routing inquiry result to the RC of A, finish.Otherwise, this request is broadcast to the RC of the ASON network element M of the RC of ASON network element I of RC, routed domain 3 of the ASON network element G of routed domain 2 and routed domain 4.The RC of B also should preserve the subdomain route that the RC of the route that calculates between each subdomain and A sends;
Step 4, the RC of the RC of the RC of the ASON network element G of routed domain 2, the ASON network element I of routed domain 3 and the ASON network element M of routed domain 4 returns the routing inquiry result to the RC of B, may be the part routing iinformation that calculates, or the information of inquiry failure;
The R of step 5, B receives the routing inquiry result of one or more subdomain RC feedback, maybe can make up as wherein complete route and obtain complete route, then this route is back to the RC of the request of initiation; Otherwise, return failure information to the RC of A, finish.
Compare with first embodiment, in the step 4 of present embodiment, the RC of father field adopts concurrent mechanism route requests to be sent simultaneously the RC of each subdomain.The route of successful inquiring as shown in Figure 7.
From top each embodiment analysis as can be known, the model of the level route that G.8080 the present invention advises based on ITU-T, mutual mutually by the RC of father field and each subdomain related network elements, finish route jointly, the inquiry work of especially cross-domain route possesses succinct, reliable advantage.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.