CN102752153B - A kind of method of dynamic generation ONU panel figure - Google Patents

A kind of method of dynamic generation ONU panel figure Download PDF

Info

Publication number
CN102752153B
CN102752153B CN201210259962.XA CN201210259962A CN102752153B CN 102752153 B CN102752153 B CN 102752153B CN 201210259962 A CN201210259962 A CN 201210259962A CN 102752153 B CN102752153 B CN 102752153B
Authority
CN
China
Prior art keywords
port
indicator light
onu
panel
pon
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.)
Active
Application number
CN201210259962.XA
Other languages
Chinese (zh)
Other versions
CN102752153A (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 CN201210259962.XA priority Critical patent/CN102752153B/en
Publication of CN102752153A publication Critical patent/CN102752153A/en
Application granted granted Critical
Publication of CN102752153B publication Critical patent/CN102752153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a kind of method of dynamic generation ONU panel figure, when the quantity of himself working station indicator of different ONU equipment is all identical with title, and the quantity of each self-corresponding indicator light of each port type included by different ONU equipment and title homogeneous phase are simultaneously, according to ONU panel figure information definition, according to order from left to right, first self indicator light of the ONU equipment in ONU panel figure is generated, then the indicator light of PON port and correspondence thereof is generated, finally generate the indicator light of non-PON port and correspondence thereof, and the indicator light of non-PON port and correspondence thereof generates at most two rows.The present invention, effectively reduce the resource consumption of network management system, improve the speed of service of system, decrease the workload of adding script and test, ensure that the accuracy that ONU panel figure generates, the demand of ONU panel figure Presentation Function in network management system can better be met, reduce the complexity of network management system, improve operating efficiency.

Description

A kind of method of dynamic generation ONU panel figure
Technical field
The present invention relates to technical field of network management, is a kind of method of dynamic generation ONU panel figure specifically.
Background technology
Along with the progress of the communication technology and the propelling of the integration of three networks, user has had higher demand to broadband services, ADSL and LAN access in the past can not meet the demand of user's high bandwidth, multi service access.And ONU(optical network unit) as the equipment providing terminal traffic, along with the variation of the market demand, kind also increases gradually, therefore manage better and check the function that ONU running status has become network management system indispensable.
In existing network management system, usually by increasing ONU panel figure Presentation Function, the function presenting ONU equipment running status in real time can be provided.Of a great variety due to ONU on market, manufacturer is also a lot, in order to adapt to the demand of market diversification, be necessary to adopt unified, easily mode go to generate ONU panel figure, to reduce the complexity of network management system, increase work efficiency.
The method generating ONU panel figure in existing network management system is:
The first step, according to the demand analysis of the market business, determines port type and the port number of newly-increased ONU;
Second step, the panel figure of customization ONU shows demand, and generates display prototype figure;
3rd step, by the information write script files such as the position of the port type of ONU, port and its indicator light reference axis (comprising X-axis and Y-axis), words direction and bright light color;
4th step, reads the information such as port type that script file arranges, the position of port and its indicator light reference axis (comprising X-axis and Y-axis), words direction and bright light color, carries out debugging that ONU panel figure shows, test.
The information of the port type wherein write in script file, port and its indicator light reference axis (comprising X-axis and Y-axis) is inaccurate, and user needs continuous debugging just can generate suitable ONU panel figure.
The method that this kind generates ONU panel figure lacks unified generating mode, and every money ONU needs the script file writing a set of correspondence, intricate operation and accuracy is not high, is unfavorable for the operation of network management system, maintenance and management.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of method of dynamic generation ONU panel figure, effectively reduce the resource consumption of network management system, improve the speed of service of system, decrease the workload of adding script and test, ensure that the accuracy that ONU panel figure generates, the demand of ONU panel figure Presentation Function in network management system can better be met, reduce the complexity of network management system, improve operating efficiency.
For reaching above object, the technical scheme that the present invention takes is:
A method of dynamic generation ONU panel figure, is characterized in that, dynamically generates ONU panel figure as follows:
Step 1, ONU panel figure information definition;
(1) self indicator light quantity of ONU equipment is 2, and title is respectively power lights PWR, registration lamp REG;
(2) each port of ONU is different according to business, is at least divided into PON port and non-PON port two kinds of port types, and described non-PON port segmentation then comprises: POTS port, USB port, CATV port, e1 port, FXS port, LAN port and WAN port;
(3) quantity of the indicator light that PON port is corresponding is 2, and title is respectively signal lamp ACT and operating state lamp LOS;
(4) quantity of the indicator light that non-PON port is corresponding is 1, and title is link light LINK;
Step 2, first generates self indicator light of the ONU equipment in ONU panel figure, then generates the indicator light of PON port and correspondence thereof, finally generate the indicator light of non-PON port and correspondence thereof;
According to ONU panel figure information definition, according to order from left to right, on ONU panel figure, first generate power lights PWR and the registration lamp REG of ONU equipment, the signal lamp ACT of regeneration PON port and its correspondence and operating state lamp LOS, finally generates the link light LINK of each non-PON port and its correspondence successively.
On the basis of technique scheme, in step 2, after the icon first generating the indicator light corresponding with port type and title, the port icon that regeneration is corresponding with port type and title.
On the basis of technique scheme, generate port icon and title, the icon of the indicator light corresponding with port type and title time, at least to obtain following information:
The coordinate figure of port, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis, and concrete numerical value sets according to shown position on panel,
The numbering of port, numbers by same rule ordering, and concrete rule is not limit,
The color of port, agreement green represents port and is in state of activation, can proper communication, and grey represents port and do not activate, cannot proper communication,
The coordinate figure of the indicator light corresponding with port type, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis,
The numbering of the indicator light corresponding with port type, numbers by same rule ordering, and concrete rule is not limit, and the rule of indicator light numbering should be different from the rule of port numbering,
The title of the indicator light corresponding with port type, the port type according to ONU equipment reality is determined,
The color of the indicator light corresponding with port type, obtaining indicator light bright light color when communicating with ONU equipment, wherein: be red when operating state lamp LOS is bright, representing that ONU does not receive light signal, be all green when other indicator light is bright, represent respective port and be in normal operating conditions.
On the basis of technique scheme, before generating all corresponding with port type indicator light, the total quantity of the indicator light corresponding with port type is first calculated according to the quantity of ONU all of the port, the display width required for all corresponding with the port type indicator light of display is calculated again according to the spacing value between each port of ONU, if be no more than the single maximum display width that ONU panel figure sets, then all corresponding with port type indicator light is generated as a row; If exceeded, then the indicator light that PON port is corresponding is raw in a row, and often kind of non-PON port is all generated as two rows.
The method of dynamic generation ONU panel figure of the present invention, so that " quantity of himself working station indicator of different ONU equipment is all identical with title, and the quantity of each self-corresponding indicator light of each port type included by different ONU equipment is all identical with title " premised on, adopt unified generating algorithm, according to ONU panel figure information definition, according to order from left to right, first self indicator light (power lights PWR and registration lamp REG) of the ONU equipment in ONU panel figure is generated, then the indicator light (signal lamp ACT and operating state lamp LOS) of PON port and correspondence thereof is generated, finally generate the indicator light (link light LINK) of non-PON port and correspondence thereof, and the indicator light of non-PON port and correspondence thereof generates at most two rows.The present invention effectively reduces the resource consumption of network management system, improve the speed of service of system, decrease the workload of adding script and test, ensure that the accuracy that ONU panel figure generates, the demand of ONU panel figure Presentation Function in network management system can better be met, reduce the complexity of network management system, improve operating efficiency.
Accompanying drawing explanation
The present invention has following accompanying drawing:
Fig. 1 is ONU panel map generalization algorithm flow chart,
Fig. 2 generates port and the indicator light flow chart of PON type,
Fig. 3 generates port and the indicator light flow chart of non-PON type,
Fig. 4 is ONU panel figure single indicator light display result figure,
Fig. 5 is ONU panel figure double indicator light display result figure.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Similar based on current various types of ONU equipment networking mode, the port type of the port just in ONU equipment and slightly difference different with number, therefore the quantity when himself working station indicator of different ONU equipment is all identical with title, and the quantity of each self-corresponding indicator light of each port type included by different ONU equipment and title homogeneous phase are simultaneously, the method dynamically generating ONU panel figure comparatively flexibly that the present invention can be adopted to provide, adopt unified generating algorithm (such as: write the unified generating algorithm of codes implement with C++ programming language), decrease the workload of adding script and test, ensure that the accuracy that ONU panel figure generates.
As shown in Figure 4,5, " quantity of himself working station indicator of different ONU equipment is all identical with title, and the quantity of each self-corresponding indicator light of each port type included by different ONU equipment is all identical with title " of the present invention refers to:
Self working station indicator quantity of ONU equipment is 2, and title is respectively power lights PWR, registration lamp REG;
In described ONU equipment, the port type of each port has:
The port (i.e. PON port) of PON type, the quantity of corresponding indicator light is 2, and title is respectively signal lamp ACT and operating state lamp LOS;
The port (i.e. non-PON port, can be subdivided into: POTS port, USB port, CATV port, e1 port, FXS port, LAN port and WAN port) of non-PON type, the quantity of corresponding indicator light is 1, and title is link light LINK.
The present invention gives a kind of method of dynamic generation ONU panel figure, when the quantity of himself working station indicator of different ONU equipment is all identical with title, and the quantity of each self-corresponding indicator light of each port type included by different ONU equipment and title homogeneous phase are simultaneously, dynamically generate ONU panel figure as follows:
Step 1, ONU panel figure information definition;
(1) self indicator light quantity of ONU equipment is 2, and title is respectively power lights PWR, registration lamp REG;
(2) each port of ONU is different according to business, is at least divided into PON port and non-PON port two kinds of port types, and described non-PON port segmentation then comprises: POTS port, USB port, CATV port, e1 port, FXS port, LAN port and WAN port;
(3) quantity of the indicator light that PON port is corresponding is 2, and title is respectively signal lamp ACT and operating state lamp LOS;
(4) quantity of the indicator light that non-PON port is corresponding is 1, and title is link light LINK;
ONU panel figure information definition can be stored in the file of the forms such as XML and call for when dynamically generating, and realizes unified adjustment when being also convenient to change by independent this file of amendment;
Step 2, first generates self indicator light of the ONU equipment in ONU panel figure, then generates the indicator light of PON port and correspondence thereof, finally generate the indicator light of non-PON port and correspondence thereof;
According to ONU panel figure information definition, according to order from left to right, on ONU panel figure, first generate the power lights PWR of ONU equipment and self working station indicator of registration lamp REG(ONU equipment), the signal lamp ACT of regeneration PON port and its correspondence and indicator light corresponding to operating state lamp LOS(PON port), finally generate the indicator light that the link light LINK(non-PON port of each non-PON port and its correspondence is corresponding successively);
Wherein, as shown in Figure 4,5:
Described power lights PWR is different with the X-coordinate of registration lamp REG, and Y-coordinate is identical, is positioned at the ONU panel figure leftmost side;
The signal lamp ACT that PON port is corresponding is vertical with operating state lamp LOS to be put, and X-coordinate is identical and be positioned at the right side of self indicator light of ONU equipment, above and below the Y-coordinate of self indicator light being positioned at ONU equipment of Y-coordinate symmetry;
The link light LINK that non-PON port is corresponding is positioned at the right side of indicator light corresponding to PON port, and the quantity of the link light LINK that non-PON port is corresponding depends on the quantity of non-PON port, at least a row, maximum two rows.
On the basis of technique scheme, because there is the corresponding relation of " quantity of the indicator light that PON port is corresponding is 2; title is respectively signal lamp ACT and operating state lamp LOS; the quantity of the indicator light that non-PON port is corresponding is 1; title is link light LINK " this port type and indicator light, so in step 2, after the icon first generating the indicator light corresponding with port type and title, the port icon that regeneration is corresponding with port type and title;
Wherein:
The signal lamp ACT that PON port is corresponding is vertical with operating state lamp LOS to be put, and indicator light title is positioned at the left side of indicator light icon, and port icon is positioned at the right side of signal lamp ACT and operating state lamp LOS, and port title is positioned at the below of port icon;
The link light LINK that non-PON port is corresponding, its indicator light title is positioned at the top of indicator light icon, and port icon is positioned at the below of indicator light icon, and port title is positioned at the below of port icon.
On the basis of technique scheme, generate port icon and title, the icon of the indicator light corresponding with port type and title time, at least to obtain following information:
The coordinate figure of port, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis, and concrete numerical value sets according to shown position on panel,
The numbering of port, numbers by same rule ordering, and concrete rule is not limit, can determine as required, rule in Fig. 4,5 is: port type+[n], n are sequence number, n=1,2,3,4 ..., such as: the port numbering of e1 port is then: E1 [1], E1 [2], E1 [3] ... the port numbering of FXS port is then: FXS [1], FXS [2], FXS [3]
The color of port, agreement green represents port and is in state of activation, can proper communication, and grey represents port and do not activate, cannot proper communication,
The coordinate figure of the indicator light corresponding with port type, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis, and concrete numerical value sets according to shown position on panel,
The numbering of the indicator light corresponding with port type, numbers by same rule ordering, and concrete rule is not limit, can determine as required, the rule of indicator light numbering should be different from the rule of port numbering, and numbering object is the indicator light bright light color that convenient transmitting-receiving and parsing ONU equipment send
The title of the indicator light corresponding with port type, the port type according to ONU equipment reality is determined,
The color of the indicator light corresponding with port type, obtaining indicator light bright light color when communicating with ONU equipment, wherein: be red when operating state lamp LOS is bright, representing that ONU does not receive light signal, be all green when other indicator light is bright, represent respective port and be in normal operating conditions.
On the basis of technique scheme, before generating all corresponding with port type indicator light, the total quantity of the indicator light corresponding with port type is first calculated according to the quantity of ONU all of the port, the display width required for all corresponding with the port type indicator light of display is calculated again according to the spacing value between each port of ONU, if be no more than the single maximum display width that ONU panel figure sets, then all corresponding with port type indicator light is generated as a row, see Fig. 4; If exceeded, then the indicator light that PON port is corresponding is raw in a row, and often kind of non-PON port is all generated as two rows, see Fig. 5, first generates first row, regeneration second row.
It is below a specific embodiment.
Fig. 1 describes the flow chart that ONU all of the port and all indicator lights (comprising self working station indicator of ONU equipment, indicator light that PON port is corresponding, indicator light that non-PON port is corresponding) generate.
The first step: self working station indicator generating ONU equipment.
The power lights PWR information of ONU equipment is set, arranging lamp number initial value is 1, the coordinate figure of the X-axis of power lights PWR is that move to right regular length SPACE_X value with the coordinate figure of the initial point X-axis of panel figure for starting point, and the coordinate figure of the Y-axis of power lights PWR is the half of panel figure width;
Generate the power lights PWR of ONU equipment by above-mentioned information (referring to coordinate figure), X-coordinate is next time set and moves to right regular length SPACE_X value;
The registration lamp REG information of ONU equipment is set, lamp number is set and adds 1, the coordinate figure registering the X-axis of lamp REG is that move to right regular length SPACE_X value with the coordinate figure of the X-axis of power lights PWR as starting point, and the coordinate figure of the Y-axis of registration lamp REG is the half of panel figure width;
Generate the registration lamp REG of ONU equipment by above-mentioned information, X-coordinate is next time set and moves to right regular length SPACE_X value;
Described regular length SPACE_X value is for calculating the spacing value in the same horizontal line between two indicator lights, because this spacing value between different indicator light is change, spacing value between two adjacent indicator lights can the same can be different, size can be shown according to panel on interface and need setting;
Second step: judge whether to need to generate double indicator light.
According to the information of user configured ONU equipment, obtain the port number (number) of current ONU equipment, the port type of each port and port title;
According to the port number of the ONU equipment obtained, travel through the port of all ONU, and whether the port type judging each port is PON port,
When the port type of certain port is PON port, then lamp number is added 2, X-coordinate is set simultaneously and moves to right SPACE_X length, and by the variable vecPonPort of this information stored in self-defining vector Container Type;
When the port type of certain port is non-PON port, then lamp number is added 1, arrange X-coordinate to move to right SPACE_X length simultaneously, and according to the segmentation of non-PON port by the variable container of different non-PON port types stored in each self-corresponding self-defining vector Container Type, dissimilar non-PON port be named otherwise with, hereinafter for convenience, illustrate with the wherein a certain non-PON port variable vecOtherPort stored in self-defining vector Container Type; Why generate for non-PON port needs stored in container corresponding to respective port type, and reason is the number in order to calculate every type port one row display when port is arranged in generation two;
When after the port having traveled through all ONU equipment, judge whether lower X-coordinate value is greater than the panel Breadth Maximum value of setting, if be greater than, then need non-PON port to divide by port type and that the port of same port type is generated into is double; Otherwise only need generation in a row.Current algorithm only processes double situation, does not temporarily consider more than two rows'.And all of the port lamp of an ONU can be shown according to current ONU type two bank light number.
3rd step: generate all PON ports and the indicator light of correspondence thereof, concrete steps are see Fig. 2.First take out the container vecPonPort value arranged in second step, take out the port of vecPonPort successively, judge whether port exists.If do not exist, then complete all ports of PON type and the generation of indicator light.If exist, arrange the lamp numbering of PON port ACT indicator light, the relevant informations such as text importing position, arrange ACT indicator light X, Y-coordinate position simultaneously.Be the value set in the first step by X-coordinate, Y-coordinate is registered on the Y-coordinate basis of lamp REG lamp at dish and is moved SPACE_Y length, then generates ACT lamp.(wherein regular length SPACE_Y value is two direct spacing of lamp on ordinate, can arrange according to concrete panel height.) then start to generate LOS indicator light, first arrange the lamp numbering of LOS indicator light, the relevant informations such as text importing position, X-coordinate is the same with ACT lamp, and Y-coordinate moves down 2 SPACE_Y length on ACT lamp basis, regeneration LOS indicator light.Finally move to right X-coordinate on ACT lamp basis SPACE_X length, Y-coordinate on ACT lamp basis on move SPACE_Y length, PON port can be generated on panel by the coordinate of XY.Continue to get next port information, the step repeated above generates port and indicator light.
4th step: generate all non-PON ports and the indicator light of correspondence thereof.Concrete steps are see Fig. 3.Because when ONU end mouth number is more, the port of non-PON type and indicator light can generate two row's displays, process more complicated.Illustrate in figure 3 so put separately, after have concrete steps explanatory note.
5th step: the height of adjustment panel and width, generate ONU panel.Adjust the position that the height of panel and width can not change port and lamp herein.Because be provided with the position of port and indicator light display above, when display port number is more, can suitably adjust panel height and width, such display layout is more reasonable.
The result of final display is see Fig. 4 and Fig. 5.Fig. 4 is that the single indicator light of display generates result, and Fig. 5 is that the double indicator light of display generates result.
Fig. 3 describes in Fig. 5 and generates the double port of non-PON type and the flow chart of indicator light in ONU.Because generating double indicator light is the part generating ONU panel figure more complicated, so shown below is the generating algorithm description of step of double indicator light in Fig. 3.
The first step: obtain the variable vecOtherPort value that dissimilar port is corresponding in Fig. 1 first successively and whether generate the mark of two rows, if generate two rows, then according to vecOtherPort middle port total number divided by 2, often arranged generation port number, then stored in variable i NumOneLine; If only raw port in a row, arranging iNumOneLine value is stored in port number in vecOtherPort.Arrange the number having generated port is 0 simultaneously, and first the port x coordinate figure arranging the type is X-coordinate value final in Fig. 2.First wherein dissimilar port x coordinate figure can change, and rule change is: each newtype first port x coordinate figure generates last port of port type X-coordinate value before being moves to right SPACE_X length.
Second step: the value in traversal vecOtherPort container, take out the port in vecOtherPort container successively, and judge whether port exists, if do not exist, then the port of the type and the generation of indicator light complete.If exist, need to arrange this port LINK indicator light information, X-coordinate be set to the end value in Fig. 2, Y-coordinate on basis before on move SPACE_Y length, then generate indicator light.Then arrange this port information, X-coordinate is the same with LINK lamp X-coordinate, and Y-coordinate generates this port move down SPACE_Y length on LINK lamp basis after on panel, increases by 1 by generating port number simultaneously.
3rd step: the X calculating next port and LINK lamp, Y-coordinate value.First judge that next port generates the need of line feed, computational methods are: whether be less than iNumOneLine with generating port number, if be greater than, next port needs line feed display, and other situations then do not need line feed.When needs line feed display, X-coordinate is the final coordinate figure arranged in first the port x coordinate figure of the same type and Fig. 2 generated, and Y-coordinate is to moving down 3 SPACE_Y length.Jump to second step, continue to get next port information, generate next port and indicator light.
Above-mentioned steps gives the port of wherein a kind of non-PON type and indicator light generates single and double method, and different types of for other, generating mode is identical.
Compared with existing implementation method, there is following advantage: avoid the script file that newly-increased ONU needs to write port and indicator light, decrease the workload generating panel figure and need debugging etc., greatly improve operating efficiency.For the unified management of all ONU types, panel figure shows unanimously attractive in appearance.
The content be not described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (3)

1. dynamically generate a method of ONU panel figure, it is characterized in that, adopt C++ programming language to write the unified generating algorithm of codes implement, dynamically generate ONU panel figure as follows:
Step 1, ONU panel figure information definition;
(1) self indicator light quantity of ONU equipment is 2, and title is respectively power lights PWR, registration lamp REG;
(2) each port of ONU is different according to business, at least be divided into PON port and non-PON port two kinds of port types, described non-PON port segmentation then comprises: POTS port, USB port, CATV port, e1 port, FXS port, LAN port and WAN port;
(3) quantity of the indicator light that PON port is corresponding is 2, and title is respectively signal lamp ACT and operating state lamp LOS;
(4) quantity of the indicator light that non-PON port is corresponding is 1, and title is link light LINK;
Step 2, first generates self indicator light of the ONU equipment in ONU panel figure, then generates the indicator light of PON port and correspondence thereof, finally generate the indicator light of non-PON port and correspondence thereof;
According to ONU panel figure information definition, according to order from left to right, on ONU panel figure, first generate power lights PWR and the registration lamp REG of ONU equipment, the signal lamp ACT of regeneration PON port and its correspondence and operating state lamp LOS, finally generates the link light LINK of each non-PON port and its correspondence successively;
Generate port icon and title, the icon of the indicator light corresponding with port type and title time, at least to obtain following information:
The coordinate figure of port, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis, and concrete numerical value sets according to shown position on panel,
The numbering of port, numbers by same rule ordering, and concrete rule is not limit,
The color of port, agreement green represents port and is in state of activation, can proper communication, and grey represents port and do not activate, cannot proper communication,
The coordinate figure of the indicator light corresponding with port type, comprises the coordinate figure of X-axis and the coordinate figure of Y-axis,
The numbering of the indicator light corresponding with port type, numbers by same rule ordering, and concrete rule is not limit, and the rule of indicator light numbering should be different from the rule of port numbering,
The title of the indicator light corresponding with port type, the port type according to ONU equipment reality is determined,
The color of the indicator light corresponding with port type, obtaining indicator light bright light color when communicating with ONU equipment, wherein: be red when operating state lamp LOS is bright, representing that ONU does not receive light signal, be all green when other indicator light is bright, represent respective port and be in normal operating conditions.
2. the as claimed in claim 1 method dynamically generating ONU panel figure, is characterized in that: in step 2, after the icon first generating the indicator light corresponding with port type and title, and the port icon that regeneration is corresponding with port type and title.
3. the method dynamically generating ONU panel figure as claimed in claim 1, it is characterized in that: before generating all corresponding with port type indicator light, the total quantity of the indicator light corresponding with port type is first calculated according to the quantity of ONU all of the port, the display width required for all corresponding with the port type indicator light of display is calculated again according to the spacing value between each port of ONU, if be no more than the single maximum display width that ONU panel figure sets, then all corresponding with port type indicator light is generated as a row; If exceeded, then the indicator light that PON port is corresponding is raw in a row, and often kind of non-PON port is all generated as two rows.
CN201210259962.XA 2012-07-25 2012-07-25 A kind of method of dynamic generation ONU panel figure Active CN102752153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210259962.XA CN102752153B (en) 2012-07-25 2012-07-25 A kind of method of dynamic generation ONU panel figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210259962.XA CN102752153B (en) 2012-07-25 2012-07-25 A kind of method of dynamic generation ONU panel figure

Publications (2)

Publication Number Publication Date
CN102752153A CN102752153A (en) 2012-10-24
CN102752153B true CN102752153B (en) 2015-09-16

Family

ID=47032062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210259962.XA Active CN102752153B (en) 2012-07-25 2012-07-25 A kind of method of dynamic generation ONU panel figure

Country Status (1)

Country Link
CN (1) CN102752153B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252430B (en) * 2013-06-28 2019-06-25 联想(北京)有限公司 A kind of method and electronic equipment of state instruction

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632304A (en) * 2008-01-10 2010-01-20 索尼株式会社 Display forming device, display forming method, program, and content download system
CN101764647A (en) * 2009-12-17 2010-06-30 浙江工业大学 ONU (Optical Network Unit) management and control platform of GPON (Gigabit Passive Optical Network) network management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632304A (en) * 2008-01-10 2010-01-20 索尼株式会社 Display forming device, display forming method, program, and content download system
CN101764647A (en) * 2009-12-17 2010-06-30 浙江工业大学 ONU (Optical Network Unit) management and control platform of GPON (Gigabit Passive Optical Network) network management system

Also Published As

Publication number Publication date
CN102752153A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN105045970B (en) Analogue system and its implementation based on Unity dynamic generation three-dimensional scenic
CN103019682B (en) A kind of method being combined in display data in SVG by self-defined figure
CN107545085B (en) Automatic generation method for process level network connection diagram of intelligent substation
CN102360398B (en) IEC61850-based CAD electric power graphic generation analysis method
CN105117835A (en) A power grid information machine room three-dimensional visualized management platform based on a B/S framework
CN104133943A (en) Distribution network pattern automatic generating method based on target guide
CN104134121A (en) Method for achieving visualization of power grid information system business data
CN105427356A (en) Method for quickly generating single line diagram and network diagram based on dispatching figure
CN106095376B (en) A kind of implementation method of quick configuration monitoring picture
CN111814281B (en) Automatic drawing method for topological relation diagram of transformer area based on multi-tree hierarchical layout
CN106445987B (en) The building of CIR geographic information database and verification method
CN107102948A (en) A kind of software architecture complexity measure method based on UML
CN102855315A (en) Cluster network topology presentation method based on HTML5 (HyperText Markup Language 5)
CN109471961B (en) Loop display method and device for secondary system of intelligent substation
CN102708521A (en) Mains supply path showing method based on auto-layout of multi-branch tree
CN105550373A (en) Method, device and system for displaying data
CN105703923A (en) Network asset information demonstration method and device
CN104967534B (en) A kind of Grid Central and distribution substation's cable resource unified management and planing method
CN103020343B (en) A kind of dynamic graphical component implementation method of concentrated expression operation of power networks operating mode
CN102752153B (en) A kind of method of dynamic generation ONU panel figure
CN101944150B (en) Method for automatically generating wave channel graph by programming in wavelength division system
CN103136169A (en) Method and device of displaying characters
CN202871262U (en) ID address distribution device of liquid crystal spliced curtain wall
CN201467146U (en) Transmission network topological structure safety analysis system
CN103281202A (en) System of browser/server architecture and front-end presentation method of system

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