CN110879774A - Network element performance data warning method and device - Google Patents
Network element performance data warning method and device Download PDFInfo
- Publication number
- CN110879774A CN110879774A CN201911184931.0A CN201911184931A CN110879774A CN 110879774 A CN110879774 A CN 110879774A CN 201911184931 A CN201911184931 A CN 201911184931A CN 110879774 A CN110879774 A CN 110879774A
- Authority
- CN
- China
- Prior art keywords
- network element
- performance data
- element performance
- preset
- relationship
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000009471 action Effects 0.000 claims abstract description 19
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- 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
- H04L41/0631—Management 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a network element performance data warning method and a device, wherein the method comprises the following steps: determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message. The device performs the above method. The network element performance data warning method and the device provided by the embodiment of the invention can realize multi-type network elements and multi-time scenes, generate the network element performance data warning message and improve the rationality of warning message generation.
Description
Technical Field
The invention relates to the technical field of performance data processing, in particular to a network element performance data alarming method and device.
Background
A network element is typically composed of one or more machine disks or frames and is capable of performing certain transport functions independently. The network elements in the network management system are almost the same as the network elements, and the simple understanding is that: the elements in the network, the devices in the network, i.e. the network elements, are the smallest units that can be monitored and managed in the network management. The network element performance data types may include data in terms of network, storage, and computing power, such as traffic volume, memory usage, and CPU usage.
In order to ensure the normal operation of the network element, the prior art monitors the network element performance data corresponding to the network element performance data type, such as specific values of memory occupancy and CPU occupancy, and determines whether the specific values are too large, and if so, generates an alarm message to prompt relevant staff to process as early as possible. However, because the types of the network elements and the types of the network element performance data are numerous, if one of the types of the network element performance data is to be monitored, the network element performance data is to be acquired from all types of the network elements, and some network elements may not have some network element performance data, which causes invalid transmission of the data and wastes system resources.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a network element performance data warning method and device.
The embodiment of the invention provides a network element performance data warning method, which comprises the following steps:
determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
The network element performance data warning method further comprises the following steps:
and representing the preset relationship by adopting a tree structure, and maintaining the preset relationship by updating the components of the tree structure.
Wherein said maintaining said predetermined relationship comprises:
and adding, deleting or modifying at least one of the preset time period, the preset network element performance data threshold, the preset network element and the preset network element performance data type.
The network element performance data types are at least two; correspondingly, the network element performance data alarm method further includes:
consuming all network element performance data corresponding to the same network element by using the same consumer; the total network element performance data corresponds to the total network element performance data type.
The network element performance data warning method further comprises the following steps:
and after the same consumer consumes all the network element performance data, executing the step of determining the time period corresponding to the initial moment of the action and the network element performance data threshold corresponding to the time period according to the preset relation.
The network element performance data warning method further comprises the following steps:
and if the network element performance data of at least one network element performance data type in all the network element performance data is greater than the corresponding network element performance data threshold, generating a network element performance data alarm message.
The network element performance data warning method further comprises the following steps:
and pre-storing the preset relation into a memory.
The embodiment of the invention provides a network element performance data warning device, which comprises:
a first determining unit, configured to determine, according to a network element performance data type and a preset relationship, a network element that can provide network element performance data corresponding to the network element performance data type; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
a second determining unit, configured to obtain the network element performance data from the network element, and determine, according to the preset relationship, a time period corresponding to an initial time of the obtaining action and a network element performance data threshold corresponding to the time period; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and the alarm unit is used for generating a network element performance data alarm message if the network element performance data is judged to be larger than the network element performance data threshold value.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the program, implements the method steps of:
determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
An embodiment of the invention provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the following method steps:
determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
The network element performance data warning method and device provided by the embodiment of the invention set the corresponding preset network element according to the preset network element performance data type and set the corresponding preset network element performance data threshold value according to the preset time period, can realize multi-type network elements and multi-time scenes, generate the network element performance data warning message, and improve the rationality of warning message generation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart of an embodiment of a network element performance data warning method of the present invention;
FIG. 2 is a diagram illustrating a preset relationship represented by a tree structure according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a network element performance data warning device according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an embodiment of a method for alarming network element performance data according to the present invention, and as shown in fig. 1, the method for alarming network element performance data according to the embodiment of the present invention includes the following steps:
s101: determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element.
Specifically, according to the network element performance data type and the preset relationship, determining a network element capable of providing network element performance data corresponding to the network element performance data type; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element. The method steps may be performed by a computer device, in particular a server. The network element performance data type may include data in terms of network, storage, computing power, and the like, such as traffic, memory usage, CPU usage, and the like, and is not particularly limited.
Fig. 2 is a schematic diagram illustrating a preset relationship represented by a tree structure according to an embodiment of the present invention, where as shown in fig. 2, a first corresponding relationship corresponds to a corresponding relationship between the threshold basic information (corresponding to a preset network element performance data type) and the network element group (preset network element) in fig. 2, and a second corresponding relationship corresponds to a corresponding relationship between the time group (corresponding to a preset time period) and the multi-level threshold (preset network element performance data threshold) in fig. 2, and as shown in fig. 2, each preset network element corresponds to one second corresponding relationship. Taking the network element performance data type as the memory occupancy rate as an example, the following description is given:
and determining the network elements capable of providing the network element performance data corresponding to the memory occupancy rate as a network element group 1, a network element group 2 and a network element group 4.
S102: acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship further includes a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship.
Specifically, the network element performance data is obtained from the network element, and a time period corresponding to the initial moment of the obtaining action and a network element performance data threshold corresponding to the time period are determined according to the preset relation; the preset relationship further includes a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship. The acquiring of the network element performance data from the network element may specifically be sending a data acquisition request for the network element performance data to the network element, and if the network element responds to the data acquisition request, sending the network element performance data for the data acquisition request to the server, and referring to the above example, the memory occupancy rate value may be acquired from the network element group 1, the network element group 2, and the network element group 4.
The preset time period and the preset network element performance data threshold may be set independently according to actual conditions, and it needs to be explained that: the preset time period and the preset network element performance data threshold may be reasonably set for a time scenario, for example, 11 to 12 points are usually working time, and therefore, the network element performance data threshold may be preset to be X1; the 12 to 13 points are usually noon break time, and therefore, the network element performance data threshold may be preset to be X2, it is understood that the memory consumption amount of the working time is usually greater than that of the noon break time, and therefore, X1 may be greater than X2, and different network element groups may correspond to different preset time periods and preset network element performance data thresholds.
Referring to the above example, taking the network element group 1 as an example, and the 11-12 point to X1 and the 12-13 point to X2 of the network element group 1 correspond to each other, if the initial time of the obtaining operation for obtaining the network element performance data is 11:20, the initial time of the obtaining operation is within the 11-12 point, so the memory occupancy value corresponding to the memory occupancy is compared with X1.
If the initial time of the obtaining operation for obtaining the network element performance data is 12:20, the initial time of the obtaining operation is within 12 points to 13 points, and therefore, the memory occupancy value corresponding to the memory occupancy is compared with X2.
S103: and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
Specifically, if the network element performance data is judged to be larger than the network element performance data threshold, a network element performance data alarm message is generated. Referring to the above example, if the network element performance data obtained at 11:20 is greater than X1, generating a network element performance data alarm message; if the network element performance data obtained at 11:20 is less than or equal to X1, then no network element performance data alarm message is generated and step S101 of the method may be further performed periodically.
The network element performance data warning method provided by the embodiment of the invention sets the corresponding preset network element according to the preset network element performance data type and sets the corresponding preset network element performance data threshold according to the preset time period, so that multi-type network elements and multi-time scenes can be realized, the network element performance data warning message is generated, and the generating rationality of the warning message is improved.
On the basis of the above embodiment, the network element performance data alarm method further includes:
and representing the preset relationship by adopting a tree structure, and maintaining the preset relationship by updating the components of the tree structure.
Specifically, the preset relationship is represented by a tree structure, and the preset relationship is maintained by updating the components of the tree structure. The tree structure represents the preset relationship, and fig. 2 can be referred to. Updating the components of the tree structure to maintain the preset relationship may specifically include: adding a preset relationship by adding a component of the tree structure (which may include branches and tree nodes), deleting a preset relationship by deleting a component of the tree structure (which may include branches and tree nodes), and modifying a preset relationship by modifying a component of the tree structure (which may include branches and tree nodes). Adding, deleting and modifying the preset relationship may specifically include: and adding, deleting or modifying at least one of the preset time period, the preset network element performance data threshold, the preset network element and the preset network element performance data type.
The network element performance data alarm method provided by the embodiment of the invention adopts the tree structure to represent the preset relation, so that the problems that the processing of various network element performance data is not easy to expand and can be processed only by storing the data in the same table and the cross-table association often causes the query to be blocked due to large data quantity can be avoided. The purpose that different network elements and different time period thresholds can be configured independently is achieved, the expanded configurability is achieved in space and time, and the preset relationship is convenient to maintain.
On the basis of the above embodiment, the maintaining the preset relationship includes:
and adding, deleting or modifying at least one of the preset time period, the preset network element performance data threshold, the preset network element and the preset network element performance data type.
Specifically, at least one of the preset time period, the preset network element performance data threshold, the preset network element, and the preset network element performance data type is added, deleted, or modified. Reference is made to the above description and no further description is made.
The network element performance data warning method provided by the embodiment of the invention can comprehensively maintain the preset relationship by adding, deleting or modifying.
On the basis of the above embodiment, the network element performance data types are at least two; correspondingly, the network element performance data alarm method further includes:
consuming all network element performance data corresponding to the same network element by using the same consumer; the total network element performance data corresponds to the total network element performance data type.
Specifically, the same consumer is adopted to consume all network element performance data corresponding to the same network element; the total network element performance data corresponds to the total network element performance data type. The consumers can realize that the data of the same network element is always processed by the same consumer through the intelligent routing function of the network element data. A consumer may be understood as a task that consumes network element performance data. Taking another network element performance data type CPU occupancy as an example, for example, a CPU occupancy value and a memory occupancy value corresponding to the task a consumption network element group 1 may be adopted.
The consumer can expand the number of consumers according to the data volume of the performance data and the processing capacity of the consumer, and perform distributed processing, so that elastic expansion and contraction are realized without modifying the program and restarting the original program.
When data acquisition at the same time needs to be judged, the problem that processing delay is caused by the fact that whether data acquisition is complete or not needs to be judged by adding an additional program because data delay of each manufacturer is inconsistent can be avoided, performance alarm generation of additional acquisition data is avoided, complex design is needed, and the implementation cost is high.
The network element performance data alarm method provided by the embodiment of the invention further optimizes the data acquisition process.
On the basis of the above embodiment, the network element performance data alarm method further includes:
and after the same consumer consumes all the network element performance data, executing the step of determining the time period corresponding to the initial moment of the action and the network element performance data threshold corresponding to the time period according to the preset relation.
Specifically, after the same consumer finishes consuming all the network element performance data, the time period corresponding to the initial moment of the action and the network element performance data threshold corresponding to the time period are determined according to the preset relationship. Referring to the above example, after the task a consumes the CPU occupancy rate value and the memory occupancy rate value corresponding to the tuple 1, the time period corresponding to the initial moment of the obtaining action and the network element performance data threshold corresponding to the time period are determined according to the preset relationship.
According to the network element performance data warning method provided by the embodiment of the invention, a consumer can automatically judge whether the indexes of the network element, the threshold and the time are completely acquired or not when processing one piece of data, and after all the indexes are completely acquired under one threshold, threshold judgment processing is carried out, so that the timeliness of data processing and the integrity of data processing are ensured.
On the basis of the above embodiment, the network element performance data alarm method further includes:
and if the network element performance data of at least one network element performance data type in all the network element performance data is greater than the corresponding network element performance data threshold, generating a network element performance data alarm message.
Specifically, if at least one network element performance data of the network element performance data type exists in all the network element performance data, which is greater than the corresponding network element performance data threshold, a network element performance data alarm message is generated. Referring to the above description, if the memory occupancy rate value is greater than X1 or X2 corresponding to the tuple 1, an alarm message is generated; or, if the CPU occupancy rate value is greater than Y1 or Y2 corresponding to the tuple 1 (Y1 or Y2 corresponds to the CPU occupancy rate, and the specific description may refer to the description of the memory occupancy rate, which is not described again), generating an alarm message; or, if the memory occupancy rate value is greater than X1 or X2 corresponding to the network element group 1, and the CPU occupancy rate value is greater than Y1 or Y2 corresponding to the network element group 1, generating an alarm message.
The network element performance data alarm method provided by the embodiment of the invention further improves the rationality of alarm message generation.
On the basis of the above embodiment, the network element performance data warning method further includes:
and pre-storing the preset relation into a memory.
Specifically, the preset relationship is stored in the memory in advance. By storing the preset relationship in the memory in advance, at least one of the preset time period, the preset network element performance data threshold, the preset network element and the preset network element performance data type in the preset relationship can be read and written quickly. That is, data is cached in the memory database cluster, and the cluster nodes can be dynamically expanded according to the increase of the data volume. The processing of the data is performed entirely in the memory, and the database may be used to store configuration and data and persistent alarm data.
The network element performance data alarm method provided by the embodiment of the invention further optimizes the data processing process.
Fig. 3 is a schematic structural diagram of an embodiment of an apparatus for alarming network element performance data according to the present invention, and as shown in fig. 3, an embodiment of the present invention provides an apparatus for alarming network element performance data, including a first determining unit 301, a second determining unit 302, and an alarming unit 303, where:
the first determining unit 301 is configured to determine, according to the network element performance data type and the preset relationship, a network element that can provide network element performance data corresponding to the network element performance data type; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element; the second determining unit 302 is configured to obtain the network element performance data from the network element, and determine, according to the preset relationship, a time period corresponding to an initial time of the obtaining action and a network element performance data threshold corresponding to the time period; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship; the alarm unit 303 is configured to generate a network element performance data alarm message if it is determined that the network element performance data is greater than the network element performance data threshold.
Specifically, the first determining unit 301 is configured to determine, according to the network element performance data type and the preset relationship, a network element that can provide network element performance data corresponding to the network element performance data type; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element; the second determining unit 302 is configured to obtain the network element performance data from the network element, and determine, according to the preset relationship, a time period corresponding to an initial time of the obtaining action and a network element performance data threshold corresponding to the time period; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship; the alarm unit 303 is configured to generate a network element performance data alarm message if it is determined that the network element performance data is greater than the network element performance data threshold.
The network element performance data warning device provided by the embodiment of the invention sets the corresponding preset network element according to the preset network element performance data type and sets the corresponding preset network element performance data threshold according to the preset time period, so that multi-type network elements and multi-time scenes can be realized, the network element performance data warning message is generated, and the generating rationality of the warning message is improved.
The network element performance data alarm device provided in the embodiment of the present invention may be specifically configured to execute the processing flow of each of the method embodiments, and the functions of the network element performance data alarm device are not described herein again, and refer to the detailed description of the method embodiments.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device includes: a processor (processor)401, a memory (memory)402, and a bus 403;
the processor 401 and the memory 402 complete communication with each other through a bus 403;
the processor 401 is configured to call the program instructions in the memory 402 to execute the methods provided by the above-mentioned method embodiments, for example, including: determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element; acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship; and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element; acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship; and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element; acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship; and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A network element performance data alerting method, comprising:
determining a network element capable of providing network element performance data corresponding to the network element performance data type according to the network element performance data type and a preset relation; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
acquiring the network element performance data from the network element, and determining a time period corresponding to the initial moment of the acquiring action and a network element performance data threshold corresponding to the time period according to the preset relation; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and if the network element performance data is larger than the network element performance data threshold, generating a network element performance data alarm message.
2. The network element performance data alerting method of claim 1, wherein the network element performance data alerting method further comprises:
and representing the preset relationship by adopting a tree structure, and maintaining the preset relationship by updating the components of the tree structure.
3. The network element performance data alerting method of claim 2, wherein the maintaining the predetermined relationship comprises:
and adding, deleting or modifying at least one of the preset time period, the preset network element performance data threshold, the preset network element and the preset network element performance data type.
4. The network element performance data warning method of any one of claims 1 to 3, wherein the network element performance data types are at least two; correspondingly, the network element performance data alarm method further includes:
consuming all network element performance data corresponding to the same network element by using the same consumer; the total network element performance data corresponds to the total network element performance data type.
5. The network element performance data alerting method of claim 4, wherein the network element performance data alerting method further comprises:
and after the same consumer consumes all the network element performance data, executing the step of determining the time period corresponding to the initial moment of the action and the network element performance data threshold corresponding to the time period according to the preset relation.
6. The network element performance data alerting method of claim 5, wherein the network element performance data alerting method further comprises:
and if the network element performance data of at least one network element performance data type in all the network element performance data is greater than the corresponding network element performance data threshold, generating a network element performance data alarm message.
7. The network element performance data alerting method of any one of claims 1 to 3, wherein the network element performance data alerting method further comprises:
and pre-storing the preset relation into a memory.
8. An apparatus for alerting network element performance data, comprising:
a first determining unit, configured to determine, according to a network element performance data type and a preset relationship, a network element that can provide network element performance data corresponding to the network element performance data type; the preset relationship comprises a first corresponding relationship between a preset network element performance data type and a preset network element;
a second determining unit, configured to obtain the network element performance data from the network element, and determine, according to the preset relationship, a time period corresponding to an initial time of the obtaining action and a network element performance data threshold corresponding to the time period; the preset relationship also comprises a second corresponding relationship between a preset time period and a preset network element performance data threshold, and each preset network element corresponds to one second corresponding relationship;
and the alarm unit is used for generating a network element performance data alarm message if the network element performance data is judged to be larger than the network element performance data threshold value.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the processor executes the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911184931.0A CN110879774B (en) | 2019-11-27 | 2019-11-27 | Network element performance data alarming method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911184931.0A CN110879774B (en) | 2019-11-27 | 2019-11-27 | Network element performance data alarming method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110879774A true CN110879774A (en) | 2020-03-13 |
CN110879774B CN110879774B (en) | 2024-03-29 |
Family
ID=69729868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911184931.0A Active CN110879774B (en) | 2019-11-27 | 2019-11-27 | Network element performance data alarming method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110879774B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699002A (en) * | 2020-12-25 | 2021-04-23 | 上海联蔚盘云科技有限公司 | Method and equipment for multi-cloud resource alarm control |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101588555A (en) * | 2008-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Flow control method of short messages and short message gateway |
CN102082701A (en) * | 2009-12-01 | 2011-06-01 | 中兴通讯股份有限公司 | Method for storing network element positional information and apparatus for same |
CN102571420A (en) * | 2011-12-20 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Method and system for network element data management |
US20140136685A1 (en) * | 2012-11-15 | 2014-05-15 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Adaptive unified performance management (aupm) of network elements |
WO2015117309A1 (en) * | 2014-07-31 | 2015-08-13 | 中兴通讯股份有限公司 | Method and apparatus for generating warning |
CN107104848A (en) * | 2016-02-19 | 2017-08-29 | 中国移动通信集团浙江有限公司 | Information technology system monitoring method and device |
-
2019
- 2019-11-27 CN CN201911184931.0A patent/CN110879774B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101588555A (en) * | 2008-05-21 | 2009-11-25 | 中兴通讯股份有限公司 | Flow control method of short messages and short message gateway |
CN102082701A (en) * | 2009-12-01 | 2011-06-01 | 中兴通讯股份有限公司 | Method for storing network element positional information and apparatus for same |
CN102571420A (en) * | 2011-12-20 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Method and system for network element data management |
US20140136685A1 (en) * | 2012-11-15 | 2014-05-15 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Adaptive unified performance management (aupm) of network elements |
WO2015117309A1 (en) * | 2014-07-31 | 2015-08-13 | 中兴通讯股份有限公司 | Method and apparatus for generating warning |
CN107104848A (en) * | 2016-02-19 | 2017-08-29 | 中国移动通信集团浙江有限公司 | Information technology system monitoring method and device |
Non-Patent Citations (2)
Title |
---|
O. JUKIĆ等: ""Integrated view on telecommunication network status"", 《2011 PROCEEDINGS OF THE 34TH INTERNATIONAL CONVENTION MIPRO》, 28 July 2011 (2011-07-28) * |
凌云;: "基于APM技术的电信企业网络性能管理系统的设计", 电脑知识与技术, no. 25, 5 September 2018 (2018-09-05) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112699002A (en) * | 2020-12-25 | 2021-04-23 | 上海联蔚盘云科技有限公司 | Method and equipment for multi-cloud resource alarm control |
Also Published As
Publication number | Publication date |
---|---|
CN110879774B (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9917741B2 (en) | Method and system for processing network activity data | |
KR101871383B1 (en) | Method and system for using a recursive event listener on a node in hierarchical data structure | |
US20180121531A1 (en) | Data Updating Method, Device, and Related System | |
CN111131079A (en) | Policy query method and device | |
CN113364877A (en) | Data processing method, device, electronic equipment and medium | |
CN113141410A (en) | Dynamically adjusted QPS control method, system, device and storage medium | |
CN112346872A (en) | Cloud computing capacity expansion method and device based on service call link | |
CN111897643A (en) | Thread pool configuration system, method, device and storage medium | |
CN110879774B (en) | Network element performance data alarming method and device | |
CN109947736B (en) | Method and system for real-time computing | |
CN113656239A (en) | Monitoring method and device for middleware and computer program product | |
US9767180B2 (en) | Floating time dimension design | |
CN114860782B (en) | Data query method, device, equipment and medium | |
CN117076195A (en) | Parameter adjusting method and device, storage medium and electronic device | |
CN111669294B (en) | Monitoring system configuration method, device, monitoring system and storage medium | |
CN116594752A (en) | Flow scheduling method, device, equipment, medium and program product | |
US11372832B1 (en) | Efficient hashing of data objects | |
CN114048228A (en) | State storage updating method, device, equipment and storage medium | |
CN117827854A (en) | Data processing method, device, electronic equipment and storage medium | |
CN115168139A (en) | Early warning method and system based on monitoring prediction | |
CN112488462A (en) | Unified pushing method, device and medium for workflow data | |
CN110955579A (en) | Ambari-based large data platform monitoring method | |
CN114629942B (en) | Fraud early warning task generation method, device, equipment and medium | |
CN117010022B (en) | Data access control method and device, terminal equipment and storage medium | |
CN103152386A (en) | Business data distribution server and business data distribution method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |