CN101944150A - Method for automatically generating wave channel graph by programming in wavelength division system - Google Patents

Method for automatically generating wave channel graph by programming in wavelength division system Download PDF

Info

Publication number
CN101944150A
CN101944150A CN2010102841215A CN201010284121A CN101944150A CN 101944150 A CN101944150 A CN 101944150A CN 2010102841215 A CN2010102841215 A CN 2010102841215A CN 201010284121 A CN201010284121 A CN 201010284121A CN 101944150 A CN101944150 A CN 101944150A
Authority
CN
China
Prior art keywords
grouping
node
radio frequency
frequency channel
gauge outfit
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2010102841215A
Other languages
Chinese (zh)
Other versions
CN101944150B (en
Inventor
陈赟昌
张亨学
马坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN 201010284121 priority Critical patent/CN101944150B/en
Publication of CN101944150A publication Critical patent/CN101944150A/en
Application granted granted Critical
Publication of CN101944150B publication Critical patent/CN101944150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for automatically generating a wave channel graph by programming in a wavelength division system. The method comprises the following steps of: initializing the graph; then acquiring a node list in a system appointed by a user; initializing a graph group of a single system, a head group and a content group; performing order traversal on nodes in the node list acquired in step 1 to acquire adjacent node pairs; initializing each wave channel route hop group; acquiring each hop display state in an appointed wave channel; and finishing the character display in a light amplification section text label group and the picture display in a light amplification section service state picture group so as to finish the display of the wave channel graph. By the method of the invention, aiming at the defects that the conventional programming plotting manner needs rigorousness and carefulness on design and has high workload and complex realization and based on the characteristic that the wave channel graph has certain row regular distribution on display, the wave channel graph is automatically generated by a block splicing method and a simple and feasible realization mode of the wave channel graph is realized.

Description

A kind of programming in wavelength-division system generates the method for radio frequency channel figure automatically
Technical field
The present invention relates to the technical field that communication network planning technology and Computer Applied Technology combine, is that a kind of the programming in wavelength-division system generates the method for radio frequency channel figure automatically specifically.
Background technology
Based on OTN (optical transfer network) network, be a new generation's " digital transmission system " and " optical transport hierarchy " by the suggestion institute standard that G.872, G.709, G.798 waits a series of ITU-T (International Telecommunications Union's telecommunication standards group) based on WDM (wavelength-division multiplex technique).OTN has crossed over traditional electric territory (digital delivery) and light territory (simulation transmits), becomes the unified standard in electric territory of management and light territory.The basic object that OTN handles is the wavelength level business, is advanced to the real multi-wavelength light network stage with transmitting net.OTN combines the advantage of light territory and the processing of electric territory, and huge transmission capacity, transparent fully long the connection and the carrier-class protection of end-to-end wavelength/wavelet are provided, and is the technology of transmission broadband services of large granularities optimum, is subjected to the industry favor.
Simulation softward is optimized in the OTN network planning based on WDM, is the decision support system (DSS) of intelligent wavelength-division network and SDH (SDH (Synchronous Digital Hierarchy)) network.Be the important component part in the wavelength-division network Managed Solution, in order to the collaborative problem of management that solves Internet resources.Its final purpose is to improve utilization rate of network resource, and passes through the Operations, Administration and Maintenance state of analog simulation wavelength-division network, to obtain the healthy trend of network, for common carrier provides the decision support service.
In based on OTN network planning system, need the radio frequency channel of practical business process in transmitting optical fiber be presented in clear mode based on WDM.So,, draw the demand of network system radio frequency channel figure and just arise at the historic moment based on the existing network configuring condition.
Before the OTN network planning optimization simulation softward appearance based on WDM, the market staff often adopts manual mode for the drafting of radio frequency channel figure.Consequently, everybody respectively has on plotting mode and differs, and does not have unified graphic plotting standard.In addition, the manual drawing working time is long, and marshal data is easily made mistakes, and is difficult for error detection.
Existing OTNPlanner planning software (ASON (Automatically Switched Optical Network) planning software) can generate radio frequency channel figure automatically based on existing network state.No matter in the unification of drawing standard, draw aspect efficient and the data accuracy, all be significantly increased than manual operations.
The OTNPlanner planning software adopts the programming mode graphing.Yet aspect the programming drawing, its design varies with implementation method, and complexity is had nothing in common with each other.Conventional programming plotting mode is a benchmark with canvas coordinate, carries out series operations such as picture point, picture frame, line.The programming plotting mode of this routine needs rigorously and careful in design, and workload is big in the realization, and is comparatively complicated.
Summary of the invention
At the defective that exists in the prior art, the object of the present invention is to provide a kind of in wavelength-division system, the programming to generate the method for radio frequency channel figure automatically, programming plotting mode at routine needs rigorous and careful in design, workload is big in the realization, Fu Za shortcoming comparatively, showing the characteristics that possess certain capable shape regular distribution, adopt block splicing method to generate radio frequency channel figure automatically based on radio frequency channel figure, realized simple radio frequency channel figure implementation.
For reaching above purpose, the technical scheme that the present invention takes is:
A kind of programming in wavelength-division system generates the method for radio frequency channel figure automatically, it is characterized in that, may further comprise the steps:
Step 1, the initialization figure: by outside menu call initDiagram (),
The node sequence that interface method the getNodeList () acquisition of described initDiagram () invocation step 2 will show,
The interface method initSingleOSSGroup () of described initDiagram () invocation step 3 is according to the sequential list initialization OSS object figure grouping of node;
Step 2 according to the system of user's appointment, obtains the OSS object of this intrasystem node listing: getNodeList () by importing into, obtains the node listing in the system;
Step 3, the grouping of the figure of initialization individual system: initSingleOSSGroup () has called step 4: initialization gauge outfit group technology and step 7: initialization content packet method is divided into two parts about gauge outfit grouping and the content packet with figure;
Step 4, the grouping of initialization gauge outfit: initHeaderGroup () has carried out further segmentation to the graphic presentation of gauge outfit packets inner, wherein called step 5: the first row grouping of initialization gauge outfit, with step 6: the implementation method of initialization gauge outfit second row grouping is divided into two parts about gauge outfit first row grouping and the gauge outfit second row grouping with the gauge outfit separated graphics;
Step 5, initialization gauge outfit first row grouping: the initHeaderRowGroup_1 () realizes the graphic presentation of the gauge outfit first row packets inner;
Step 6, initialization gauge outfit second row grouping: the initHeaderRowGroup_2 () realizes the graphic presentation of the gauge outfit second row packets inner;
Step 7, initialization content packet: initContentGroup () further segments the figure of content packet partial, the number of channels in the searching loop network, this number of channels obtains by the getOCHList () method in the NetworkModel object;
At the demonstration of each radio frequency channel content, to create the radio frequency channel content of vertically arranging and show grouping, the radio frequency channel content of each row shows that the realization of grouping realizes by invocation step 8;
Step 8, each row of initialization radio frequency channel divides into groups: initOCHRowGroup () further segments the figure of each row radio frequency channel content packet part, and grouping defines to the wavelength bookmark name, and the ripple Taoist monastic name title of wavelength shows that passing through the OCH object obtains;
In addition, initOCHRowGroup () has called the interface that step 9 realizes, the node in the node listing that obtains in the step 1 is carried out order travel through, and it is right to obtain adjacent node, then to node to layout structure segment;
Step 9, the traversal node listing: the node in the node listing that obtains in the step 1 is carried out order traversal, and it is right to obtain adjacent node, for node to layout structure divide and get ready;
Called the interface method of step 10 afterwards: the grouping to affiliated each jumping of route defines to node;
Step 10, initialization radio frequency channel route each jump grouping: initRouteHopGroup () to the rapid node that obtains of previous step to the light section of putting content packet further segment, specifically be divided into two row figure groupings up and down, the word tag of the up responsible display light section of putting, be the grouping of the light section of putting word tag, the service condition of the descending responsible display light section of putting is for light is put the grouping of section business state picture;
For the grouping of the light section of putting word tag, carried out further segmentation again, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects; All be responsible for display text information in these three Drawing Objects, specifically the content of each grouping literal is obtained in the step of back;
Put the grouping of section business state picture for light, also carried out further segmentation, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects; All be responsible for Showing Picture in these three Drawing Objects, specifically the image content of each grouping obtains in the step of back;
Step 11 is obtained the show state of specifying every jumping in the radio frequency channel: getHopStatus () and is obtained in the step 10 content inserted in six grouping blocks;
According to step 10, three parts that the literal in the grouping of the light section of putting word tag shows, the right and left is: distolateral node OSNR value; Middle word segment is: professional signal type; Light is put three parts that the picture in the section business state picture grouping shows, about two service conditions that are grouped into distolateral node, the professional intermediateness that is grouped into of center section shows; This six item numbers certificate has been arranged, and radio frequency channel figure just can finish demonstration.
On the basis of technique scheme, the specific implementation of described in the step 5 graphic presentation of the gauge outfit first row packets inner having been carried out realizing is: searching loop is by the node listing that obtains in the step 1, and then, divide into groups to show by nodal analysis method acquisition nodename.
On the basis of technique scheme, the specific implementation of described in the step 6 graphic presentation of the gauge outfit second row packets inner having been carried out realizing is: searching loop is by the node listing quantity of obtaining in the step 1, figure is filled node line picture, show.
On the basis of technique scheme, six parameter values in the step 11, closely bound up with professional route, by following steps 12---step 20 obtains six item numbers in the step 11 according to service:
Step 12 is at first obtained the route list object under the NetworkModel object;
Step 13 is carried out searching loop in order to searching optical channel information by the route list that step 12 is obtained;
Step 14 is by the OCH list object under the Route object acquisition route;
Step 15 is carried out searching loop in order to searching and the optical channel business information of node to coupling by the OCH list object that step 14 is obtained;
Step 16, the ripple Taoist monastic name of the OCH object that obtains;
Step 17 judges whether the ripple Taoist monastic name obtain is consistent with the ripple Taoist monastic name of current demonstration, if unanimity then continue to search business state information, whether the inconsistent ripple Taoist monastic name that then withdraws from the next OCH object of circulation searching mates;
Step 18, according to the activestandby state of route, and institute through node state can judge bright dipping put picture in the section business state picture grouping divide into groups in the content that Shows Picture of three packet partials, be specially:
If determining professional route is main usefulness, then show with solid line; For standby, then with dashed lines shows;
If the business of route is in that node is distolateral when transit case is arranged then represent that with arrow if the right distolateral node of node is professional source or destination node, then distolateral icon is represented with round dot;
If node is distolateral is via node, and then distolateral icon is represented with square;
Detailed node side side business state display standard is represented by distolateral service condition agreement in advance;
Step 19 according to the object reference of the OCH object acquisition of obtaining OMS object wherein, comprises active, place OSNR value in the attribute of OMS object;
The left and right sides distolateral node OSNR value in the grouping of the light section of putting word tag is respectively source, the place OSNR value of this OMS object;
Step 20 obtains under it professionally according to the Route object, and then obtain this professional signal type by the definition in the business model;
The signal type parameter of the business in the grouping of the light section of putting word tag just can show like this;
So far the programming of just having finished radio frequency channel figure realizes.
The of the present invention programming in wavelength-division system generates the method for radio frequency channel figure automatically, programming plotting mode at routine needs rigorous and careful in design, workload is big in the realization, Fu Za shortcoming comparatively, the characteristics that on showing, possess certain capable shape regular distribution based on radio frequency channel figure, adopt block splicing method to generate radio frequency channel figure automatically, realized simple radio frequency channel figure implementation.
Description of drawings
The present invention has following accompanying drawing:
Fig. 1: radio frequency channel figure integral layout structure (),
Fig. 2: radio frequency channel figure integral layout structure (two),
Fig. 3: radio frequency channel figure integral layout structure (three),
Fig. 4: radio frequency channel figure integral layout structure (four),
Fig. 5: radio frequency channel figure integral layout structure (five),
Fig. 6: radio frequency channel figure integral layout structure (six),
Fig. 7: radio frequency channel figure integral layout structure (seven),
Fig. 8: radio frequency channel figure integral layout structure (eight),
Fig. 9: radio frequency channel figure integral layout structure (nine),
The final display effect figure of Figure 10: radio frequency channel figure,
Figure 11: the business model design,
Figure 12: the graphic plotting modelling,
Figure 13: draw and realize time sequential routine figure.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
The method of the invention is applicable to the graphical draw control of any support streaming layout (FlowLayout), and most at present third party GUI (graphical user interface) graphic plotting modules all support this layout type (such as the GDI/GDIPlus/AGG among the C++; Java 2D/Draw 2D among the Java).In the realization, whole figure by one by one independently fritter be spliced, the advantage of this mode is, whole process need not to pay close attention to the coordinate position of Drawing Object complicated in the drawing course, only need be concerned about the Aspect Ratio of fritter Drawing Object itself one by one, and whether transversely arranged or vertical arrangement between object and object.Thereby reduced the complexity of design and programming to the full extent.
The method of the invention is fully with figure and service detach.Be to finish pattern layout earlier fully in the realization, finish each graph block object again and should realize with which type of professional graphical representation.This mode can continue follow-up work under the prerequisite that layout is approved by the client.Thereby aspect the product payment, possess stronger intuitive and determinacy.
Simple declaration is done to each accompanying drawing by following elder generation:
Radio frequency channel figure integral layout structure shown in Figure 1 (one) is radio frequency channel figure gauge outfit and contents and distribution's structure,
Radio frequency channel figure integral layout structure shown in Figure 2 (two) is that radio frequency channel figure gauge head structure layout structure is divided, peripheral box indicating nodename grouping; The grouping of inner box indicating node line;
Radio frequency channel figure integral layout structure shown in Figure 3 (three) is that radio frequency channel node of graph title packet configuration is divided, each nodename grouping (individual node names grouping) that inner box indicating is single;
Radio frequency channel figure integral layout structure shown in Figure 4 (four) is that radio frequency channel node of graph line packet configuration is divided, each node line picture grouping (grouping of individual node line) that inner box indicating is single;
Radio frequency channel figure integral layout structure shown in Figure 5 (five) is that radio frequency channel figure content part structure is divided, the whole service conditions grouping of the every radio frequency channel of inner box indicating;
Radio frequency channel figure integral layout structure shown in Figure 6 (six) is the radio frequency channel figure single channel sub-layout structure that divides into groups, and leftmost side internal side frame table oscillography long name claims to show grouping (grouping of wavelength bookmark name); Middle square frame is partly represented radio frequency channel service conditions grouping (the light section of putting content packet) between adjacent node; Rightmost side square frame part blank is stayed surplus position grouping (blank is stayed the position grouping);
Radio frequency channel figure integral layout structure shown in Figure 7 (seven) is the sub-layout structure that divides into groups of radio frequency channel service conditions between adjacent node in the radio frequency channel figure single channel, and the first half of inner square frame is represented radio frequency channel parameter display area territory grouping (grouping of the light section of putting word tag); Inner square frame the latter half is represented radio frequency channel partial service status packet (light is put the grouping of section business state picture);
Radio frequency channel figure integral layout structure shown in Figure 8 (eight) is that parameter shows the sub-layout structure of grouping between the interior adjacent node of radio frequency channel figure single channel, inside left square frame and the grouping of right side box indicating OSNR parameter display area territory; The box indicating service rate viewing area grouping of bosom part;
Radio frequency channel figure integral layout structure shown in Figure 9 (nine) is that service condition shows the sub-layout structure of grouping between the interior adjacent node of radio frequency channel figure single channel, the distolateral service condition grouping of inside left square frame and right side box indicating; The professional line grouping of the box indicating of bosom part;
Business model shown in Figure 11 is designed to the network traffic model design;
Graphic plotting modelling shown in Figure 12 is the drafting at radio frequency channel figure, the graphic plotting model of design;
Drawing shown in Figure 13 realizes that time sequential routine figure is the drafting realization flow sequential chart of radio frequency channel figure.
The core of this method is the piecemeal splicing of figure.So according to demand, how figure is carried out partitioning placement, just seems particularly crucial.Layout for figure has only dual mode: vertical, level.The method of corresponding programming operation is the following is example:
The method name Implication
setHorizontal(false) Vertical layout
setHorizontal(true) Horizontal layout
Below whole radio frequency channel figure layout is described in detail.
1) painting canvas grouping layout
At first, the present invention is according to the characteristics of radio frequency channel figure, integral layout is divided into two large divisions up and down, specifically can be referring to Fig. 1.
In actual program, these two parts are defined as two figure groupings, are respectively HeaderGroup: gauge outfit grouping and ContentGroup: content packet.
These two figure groupings place on the root architecture of figure painting canvas, and the root layout of painting canvas adopts the vertical layout of FlowLayout.
The method that concrete programming is adopted is: setHorizontal (false): vertical layout;
2) gauge outfit grouping layout
For the gauge outfit grouping, still need to segment, just might reach the requirement of professional figure.For the division of gauge outfit grouping, adopt layout type as shown in Figure 2: as can be seen,, still divide for two stratons grouping up and down: nodename grouping and the grouping of node line for the gauge outfit grouping.Thus, the layout type of gauge outfit grouping still is set to: setHorizontal (false): vertical layout;
Determine the inside packet configuration of nodename grouping again, as shown in Figure 3: can see that the inside of nodename grouping is to be made of several parallel individual node names groupings.So the layout type of peripheral nodename grouping need be set to: setHorizontal (true): horizontal layout;
Equally, the inside packet configuration and the nodename packets inner similar of the grouping of node line, as shown in Figure 4: be to constitute by several parallel individual node line groupings.So the layout type of node line grouping here still is set to: setHorizontal (true): horizontal layout;
Its individual node line grouping width requires with individual node names grouping width in full accord.
After the Aspect Ratio of above-mentioned grouping is determined, just can in above-mentioned grouping (each grouping of gauge outfit part), fill corresponding character and picture, final real effect is with regard to as shown in Figure 4.So far, just finish the layout of gauge outfit part.
3) content packet layout
According to the display property of radio frequency channel figure, the present invention can take the streaming layout type to the content packet partial equally.As shown in Figure 5: for the content packet of outermost, its inside is set is: setHorizontal (false): vertical layout; Can see that content packet is with vertical layout type arranged distribution; The inner box indicating whole service conditions grouping of every radio frequency channel (radio frequency channel content packet).
Continue below radio frequency channel content packet inside is further segmented, as shown in Figure 6:
Father's container grouping: radio frequency channel content packet.Its layout type adopts: setHorizontal (true): horizontal layout;
Its son grouping one has three types:
1) left side square frame: the grouping of wavelength bookmark name, be responsible for disclosing solution Taoist monastic name and wavelength.
2) square frame in the middle of: the light section of putting content packet, responsible display light is put the section business content.
3) right side square frame: blank is stayed the position grouping, in order to supply graphic width, so that view picture radio frequency channel figure is consistent on width.
The relevant relation of width of node grouping in the width of each group and the gauge outfit.Be specially:
The wavelength bookmark name grouping of left side section, its width are half of individual node names grouping width in the gauge outfit grouping.
The width of the light section of the putting content packet in stage casing is set to equate with individual node names grouping width in the gauge outfit grouping.
The blank of right section is stayed a position grouping width, is set to half of individual node names grouping width in the gauge outfit grouping.
Below be that the light section of putting content packet is further segmented, specifically as shown in Figure 7: among Fig. 7, for two parts, the layout type of employing is: setHorizontal (false): vertical layout with the light section of the putting content packet branch of peripheral square frame sign;
The square frame grouping expression light section of the putting word tag grouping of the first half.
The square frame grouping expression light of the latter half is put the grouping of section business state picture.
Two grouping width equate that programming only needs to pay close attention to each grouping height.
Below be to further segmentation of the light section of putting word tag grouping, as shown in Figure 8: the light section of putting word tag packet zone has been divided into three son groupings, OSNR (Optical Signal To Noise Ratio) parameter of the display light section of putting is responsible at two ends, the left and right sides, that is: the light section of putting OSNR literal grouping, the middle display light section of putting of being responsible for is passed through professional rate behavior, that is: service rate literal grouping.
The layout type that the light section of the putting word tag packet zone of peripheral here square frame sign adopts is: setHorizontal (true): vertical layout;
The width of the two sidelight section of putting OSNR literal grouping is set to equate, the width of intermediary service speed literal grouping equals the peripheral overall width that divides into groups, and deducts the width sum of the two sidelight section of putting OSNR literal grouping.
Be the further division of light being put the grouping of section business state picture below, as shown in Figure 9: as we can see from the figure, the layout type that the light of peripheral here square frame sign is put section business state picture grouping employing is: setHorizontal (true): horizontal layout;
The both end sides grouping: the distolateral service condition labeled packet of the light section of putting according to the difference of service conditions, has different Status icons and shows, so grouping separately.
The width of the distolateral service condition labeled packet of the light section of putting of both end sides is set to equate.The width of the middle light section of putting interlude service condition labeled packet equals the peripheral overall width that divides into groups, and deducts the width sum of the distolateral service condition labeled packet of the two ends sidelight section of putting.
4) distolateral service condition agreement
In the demonstration of radio frequency channel figure,, done following regulation for the distolateral service condition of node:
5) professional show state is realized
In the design, the present invention designs with OO method, adopts the Java language realization of programming.
At first, at design aspect, need depend on an object model as the basis, the present invention is referred to as: business model.Business model has mainly defined types of objects, and the mutual relationship between object and the object.Business model of the present invention defines as shown in figure 11:
The NetworkModel object: the present invention is referred to as network model.It is a container in itself, is used for the object of all the present invention's definition in the storage networking, and these objects are stored in the container with the form of tabulation.
The OSS object: the present invention is referred to as system.The node sequence of the radio frequency channel figure that expression need be checked.A plurality of systems can be set in the network to be existed simultaneously.System has been arranged, and we just can see putting in order of node among the radio frequency channel figure.
OTS object: be referred to as the light section of putting.Represent the optical fiber that connects between adjacent two nodes.
OMS object: be referred to as optical multiplexing section.It is a kind of combination to the continuous light section of putting.The final OSNR (Optical Signal To Noise Ratio) that calculates is to be the unit statistics with the optical multiplexing section.
The Business object: expression is professional.
Route object: the route that expression is professional.
OCH object: be referred to as optical channel.The trend of the route of final service need be assigned on certain concrete optical channel.So it also is an ingredient that constitutes professional route.In addition, its wavelength of the shared light-path of definition itself also.
Node object: expression node.
It is not enough that business model is only arranged, and it can only show object and relation between objects from business, can not produce figure.So on drawing, the present invention also needs a model of supporting pattern layout.This graphical model is as shown in figure 12:
Can see that the present invention has defined an OCHDiagram object: figure root model.The OCHGroup object is only deposited in its inside: the figure grouping.The width and the height of grouping have been defined in the figure grouping.And can only deposit two class objects in the grouping: one is the OCHTextLabel object: the word tag object; Another is the OCHImageLabel object: the picture tag object.Certainly, can what not deposit in the grouping yet, use as occupy-place only for Fixed width degree and height.
The support of business model and graphical model has been arranged, and the programming that we just can finish radio frequency channel figure realizes.Specific implementation, below represent by sequential chart Figure 13:
The of the present invention programming in wavelength-division system generates the method for radio frequency channel figure automatically, may further comprise the steps:
Step 1, the initialization figure;
The main method of this step is initDiagram () method, and this method is by outside menu call.The interface method of the inner main invocation step 2 of this method: the node sequence that getNodeList () acquisition will show, and the interface method of step 3: initSingleOSSGroup () promptly divides into groups according to sequential list initialization OSS object (that is: the system) figure of node.
Step 2 according to the system of user's appointment, obtains this intrasystem node listing;
The main method of this step is getNodeList () method.The OSS object (system object) of this method by importing into obtains the node listing in the system.Can from professional model definition Figure 11, see the definition that includes in the OSS object node listing.What need here to obtain is exactly node listing in this OSS object.
Step 3, the figure grouping of initialization individual system;
The main method of this step is initSingleOSSGroup () method.This method has mainly been called step 4 as seen from Figure 13: initialization gauge outfit group technology and step 7: initialization content packet method.Be about to figure and be divided into two parts about gauge outfit grouping and the content packet, divide group objects so the present invention has defined two figures, that is: the OCHGroup Drawing Object.Concrete graphic presentation can be referring to Fig. 1.
Step 4, the grouping of initialization gauge outfit;
The main method of this step is initHeaderGroup () method.This method has been carried out further segmentation to the graphic presentation of gauge outfit packets inner.Wherein called step 5: initialization gauge outfit first row grouping and the step 6: the implementation method of the initialization gauge outfit second row grouping.Be about to the gauge outfit separated graphics and be divided into two parts about gauge outfit first row grouping and the gauge outfit second row grouping.The present invention also defined two figures at this and divided group objects, that is: the concrete graphic presentation of OCHGroup Drawing Object can be referring to Fig. 2.
Step 5, the first row grouping of initialization gauge outfit;
The main method of this step is initHeaderRowGroup_1 () method.This method realizes the graphic presentation of the gauge outfit first row packets inner.Specific implementation is: searching loop is by the node listing that obtains in the step 1, and then obtains nodename by nodal analysis method, divides into groups to show.Grouping for node shows that the present invention has defined an OCHGroup Drawing Object, and in order to reach the purpose that shows nodename, the present invention has defined an OCHTextLabel object in this OCHGroup Drawing Object, be used to show nodename.Concrete graphic presentation can be referring to Fig. 3.
Step 6, the second row grouping of initialization gauge outfit;
The main method of this step is initHeaderRowGroup_2 () method.This method realizes the graphic presentation of the gauge outfit second row packets inner.Specific implementation is: searching loop is filled node line picture by the node listing quantity of obtaining in the step 1 to figure, shows.Demonstration for the grouping of node line, the present invention is directed to each node object and defined an OCHGroup Drawing Object, be used to show the node block, in order to reach the purpose that shows the node line, the present invention has defined an OCHImageLabel object in this OCHGroup Drawing Object, be used to show the node line.Concrete graphic presentation can be referring to Fig. 4.
Step 7, the initialization content packet;
The main method of this step is initContentGroup () method.This method is further segmented the figure of content packet partial.Specific implementation is: the number of channels in the searching loop network, this number of channels can obtain by the getOCHList () method of NetworkModel object (network model object).At the demonstration of each radio frequency channel content, create the radio frequency channel content of vertically arranging and show grouping.The radio frequency channel content of each row shows that the realization of grouping realizes by invocation step 8.Concrete graphic presentation can be referring to Fig. 5.
Step 8, each row grouping of initialization radio frequency channel;
The main method of this step is initOCHRowGroup () method.This method is further segmented the figure of each row radio frequency channel content packet part.Specific implementation is: grouping defines to the wavelength bookmark name, and the ripple Taoist monastic name title of wavelength shows that can pass through OCH object (optical channel object) obtains.In addition, this method call the interface realized of step 9, the node in the node listing that obtains in the step 1 is carried out order travels through, it is right to obtain adjacent node, then to node to layout structure segment.Concrete graphic presentation can be referring to Fig. 6.
Step 9, the traversal node listing;
This method is carried out order traversal to the node in the node listing that obtains in the step 1, and it is right to obtain adjacent node, for node to layout structure divide and get ready.Called the interface method of step 10 afterwards: promptly the grouping to affiliated each jumping of route defines to node.
Step 10, each jumps grouping initialization radio frequency channel route;
The main method of this step is initRouteHopGroup () method.This method to the rapid node that obtains of previous step to the light section of putting content packet further segment, specifically be divided into two row figures groupings up and down, the word tag of the up responsible display light section of putting, the present invention is defined as the light section of putting word tag and divides into groups.The service condition of the descending responsible display light section of putting, the present invention is defined as light and puts the grouping of section business state picture.Concrete graphic presentation can be referring to Fig. 7.
For the grouping of the light section of putting word tag, carried out further segmentation again, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects.All be responsible for display text information in these three Drawing Objects,, be responsible for literal and show so in each OCHGroup Drawing Object, the present invention has defined the OCHTextLabel object for it again.The layout type of concrete figure, the content of front provides in detail.The content of concrete each grouping literal is obtained in the step of back.Figure grouping shows can be referring to Fig. 8.
Put the grouping of section business state picture for light, also carried out further segmentation, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects.All be responsible for Showing Picture in these three Drawing Objects,, be responsible for picture and show so in each OCHGroup Drawing Object, the present invention has defined the OCHImageLabel object for it again.The layout type of concrete figure, the content of front provides in detail.The image content of concrete each grouping obtains in the step of back.Figure grouping shows can be referring to Fig. 9.
Step 11 is obtained the show state of specifying every jumping in the radio frequency channel;
The main method of this step is getHopStatus () method.Core is the content that obtains in the step 10 to insert in six grouping blocks (three three spirtes groupings for the grouping of the light section of putting word tag, three put three spirtes groupings of section business state picture grouping, altogether six groupings for light).According to step 10, three parts that the literal in the grouping of the light section of putting word tag shows, the right and left is: distolateral node OSNR value.Middle word segment is: professional signal type.Light is put three parts that the picture in the section business state picture grouping shows, about two service conditions that are grouped into distolateral node, the professional intermediateness that is grouped into of center section shows.This six item numbers certificate has been arranged, and radio frequency channel figure just can finish demonstration.
Six parameter values in the step 11 (six item numbers certificate), closely bound up with professional route.The function that following steps 12---step 20 realizes all is for obtaining six item numbers in the step 11 according to service,
Step 12 is at first obtained the route list object under the NetworkModel object (network model object);
Quote about the relation between model object and object, be defined in the business model graph of a relation, specifically can be referring to Figure 11.
Step 13 is carried out searching loop in order to searching optical channel information by the route list that step 12 is obtained;
Step 14 is tabulated by the OCH object (optical channel object) that Route object (routing object) obtains under the route;
Because see there is OCH object (optical channel object) tabulation under the Route object (routing object) from the model object relation.
Step 15, OCH object (optical channel object) tabulation the carrying out searching loop by step 14 is obtained in order to search and node to the optical channel business information of coupling;
Step 16, the ripple Taoist monastic name of the OCH object that obtains (optical channel object);
This also can clearly see from business model.
Step 17 judges whether the ripple Taoist monastic name obtain is consistent with the ripple Taoist monastic name of current demonstration, if unanimity then continue to search business state information, whether the inconsistent ripple Taoist monastic name that then withdraws from the next OCH object of circulation searching (optical channel object) mates;
Step 18, according to the activestandby state of route, and institute through node state can judge bright dipping put picture in the section business state picture grouping divide into groups in the content that Shows Picture of three packet partials, be specially:
If determining professional route is main usefulness, then show with solid line; For standby, then with dashed lines shows;
If the business of route is in that node is distolateral when transit case is arranged then represent that with arrow if the right distolateral node of node is professional source or destination node, then distolateral icon is represented with round dot;
If node is distolateral is via node, and then distolateral icon is represented with square;
Detailed node side side business state display standard, reference: distolateral service condition agreement.
Step 19 is obtained the object reference of OMS object (optical multiplexing section object) wherein according to the OCH object that obtains (optical channel object), comprises active, place OSNR value in the attribute of OMS object (optical multiplexing section object);
The left and right sides distolateral node OSNR value in the grouping of the light section of putting word tag is respectively source, the place OSNR value of this OMS object (optical multiplexing section object);
Step 20 obtains its affiliated business according to Route object (routing object), and then obtains this professional signal type by the definition in the business model;
The signal type parameter of the business in the grouping of the light section of putting word tag just can show like this;
So far the programming of just having finished radio frequency channel figure realizes.
Three blocks with Fig. 9 are example below, once more, the operation steps that realizes are done concise and to the point an elaboration.
At first, the present invention can determine the sourcesink node of the corresponding business model of this block according to OSS object (that is: system object), such as, we can know that the sourcesink node is respectively: Node5 and Node3 among the figure.And, can also can know that this block display part is specified in any wavelength by the traversal of optical channel that professional route is taken, we see and are among the figure: λ 1.
Known this two classes data, we just can obtain the continuous service condition of optical fiber under this certain wavelengths of sourcesink node according to business model.These service conditions comprised professional signal type, professional route be main with or whether spare condition, professional route exist switching and optical channel to take OSNR (that is: the Optical Signal To Noise Ratio) value of optical multiplexing section.Thereby node is distolateral just can be clear and definite with which kind of icon display.Equally, these two internodal service parameters we also can access.
Figure 10 is the radio frequency channel figure sectional drawing that final planning software is realized by this method.As can be seen, generate radio frequency channel figure automatically with block splicing method and on the generation effect, can satisfy business demand fully.

