CN105653272A - Cloud platform resource monitoring data converter-based publisher realization method - Google Patents

Cloud platform resource monitoring data converter-based publisher realization method Download PDF

Info

Publication number
CN105653272A
CN105653272A CN201511008378.7A CN201511008378A CN105653272A CN 105653272 A CN105653272 A CN 105653272A CN 201511008378 A CN201511008378 A CN 201511008378A CN 105653272 A CN105653272 A CN 105653272A
Authority
CN
China
Prior art keywords
data
rule
distributor
name
title
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.)
Pending
Application number
CN201511008378.7A
Other languages
Chinese (zh)
Inventor
马桂成
杨松
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201511008378.7A priority Critical patent/CN105653272A/en
Publication of CN105653272A publication Critical patent/CN105653272A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of cloud platform resource monitoring, in particular to a cloud platform resource monitoring data converter-based publisher realization method. The method comprises the following steps: firstly configuring, loading and explaining a data publisher rule; collecting and monitoring original data sets; executing data conversion by a data converter; judging whether the publisher rule exists, if the judging result is positive, executing the next step, and if the judging result is negative, not carrying out data publishing; and judging whether name matching is successful, if the judging result is positive, executing data publishing by a publisher, and if the judging result is negative, not carrying out data publishing. According to the method, the operation and maintenance staffs can self-define the publisher rule of monitoring data items, so that the method has high expandability and is capable of effectively solving the problem of data connection between different assemblies or platforms; and the method can be applied to the resource monitoring field of cloud computation.

Description

A kind of distributor based on cloud platform monitoring resource data converter realizes method
Technical field
The present invention relates to cloud platform monitoring resource technical field, particularly a kind of distributor based on cloud platform monitoring resource data converter realizes method.
Background technology
Cloud computing resources huge number, and cloud platform is born and various resources is monitored. Along with cloud platform high speed development, each assembly or other non-cloud platforms are intended to obtain the various monitoring data in cloud platform, and the monitoring data class of cloud platform is various, it is necessary to spend substantial amounts of man power and material to provide monitoring data support, bring problems with:
One is cost and the time input of overlapping development, in order to obtain the monitoring data of different field, it is necessary to develop according to specific circumstances. Data publication flow process on a large amount of logics are similar, but wants the substantial amounts of time to go exploitation.
Two is that monitoring resource data do not adapt to various assembly or various platform is collected by the mode of main flow.
Three is that an initial data can not support that multiple published method issues data.
Namely various data are issued in order to put into less cost, need a kind of distributor method based on cloud platform monitoring resource data converter, operation maintenance personnel can self-defined distributor rule, strictly all rules is carried out unified management, one data item can be passed through one or more distributor rule and issue data, quickly supports various assemblies or various platform collection monitoring data.
Summary of the invention
Present invention solves the technical problem that and be in that to provide a kind of distributor based on cloud platform monitoring resource data converter to realize method, solve the cost of overlapping development and time input, monitoring resource data do not adapt to various assembly or various platform is collected, an initial data can not support that multiple published method issues the problems such as data.
This invention address that the technical scheme of above-mentioned technical problem is:
Described method comprises the steps:
Step 1: first configuration data distributor rule;
Step 2: loading data distributor rule;
Step 3: explain data publication device rule;
Step 4: collection monitoring original data set;
Step 5: data converter performs data conversion;
Step 6: judge whether distributor rule exists, if then performing next step, otherwise performs step 9;
Step 7: judge that whether name-matches is successful, if performing next step, otherwise performs step 10;
Step 8: distributor performs data publication; Perform step 10;
Step 9: be made without data publication;
Step 10: complete.
Described configuration data distributor rule, is that the data publication device that user revises on configuration file by hand is regular;
Described configuration file is made up of zero or a plurality of rule, and every rule includes the compositions such as the name list of rule name, the title of data item, distributor;
The title of described data item is regular expression composition.
Described loading data distributor rule, the configuration file of loading data distributor rule time data publication device starts;
Described explanation data publication device rule, explains every rule of configuration file, by the rule name of every rule, data item title regular expression, distributor the data such as title be saved in internal memory.
Whether described distributor rule exists, and searches whether these distributor exist according to the data publication device rule name of original data set, if existing, performs next step; If being absent from, it is made without data publication.
Whether described name-matches is successful, and the data item title of initial data is mated by the data item title regular expression in rule, if the match is successful, continues executing with next step, is otherwise made without data publication.
The present invention is by the distributor method based on cloud platform monitoring resource data converter, put into less cost and just issue various cloud platform data, reduce that overlapping development logic is identical but cost that data item is different puts into, especially supporting various intraware or third-party platform, an initial data supports that multiple published method issues data. The present invention is a kind of software engineering, it is only necessary to installs operating system on conventional server and just can support, the general data publication device in region needs specific hardware support; The present invention is a kind of technological frame, it is adaptable to the various monitoring data of cloud platform, is different from general cloud platform; The present invention is except can by the predefined rule of program, it is also possible to self-defined by operation maintenance personnel, has high flexibility, is different from general data publication device; The present invention utilizes regular expression, it is possible to meet various data publication, is different from general data publication device and can only issue the data of specific area; The each initial data of the present invention supports that multiple published method issues data, is different from general data publication device and issues only by a kind of mode.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is flow chart;
Fig. 2 is the building-block of logic of the present invention.
Detailed description of the invention
Embodiments of the present invention have multiple, illustrate that one of which realizes method for total cloud platform here, and flow chart is as it is shown in figure 1, specific implementation process is as follows:
1, first configuration data distributor is regular;
User revises the configuration file of data publication device rule by manual mode.
2, loading data distributor rule, code is as follows:
/ * *
* loading data distributor rule.
* parampath data publication device Profile Path
* return is without return value
*/
publicvoidload(Stringpath){
PublisherRule.load (path);
}
3, explaining data publication device rule, code is as follows:
/ * *
* loading data distributor rule.
* parampath data publication device Profile Path
* return is without return value
*/
publicvoidexplain(Stringpath){
PublisherRule.explain (path);
}
4, collection monitoring original data set, code is as follows:
/ * *
* collection monitoring original data set.
* return is without return value
*/
publicvoidcollect(){
Collector.collect ();
}
5, data converter performs data conversion, and code is as follows:
/ * *
* data converter execution data are changed.
* paramvalue data item
* the Item Object after returnObject conversion
*/
publicObjecttransfer(Objectvalue){
returnTransferRule.transfer (value);
}
6, whether distributor rule exists, if then performing next step, otherwise performs step 9, and code is as follows:
/ * *
* whether distributor rule exists.
* mono-data acquisition system of paramst
* returnList<PublisherRule>list of rules
*/
publicList<PublisherRule>find(DataSetst){
returnPublisherRule.find (st.getNames ());
}
7, whether name-matches is successful, if performing next step, otherwise performs step 10, and code is as follows:
/ * *
* whether name-matches is successful.
* the title of paramname data item
* the Boolean type of returnboolean matching result
*/
publicbooleanmatchByName(Stringname){
returnPublisherRule.matchByName (name);
}
8, distributor performs data publication, performs step 10, and code is as follows:
/ * *
* distributor performs data publication.
* paramvalue data item
* return is without return value
*/
publicvoidpublish(Objectvalue){
Publisher.publish(value);
}
9, it is made without data publication;
Flow process terminates.

Claims (7)

1. one kind realizes method based on the distributor of cloud platform monitoring resource data converter, it is characterised in that: described method comprises the steps:
Step 1: first configuration data distributor rule;
Step 2: loading data distributor rule;
Step 3: explain data publication device rule;
Step 4: collection monitoring original data set;
Step 5: data converter performs data conversion;
Step 6: judge whether distributor rule exists, if then performing next step, otherwise performs step 9;
Step 7: judge that whether name-matches is successful, if performing next step, otherwise performs step 10;
Step 8: distributor performs data publication; Perform step 10;
Step 9: be made without data publication;
Step 10: complete.
2. method according to claim 1, it is characterised in that: described configuration data distributor rule, is that the data publication device that user revises on configuration file by hand is regular;
Described configuration file is made up of zero or a plurality of rule, and every rule includes the compositions such as the name list of rule name, the title of data item, distributor;
The title of described data item is regular expression composition.
3. method according to claim 1, it is characterised in that: described loading data distributor rule, the configuration file of loading data distributor rule time data publication device starts;
Described explanation data publication device rule, explains every rule of configuration file, by the rule name of every rule, data item title regular expression, distributor the data such as title be saved in internal memory.
4. method according to claim 2, it is characterised in that: described loading data distributor rule, the configuration file of loading data distributor rule time data publication device starts;
Described explanation data publication device rule, explains every rule of configuration file, by the rule name of every rule, data item title regular expression, distributor the data such as title be saved in internal memory.
5. the method according to any one of Claims 1-4, it is characterised in that: whether described distributor rule exists, and searches whether these distributor exist according to the data publication device rule name of original data set, if existing, performs next step; If being absent from, it is made without data publication.
6. the method according to any one of Claims 1-4, it is characterized in that: whether described name-matches is successful, the data item title of initial data is mated by the data item title regular expression in rule, if the match is successful, continue executing with next step, be otherwise made without data publication.
7. method according to claim 5, it is characterized in that: whether described name-matches is successful, the data item title of initial data is mated by the data item title regular expression in rule, if the match is successful, continues executing with next step, is otherwise made without data publication.
CN201511008378.7A 2015-12-25 2015-12-25 Cloud platform resource monitoring data converter-based publisher realization method Pending CN105653272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511008378.7A CN105653272A (en) 2015-12-25 2015-12-25 Cloud platform resource monitoring data converter-based publisher realization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511008378.7A CN105653272A (en) 2015-12-25 2015-12-25 Cloud platform resource monitoring data converter-based publisher realization method

