Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The display packing of a kind of network topological diagram that the embodiment of the invention is provided is done brief description below, and as shown in Figure 2, this method comprises:
Step 1: the scaling that obtains network topological diagram;
Wherein, before the display network topological diagram, equipment at first needs to know the scaling of the topological diagram that current needs show, shows that the scaling of topological diagram can give tacit consent to, also can be the user as required and the scaling of the topological diagram of selection.
Step 2: obtain topological data and/or dynamic service information;
Wherein, obtain in the physical network topology database that topological data specifically can be a slave unit and obtain topological data; Obtaining dynamic service information specifically can be to receive other network equipment to send dynamic service information, as warning information, and network element off-line state etc.
Step 3: with topological data and/or dynamic service information and the business rule coupling of obtaining, obtain the pictorial information that presets this topological data corresponding simulating Drawing Object in the business rule, and/or, preset the drafting information of this dynamic service information corresponding simulating datagraphic object in the business rule;
Need to prove that the business rule here can be pre-configured, also can be to receive the business rule that miscellaneous equipment sends, and the business rule that receives is stored in this equipment.
Step 4: according to the scaling that obtains, pictorial information with above topology data corresponding simulating Drawing Object, and/or, according to the scaling that obtains, with the drafting information of above-mentioned dynamic service information corresponding simulating datagraphic object, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog;
Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Because scaling is more little, so, say for display unit, just can show more topological data on the display screen, and the complexity of the figure that shows after the reduce in scale reduces, and the instant playback device need be drawn the topological data graph of a correspondence that increases, because the complexity of each figure reduces, the time of drawing each figure will shorten, and helps improving the speed that display unit shows topological diagram.
Step 5: according to the pictorial information of the optimization display simulation Drawing Object that obtains in the step 4, draw and optimize the display simulation Drawing Object, show the optimization display simulation Drawing Object of drawing.
As seen, by the embodiment of the invention being provided a kind of explanation of display packing of network topological diagram, this method is according to the scaling that obtains, the topological data of stipulating in the business rule with presetting of obtaining and/or the pictorial information of dynamic service information corresponding simulating Drawing Object show from dynamic analog to get access to the pictorial information of optimizing the display simulation Drawing Object the rule; Because dynamic analog shows in the rule, scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, when equipment during at the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drafting is low, has improved the speed of equipment display network topological diagram greatly.
Preferential, on the basis based on the display packing of a kind of network topological diagram of above-mentioned explanation, the embodiment of the invention can also realize a kind of method of dynamic refresh network topological diagram, and concrete operations can be before step 1, can also comprise:
Step 6: receive and refresh the network topological diagram order;
When display unit receive refresh the network topological diagram order after, the equipment that can set out is carried out the scaling obtain network topological diagram; Certainly, also can trigger execution and obtain topological data and/or dynamic service information.
After step 2, before the step 3, can also comprise:
Step 7: the mimic diagram object of judging current demonstration whether be the described topological data of obtaining and/or dynamic service information under the scaling of the described network topological diagram that obtains, the corresponding simulating Drawing Object; If not, delete the mimic diagram object of current demonstration;
After execution of step 7, display unit continues execution in step 3, and display unit can refresh the topological diagram that shows before like this, thereby the topological diagram of demonstration latest network is so that monitoring in real time.
As seen, because dynamic analog shows in the rule, scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, when equipment dynamic refresh network topological diagram, the complexity of the optimization display simulation Drawing Object of drawing is low, improved the speed of drawing network topological diagram greatly, thus the slow problem of topological diagram display speed when having solved telecommunications OSS large-scale network topological figure a large amount of Drawing Objects being drawn in visibility region, the elevator system availability.
Below in conjunction with specific embodiment the technical program is done more detailed description.
Embodiment one,
The embodiment of the invention provides a kind of display packing of network topological diagram, and as shown in Figure 3, this method comprises:
Step 301: the scaling that obtains network topological diagram;
Wherein, before the display network topological diagram, equipment at first needs to know the scaling of the topological diagram that current needs show, shows that the scaling of topological diagram can give tacit consent to, also can be the user as required and the scaling of the topological diagram of selection.Therefore, a kind of concrete operation of obtaining scaling is: receive topological the Scale command of user's input, comprise scaling in this topology the Scale command.
Step 302: obtain topological data;
Wherein, the topological data of obtaining in the step 302 specifically can be to obtain topological data in the physical network topology database of slave unit.
Need to prove, not free order between step 301 and the step 302, promptly equipment can first execution in step 302 execution in step 301 again.Not should be appreciated that restriction herein to the manner of execution sequential.
Step 303:, obtain the pictorial information that presets this topological data corresponding simulating Drawing Object in the business rule with topological data and the business rule coupling of obtaining;
Wherein, business rule in the step 303, pictorial information such as structure that can prescribed topology data corresponding simulating Drawing Object, color, it is enough big that said here mimic diagram object typically refers to scaling, supposes the scaling with 100%; Perhaps, said here mimic diagram object, with respect to scaling mimic diagram object little, the identical topological data of representative, the complexity of this mimic diagram object is the highest.
As shown in Figure 4, be equipment according to business rule, the mode of topological data with the mimic diagram object shown.Wherein, 1. be the alarm bubble, 2. 3. NE icon for the network element mark, 4. is network element state, 5. is links between network elements.Will be 2. SDH (Synchronous Digital Hierarchy) (SDH in the NE icon, Synchronous DigitalHierarchy) server in is tieed up (D with 3, Dimension) solid figure is represented, linking relationship between the server is represented with directive dotted line, business rule can also be stipulated with the title of server (perhaps, be called network element mark) be identified at server near, specifically can be below the server figure etc.Here be the explanation that helps to understand business rule, should not be construed restriction the embodiment of the invention.
Step 304:, show from dynamic analog to get access to the pictorial information of optimizing the display simulation Drawing Object the rule according to scaling that obtains and the pictorial information that presets the topological data corresponding simulating Drawing Object of stipulating in the business rule obtained; Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Wherein, dynamic analog shows rule in the step 304, can be a tabulation, in this tabulation, can comprise: the mimic diagram object number, mimic diagram object itself, the length of display simulation figure, display simulation figure wide and optimize wherein all of display simulation Drawing Object.
Understand dynamic analog demonstration rule in the step 304 for example is clearer, as shown in Figure 5, with the mark of the network element in the business rule (wherein, the network element mark is a kind of mimic diagram object), and the directive dotted line of the linking relationship between the representative server (wherein, directive dotted line also is a kind of mimic diagram object) be example, illustrate that a kind of dynamic analog shows rule.In tabulation shown in Figure 5, the wide of the length of display simulation figure and display simulation figure is to be used for representing some mimic diagram object pixels, and different pixels is for different optimization display simulation Drawing Objects, pixel is low more, and the complexity of then optimizing the display simulation Drawing Object is low more.In figure, when pixel more than or equal to 5 the time, the network element mark is exactly the mimic diagram object of the network element mark stipulated in the business rule; When pixel more than or equal to 3 and less than 5 the time, the network element mark is a display part network element mark just; When pixel more than or equal to 1 and less than 3 the time, the network element mark just only shows a stain; When pixel more than or equal to 0 and less than 1 the time, just do not show the network element mark.Because scaling is directly proportional with pixel, scaling is more little, and a mimic diagram object pixels is just low more.Therefore, scaling is more little, represents the complexity of the mimic diagram object of identical topological data to reduce.In like manner, dynamic analog shows that other mimic diagram object in the rule all has identical understanding.More than the numeral that occurs in the explanation be for the ease of understand present embodiment for example, should not be construed restriction to present embodiment, the numeral in the follow-up explanation all has identical explanation.
Also need to prove, show in the list of rules, can also comprise at dynamic analog: scaling, so just can scaling is corresponding with the mimic diagram object pixels, be convenient to get access to fast the pictorial information of optimizing the display simulation Drawing Object.
Step 305: according to the pictorial information of the optimization display simulation Drawing Object that obtains, draw and optimize the display simulation Drawing Object, show the optimization display simulation Drawing Object of drawing.
As seen, by above-mentioned to the explanation of step 301 to step 305, the embodiment of the invention provides a kind of display packing of network topological diagram, by according to the scaling that obtains, with the pictorial information of obtaining that presets the topological data corresponding simulating Drawing Object of stipulating in the business rule, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog; Because dynamic analog shows in the rule, scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, when equipment during at the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drafting is low, has improved the speed of equipment display network topological diagram greatly.
Further, because dynamic analog shows that the optimization display simulation Drawing Object of representing identical topological data can be the multiple image that complexity reduces gradually, therefore, has enriched the display effect of network topological diagram, has promoted system availability in the rule.
Embodiment two,
The embodiment of the invention provides a kind of display packing of network topological diagram, this method is similar to the method that embodiment one provides, difference is, the display packing that present embodiment provides not only can with implement an identical demonstration with topological data, according to scaling, be shown to the user in the mode of mimic diagram object; Can also be with the dynamic service information in the network, according to scaling, be shown to the user in the mode of mimic diagram object.Wherein, dynamic service information can comprise: the dynamic layout information of network, warning information, the business information of real-time change such as the state information of network element.
As described in Figure 6, the embodiment of the invention provides a kind of display packing of network topological diagram to comprise:
Steps A 1, steps A 2 are corresponding identical respectively at the step 301 among the embodiment one, step 302, do not repeat herein.
Steps A 3: obtain dynamic service information;
Wherein, obtaining dynamic service information specifically can be to receive other network equipment to send dynamic service information, as warning information, and network element off-line state etc.
Steps A 4: with the topological data of obtaining in the steps A 2, the dynamic service information that obtains in the steps A 3 mates with business rule respectively, obtain the pictorial information that presets this topological data corresponding simulating Drawing Object in the business rule and preset the drafting information of this dynamic service information corresponding simulating datagraphic object in the business rule;
Wherein, not only comprise the drafting information of topological data corresponding simulating Drawing Object in the business rule usually, also comprise the drafting information of dynamic service information corresponding simulating Drawing Object.
Steps A 5: according to the scaling that obtains, the pictorial information of obtaining that presets the topological data corresponding simulating Drawing Object of stipulating in the business rule, with three of the drafting information of obtaining that presets this dynamic service information corresponding simulating datagraphic object in the business rule, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog; Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Wherein, steps A 5 is similar to the step 304 among the embodiment one, in steps A 5, comprised dynamic service information corresponding simulating datagraphic object in the dynamic analog demonstration rule, and the corresponding strategies that optimize to show this mimic diagram object, corresponding strategies herein is the optimization display simulation Drawing Object of different corresponding different complexities of scaling.
Steps A 6: according to the pictorial information of the optimization display simulation Drawing Object that obtains in the steps A 5, draw and optimize the display simulation Drawing Object, show the optimization display simulation Drawing Object of drawing.
Wherein, after completing in the steps A 6, the optimization display simulation Drawing Object of demonstration comprises: optimization display simulation Drawing Object two parts of the optimization display simulation Drawing Object of topological data correspondence and dynamic service information correspondence.
As seen, by explanation to the display packing of a kind of network topological diagram that provides of the embodiment of the invention two, this method is according to the scaling that obtains, the pictorial information of obtaining that presets the topological data corresponding simulating Drawing Object of stipulating in the business rule, with three of the drafting information of obtaining that presets this dynamic service information corresponding simulating datagraphic object in the business rule, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog, make equipment when the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drawing is low, improved the speed of equipment display network topological diagram greatly, simultaneously, can in network topological diagram, show the optimization display simulation Drawing Object of dynamic service information correspondence again, make the user can from network topological diagram, be easy to get access to the dynamic service information of this network.
Embodiment three,
The embodiment of the invention provides a kind of display packing of network topological diagram, in the method with the dynamic service information in the network, according to scaling, is shown to the user in the mode of mimic diagram object; And do not limit for the display packing of the pairing mimic diagram object of topological data.
This method comprises:
Step B1: identical with the steps A 1 among the embodiment two, obtain the scaling of topological diagram;
Step B2: identical with the steps A 2 among the embodiment two, obtain dynamic service information;
Step B3:, obtain the pictorial information that presets this dynamic service information corresponding simulating Drawing Object in the business rule with dynamic service information and the business rule coupling of obtaining;
Step B4:, show from dynamic analog to get access to the pictorial information of optimizing the display simulation Drawing Object the rule according to scaling that obtains and the drafting information that presets this dynamic service information corresponding simulating datagraphic object in the business rule obtained; Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Wherein, step B3, step B4 are similar to step 303, step 304 among the embodiment one respectively, difference is: the pictorial information of the optimization display simulation Drawing Object that step B3, B4 finally obtain, obtain according to obtaining dynamic service information, and the pictorial information of the optimization display simulation Drawing Object that step 303,304 is finally obtained among the embodiment one obtains according to obtaining topological data.
Step B5: according to the pictorial information of the optimization display simulation Drawing Object that obtains among the step B4, draw and optimize the display simulation Drawing Object, show the optimization display simulation Drawing Object of drawing.
As seen, display packing by above-mentioned a kind of network topological diagram that present embodiment three is provided, get access to the pictorial information of optimizing the display simulation Drawing Object the rule according to showing from dynamic analog, make equipment when the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drawing is low, has improved the speed of equipment display network topological diagram greatly.
Further, after step B2, this method can also comprise:
Step B6: judge whether and dynamic service information need be shown in network topological diagram, if desired, and execution in step B3, if do not need, process ends then.
By increasing step B6, the equipment that makes in time gets access to dynamic service information, if this dynamic service information is very little etc. for the influence of the operate as normal of each equipment in the network, also can not be used in and shows this dynamic service information in the topological diagram.Thereby can be so that equipment is intelligent more.Make not show some mimic diagram objects in the network topological diagram, improved the speed of drawing network topological diagram.
Further, need to show dynamic service information when network topological diagram if judge among the step B6, perhaps, after the step B2, this method can also comprise:
Step B7: judge whether shown dynamic service information corresponding simulating Drawing Object in the network topological diagram, if not, execution in step B3 then, if, execution in step B8;
Whether step B8: according to business rule, judging the current dynamic service information corresponding simulating Drawing Object that has shown, is the dynamic service information corresponding simulating Drawing Object that obtains among the step B2, if, process ends then, if not, execution in step B9 then;
Step B9: delete the current dynamic service information corresponding simulating Drawing Object that has shown, then, execution in step B3.
By increasing above-mentioned steps B7 to step B9, make equipment intelligent more, simultaneously, the equipment that makes has the function that refreshes network topological diagram, makes topological diagram that the real time information of network can be provided to the user.When showing dynamic service information with the mimic diagram object, under the situation for the same zoom ratio, the dynamic service information corresponding simulating Drawing Object that changes is different, when dynamic service information changes, can repeat above-mentioned steps B3, and the current mimic diagram object that shows meets dynamic service regulation, therefore, this method has compared with prior art improved display speed when the dynamic refresh topological diagram.
Further, judging among the fruit step B6 does not need to show dynamic service information when network topological diagram, and this method can also comprise:
Step B10: judge whether shown dynamic service information corresponding simulating Drawing Object in the network topological diagram, if not, process ends then, if, execution in step B11;
Step B11: delete the current dynamic service information corresponding simulating Drawing Object that has shown, process ends.
By increasing above-mentioned steps B10, make equipment intelligent more to step B11.
Also need to prove, when network topological diagram shows topological data with the form of figure topological graph object, also have to step B7 to the similar operation of step B11, concrete implementation can be obtained to step B11 easily by step B7.
In order better to understand the display packing of a kind of network topological diagram that this this aspect embodiment one, two, three provides, below in conjunction with one more specifically example this method is described.As shown in Figure 7, promptly when dynamic service information was equipment alarm information, the display packing of this network topological diagram specifically comprised:
Step C1: the scaling that obtains topological diagram
Step C2: receiving equipment warning information;
Step C3: according to the warning information that receives, judge whether to want the display alarm bubble, if, enter step C4, if not, enter step C10;
Wherein, the foundation that judges whether display alarm bubble specifically can be the importance according to the warning information that receives, if alarm to equipment, the perhaps safety of network, stable photographic fixing rings little, can steep without display alarm.Judgement can also be the explanation for the ease of understanding according to other strategy herein.Should not be construed restriction to present embodiment.
Step C4: judge the current alarm bubble that whether has,, enter step C5,, enter step C7 if do not have if having;
Step C5: according to presetting business rule, judge whether current alarm bubble is warning information corresponding simulating Drawing Object, if, process ends then, if not, execution in step C6 then;
Step C6: delete current alarm bubble, execution in step C7:
Step C7, step C8, step C9 and abovementioned steps B3, step B4, step B5 correspondence is similar, and wherein, the dynamic service information among step B3, B4, the B5 is a warning information, the optimization display simulation Drawing Object of drawing out is the alarm bubble, and the complexity of alarm bubble is directly proportional with scaling.
Wherein, also need to prove, in business rule, warning information is to show with alarm bubble in topological diagram, and drafting that should alarm bubble has certain requirement, as satisfying: alarm that to steep be red, the bubble shape of 3D, middle " alarm " two words wherein each, the perhaps combination of item arbitrarily.Obviously, the requirement that the alarm bubble that satisfies satisfies is many more, and complexity is high more.When the proportional zoom ratio reduce be, the requirement that this alarm bubble satisfies is few more, complexity is low more.
Step C10: judge the current alarm bubble that whether has,, enter step C11 if having, if do not have, process ends;
Step C11: delete current alarm bubble, process ends.
As seen, to the explanation of step C1 to step C11, owing to adopt dynamic analog to show rule, make equipment when the network topological diagram that demonstration is dwindled by above-mentioned, the complexity of the alarm of drafting bubble is low, has improved the speed of equipment display network topological diagram greatly.
Embodiment four,
The embodiment of the invention provides a kind of display unit, and as shown in Figure 8, this display unit comprises: scaling acquiring unit 101, data capture unit 102, pictorial information acquiring unit 103 is optimized pictorial information acquiring unit 104, drawing unit 105, display unit 106.
Wherein, scaling acquiring unit 101 is used to obtain the scaling of network topological diagram;
Concrete, the scaling that obtains in the scaling acquiring unit 101 can be to acquire from the information that this display unit presets, also can receive topological the Scale command, in this topology the Scale command, comprise scaling, thereby get access to the scaling of network topological diagram.
Data capture unit 102 is used to obtain topological data and/or dynamic service information;
Wherein, topological data can be understood as in the network static data, can not change because of the time usually, and topological data is appreciated that into the Drawing Object in the expression topological diagram and the data of the annexation between the Drawing Object, the Drawing Object here,
: city, office station, base station, machine room, equipment, virtual unit, network element, Virtual NE, frame, machine frame, device port, well, electric pole, cross-connecting box, link, optical fiber, passage etc.; Dynamic service information normally produces in real time, as: device-dependent all visual informations such as time slot, alarm, state, performance, temperature.Annexation between these equipment and equipment, in this display unit, also do not have when drawn, these equipment that get access to from network and the information of the annexation between the equipment are represented by topological data, usually dynamic service information be not shown before device draws out, all is that the form with dynamic service information exists.
Pictorial information acquiring unit 103, be used for topological data and/or the dynamic service information that to obtain, mate with business rule, obtain the pictorial information of this topological data corresponding simulating Drawing Object in the business rule of coupling, and/or, obtain the drafting information of this dynamic service information corresponding simulating datagraphic object in the business rule of coupling;
Wherein, in the above-mentioned business rule, pictorial information such as structure that can prescribed topology data corresponding simulating Drawing Object, color, it is enough big that said here mimic diagram object typically refers to scaling, supposes the scaling with 100%; Perhaps, said here mimic diagram object, with respect to scaling mimic diagram object little, the identical topological data of representative, the complexity of this mimic diagram object is the highest.
Optimize pictorial information acquiring unit 104, be used for according to the scaling that obtains, pictorial information with above topology data corresponding simulating Drawing Object, and/or, according to the scaling that obtains, with the drafting information of above-mentioned dynamic service information corresponding simulating datagraphic object, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog; Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Because scaling is more little, so, for display unit, just can show more topological data on the display screen, and the complexity of the figure that shows after the reduce in scale reduces, and the instant playback device need be drawn the topological data graph of a correspondence that increases, because the complexity of each figure reduces, the time of drawing each figure will shorten, and helps improving the speed that display unit shows topological diagram.
Drawing unit 105 is used for drawing and optimizing the display simulation Drawing Object according to the pictorial information of optimizing the optimization display simulation Drawing Object that pictorial information acquiring unit 104 obtains;
Display unit 106 is used to show the optimization display simulation Drawing Object of drafting.
As seen, by the embodiment of the invention being provided a kind of explanation of display unit, this device is drawn and is optimized the display simulation Drawing Object according to the pictorial information of optimizing the optimization display simulation Drawing Object that pictorial information acquiring unit 104 obtains, shows the optimization display simulation Drawing Object of drawing; Because dynamic analog shows in the rule, scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, when equipment during at the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drafting is low, has improved the speed of equipment display network topological diagram greatly.
Further, above-mentioned display unit can also comprise: receiving element, current figure judging unit and current pattern deleting unit;
Receiving element is used for receiving and refreshes the network topological diagram order;
Scaling acquiring unit then specifically is used for refreshing the network topological diagram order according to what receive, triggers the scaling that obtains network topological diagram;
Current figure judging unit, the mimic diagram object that is used to judge current demonstration whether be the topological data obtained and/or dynamic service information under the scaling of the network topological diagram that obtains, the corresponding simulating Drawing Object;
Current pattern deleting unit, being used for determining the mimic diagram object of current demonstration when described current figure judging unit is not that the described topological data of obtaining and/or dynamic service information are under the scaling of the described network topological diagram that obtains, during the corresponding simulating Drawing Object, delete the mimic diagram object of current demonstration.
By increasing above-mentioned receiving element, current figure judging unit and current pattern deleting unit, make this display unit can realize the dynamic refresh network topological diagram, when equipment dynamic refresh network topological diagram, the complexity of the optimization display simulation Drawing Object of drawing is low, improved the speed of drawing network topological diagram greatly, thereby the slow problem of topological diagram display speed when having solved telecommunications OSS large-scale network topological figure a large amount of Drawing Objects being drawn in visibility region, the elevator system availability.
Further, when obtain in the data capture unit 102 be dynamic service information the time; This display unit can also comprise:
First judging unit 107 is used for judging whether and dynamic service information need be shown at network topological diagram, if desired, then notifies pictorial information acquiring unit 103, if do not need, then can not carry out any operation.
Wherein, if this dynamic service information is very little etc. for the influence of the operate as normal of each equipment in the network, also can not be used in and show this dynamic service information in the topological diagram.Thereby can be so that equipment is intelligent more.Make not show some mimic diagram objects in the network topological diagram, improved the speed of drawing network topological diagram.
Therefore, by increasing above-mentioned first judging unit 107, can be presented in the network topological diagram so that finally can filter out the how useful network information in the display unit.
Further, make this display unit intelligent more, simultaneously, the equipment that makes has the function that refreshes network topological diagram, makes topological diagram that the real time information of network can be provided to the user, and this device can also comprise: second judging unit 108, the 3rd judging unit 109, the first delete cellses 110.
Second judging unit 108, the judged result that is used for when first judging unit 107 is need be with dynamic service information when network topological diagram shows, perhaps, after data capture unit 102 obtains topological data and/or dynamic service information, judge whether shown topological data and/or dynamic service information corresponding simulating Drawing Object in the network topological diagram, if then notify the 3rd judging unit 109, if not, then notify pictorial information acquiring unit 103;
The 3rd judging unit 109, be used for according to business rule, judge current topological data that has shown and/or dynamic service information corresponding simulating Drawing Object, whether be topological data and/or the dynamic service information corresponding simulating Drawing Object that obtains in the data capture unit 102, if, then process ends if not, is then notified first delete cells 110;
First delete cells 110 is used to delete the current dynamic service information corresponding simulating Drawing Object that has shown, then, and notice pictorial information acquiring unit 103.
By increasing above-mentioned second judging unit 108, the 3rd judging unit 109, first delete cells 110, make can be correct in the network topological diagram the present situation that reflects network, reduce and show wrong simulation display object.
Further, this display unit can also comprise: the 4th judging unit 111 and second delete cells 112, be used for judging when not needing dynamic service information to be shown in network topological diagram when first judging unit 107, judge and whether shown dynamic service information corresponding simulating Drawing Object in the network topological diagram, if not, process ends then, if, exercise notice second delete cells 110.
By increasing above-mentioned the 4th judging unit 111, the second delete cellses 110, make this device can delete unwanted mimic diagram object dynamically.
The bright explanation that the display packing of a kind of network topological diagram that provides among the embodiment one, two, three also is provided of more speaking more of a kind of display unit that provides for present embodiment.
Embodiment five,
The embodiment of the invention provides a kind of topological subsystem, and as shown in Figure 9, this topology subsystem comprises: data management module 400, topological view administration module 401, service display administration module 402, Drawing Object drafting module 403.
Wherein, data management module 400 is used for memory topology data and/or dynamic service information;
Need to prove that data management module 400 is data centers of topological subsystem, all business information of showing on topological view all come from this data center.
Service display administration module 402 is used for storage service rule and dynamic analog and shows rule;
Need to prove, service display administration module 402 is regulation management centers that topological service of subsystem is showed, topological view administration module 401 shows rule according to business rule and dynamic analog, obtain topological data or dynamic service information graph of a correspondence object, thereby finish drafting by drafting module.
Topological view administration module 401, be used for the topological data that to obtain and/or dynamic service information and described business rule coupling, obtain the pictorial information of topological data corresponding simulating Drawing Object described in the business rule of coupling, and/or, the pictorial information of the Drawing Object of dynamic service information corresponding simulating described in the business rule of coupling;
According to described scaling, pictorial information with described topological data corresponding simulating Drawing Object, and/or, according to described scaling, with the pictorial information of described dynamic service information corresponding simulating Drawing Object, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from described dynamic analog;
Need to prove that topological view administration module 401 is control centres of topological subsystem, provide user interface and event response inlet scheduling topological view to finish service display.
Drawing Object drafting module 403 is used for the pictorial information according to the described optimization display simulation Drawing Object that gets access to, and draws and optimizes the display simulation Drawing Object.
Data management module 400 can be used to obtain topological data and/or dynamic service information.In fact, data management module 400 not only has above-mentioned functions, and this data management module 400 also is used to manage topological data and/or dynamic service information, is the data center of this topology subsystem;
Topological view administration module 401 can be used to obtain the scaling of network topological diagram; With topological data and/or the dynamic service information that obtains, mate with business rule, obtain the pictorial information of this topological data corresponding simulating Drawing Object in the business rule of coupling, and/or, obtain the drafting information of this dynamic service information corresponding simulating datagraphic object in the business rule of coupling; According to the scaling that obtains, pictorial information with above topology data corresponding simulating Drawing Object, and/or, according to the scaling that obtains, with the drafting information of above-mentioned dynamic service information corresponding simulating datagraphic object, show the pictorial information that gets access to optimization display simulation Drawing Object the rule from dynamic analog; Wherein, dynamic analog shows in the rule that scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, and scaling is more little, and the complexity of optimizing the display simulation Drawing Object is low more;
Topological view administration module 401 can also be used for judging whether and dynamic service information need be shown at described network topological diagram, when determining dynamic service information to be shown in described network topological diagram, with described dynamic service information and business rule coupling, obtain the pictorial information of dynamic service information corresponding simulating Drawing Object described in the business rule of coupling.
Topological view administration module 401 can also be used for do not need dynamic service information when described network topological diagram shows determining, judges whether shown described dynamic service information corresponding simulating Drawing Object in the described network topological diagram; When in determining described network topological diagram, having shown described dynamic service information corresponding simulating Drawing Object, delete the dynamic service information corresponding simulating Drawing Object of described demonstration.
Topological view administration module 401 can also be used for judging whether described network topological diagram has shown topological data and/or dynamic service information corresponding simulating Drawing Object; When determining not show described topological data and/or dynamic service information corresponding simulating Drawing Object, with described topological data and/or dynamic service information and business rule coupling, obtain the pictorial information of topological data corresponding simulating Drawing Object described in the business rule of coupling, and/or, the pictorial information of the Drawing Object of dynamic service information corresponding simulating described in the business rule of coupling.
Topological view administration module 401 can also be used for when definite described network topological diagram has shown topological data and/or dynamic service information corresponding simulating Drawing Object, according to described business rule, judge whether the topological data of current demonstration and/or dynamic service information corresponding simulating Drawing Object are described topological data and/or the dynamic service information corresponding simulating Drawing Object of obtaining; When the topological data of determining current demonstration and/or dynamic service information corresponding simulating Drawing Object are not described when obtaining topological data and/or dynamic service information corresponding simulating Drawing Object, delete the topological data and/or the dynamic service information corresponding simulating Drawing Object of described current demonstration;
After the topological data and/or dynamic service information corresponding simulating Drawing Object of the described current demonstration of deletion, with described topological data and/or dynamic service information and business rule coupling, obtain the pictorial information of topological data corresponding simulating Drawing Object described in the business rule of coupling, and/or, the pictorial information of the Drawing Object of dynamic service information corresponding simulating described in the business rule of coupling.
In fact, topological view administration module 401 is control centres of this topology subsystem;
Service display administration module 402 is used for storage service rule and dynamic analog and shows rule; Above-mentioned two rules can set in advance.
Drawing Object drafting module 403 can be used for the pictorial information according to the optimization display simulation Drawing Object that obtains, and draws and optimizes the display simulation Drawing Object.
Further, this topology subsystem can also comprise: physical network topology database 404, be used for the memory topology data, and the topological data of storage is exported to data management module 400.
For the ease of understanding, also demonstrate other nms subsystems such as alarm subsystem, performance subsystem among Fig. 9 the dynamic service information of various generations is exported to topological subsystem, specifically be the data management module 400 of exporting to topological subsystem.
As seen, by above-mentioned explanation to this topology subsystem, this system shows rule according to obtaining the business rule and the dynamic analog that are provided with in the service display administration module 402, draws and optimizes the display simulation Drawing Object; Because dynamic analog shows in the rule, scaling is directly proportional with the complexity of optimizing the display simulation Drawing Object, when equipment during at the network topological diagram that demonstration is dwindled, the complexity of the optimization display simulation Drawing Object of drawing is low, improved the speed of drawing network topological diagram greatly, thereby the slow problem of topological diagram display speed when having solved telecommunications OSS large-scale network topological figure a large amount of Drawing Objects being drawn in visibility region, the elevator system availability.
And, the embodiment of the invention also provides a kind of network management system, comprise alarm subsystem, performance subsystem, and topological subsystem, wherein, alarm subsystem, performance subsystem (other nms subsystems that perhaps also comprise) are exported to topological subsystem with the dynamic service information of various generations, and the function of topological subsystem is the same, repeats no more.
Should be understood that the present invention program also goes for the systems relevant with Topology Management such as the network design, the network planning, network management, network operation of field of telecommunications.
The present invention program also goes in the systems such as other graphical draftings, emulation.Such as electric power system electric network composition figure etc., solve eye diagram and show fast, promote graphic interface and show efficient.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
More than display packing, display unit and the system of the network topological diagram that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.