Claims (4)

1. the automatic method that generates radio frequency channel figure of programming in wavelength-division system is characterized in that, may further comprise the steps:
Step 1, the initialization figure: by outside menu call initDiagram (),
The node sequence that interface method the getNodeList () acquisition of described initDiagram () invocation step 2 will show,
The interface method initSingleOSSGroup () of described initDiagram () invocation step 3 is according to the sequential list initialization OSS object figure grouping of node;
Step 2 according to the system of user's appointment, obtains the OSS object of this intrasystem node listing: getNodeList () by importing into, obtains the node listing in the system;
Step 3, the grouping of the figure of initialization individual system: initSingleOSSGroup () has called step 4: initialization gauge outfit group technology and step 7: initialization content packet method is divided into two parts about gauge outfit grouping and the content packet with figure;
Step 4, the grouping of initialization gauge outfit: initHeaderGroup () has carried out further segmentation to the graphic presentation of gauge outfit packets inner, wherein called step 5: the first row grouping of initialization gauge outfit, with step 6: the implementation method of initialization gauge outfit second row grouping is divided into two parts about gauge outfit first row grouping and the gauge outfit second row grouping with the gauge outfit separated graphics;
Step 5, initialization gauge outfit first row grouping: the initHeaderRowGroup_1 () realizes the graphic presentation of the gauge outfit first row packets inner;
Step 6, initialization gauge outfit second row grouping: the initHeaderRowGroup_2 () realizes the graphic presentation of the gauge outfit second row packets inner;
Step 7, initialization content packet: initContentGroup () further segments the figure of content packet partial, the number of channels in the searching loop network, this number of channels obtains by the getOCHList () method in the NetworkModel object;
At the demonstration of each radio frequency channel content, to create the radio frequency channel content of vertically arranging and show grouping, the radio frequency channel content of each row shows that the realization of grouping realizes by invocation step 8;
Step 8, each row of initialization radio frequency channel divides into groups: initOCHRowGroup () further segments the figure of each row radio frequency channel content packet part, and grouping defines to the wavelength bookmark name, and the ripple Taoist monastic name title of wavelength shows that passing through the OCH object obtains;
In addition, initOCHRowGroup () has called the interface that step 9 realizes, the node in the node listing that obtains in the step 1 is carried out order travel through, and it is right to obtain adjacent node, then to node to layout structure segment;
Step 9, the traversal node listing: the node in the node listing that obtains in the step 1 is carried out order traversal, and it is right to obtain adjacent node, for node to layout structure divide and get ready;
Called the interface method of step 10 afterwards: the grouping to affiliated each jumping of route defines to node;
Step 10, initialization radio frequency channel route each jump grouping: initRouteHopGroup () to the rapid node that obtains of previous step to the light section of putting content packet further segment, specifically be divided into two row figure groupings up and down, the word tag of the up responsible display light section of putting, be the grouping of the light section of putting word tag, the service condition of the descending responsible display light section of putting is for light is put the grouping of section business state picture;
For the grouping of the light section of putting word tag, carried out further segmentation again, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects; All be responsible for display text information in these three Drawing Objects, specifically the content of each grouping literal is obtained in the step of back;
Put the grouping of section business state picture for light, also carried out further segmentation, specifically be divided into three spirte groupings, promptly defined three OCHGroup Drawing Objects; All be responsible for Showing Picture in these three Drawing Objects, specifically the image content of each grouping obtains in the step of back;
Step 11 is obtained the show state of specifying every jumping in the radio frequency channel: getHopStatus () and is obtained in the step 10 content inserted in six grouping blocks;
According to step 10, three parts that the literal in the grouping of the light section of putting word tag shows, the right and left is: distolateral node OSNR value; Middle word segment is: professional signal type; Light is put three parts that the picture in the section business state picture grouping shows, about two service conditions that are grouped into distolateral node, the professional intermediateness that is grouped into of center section shows; This six item numbers certificate has been arranged, and radio frequency channel figure just can finish demonstration.
2. as claimed in claim 1 the programming in wavelength-division system generates the method for radio frequency channel figure automatically, it is characterized in that: the specific implementation of described in the step 5 graphic presentation of the gauge outfit first row packets inner having been carried out realizing is: searching loop is by the node listing that obtains in the step 1, and then, divide into groups to show by nodal analysis method acquisition nodename.
3. as claimed in claim 1 the programming in wavelength-division system generates the method for radio frequency channel figure automatically, it is characterized in that: the specific implementation of described in the step 6 graphic presentation of the gauge outfit second row packets inner having been carried out realizing is: searching loop is by the node listing quantity of obtaining in the step 1, figure is filled node line picture, show.
4. generate the method for radio frequency channel figure automatically as claim 1 or 2 or 3 described in wavelength-division system, programmings, it is characterized in that: six parameter values in the step 11, closely bound up with professional route, by following steps 12---step 20 obtains six item numbers in the step 11 according to service:
Step 12 is at first obtained the route list object under the NetworkModel object;
Step 13 is carried out searching loop in order to searching optical channel information by the route list that step 12 is obtained;
Step 14 is by the OCH list object under the Route object acquisition route;
Step 15 is carried out searching loop in order to searching and the optical channel business information of node to coupling by the OCH list object that step 14 is obtained;
Step 16, the ripple Taoist monastic name of the OCH object that obtains;
Step 17 judges whether the ripple Taoist monastic name obtain is consistent with the ripple Taoist monastic name of current demonstration, if unanimity then continue to search business state information, whether the inconsistent ripple Taoist monastic name that then withdraws from the next OCH object of circulation searching mates;
Step 18, according to the activestandby state of route, and institute through node state can judge bright dipping put picture in the section business state picture grouping divide into groups in the content that Shows Picture of three packet partials, be specially:
If determining professional route is main usefulness, then show with solid line; For standby, then with dashed lines shows;
If the business of route is in that node is distolateral when transit case is arranged then represent that with arrow if the right distolateral node of node is professional source or destination node, then distolateral icon is represented with round dot;
If node is distolateral is via node, and then distolateral icon is represented with square;
Detailed node side side business state display standard is represented by distolateral service condition agreement in advance;
Step 19 according to the object reference of the OCH object acquisition of obtaining OMS object wherein, comprises active, place OSNR value in the attribute of OMS object;
The left and right sides distolateral node OSNR value in the grouping of the light section of putting word tag is respectively source, the place OSNR value of this OMS object;
Step 20 obtains under it professionally according to the Route object, and then obtain this professional signal type by the definition in the business model;
The signal type parameter of the business in the grouping of the light section of putting word tag just can show like this;
So far the programming of just having finished radio frequency channel figure realizes.
CN 201010284121 2010-09-17 2010-09-17 Method for automatically generating wave channel graph by programming in wavelength division system Active CN101944150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010284121 CN101944150B (en) 2010-09-17 2010-09-17 Method for automatically generating wave channel graph by programming in wavelength division system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010284121 CN101944150B (en) 2010-09-17 2010-09-17 Method for automatically generating wave channel graph by programming in wavelength division system

Publications (2)

Publication Number Publication Date
CN101944150A true CN101944150A (en) 2011-01-12
CN101944150B CN101944150B (en) 2013-12-25

Family

ID=43436140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010284121 Active CN101944150B (en) 2010-09-17 2010-09-17 Method for automatically generating wave channel graph by programming in wavelength division system

Country Status (1)

Country Link
CN (1) CN101944150B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510546A (en) * 2011-11-11 2012-06-20 华为技术有限公司 Wavelength division multiplexing network resource and service display processing method and device adopting same
CN102710323A (en) * 2012-05-11 2012-10-03 中兴通讯股份有限公司 Wavelength tag collision detection method and device, and wavelength tag receiving equipment
WO2017113977A1 (en) * 2015-12-31 2017-07-06 中兴通讯股份有限公司 Configuration method and device for optical multiplexer/demultiplexer
CN108833165A (en) * 2018-06-15 2018-11-16 中国联合网络通信集团有限公司 A kind of Optical Transmission Network OTN wavelength-division system radio frequency channel automatic editing method and device
CN110995460A (en) * 2019-10-16 2020-04-10 北京直真科技股份有限公司 Method for presenting OTN channel organization chart based on basic configuration data of OMC northbound interface
CN114040275A (en) * 2021-11-05 2022-02-11 中国联合网络通信集团有限公司 Method and device for configuring optical transmission network channel, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1369983A (en) * 2002-01-24 2002-09-18 北京邮电大学 Method for simulating WDM optical network
US20030112958A1 (en) * 2001-12-13 2003-06-19 Luc Beaudoin Overlay view method and system for representing network topology
CN101442363A (en) * 2008-12-31 2009-05-27 北京亿阳信通软件研究院有限公司 Method and apparatus for revealing light path design graph
CN101834740A (en) * 2010-04-07 2010-09-15 烽火通信科技股份有限公司 Automatic configuration method of physical device in WDM (Wavelength Division Multiplexing) optical-fiber network
CN101834735A (en) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 Display method and display device of large-scale network node topological structure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112958A1 (en) * 2001-12-13 2003-06-19 Luc Beaudoin Overlay view method and system for representing network topology
CN1369983A (en) * 2002-01-24 2002-09-18 北京邮电大学 Method for simulating WDM optical network
CN101442363A (en) * 2008-12-31 2009-05-27 北京亿阳信通软件研究院有限公司 Method and apparatus for revealing light path design graph
CN101834735A (en) * 2009-03-11 2010-09-15 北京启明星辰信息技术股份有限公司 Display method and display device of large-scale network node topological structure
CN101834740A (en) * 2010-04-07 2010-09-15 烽火通信科技股份有限公司 Automatic configuration method of physical device in WDM (Wavelength Division Multiplexing) optical-fiber network

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510546A (en) * 2011-11-11 2012-06-20 华为技术有限公司 Wavelength division multiplexing network resource and service display processing method and device adopting same
CN102710323A (en) * 2012-05-11 2012-10-03 中兴通讯股份有限公司 Wavelength tag collision detection method and device, and wavelength tag receiving equipment
WO2013166987A1 (en) * 2012-05-11 2013-11-14 中兴通讯股份有限公司 Wavelength label conflict detection method and device and wavelength label receiving device
CN102710323B (en) * 2012-05-11 2015-06-03 中兴通讯股份有限公司 Wavelength tag collision detection method and device, and wavelength tag receiving equipment
WO2017113977A1 (en) * 2015-12-31 2017-07-06 中兴通讯股份有限公司 Configuration method and device for optical multiplexer/demultiplexer
CN108833165A (en) * 2018-06-15 2018-11-16 中国联合网络通信集团有限公司 A kind of Optical Transmission Network OTN wavelength-division system radio frequency channel automatic editing method and device
CN108833165B (en) * 2018-06-15 2021-06-04 中国联合网络通信集团有限公司 Automatic channel arranging method and device for optical transmission network wavelength division system
CN110995460A (en) * 2019-10-16 2020-04-10 北京直真科技股份有限公司 Method for presenting OTN channel organization chart based on basic configuration data of OMC northbound interface
CN110995460B (en) * 2019-10-16 2022-07-01 北京直真科技股份有限公司 Method for presenting OTN channel organization chart based on basic configuration data of OMC northbound interface
CN114040275A (en) * 2021-11-05 2022-02-11 中国联合网络通信集团有限公司 Method and device for configuring optical transmission network channel, electronic equipment and storage medium
CN114040275B (en) * 2021-11-05 2023-06-13 中国联合网络通信集团有限公司 Configuration method and device of optical transmission network channel, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN101944150B (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN101944150B (en) Method for automatically generating wave channel graph by programming in wavelength division system
Orlowski et al. SNDlib 1.0—Survivable network design library
CN105874743B (en) Service provider network migratory system and method
US9112789B2 (en) Method and apparatus for simplifying planning and tracking of multiple installation configurations
CN104683488B (en) Streaming computing system and its dispatching method and device
CN102819557B (en) Data query treating apparatus and data query disposal route
CN100531052C (en) Method for analyzing root warning for multi-manufacturer DWDM network management system
CN105072035A (en) Method and system for generating atomized route of optical transport network
CN109447549A (en) A kind of method and relevant apparatus that material position is determining
CN110490440A (en) Service on buses or trains Routing Scheme and value multiply the optimization method and device of the integrated establishment of plan
Zheng et al. Dependence-aware service function chain embedding in optical networks
US20030011846A1 (en) Method and apparatus for network link planning
Żukowski et al. Cost analysis of rural roll-out using a long-reach passive optical network: trading off the upfront cost under uncertainty of the user take-up rate
CN1983953A (en) Method for searching path in network layer and network transmission managing system
JP5811764B2 (en) Demand accommodation design method and demand accommodation design system
CN101466051B (en) Method and apparatus for searching business route
CN102006138A (en) Method for automatically generating wavelength division transmission system diagram in optical network planning system and device thereof
CN103309965B (en) A kind of system and method that globality processing platform is provided for optical cable network design
CN110401556B (en) Visual automatic scheduling device of IDC computer lab cable
Jaumard et al. Migration plan with minimum overall migration time or cost
Chu et al. Using Ant Colony Optimization to design GPON-FTTH networks with aggregating equipment
CN111787433A (en) Optical distribution network visual light path scheduling method and system
Belotti et al. Multicommodity network design with discrete node costs
CN106844467A (en) Method for exhibiting data and device
CN100499534C (en) Implementing method for optimizing multiple services in optical synchronization data transmission network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant