CN114826871B - Cloud platform monitoring alarm processing function test method and system - Google Patents
Cloud platform monitoring alarm processing function test method and system Download PDFInfo
- Publication number
- CN114826871B CN114826871B CN202210167017.0A CN202210167017A CN114826871B CN 114826871 B CN114826871 B CN 114826871B CN 202210167017 A CN202210167017 A CN 202210167017A CN 114826871 B CN114826871 B CN 114826871B
- Authority
- CN
- China
- Prior art keywords
- alarm
- test
- data
- cloud platform
- test data
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 title claims abstract description 47
- 238000010998 test method Methods 0.000 title claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 145
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000013500 data storage Methods 0.000 claims abstract description 7
- 238000013075 data extraction Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 9
- 238000013461 design Methods 0.000 claims description 7
- 230000002596 correlated effect Effects 0.000 abstract description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Alarm Systems (AREA)
Abstract
The invention particularly relates to a cloud platform monitoring alarm processing function test method and a cloud platform monitoring alarm processing function test system. According to the cloud platform monitoring alarm processing function testing method and system, an automatic method is adopted, alarm data are injected into the cloud platform system in batches, a cloud platform monitoring alarm processing scene is simulated, the accuracy of alarm rules is tested by combining business processes including data receiving, data storage and data processing, and full-coverage testing of the cloud platform monitoring alarm processing scene and the alarm rules is achieved. According to the cloud platform monitoring alarm processing function testing method and system, the traditional testing method is used as a support, the testing efficiency is improved by combining an automatic method, the testing of various requirements scenes of the cloud platform monitoring alarm can be covered more efficiently and comprehensively, the scenes are correlated as a whole, the testing result is more referential, and the problems of complex testing and low efficiency of the cloud platform monitoring alarm are effectively solved.
Description
Technical Field
The invention relates to the technical field of cloud computing, in particular to a cloud platform monitoring alarm processing function test method and system.
Background
In the cloud computing era, the monitoring and alarming technology of the cloud platform is mature. However, the huge data generated by the monitoring alarm also brings trouble to the cloud platform test work, if the traditional service function test method is always used, the personnel can work inefficiently, the comprehensive test can not be provided, and the test result is not personified.
The cloud platform monitoring alarm processing is one of the extremely important works in the operation and maintenance work of the cloud platform, and the accuracy of monitoring alarm is particularly important for the efficiency of the operation and maintenance work due to the huge alarm data of each cloud center, and a large amount of alarm data also brings difficulty to the test work.
In order to improve the test work efficiency of the monitoring alarm module and reduce the manual test cost so as to provide a more comprehensive and accurate test conclusion, the invention provides a cloud platform monitoring alarm processing function test method and a cloud platform monitoring alarm processing function test system.
Disclosure of Invention
The invention provides a simple and efficient cloud platform monitoring alarm processing function test method and system for overcoming the defects of the prior art.
The invention is realized by the following technical scheme:
a cloud platform monitoring alarm processing function test method is characterized in that: and the automatic method is adopted to inject the alarm data into the cloud platform system in batches, simulate the cloud platform to monitor the alarm processing scene, and test the accuracy of the alarm rules by combining the business processes including data receiving, data storage and data processing, so as to realize the full-coverage test of the cloud platform to monitor the alarm processing scene and the alarm rules.
The method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data experience library to form an alarm key field document;
step 2: designing test data based on the alarm rule in combination with a test data experience base, and forming a test data document;
step 3: and importing the alarm key field document into an interface test tool for execution, deleting the test data if the alarm is not triggered, and adding the test data to a test data experience library if the alarm is triggered.
The alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
The test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method.
The cloud platform monitoring alarm processing function test system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience library;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience database, identifying and extracting alarm key fields in the alarm data extraction module to form an alarm key field document, and importing the alarm key field document into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule and the test data experience base, forming a test data document and guiding the test data document into the interface test tool module
The interface test tool module is responsible for testing the accuracy of the alarm rule by utilizing the alarm key field document and the test data document, and sending the test data triggering the alarm to the test data experience library;
the test data experience library is responsible for managing and storing all test data that trigger warnings.
The test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method.
The alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
The interface test tool module simulates a cloud platform monitoring alarm processing scene, combines a business flow including data receiving, data storage and data processing to test the accuracy of an alarm rule, and deletes test data when an alarm is not triggered.
The beneficial effects of the invention are as follows: according to the cloud platform monitoring alarm processing function testing method and system, the traditional testing method is used as a support, the testing efficiency is improved by combining an automatic method, the testing of various requirements scenes of the cloud platform monitoring alarm can be covered more efficiently and comprehensively, the scenes are correlated as a whole, the testing result is more referential, and the problems of complex testing and low efficiency of the cloud platform monitoring alarm are effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a method for testing a monitoring alarm processing function of a cloud platform according to the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the technical solution of the present invention, the following description will make clear and complete description of the technical solution of the present invention in combination with the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The traditional testing method designs a complete service flow testing scheme for the cloud server according to alarm service logic, and comprises the steps of configuring alarm rules, manually triggering alarms (such as a rule that the shutdown operation of a cloud server can trigger state monitoring of the cloud server), storing alarm data, executing one to more than two flows, recording results of the flows, and analyzing according to expected results.
Through traditional manual testing, the correctness of the business function logic can be tested to the greatest extent, and the function logic can be guaranteed to reach expectations.
A common scenario for monitoring alarm functions is typically the bulk transmission of a large number of different alarm data while triggering a large number of different alarm rules. However, since multiple scenes may occur in the arrangement and combination of the alarm rules, if only one scene or alarm rule can be tested, the full coverage of the test cannot be achieved, so that it is important to monitor the comprehensive and efficient test of the alarm.
According to the cloud platform monitoring alarm processing function testing method, an automatic method is adopted, alarm data are injected into a cloud platform system in batches, a cloud platform monitoring alarm processing scene is simulated, the accuracy of alarm rules is tested by combining business processes including data receiving, data storage and data processing, and full coverage testing of the cloud platform monitoring alarm processing scene and the alarm rules is achieved.
The method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data experience library to form an alarm key field document;
step 2: designing test data based on the alarm rule in combination with a test data experience base, and forming a test data document;
step 3: and importing the alarm key field document into an interface test tool for execution, deleting the test data if the alarm is not triggered, and adding the test data to a test data experience library if the alarm is triggered.
The alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
The test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method.
The cloud platform monitoring alarm processing function test system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience library;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience database, identifying and extracting alarm key fields in the alarm data extraction module to form an alarm key field document, and importing the alarm key field document into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule and the test data experience base, forming a test data document and guiding the test data document into the interface test tool module
The interface test tool module is responsible for testing the accuracy of the alarm rule by utilizing the alarm key field document and the test data document, and sending the test data triggering the alarm to the test data experience library;
the test data experience library is responsible for managing and storing all test data triggering warning for the next test.
The test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method.
The alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
The interface test tool module simulates a cloud platform monitoring alarm processing scene, combines a business flow including data receiving, data storage and data processing to test the accuracy of an alarm rule, and deletes test data when an alarm is not triggered.
Compared with the prior art, the cloud platform monitoring alarm processing function test method and system have the following characteristics:
firstly, a traditional testing method is used as a support, and an automatic method is combined, so that the testing efficiency is improved, and the testing of various requirements of monitoring and alarming scenes of the cloud platform can be more efficiently and comprehensively covered;
secondly, associating all scenes as a whole, so that the test result has more referential property;
thirdly, the problems of complex testing and low efficiency of cloud platform monitoring alarm are effectively solved.
The above examples are only one of the specific embodiments of the present invention, and the ordinary changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the scope of the present invention.
Claims (5)
1. A cloud platform monitoring alarm processing function test method is characterized in that: the method comprises the steps of injecting alarm data into a cloud platform system in batches by adopting an automatic method, simulating a cloud platform monitoring alarm processing scene, and testing the accuracy of alarm rules by combining business processes including data receiving, data storage and data processing to realize full-coverage test of the cloud platform monitoring alarm processing scene and the alarm rules;
the method comprises the following steps:
step 1: acquiring alarm data from a test data experience library, identifying and extracting alarm key fields in the alarm data experience library to form an alarm key field document;
step 2: designing test data based on the alarm rule in combination with a test data experience base, and forming a test data document;
step 3: leading the alarm key field document into an interface test tool for execution, deleting the test data if the alarm is not triggered, and adding the test data to a test data experience library if the alarm is triggered;
the test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method.
2. The cloud platform monitoring alarm processing function test method according to claim 1, wherein: the alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
3. A cloud platform monitoring alarm processing function test system is characterized in that: the system comprises an alarm data extraction module, a test data design module, an interface test tool module and a test data experience library;
the test data experience base original data are real test data obtained by simulating and monitoring an alarm processing function scene by adopting a traditional test method;
the alarm data extraction module is responsible for acquiring alarm data from the test data experience database, identifying and extracting alarm key fields in the alarm data extraction module to form an alarm key field document, and importing the alarm key field document into the interface test tool module;
the test data design module is responsible for designing test data based on the alarm rule and the test data experience base, forming a test data document and guiding the test data document into the interface test tool module
The interface test tool module is responsible for testing the accuracy of the alarm rule by utilizing the alarm key field document and the test data document, and sending the test data triggering the alarm to the test data experience library;
the test data experience library is responsible for managing and storing all test data that trigger warnings.
4. The cloud platform monitoring alarm processing function test system of claim 3 wherein: the alert key fields include, but are not limited to, cloud center name regionCode, alert rule name alert name, and host.
5. The cloud platform monitoring alarm processing function test system of claim 3 wherein: the interface test tool module simulates a cloud platform monitoring alarm processing scene, combines a business flow including data receiving, data storage and data processing to test the accuracy of an alarm rule, and deletes test data when an alarm is not triggered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167017.0A CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210167017.0A CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114826871A CN114826871A (en) | 2022-07-29 |
CN114826871B true CN114826871B (en) | 2024-04-12 |
Family
ID=82527835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210167017.0A Active CN114826871B (en) | 2022-02-23 | 2022-02-23 | Cloud platform monitoring alarm processing function test method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114826871B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376100A (en) * | 2015-12-09 | 2016-03-02 | 国云科技股份有限公司 | Distributed alarm rule assessment method suitable for cloud platform resource monitoring |
CN108490282A (en) * | 2018-01-31 | 2018-09-04 | 中国电力科学研究院有限公司 | A kind of pre-setting method and system of intelligent substation alarm test data |
CN109218097A (en) * | 2018-09-19 | 2019-01-15 | 山东浪潮云投信息科技有限公司 | A kind of warning system and alarm method of cloud platform configurable alert rule |
CN110535945A (en) * | 2019-08-30 | 2019-12-03 | 苏州浪潮智能科技有限公司 | Test method, device, equipment and the storage medium of storage cluster alarm function |
CN111698121A (en) * | 2020-06-10 | 2020-09-22 | 浪潮商用机器有限公司 | SNMP trap alarm test method and related device |
CN113595761A (en) * | 2021-06-25 | 2021-11-02 | 国网辽宁省电力有限公司电力科学研究院 | Micro-service component optimization method of power system information and communication integrated scheduling platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017144432A1 (en) * | 2016-02-26 | 2017-08-31 | Nokia Solutions And Networks Oy | Cloud verification and test automation |
US10505789B2 (en) * | 2016-03-28 | 2019-12-10 | TUPL, Inc. | Intelligent configuration system for alert and performance monitoring |
-
2022
- 2022-02-23 CN CN202210167017.0A patent/CN114826871B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376100A (en) * | 2015-12-09 | 2016-03-02 | 国云科技股份有限公司 | Distributed alarm rule assessment method suitable for cloud platform resource monitoring |
CN108490282A (en) * | 2018-01-31 | 2018-09-04 | 中国电力科学研究院有限公司 | A kind of pre-setting method and system of intelligent substation alarm test data |
CN109218097A (en) * | 2018-09-19 | 2019-01-15 | 山东浪潮云投信息科技有限公司 | A kind of warning system and alarm method of cloud platform configurable alert rule |
CN110535945A (en) * | 2019-08-30 | 2019-12-03 | 苏州浪潮智能科技有限公司 | Test method, device, equipment and the storage medium of storage cluster alarm function |
CN111698121A (en) * | 2020-06-10 | 2020-09-22 | 浪潮商用机器有限公司 | SNMP trap alarm test method and related device |
CN113595761A (en) * | 2021-06-25 | 2021-11-02 | 国网辽宁省电力有限公司电力科学研究院 | Micro-service component optimization method of power system information and communication integrated scheduling platform |
Non-Patent Citations (1)
Title |
---|
综合网管告警集中监控系统设计与实现;陈拥军;徐罡;方琳琳;;计算机与现代化;20130315(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114826871A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105580032B (en) | For reducing instable method and system when upgrading software | |
Jayathilake | Towards structured log analysis | |
US20220138032A1 (en) | Analysis of deep-level cause of fault of storage management | |
Selay et al. | Adaptive random testing for image comparison in regression web testing | |
CN114490375A (en) | Method, device and equipment for testing performance of application program and storage medium | |
CN107423090B (en) | Flash player abnormal log management method and system | |
CN115396182A (en) | Industrial control safety automatic arrangement and response method and system | |
CN114356257A (en) | Log printing method, apparatus, computer device, storage medium, and program product | |
CN114826871B (en) | Cloud platform monitoring alarm processing function test method and system | |
CN115878400A (en) | Test method, test apparatus, computer device, storage medium, and program product | |
CN115696337A (en) | Mobile terminal safety monitoring analysis method and device | |
CN111026631B (en) | Automatic interface detection method, device and server | |
CN109086196B (en) | Computer lab equipment test case management system | |
CN114745256B (en) | Server alarm tracing method, device and storage medium | |
CN111274143A (en) | Buried point testing method, device, equipment and storage medium | |
CN109271296A (en) | A kind of jelly screen test method | |
CN117520436B (en) | Meteorological service pilot-scale product display method, device, system and medium | |
CN110688302B (en) | Automatic field library testing method and device | |
CN116610664B (en) | Data monitoring method, device, computer equipment, storage medium and product | |
CN114860549B (en) | Buried data verification method, buried data verification device, buried data verification equipment and storage medium | |
CN111830931B (en) | Fault diagnosis method of DCS (distributed control system) | |
CN109286605A (en) | A kind of business conduct path monitoring method and device based on big data | |
CN115934706A (en) | Database statement processing method and device, storage medium and electronic equipment | |
CN116974548A (en) | Nuclear power plant equipment fault relation management system and method | |
Zhang et al. | Design of ARINC661 data analysis software for airworthiness compliance verification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |