WO2017113977A1 - Configuration method and device for optical multiplexer/demultiplexer - Google Patents

Configuration method and device for optical multiplexer/demultiplexer Download PDF

Info

Publication number
WO2017113977A1
WO2017113977A1 PCT/CN2016/104077 CN2016104077W WO2017113977A1 WO 2017113977 A1 WO2017113977 A1 WO 2017113977A1 CN 2016104077 W CN2016104077 W CN 2016104077W WO 2017113977 A1 WO2017113977 A1 WO 2017113977A1
Authority
WO
WIPO (PCT)
Prior art keywords
configuration
omd
oms
wavelength
channels
Prior art date
Application number
PCT/CN2016/104077
Other languages
French (fr)
Chinese (zh)
Inventor
马治民
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017113977A1 publication Critical patent/WO2017113977A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for configuring a wavelength division multiplexer.
  • WDM Widelength Division Multiplexing
  • a WDM network site is divided into a service site with business capability and a non-business site with no service capability.
  • the service site needs to use the wavelength division multiplexer to filter and combine the wavelengths of the service.
  • the configuration problem of the OMD (Optical Multiplexer/Demultiplexer) of each service site of the WDM network must also be considered during the planning and construction period.
  • the configuration of the wavelength division multiplexer is usually divided into two modes: one is the maximum number of channels. Mode, the method is to determine a wavelength division multiplexer with sufficient multiplexing power according to the maximum number of channels between two logically connected service stations; another method is a wavelength configuration manner, which is based on a service path. The wavelength of the service planned on the OMS determines the wavelength division multiplexer. Both methods need to manually query the corresponding wavelength division multiplexer according to relevant conditions.
  • the embodiment of the invention provides a method and a device for configuring a wavelength division multiplexer, so as to at least solve the problem that the OMD is time-consuming and the configuration accuracy is low.
  • a method for configuring a wavelength division multiplexer includes: allocating optical multiplex sections OMS corresponding to different configuration modes to different sets, wherein the foregoing configuration mode is wave division
  • the ODM configuration information of the OMS in the set is output according to the configuration manner corresponding to the set.
  • the optical multiplex section OMSs corresponding to different configurations are allocated to different sets, including: allocating the OMS corresponding to the maximum channel number configuration manner to the first set; and/or the OMS corresponding to the wavelength configuration mode. Assigned to the second collection.
  • the OMD configuration information of the OMS in the first set is output according to the maximum channel number configuration manner, including: Obtaining a maximum number of channels of the optical fiber on the OMS in the first set; determining OMD configuration information corresponding to the maximum number of channels from a preset first configuration table according to the maximum number of channels of the optical fiber, wherein the foregoing
  • the maximum number of channels in a configuration table has a one-to-one correspondence with the OMD configuration information.
  • obtaining the maximum number of channels of the optical fibers on the OMS in the first set includes: acquiring the number of channels of all the optical fibers in the foregoing OMS; The number of channels having the largest value among the number of channels is the maximum number of channels described above.
  • outputting the OMD configuration information of the OMS in the second set according to the wavelength configuration manner including: acquiring wavelengths of all services flowing through the OMS in the second set; and for each service, according to the foregoing wavelength from the preset second
  • the OMD configuration information corresponding to the wavelength is determined in the configuration table, where the wavelength and the OMD configuration information in the second configuration table are in a one-to-one correspondence.
  • the method further includes: when the wavelengths share the same OMD, the configuration information corresponding to the wavelength is aggregated; and the configuration information included in the aggregation is used as the OMD configuration information.
  • a device for configuring a wavelength division multiplexer including: an allocation module, configured to allocate optical multiplexing segments OMS corresponding to different configuration modes into different sets, where The configuration mode is a configuration mode of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the foregoing set; the output module is configured to output, for each of the foregoing sets, the OMS in the set according to a configuration manner corresponding to the set. OMD configuration information.
  • the foregoing allocating module includes: a first allocating unit, configured to allocate an OMS corresponding to a maximum channel number configuration manner to the first set; and/or a second allocating unit, configured to configure a corresponding wavelength The OMS is assigned to the second set.
  • the output module includes: a first acquiring unit configured to acquire a maximum number of channels of the optical fiber on the OMS in the first set; and a first determining unit configured to obtain a maximum number of channels according to the optical fiber from the foregoing
  • the first configuration table is configured to determine the OMD configuration information corresponding to the maximum number of channels, wherein the maximum number of channels in the first configuration table and the OMD configuration information are in a one-to-one correspondence.
  • the output module includes: a second obtaining unit configured to acquire wavelengths of all services flowing through the OMS in the second set; and a second determining unit configured to preset from the foregoing wavelength according to the foregoing wavelength
  • the OMD configuration information corresponding to the wavelength is determined in the second configuration table, where the wavelength in the second configuration table is in a one-to-one correspondence with the OMD configuration information.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a configuration method of the wavelength division multiplexer in the above embodiment.
  • the optical multiplex section OMS corresponding to different configuration manners is allocated to different sets; for each set, the OMD configuration information of the OMS in the set is output according to the configuration manner corresponding to the set, wherein
  • the configuration mode is a configuration mode of the wavelength division multiplexer (OMD), and the foregoing configuration mode has a one-to-one correspondence with the foregoing set, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low, achieving a problem in the related art.
  • the configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.
  • FIG. 1 is a flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention
  • FIG. 2 is another flow chart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention
  • step S208 in another flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention
  • step S210 is a flowchart of step S210 in another flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a WDM network topology and service according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of an allocation module 62 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of an output module 64 of a device for configuring a wavelength division multiplexer according to an embodiment of the present invention.
  • FIG. 9 is a block diagram showing another structure of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
  • step S102 the optical multiplex sections OMS corresponding to different configuration modes are allocated to different sets, wherein the foregoing configuration manner is a configuration manner of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the foregoing set;
  • Step S104 For each of the foregoing sets, output OMD configuration information of the OMS in the set according to an arrangement manner corresponding to the set.
  • the OMS corresponding to the different configuration modes of the OMD is divided into different sets, and then all the OMD configuration information in the set is outputted according to different configuration manners, thereby solving the manual configuration of the OMD one by one.
  • the problem of time-consuming and low configuration accuracy achieves a configuration effect that can quickly and accurately complete the wavelength division multiplexer OMD.
  • the optical multiplexing segments OMS corresponding to different configuration modes are allocated to different sets, and the process includes the following steps:
  • Step A assigning the OMS corresponding to the maximum channel number configuration manner to the first set;
  • Step B Assign the OMS corresponding to the wavelength configuration mode to the second set.
  • the OMD can select different configuration methods according to different environments. Those skilled in the art know that the OMD can be configured in one configuration mode in the same configuration process, or can be completed by using different configuration modes at the same time. For the configuration, only the maximum channel number configuration mode and the wavelength configuration mode are used here.
  • the OMD configuration information of the OMS in the first set is output according to the maximum channel number configuration manner, and is composed of the following technical solutions:
  • Step C obtaining the maximum number of channels of the optical fiber on the OMS in the first set
  • Step D determining OMD configuration information corresponding to the maximum number of channels from the preset first configuration table according to the maximum number of channels of the optical fiber, wherein the maximum number of channels and the OMD configuration information in the first configuration table are One-to-one correspondence.
  • the OMD configuration information of the OMS in the second set is output according to the foregoing wavelength configuration manner, and is composed of the following technical solutions:
  • Step E acquiring wavelengths of all services flowing through the OMS in the second set
  • Step F For each service, the OMD configuration information corresponding to the wavelength is determined from the preset second configuration table according to the foregoing wavelength, wherein the wavelength in the second configuration table and the OMD configuration information are in a one-to-one correspondence.
  • FIG. 2 is another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention.
  • Table 1 below is an OMD configuration.
  • the mode is the first configuration table preset in the maximum channel number configuration mode.
  • the following table 2 is the second configuration table preset in the ODM configuration mode in the wavelength configuration mode. The following is a detailed description in conjunction with FIG. 2, Table 1, and Table 2.
  • the wavelength division multiplexer configuration method includes:
  • Step S202 Preconfigure a first configuration table of a wavelength division multiplexer configured with a maximum number of channels and a second configuration table of a wavelength division multiplexer configured with a wavelength;
  • Step S204 traverse the network to find all the OMSs, and set an appropriate configuration mode for the OMD in each OMS; here, for convenience of description, we define that the OMS is a multiplex section, and two logically directly connected service sites are respectively opposite.
  • the wavelength division multiplexer on one side and the fiber and non-service sites between them form an OMS; we define logically directly connected to mean that there is a reachable route between the two sites, and at this reachable The first two business sites are removed from the route, and no sites are passed through, or the sites that pass through are non-business sites;
  • Step S206 traversing all the OMSs, and collecting the OMS component set A (ie, the first set) corresponding to the maximum channel number configuration mode and the OMS component set B corresponding to the wavelength configuration mode according to the ODM configuration mode (ie, Two sets);
  • Step S208 According to the correspondence relationship of Table 1, all OMDs in all OMSs in the set A are configured and the configuration result is recorded;
  • Step S210 According to the correspondence relationship of Table 2, configure all OMDs in all OMSs in the set B and record the configuration result;
  • Step S212 Output the configuration result of all the wavelength division multiplexers OMD.
  • FIG. 3 is a flowchart of step S208 in another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention.
  • the steps of S208 of the maximum channel number configuration manner are described in detail below with reference to FIG. 3, including:
  • Step S208-02 traversing the set A (ie, the first set);
  • Step S208-04 traversing all the optical fibers on the OMS
  • Step S208-06 if the maximum number of OMS channels is not greater than the maximum number of channels of the current fiber, then go to step S310;
  • Step S208-08 setting the maximum number of channels of the current optical fiber to the maximum number of OMS channels
  • Step S208-10 if all the fiber traversal on the OMS is not completed, then go to step S208-04;
  • Step S208-12 searching for a wavelength division multiplexer configuration matching the maximum number of channels from the first configuration table of the wavelength division multiplexer with the maximum number of channels as a query condition, configuring and recording the configuration result;
  • step S208-14 if the set A is not traversed, the process goes to step S208-02; otherwise, the step S208 ends.
  • FIG. 4 is a flowchart of step S210 in another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention.
  • the steps of S210 in the wavelength configuration mode are described in detail below with reference to FIG. include:
  • step S210-02 the set B (ie, the second set) is traversed.
  • step S210-04 the entire network service is traversed, and the wavelengths of all services that pass the current OMS are obtained.
  • Step S210-06 traversing the wavelength on the current OMS, and searching for the wavelength division multiplexer configuration matching the current service wavelength from the second configuration table of the wavelength division multiplexer with the service wavelength as the query condition.
  • Step S210-08 if the current OMS wavelength division multiplexer configuration record contains all of the devices in the wavelength division multiplexer configuration, go to step S210-12;
  • Step S210-10 configuring a wavelength division multiplexer not included and recording the configuration result
  • Step S210-12 if the current wavelength on the OMS is not traversed, then go to step S210-06;
  • Step S210-14 if the set B traversal is not completed, go to step S210-02; if the set B traversal is completed, step S210 ends.
  • FIG. 5 is a schematic diagram of a WDM network topology and service according to an embodiment of the present invention.
  • the wavelength division is described in detail below with reference to FIG. 5.
  • the solid line in Figure 5 represents the fiber, the 501, 502, 503, and 504 sites are all service sites, and the 505 is a non-business site.
  • Step S302 creating a first configuration table of the wavelength division multiplexer with the maximum number of channels as the query condition as shown in Table 1 for the example network, and wavelength division multiplexing with wavelength as the query condition as shown in Table 2 above.
  • the second configuration table of the device The first column of the two tables is a set of ranges, Table 1 is the set of ranges of the maximum number of channels, and Table 2 is the set of ranges of wavelengths; the second column of both tables is the configuration combination of the wavelength division multiplexer.
  • OMD represents a wavelength division multiplexer, with OMD(s)i wavelength division multiplexing devices (or combinations), subscript i only represents serial numbers to distinguish different OMD(s);
  • Step S304 traversing the example network according to the definition of the previous OMS, there are 3 OMSs, as shown in FIG. 5, which are respectively 501 sites for the 502 site side of the wavelength division multiplexer + 501 and 502 between the optical fiber + 502 site
  • the OMS1, 502 site consisting of a wavelength division multiplexer facing the 501 site side faces the 503 site side of the wavelength division multiplexer + 502 and 505 between the fiber +505 site + 505 and 503 fiber +503 site
  • OMS2 consisting of a wavelength division multiplexer on the 502-site side, and 502 site-to-504-side wavelength division multiplexer +502 and 504 between the fiber +504 site for 502-site side wavelength division multiplexing OMS3, set OMS1 and OMS2 to the maximum number of channels , set OMS3 to the wavelength configuration mode;
  • Step S306 according to the setting of the configuration mode, the set A (ie, the first set) is ⁇ OMS1, OMS2 ⁇ , and the set B (ie, the second set) is ⁇ OMS3 ⁇ ;
  • Step S308 configuring a wavelength division multiplexer for the two OMS elements in the set A and recording the configuration result, and configuring the wavelength division multiplexer for the OMS in the set A in detail with reference to steps S308-02 to S308-32. Record the configuration results:
  • Step S308-02 the same as step S208-02;
  • Step S308-04 first traversing all the optical fibers on the OMS1;
  • Step S308-06 there is only one optical fiber on the OMS1, that is, an optical fiber between 501 and 502;
  • Step S308-08 the maximum number of channels of the optical fiber between 501 and 502 is assumed to be x0, and the maximum number of channels of OMS1 is set;
  • Step S308-10 all fiber traversal on OMS1 is completed
  • Step S308-12 searching for the wavelength division multiplexer configuration matching x0 from the configuration table shown in Table 1, and assuming that x0 is within the range of a-b interval, the wavelength division multiplexer is configured as OMD(s) 2.
  • the wavelength division multiplexer represented by OMD(s)2 is configured as a wavelength division multiplexer on the 501 site side of the 501 site, and a wavelength division multiplexer on the 501 site side of the 502 site, and records the configuration. result;
  • Step S308-14 the set A is not traversed, and the process goes to step S308-02;
  • Step S308-16 the same as step S208-02 and step S308-02;
  • Step S308-18 traversing all the optical fibers on the OMS2;
  • step S308-20 there are two optical fibers on the OMS2, an optical fiber between 502 and 505, and an optical fiber between 505 and 503. It is assumed that the maximum number of channels on the optical fiber between 502 and 505 is between x1 and 505 and 503. The maximum number of channels on the fiber is x2, and x1>x2, assuming that the fiber between 502 and 505 is traversed first, the maximum number of channels of OMS2 is set to x1; go to step S308-22;
  • Step S308-22 the optical fiber on the OMS2 is not traversed, and the process goes to step S308-18;
  • Step S308-24 traversing to the optical fiber between 505 and 503, after comparison, the maximum number of channels of the OMS2 is greater than the maximum number of channels x2 of the fiber between the current 505 and 503;
  • Step S308-26 setting the maximum number of channels x2 of the optical fiber between 505 and 503 to the maximum number of channels of OMS2;
  • Step S308-28 all fiber traversal on OMS2 is completed
  • Step S308-30 searching for the wavelength division multiplexer configuration matched with x2 from the second configuration table shown in Table 2 above, and assuming that x2 is within the range of b-c interval, the wavelength division multiplexer is configured as OMD.
  • the wavelength division multiplexer represented by OMD(s)3 is configured as a wavelength division multiplexer on the side of the 503 station facing the 503 station, and the wavelength division on the side of the 503 station facing the 503 station. a multiplexer and record the configuration results;
  • Steps S308-32 the set A traversal is completed, exiting S308;
  • Step S310 configuring a wavelength division multiplexer for the OMS3 in the set B (ie, the second set) and recording the configuration result.
  • the following describes the wave splitting for the OMS in the set B in detail in conjunction with steps S310-02 through S310-14. Use the device and record the configuration results;
  • Step S310-02 is the same as step S210-02.
  • step S310-04 the entire network service is traversed, and the wavelengths of all services passing the current OMS3 are obtained, which are assumed to be ⁇ ..., ⁇ x, .
  • Step S310-06 assuming that the current traversal wavelength is ⁇ x, look up the wavelength division multiplexer configuration matching ⁇ x from the second configuration table shown in Table 2, and continue to assume that ⁇ x is in the range of ⁇ i+1- ⁇ j. Inside, the wavelength division multiplexer is configured as OMD(s)j.
  • Step S310-08 assuming that the wavelength division multiplexer configuration record of the OMS3 fails to include all the devices in the OMD(s)j;
  • Step S310-10 adding the undivided wavelength division multiplexer to the wavelength division multiplexer of the 504 site facing the 504 site side, and the 504 site facing the 502 site side of the wavelength division multiplexer configuration, and recording the configuration result;
  • Step S310-12 assuming that the wavelength traversal on OMS3 is not completed, proceeding to step S310-06, assuming that the current traversal wavelength is ⁇ y, searching for the wavelength division multiplexer configuration matching ⁇ y from the configuration table shown in Table 2. , continue to assume that ⁇ y is within the range of ⁇ j+1- ⁇ k, then the wavelength division multiplexer is configured as OMD(s)k; assume that the wavelength division multiplexer configuration record of OMS3 contains all the devices in OMD(s)k ;
  • Step S310-14 assuming that the wavelength traversal on OMS3 has been completed; there is only one OMS3 in the set B, the traversal is completed, and step S310 is exited.
  • Step S312 after the configuration is completed as described above, the wavelength division multiplexer configuration result is output.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a plurality of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the above-described methods of various embodiments of the present invention.
  • a device for configuring a wavelength division multiplexer is provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a structural block diagram of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention, as shown in FIG. The following modules are included:
  • the allocation module 62 is configured to allocate the optical multiplex sections OMS corresponding to different configuration modes to different sets, wherein the foregoing configuration manner is a configuration manner of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the set. relationship;
  • the output module 64 is connected to the distribution module 62, and is configured to output, for each of the foregoing sets, OMD configuration information of the OMS in the set according to a configuration manner corresponding to the set.
  • the distribution module 62 allocates the optical multiplex sections OMS corresponding to different configuration modes to different sets, and the output module 64 allocates each set of the allocation modules, and outputs according to the configuration mode corresponding to the set.
  • OMD configuration information of the OMS in the above set is adopted, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low, and the configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.
  • FIG. 7 is a structural block diagram of an allocation module 62 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
  • the distribution module 62 include:
  • the first allocating unit 622 is configured to allocate the OMS corresponding to the maximum channel number configuration manner into the first set;
  • the second allocating unit 624 is configured to allocate the OMS corresponding to the wavelength configuration mode into the second set.
  • FIG. 8 is a structural block diagram of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
  • the output module 64 is shown in FIG. include:
  • the first obtaining unit 642 is configured to acquire the maximum number of channels of the optical fiber on the OMS in the first set;
  • the first determining unit 644 is connected to the first obtaining unit 642, and is configured to determine, according to the maximum number of channels of the optical fiber, OMD configuration information corresponding to the maximum number of channels from a preset first configuration table, where the foregoing
  • the maximum number of channels in a configuration table has a one-to-one correspondence with the OMD configuration information.
  • FIG. 9 is another structural block diagram of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention, which is shown in FIG. 64, including:
  • the second obtaining unit 646 is configured to acquire wavelengths of all services flowing through the OMS in the second set;
  • the second determining unit 648 is connected to the second obtaining unit 646, and is configured to, for each service, determine OMD configuration information corresponding to the wavelength from the preset second configuration table according to the wavelength, where the second configuration table is configured.
  • the medium wavelength and the OMD configuration information have a one-to-one correspondence.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the optical multiplex section OMS corresponding to different configuration modes is allocated to different sets, wherein the configuration mode is a configuration mode of the wavelength division multiplexer OMD, and the configuration manner has a one-to-one correspondence with the set;
  • the storage medium is further arranged to store program code for performing the following steps:
  • the OMS corresponding to the maximum channel number configuration mode is allocated to the first set
  • the OMS corresponding to the wavelength configuration mode is allocated to the second set.
  • the storage medium is further configured to store program code for performing the steps of: obtaining a maximum number of channels of the optical fiber on the OMS in the first set; and from the preset first configuration table according to the maximum number of channels of the optical fiber The OMD configuration information corresponding to the maximum number of channels is determined, wherein the maximum number of channels in the first configuration table is in a one-to-one correspondence with the OMD configuration information.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the embodiment of the present invention achieves the following technical effects: the problem of manually configuring the OMD time-consuming and low configuration accuracy is solved, and the configuration effect of the wavelength division multiplexer OMD can be quickly and accurately completed.
  • the method can automatically and quickly configure a complex WDM optical network, such as a wavelength division multiplexer in a wavelength division network of a chain, a ring, and a mesh network, instead of a complicated process of repeatedly searching and merging human resources, which is often required by manual configuration.
  • the configuration of the wavelength division multiplexer which is even a few weeks old, can be completed in a few minutes, and the wavelength division multiplexer configuration result is correctly output, thereby avoiding device configuration defects caused by data errors in the artificial configuration.
  • the planning and construction of the network provides timely and effective protection.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the optical multiplex section OMS corresponding to different configurations is allocated to different sets.
  • the OMD configuration information of the OMS in the set is output according to the configuration manner corresponding to the set, where
  • the configuration mode is a configuration mode of the wavelength division multiplexer (OMD), and the foregoing configuration mode has a one-to-one correspondence with the foregoing set, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low.
  • the configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.

