A kind of patterned optic fiber distribution relation methods of exhibiting
Technical field
The present invention relates to the transmission network field in the communications industry, for the conservation of resources scene of transmission network, more particularly to one
The patterned optic fiber distribution relation methods of exhibiting of kind.
Background technology
Existing optic fiber distribution mode has a disadvantage that:
(1)Fibre core and terminal relation data are safeguarded by way of form importing, it is necessary first to downloads template, are then based on
Every fibre core of template completion and the relation data into end equipment terminal, just at most need to fill in for the optical cable segment of 288 cores
288 × 2 datas(Fibre core both sides be required for into end terminal Cheng Duan), workload is big, and background program processing is complicated, and not
It is easy to error correction.
(2)Select AZ ends resources operated into end by way of the page, A ends by website-computer room-equipment-module-
Terminal selects step by step will be into the terminal at end, and Z ends are selected step by step by website-optical cable segment-fibre core will be into the fibre core at end, both ends difference
Carry out operating into end after selection, which is better than mode(1), but mode of operation is also partially cumbersome, for into end equipment and optical cable segment
All show not directly perceived.
The content of the invention
In order to solve problem of the prior art, the invention provides a kind of patterned optic fiber distribution relation methods of exhibiting,
It need not both fill in mass data, it is not required that have cumbersome operation, it is only necessary to deploy the beam tube in optical cable segment from figure,
The fibre core of corresponding chromatogram is selected, the terminal can Cheng Duan/batch Cheng Duan being chosen to from figure on end equipment panel, operation letter
It is single, intuitive display.
The technical solution adopted in the present invention is as follows:
A kind of patterned optic fiber distribution relation methods of exhibiting, comprises the following steps:
A, being read out from database will be into the optical cable segment data at end;
B, being read out from database will be into end into end equipment data;
C, foreground is realized on interface in the arrangement of multiple optical cable segments and optical cable segment according to the location layout algorithm of optical cable segment
The position and color of portion's beam tube and fibre core, and according to the diagram of seizure condition mark fibre core;Foreground is according to the cloth into end equipment
Office's algorithm is realized and illustrated on interface into end equipment, module, the position of terminal and state;
D, foreground is arrived according to background query fibre core, into end terminal seizure condition data, analyze fibre core in current interface
With terminal into end relation, association display is done with line;
E, foreground judges fibre core in current interface with whether also available free into end terminal, and being prompted if all occupied can not
Make end operation;
F, selected on interface the free time fibre core and the free time into end terminal, realize optical cable using into end/in batches into end function
Cheng Duan, after operating successfully, the fibre core and terminal of the interface display selection are occupied, and show connecting line between the two.
Optical cable segment data include beam tube and fibre core data, and the seizure condition data of fibre core.
The location layout algorithm of optical cable segment uses below equation:
Wherein, NY:The new Y-direction coordinate of gained after calculating;
Y:Original Y-direction coordinate;
OH:The height of optical cable segment group after opening;
CH:The height of optical cable segment group during closing.
Some beam tubes are included in optical cable segment, a beam tube includes the fibre core of 12 chromatograms, optical cable is read from database
After segment data, using optical cable segment, beam tube, the position of fibre core and color during placement algorithm decision figure shows, figure can be based on
Browse the fibre core in different beam tubes in optical cable segment.
Include fibre distribution frame, comprehensive frame, light fiber-dividing box, light cross-connecting box, fiber termination box into end equipment, into end equipment by
Module is formed, and module is made up of terminal, and after end equipment data are read into from database, figure can be based on by permutation algorithm
Browse into end equipment and module therein and terminal.
The beneficial effect that technical scheme provided by the invention is brought is:
1st, Consumer's Experience is lifted, and compared to the mode imported with form template before with interface A Z ends list selection, is used
After this method, by intuitively figure shows, easily selection operation, the system demonstration of either market-oriented personnel or face
To the operator of terminal, the satisfaction of user is all greatly improved.
2nd, data accuracy improves, and the user compared to scheme before inputs one by one, after this method, patterned choosing
The data processing automatically processed with reference to the batch on backstage is selected, makes user's input operation minimized, datamation generation, makes existing network
Data possess higher accuracy.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram of patterned optic fiber distribution relation methods of exhibiting of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
As shown in Figure 1, a kind of patterned optic fiber distribution relation methods of exhibiting of the present embodiment comprises the following steps:
1st, being read out from database will be into the optical cable segment data at end, including beam tube and fibre core data, and fibre core accounts for
Use status data.Foreground the arrangement of multiple optical cable segments and optical cable segment inner-bundle on interface are realized according to the placement algorithm of optical cable segment
Position and the color of pipe and fibre core, and according to the diagram of seizure condition mark fibre core.
2nd, being read out from database will divide into end into end equipment data, including ODF, comprehensive frame, light cross-connecting box, light
Fine case, fiber termination box, the module of ownership and into end terminal, and into end terminal seizure condition data.Foreground is according to Cheng Duanshe
Standby placement algorithm is realized and illustrated on interface into end equipment, module, the position of terminal and state.
3rd, foreground is arrived according to background query fibre core, into end terminal seizure condition data, analyze fibre core in current interface
With terminal into end relation, association display is done with line.
4th, foreground judges fibre core in current interface with whether also available free into end terminal, and being prompted if all occupied can not
Make end operation.
5th, selected on interface the free time fibre core and the free time into end terminal, realize optical cable using into end/in batches into end function
Cheng Duan, after operating successfully, the fibre core and terminal of the interface display selection are occupied, and show connecting line between the two.
Optical cable segment location layout algorithm uses equation below:
NY:The new Y-direction coordinate of gained after calculating;
Y:Original Y-direction coordinate;
OH:The height of optical cable segment group after opening;
CH:The height of optical cable segment group during closing;
The algorithm has repositioned the optical cable segment position coordinates after opening or closing, after opening, on original coordinate basis
On, increase offset.During closing, reduce offset.
The placement algorithm of inside fibre core uses following procedure when certain beam tube is opened in optical cable segment:
If (beam tube FG openings)
Beam tube FG increases offset OFFSET on original position
For each (other beam tube OFG below beam tube)
If (other beam tubes OFG openings)
Beam tube OFG interior nodes increase offset OFFSET
}else{
Beam tube OFG increase offsets OFFSET
}
}
}else{
Beam tube FG reduces offset OFFSET on original position
For each (other beam tube OFG below beam tube)
If (other beam tubes OFG openings)
Beam tube OFG interior nodes reduce offset OFFSET
}else{
Beam tube OFG reduces offset OFFSET
}
}
}
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.