Content of the invention
The technical scheme that the present invention is provided is as follows:
The present invention provides a kind of formulation display packing of topological view, comprises the following steps:In S10, editor's topological view
After the corresponding display characteristic of topology element, a kind of type topology view foundation formss are at least generated;S20, by the topological view
Foundation formss are uploaded and are stored in the server;S30, a kind of type topology view foundation formss selected according to user are used as opening up
View user template is flutterred, and the topological view user template is obtained from the server;S40, in topological view display interface
The upper loading topological view user template, and show the corresponding topological view of the topological view user template.
Further, further comprising the steps of:S50, after topological view user template described in loaded and displayed, modification described in open up
The corresponding display characteristic of topology element in View user template is flutterred, and generates user's topological view file;S51, by the topology
View template is substituted for user's topological view file, repeat the uploading step in S20, the obtaining step in S30,
After loaded and displayed step in S40, realize showing the corresponding user's topological view of user's topological view file.
Further, further include in step S20:S21, the topological view foundation formss are packaged into topology regard
Figure foundation formss bag, the topological view foundation formss is wrapped and is reached in the server;S22, the server receive institute
After stating topological view foundation formss bag, the topological view foundation formss bag is decompressed, and is stored in the server.
Further, the topology element described in step S10 includes topological field, Topology group, topological network element, topological chain
Road.
Further, the display characteristic described in step S10 includes that icon, alarm level color, alarm quantity show
Position, font and font size, background picture.
The present invention also provides a kind of formulation display system of topological view, including client, server:The client bag
Template generation module is included, for editing after the corresponding display characteristic of topology element in topological view, a type is at least generated and is opened up
Flutter view foundation formss;Transmission module in template, for uploading the topological view foundation formss;Template acquisition module, is used for
According to user select a kind of type topology view foundation formss as topological view user template, from the server obtain
The topological view user template;Loaded and displayed module, uses for loading the topological view on topological view display interface
Family template, and show the corresponding topological view of the topological view user template;The server includes memory module, for depositing
Store up the topological view foundation formss.
Further, also include:The template generation module, is additionally operable in topological view user template described in loaded and displayed
Afterwards, the corresponding display characteristic of topology element in the topological view user template is changed, and generates user's topological view file;Mould
Plate replacement module, for the topological view template is substituted for user's topological view file, repeats the template
The obtaining step in uploading step, the template acquisition module in upper transmission module, and adding in the loaded and displayed module
After carrying step display, realize showing the corresponding user's topological view of user's topological view file.
Further, the client also includes that template compression module, the template compression module are used for regarding the topology
Figure foundation formss are packaged into topological view foundation formss bag, and in the template, transmission module is used for the topological view foundation formss
Wrap and reach in the server;The server also includes that template receiver module and template decompression module, the template are received
After module is used for receiving the topological view foundation formss bag, the template decompression module is to the topological view foundation formss bag
Decompressed, and in the memory module being stored in the server.
Further, the topology element includes topological field, Topology group, topological network element, topological link.
Further, the display characteristic includes icon, alarm level color, alarm quantity display location, font and font
Size, background picture.
Compared with prior art, the formulation display packing and system of the topological view that the present invention is provided, with following beneficial
Effect:
Display characteristic of the present invention by editor's topology element, generates topological view foundation formss, and uploads onto the server
In;After each user can select topological view foundation formss as topological view user template, load and show topology
View user template;So as to meet the demand of different user.This method not only avoid loaded down with trivial details software version maintenance issues, also
Energy display characteristic topological view, greatly improves software development efficiency and software maintenance.
After loaded and displayed topological view user template, user can be regarded to topology the present invention with the demand according to oneself
Figure user template is modified editor;After the completion of repairing reorganization volume, in uploading onto the server, user's topological view is imported again.
To upload after the packing of multiple topological view foundation formss in the present invention, not only contribute to accelerate uploading speed, also side
Just unified upload, to prevent from occurring entanglement in upload procedure.In addition, in the server, topological view foundation formss bag is decompressed
Afterwards, preserved;After being conducive to user to select topological view foundation formss, relevant topology view is loaded and shows.
Specific embodiment
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below by control description of the drawings
The specific embodiment of the present invention.It should be evident 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, can be obtaining other according to these accompanying drawings
Accompanying drawing, and obtain other embodiments.
For making simplified form, in each figure, part related to the present invention is only schematically show, they do not represent
Its practical structures as product.In addition, so that simplified form is readily appreciated, there is in some figures identical structure or function
Part, only symbolically depicts one of those, or has only marked one of those.Herein, " one " is not only represented
" only this ", it is also possible to represent the situation of " more than one ".
As shown in figure 1, according to one embodiment of present invention, a kind of formulation display packing of topological view, including following
Step:In S10, editor's topological view after the corresponding display characteristic of topology element, a kind of type topology view basis is at least generated
Template;According to the corresponding different display features of topology element in different topology view, dissimilar topological view basis mould is generated
Plate;A topological view basis subtemplate can be included in a kind of type topology view foundation formss, it is also possible to including multiple aobvious
Show the topological view basis subtemplate of characteristic close.
Preferably, described topology element includes topological field, Topology group, topological network element, topological link.Described display is special
Property includes icon, alarm level color, alarm quantity display location, font and font size, background picture.
S20, the topological view foundation formss are uploaded and stored in the server;Can be by all of topological view
After foundation formss break into a topological view foundation formss bag, in uploading onto the server;Can also be by each topological view base
After plinth template each breaks into a topological view foundation formss bag, in uploading onto the server.
S30, a kind of type topology view foundation formss selected according to user as topological view user template, from described
The topological view user template is obtained in server;User can select a kind of type topology view according to the hobby of oneself
Foundation formss.
S40, when user topological view user template is not changed require when, on topological view display interface load institute
Topological view user template is stated, and shows that the corresponding topological view of the topological view user template, the topological view are directly made
User's topological view with the user.When a kind of type topology view foundation formss include the close topology of multiple display characteristics
During the subtemplate of view basis, after user selects a kind of type topology view foundation formss, can show according to Preset Time in turn
Show each corresponding topological view of topological view basis subtemplate.
As shown in Figure 2 and Figure 3, according to another embodiment of the invention, the formulation display packing of a kind of topological view, bag
Include following steps:In S10, editor's topological view after the corresponding display characteristic of topology element, at least generate a kind of type topology and regard
Figure foundation formss;According to the corresponding different display features of topology element in different topology view, dissimilar topological view is generated
Foundation formss;A topological view basis subtemplate can be included in a kind of type topology view foundation formss, it is also possible to include
The close topological view basis subtemplate of multiple display characteristics.
Preferably, described topology element includes topological field, Topology group, topological network element, topological link.Described display is special
Property includes icon, alarm level color, alarm quantity display location, font and font size, background picture.
S20, the topological view foundation formss are uploaded and stored in the server;Can be by all of topological view
After foundation formss break into a topological view foundation formss bag, in uploading onto the server;Can also be by each topological view base
After plinth template each breaks into a topological view foundation formss bag, in uploading onto the server.
S30, a kind of type topology view foundation formss selected according to user as topological view user template, from described
The topological view user template is obtained in server;User can select a kind of type topology view according to the hobby of oneself
Foundation formss.
S40, when user topological view user template is not changed require when, on topological view display interface load institute
Topological view user template is stated, and shows that the corresponding topological view of the topological view user template, the topological view are directly made
User's topological view with the user.When a kind of type topology view foundation formss include the close topology of multiple display characteristics
During the subtemplate of view basis, after user selects a kind of type topology view foundation formss, can show according to Preset Time in turn
Show each corresponding topological view of topological view basis subtemplate.
S50, when user has modification to require topological view user template, in topological view user mould described in loaded and displayed
After plate, the corresponding display characteristic of topology element in the topological view user template is changed, and generates user's topological view file;
S51, the topological view template is substituted for user's topological view file, after repeat step S20~S40,
Realize showing the corresponding user's topological view of user's topological view file;Comprise the following steps that:
S21, by user's topological view files passe and store in the server;Can be by user's topological view text
After part breaks into user's topological view file bag, in uploading onto the server;Can also be directly by user's topological view file
In uploading onto the server.
S31, user's topological view file is obtained from the server automatically.
S41, user's topological view file is reloaded on topological view display interface, and show that the user opens up
Flutter the corresponding user's topological view of view file.
As shown in figure 4, according to still a further embodiment, the formulation display packing of a kind of topological view, including with
Lower step:In S10, editor's topological view after the corresponding display characteristic of topology element, a kind of type topology view base is at least generated
Plinth template;According to the corresponding different display features of topology element in different topology view, dissimilar topological view basis is generated
Template;A topological view basis subtemplate can be included in a kind of type topology view foundation formss, it is also possible to including multiple
The close topological view basis subtemplate of display characteristic.
Preferably, described topology element includes topological field, Topology group, topological network element, topological link.Described display is special
Property includes icon, alarm level color, alarm quantity display location, font and font size, background picture.
S21, the topological view foundation formss are packaged into topological view foundation formss bag, by topological view basis
Template is wrapped and is reached in the server;Can be that all of topological view foundation formss are broken into a topological view basis mould
After plate bag, in uploading onto the server;Can also be that each topological view foundation forms is broken into topological view foundation formss
Bag, then multiple topological view foundation formss bags are packaged into after the total bag of topological view foundation formss, in uploading onto the server.
After S22, the server receive the topological view foundation formss bag, the topological view foundation formss bag is entered
Row decompression, and be stored in the server.
S30, a kind of type topology view foundation formss selected according to user as topological view user template, from described
The topological view user template is obtained in server;User can select a kind of type topology view according to the hobby of oneself
Foundation formss.
S40, when user topological view user template is not changed require when, on topological view display interface load institute
Topological view user template is stated, and shows that the corresponding topological view of the topological view user template, the topological view are directly made
User's topological view with the user.When a kind of type topology view foundation formss include the close topology of multiple display characteristics
During the subtemplate of view basis, after user selects a kind of type topology view foundation formss, can show according to Preset Time in turn
Show each corresponding topological view of topological view basis subtemplate.
Preferably, including S50, when user has modification to require topological view user template, opening up described in loaded and displayed
After flutterring View user template, the corresponding display characteristic of topology element in the topological view user template is changed, and generates user
Topological view file;
Preferably, including S51, the topological view template is substituted for user's topological view file, repeat step
After S20~S40, realize showing the corresponding user's topological view of user's topological view file;Comprise the following steps that:
S21, by user's topological view files passe and store in the server;Can be by user's topological view text
After part breaks into user's topological view file bag, in uploading onto the server;Can also be directly by user's topological view file
In uploading onto the server.
S31, user's topological view file is obtained from the server automatically.
S41, user's topological view file is reloaded on topological view display interface, and show that the user opens up
Flutter the corresponding user's topological view of view file.
As shown in Figure 5, Figure 6, according to one embodiment of present invention, the formulation display system of a kind of topological view, including
Client and server:The client includes template generation module 11, corresponding for editing topology element in topological view
After display characteristic, a kind of type topology view foundation formss are at least generated;Corresponding according to topology element in different topology view
Different display features, generate dissimilar topological view foundation formss;Can include in a kind of type topology view foundation formss
One topological view basis subtemplate, it is also possible to including the close topological view basis subtemplate of multiple display characteristics.
Preferably, described topology element includes topological field, Topology group, topological network element, topological link.Described display is special
Property includes icon, alarm level color, alarm quantity display location, font and font size, background picture.
The client also includes that transmission module 14 in template compression module 12 and template, the template compression module 12 are used for
The topological view foundation formss are packaged into topological view foundation formss bag, transmission module 14 is used for opening up described in the template
Flutter view foundation formss and wrap and reach in the server;Can be that all of topological view foundation formss are broken into a topology
After view foundation formss bag, in uploading onto the server;Can also be that each topological view foundation forms is broken into a topology to regard
Figure foundation formss bag, then multiple topological view foundation formss bags are packaged into after the total bag of topological view foundation formss, upload
Into server.
The server includes that template receiver module 21, template decompression module 22 and memory module 23, the template are received
After module 21 is used for receiving the topological view foundation formss bag, the template decompression module 22 is used for the topological view base
Plinth template bag is decompressed, and in the memory module 23 being stored in the server.
The client also includes template acquisition module 15, for a kind of type topology view basis selected according to user
Template obtains the topological view user template from the server as topological view user template;User can basis
The hobby of oneself, selects a kind of type topology view foundation formss.
The client also includes loaded and displayed module 16, for wanting when user is not changed to topological view user template
When asking, the topological view user template is loaded on topological view display interface, and shows the topological view user template
Corresponding topological view, user's topological view of the topological view direct effect user.When a kind of type topology view basis
When template includes multiple display characteristics close topological view basis subtemplate, a kind of type topology view base is selected in user
After plinth template, each corresponding topological view of topological view basis subtemplate can be shown in turn according to Preset Time.
Preferably, the template generation module 11, is additionally operable to when user has modification to require topological view user template,
After topological view user template described in loaded and displayed, the corresponding display of topology element in the topological view user template is changed
Characteristic, and generate user's topological view file;
Preferably, the client also includes template replacement module 13, for the topological view template is substituted for institute
User's topological view file is stated, repeated to upload, obtained, after loaded and displayed step, realizing showing user's topological view file
Corresponding user's topological view;Comprise the following steps that:
Transmission module 14 in the template, for by user's topological view files passe and storing depositing in the server
Storage module 23;Can break into user's topological view file after one user's topological view file bag, in uploading onto the server;
Can also be directly by user's topological view files passe into server.
The template acquisition module 15, for obtaining user's topological view file automatically from the server.
The loaded and displayed module 16, for reloading user's topological view text on topological view display interface
Part, and show the corresponding user's topological view of user's topological view file.
According to still another embodiment of the invention, a kind of formulation display packing of topological view, comprises the following steps:Generate
One topology element personalized template file;Template file includes different topology element corresponding icon file (topology element master
To include different network elements type, topological field, Topology group etc.);The color that different alarm levels show;Alarm quantity shows to be opened up
Flutter the position (upper left, top, upper right) shown on element;Font and size that topology element shows;The background of front view acquiescence
Picture;And other;
Template file and alternative document (icon file, background picture) are packed;
File after by packing, is uploaded to service end by network management system client, and decompresses;
Webmastering software client is logged in again;
Client reads template file from service end;
Client initializes topological view, initialization topological view background picture, topology element according to template file content
Icon, font, alarm color etc..
User changes display characteristic if desired, can repeat from service end downloads template file, after editing template file
Above-mentioned steps can modification.
As shown in fig. 7, according to another embodiment of the invention, the formulation display system of a kind of topological view, including:Visitor
Family end 100 includes transmission module 110 on template file:Upload the template file after packing;
Service end 200 includes template file receiver module 210:Template file compressed package is received, and is decompressed;
Service end 200 also includes template file memory module 220:Storage template file and other ancillary documents (icon, the back of the body
Scape picture etc.);
Client 100 also includes topological view initialization module 120:Topological view and topology are initialized according to template file
Element;
Client 100 also includes template file load-on module 130:The template file at reading service end and other ancillary documents
(icon, background picture etc.).
It should be noted that above-described embodiment can independent assortment as needed.The above is only the preferred of the present invention
Embodiment, it is noted that for those skilled in the art, in the premise without departing from the principle of the invention
Under, some improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.