Abstract

Provided in an embodiment of the invention are a configuration method and device for an optical multiplexer/demultiplexer (OMD). The method comprises: assigning, to different sets, optical multiplex sections (OMSs) corresponding to different configurations, wherein the configurations are configurations included in OMDs, and the configurations correspond one-to-one with the sets; and outputting, for each one of the sets, and according to the configuration corresponding to the set, OMD configuration information of the OMS in the set. The above technical solution provided in the embodiment of the invention solves a problem in which a manual one-by-one configuration of OMDs in the prior art is time consuming and has low accuracy, thereby quickly and accurately completing configuration of an OMD.

Description

波分复用器的配置方法和装置Wavelength division multiplexer configuration method and device 技术领域Technical field
本发明实施例涉及通信领域,具体而言,涉及一种波分复用器的配置方法和装置。Embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for configuring a wavelength division multiplexer.
背景技术Background technique
在光通讯领域中,随着WDM(波分复用,Wavelength Division Multiplexing)光网络的迅速发展,WDM网络站点越来越多,越来越复杂,但是根据站点是否具有业务上下的功能进行分类,WDM网络站点分为具有业务上下能力的业务站点和不具有业务上下能力的非业务站点。而业务站点对业务所在波长进行滤波、合波需要使用到波分复用器。In the field of optical communication, with the rapid development of WDM (Wavelength Division Multiplexing) optical networks, WDM network sites are more and more complex and more complex, but classified according to whether the site has functions of services. A WDM network site is divided into a service site with business capability and a non-business site with no service capability. The service site needs to use the wavelength division multiplexer to filter and combine the wavelengths of the service.
WDM网络各业务站点OMD(波分复用器,Optical Multiplexer/Demultiplexer)的配置问题也是在规划建设时期必须要考虑的。根据对各业务途经OMS(光复用段,Optical Multiplex section)上承载波长数量的规划和成本的考虑,波分复用器的配置方式通常分为两种方式:一种方式是最大波道数配置方式,该方式是根据两个逻辑上直接相连的业务站点之间的最大波道数确定合分波能力足够的波分复用器;另外一种方式是波长配置方式,该方式是根据业务途径OMS上所规划的业务波长确定波分复用器。两种方式都需要人工根据相关条件去查询对应的波分复用器,尤其是现今的网络规模的日益扩大,网络拓扑也越来越复杂,网络中采用的波分复用器种类也越来越多,再由人工的方式进行波分复用器的配置将变得异常困难。因而人工在进行配置时,需要不断地查找、合并,这会耗费大量的人力,并且由人工进行配置很容易出现错误,导致最后工程上的不成功。The configuration problem of the OMD (Optical Multiplexer/Demultiplexer) of each service site of the WDM network must also be considered during the planning and construction period. According to the planning and cost considerations of the number of wavelengths carried on the OMS (Optical Multiplex section), the configuration of the wavelength division multiplexer is usually divided into two modes: one is the maximum number of channels. Mode, the method is to determine a wavelength division multiplexer with sufficient multiplexing power according to the maximum number of channels between two logically connected service stations; another method is a wavelength configuration manner, which is based on a service path. The wavelength of the service planned on the OMS determines the wavelength division multiplexer. Both methods need to manually query the corresponding wavelength division multiplexer according to relevant conditions. Especially the scale of today's network is increasing, the network topology is becoming more and more complex, and the types of wavelength division multiplexers used in the network are also coming. The more, the manual configuration of the wavelength division multiplexer becomes extremely difficult. Therefore, when manually configuring, it is necessary to continuously search and merge, which requires a lot of manpower, and manual configuration is prone to errors, resulting in unsuccessful final project.
针对在相关技术中,人工逐一配置OMD耗时且配置准确率低的问题,尚未提出有效的解决方案。In the related art, the problem of manually configuring the OMD one by one and the configuration accuracy is low has not yet proposed an effective solution.
发明内容Summary of the invention
本发明实施例提供了一种波分复用器的配置方法和装置,以至少解决相关技术中人工逐一配置OMD耗时且配置准确率低的问题。The embodiment of the invention provides a method and a device for configuring a wavelength division multiplexer, so as to at least solve the problem that the OMD is time-consuming and the configuration accuracy is low.
根据本发明实施例的一个方面,提供了一种波分复用器的配置方法,包括:将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与集合为一一对应关系;针对每一上述集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息。According to an aspect of the embodiments of the present invention, a method for configuring a wavelength division multiplexer includes: allocating optical multiplex sections OMS corresponding to different configuration modes to different sets, wherein the foregoing configuration mode is wave division The ODM configuration information of the OMS in the set is output according to the configuration manner corresponding to the set.
可选的,将对应不同配置方式的光复用段OMS分配到不同的集合中,包括:将对应最大波道数配置方式的OMS分配到第一集合中;和/或将对应波长配置方式的OMS分配到第二集合中。Optionally, the optical multiplex section OMSs corresponding to different configurations are allocated to different sets, including: allocating the OMS corresponding to the maximum channel number configuration manner to the first set; and/or the OMS corresponding to the wavelength configuration mode. Assigned to the second collection.
可选的,根据上述最大波道数配置方式输出第一集合中OMS的OMD配置信息,包括: 获取上述第一集合中OMS上的光纤的最大波道数;根据上述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,上述第一配置表中最大波道数与OMD配置信息为一一对应关系。Optionally, the OMD configuration information of the OMS in the first set is output according to the maximum channel number configuration manner, including: Obtaining a maximum number of channels of the optical fiber on the OMS in the first set; determining OMD configuration information corresponding to the maximum number of channels from a preset first configuration table according to the maximum number of channels of the optical fiber, wherein the foregoing The maximum number of channels in a configuration table has a one-to-one correspondence with the OMD configuration information.
可选的,当OMS包括两个或两个以上的光纤时,获取上述第一集合中OMS上的光纤的最大波道数,包括:获取上述OMS中的所有光纤的波道数;将上述光纤的波道数中数值最大的波道数作为上述最大波道数。Optionally, when the OMS includes two or more optical fibers, obtaining the maximum number of channels of the optical fibers on the OMS in the first set includes: acquiring the number of channels of all the optical fibers in the foregoing OMS; The number of channels having the largest value among the number of channels is the maximum number of channels described above.
可选的,根据波长配置方式输出第二集合中OMS的OMD配置信息,包括:获取流经上述第二集合中OMS的所有业务的波长;对于每一业务,根据上述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,上述第二配置表中波长与OMD配置信息为一一对应关系。Optionally, outputting the OMD configuration information of the OMS in the second set according to the wavelength configuration manner, including: acquiring wavelengths of all services flowing through the OMS in the second set; and for each service, according to the foregoing wavelength from the preset second The OMD configuration information corresponding to the wavelength is determined in the configuration table, where the wavelength and the OMD configuration information in the second configuration table are in a one-to-one correspondence.
可选的,上述方法还包括:在波长共用同一OMD时,将该波长对应的配置信息取并集;将上述并集包括的配置信息作为上述OMD配置信息。Optionally, the method further includes: when the wavelengths share the same OMD, the configuration information corresponding to the wavelength is aggregated; and the configuration information included in the aggregation is used as the OMD configuration information.
根据本发明实施例的另一方面,提供了一种波分复用器的配置装置,包括:分配模块,设置为将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与上述集合为一一对应关系;输出模块,设置为针对每一上述集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息。According to another aspect of the present invention, a device for configuring a wavelength division multiplexer is provided, including: an allocation module, configured to allocate optical multiplexing segments OMS corresponding to different configuration modes into different sets, where The configuration mode is a configuration mode of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the foregoing set; the output module is configured to output, for each of the foregoing sets, the OMS in the set according to a configuration manner corresponding to the set. OMD configuration information.
可选的,上述分配模块,包括:第一分配单元,设置为将对应最大波道数配置方式的OMS分配到第一集合中;和/或第二分配单元,设置为将对应波长配置方式的OMS分配到第二集合中。Optionally, the foregoing allocating module includes: a first allocating unit, configured to allocate an OMS corresponding to a maximum channel number configuration manner to the first set; and/or a second allocating unit, configured to configure a corresponding wavelength The OMS is assigned to the second set.
可选的,上述输出模块,包括:第一获取单元,设置为获取上述第一集合中OMS上的光纤的最大波道数;第一确定单元,设置为根据上述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,上述第一配置表中最大波道数与OMD配置信息为一一对应关系。Optionally, the output module includes: a first acquiring unit configured to acquire a maximum number of channels of the optical fiber on the OMS in the first set; and a first determining unit configured to obtain a maximum number of channels according to the optical fiber from the foregoing The first configuration table is configured to determine the OMD configuration information corresponding to the maximum number of channels, wherein the maximum number of channels in the first configuration table and the OMD configuration information are in a one-to-one correspondence.
可选的,输出模块,包括:第二获取单元,设置为获取流经上述第二集合中OMS的所有业务的波长;第二确定单元,设置为对于每一业务,根据上述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,第二配置表中波长与OMD配置信息为一一对应关系。Optionally, the output module includes: a second obtaining unit configured to acquire wavelengths of all services flowing through the OMS in the second set; and a second determining unit configured to preset from the foregoing wavelength according to the foregoing wavelength The OMD configuration information corresponding to the wavelength is determined in the second configuration table, where the wavelength in the second configuration table is in a one-to-one correspondence with the OMD configuration information.
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的波分复用器的配置方法。In the embodiment of the present invention, a computer storage medium is further provided, and the computer storage medium may store an execution instruction for executing a configuration method of the wavelength division multiplexer in the above embodiment.
根据本发明实施例,通过将对应不同配置方式的光复用段OMS分配到不同的集合中;针对每一集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息,其中,上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与上述集合为一一对应关系,从而解决了相关技术中人工逐一配置OMD耗时且配置准确率低的问题,达到了一种能快速且准确地完成波分复用器OMD的配置效果。 According to the embodiment of the present invention, the optical multiplex section OMS corresponding to different configuration manners is allocated to different sets; for each set, the OMD configuration information of the OMS in the set is output according to the configuration manner corresponding to the set, wherein The configuration mode is a configuration mode of the wavelength division multiplexer (OMD), and the foregoing configuration mode has a one-to-one correspondence with the foregoing set, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low, achieving a problem in the related art. The configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的波分复用器的配置方法的流程图;1 is a flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention;
图2是根据本发明实施例的波分复用器的配置方法的另一流程图;2 is another flow chart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention;
图3是根据本发明实施例的波分复用器的配置方法的另一流程图中步骤S208的流程图;3 is a flowchart of step S208 in another flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention;
图4是根据本发明实施例的波分复用器的配置方法的另一流程图中步骤S210的流程图;4 is a flowchart of step S210 in another flowchart of a method of configuring a wavelength division multiplexer according to an embodiment of the present invention;
图5是根据本发明实施例的波分复用WDM网络拓扑和业务示意图;FIG. 5 is a schematic diagram of a WDM network topology and service according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的波分复用器的配置装置的结构框图;6 is a structural block diagram of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention;
图7是根据本发明实施例的波分复用器的配置装置的分配模块62的结构框图;FIG. 7 is a structural block diagram of an allocation module 62 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention;
图8是根据本发明实施例的波分复用器的配置装置的输出模块64的结构框图;FIG. 8 is a structural block diagram of an output module 64 of a device for configuring a wavelength division multiplexer according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的波分复用器的配置装置的输出模块64的另一结构框图。9 is a block diagram showing another structure of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种波分复用器的配置方法,图1是根据本发明实施例的波分复用器的配置方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a method for configuring a wavelength division multiplexer is provided. FIG. 1 is a flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps. :
步骤S102,将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与上述集合为一一对应关系;In step S102, the optical multiplex sections OMS corresponding to different configuration modes are allocated to different sets, wherein the foregoing configuration manner is a configuration manner of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the foregoing set;
步骤S104,针对每一上述集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息。Step S104: For each of the foregoing sets, output OMD configuration information of the OMS in the set according to an arrangement manner corresponding to the set.
通过上述各个步骤,通过将与OMD不同配置方式所对应的OMS划分到不同的集合中,然后根据不同的配置方式分集合输出集合中所有的OMD配置信息,从而解决了相关技术中人工逐一配置OMD耗时且配置准确率低的问题,达到了一种能快速且准确地完成波分复用器OMD的配置效果。 Through the above steps, the OMS corresponding to the different configuration modes of the OMD is divided into different sets, and then all the OMD configuration information in the set is outputted according to different configuration manners, thereby solving the manual configuration of the OMD one by one. The problem of time-consuming and low configuration accuracy achieves a configuration effect that can quickly and accurately complete the wavelength division multiplexer OMD.
在一个优选的实施例中,当配置方式同时含有最大波道数配置方式和波长配置方式时,将对应不同配置方式的光复用段OMS分配到不同的集合中,该流程包括如下步骤:In a preferred embodiment, when the configuration mode includes the maximum channel number configuration mode and the wavelength configuration mode, the optical multiplexing segments OMS corresponding to different configuration modes are allocated to different sets, and the process includes the following steps:
步骤A:将对应最大波道数配置方式的OMS分配到第一集合中;和/或Step A: assigning the OMS corresponding to the maximum channel number configuration manner to the first set; and/or
步骤B:将对应波长配置方式的OMS分配到第二集合中。Step B: Assign the OMS corresponding to the wavelength configuration mode to the second set.
在一个光传输系统中,OMD可以根据不同环境而选择不同的配置方法,本领域技术人员都知道,同一次配置流程中可以都使用一种配置方式配置OMD,也可以同时使用不同的配置方式完成配置,此处仅以最大波道数配置方式和波长配置方式为例。In an optical transmission system, the OMD can select different configuration methods according to different environments. Those skilled in the art know that the OMD can be configured in one configuration mode in the same configuration process, or can be completed by using different configuration modes at the same time. For the configuration, only the maximum channel number configuration mode and the wavelength configuration mode are used here.
在一个优选的实施例中,根据上述最大波道数配置方式输出第一集合中OMS的OMD配置信息,由以下技术方案组成:In a preferred embodiment, the OMD configuration information of the OMS in the first set is output according to the maximum channel number configuration manner, and is composed of the following technical solutions:
步骤C:获取上述第一集合中OMS上的光纤的最大波道数;Step C: obtaining the maximum number of channels of the optical fiber on the OMS in the first set;
步骤D:根据上述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,上述第一配置表中最大波道数与OMD配置信息为一一对应关系。Step D: determining OMD configuration information corresponding to the maximum number of channels from the preset first configuration table according to the maximum number of channels of the optical fiber, wherein the maximum number of channels and the OMD configuration information in the first configuration table are One-to-one correspondence.
在一个优选的实施例中,根据上述波长配置方式输出第二集合中OMS的OMD配置信息,由以下技术方案组成:In a preferred embodiment, the OMD configuration information of the OMS in the second set is output according to the foregoing wavelength configuration manner, and is composed of the following technical solutions:
步骤E:获取流经上述第二集合中OMS的所有业务的波长;Step E: acquiring wavelengths of all services flowing through the OMS in the second set;
步骤F:对于每一业务,根据上述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,上述第二配置表中波长与OMD配置信息为一一对应关系。Step F: For each service, the OMD configuration information corresponding to the wavelength is determined from the preset second configuration table according to the foregoing wavelength, wherein the wavelength in the second configuration table and the OMD configuration information are in a one-to-one correspondence.
基于上述实施例所提供的技术方案,以下结合一示例对上述技术方案进行说明,图2是根据本发明实施例的波分复用器的配置方法的另一流程图,下表1为OMD配置方式为最大波道数配置方式时预先设置的第一配置表,下表2为OMD配置方式为波长配置方式时预先设置的第二配置表,下面结合图2、表1和表2来详细说明本发明实施例的波分复用器的配置方法。Based on the technical solutions provided by the foregoing embodiments, the foregoing technical solutions are described below with reference to an example. FIG. 2 is another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention. Table 1 below is an OMD configuration. The mode is the first configuration table preset in the maximum channel number configuration mode. The following table 2 is the second configuration table preset in the ODM configuration mode in the wavelength configuration mode. The following is a detailed description in conjunction with FIG. 2, Table 1, and Table 2. A method of configuring a wavelength division multiplexer according to an embodiment of the present invention.
最大波道数Maximum number of channels 波分复用器OMDWavelength Division Multiplexer OMD
<a<a OMD(s)1 OMD(s) 1
a-bA-b OMD(s)2 OMD(s) 2
b-cB-c OMD(s)3 OMD(s) 3
……........ ……........
表1 Table 1
波长wavelength 波分复用器OMDWavelength Division Multiplexer OMD
λ1–λi λ 1 –λ i OMD(s)i OMD(s) i
λ1+i–λj λ 1+i –λ j OMD(s)j OMD(s) j
λ1+j–λk λ 1+j –λ k OMD(s)k OMD(s) k
……........ ……........
表2Table 2
当在一个配置流程中OMD配置方式同时含有最大波道数配置方式和波长配置方式时,如图2所示,该波分复用器的配置方法包括:When the OMD configuration mode includes the maximum channel number configuration mode and the wavelength configuration mode in a configuration process, as shown in FIG. 2, the wavelength division multiplexer configuration method includes:
步骤S202:预先配置以最大波道数配置的波分复用器的第一配置表和以波长配置的波分复用器的第二配置表;Step S202: Preconfigure a first configuration table of a wavelength division multiplexer configured with a maximum number of channels and a second configuration table of a wavelength division multiplexer configured with a wavelength;
步骤S204:遍历网络找到所有的OMS,并为每个OMS中的OMD设置合适的配置方式;此处为了方便描述我们定义OMS是一个复用段,两个逻辑上直接相连的业务站点在各自相对一侧的波分复用器及他们之间的光纤和非业务站点构成一个OMS;我们定义逻辑上直接相连指的是两个站点之间是存在着可达的路由,并且在这个可达的路由上除去首尾两个业务站点,中间不经过任何站点,或者经过的站点都是非业务站点;Step S204: traverse the network to find all the OMSs, and set an appropriate configuration mode for the OMD in each OMS; here, for convenience of description, we define that the OMS is a multiplex section, and two logically directly connected service sites are respectively opposite. The wavelength division multiplexer on one side and the fiber and non-service sites between them form an OMS; we define logically directly connected to mean that there is a reachable route between the two sites, and at this reachable The first two business sites are removed from the route, and no sites are passed through, or the sites that pass through are non-business sites;
步骤S206:遍历所有的OMS,根据OMD配置方式的不同,分别收集最大波道数配置方式所对应的OMS组成集合A(即第一集合)和波长配置方式所对应的OMS组成集合B(即第二集合);Step S206: traversing all the OMSs, and collecting the OMS component set A (ie, the first set) corresponding to the maximum channel number configuration mode and the OMS component set B corresponding to the wavelength configuration mode according to the ODM configuration mode (ie, Two sets);
步骤S208:根据表1的对应关系,配置集合A中所有OMS中的所有OMD并记录配置结果;Step S208: According to the correspondence relationship of Table 1, all OMDs in all OMSs in the set A are configured and the configuration result is recorded;
步骤S210:根据表2的对应关系,配置集合B中所有OMS中的所有OMD并记录配置结果;Step S210: According to the correspondence relationship of Table 2, configure all OMDs in all OMSs in the set B and record the configuration result;
步骤S212:输出所有波分复用器OMD的配置结果。Step S212: Output the configuration result of all the wavelength division multiplexers OMD.
基于上述实施例所提供的技术方案,以下结合一示例对上述技术方案进行说明,图3是根据本发明实施例的波分复用器的配置方法的另一流程图中步骤S208的流程图,下面结合图3详细描述最大波道数配置方式的S208的步骤,包括:Based on the technical solutions provided by the foregoing embodiments, the foregoing technical solutions are described below with reference to an example. FIG. 3 is a flowchart of step S208 in another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention. The steps of S208 of the maximum channel number configuration manner are described in detail below with reference to FIG. 3, including:
步骤S208-02,遍历集合A(即第一集合);Step S208-02, traversing the set A (ie, the first set);
步骤S208-04,遍历OMS上所有光纤;Step S208-04, traversing all the optical fibers on the OMS;
步骤S208-06,若OMS最大波道数不大于当前光纤的最大波道数,则转至步骤S310; Step S208-06, if the maximum number of OMS channels is not greater than the maximum number of channels of the current fiber, then go to step S310;
步骤S208-08,将当前光纤的最大波道数设置为OMS最大波道数;Step S208-08, setting the maximum number of channels of the current optical fiber to the maximum number of OMS channels;
步骤S208-10,若OMS上所有光纤遍历未完成,则转至步骤S208-04;Step S208-10, if all the fiber traversal on the OMS is not completed, then go to step S208-04;
步骤S208-12,从以最大波道数为查询条件的波分复用器第一配置表中查找与最大波道数相匹配的波分复用器配置,配置并记录配置结果;Step S208-12, searching for a wavelength division multiplexer configuration matching the maximum number of channels from the first configuration table of the wavelength division multiplexer with the maximum number of channels as a query condition, configuring and recording the configuration result;
步骤S208-14,若集合A未遍历完成,转至步骤S208-02;否则步骤S208结束。In step S208-14, if the set A is not traversed, the process goes to step S208-02; otherwise, the step S208 ends.
在一个优选实施例中,图4是根据本发明实施例的波分复用器的配置方法的另一流程图中步骤S210的流程图,下面结合图4详细描述波长配置方式的S210的步骤,包括:In a preferred embodiment, FIG. 4 is a flowchart of step S210 in another flowchart of a method for configuring a wavelength division multiplexer according to an embodiment of the present invention. The steps of S210 in the wavelength configuration mode are described in detail below with reference to FIG. include:
步骤S210-02,遍历集合B(即第二集合)。In step S210-02, the set B (ie, the second set) is traversed.
步骤S210-04,遍历全网业务,获取所有经过当前OMS的业务的波长。In step S210-04, the entire network service is traversed, and the wavelengths of all services that pass the current OMS are obtained.
步骤S210-06,遍历当前OMS上的波长,并从以业务波长为查询条件的波分复用器第二配置表中查找与当前业务波长相匹配的波分复用器配置。Step S210-06, traversing the wavelength on the current OMS, and searching for the wavelength division multiplexer configuration matching the current service wavelength from the second configuration table of the wavelength division multiplexer with the service wavelength as the query condition.
步骤S210-08,若当前OMS的波分复用器配置记录中包含全部这些波分复用器配置中的器件,转至步骤S210-12;Step S210-08, if the current OMS wavelength division multiplexer configuration record contains all of the devices in the wavelength division multiplexer configuration, go to step S210-12;
步骤S210-10,配置未包含的波分复用器并记录配置结果;Step S210-10, configuring a wavelength division multiplexer not included and recording the configuration result;
步骤S210-12,若当前OMS上的波长未遍历完成,则转至步骤S210-06;Step S210-12, if the current wavelength on the OMS is not traversed, then go to step S210-06;
步骤S210-14,若集合B遍历未完成,转至步骤S210-02;若集合B遍历完成,则步骤S210结束。Step S210-14, if the set B traversal is not completed, go to step S210-02; if the set B traversal is completed, step S210 ends.
基于上述实施例所提供的技术方案,以下结合一示例对上述技术方案进行说明,图5是根据本发明实施例的波分复用WDM网络拓扑和业务示意图,下面结合图5详细描述该波分复用器配置方法步骤。图5中实线表示光纤,501、502、503和504站点均为业务站点,505为非业务站点。Based on the technical solutions provided in the foregoing embodiments, the foregoing technical solutions are described in conjunction with an example. FIG. 5 is a schematic diagram of a WDM network topology and service according to an embodiment of the present invention. The wavelength division is described in detail below with reference to FIG. 5. Multiplexer configuration method steps. The solid line in Figure 5 represents the fiber, the 501, 502, 503, and 504 sites are all service sites, and the 505 is a non-business site.
步骤S302,为示例网络创建如上表1所示的以最大波道数为查询条件的波分复用器的第一配置表,和如上表2所示的以波长为查询条件的波分复用器的第二配置表。两个表的第一列都是一个范围集合,表1是最大波道数的范围集合,表2是波长的范围集合;两个表的第二列都是波分复用器的配置组合,OMD表示波分复用器,以OMD(s)i波分复用器件(或组合),下标i仅表示序号,以区别不同的OMD(s);Step S302, creating a first configuration table of the wavelength division multiplexer with the maximum number of channels as the query condition as shown in Table 1 for the example network, and wavelength division multiplexing with wavelength as the query condition as shown in Table 2 above. The second configuration table of the device. The first column of the two tables is a set of ranges, Table 1 is the set of ranges of the maximum number of channels, and Table 2 is the set of ranges of wavelengths; the second column of both tables is the configuration combination of the wavelength division multiplexer. OMD represents a wavelength division multiplexer, with OMD(s)i wavelength division multiplexing devices (or combinations), subscript i only represents serial numbers to distinguish different OMD(s);
步骤S304,根据先前OMS的定义,遍历示例网络,共有3个OMS,如图5所示,分别是501站点面向502站点一侧的波分复用器+501与502之间的光纤+502站点面向501站点一侧的波分复用器构成的OMS1,502站点面向503站点一侧的波分复用器+502与505之间的光纤+505站点+505与503之间的光纤+503站点面向502站点一侧的波分复用器构成的OMS2,以及502站点面向504站点一侧的波分复用器+502与504之间的光纤+504站点面向502站点一侧的波分复用器构成的OMS3,将OMS1和OMS2设置为最大波道数配置方 式,将OMS3设置为波长配置方式;Step S304, traversing the example network according to the definition of the previous OMS, there are 3 OMSs, as shown in FIG. 5, which are respectively 501 sites for the 502 site side of the wavelength division multiplexer + 501 and 502 between the optical fiber + 502 site The OMS1, 502 site consisting of a wavelength division multiplexer facing the 501 site side faces the 503 site side of the wavelength division multiplexer + 502 and 505 between the fiber +505 site + 505 and 503 fiber +503 site OMS2 consisting of a wavelength division multiplexer on the 502-site side, and 502 site-to-504-side wavelength division multiplexer +502 and 504 between the fiber +504 site for 502-site side wavelength division multiplexing OMS3, set OMS1 and OMS2 to the maximum number of channels , set OMS3 to the wavelength configuration mode;
步骤S306,根据配置方式的设置,集合A(即第一集合)为{OMS1,OMS2},集合B(即第二集合)为{OMS3};Step S306, according to the setting of the configuration mode, the set A (ie, the first set) is {OMS1, OMS2}, and the set B (ie, the second set) is {OMS3};
步骤S308,为集合A中的2个OMS元素配置波分复用器并记录配置结果,下面结合步骤S308-02到步骤S308-32来详细说明为集合A中的OMS配置波分复用器并记录配置结果:Step S308, configuring a wavelength division multiplexer for the two OMS elements in the set A and recording the configuration result, and configuring the wavelength division multiplexer for the OMS in the set A in detail with reference to steps S308-02 to S308-32. Record the configuration results:
步骤S308-02,同步骤S208-02;Step S308-02, the same as step S208-02;
步骤S308-04,先遍历OMS1上所有光纤;Step S308-04, first traversing all the optical fibers on the OMS1;
步骤S308-06,OMS1上只有一条光纤即501与502之间的光纤;Step S308-06, there is only one optical fiber on the OMS1, that is, an optical fiber between 501 and 502;
步骤S308-08,将501与502之间光纤的最大波道数,假设为x0,设置为OMS1最大波道数;Step S308-08, the maximum number of channels of the optical fiber between 501 and 502 is assumed to be x0, and the maximum number of channels of OMS1 is set;
步骤S308-10,OMS1上所有光纤遍历完成;Step S308-10, all fiber traversal on OMS1 is completed;
步骤S308-12,从表1所示的配置表中查找与x0相匹配的波分复用器配置,假设x0位于a—b区间范围之内,则波分复用器配置为OMD(s)2,将OMD(s)2所代表的波分复用器配置为501站点面向502站点一侧的波分复用器,以及502站点面向501站点一侧的波分复用器,并记录配置结果;Step S308-12, searching for the wavelength division multiplexer configuration matching x0 from the configuration table shown in Table 1, and assuming that x0 is within the range of a-b interval, the wavelength division multiplexer is configured as OMD(s) 2. The wavelength division multiplexer represented by OMD(s)2 is configured as a wavelength division multiplexer on the 501 site side of the 501 site, and a wavelength division multiplexer on the 501 site side of the 502 site, and records the configuration. result;
步骤S308-14,集合A未遍历完成,转至步骤S308-02;Step S308-14, the set A is not traversed, and the process goes to step S308-02;
步骤S308-16,同步骤S208-02和步骤S308-02;Step S308-16, the same as step S208-02 and step S308-02;
步骤S308-18,遍历OMS2上所有光纤;Step S308-18, traversing all the optical fibers on the OMS2;
步骤S308-20,OMS2上有两条光纤,502与505之间的光纤以及505与503之间的光纤,假设502与505之间的光纤上的最大波道数为x1,505与503之间的光纤上的最大波道数为x2,且x1>x2,假设遍历时先遍历502与505之间的光纤,则OMS2最大波道数设置为x1;转至步骤S308-22;In step S308-20, there are two optical fibers on the OMS2, an optical fiber between 502 and 505, and an optical fiber between 505 and 503. It is assumed that the maximum number of channels on the optical fiber between 502 and 505 is between x1 and 505 and 503. The maximum number of channels on the fiber is x2, and x1>x2, assuming that the fiber between 502 and 505 is traversed first, the maximum number of channels of OMS2 is set to x1; go to step S308-22;
步骤S308-22,OMS2上的光纤未遍历完成,转至步骤S308-18;Step S308-22, the optical fiber on the OMS2 is not traversed, and the process goes to step S308-18;
步骤S308-24,遍历至505与503之间的光纤,经过比较发现OMS2最大波道数大于当前的505与503之间光纤的最大波道数x2;Step S308-24, traversing to the optical fiber between 505 and 503, after comparison, the maximum number of channels of the OMS2 is greater than the maximum number of channels x2 of the fiber between the current 505 and 503;
步骤S308-26,将505与503之间光纤的最大波道数x2设置为OMS2最大波道数;Step S308-26, setting the maximum number of channels x2 of the optical fiber between 505 and 503 to the maximum number of channels of OMS2;
步骤S308-28,OMS2上所有光纤遍历完成;Step S308-28, all fiber traversal on OMS2 is completed;
步骤S308-30,从上表2所示的第二配置表中查找与x2相匹配的波分复用器配置,假设x2位于b—c区间范围之内,则波分复用器配置为OMD(s)3,将OMD(s)3所代表的波分复用器配置为502站点面向503站点一侧的波分复用器,以及503站点面向502站点一侧的波分 复用器,并记录配置结果;Step S308-30, searching for the wavelength division multiplexer configuration matched with x2 from the second configuration table shown in Table 2 above, and assuming that x2 is within the range of b-c interval, the wavelength division multiplexer is configured as OMD. (s)3, the wavelength division multiplexer represented by OMD(s)3 is configured as a wavelength division multiplexer on the side of the 503 station facing the 503 station, and the wavelength division on the side of the 503 station facing the 503 station. a multiplexer and record the configuration results;
步骤S308-32,集合A遍历完成,退出S308;Steps S308-32, the set A traversal is completed, exiting S308;
步骤S310,为集合B(即第二集合)中的OMS3配置波分复用器并记录配置结果,下面结合步骤S310-02到步骤S310-14来详细说明为集合B中的OMS配置波分复用器并记录配置结果;Step S310, configuring a wavelength division multiplexer for the OMS3 in the set B (ie, the second set) and recording the configuration result. The following describes the wave splitting for the OMS in the set B in detail in conjunction with steps S310-02 through S310-14. Use the device and record the configuration results;
步骤S310-02,同步骤S210-02。Step S310-02 is the same as step S210-02.
步骤S310-04,遍历全网业务,获取所有经过当前OMS3的业务的波长,假设为{…,λx,…}。In step S310-04, the entire network service is traversed, and the wavelengths of all services passing the current OMS3 are obtained, which are assumed to be {..., λx, .
步骤S310-06,假设当前遍历的波长为λx,从上表2所示的第二配置表中查找与λx相匹配的波分复用器配置,继续假设λx位于λi+1—λj区间范围之内,则波分复用器配置为OMD(s)j。Step S310-06, assuming that the current traversal wavelength is λx, look up the wavelength division multiplexer configuration matching λx from the second configuration table shown in Table 2, and continue to assume that λx is in the range of λi+1-λj. Inside, the wavelength division multiplexer is configured as OMD(s)j.
步骤S310-08,假设OMS3的波分复用器配置记录中未能包含OMD(s)j中全部的器件;Step S310-08, assuming that the wavelength division multiplexer configuration record of the OMS3 fails to include all the devices in the OMD(s)j;
步骤S310-10,将未包含的波分复用器添加至502站点面向504站点一侧的波分复用器,以及504站点面向502站点一侧的波分复用器配置中,并记录配置结果;Step S310-10, adding the undivided wavelength division multiplexer to the wavelength division multiplexer of the 504 site facing the 504 site side, and the 504 site facing the 502 site side of the wavelength division multiplexer configuration, and recording the configuration result;
步骤S310-12,假设OMS3上的波长遍历未完成,转至步骤S310-06,假设当前遍历的波长为λy,从表2所示的配置表中查找与λy相匹配的波分复用器配置,继续假设λy位于λj+1—λk区间范围之内,则波分复用器配置为OMD(s)k;假设OMS3的波分复用器配置记录中包含OMD(s)k中全部的器件;Step S310-12, assuming that the wavelength traversal on OMS3 is not completed, proceeding to step S310-06, assuming that the current traversal wavelength is λy, searching for the wavelength division multiplexer configuration matching λy from the configuration table shown in Table 2. , continue to assume that λy is within the range of λj+1-λk, then the wavelength division multiplexer is configured as OMD(s)k; assume that the wavelength division multiplexer configuration record of OMS3 contains all the devices in OMD(s)k ;
步骤S310-14,假设OMS3上的波长遍历已完成;集合B中只有一个OMS3,遍历完成,退出步骤S310,Step S310-14, assuming that the wavelength traversal on OMS3 has been completed; there is only one OMS3 in the set B, the traversal is completed, and step S310 is exited.
步骤S312,按上述方法配置完成后,输出波分复用器配置结果。Step S312, after the configuration is completed as described above, the wavelength division multiplexer configuration result is output.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例上述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a plurality of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the above-described methods of various embodiments of the present invention.
在本实施例中还提供了一种波分复用器的配置装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the present embodiment, a device for configuring a wavelength division multiplexer is provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是根据本发明实施例的波分复用器的配置装置的结构框图,如图6所示,该装置包 括如下模块:6 is a structural block diagram of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention, as shown in FIG. The following modules are included:
分配模块62,设置为将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与该集合为一一对应关系;The allocation module 62 is configured to allocate the optical multiplex sections OMS corresponding to different configuration modes to different sets, wherein the foregoing configuration manner is a configuration manner of the wavelength division multiplexer OMD, and the foregoing configuration manner has a one-to-one correspondence with the set. relationship;
输出模块64,与分配模块62相连,设置为针对每一上述集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息。The output module 64 is connected to the distribution module 62, and is configured to output, for each of the foregoing sets, OMD configuration information of the OMS in the set according to a configuration manner corresponding to the set.
通过上述各个模块的综合作用,分配模块62将对应不同配置方式的光复用段OMS分配到不同的集合中,输出模块64将分配模块分配好的每一集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息。采用上述技术方案,从而解决了相关技术中人工逐一配置OMD耗时且配置准确率低的问题,达到了一种能快速且准确地完成波分复用器OMD的配置效果。Through the combined action of the above modules, the distribution module 62 allocates the optical multiplex sections OMS corresponding to different configuration modes to different sets, and the output module 64 allocates each set of the allocation modules, and outputs according to the configuration mode corresponding to the set. OMD configuration information of the OMS in the above set. The above technical solution is adopted, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low, and the configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.
在一个优选的波分复用器的配置装置中,图7是根据本发明实施例的波分复用器的配置装置的分配模块62的结构框图,由图7所示,上述分配模块62,包括:In a configuration apparatus of a preferred wavelength division multiplexer, FIG. 7 is a structural block diagram of an allocation module 62 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention. As shown in FIG. 7, the distribution module 62, include:
第一分配单元622,设置为将对应最大波道数配置方式的OMS分配到第一集合中;和/或The first allocating unit 622 is configured to allocate the OMS corresponding to the maximum channel number configuration manner into the first set; and/or
第二分配单元624,设置为将对应波长配置方式的OMS分配到第二集合中。The second allocating unit 624 is configured to allocate the OMS corresponding to the wavelength configuration mode into the second set.
在一个优选的波分复用器的配置装置中,图8是根据本发明实施例的波分复用器的配置装置的输出模块64的结构框图,由图8所示,上述输出模块64,包括:In a configuration apparatus of a preferred wavelength division multiplexer, FIG. 8 is a structural block diagram of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention. The output module 64 is shown in FIG. include:
第一获取单元642,设置为获取上述第一集合中OMS上的光纤的最大波道数;The first obtaining unit 642 is configured to acquire the maximum number of channels of the optical fiber on the OMS in the first set;
第一确定单元644,与第一获取单元642相连,设置为根据上述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,上述第一配置表中最大波道数与OMD配置信息为一一对应关系。The first determining unit 644 is connected to the first obtaining unit 642, and is configured to determine, according to the maximum number of channels of the optical fiber, OMD configuration information corresponding to the maximum number of channels from a preset first configuration table, where the foregoing The maximum number of channels in a configuration table has a one-to-one correspondence with the OMD configuration information.
在一个优选的波分复用器的配置装置中,图9是根据本发明实施例的波分复用器的配置装置的输出模块64的另一结构框图,由图9所示,上述输出模块64,包括:In a configuration apparatus of a preferred wavelength division multiplexer, FIG. 9 is another structural block diagram of an output module 64 of a configuration apparatus of a wavelength division multiplexer according to an embodiment of the present invention, which is shown in FIG. 64, including:
第二获取单元646,设置为获取流经上述第二集合中OMS的所有业务的波长;The second obtaining unit 646 is configured to acquire wavelengths of all services flowing through the OMS in the second set;
第二确定单元648,与第二获取单元646相连,设置为对于每一业务,根据上述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,上述第二配置表中波长与OMD配置信息为一一对应关系。The second determining unit 648 is connected to the second obtaining unit 646, and is configured to, for each service, determine OMD configuration information corresponding to the wavelength from the preset second configuration table according to the wavelength, where the second configuration table is configured. The medium wavelength and the OMD configuration information have a one-to-one correspondence.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。 It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,配置方式为波分复用器OMD包括的配置方式,配置方式与集合为一一对应关系;S1, the optical multiplex section OMS corresponding to different configuration modes is allocated to different sets, wherein the configuration mode is a configuration mode of the wavelength division multiplexer OMD, and the configuration manner has a one-to-one correspondence with the set;
S2,针对每一集合,根据与该集合对应的配置方式输出集合中OMS的OMD配置信息。S2. For each set, output OMD configuration information of the OMS in the set according to a configuration manner corresponding to the set.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
S1,将对应最大波道数配置方式的OMS分配到第一集合中;和/或S1, the OMS corresponding to the maximum channel number configuration mode is allocated to the first set; and/or
S2,将对应波长配置方式的OMS分配到第二集合中。S2, the OMS corresponding to the wavelength configuration mode is allocated to the second set.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:获取第一集合中OMS上的光纤的最大波道数;根据光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,第一配置表中最大波道数与OMD配置信息为一一对应关系。Optionally, the storage medium is further configured to store program code for performing the steps of: obtaining a maximum number of channels of the optical fiber on the OMS in the first set; and from the preset first configuration table according to the maximum number of channels of the optical fiber The OMD configuration information corresponding to the maximum number of channels is determined, wherein the maximum number of channels in the first configuration table is in a one-to-one correspondence with the OMD configuration information.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
综上所述,本发明实施例达到了以下技术效果:解决了人工逐一配置OMD耗时且配置准确率低的问题,达到了一种能快速且准确地完成波分复用器OMD的配置效果。本方法可以自动快速配置复杂的WDM光网络,如链形、环形、及网状网的波分网络中的波分复用器,代替人力反复查找、合并的复杂过程,往往由人工配置需要几天甚至几星期之久的波分复用器的配置,在几分钟之内即可完成,并正确地输出波分复用器配置结果,避免了人为配置中数据错误导致的器件配置缺陷,为网络的规划建设提供及时有效的保障。In summary, the embodiment of the present invention achieves the following technical effects: the problem of manually configuring the OMD time-consuming and low configuration accuracy is solved, and the configuration effect of the wavelength division multiplexer OMD can be quickly and accurately completed. . The method can automatically and quickly configure a complex WDM optical network, such as a wavelength division multiplexer in a wavelength division network of a chain, a ring, and a mesh network, instead of a complicated process of repeatedly searching and merging human resources, which is often required by manual configuration. The configuration of the wavelength division multiplexer, which is even a few weeks old, can be completed in a few minutes, and the wavelength division multiplexer configuration result is correctly output, thereby avoiding device configuration defects caused by data errors in the artificial configuration. The planning and construction of the network provides timely and effective protection.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
在本发明实施例中,通过将对应不同配置方式的光复用段OMS分配到不同的集合中;针对每一集合,根据与该集合对应的配置方式输出上述集合中OMS的OMD配置信息,其中, 上述配置方式为波分复用器OMD包括的配置方式,上述配置方式与上述集合为一一对应关系,从而解决了相关技术中人工逐一配置OMD耗时且配置准确率低的问题,达到了一种能快速且准确地完成波分复用器OMD的配置效果。 In the embodiment of the present invention, the optical multiplex section OMS corresponding to different configurations is allocated to different sets. For each set, the OMD configuration information of the OMS in the set is output according to the configuration manner corresponding to the set, where The configuration mode is a configuration mode of the wavelength division multiplexer (OMD), and the foregoing configuration mode has a one-to-one correspondence with the foregoing set, thereby solving the problem that the manual configuration of the OMD is time-consuming and the configuration accuracy is low. The configuration effect of the wavelength division multiplexer OMD can be completed quickly and accurately.

Claims (10)

  1. 一种波分复用器的配置方法,包括:A method for configuring a wavelength division multiplexer includes:
    将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,所述配置方式为波分复用器OMD包括的配置方式,所述配置方式与所述集合为一一对应关系;The optical multiplex section OMS corresponding to different configuration modes is allocated to different sets, wherein the configuration mode is a configuration manner of the wavelength division multiplexer OMD, and the configuration manner has a one-to-one correspondence with the set;
    针对每一所述集合,根据与该集合对应的配置方式输出所述集合中OMS的OMD配置信息。For each of the sets, the OMD configuration information of the OMS in the set is output according to a configuration manner corresponding to the set.
  2. 根据权利要求1所述的方法,其中,将对应不同配置方式的光复用段OMS分配到不同的集合中,包括:The method according to claim 1, wherein the optical multiplex sections OMS corresponding to different configurations are allocated to different sets, including:
    将对应最大波道数配置方式的OMS分配到第一集合中;和/或Assigning an OMS corresponding to the maximum number of channels configuration to the first set; and/or
    将对应波长配置方式的OMS分配到第二集合中。The OMS corresponding to the wavelength configuration mode is assigned to the second set.
  3. 根据权利要求2所述的方法,其中,根据所述最大波道数配置方式输出第一集合中OMS的OMD配置信息,包括:The method of claim 2, wherein the outputting the OMD configuration information of the OMS in the first set according to the maximum channel number configuration manner comprises:
    获取所述第一集合中OMS上的光纤的最大波道数;Obtaining a maximum number of channels of the optical fiber on the OMS in the first set;
    根据所述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,所述第一配置表中最大波道数与OMD配置信息为一一对应关系。Determining, according to the maximum number of channels of the optical fiber, OMD configuration information corresponding to the maximum number of channels from a preset first configuration table, wherein the maximum number of channels and the OMD configuration information in the first configuration table is one A correspondence.
  4. 根据权利要求3所述的方法,其中,当所述OMS包括两个或两个以上的光纤时,获取所述第一集合中OMS上的光纤的最大波道数,包括:The method of claim 3, wherein when the OMS comprises two or more optical fibers, obtaining a maximum number of channels of the optical fibers on the OMS in the first set comprises:
    获取所述OMS中的所有光纤的波道数;Obtaining the number of channels of all the fibers in the OMS;
    将所述光纤的波道数中数值最大的波道数作为所述最大波道数。The number of channels having the largest value among the number of channels of the optical fiber is taken as the maximum number of channels.
  5. 根据权利要求2所述的方法,其中,根据所述波长配置方式输出第二集合中OMS的OMD配置信息,包括:The method of claim 2, wherein the outputting the OMD configuration information of the OMS in the second set according to the wavelength configuration manner comprises:
    获取流经所述第二集合中OMS的所有业务的波长;Obtaining wavelengths of all services flowing through the OMS in the second set;
    对于每一业务,根据所述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,所述第二配置表中波长与OMD配置信息为一一对应关系。For each service, the OMD configuration information corresponding to the wavelength is determined from the preset second configuration table according to the wavelength, wherein the wavelength in the second configuration table is in a one-to-one correspondence with the OMD configuration information.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5 wherein the method further comprises:
    在所述波长共用同一OMD时,将该波长对应的配置信息取并集;When the wavelengths share the same OMD, the configuration information corresponding to the wavelength is taken as a union;
    将所述并集包括的配置信息作为所述OMD配置信息。The configuration information included in the union is used as the OMD configuration information.
  7. 一种波分复用器的配置装置,包括:A device for configuring a wavelength division multiplexer, comprising:
    分配模块,设置为将对应不同配置方式的光复用段OMS分配到不同的集合中,其中,所述配置方式为波分复用器OMD包括的配置方式,所述配置方式与所述集合为一一对应 关系;An allocation module is configured to allocate optical multiplex sections OMS corresponding to different configuration modes to different sets, where the configuration mode is a configuration mode included in the wavelength division multiplexer OMD, and the configuration mode is one set with the set One correspondence relationship;
    输出模块,设置为针对每一所述集合,根据与该集合对应的配置方式输出所述集合中OMS的OMD配置信息。And an output module, configured to output, for each of the sets, OMD configuration information of the OMS in the set according to a configuration manner corresponding to the set.
  8. 根据权利要求7所述的装置,其中,所述分配模块,包括:The apparatus of claim 7, wherein the distribution module comprises:
    第一分配单元,设置为将对应最大波道数配置方式的OMS分配到第一集合中;或a first allocation unit, configured to allocate an OMS corresponding to a maximum channel number configuration manner to the first set; or
    第二分配单元,设置为将对应波长配置方式的OMS分配到第二集合中。The second allocation unit is configured to allocate the OMS corresponding to the wavelength configuration mode into the second set.
  9. 根据权利要求8所述的装置,其中,所述输出模块,包括:The device of claim 8, wherein the output module comprises:
    第一获取单元,设置为获取所述第一集合中OMS上的光纤的最大波道数;a first acquiring unit, configured to acquire a maximum number of channels of the optical fiber on the OMS in the first set;
    第一确定单元,设置为根据所述光纤的最大波道数从预先设置的第一配置表中确定与该最大波道数对应的OMD配置信息,其中,所述第一配置表中最大波道数与OMD配置信息为一一对应关系。a first determining unit, configured to determine, according to a maximum number of channels of the optical fiber, OMD configuration information corresponding to the maximum number of channels from a preset first configuration table, where a maximum channel in the first configuration table The number and the OMD configuration information have a one-to-one correspondence.
  10. 根据权利要求8所述的装置,其中,所述输出模块,包括:The device of claim 8, wherein the output module comprises:
    第二获取单元,设置为获取流经所述第二集合中OMS的所有业务的波长;a second obtaining unit, configured to acquire a wavelength of all services flowing through the OMS in the second set;
    第二确定单元,设置为对于每一业务,根据所述波长从预先设置的第二配置表中确定与该波长对应的OMD配置信息,其中,所述第二配置表中波长与OMD配置信息为一一对应关系。 a second determining unit, configured to determine OMD configuration information corresponding to the wavelength from the preset second configuration table according to the wavelength, where the wavelength and OMD configuration information in the second configuration table is One-to-one correspondence.
PCT/CN2016/104077 2015-12-31 2016-10-31 Configuration method and device for optical multiplexer/demultiplexer WO2017113977A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511031528.6 2015-12-31
CN201511031528.6A CN106936534A (en) 2015-12-31 2015-12-31 The collocation method and device of wavelength division multiplexer

Publications (1)

Publication Number Publication Date
WO2017113977A1 true WO2017113977A1 (en) 2017-07-06

Family

ID=59224490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104077 WO2017113977A1 (en) 2015-12-31 2016-10-31 Configuration method and device for optical multiplexer/demultiplexer

Country Status (2)

Country Link
CN (1) CN106936534A (en)
WO (1) WO2017113977A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021008503A1 (en) * 2019-07-12 2021-01-21 中国移动通信有限公司研究院 Management control method and device for new fronthaul network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534164A (en) * 2009-04-21 2009-09-16 华为技术有限公司 Method and system for transmitting signal by optical transmitting network
CN101944150A (en) * 2010-09-17 2011-01-12 烽火通信科技股份有限公司 Method for automatically generating wave channel graph by programming in wavelength division system
CN101990138A (en) * 2009-07-31 2011-03-23 华为技术有限公司 Wavelength scheduling method and device
CN102510546A (en) * 2011-11-11 2012-06-20 华为技术有限公司 Wavelength division multiplexing network resource and service display processing method and device adopting same
JP2015177402A (en) * 2014-03-17 2015-10-05 日本電気株式会社 Network system, management device, management method and management program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100459477C (en) * 2001-05-25 2009-02-04 北京邮电大学 Optical add and drop multiplexer supporting port-wavelength designation
US7081987B2 (en) * 2002-05-29 2006-07-25 Pts Corporation Coordinated control of dynamic gain equalization in a wavelength division multiplexed optical system
CN101834740B (en) * 2010-04-07 2012-02-29 烽火通信科技股份有限公司 Automatic configuration method of physical device in WDM (Wavelength Division Multiplexing) optical-fiber network
CN105119818B (en) * 2015-08-18 2018-08-03 周雪勤 A kind of method and system for establishing channel aggregate routing in dense wavelength division network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534164A (en) * 2009-04-21 2009-09-16 华为技术有限公司 Method and system for transmitting signal by optical transmitting network
CN101990138A (en) * 2009-07-31 2011-03-23 华为技术有限公司 Wavelength scheduling method and device
CN101944150A (en) * 2010-09-17 2011-01-12 烽火通信科技股份有限公司 Method for automatically generating wave channel graph by programming in wavelength division system
CN102510546A (en) * 2011-11-11 2012-06-20 华为技术有限公司 Wavelength division multiplexing network resource and service display processing method and device adopting same
JP2015177402A (en) * 2014-03-17 2015-10-05 日本電気株式会社 Network system, management device, management method and management program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021008503A1 (en) * 2019-07-12 2021-01-21 中国移动通信有限公司研究院 Management control method and device for new fronthaul network

Also Published As

Publication number Publication date
CN106936534A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
US20230261949A1 (en) Wavelength regeneration in a network
US9083485B2 (en) Defragmentation of optical networks
WO2006099023A3 (en) Method and apparatus for assigning channels to mesh portals and mesh points of a mesh network
CN111934947B (en) Speed measurement method, speed measurement scheduling server, terminal equipment and readable storage medium
WO2017113977A1 (en) Configuration method and device for optical multiplexer/demultiplexer
CN110858810B (en) Network link state monitoring method, device, system and medium
JP5900178B2 (en) System and method for calculating utilization entropy
US10348464B2 (en) Method, apparatus, and system for CoMP-based resource allocation
CN101989886A (en) Inter-site wavelength division resource statistic method and device
CN108495318B (en) Multi-cell PCI intelligent planning method based on MR data
Kennington et al. Wavelength translation in WDM networks: Optimization models and solution procedures
CN108449167B (en) PCI intelligent planning method and system based on MR data
CN109962812B (en) Electrical layer discrete service back calculation method and system
CN106301904A (en) A kind of cluster server management method and device
CN102868563A (en) Cross layer mapping management method of share risk link group
CN109889360A (en) Determine the method and device of regenerator placement location
US20120106966A1 (en) Transponder pool sizing in highly dynamic translucent wdm optical networks
CN110086642B (en) Method and device for determining network performance
US20170331764A1 (en) Scheduling traffic in a telecommunications network
CN115173939B (en) Method for determining connectivity between machine rooms and terminal equipment
Kutucu et al. The Band Collocation Problem: a Library of Problems and a Metaheuristic Approach.
TW200635401A (en) Method and apparatus for assigning channels to mesh portals and mesh points of a mesh systems
US20230063952A1 (en) Detection of single points of failure in multiple shared risk link groups
CN105049547A (en) Gateway address distributing method and device
CN107404675B (en) Optical path self-configuration method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16880768

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16880768

Country of ref document: EP

Kind code of ref document: A1