CN102129468B - Method for displaying customizable cluster state - Google Patents
Method for displaying customizable cluster state Download PDFInfo
- Publication number
- CN102129468B CN102129468B CN201110069500.7A CN201110069500A CN102129468B CN 102129468 B CN102129468 B CN 102129468B CN 201110069500 A CN201110069500 A CN 201110069500A CN 102129468 B CN102129468 B CN 102129468B
- Authority
- CN
- China
- Prior art keywords
- page
- data
- view
- resource
- monitoring
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an architecture for displaying a customizable cluster state. A function of quickly modifying the existing monitoring webpage and adding a new customizable monitoring webpage can be realized by realizing a universal monitoring webpage framework, some public view webpages and a public data generator; based on an open service gateway initiative (OSGi) framework, the architecture can work online after configuration modification; the monitoring of different service systems is used as a bundle of the OSGi, so a new bundle is added when new service system monitoring is added; and the new service system monitoring can be dynamically added under the condition of not influencing the running of the original system by realizing the universal monitoring framework and the configuration.
Description
Technical field
The present invention relates to cluster monitoring field, be specifically related to a kind of method that customizable cluster state represents.
Background technology
Cluster monitoring comprises the monitoring of hardware device, as rack, server, switch, memory device etc.; The monitoring of application, as oracle database, third party software etc., hardware device and application that the present invention will monitor these are referred to as resource.The index that will monitor due to dissimilar resource is not quite similar, and webpage representation contents and mode is also different, and how realizing a kind of general Monitoring framework unified definition and managing various types of monitoring resource pages is difficult problems that cluster monitoring exists all the time.In cluster monitoring system in the past, for the monitoring webpage representation of dissimilar resource, be generally the fixing content that realizes demonstration in program code, or have some simple collocation methods, these modes that a kind of quick increase is not provided or change the unified approach of monitoring content of pages.
Summary of the invention
The object of the invention is the dissimilar resource for monitoring, solution must not customize the problem that corresponding state represents the page rapidly.
The method that customizable cluster state represents, is used general monitoring page architecture, unified monitoring page interface, unified Data Generator interface, view type base class, public view page, the description of page info.
Preferably, the operation system that described universal monitor page framework is selected according to user, shows the corresponding monitoring page; Its workflow is divided into foreground and backstage two parts,
Foreground work:
A, the menu item of selecting according to user, ask corresponding resource tree data, generates resource tree;
B, according to the resource on the resource tree of selecting, ask the achievement data of corresponding page description file configuration item data and resource, generate dashboard structure;
Background work:
C, reception foreground resource tree data query request, according to the parameter of transmitting, search corresponding resource tree service, carries out resource tree organising data method, returns results;
D, reception front page layout description document configuration item data and achievement data inquiry request, according to the parameter of transmitting, search corresponding page description file configuration item and the achievement data of resource, returns results.
More preferably, described monitoring page layout is that top is order button district, and left side is resource tree district, and right side is dashboard district;
Wherein, the default associated button that refreshes dashboard page data that provides of described command button area, comprising: manual refreshing, refresh interval setting and automatically refresh check box, expansion interface is provided, and each service sub-system can add the order button needing;
Default expansion, contraction and the refresh button that tree is provided in resource tree region, described left side, provides expansion interface, and each service sub-system can add order button as required; The content of tree is self-defined by each operation system;
Described dashboard region is comprised of one or more little views, shows the information of one or one group index in each view, and the display mode of view comprises form, pie chart, meter diagram; For the dissimilar node of resource tree, can define different dashboard view contents.
More preferably, in described step C, the process of organizational resources achievement data method is as follows:
A) according to the parameter of transmitting, search corresponding page description file configuration item, each of the items to configuration item, carry out operation as follows:
I. obtain dataGenerator(Data Generator) and dataid(data unique identification) value of attribute;
Ii. according to dataGenerator, search corresponding data and generate service;
Iii. executing data generates the data query method of service;
Iv. by returning results, carry out unified Organization of Data, add the result that finally will return to;
B) return results data.
Preferably, described unified monitoring page interface is used for organizing the resource tree of the page.
Preferably, described unified Data Generator interface is for realizing inquiry and the tissue of specific data.
Preferably, described base class is realized the functions such as multi-lingualization of view title, and refresh data interface is provided; Each view type must be inherited base class, and realizes refresh data interface.
Preferably, described public view page comprises form, pie chart, histogram, meter diagram, cylinder, thermometer; Each view type is all registered as an intrasystem customization type, and typonym meets agreement, and unique in system; Each operation system can customize the view page that will show, on view page, can define various operations; The view page of operation system definition also needs to be registered as intrasystem customization type, and typonym meets agreement, and unique in system.
Preferably, each operation system can define respectively corresponding page-describing information to dissimilar resource, and page-describing information is a JSON format string;
In page-describing information, can be defined as follows content:
1) layout type of dashboard overall page, css;
2) title of each view, size, display mode, Data Source, graphic attribute.
The present invention, by realizing a general monitoring page framework and some public view pages and public data maker, can realize the function of the new customization monitoring page of the Modify rapidly existing monitoring page and increase; Based on OSGi framework, realize, revising after configuration, can come into force online; A bundle using the monitoring of different business systems as OSGi, when increasing new service system monitoring, only need to increase new bundle, realize therein universal monitor framework and configuration, can be in the situation that not affecting original system operation the new service system monitoring of dynamic appending.
Accompanying drawing explanation
Fig. 1 is universal monitor page framework realization flow.
Fig. 2 is the integral layout of the cluster monitoring page.
Fig. 3 is the group type resource of using the present invention to realize
Fig. 4 is that the monitoring of type of server resource represents the page
Embodiment
Below in conjunction with the drawings and specific embodiments, method of the present invention is described.
1. realize a general monitoring page framework
The operation system that universal monitor page framework is selected according to user, shows the corresponding monitoring page.The monitoring page of each operation system has identical layout: top is order button, and left side is resource tree, and right side is dashboard.
1) the default associated button that refreshes dashboard page data that provides of command button area, comprising: manual refreshing, refresh interval setting and automatically refresh check box.Expansion interface is provided, and each service sub-system can add the order button needing.
2) default expansion, contraction and the refresh button that tree is provided in resource tree region, left side, provides expansion interface, and each service sub-system can add order button as required; The content of tree is self-defined by each operation system.
3) dashboard region is comprised of one or more little views, shows the information of one or one group index in each view, and the display mode of view comprises form, pie chart, meter diagram etc.For the dissimilar node of resource tree, can define different dashboard view contents.
Workflow:
Be divided into foreground and backstage two parts:
Work in foreground:
1) menu item of selecting according to user, asks corresponding resource tree data, generates resource tree.
2) according to the resource on the resource tree of selecting, ask the achievement data of corresponding page description file configuration item data and resource, generate dashboard structure.
Work in backstage:
1) receive foreground resource tree data query request, according to the parameter of transmitting, search corresponding resource tree service, carry out resource tree organising data method, return results.
2) receive front page layout description document configuration item data and achievement data inquiry request, according to the parameter of transmitting, search corresponding page description file configuration item and the achievement data of resource, return results.When the achievement data of organizational resources, carry out following steps:
A) according to the parameter of transmitting, search corresponding page description file configuration item, each of the items to configuration item, carry out operation as follows:
V. obtain dataGenerator(Data Generator) and dataid(data unique identification) value of attribute;
Vi. according to dataGenerator, search corresponding data and generate service
Vii. executing data generates the data query method of service
Viii. by returning results, carry out unified Organization of Data, add the result that finally will return to.
B) return results data.
2. realize unified monitoring page interface
The monitoring resource of each operation system must be realized this interface.Interface comprises a method public List getMonitorViewTree (); , the method is for organizing the resource tree in monitoring page left side.
The feature of resource tree is that each node must have " resId " attribute and " panelConfFilter " attribute, can have other optional attribute.The resource id that the value of " resId " attribute is resource is a unique value in a resource tree; The value of " panelConfFilter " attribute is the id of the corresponding page description file configuration item of node, is a unique value.
Each operation system must be issued as the process of organizational resources tree an OSGi service, and service must have " tabID " attribute, and its value is identical with the tabID of drop-down menu, unique in system, for the foundation as searching resource tree service.
3. realize uniform data maker interface
The corresponding Data Generator of each view in the dashboard page, each Data Generator must be realized this interface, interface comprises a method public Object queryData (Long resId, Map mapPanelDesc), for realizing inquiry and the tissue of specific data.
The inquiry of each Data Generator and organising data method must be distributed for OSGi service, and service must have " dataGenerator " attribute, and its value is unique in system, for the foundation as searching Data Generator service.
4. realize view type base class
System provides the base class of view type, and base class is realized the functions such as multi-lingualization of view title, and refresh data interface is provided.Each view type must be inherited base class, and realizes refresh data interface.
5. realize public view page
System provides common view type, and as form, pie chart, histogram, meter diagram, cylinder, thermometer etc., each view type is all registered as an intrasystem customization type, and typonym meets agreement, and unique in system.
Each operation system can customize the view page that will show, on view page, can define various operations.The view page of operation system definition also needs to be registered as intrasystem customization type, and typonym meets agreement, and unique in system.
6. page-describing information is provided
Each operation system can define respectively corresponding page-describing information to dissimilar resource, and page-describing information is a JSON format string.In page-describing information, can be defined as follows content:
3) layout type of dashboard overall page, css etc.;
4) title of each view, size, display mode, Data Source, graphic attribute etc.
The content of page-describing information must meet agreement, and according to the unified storage of certain rule.System will be according to the corresponding view of page-describing Information generation, obtains data and shows.
Claims (4)
1. the method that customizable cluster state represents, is characterized in that: described method is used general monitoring page architecture, unified monitoring page interface, unified Data Generator interface, view type base class, public view page, the description of page info;
The operation system that described universal monitor page architecture is selected according to user, shows the corresponding monitoring page; Its work is divided into foreground and backstage two parts,
The work of described foreground:
A, the menu item of selecting according to user, ask corresponding resource tree data, generates resource tree;
B, according to the resource on the resource tree of selecting, ask the achievement data of corresponding page description file configuration item data and resource, generate dashboard structure;
Described background work:
C, reception foreground resource tree data query request, according to the parameter of transmitting, search corresponding resource tree service, carries out resource tree organising data method, returns results;
D, reception front page layout description document configuration item data and achievement data inquiry request, according to the parameter of transmitting, search corresponding page description file configuration item and the achievement data of resource, returns results;
Described unified monitoring page interface is used for organizing the resource tree of the page;
Described unified Data Generator interface is for realizing inquiry and the tissue of specific data;
Described base class is realized multi-lingualization of view title function, and refresh data interface is provided; Each view type must be inherited base class, and realizes refresh data interface;
Described monitoring page layout is that top is order button district, and left side is resource tree district, and right side is dashboard district;
Wherein, the default associated button that refreshes dashboard page data that provides of described command button area, comprising: manual refreshing, refresh interval setting and automatically refresh check box, expansion interface is provided, and each service sub-system can add the order button needing;
Default expansion, contraction and the refresh button that tree is provided in resource tree region, described left side, provides expansion interface, and each service sub-system can add order button as required; The content of tree is self-defined by each operation system;
Described dashboard region is comprised of one or more little views, shows the information of one or one group index in each view, and the display mode of view comprises form, pie chart, meter diagram; For the dissimilar node of resource tree, can define different dashboard view contents.
2. a kind of method that customizable cluster state represents as claimed in claim 1, is characterized in that: in described step C, the process of organizational resources achievement data method is as follows:
A) according to the parameter of transmitting, search corresponding page description file configuration item, each of the items to configuration item, carry out operation as follows:
I. obtain the value of dataGenerator and dataid attribute;
Ii. according to dataGenerator, search corresponding data and generate service;
Iii. executing data generates the data query method of service;
Iv. by returning results, carry out unified Organization of Data, add the result that finally will return to;
B) return results data;
Described dataGenerator is Data Generator; Described dataid is data unique identification.
3. a kind of method that customizable cluster state represents as claimed in claim 1, is characterized in that: described public view page comprises form, pie chart, histogram, meter diagram, cylinder, thermometer; Each view type is all registered as an intrasystem customization type, and typonym meets agreement, and unique in system; Each operation system can customize the view page that will show, on view page, can define various operations; The view page of operation system definition also needs to be registered as intrasystem customization type, and typonym meets agreement, and unique in system.
4. a kind of method that customizable cluster state represents as claimed in claim 1, is characterized in that: each operation system can define respectively corresponding page-describing information to dissimilar resource, and page-describing information is a JSON format string;
In page-describing information, can be defined as follows content:
1) layout type of dashboard overall page, css;
2) title of each view, size, display mode, Data Source, graphic attribute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110069500.7A CN102129468B (en) | 2011-03-22 | 2011-03-22 | Method for displaying customizable cluster state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110069500.7A CN102129468B (en) | 2011-03-22 | 2011-03-22 | Method for displaying customizable cluster state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102129468A CN102129468A (en) | 2011-07-20 |
CN102129468B true CN102129468B (en) | 2014-04-23 |
Family
ID=44267550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110069500.7A Active CN102129468B (en) | 2011-03-22 | 2011-03-22 | Method for displaying customizable cluster state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102129468B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750441B (en) * | 2013-12-30 | 2018-07-06 | 北京辰安科技股份有限公司 | Cross-system multi-screen data display systems based on DASHBOARD |
CN109062772A (en) * | 2018-07-16 | 2018-12-21 | 曙光信息产业(北京)有限公司 | The implementation method and cluster index warning system of cluster index alarm |
CN111324258B (en) * | 2020-02-04 | 2021-07-06 | 北京字节跳动网络技术有限公司 | Method, device, equipment and medium for generating contents of configuration items of multilevel pull-down menu |
CN113589986B (en) * | 2021-07-30 | 2024-02-27 | 上海公装无忧装饰工程有限公司 | Business process management method, system, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075919A (en) * | 2006-06-22 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for monitoring Internet service |
CN101232515A (en) * | 2008-02-25 | 2008-07-30 | 浪潮电子信息产业股份有限公司 | Distributed type colony management control system based on LDAP |
CN101694649A (en) * | 2009-08-28 | 2010-04-14 | 曙光信息产业(北京)有限公司 | Report generating system and method of cluster monitoring |
CN101719841A (en) * | 2009-11-13 | 2010-06-02 | 曙光信息产业(北京)有限公司 | Monitoring system and method of distributed type assemblies |
-
2011
- 2011-03-22 CN CN201110069500.7A patent/CN102129468B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075919A (en) * | 2006-06-22 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Method and system for monitoring Internet service |
CN101232515A (en) * | 2008-02-25 | 2008-07-30 | 浪潮电子信息产业股份有限公司 | Distributed type colony management control system based on LDAP |
CN101694649A (en) * | 2009-08-28 | 2010-04-14 | 曙光信息产业(北京)有限公司 | Report generating system and method of cluster monitoring |
CN101719841A (en) * | 2009-11-13 | 2010-06-02 | 曙光信息产业(北京)有限公司 | Monitoring system and method of distributed type assemblies |
Also Published As
Publication number | Publication date |
---|---|
CN102129468A (en) | 2011-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
CN113508403B (en) | System and method for interoperable communication of automation system components with multiple information sources | |
CN106445484B (en) | The method and system of data tracking are realized by Software Development Kit | |
CN105447122B (en) | A kind of implementation method that archives economy can be independently created based on multilist association | |
US8555249B2 (en) | Lifecycle stable user interface adaptations | |
US9110686B2 (en) | Web client command infrastructure integration into a rich client application | |
WO2018045750A1 (en) | Method, system, server and user terminal for displaying comment data of user | |
US20140181154A1 (en) | Generating information models in an in-memory database system | |
EP2973047A1 (en) | Methods for managing applications using semantic modeling and tagging and devices thereof | |
US9201700B2 (en) | Provisioning computer resources on a network | |
CN103036954A (en) | Mobile information aggregation system based on geographic information system (GIS) and mobile information aggregation method based on GIS | |
US10192330B2 (en) | Rendering data visualizations in different analytical applications | |
US10489024B2 (en) | UI rendering based on adaptive label text infrastructure | |
WO2017143996A1 (en) | Data presentation method and device | |
CN103631578A (en) | Data display method in power distribution network automated system | |
CN103853759A (en) | Self-adaptive form generation method and self-adaptive form generation system | |
CN102129468B (en) | Method for displaying customizable cluster state | |
US20140143270A1 (en) | Generating dynamic drilldown reports | |
JP5002729B2 (en) | Data viewer management | |
CN103390018A (en) | Web service data modeling and searching method based on SDD (service data description) | |
CN106951254B (en) | Method and device for multiplexing similar service function modules in payment system | |
CN104484358A (en) | Process template displaying method and system | |
CN106055629A (en) | Single well information management system | |
CN107885840A (en) | Urban information model service method and system | |
CN112035555B (en) | Information display method, device and equipment |
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 | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170124 Address after: 211106 Jiangning economic and Technological Development Zone, Jiangsu, general Avenue, No. 37, No. Patentee after: JIANGSU DAWN INFORMATION TECHNOLOGY CO., LTD. Address before: 300384 Tianjin city Xiqing District Huayuan Industrial Zone (outer ring) Haitai Huake Street No. 15 1-3 Patentee before: Sugon Information Industry Co., Ltd. |