Summary of the invention
Main purpose of the present invention is for providing optical transport business method for configuring route and the device of a kind of effective raising allocative efficiency and accuracy.
The present invention proposes a kind of optical transport business method for configuring route, comprises step:
When business route instruction arrives, in the i-th operation layer, obtain initial input end mouth; Described initial input end mouth is port corresponding to the initial address that comprises in described business route instruction, and described i-th operation layer is the operation layer at port place corresponding to described initial address;
Record by described initial input end mouth arrive the i-th operation layer output port line passing, arrived by described i-th operation layer output port the i-th+1 operation layer input port optical fibre channel and arrive the line passing of the i-th+1 operation layer output port by described i-th+1 operation layer input port address;
When the i-th+1 operation layer output port is port corresponding to destination address that described business route instruction comprises, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route;
According to described business route, configuring service path.
Preferably, described record by described initial input end mouth arrive the i-th operation layer output port line passing, by described i-th operation layer output port arrive the i-th+1 operation layer input port optical fibre channel and by described i-th+1 operation layer input port address arrive the i-th+1 operation layer output port line passing step before also comprise:
The i-th operation layer output port with described initial input end mouth adaptation is obtained in the i-th operation layer;
The i-th+1 operation layer input port with described i-th operation layer output port adaptation is obtained in the i-th+1 operation layer;
The i-th+1 operation layer output port with described i-th+1 operation layer input port adaptation is obtained in the i-th+1 operation layer.
Preferably, described record by described initial input end mouth arrive the i-th operation layer output port line passing, by described i-th operation layer output port arrive the i-th+1 operation layer input port optical fibre channel and by described i-th+1 operation layer input port address arrive the i-th+1 operation layer output port line passing step after also comprise:
When the i-th+1 operation layer output port is not port corresponding to destination address that described business route instruction comprises, records and arrive the optical fibre channel of the i-th+2 operation layer input port by described i-th+1 operation layer output port and arrived the line passing of the i-th+2 operation layer output port by described i-th+2 operation layer input port address;
The rest may be inferred, until the port that the destination address finding described business route instruction to comprise is corresponding, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route.
Preferably, described according to described business route, also comprise before the step of configuring service path:
When described business route is the different business route of many length, select the business route that length is the shortest;
When described business route is the identical business route of many length, a selected and sorted business route foremost.
Preferably, described when business route instruction arrives, also comprised obtain the step of initial input end mouth in the i-th operation layer before:
When address distribution instruction arrives, it is all of the port allocation address in each operation layer; One_to_one corresponding between described port and address.
The present invention also proposes a kind of optical transport business routing configuration device, comprising:
Business module, for when business route instruction arrives, obtains initial input end mouth in the i-th operation layer; Described initial input end mouth is port corresponding to the initial address that comprises in described business route instruction, and described i-th operation layer is the operation layer at port place corresponding to described initial address;
Monitoring module, for record by described initial input end mouth arrive the i-th operation layer output port line passing, arrived by described i-th operation layer output port the i-th+1 operation layer input port optical fibre channel and arrive the line passing of the i-th+1 operation layer output port by described i-th+1 operation layer input port address;
Described monitoring module also for, when the i-th+1 operation layer output port is port corresponding to destination address that described business route instruction comprises, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route;
Configuration module, for according to described business route, configuring service path.
Preferably, described business module also for:
The i-th operation layer output port with described initial input end mouth adaptation is obtained in the i-th operation layer;
The i-th+1 operation layer input port with described i-th operation layer output port adaptation is obtained in the i-th+1 operation layer;
The i-th+1 operation layer output port with described i-th+1 operation layer input port adaptation is obtained in the i-th+1 operation layer.
Preferably, described monitoring module also for:
When the i-th+1 operation layer output port is not port corresponding to destination address that described business route instruction comprises, records and arrive the optical fibre channel of the i-th+2 operation layer input port by described i-th+1 operation layer output port and arrived the line passing of the i-th+2 operation layer output port by described i-th+2 operation layer input port address;
The rest may be inferred, until the port that the destination address finding described business route instruction to comprise is corresponding, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route.
Preferably, described monitoring module also for:
When described business route is the different business route of many length, select the business route that length is the shortest;
When described business route is the identical business route of many length, a selected and sorted business route foremost.
Preferably, described optical transport business routing configuration device, also comprises administration module, for when address distribution instruction arrives, is all of the port allocation address in each operation layer; One_to_one corresponding between described port and address.
The business route that the present invention generates automatically according to business route instruction, and carry out service channel automatically configure according to the business route generated, avoids poor efficiency and high error rate that manual configuration brings, effectively improves efficiency and the accuracy of configuration.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the flow chart of the first embodiment of optical transport business method for configuring route of the present invention.The optical transport business method for configuring route that the present embodiment is mentioned, comprising:
Step S10, when business route instruction arrives, obtains initial input end mouth in the i-th operation layer;
In the present embodiment, comprise initial address and destination address in business route instruction, initial input end mouth is port corresponding to the initial address that comprises in business route instruction, and the i-th operation layer is the operation layer at port place corresponding to initial address.For following parameters, composition graphs 9(a) be described: initial address is IN2, destination address is OUT4, and the business route instruction of arrival is " the business route that configuration IN2 to OUT4, Optical Channel Data Unit-k (Optical Channel Data Unit, ODU) granularity are ODU2 ".Then in the i-th operation layer, find port IN2.
Step S21, records the line passing being arrived the i-th operation layer output port by initial input end mouth;
Please with reference to Fig. 9 (a), in the i-th operation layer, obtain the line passing between the output port that can arrive with granularity ODU2, input port IN2, comprise the line passing C21(IN2 → OUT1 of input port IN2 to output port OUT1), the line passing C22(IN2 → OUT2 of input port IN2 to output port OUT2).Meanwhile, the i-th operation layer sends address information to the i-th+1 operation layer, and address information comprises address information and the business route instruction of output port OUT1 and output port OUT2.In order to find route, can transmit address informations by 64 SM-TTI bytes of standard OTN frame, 0 to 15 byte is loaded address and is transmitted identifier " ROUTER ", represents that what transmit in this information is address information; 16 to 31 bytes load this system-wide by source address, i.e. the address information of the i-th operation layer output port OUT1 and output port OUT2; 32 to 47 bytes load this system-wide by destination address, the destination address OUT4 namely in business route instruction, 48 to 63 bytes load the initial address of this route, the initial address IN2 namely in business route instruction.
Step S22, records the optical fibre channel being arrived the i-th+1 operation layer input port by the i-th operation layer output port;
Between the i-th operation layer and the i-th+1 operation layer, obtain the optical fibre channel between input port that output port OUT1 can arrive, comprise the optical fibre channel L13(OUT1 → IN3 of output port OUT1 to input port IN3).
Step S23, records the line passing being arrived the i-th+1 operation layer output port by the i-th+1 operation layer input port address;
In the i-th+1 operation layer, obtain the line passing between the output port that can arrive with granularity ODU2, input port IN3, comprise the line passing C33(IN3 → OUT3 of input port IN3 to output port OUT3), the line passing C34(IN3 → OUT4 of input port IN3 to output port OUT4).
Step S30, when the i-th+1 operation layer output port is port corresponding to destination address that business route instruction comprises, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route;
Inquire about in above-mentioned each line passing and optical fibre channel, the port targetedly whether location OUT4 is corresponding, output port OUT4 corresponding to destination address OUT4 is included when finding in the i-th+1 operation layer, then record traffic route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), namely business route R is the business route meeting business route instruction.
Step S40, according to business route, configuring service path.
According to business route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), configuration IN2 arrives the line passing of OUT1, the line passing of IN3 arrival OUT4.Because optical fibre channel is normally unique, only line passing need be configured herein.After finishing service via configuration, can when needs transmission data, the service channel according to configuration connects, and completes transfer of data.
The business route that the present embodiment generates automatically according to business route instruction, and carry out service channel automatically configure according to the business route generated, avoids poor efficiency and high error rate that manual configuration brings, effectively improves efficiency and the accuracy of configuration.
As shown in Figure 2, Fig. 2 is the flow chart of the second embodiment of optical transport business method for configuring route of the present invention.The present embodiment based on embodiment illustrated in fig. 1, wherein:
Also comprised before step S21:
Step S51, obtains the i-th operation layer output port with initial input end mouth adaptation in the i-th operation layer;
Also comprised before step S22:
Step S52, obtains the i-th+1 operation layer input port with the i-th operation layer output port adaptation in the i-th+1 operation layer;
Also comprised before step S23:
Step S53, obtains the i-th+1 operation layer output port with the i-th+1 operation layer input port adaptation in the i-th+1 operation layer.
In the present embodiment, in general, optical fibre channel L is unique, and line passing C may not be unique.Namely, between two operation layers, an output port of previous operation layer is uniquely corresponding with an input port of a rear operation layer; And in same operation layer, an output port can be corresponding with multiple input port.With it adaptive next port can being inquired according to a upper port, when finding adaptive port, the address of port and the line passing of correspondence and optical fibre channel can be obtained.The line passing adopting this mode to obtain and optical fibre channel, and then the business of acquisition route, structure is simple, easily realizes, and fast response time, effectively ensure that the correctness of the line passing of acquisition, optical fibre channel and business route.
As shown in Figure 3, Fig. 3 is the flow chart of the 3rd embodiment of optical transport business method for configuring route of the present invention.The present embodiment based on embodiment illustrated in fig. 1, also comprises after step S23:
Step S61, judges that whether the i-th+1 operation layer output port is port corresponding to destination address that business route instruction comprises; If so, then step S30 is performed; If not, then step S62 is performed;
Step S62, records and arrives the optical fibre channel of the i-th+2 operation layer input port and the line passing by i-th+2 operation layer input port address arrival the i-th+2 operation layer output port by the i-th+1 operation layer output port;
Step S63, makes i=i+1, returns step S61.
The present embodiment is please also refer to Fig. 9 (b), take initial address as IN2, destination address is OUT6, the business route instruction arrived is " configuration IN2 to OUT6, Optical Channel Data Unit-k (OpticalChannel Data Unit, ODU) granularity is the business route of ODU2 " be example, line passing C21(IN2 → OUT1 is obtained in the i-th operation layer) and C22(IN2 → OUT2), optical fibre channel L13(OUT1 → IN3 is obtained) between the i-th operation layer and the i-th+1 operation layer, line passing C33(IN3 → OUT3 is obtained in the i-th+1 operation layer) and C34(IN3 → OUT4).But, the port that destination address OUT6 is corresponding is not all had in above-mentioned each line passing and optical fibre channel, then search in the i-th+2 operation layer, optical fibre channel L35(OUT3 → IN5 is obtained between the i-th+1 operation layer and the i-th+2 operation layer), in the i-th+2 operation layer, obtain line passing C55(IN5 → OUT5) and C56(IN5 → OUT6).Now, output port OUT6 corresponding to destination address OUT6 is included when finding in the i-th+2 operation layer, then record traffic route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C33(IN3 → OUT3) L35(OUT3 → IN5) C56(IN5 → OUT6), and according to the business routing configuration service channel obtained.If now still do not find the output port that destination address OUT6 is corresponding, then continue the lower one deck of inquiry, the rest may be inferred, until the port that the destination address that comprises of the business route instruction of finding is corresponding, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route, carry out business configuration.The business route that the present embodiment generates automatically according to business route instruction, progressive, structure is simple, further increases efficiency and the accuracy of configuration.
As shown in Figure 4, Fig. 4 is the flow chart of the 4th embodiment of optical transport business method for configuring route of the present invention.The present embodiment based on embodiment illustrated in fig. 1, also comprised before step S40:
Step S71, when business route is the different business route of many length, selects the business route that length is the shortest;
The present embodiment is please also refer to Fig. 9 (c), take initial address as IN2, destination address is OUT6, the business route instruction arrived is " the business route that configuration IN2 to OUT6, Optical Channel Data Unit-k (OpticalChannel Data Unit; ODU) granularity are ODU2 " is example, obtains line passing C21(IN2 → OUT1 in the i-th operation layer) and C22(IN2 → OUT2); Optical fibre channel L13(OUT1 → IN3 is obtained between the i-th operation layer and the i-th+1 operation layer), in the i-th+1 operation layer, obtain line passing C33(IN3 → OUT3) and C34(IN3 → OUT4); Optical fibre channel L35(OUT3 → IN5 is obtained between the i-th+1 operation layer and the i-th+2 operation layer), in the i-th+2 operation layer, obtain line passing C55(IN5 → OUT5) and C56(IN5 → OUT6); Meanwhile, between the i-th operation layer and the i-th+2 operation layer, obtain optical fibre channel L26(OUT2 → IN6), in the i-th+2 operation layer, obtain line passing C65(IN6 → OUT5) and C66(IN6 → OUT6).Now, the output port OUT6 that destination address OUT6 is corresponding is included in i-th+2 operation layer, the business route meeting business route instruction has two, Article 1, business route R1=C21(IN2 → OUT1) L13(OUT1 → IN3) C33(IN3 → OUT3) L35(OUT3 → IN5) C56(IN5 → OUT6), Article 2 business route R2=C22(IN2 → OUT2) L26(OUT2 → IN6) C66(IN6 → OUT6), now, Article 1, the length of business route R1 is greater than the length of Article 2 business route R2, in order to save resource allocation, improve allocative efficiency, the business route that length is the shortest should be selected, namely business configuration is carried out according to Article 2 business route R2.
As shown in Figure 5, Fig. 5 is the flow chart of the 5th embodiment of optical transport business method for configuring route of the present invention.The present embodiment based on embodiment illustrated in fig. 1, also comprised before step S40:
Step S72, when business route is the identical business route of many length, a selected and sorted business route foremost.
The present embodiment is please also refer to Fig. 9 (d), take initial address as IN2, destination address is OUT4, the business route instruction arrived is " the business route that configuration IN2 to OUT4, Optical Channel Data Unit-k (OpticalChannel Data Unit; ODU) granularity are ODU2 " is example, obtains line passing C21(IN2 → OUT1 in the i-th operation layer) and C22(IN2 → OUT2); Optical fibre channel L13(OUT1 → IN3 is obtained between the i-th operation layer and the i-th+1 operation layer) and L24(OUT2 → IN4); In the i-th+1 operation layer, obtain line passing C33(IN3 → OUT3), C34(IN3 → OUT4), C43(IN4 → OUT3), C44(IN4 → OUT4).Now, the output port OUT4 that destination address OUT4 is corresponding is included in i-th+1 operation layer, the business route meeting business route instruction has two, Article 1, business route R1=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), Article 2 business route R2=C21(IN2 → OUT1) L24(OUT2 → IN4) C44(IN4 → OUT4), now, Article 1, the length of business route R1 is identical with the length of Article 2 business route R2, can select arbitrarily business route, in order to save system service program, further raising allocative efficiency, can the preceding business route of selected and sorted, namely business configuration is carried out according to Article 1 business route R1.
As shown in Figure 6, Fig. 6 is the flow chart of the 6th embodiment of optical transport business method for configuring route of the present invention.The present embodiment based on embodiment illustrated in fig. 1, also comprised before step S10:
Step S80, when address distribution instruction arrives, is all of the port allocation address in each operation layer; One_to_one corresponding between port and address.
In the present embodiment, the address of each port is the unique identification of port, address and port one_to_one corresponding, was assigned, record and belong to address information corresponding to this operation layer physical port in each operation layer before route starts.Therefore, when finding adaptive port, the address of port can be obtained.The present embodiment is each port assignment unique address in each layer service layer, as long as assign the address of the both port of origination needing to carry out optical transport and end port in business route instruction, i.e. initial address and destination address, after Fiber connection, Automatic inquirying and business configuration can be carried out, avoid poor efficiency and high error rate that manual configuration brings, effectively improve efficiency and the accuracy of configuration.
As shown in Figure 7, Fig. 7 is the structural representation of the first embodiment of optical transport business routing configuration device of the present invention.The optical transport business routing configuration device that the present embodiment is mentioned, comprising:
Business module 10, for when business route instruction arrives, obtains initial input end mouth in the i-th operation layer; Initial input end mouth is port corresponding to the initial address that comprises in business route instruction, and the i-th operation layer is the operation layer at port place corresponding to initial address;
Monitoring module 20, for record by initial input end mouth arrive the i-th operation layer output port line passing, arrived by the i-th operation layer output port the i-th+1 operation layer input port optical fibre channel and arrive the line passing of the i-th+1 operation layer output port by the i-th+1 operation layer input port address;
Monitoring module 20 also for, when the i-th+1 operation layer output port is port corresponding to destination address that business route instruction comprises, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route;
Configuration module 30, for according to business route, configuring service path.
In the present embodiment, comprise initial address and destination address in business route instruction, initial input end mouth is port corresponding to the initial address that comprises in business route instruction, and the i-th operation layer is the operation layer at port place corresponding to initial address.For following parameters, composition graphs 9(a) be described: initial address is IN2, destination address is OUT4, and the business route instruction of arrival is " the business route that configuration IN2 to OUT4, Optical Channel Data Unit-k (Optical Channel Data Unit, ODU) granularity are ODU2 ".Then in the i-th operation layer, find port IN2.Please with reference to Fig. 9 (a), in the i-th operation layer, obtain the line passing between the output port that can arrive with granularity ODU2, input port IN2, comprise the line passing C21(IN2 → OUT1 of input port IN2 to output port OUT1), the line passing C22(IN2 → OUT2 of input port IN2 to output port OUT2).Meanwhile, the i-th operation layer sends address information to the i-th+1 operation layer, and address information comprises address information and the business route instruction of output port OUT1 and output port OUT2.In order to find route, can transmit address informations by 64 SM-TTI bytes of standard OTN frame, 0 to 15 byte is loaded address and is transmitted identifier " ROUTER ", represents that what transmit in this information is address information; 16 to 31 bytes load this system-wide by source address, i.e. the address information of the i-th operation layer output port OUT1 and output port OUT2; 32 to 47 bytes load this system-wide by destination address, the destination address OUT4 namely in business route instruction, 48 to 63 bytes load the initial address of this route, the initial address IN2 namely in business route instruction.Between the i-th operation layer and the i-th+1 operation layer, obtain the optical fibre channel between input port that output port OUT1 can arrive, comprise the optical fibre channel L13(OUT1 → IN3 of output port OUT1 to input port IN3).In the i-th+1 operation layer, obtain the line passing between the output port that can arrive with granularity ODU2, input port IN3, comprise the line passing C33(IN3 → OUT3 of input port IN3 to output port OUT3), the line passing C34(IN3 → OUT4 of input port IN3 to output port OUT4).Inquire about in above-mentioned each line passing and optical fibre channel, the port targetedly whether location OUT4 is corresponding, output port OUT4 corresponding to destination address OUT4 is included when finding in the i-th+1 operation layer, then record traffic route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), namely business route R is the business route meeting business route instruction.According to business route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), configuration IN2 arrives the line passing of OUT1, the line passing of IN3 arrival OUT4.Because optical fibre channel is normally unique, only line passing need be configured herein.After finishing service via configuration, can when needs transmission data, the service channel according to configuration connects, and completes transfer of data.The business route that the present embodiment generates automatically according to business route instruction, and carry out service channel automatically configure according to the business route generated, avoids poor efficiency and high error rate that manual configuration brings, effectively improves efficiency and the accuracy of configuration.
Business module 10 also for:
The i-th operation layer output port with initial input end mouth adaptation is obtained in the i-th operation layer;
The i-th+1 operation layer input port with the i-th operation layer output port adaptation is obtained in the i-th+1 operation layer;
The i-th+1 operation layer output port with the i-th+1 operation layer input port adaptation is obtained in the i-th+1 operation layer.
In the present embodiment, in general, optical fibre channel L is unique, and line passing C may not be unique.Namely, between two operation layers, an output port of previous operation layer is uniquely corresponding with an input port of a rear operation layer; And in same operation layer, an output port can be corresponding with multiple input port.With it adaptive next port can being inquired according to a upper port, when finding adaptive port, the address of port and the line passing of correspondence and optical fibre channel can be obtained.The line passing adopting this mode to obtain and optical fibre channel, and then the business of acquisition route, structure is simple, easily realizes, and fast response time, effectively ensure that the correctness of the line passing of acquisition, optical fibre channel and business route.
Monitoring module 20 also for:
When the i-th+1 operation layer output port is not port corresponding to destination address that business route instruction comprises, records and arrive the optical fibre channel of the i-th+2 operation layer input port by the i-th+1 operation layer output port and arrived the line passing of the i-th+2 operation layer output port by the i-th+2 operation layer input port address;
The rest may be inferred, until the port that the destination address that comprises of the business route instruction of finding is corresponding, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route.
The present embodiment is please also refer to Fig. 9 (b), take initial address as IN2, destination address is OUT6, the business route instruction arrived is " configuration IN2 to OUT6, Optical Channel Data Unit-k (OpticalChannel Data Unit, ODU) granularity is the business route of ODU2 " be example, line passing C21(IN2 → OUT1 is obtained in the i-th operation layer) and C22(IN2 → OUT2), optical fibre channel L13(OUT1 → IN3 is obtained) between the i-th operation layer and the i-th+1 operation layer, line passing C33(IN3 → OUT3 is obtained in the i-th+1 operation layer) and C34(IN3 → OUT4).But, the port that destination address OUT6 is corresponding is not all had in above-mentioned each line passing and optical fibre channel, then search in the i-th+2 operation layer, optical fibre channel L35(OUT3 → IN5 is obtained between the i-th+1 operation layer and the i-th+2 operation layer), in the i-th+2 operation layer, obtain line passing C55(IN5 → OUT5) and C56(IN5 → OUT6).Now, output port OUT6 corresponding to destination address OUT6 is included when finding in the i-th+2 operation layer, then record traffic route R=C21(IN2 → OUT1) L13(OUT1 → IN3) C33(IN3 → OUT3) L35(OUT3 → IN5) C56(IN5 → OUT6), and according to the business routing configuration service channel obtained.If now still do not find the output port that destination address OUT6 is corresponding, then continue the lower one deck of inquiry, the rest may be inferred, until the port that the destination address that comprises of the business route instruction of finding is corresponding, by record arrive all line passings of destination address by initial address and optical fibre channel is combined as business route, carry out business configuration.The business route that the present embodiment generates automatically according to business route instruction, progressive, structure is simple, further increases efficiency and the accuracy of configuration.
Monitoring module 20 also for:
When business route is the different business route of many length, select the business route that length is the shortest.
The present embodiment is please also refer to Fig. 9 (c), take initial address as IN2, destination address is OUT6, the business route instruction arrived is " the business route that configuration IN2 to OUT6, Optical Channel Data Unit-k (OpticalChannel Data Unit; ODU) granularity are ODU2 " is example, obtains line passing C21(IN2 → OUT1 in the i-th operation layer) and C22(IN2 → OUT2); Optical fibre channel L13(OUT1 → IN3 is obtained between the i-th operation layer and the i-th+1 operation layer), in the i-th+1 operation layer, obtain line passing C33(IN3 → OUT3) and C34(IN3 → OUT4); Optical fibre channel L35(OUT3 → IN5 is obtained between the i-th+1 operation layer and the i-th+2 operation layer), in the i-th+2 operation layer, obtain line passing C55(IN5 → OUT5) and C56(IN5 → OUT6); Meanwhile, between the i-th operation layer and the i-th+2 operation layer, obtain optical fibre channel L26(OUT2 → IN6), in the i-th+2 operation layer, obtain line passing C65(IN6 → OUT5) and C66(IN6 → OUT6).Now, the output port OUT6 that destination address OUT6 is corresponding is included in i-th+2 operation layer, the business route meeting business route instruction has two, Article 1, business route R1=C21(IN2 → OUT1) L13(OUT1 → IN3) C33(IN3 → OUT3) L35(OUT3 → IN5) C56(IN5 → OUT6), Article 2 business route R2=C22(IN2 → OUT2) L26(OUT2 → IN6) C66(IN6 → OUT6), now, Article 1, the length of business route R1 is greater than the length of Article 2 business route R2, in order to save resource allocation, improve allocative efficiency, the business route that length is the shortest should be selected, namely business configuration is carried out according to Article 2 business route R2.
Monitoring module 20 also for:
When business route is the identical business route of many length, a selected and sorted business route foremost.
The present embodiment is please also refer to Fig. 9 (d), take initial address as IN2, destination address is OUT4, the business route instruction arrived is " the business route that configuration IN2 to OUT4, Optical Channel Data Unit-k (OpticalChannel Data Unit; ODU) granularity are ODU2 " is example, obtains line passing C21(IN2 → OUT1 in the i-th operation layer) and C22(IN2 → OUT2); Optical fibre channel L13(OUT1 → IN3 is obtained between the i-th operation layer and the i-th+1 operation layer) and L24(OUT2 → IN4); In the i-th+1 operation layer, obtain line passing C33(IN3 → OUT3), C34(IN3 → OUT4), C43(IN4 → OUT3), C44(IN4 → OUT4).Now, the output port OUT4 that destination address OUT4 is corresponding is included in i-th+1 operation layer, the business route meeting business route instruction has two, Article 1, business route R1=C21(IN2 → OUT1) L13(OUT1 → IN3) C34(IN3 → OUT4), Article 2 business route R2=C21(IN2 → OUT1) L24(OUT2 → IN4) C44(IN4 → OUT4), now, Article 1, the length of business route R1 is identical with the length of Article 2 business route R2, can select arbitrarily business route, in order to save system service program, further raising allocative efficiency, can the preceding business route of selected and sorted, namely business configuration is carried out according to Article 1 business route R1.
As shown in Figure 8, Fig. 8 is the structural representation of the second embodiment of optical transport business routing configuration device of the present invention.The present embodiment, on basis embodiment illustrated in fig. 7, adds administration module 40, for when address distribution instruction arrives, is all of the port allocation address in each operation layer; One_to_one corresponding between port and address.
In the present embodiment, the address of each port is the unique identification of port, address and port one_to_one corresponding, was assigned, record and belong to address information corresponding to this operation layer physical port in each operation layer before route starts.Therefore, when finding adaptive port, the address of port can be obtained.The present embodiment is each port assignment unique address in each layer service layer, as long as assign the address of the both port of origination needing to carry out optical transport and end port in business route instruction, i.e. initial address and destination address, after Fiber connection, Automatic inquirying and business configuration can be carried out, avoid poor efficiency and high error rate that manual configuration brings, effectively improve efficiency and the accuracy of configuration.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.