Publications (1)

Publication Number Publication Date
CN105653272A true CN105653272A (en) 2016-06-08

Family

ID=56477118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511008378.7A Pending CN105653272A (en) 2015-12-25 2015-12-25 Cloud platform resource monitoring data converter-based publisher realization method

Country Status (1)

Country Link
CN (1) CN105653272A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789491A (en) * 2012-07-03 2012-11-21 河海大学 Configurable data subscribing and publishing system and method thereof
CN102970164A (en) * 2012-11-20 2013-03-13 无锡成电科大科技发展有限公司 Cloud platform management monitoring system and method
CN103152417A (en) * 2013-03-04 2013-06-12 上海帜讯信息技术有限公司 Multi-enterprise cloud folder deployment and information interaction method facing common client
US20130188512A1 (en) * 2012-01-23 2013-07-25 eLeMeNtek, LLC D.B.A. PeakColo System and method for a multi-tenant datacenter with layer 2 cloud interconnection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130188512A1 (en) * 2012-01-23 2013-07-25 eLeMeNtek, LLC D.B.A. PeakColo System and method for a multi-tenant datacenter with layer 2 cloud interconnection
CN102789491A (en) * 2012-07-03 2012-11-21 河海大学 Configurable data subscribing and publishing system and method thereof
CN102970164A (en) * 2012-11-20 2013-03-13 无锡成电科大科技发展有限公司 Cloud platform management monitoring system and method
CN103152417A (en) * 2013-03-04 2013-06-12 上海帜讯信息技术有限公司 Multi-enterprise cloud folder deployment and information interaction method facing common client

Similar Documents

Publication Publication Date Title
CN105550268A (en) Big data process modeling analysis engine
CN105677615B (en) A kind of distributed machines learning method based on weka interface
Samosir et al. An evaluation of data stream processing systems for data driven applications
CN105677469A (en) Timing task executing method and device
US9256519B2 (en) Using linked data to determine package quality
CN103514205A (en) Mass data processing method and system
Senger et al. BSP cost and scalability analysis for MapReduce operations
CN105260286A (en) Method for monitoring CPU working state in real time
Mishra et al. Cracking the monolith: Challenges in data transitioning to cloud native architectures
CN104299170B (en) Intermittent energy source mass data processing method
Wu et al. An Auxiliary Decision‐Making System for Electric Power Intelligent Customer Service Based on Hadoop
CN106155822A (en) A kind of disposal ability appraisal procedure and device
CN104166545A (en) Webpage resource sniffing method and device
Li et al. Bigprovision: a provisioning framework for big data analytics
CN106599253A (en) Method for achieving distributed computation by using NoSQL database
CN104468810A (en) Method for monitoring high-performance computing resource based on loongson platform
CN103279328A (en) BlogRank algorithm parallelization processing construction method based on Haloop
CN105653272A (en) Cloud platform resource monitoring data converter-based publisher realization method
CN103257883A (en) Web based wireless sensing network remote stimulation system
CN110018830A (en) A kind of large software compilation device based on distributed type assemblies
CN102508694B (en) Method and system for operating file of virtual machine
CN104699520B (en) A kind of power-economizing method based on virtual machine (vm) migration scheduling
CN105630896A (en) Method for quickly importing mass data
US8495033B2 (en) Data processing
CN103927157A (en) Method for building distributed computing system entity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160608

WD01 Invention patent application deemed withdrawn after publication