Embodiment
Below in conjunction with accompanying drawing embodiment of the invention Wavelength dispatching method and device are described in detail.
Should be clear and definite, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
Embodiment one
The embodiment of the invention provides a kind of Wavelength dispatching method, and as shown in Figure 2, the method for embodiments of the invention comprises:
S201, obtain the route radio frequency channel of at least one wavelength correspondence according to wavelength resource information between website.
Whether S202, described each the route radio frequency channel obtained of verification can create the optical channel path.
S203, export alternative route radio frequency channel according to the result after the verification.
S204, the route radio frequency channel of choosing from described alternative route radio frequency channel for the user are created the optical channel path.
For the ease of the deployment of said method, present embodiment continues to provide a kind of Wavelength dispatching device, and as shown in Figure 3, this device comprises: acquiring unit 21, verification unit 22, output unit 23, creating unit 24.
Acquiring unit 21 is used for obtaining according to wavelength resource information between website the route radio frequency channel of at least one wavelength correspondence; Verification unit 22 is used for each route radio frequency channel that the described acquiring unit 21 of verification obtains and whether can creates the optical channel path; Output unit 23 is used for exporting alternative route radio frequency channel according to the result after verification unit 22 verifications; The route radio frequency channel that creating unit 24 is used to the user to choose from the alternative route radio frequency channel of output unit 23 outputs is created the optical channel path.
Embodiment of the invention Wavelength dispatching method and device, the alternative route radio frequency channel of retrievable many wavelength, and create the OCH path of corresponding a plurality of wavelength according to user's needs, can improve the efficient of Wavelength dispatching between website.
Embodiment two
Be illustrated in figure 7 as the flow chart of a preferred embodiment Wavelength dispatching method of the present invention.This embodiment can comprise the steps:
S301, server obtain the route radio frequency channel of at least one wavelength correspondence according to wavelength resource statistical information between website.Wherein, comprise at least in this information the Source Site to the shortest path of each wavelength between the residential site by radio frequency channel and optional route radio frequency channel.
In the present embodiment, S301 carries out following explanation in conjunction with Fig. 4, table 1 and table 2.
For example, for networking shown in Figure 4, OBU is certain Optical Amplifier Unit, and M closes the ripple unit for certain, and D is certain partial wave unit, and NE1, NE2 and NE3 are certain website, and OTU1, OTU2 and OTU3 are the OTU veneer.
Do following hypothesis:
(1) closes ripple unit M and can pass through 48 wavelength, from λ 1 to λ 48 at certain wave band.
(2) the partial wave cells D also can be passed through 48 wavelength at identical wave band, from λ 1 to λ 48.
(3) photosphere scheduling is closed ripple unit WSSM photoreactive layer scheduling partial wave unit WSSD and can pass through 9 * 48 wavelength at identical wave band, promptly can pass through 9 groups, and every group all can be passed through 48 identical wavelength, from λ 1 to λ 48.
(4) OTU1 of the OTU1 of NE1 and NE3 is λ 1 by wavelength under certain wave band.
(5) OTU2 of the OTU2 of NE1 and NE3 is λ 2 by wavelength under certain wave band.
(6) OTU3 of the OTU3 of NE1 and NE3 is λ 3 by wavelength under certain wave band.
At networking shown in Figure 4, can generate following data according to wavelength resource statistical information between website:
(1), fiber path between network element: f1->f2;
(2), transport layer fiber path and transport layer fiber path group, as shown in table 1.
Table 1. transport layer fiber path and transport layer fiber path group
(4), wavelength select shortest path by with optional route: because three transport layer fiber paths belong to same group, and every transport layer fiber path all can pass through 48 wavelength, thus from the shortest path of λ 1 to λ 48 selection by being transport layer fiber path 3; The optional route of selecting from λ 1 to λ 48 is path 1 and path 2.
Wherein, can generate optional route radio frequency channel according to described optional route, according to described shortest path by generating shortest path by radio frequency channel.
(5) it is as follows to get source optical channel fiber path from Fig. 4:
①、f3
②、f4
③、f5
Place optical channel fiber path is as follows:
①、f21
②、f22
③、f23
Is example with shortest path by radio frequency channel, can generate shortest path as shown in table 2 by radio frequency channel according to above-mentioned information.
The shortest path that table 2. networking generates is by radio frequency channel
45 radio frequency channels of except λ 1, λ 2 and λ 3 remaining because do not have source optical channel fiber path and place optical channel fiber path, so its source end, Su Duanyu shortest path by the transport layer fiber path identical.
S302, server carry out verification to above-mentioned each route radio frequency channel of obtaining, whether can create OCH path so that determine these route radio frequency channels.Wherein, described each route radio frequency channel of obtaining comprises that shortest path is by radio frequency channel and optional route radio frequency channel.
The purpose of verification is exactly whether each route radio frequency channel of verification can create OCH path.Because the purpose of end-to-end wavelength service dispatching is exactly to dispose dynamic light automatically to intersect to form the business that can lead to, so if the transport layer fiber path of a certain route radio frequency channel process all is static intersections, illustrate that this route radio frequency channel do not create the necessity of OCH path, because static the intersection made up the business that is communicated with physically, the meaning that does not have scheduling, so whether whether the transport layer fiber path that need determine each route radio frequency channel of obtaining so that determine every route radio frequency channel can create OCH path through dynamically intersecting.
Here need to prove because server has been known the parameter of each veneer in the network in the process of networking, so server can directly be judged the type of this veneer according to the parameter of certain veneer.Thereby in checking procedure, realize judgement to the type of veneer.
Verification mode can be divided into following steps as shown in Figure 5 particularly:
S3021, for any route radio frequency channel that gets access to, judge whether the source port on this route radio frequency channel is connecting the OTU veneer, be then to carry out S3022 if judge; Otherwise, carry out S3035.
Perhaps this S3021 is: for any route radio frequency channel that gets access to, judge that this route radio frequency channel contains Trail Termination Point (Trail Terminate Point) OCh TTP, if above-mentioned judgement is then to carry out S3023; Otherwise carry out S3025.
S3022 judges on the place port on this route radio frequency channel whether connecting the OTU veneer, is then to carry out S3023 if judge; Otherwise, carry out S3035.
S3023 judges whether there is the ROADM veneer on this route radio frequency channel, is then to carry out S3024 if judge; Otherwise carry out S3025.
S3024, this route radio frequency channel can be corresponding wavelength and create OCH path, can be with the alternative route radio frequency channel output of this route radio frequency channel as corresponding wavelength.
S3025, this route radio frequency channel not can be corresponding wavelength and create OCH path, and this route radio frequency channel is got rid of.
Particularly, in conjunction with the networking among Fig. 4, the shortest path that obtains with check is an example by radio frequency channel, and the shortest path that can create OCH path after the verification has three by radio frequency channel, and wavelength is respectively λ 1, and λ 2, and λ 3.Simply understand, as can be seen from Table 2, the condition during according to verification, in 1 to λ 48 wavelength of λ, λ 1, and λ 2, the shortest path of λ 3 all is connected with the OTU veneer by radio frequency channel source port and place port, 4 to λ 48 wavelength of all the other λ then do not have, and by can finding out among Fig. 4 yet, all have WSSM veneer and WSSD veneer (these two kinds of veneers belong to the ROADM board type) at these three shortest paths on by radio frequency channel, so the shortest path after the verification is by totally three of radio frequency channels, and the corresponding λ 1 of difference, λ 2, and λ 3.The checking procedure of optional route wavelength in like manner, the redundant narration not just here.
The result's output after according to the S302 verification of S303, server corresponding wavelength can be created each alternative route radio frequency channel of OCH path.
After the equal verification of each route radio frequency channel of obtaining in to S301, the OTU veneer in the corresponding networking allows each wavelength of passing through, and output can be the alternative route radio frequency channel that this wavelength is created OCH path respectively.And, can comprise that for the alternative route radio frequency channel of the corresponding output of each wavelength shortest path is by radio frequency channel and optional route radio frequency channel.
Particularly, be example with networking shown in Figure 4, export the alternative route radio frequency channel of λ 1 respectively, comprising the shortest path of λ 1 by radio frequency channel and optional route radio frequency channel; Export the alternative route radio frequency channel of λ 2 respectively, comprising the shortest path of λ 2 by radio frequency channel and optional route radio frequency channel; Export the alternative route radio frequency channel of λ 3 respectively, comprising the shortest path of λ 3 by radio frequency channel and optional route radio frequency channel.
S304, user be according to the alternative route radio frequency channel of each wavelength of correspondence of output, selects the route radio frequency channel that needs, server to receive the indication of the route radio frequency channel that the user chooses from the corresponding alternative route radio frequency channel of each wavelength of output.
As shown in Figure 6, after shortest path is finished by the radio frequency channel verification, if there is the alternative route radio frequency channel of the OCH path that can create, then need it is come out with patterned showing interface in client, and server can give tacit consent to choose each wavelength shortest path by radio frequency channel.Owing to the planning reason of network, the user may not can select shortest path to create OCH path by radio frequency channel, selects so the optional route radio frequency channel that each wavelength exists also needs to show in the lump for the user.The networking of Fig. 4 exists three shortest paths by radio frequency channel, and there are two alternative routes again in every shortest path by radio frequency channel.To see as the selection route of Fig. 6 and the interface of establishment at final client graphical interfaces.Shown among Fig. 6 that λ 1, λ 2 and λ 3 shortest path separately are by radio frequency channel and optional route radio frequency channel (wherein, the optional route radio frequency channel of λ 3 also exists, and do not displayed it by the length restriction).
S305, server are according to the corresponding OCH path of creating each route radio frequency channel of the indication that receives among the S304.
After the user was selecting the graphical interfaces of route to select the corresponding route radio frequency channel of a plurality of wavelength, server then can be created OCH path in batches.
Particularly, create the OCH path process as shown in Figure 8 in batches, comprising:
The indication of the route radio frequency channel that S3051, server record user choose for each wavelength.
The Dan Zhanguang that S3052, server calculate all paths to be created intersects, and the intersection of the Dan Zhanguang after will calculating result sends to network element device and creates.
S3053, described network element device are created light according to result of calculation and are intersected.
Light intersect create successfully after, also needing the user is its base attribute that path is set, for example pathname, creation-time etc., OCH path has just been created thus.Wherein, attributes such as described pathname, creation-time are the information when specifically creating, and just do not do in the present embodiment and do not describe in detail.
The embodiments of the invention Wavelength dispatching method, obtain among the result that can obtain by wavelength resource statistics shortest path by, optional route, optional route radio frequency channel or shortest path by information such as radio frequency channels, thereby can reach the purpose of creating OCH path in batches.The embodiment of the invention improves the route computational efficiency in the time of can allowing the wavelength of user between two websites of configuration professional, improves the efficient and the convenience of operator's scheduling photosphere business to a great extent.It calculates route automatically, fast, selects shortest path by the probability of makeing mistakes that has reduced manual operation, can make the user that more selection is arranged for the user provides alternative route, can further optimize networking.These advantages are got up and can be saved human cost and O﹠M cost for operator.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Embodiments of the invention also provide a kind of Wavelength dispatching device, and as shown in Figure 9, this wavelength is transferred device can be specially a kind of server, comprising: acquiring unit 91, verification unit 92, output unit 93, creating unit 94.
Acquiring unit 91 is used for obtaining according to wavelength resource information between website the route radio frequency channel of at least one wavelength correspondence; Verification unit 92 is used for each route radio frequency channel that the described acquiring unit 91 of verification obtains and whether can creates the optical channel path; Output unit 93 is used for exporting alternative route radio frequency channel according to the result after verification unit 92 verifications; The route radio frequency channel that creating unit 94 is used to the user to choose from the alternative route radio frequency channel of output unit 93 outputs is created the optical channel path.
Wherein, acquiring unit 91 is obtained the route radio frequency channel of described at least one wavelength correspondence at least by radio frequency channel and optional route radio frequency channel to the shortest path of each wavelength between the residential site according to the Source Site.In addition, the alternative route radio frequency channel of output unit 93 outputs comprises: shortest path is by radio frequency channel, and/or optional route radio frequency channel.
Further, verification unit 92 comprises in the present embodiment: first judge module 921, and/or second judge module 922.
First judge module 921, be used for any route radio frequency channel of obtaining for acquiring unit 91, when the source port of described route radio frequency channel all is being connected the wavelength conversion unit veneer with the place port, and when on described route radio frequency channel, having Reconfiguration Optical Add/drop Multiplexer device veneer, judge that described route radio frequency channel can be corresponding wavelength and creates the optical channel path; Second judge module 922, be used for any route radio frequency channel of obtaining for acquiring unit 91, when described route radio frequency channel contains the optical channel Trail Termination Point, and when on described route radio frequency channel, having Reconfiguration Optical Add/drop Multiplexer device veneer, judge that described route radio frequency channel can be corresponding wavelength and creates the optical channel path.
Wherein, output unit 93 is specially: corresponding each wavelength will can be its route radio frequency channel of creating the optical channel path and export as alternative route radio frequency channel.
Creating unit 94 in the present embodiment comprises: receiver module 941, creation module 942.
Receiver module 941 is used to receive the indication of creating at least one route radio frequency channel, and described indication is that described user selects from the alternative route radio frequency channel of described output unit 93 outputs; Creation module 942, corresponding optical channel path is created in the indication that is used for receiving according to described receiver module 941.
Embodiments of the invention Wavelength dispatching device can be realized the quick unified scheduling of wavelength with reference to above Wavelength dispatching method.
Therefore, can directly from the wavelength resource statistics, obtain alternative route radio frequency channel, shortest path by radio frequency channel, shortest path by or alternative route, and, can also know fast whether shortest path can create OCH path by radio frequency channel by verification unit.The embodiment of the invention improves the route computational efficiency in the time of can allowing the wavelength of user between two websites of configuration professional, improves the efficient and the convenience of operator's scheduling photosphere business to a great extent.It calculates route automatically, fast, selects shortest path by the probability of makeing mistakes that has reduced manual operation, can make the user that more selection is arranged for the user provides alternative route, can further optimize networking.These advantages are got up and can be saved human cost and O﹠M cost for operator.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.