CN102129468A - Architecture for displaying customizable cluster state - Google Patents
Architecture for displaying customizable cluster state Download PDFInfo
- Publication number
- CN102129468A CN102129468A CN 201110069500 CN201110069500A CN102129468A CN 102129468 A CN102129468 A CN 102129468A CN 201110069500 CN201110069500 CN 201110069500 CN 201110069500 A CN201110069500 A CN 201110069500A CN 102129468 A CN102129468 A CN 102129468A
- Authority
- CN
- China
- Prior art keywords
- page
- data
- framework
- view
- customizable
- 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.)
- Granted
Links
Images
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 the cluster monitoring field, be specifically related to the framework that a kind of customizable cluster state represents.
Background technology
Cluster monitoring comprises the monitoring of hardware device, as rack, server, switch, memory device etc.; The monitoring of using, as oracle database, third party software etc., the present invention is referred to as resource with these hardware devices that will monitor and application.Because the index that dissimilar resources will be monitored is not quite similar, the webpage representation content is also different with mode, how to realize that a kind of general monitoring framework unified Definition and the various types of monitoring resource pages of management are difficult problems that cluster monitoring exists all the time.In cluster monitoring system in the past, monitoring webpage representation for dissimilar resources, generally be fixing realization content displayed in program code, or have some simple configuration methods, these modes that the unified approach of a kind of quick increase or change monitoring content of pages is not provided.
Summary of the invention
The objective of the invention is dissimilar resources, separate and to customize the problem that corresponding state represents the page apace for monitoring.
The framework that a kind of customizable cluster state represents comprises 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 the user shows the corresponding monitoring page; Its workflow is divided into foreground and backstage two parts,
Foreground work:
A, according to the menu item that the user selects, ask corresponding resource tree data, generate 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 the dashboard structure;
Background work:
C, reception foreground resource tree data query request according to the parameter of transmitting, are searched corresponding resource tree service, carry out resource tree and organize data method, return results;
D, reception front page layout description document configuration item data and achievement data query requests according to the parameter of transmitting, are searched the achievement data of corresponding page description document configuration item and resource, return results.
More preferably, described monitoring page layout is that the top is the order button district, and the left side is the resource tree district, and the right side is the dashboard district;
Wherein, the default associated button that refreshes the dashboard page data that provides of described command button area comprises: manual refreshing, refresh interval setting and refresh check box automatically, expansion interface is provided, and each service sub-system can add the order button that needs;
Default expansion, contraction and the refresh button that tree is provided in resource tree zone, 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 zone is made up 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 nodes of resource tree, can define different dashboard view contents.
More preferably, the process of organizational resources achievement data is as follows among the described step C:
A) according to the parameter of transmitting, search corresponding page description document configuration item, to the items of configuration item each, carry out following operation:
I. obtain the value of dataGenerator (Data Generator) and dataid (data unique identification) attribute;
Ii. according to dataGenerator, search corresponding data and generate service;
Iii. carry out the data query method that data generate service;
Iv. return results is carried out unified data organization, 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 used to realize the inquiry and the tissue of specific data.
Preferably, described base class is realized functions such as multi-lingualization of view title, and the refresh data interface is provided; Each view type all must be inherited base class, and realizes the refresh data interface.
Preferably, described public view page comprises common view type, form, pie chart, histogram, meter diagram, cylinder, thermometer; Each view type all each view type all to be registered be an intrasystem customization type, typonym meets agreement, and unique in system; Each operation system can the self-defined view page that will show, can define various operations on view page; 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 corresponding page-describing information respectively to dissimilar resources, 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 can realize revising fast the existing monitoring page and the function that increases the new customization monitoring page by realizing a general monitoring page framework and some public view pages and public data maker; Realize based on the OSGi framework, after revising configuration, can onlinely come into force; With the monitoring of different business systems a bundle as OSGi, when increasing new service system monitoring, only needing increases new bundle, realizes universal monitor framework and configuration therein, can dynamically add new service system monitoring under the situation that does not influence the original system operation.
Description of drawings
Fig. 1 is a universal monitor page framework realization flow.
Fig. 2 is the integral layout of the cluster monitoring page.
The group type resource of Fig. 3 for using the present invention to realize
Fig. 4 represents the page for the monitoring of type of server resource
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 the user shows the corresponding monitoring page.The monitoring page of each operation system has identical layout: the top is an order button, and the left side is a resource tree, and the right side is dashboard.
1) the default associated button that refreshes the dashboard page data that provides of command button area comprises:
Manual refreshing, refresh interval setting and refresh check box automatically.Expansion interface is provided, and each service sub-system can add the order button that needs.
2) default expansion, contraction and the refresh button that tree is provided in left side resource tree zone 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) the dashboard zone is made up 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 nodes of resource tree, can define different dashboard view contents.
Workflow:
Be divided into foreground and backstage two parts:
Work in the foreground:
1) menu item of selecting according to the user is asked 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 the dashboard structure.
Work in the backstage:
1) receives foreground resource tree data query request,, search corresponding resource tree service, carry out resource tree and organize data method, return results according to the parameter of transmitting.
2) receive front page layout description document configuration item data and achievement data query requests,, search the achievement data of corresponding page description document configuration item and resource, return results according to the parameter of transmitting.When the achievement data of organizational resources, carry out following steps:
A) according to the parameter of transmitting, search corresponding page description document configuration item, to the items of configuration item each, carry out following operation:
V. obtain the value of dataGenerator (Data Generator) and dataid (data unique identification) attribute;
Vi. according to dataGenerator, search corresponding data and generate service
Vii. carry out the data query method that data generate service
Viii. return results is carried out unified data organization, 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.Comprise a method public List getMonitorViewTree () in the interface; , this method is used to organize the resource tree in monitoring page left side.
The characteristics of resource tree are that each node all must have " resId " attribute and " panelConfFilter " attribute, and other optional attribute can be arranged.The value of " resId " attribute is the resource id of 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, and is unique in system, is used for as the foundation of searching the resource tree service.
3. realize uniform data maker interface
Corresponding data maker of each view in the dashboard page, each Data Generator must be realized this interface, comprise a method public Object queryData (Long resId, Map mapPanelDesc) in the interface, be used to realize the inquiry and the tissue of specific data.The inquiry of each Data Generator and organize data method must be distributed for OSGi service, service must have " dataGenerator " attribute, and its value is unique in system, is used for as searching the foundation that Data Generator is served.
4. realize the view type base class
System provides the base class of view type, and base class is realized functions such as multi-lingualization of view title, and the refresh data interface is provided.Each view type all must be inherited base class, and realizes the refresh data interface.
5. realize public view page
System provides common view type, as form, pie chart, histogram, meter diagram, cylinder, thermometer etc., each view type all each view type all to be registered be an intrasystem customization type, typonym meets agreement, and unique in system.
Each operation system can the self-defined view page that will show, can define various operations on view page.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 corresponding page-describing information respectively to dissimilar resources, 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 certain regular storage and uniform.System will generate corresponding view according to page-describing information, obtains data and demonstration.
Claims (9)
1. framework that customizable cluster state represents, it is characterized in that: described framework comprises general monitoring page architecture, unified monitoring page interface, unified Data Generator interface, view type base class, public view page, the description of page info.
2. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: the operation system that described universal monitor page framework is selected according to the user shows the corresponding monitoring page; Its work is divided into foreground and backstage two parts,
The work of described foreground:
A, according to the menu item that the user selects, ask corresponding resource tree data, generate 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 the dashboard structure;
Described background work:
C, reception foreground resource tree data query request according to the parameter of transmitting, are searched corresponding resource tree service, carry out resource tree and organize data method, return results;
D, reception front page layout description document configuration item data and achievement data query requests according to the parameter of transmitting, are searched the achievement data of corresponding page description document configuration item and resource, return results.
3. the framework that represents as a kind of customizable cluster state as described in the claim 2, it is characterized in that: described monitoring page layout is that the top is the order button district, and the left side is the resource tree district, and the right side is the dashboard district;
Wherein, the default associated button that refreshes the dashboard page data that provides of described command button area comprises: manual refreshing, refresh interval setting and refresh check box automatically, expansion interface is provided, and each service sub-system can add the order button that needs;
Default expansion, contraction and the refresh button that tree is provided in resource tree zone, 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 zone is made up 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 nodes of resource tree, can define different dashboard view contents.
4. the framework that represents as a kind of customizable cluster state as described in the claim 2, it is characterized in that: the process of organizational resources achievement data is as follows among the described step C:
A) according to the parameter of transmitting, search corresponding page description document configuration item, to the items of configuration item each, carry out following operation:
I. obtain the value of dataGenerator and dataid attribute;
Ii. according to dataGenerator, search corresponding data and generate service;
Iii. carry out the data query method that data generate service;
Iv. return results is carried out unified data organization, add the result that finally will return to;
B) return results data.
5. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: described unified monitoring page interface is used for organizing the resource tree of the page.
6. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: described unified Data Generator interface is used to realize the inquiry and the tissue of specific data.
7. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: described base class is realized functions such as multi-lingualization of view title, and the refresh data interface is provided; Each view type all must be inherited base class, and realizes the refresh data interface.
8. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: described public view page comprises common view type, form, pie chart, histogram, meter diagram, cylinder, thermometer; Each view type all each view type all to be registered be an intrasystem customization type, typonym meets agreement, and unique in system; Each operation system can the self-defined view page that will show, can define various operations on view page; The view page of operation system definition also needs to be registered as intrasystem customization type, and typonym meets agreement, and unique in system.
9. the framework that a kind of according to claim 1 customizable cluster state represents is characterized in that: each operation system can define corresponding page-describing information respectively to dissimilar resources, 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 true CN102129468A (en) | 2011-07-20 |
CN102129468B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750441A (en) * | 2013-12-30 | 2015-07-01 | 北京辰安科技股份有限公司 | Cross-system multi-screen data display system based on DASHBOARD |
CN109062772A (en) * | 2018-07-16 | 2018-12-21 | 曙光信息产业(北京)有限公司 | The implementation method and cluster index warning system of cluster index alarm |
CN111324258A (en) * | 2020-02-04 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method, device, equipment and medium for generating contents of configuration items of multilevel pull-down menu |
CN113589986A (en) * | 2021-07-30 | 2021-11-02 | 上海公装无忧装饰工程有限公司 | Business process management method, system, electronic device 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 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750441A (en) * | 2013-12-30 | 2015-07-01 | 北京辰安科技股份有限公司 | Cross-system multi-screen data display system based on DASHBOARD |
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 |
CN111324258A (en) * | 2020-02-04 | 2020-06-23 | 北京字节跳动网络技术有限公司 | Method, device, equipment and medium for generating contents of configuration items of multilevel pull-down menu |
CN113589986A (en) * | 2021-07-30 | 2021-11-02 | 上海公装无忧装饰工程有限公司 | Business process management method, system, electronic device and storage medium |
CN113589986B (en) * | 2021-07-30 | 2024-02-27 | 上海公装无忧装饰工程有限公司 | Business process management method, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102129468B (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106980669B (en) | A kind of storage of data, acquisition methods and device | |
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
WO2018045750A1 (en) | Method, system, server and user terminal for displaying comment data of user | |
EP2973047A1 (en) | Methods for managing applications using semantic modeling and tagging and devices thereof | |
US9201700B2 (en) | Provisioning computer resources on a network | |
CN103929350A (en) | Information pushing method, device and system | |
WO2017143996A1 (en) | Data presentation method and device | |
CN104462616A (en) | Dynamic data collection method based on configuration item | |
CN103092906A (en) | Multi-client generic persistence for extension nodes | |
CN102129468B (en) | Method for displaying customizable cluster state | |
CN114791846A (en) | Method for realizing observability aiming at cloud native chaos engineering experiment | |
JP7366664B2 (en) | Offline briefcase sync | |
US10102774B2 (en) | Systems and methods for organizing and presenting skill progressions | |
US20120072816A1 (en) | Web link association method and system | |
CN112579558A (en) | Method, device, storage medium and equipment for displaying topological graph | |
CN112035555B (en) | Information display method, device and equipment | |
JP2021503652A (en) | Automatically connect external data to business analysis processing | |
EP2830289B1 (en) | Adaptable reporting in a multi-client telecommunication network | |
WO2016165317A1 (en) | Method and apparatus for establishing high-speed train demand data instances | |
CN105528350B (en) | Complex scene and background data mapping synchronization method and device based on unity3D platform | |
CN114185543A (en) | Dynamic page generation method and device, computer equipment and storage medium | |
CN103838869A (en) | Mobile-new-medium-oriented educational knowledge service system and information display processing method | |
CN110389944B (en) | Metadata management system and method based on model | |
EP2821928A2 (en) | Method and system for limiting output results in a mobile telecommunication system | |
CN100445997C (en) | Data synchronization method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
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. |