CN112532404B - Data monitoring method and device and electronic equipment - Google Patents

Data monitoring method and device and electronic equipment Download PDF

Info

Publication number
CN112532404B
CN112532404B CN201910875632.5A CN201910875632A CN112532404B CN 112532404 B CN112532404 B CN 112532404B CN 201910875632 A CN201910875632 A CN 201910875632A CN 112532404 B CN112532404 B CN 112532404B
Authority
CN
China
Prior art keywords
monitoring
alarm
category
data
configuration information
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
Application number
CN201910875632.5A
Other languages
Chinese (zh)
Other versions
CN112532404A (en
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.)
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong 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 China Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910875632.5A priority Critical patent/CN112532404B/en
Publication of CN112532404A publication Critical patent/CN112532404A/en
Application granted granted Critical
Publication of CN112532404B publication Critical patent/CN112532404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • H04L41/0609Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time based on severity or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the specification provides a data monitoring method, a device and electronic equipment, wherein the method comprises the following steps: acquiring monitoring policy configuration information, wherein the monitoring policy configuration information is set by monitor_KPI through monitoring policies of different preset monitoring categories, the monitoring categories are determined based on one or more of alarm levels, alarm time periods and alarm areas corresponding to monitoring points, then monitoring data of the monitoring points corresponding to each monitoring category are acquired according to the monitoring categories in the monitoring policy configuration information, whether the monitoring data of the monitoring points corresponding to each monitoring category meet the monitoring threshold conditions of the monitoring points corresponding to the corresponding monitoring categories set in the monitoring policy configuration information is respectively judged according to the monitoring data of the monitoring points corresponding to each monitoring category, and if yes, the alarm is carried out according to the alarm levels corresponding to the met monitoring threshold conditions. Therefore, the monitoring efficiency is improved, and a large amount of manpower and material resources are effectively reduced.

Description

Data monitoring method and device and electronic equipment
Technical Field
The present invention relates to the field of intelligent monitoring technologies, and in particular, to a data monitoring method, a data monitoring device, and an electronic device.
Background
In general, the monitoring mode of the service support system is generally static curing monitoring, and since the same monitoring alarm point cannot distinguish the alarm level, the alarm period and the alarm area, a large number of monitoring alarm points are usually required to be deployed to perfect the monitoring policy, however, the increase of the monitoring alarm points often means that a large amount of manpower and material resources are required to be processed, and thus a large amount of manpower and material resources are increased intangibly.
In addition, for the same monitoring area, since the same monitoring alarm point cannot distinguish the alarm levels, a plurality of monitoring alarm points are generally required to be set, for example, for a certain monitoring area, two monitoring alarm points are set, and two alarm levels are correspondingly set for the two monitoring alarm points, and if a first threshold condition (greater than 500) is met, the first monitoring alarm point triggers the first alarm level; when a second threshold condition (greater than 1000) is met, the second monitoring alarm point triggers a second alarm level. Therefore, when the second threshold condition is met, the two monitoring points trigger the alarm operation simultaneously due to the fact that the first threshold condition is also met, and when an emergency fault exists, the second alarm level triggered by the second monitoring alarm point is not found in time due to the fact that more alarm information triggered by the first monitoring alarm point is received before the server, so that the monitoring significance is lost, and meanwhile, a large amount of manpower is wasted to deal with the problem of more nonsensical monitoring alarms.
Disclosure of Invention
The embodiment of the invention aims to provide a data monitoring method, a data monitoring device and electronic equipment, which are used for solving the problems that in the prior art, the same monitoring alarm point cannot distinguish alarm levels, alarm periods and alarm areas, a large number of monitoring alarm points are required to be deployed for perfecting a monitoring strategy, and a large amount of manpower is wasted for processing more meaningless monitoring alarms.
In order to solve the technical problems, the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a data monitoring method, including:
acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI through monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
acquiring monitoring data of monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
according to the monitoring data of the monitoring points corresponding to each monitoring category, respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
If yes, alarming is carried out according to the alarm level corresponding to the met monitoring threshold condition.
In a second aspect, an embodiment of the present invention provides a data monitoring apparatus, including:
the configuration information acquisition module is used for acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI and comprises monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
the monitoring data acquisition module is used for acquiring the monitoring data of the monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
the threshold condition judging module is used for respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information according to the monitoring data of the monitoring points corresponding to each monitoring category;
and the processing result generating module is used for alarming according to the alarm level corresponding to the satisfied monitoring threshold condition if the judging result is yes.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, to implement the steps of the data monitoring method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the data monitoring method according to the first aspect.
As can be seen from the technical solutions provided in the embodiments of the present disclosure, by obtaining monitoring policy configuration information, where the monitoring policy configuration information is a monitoring policy of different predetermined monitoring categories set by monitor_kpi, where the monitoring category is determined based on one or more of an alarm level, an alarm period, and an alarm area corresponding to a monitoring point, then, according to the monitoring category in the monitoring policy configuration information, obtaining monitoring data of the monitoring point corresponding to each monitoring category, and according to the monitoring data of the monitoring point corresponding to each monitoring category, respectively determining whether the monitoring data of the monitoring point corresponding to each monitoring category meets a monitoring threshold condition of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information, and if the determination result is yes, alarming according to the alarm level corresponding to the met monitoring threshold condition. In this way, by the obtained monitoring policy configuration information and the monitoring data of the monitoring points corresponding to each monitoring category, whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information or not is judged respectively, and the alarm method is carried out according to the alarm level corresponding to the met monitoring threshold condition, the alarm time period, the alarm area and the alarm level can be effectively distinguished for the same alarm monitoring point, the response alarm level is automatically adapted, the monitoring efficiency is effectively improved, and in addition, the phenomenon of wasting a large amount of manpower and material resources is further reduced while the setting of the monitoring alarm points is reduced.
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 below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a first method for monitoring data according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a second method for monitoring data according to an embodiment of the present invention;
fig. 3 is a third flow chart of a data monitoring method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart of a data monitoring method according to an embodiment of the present invention;
fig. 5 is a fifth flowchart of a data monitoring method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of module components of a data monitoring device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, shall fall within the scope of the invention.
As shown in fig. 1, the embodiment of the present disclosure provides a data monitoring method, where an execution body of the method may be a server, where the server may be an independent server or may be a server cluster formed by a plurality of servers. The method can be used for effectively monitoring the data.
Fig. 1 is a schematic flow chart of a data monitoring method according to one or more embodiments of the present disclosure, where, as shown in fig. 1, the method at least includes the following steps:
s101, acquiring monitoring policy configuration information, wherein the monitoring policy configuration information is determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points through monitoring policies of different preset monitoring categories set by monitor_KPIs.
The predetermined monitoring category may be a category classified according to different monitoring areas, for example, different categories may be set according to a plurality of ground cities contained in a certain province, specifically, the method includes: the Guangdong province comprises 21 ground cities, and the 21 ground cities can be classified according to the ground cities, the middle ground cities and the small ground cities to obtain corresponding categories. Alternatively, the predetermined monitoring category may be a category classified according to different services, or the like.
In addition, the configuration information may include: one or more of an alarm area, an alarm period, an alarm threshold, an alarm level, an alarm identifier and an alarm account corresponding to the monitoring point. The alarm period may be different alarm periods set for different predetermined monitoring areas, or the alarm period may be different alarm periods set for different predetermined traffic categories. The alarm threshold may be a plurality of different monitoring thresholds set according to different predetermined monitoring categories. The alarm levels can be correspondingly set to be different levels such as no indication, prompt, common, important, emergency and the like according to the order from small to large of the monitoring threshold, and the higher the level is, the greater the importance and the hazard is. The alarm mark can set corresponding alarm colors (such as green, yellow, red and black) according to corresponding alarm levels so as to remind workers. The alarm account number can be a communication number, a mailbox address and the like of the staff corresponding to the corresponding alarm level.
Before the step S101 is performed to obtain the monitoring policy configuration information, the processing from the first step to the second step may be further performed:
step one, determining a monitoring strategy according to a preset monitoring type;
And step two, configuring monitoring strategy configuration information according to the monitoring strategy.
Specifically, for example: the predetermined monitoring categories may be categories classified according to different monitoring areas, such as 21 ground markets in Guangdong province into three area categories, namely, a ground market, a middle ground market and a small ground market, according to the ground markets. Firstly, setting a plurality of alarm monitoring thresholds corresponding to different local cities according to business data processed by the different local cities, setting corresponding alarm levels corresponding to the alarm monitoring thresholds, setting corresponding alarm identifications according to the alarm levels, setting corresponding alarm account numbers according to the alarm levels, and finally configuring corresponding monitoring strategy configuration information through monitor_KPI.
In implementation, for example, the above-mentioned ground city may set a monitoring threshold value of the user data amount to be processed as [1000,5000,20000], where no alarm may be given below the monitoring threshold value 1000. The alarm level corresponding to the monitoring threshold value [1000,5000] is a common alarm, the corresponding alarm mark is green, and the corresponding alarm account number is X1. The alarm level corresponding to the monitoring threshold value [5000,20000] is an important alarm, the corresponding alarm mark is yellow, and the corresponding alarm account number is X2. The alarm level corresponding to the monitoring threshold value larger than 20000 is emergency alarm, the corresponding alarm mark is red, and the corresponding alarm account is X3. Similarly, for the middle-grade city and the small-grade city, corresponding monitoring threshold values, alarm levels, alarm identifications and alarm account numbers can be set according to the actual conditions of the respective areas and the setting modes of the ground-grade city. And finally, configuring corresponding monitoring strategy configuration information through monitor_KPI.
S102, according to the monitoring categories in the monitoring policy configuration information, monitoring data of the monitoring points corresponding to each monitoring category are obtained.
The monitoring data may be a user data amount to be processed. Specifically, according to the monitoring categories in the monitoring policy configuration information, the user data amount to be processed of the monitoring points corresponding to each monitoring category is obtained through the database interfaces corresponding to the monitoring categories.
And S103, judging whether the monitoring data of the monitoring points corresponding to each monitoring category meet the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information or not according to the monitoring data of the monitoring points corresponding to each monitoring category.
If the determination result is yes, S104 is executed, and if the determination result is no, S105 is executed.
And S104, if yes, alarming according to the alarm level corresponding to the met monitoring threshold condition.
S105, if not, no alarm is given.
Specifically, for example, based on the configuration information in the step S101, in the configuration information set for the ground level city, if the acquired user data volume to be processed of the monitoring point corresponding to the ground level city is 800 and is smaller than the monitoring threshold 1000, no alarm is given. If the acquired user data volume to be processed of the monitoring point corresponding to the earth level city is 1800 and belongs to the alarm level corresponding to the set monitoring threshold value [1000,5000], normal alarm is carried out, at the moment, the corresponding alarm mark is green, alarm information is sent to the corresponding alarm account number X1, and relevant staff is informed to process the alarm information. If the acquired user data volume to be processed of the monitoring point corresponding to the earth level city is 8000 and belongs to the alarm level corresponding to the set monitoring threshold value [5000,20000], important alarm is carried out, at the moment, the corresponding alarm mark is yellow, alarm information is sent to the corresponding alarm account number X2, and relevant staff is informed of processing the alarm information. If the acquired user data volume to be processed of the monitoring point corresponding to the earth level city is 28000 and belongs to the alarm level corresponding to the set monitoring threshold value more than 20000, emergency alarm is carried out, at the moment, the corresponding alarm mark is red, alarm information is sent to the corresponding alarm account number X3, and related staff is informed to carry out emergency processing on the alarm information.
In the embodiment of the specification, by the acquired monitoring policy configuration information and the monitoring data of the monitoring points corresponding to each monitoring category, whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information is respectively judged, and the alarm is carried out according to the alarm level corresponding to the met monitoring threshold condition.
As shown in fig. 2, the specific processing manner of S104 may be varied, and an alternative processing manner is provided below, and specific reference may be made to the processing of S1041 to S1042 below.
S1041, if the judgment result is yes, judging whether the current time meets the alarm time period of the monitoring point corresponding to the corresponding monitoring category set in the monitoring strategy configuration information.
And S1042, if yes, alarming according to the alarm level corresponding to the satisfied monitoring threshold condition.
Specifically, in order to reduce false alarms, an alarm period may be preset in the monitoring policy configuration information according to an actual situation, or a non-alarm period may be preset in the monitoring policy configuration information according to an actual situation. Taking the preset alarm-free time period in the monitoring policy configuration information as an example, setting the night 22:00 to 9 in the morning: 00, if no alarm is needed, the alarm-free time period can be preset as [22,24], [0,9] in the monitoring policy configuration information, the time period setting has no sequence, and the time setting can be arbitrarily increased, for example, the noon is increased by 11:20 to 12 pm: 30, if no alarm is needed, the alarm-free time period is set as [22,24], [0,9], [11.3-12.5] in the above-mentioned monitoring policy configuration information.
In implementation, if the non-alarm time period of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information is [22,24], [0,9], [11.3-12.5], judging whether the current time meets the alarm time period ([ 9,11.3], [12.5,22 ]) of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information, if the current time is 9:30, in the alarm time period ([ 9,11.3], [12.5,22 ]) of the monitoring point corresponding to the corresponding monitoring category, alarming according to the alarm level corresponding to the met monitoring threshold condition. If the current time is 12:00, the alarm period ([ 9,11.3], [12.5,22 ]) which is not in the corresponding monitoring point of the corresponding monitoring category is not performed.
As shown in fig. 3, the specific processing manner of S103 may be varied, and an alternative processing manner is provided below, and specific reference may be made to the processing of S1031-S1032 below.
S1031, counting the total amount of monitoring data of the monitoring points corresponding to each monitoring category.
S1032, judging whether the total quantity of the monitoring data corresponding to each monitoring category meets the monitoring threshold condition of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information.
As shown in fig. 4, the specific processing manner of S104 may be varied, and an alternative processing manner is provided below, and see, for example, the processing of S1043 to S1044 below.
And S1043, if so, determining a difference value between the total amount of the monitoring data of the monitoring point corresponding to the monitoring category and the total amount of the recorded monitoring data of the monitoring point corresponding to the monitoring category last time.
S1044, if the difference value meets a preset difference value threshold, alarming according to the alarm level corresponding to the met monitoring threshold condition.
In order to avoid the problem of wasting human resources due to the alarm triggered by exceeding the monitoring threshold when the application processing is normal, a preset difference threshold may be preset in the monitoring policy configuration information according to actual situations, where the preset difference threshold may be used to determine whether the application is processed according to normal efficiency, and if the application processing efficiency is normal and the backlog amount of the user data to be processed is reduced, no alarm processing is performed.
Specifically, for example, based on the example of the configuration information in the step S101, for the monitoring threshold value of the amount of user data to be processed in the configuration information set in the earth city, the preset difference threshold value corresponding to the monitoring threshold value may be set to be [1000,5000,20000], that is, if the amount of user data to be processed acquired last time is 900 and the amount of user data to be processed acquired this time is 1500, although the amount of user data to be processed acquired this time 1500 is greater than the alarm threshold value 1000, 1500-900>300 indicates that the processing efficiency per minute of the application is greater than 300, and it is proved that the processing efficiency of the application is normal and the alarm is not required. If the acquired user data volume to be processed is 1100, namely 1100-900<300, the processing efficiency of the application per minute is smaller than 300, and the application processing efficiency is proved to be slow, at the moment, ordinary warning is carried out, at the moment, the corresponding warning mark is green, warning information is sent to the corresponding warning account number X1, and relevant staff is informed of processing the warning information.
The monitoring policy configuration information is written based on PERL programming language.
Specifically, the monitoring policy configuration information is information written based on PERL programming language, and uses PERL characteristics to put data declarations as PERL codes into a separate file (PERL allows combining and nesting arrays and hashing to create any complex data structure, the data declarations are a nested data structure, such data structure can be easily modeled for the problem to be solved), and then the data declarations are loaded into if (do "/url/tvinfo") by using a function built in do or demand, etc., and then the data declarations are configuration parameters, and the monitoring is applied as a monitoring mode of the logic body.
Because the monitoring points in the embodiment of the present disclosure are different from the common monitoring (the common monitoring is that one policy is one monitoring), the monitoring application in the embodiment classifies the monitoring according to the specific mode, and one monitoring point can carry multiple monitoring policies, so that intelligent monitoring, efficient deployment and resource saving can be realized by simple configuration.
In implementation, for example, the description of the monitoring policy configuration information is as follows:
monitor_kpi1 monitoring strategy: for example, 21 district cities in Guangdong province are divided into three regional categories, namely, a ground city, a middle ground city and a small ground city. Because the monitoring threshold value of each category is different, the application processing efficiency may be different, each alarm level needs different processing personnel to respond, and the alarm is not monitored in a specific time period, so that false alarms are reduced, for example, according to the BOMC configuration mode of the current technology, 21 ground city x 3 threshold value files x 3 time period monitoring = 189 monitoring points are required to be configured, the dilemma that if the application processing is normal, the alarm may be triggered due to exceeding of the threshold value can not be met, and a large amount of manpower and material resources are occupied.
After the technology is developed, the technology can be realized by only one configuration.
The tvinifo file is a configuration file and the tvinifo internal part data structure is shown below:
The monitoring index can be configured in a monitor_kpi1 corresponding data structure in the Tvinfo file, wherein Tpye is to be distinguished from a type, the service configuration is to distinguish between the places and markets (scalable, 1 type, 2 types or more types), m_threshold_value is a different type of monitoring Threshold (scalable), and intel_m_thd_value is a difference Threshold (scalable) between the last acquired value and the current acquired value of intelligent monitoring.
Alarm_level is the Alarm corresponding level, role is the set Alarm level corresponding processing Role, phone is the specific contact corresponding to the processing Role, and M_time is the set non-monitoring time (extensible). (extensible means that the present logic is already supported). The above labels are of a custom meaning, and the data structure can be redefined if different types of monitoring are to be satisfied.
The detailed logic of the monitoring policy configuration information is described as follows:
the unloadbak is the last acquisition value, the select_num is the current acquisition value and the actual processing efficiency value set by the strategy, and if the efficiency is ok, the alarm is not given, otherwise, the alarm is given.
foreach (@ { $Monter- > { phone }) -confirm alert correspondence processing policy
The data structure design corresponds to strategy processing, and can basically meet various current alarm types of a service support system.
As shown in fig. 5, the specific processing manner of S104 may be varied, and an alternative processing manner is provided below, and specific reference may be made to the processing of S1045-S1047 below.
S1045, if yes, determining the alarm level corresponding to the satisfied monitoring threshold condition.
S1046, determining alarm account information corresponding to the alarm level according to the alarm level corresponding to the satisfied monitoring threshold condition.
S1047, sending alarm information to the corresponding alarm account according to the alarm account information.
Wherein, the method further comprises the following steps:
step one, obtaining the coping strategy information of alarming aiming at the alarming level corresponding to the satisfied monitoring threshold condition.
And step two, processing the alarm based on the acquired coping strategy information.
The corresponding policy information may be preset in the server, and preset corresponding policy information for a corresponding alarm level.
In implementation, when the server sends alarm information to the corresponding alarm account according to the alarm level corresponding to the met monitoring threshold condition, the server can acquire preset corresponding coping strategy information according to the met monitoring threshold condition, so that a worker holding the alarm account can rapidly process the alarm based on the acquired coping strategy information.
According to the data monitoring method in the embodiment of the specification, monitoring policy configuration information is obtained, the monitoring policy configuration information is set through monitor_KPI of monitoring policies of different preset monitoring categories, the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points, then monitoring data of the monitoring points corresponding to each monitoring category are obtained according to the monitoring categories in the monitoring policy configuration information, whether the monitoring data of the monitoring points corresponding to each monitoring category meet the monitoring threshold conditions of the monitoring points corresponding to the corresponding monitoring categories set in the monitoring policy configuration information is judged respectively, and if yes, the alarm is carried out according to the alarm levels corresponding to the met monitoring threshold conditions. In this way, by the obtained monitoring policy configuration information and the monitoring data of the monitoring points corresponding to each monitoring category, whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information is respectively judged, and the alarm method is carried out according to the alarm level corresponding to the met monitoring threshold condition, the alarm time period, the alarm area and the alarm level can be effectively distinguished and the response alarm level can be automatically adapted to the same alarm monitoring point, so that the monitoring efficiency is effectively improved.
According to the data monitoring method provided by the foregoing embodiment, based on the same technical concept, the embodiment of the present invention further provides a data monitoring device, and fig. 6 is a schematic block diagram of the data monitoring device provided by the embodiment of the present invention, where the data monitoring device is configured to execute the data monitoring method described in fig. 1 to 5, and as shown in fig. 6, the mobile terminal includes:
the configuration information obtaining module 601 is configured to obtain monitoring policy configuration information, where the monitoring policy configuration information is set by monitor_kpi and is a monitoring policy of different predetermined monitoring categories, and the monitoring categories are determined based on one or more of an alarm level, an alarm period, and an alarm area corresponding to a monitoring point;
the monitoring data obtaining module 602 is configured to obtain monitoring data of a monitoring point corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
the threshold condition judging module 603 is configured to respectively judge, according to the monitoring data of the monitoring points corresponding to each monitoring category, whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
And the processing result generating module 604 is configured to, if the determination result is yes, alarm according to the alarm level corresponding to the met monitoring threshold condition.
The embodiment of the specification provides a data monitoring device, which respectively judges whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information or not through the obtained monitoring policy configuration information and the monitoring data of the monitoring points corresponding to each monitoring category, and carries out an alarm method according to the alarm level corresponding to the met monitoring threshold condition, so that the same alarm monitoring point can effectively distinguish alarm time periods, distinguish alarm areas, distinguish alarm levels and automatically adapt to response alarm levels, thereby effectively improving the monitoring efficiency.
Optionally, the processing result generating module 604 is configured to:
if the judgment result is yes, judging whether the current time meets the alarm time period of the monitoring point corresponding to the corresponding monitoring category set in the monitoring strategy configuration information;
And if the judgment result is yes, alarming according to the alarm level corresponding to the met monitoring threshold condition.
Optionally, the threshold condition judgment module 603 is configured to:
counting the total amount of monitoring data of the monitoring points corresponding to each monitoring category;
and respectively judging whether the total quantity of the monitoring data corresponding to each monitoring category meets the monitoring threshold condition of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information.
Optionally, the processing result generating module 604 is configured to:
if the judgment result is yes, determining a difference value between the total amount of the monitoring data of the monitoring point corresponding to the monitoring category and the total amount of the monitoring data of the monitoring point corresponding to the last monitoring category;
and if the difference value meets a preset difference value threshold value, alarming according to the alarm level corresponding to the met monitoring threshold value condition.
Optionally, the monitoring policy configuration information is information written based on PERL programming language.
Optionally, the processing result generating module 604 is configured to:
determining the alarm level corresponding to the satisfied monitoring threshold condition;
according to the alarm level corresponding to the met monitoring threshold condition, determining alarm account information corresponding to the alarm level;
And sending alarm information to the corresponding alarm account according to the alarm account information.
Optionally, the device further comprises an alarm processing module, configured to:
acquiring response strategy information for alarming aiming at the alarming level corresponding to the met monitoring threshold condition;
and processing the alarm based on the acquired coping strategy information.
According to the data monitoring device in the embodiment of the specification, monitoring policy configuration information is obtained, the monitoring policy configuration information is set through monitor_KPI of monitoring policies of different preset monitoring categories, the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points, then monitoring data of the monitoring points corresponding to each monitoring category are obtained according to the monitoring categories in the monitoring policy configuration information, whether the monitoring data of the monitoring points corresponding to each monitoring category meet the monitoring threshold conditions of the monitoring points corresponding to the corresponding monitoring categories set in the monitoring policy configuration information is judged respectively, and if yes, the alarm is carried out according to the alarm levels corresponding to the met monitoring threshold conditions. In this way, by the obtained monitoring policy configuration information and the monitoring data of the monitoring points corresponding to each monitoring category, whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information is respectively judged, and the alarm method is carried out according to the alarm level corresponding to the met monitoring threshold condition, the alarm time period, the alarm area and the alarm level can be effectively distinguished and the response alarm level can be automatically adapted to the same alarm monitoring point, so that the monitoring efficiency is effectively improved.
The data monitoring device provided in the embodiments of the present disclosure can implement each process in the embodiments corresponding to the data monitoring method, and in order to avoid repetition, a detailed description is omitted here.
It should be noted that, the data monitoring provided in the embodiments of the present disclosure and the data monitoring method provided in the embodiments of the present disclosure are based on the same inventive concept, so that the implementation of the embodiments may refer to the implementation of the foregoing data monitoring method, and the repetition is not repeated.
According to the data monitoring method provided by the above embodiment, based on the same technical concept, the embodiment of the present invention further provides an electronic device, where the electronic device is configured to execute the data monitoring method, and fig. 7 is a schematic structural diagram of an electronic device implementing each embodiment of the present invention, as shown in fig. 7. The electronic device may vary considerably in configuration or performance and may include one or more processors 701 and memory 702, where the memory 702 may store one or more stored applications or data. Wherein the memory 702 may be transient storage or persistent storage. The application programs stored in the memory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for use in an electronic device. Still further, the processor 701 may be arranged to communicate with the memory 702 and execute a series of computer executable instructions in the memory 702 on an electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input/output interfaces 705, and one or more keyboards 706.
In this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute the program stored in the memory, and implement the following method steps:
acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI through monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
acquiring monitoring data of monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
according to the monitoring data of the monitoring points corresponding to each monitoring category, respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
if yes, alarming is carried out according to the alarm level corresponding to the met monitoring threshold condition.
The embodiment of the application also provides a computer readable storage medium, wherein the storage medium stores a computer program, and the computer program realizes the following method steps when being executed by a processor:
acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI through monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
acquiring monitoring data of monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
according to the monitoring data of the monitoring points corresponding to each monitoring category, respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
if yes, alarming is carried out according to the alarm level corresponding to the met monitoring threshold condition.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (9)

1. A method of data monitoring, the method comprising:
acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI through monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
acquiring monitoring data of monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
according to the monitoring data of the monitoring points corresponding to each monitoring category, respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
if yes, alarming according to the alarm level corresponding to the met monitoring threshold condition, and if yes, alarming according to the alarm level corresponding to the met monitoring threshold condition comprises the following steps: if yes, determining a difference value between the total amount of the monitoring data of the monitoring point corresponding to the monitoring category and the total amount of the monitoring data of the monitoring point corresponding to the last monitoring category;
And if the difference value meets a preset difference value threshold, alarming according to the alarm level corresponding to the met monitoring threshold condition, wherein the preset difference value threshold is used for judging whether the application is processed according to the normal efficiency.
2. The method according to claim 1, wherein if yes, the alarming is performed according to the alarm level corresponding to the met monitoring threshold condition, including:
if yes, judging whether the current time meets the alarm time period of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information;
if yes, alarming is carried out according to the alarm level corresponding to the met monitoring threshold condition.
3. The method according to claim 1 or 2, wherein the determining, according to the monitoring data of the monitoring point corresponding to each monitoring category, whether the monitoring data of the monitoring point corresponding to each monitoring category meets the monitoring threshold condition of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information includes:
counting the total amount of monitoring data of the monitoring points corresponding to each monitoring category;
and respectively judging whether the total quantity of the monitoring data corresponding to each monitoring category meets the monitoring threshold condition of the monitoring point corresponding to the corresponding monitoring category set in the monitoring policy configuration information.
4. The method of claim 1, wherein the monitoring policy configuration information is information written based on a PERL programming language.
5. The method according to claim 1, wherein the alerting according to the alert level corresponding to the met monitoring threshold condition comprises:
determining the alarm level corresponding to the satisfied monitoring threshold condition;
according to the alarm level corresponding to the met monitoring threshold condition, determining alarm account information corresponding to the alarm level;
and sending alarm information to the corresponding alarm account according to the alarm account information.
6. The method according to claim 1, wherein the method further comprises:
acquiring response strategy information for alarming aiming at the alarming level corresponding to the met monitoring threshold condition;
and processing the alarm based on the acquired coping strategy information.
7. A data monitoring device, the device comprising:
the configuration information acquisition module is used for acquiring monitoring strategy configuration information, wherein the monitoring strategy configuration information is set by monitor_KPI and comprises monitoring strategies of different preset monitoring categories, and the monitoring categories are determined based on one or more of alarm levels, alarm periods and alarm areas corresponding to monitoring points;
The monitoring data acquisition module is used for acquiring the monitoring data of the monitoring points corresponding to each monitoring category according to the monitoring category in the monitoring policy configuration information;
the threshold condition judging module is used for respectively judging whether the monitoring data of the monitoring points corresponding to each monitoring category meets the monitoring threshold condition of the monitoring points corresponding to the corresponding monitoring category set in the monitoring policy configuration information according to the monitoring data of the monitoring points corresponding to each monitoring category;
the processing result generating module is configured to, if the determination result is yes, alarm according to the alarm level corresponding to the monitoring threshold condition that is satisfied, and if the determination result is yes, alarm according to the alarm level corresponding to the monitoring threshold condition that is satisfied, including: if the judgment result is yes, determining a difference value between the total amount of the monitoring data of the monitoring point corresponding to the monitoring category and the total amount of the monitoring data of the monitoring point corresponding to the last monitoring category;
and if the difference value meets a preset difference value threshold, alarming according to the alarm level corresponding to the met monitoring threshold condition, wherein the preset difference value threshold is used for judging whether the application is processed according to the normal efficiency.
8. An electronic device comprising a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete communication with each other through a bus; the memory is used for storing a computer program; the processor is configured to execute a program stored in the memory, and implement the steps of the data monitoring method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the data monitoring method steps of any of claims 1-6.
CN201910875632.5A 2019-09-17 2019-09-17 Data monitoring method and device and electronic equipment Active CN112532404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910875632.5A CN112532404B (en) 2019-09-17 2019-09-17 Data monitoring method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910875632.5A CN112532404B (en) 2019-09-17 2019-09-17 Data monitoring method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112532404A CN112532404A (en) 2021-03-19
CN112532404B true CN112532404B (en) 2023-09-22

Family

ID=74974584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910875632.5A Active CN112532404B (en) 2019-09-17 2019-09-17 Data monitoring method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112532404B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572391A (en) * 2013-10-16 2015-04-29 深圳市腾讯计算机系统有限公司 Monitoring alarm strategy collocation method and device and monitoring alarm method and device
CN109240876A (en) * 2018-07-18 2019-01-18 平安科技(深圳)有限公司 Example monitoring method, computer readable storage medium and terminal device
CN110232010A (en) * 2019-06-18 2019-09-13 深圳前海微众银行股份有限公司 A kind of alarm method, alarm server and monitoring server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795580B (en) * 2012-10-29 2016-10-26 腾讯科技(深圳)有限公司 A kind of data monitoring method, system and relevant device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572391A (en) * 2013-10-16 2015-04-29 深圳市腾讯计算机系统有限公司 Monitoring alarm strategy collocation method and device and monitoring alarm method and device
CN109240876A (en) * 2018-07-18 2019-01-18 平安科技(深圳)有限公司 Example monitoring method, computer readable storage medium and terminal device
CN110232010A (en) * 2019-06-18 2019-09-13 深圳前海微众银行股份有限公司 A kind of alarm method, alarm server and monitoring server

Also Published As

Publication number Publication date
CN112532404A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN110661659B (en) Alarm method, device and system and electronic equipment
CN109639504B (en) Alarm information processing method and device based on cloud platform
CN108269386B (en) Short message sending device, short message issuing device and system for emergency early warning information
CN111680830B (en) Epidemic situation prevention method and device based on aggregation risk early warning
CN109219838A (en) A kind of Traffic monitoring alarm method, device, terminal device and storage medium
EP3221787B1 (en) Application platform operable on network node
CN107104848B (en) Information technology system monitoring method and device
US20160254944A1 (en) Classification of detected network anomalies using additional data
CN103236948A (en) Telecommunication network alarm method and system
CN105407015A (en) Business platform, monitoring platform, and business monitoring system and method
CN107453906A (en) A kind of method to set up and device of storage management system monitoring alarm
WO2017054422A1 (en) Method and device for managing cell peak time segment and self-organizing network cell
CN106020421A (en) Application management method and terminal
CN111314137A (en) Information communication network automation operation and maintenance method, device, storage medium and processor
CN110011843A (en) Alarm information processing method, electronic equipment and storage medium
CN111130867A (en) Intelligent household equipment alarm method and device based on Internet of things
CN111949421B (en) SDK calling method, device, electronic equipment and computer readable storage medium
CN112532404B (en) Data monitoring method and device and electronic equipment
CN111324583B (en) Service log classification method and device
CN106355539A (en) Police resource real-time state information display method and system
WO2016127622A1 (en) Service degradation monitoring method and apparatus
CN112748990A (en) Quartz-based data quality task execution method and device and computer equipment
CN110135602A (en) Steel tower failure monitoring dispatching method and device
CN109120439B (en) Distributed cluster alarm output method, device, equipment and readable storage medium
US9706414B2 (en) Method and apparatus for determining data flow rate on service access port

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