CN116527477A - Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code - Google Patents

Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code Download PDF

Info

Publication number
CN116527477A
CN116527477A CN202310562674.XA CN202310562674A CN116527477A CN 116527477 A CN116527477 A CN 116527477A CN 202310562674 A CN202310562674 A CN 202310562674A CN 116527477 A CN116527477 A CN 116527477A
Authority
CN
China
Prior art keywords
node machine
code
result
rule
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310562674.XA
Other languages
Chinese (zh)
Inventor
段方超
邹琼
周双全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ruiyun Technology Co ltd
Original Assignee
Shenzhen Ruiyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ruiyun Technology Co ltd filed Critical Shenzhen Ruiyun Technology Co ltd
Priority to CN202310562674.XA priority Critical patent/CN116527477A/en
Publication of CN116527477A publication Critical patent/CN116527477A/en
Pending legal-status Critical Current

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/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • 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

Abstract

The application relates to the technical field of computer technology and network management, in particular to a method, a system and equipment for realizing automatic alarm of node machine management based on an SN (sequence number) code, which are realized by generating the SN code; using the SN code to identify the SN code to the node machine; using the result of the SN code identification of the node machine to correlate with the related monitoring equipment or system; monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system; and if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule. The method and the device realize automatic management of the node machine by carrying out SN code identification on the node machine and monitoring the running state of the node machine so as to improve the management efficiency and the reliability.

Description

Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code
Technical Field
The application relates to the technical field of computer technology and network management, in particular to a method, a system and equipment for realizing automatic alarm of node machine management based on an SN (sequence number) code.
Background
With the continuous development of information technology, node machines are widely applied in various scenes. For example, in the scenes of cloud computing, internet of things, edge computing, and the like, a node machine is used to process various data and information. Because the number of node machines is huge, the distribution range is wide, and the running environment is complex, the node machine management becomes extremely complex. In node machine management, it is important to discover and handle node machine faults in time. However, in the prior art, the node machine management usually requires manual intervention, which results in low management efficiency, high cost and poor reliability.
Disclosure of Invention
In order to overcome the problems of low management efficiency, high cost and poor reliability caused by manual intervention generally required for node machine management in the related technology at least to a certain extent, the application provides a method, a system and equipment for realizing automatic alarm of node machine management based on an SN code.
The scheme of the application is as follows:
in a first aspect, the present application provides a method for implementing automatic alarm management of a node machine based on SN codes, where the method includes:
generating an SN code;
using the SN code to identify the SN code to the node machine;
using the result of the SN code identification of the node machine to correlate with the related monitoring equipment or system;
monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system;
and if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule.
Further, the generating the SN code includes:
based on the pre-acquired MAC address, the SN code is generated in a character string splicing mode by utilizing the MAC address and the time stamp.
Further, the identifying the SN code for the node machine by using the SN code includes:
and allocating a unique SN code to each node machine through a third identification rule in the production stage of the node machine by utilizing the SN codes, wherein the unique SN code is used for identifying the node machine.
Further, the operation steps of the third identification rule are as follows:
and printing the SN code on the corresponding node machine or marking the node machine in a label form by utilizing the SN code.
Further, the associating with the relevant monitoring device or system by using the SN code identification result of the node machine includes:
and adding the result of the SN code identification of the node machine into a task queue of the related monitoring equipment or system, and associating with the related monitoring equipment or system.
Further, the monitoring the running state of the node machine by using the result of the association with the related monitoring device or system includes:
obtaining an ip of a service and a host name of the node machine by using an InetAddress under a java.net packet by using a result of the correlation with the related monitoring equipment or system;
obtaining current heap memory information of a java process by using a run class under a java.lang package by using the obtained ip of the service and the host name of the node machine;
and acquiring the physical memory, the hard disk and the CPU utilization rate of the current server through the operation system MXBAan under the com.sun.management package by utilizing the acquired current heap memory information of the java process, and acquiring the hard disk directory path and the hard disk size and the use amount under the current path by utilizing the File class to acquire the result of the running state of the node machine.
Further, if the running state does not conform to the first preset running rule, performing relevant alarm prompt through a second preset alarm rule, including:
if the threshold value of the running state of the node machine exceeds the threshold value set by the background, the node machine passes
And a relevant alarm prompt is carried out in the form of sound, short message or mail.
Further, the threshold value of the operation state of the node machine includes:
CPU usage threshold, memory usage threshold, hard disk usage threshold, network traffic threshold.
In a second aspect, the present application provides a system for implementing node machine management automatic alarm based on SN codes, where the system includes:
the acquisition module is used for generating an SN code;
the identification module is used for identifying the SN code of the node machine by utilizing the SN code;
the first data processing module is used for associating the result of the SN code identification of the node machine with the related monitoring equipment or system;
the monitoring module is used for monitoring the running state of the node machine by utilizing the result of the correlation with the related monitoring equipment or system;
and the alarm module is used for carrying out relevant alarm prompt through a second preset alarm rule if the running state does not accord with the first preset running rule.
In a third aspect, the present application provides an apparatus for implementing node machine management automatic alarm based on SN codes, where the apparatus includes:
a memory having an executable program stored thereon;
a processor for executing the executable program in the memory to implement the steps of any of the methods described above.
The technical scheme that this application provided can include following beneficial effect:
generating an SN code; using the SN code to identify the SN code to the node machine; using the result of the SN code identification of the node machine to correlate with the related monitoring equipment or system; monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system; and if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule. The method and the device realize automatic management of the node machine by carrying out SN code identification on the node machine and monitoring the running state of the node machine so as to improve the management efficiency and the reliability.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flow chart of a method for implementing automatic alarm management of a node machine based on an SN code according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a system for implementing automatic alarm management of a node machine based on SN codes according to another embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus for implementing automatic alarm management of a node machine based on SN codes according to another embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for implementing automatic alarm management of a node machine based on SN codes according to an embodiment of the present application, where the method includes:
s1, generating an SN code;
s2, using the SN code to identify the SN code of the node machine;
s3, correlating the result of the SN code identification of the node machine with related monitoring equipment or a system;
s4, monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system;
s5, if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule.
In one embodiment, as described in step S1, the generating the SN code includes:
based on the pre-acquired MAC address, the SN code is generated in a character string splicing mode by utilizing the MAC address and the time stamp.
In one embodiment, as described in step S2, the identifying the SN code for the node machine using the SN code includes:
and allocating a unique SN code to each node machine through a third identification rule in the production stage of the node machine by utilizing the SN codes, wherein the unique SN code is used for identifying the node machine.
Further, the operation steps of the third identification rule are as follows:
and printing the SN code on the corresponding node machine or marking the node machine in a label form by utilizing the SN code.
In one embodiment, as shown in step S3, the associating with the relevant monitoring device or system by using the SN code identification result of the node machine includes:
and adding the result of the SN code identification of the node machine into a task queue of the related monitoring equipment or system, and associating with the related monitoring equipment or system.
In one embodiment, as described in step S4, the monitoring the operation state of the node machine by using the result of the association with the related monitoring device or system includes:
obtaining an ip of a service and a host name of the node machine by using an InetAddress under a java.net packet by using a result of the correlation with the related monitoring equipment or system;
obtaining current heap memory information of a java process by using a run class under a java.lang package by using the obtained ip of the service and the host name of the node machine;
and acquiring the physical memory, the hard disk and the CPU utilization rate of the current server through the operation system MXBAan under the com.sun.management package by utilizing the acquired current heap memory information of the java process, and acquiring the hard disk directory path and the hard disk size and the use amount under the current path by utilizing the File class to acquire the result of the running state of the node machine.
In one embodiment, as described in step S5, if the operation state does not conform to the first preset operation rule, performing the relevant alarm prompt through the second preset alarm rule, including:
if the threshold value of the running state of the node machine exceeds the threshold value set by the background, the node machine passes
And a relevant alarm prompt is carried out in the form of sound, short message or mail.
Further, the threshold value of the operation state of the node machine includes:
CPU usage threshold, memory usage threshold, hard disk usage threshold, network traffic threshold.
In specific implementation, the main idea of the method is to use the SN code to uniquely identify the node machine and associate the node machine with the monitoring system, and when the node machine is abnormal, the monitoring system can automatically send out an alarm signal. The specific implementation steps of the invention include the following aspects:
first, SN code identification is carried out on the node machine. In the production stage of the node machines, a unique SN code is allocated for each node machine and used for identifying the node machine. The SN code may be a number, letter, or other form of code. The SN code may be printed directly on the node machine or may be identified by a tag or the like.
And secondly, correlating the SN code of the node machine with the monitoring system. And in the installation and configuration stage of the node machine, the SN code of the node machine is associated with the monitoring system, and the connection between the node machine and the monitoring system is established. The monitoring system can be developed autonomously or can be an existing monitoring system. The monitoring system needs to be capable of monitoring the operation state of the node machine in real time and identifying abnormal conditions.
And thirdly, monitoring the running state of the node machine. The monitoring system needs to monitor the running state of the node machine periodically (or in real time), including the CPU utilization rate, the memory utilization rate, the hard disk utilization rate, the network traffic and the like of the node machine. The monitoring system can independently monitor and manage the node machine in an SN code identification mode.
Fourth, the abnormal condition of the node machine is identified. When abnormal conditions such as over high CPU utilization rate, over high memory utilization rate, over high hard disk utilization rate, over-high network flow and the like occur in the node machine, the monitoring system can automatically identify and send out alarm signals. The alarm signal can be in the form of sound, short message, mail, etc. so that the manager can handle the abnormal situation in time.
The invention provides a method for realizing automatic alarm of node machine management based on SN code, which has the following advantages and effects:
the efficiency and the reliability of the node machine management are improved. The node machine is identified by the SN code and is associated with the monitoring system, so that the automatic monitoring and alarming of the node machine can be realized, the workload of manual management is reduced, and the management efficiency and reliability are improved.
2. The application range is wide. The method is suitable for various node machine management scenes, including cloud computing, internet of things, edge computing and other scenes. The system can help an administrator to discover and process the faults of the node machine in time, and improves the stability and reliability of the system.
3. Simple realization and low cost. The invention uses the SN code to identify the node machine, does not need extra hardware equipment, and has low cost. Meanwhile, the method is simple in implementation steps and easy to implement.
In one embodiment, the present application is implemented by generating an SN code; using the SN code to identify the SN code to the node machine; using the result of the SN code identification of the node machine to correlate with the related monitoring equipment or system; monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system; and if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule. The method and the device realize automatic management of the node machine by carrying out SN code identification on the node machine and monitoring the running state of the node machine so as to improve the management efficiency and the reliability.
Example two
Referring to fig. 2, fig. 2 is a schematic diagram of a system for implementing automatic alarm management of a node machine based on SN codes according to another embodiment of the present application, where the system includes:
an acquisition module 101, configured to generate an SN code;
the identification module 102 is configured to identify the SN code of the node device by using the SN code;
the first data processing module 103 is configured to associate with a relevant monitoring device or system by using the SN code identification result of the node machine;
the monitoring module 104 is configured to monitor an operation state of the node machine by using the result associated with the related monitoring device or system;
and the alarm module 105 is configured to perform relevant alarm prompting according to a second preset alert rule if the operation state does not conform to the first preset operation rule.
Example III
Referring to fig. 3, fig. 3 is a schematic diagram of an apparatus for implementing automatic alarm management of a node machine based on SN codes according to another embodiment of the present application, where the apparatus includes:
a memory 31 on which an executable program is stored;
a processor 32 for executing the executable program in the memory 31 to implement the steps of the method as described in any one of the above.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to. It should be noted that in the description of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "plurality" means at least two.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (10)

1. The method for realizing the automatic alarm of the node machine management based on the SN code is characterized by comprising the following steps:
generating an SN code;
using the SN code to identify the SN code to the node machine;
using the result of the SN code identification of the node machine to correlate with the related monitoring equipment or system;
monitoring the running state of the node machine by using the result of the correlation with the related monitoring equipment or system;
and if the running state does not accord with the first preset running rule, carrying out relevant alarm prompt through a second preset alarm rule.
2. The method of claim 1, wherein generating the SN code comprises:
based on the pre-acquired MAC address, the SN code is generated in a character string splicing mode by utilizing the MAC address and the time stamp.
3. The method of claim 1, wherein using the SN code to identify the SN code for the node machine comprises:
and allocating a unique SN code to each node machine through a third identification rule in the production stage of the node machine by utilizing the SN codes, wherein the unique SN code is used for identifying the node machine.
4. A method according to claim 3, wherein the third identification rule is operated by:
and printing the SN code on the corresponding node machine or marking the node machine in a label form by utilizing the SN code.
5. The method according to claim 1, wherein the associating with the relevant monitoring device or system using the SN code identification result of the node machine comprises:
and adding the result of the SN code identification of the node machine into a task queue of the related monitoring equipment or system, and associating with the related monitoring equipment or system.
6. The method according to claim 1, wherein monitoring the node machine operation state using the result of the association with the relevant monitoring device or system comprises:
obtaining an ip of a service and a host name of the node machine by using an InetAddress under a java.net packet by using a result of the correlation with the related monitoring equipment or system;
obtaining current heap memory information of a java process by using a run class under a java.lang package by using the obtained ip of the service and the host name of the node machine;
and acquiring the physical memory, the hard disk and the CPU utilization rate of the current server through the operation system MXBAan under the com.sun.management package by utilizing the acquired current heap memory information of the java process, and acquiring the hard disk directory path and the hard disk size and the use amount under the current path by utilizing the File class to acquire the result of the running state of the node machine.
7. The method of claim 1, wherein if the operating state does not conform to the first preset operating rule, performing a related alert prompt by a second preset alert rule, comprising:
if the threshold value of the running state of the node machine exceeds the threshold value set by the background, the node machine passes
And a relevant alarm prompt is carried out in the form of sound, short message or mail.
8. The method of claim 7, wherein the threshold of the operational state of the node machine comprises:
CPU usage threshold, memory usage threshold, hard disk usage threshold, network traffic threshold.
9. The system for realizing the automatic alarm of the node machine management based on the SN code is characterized by comprising the following components:
the acquisition module is used for generating an SN code;
the identification module is used for identifying the SN code of the node machine by utilizing the SN code;
the first data processing module is used for associating the result of the SN code identification of the node machine with the related monitoring equipment or system;
the monitoring module is used for monitoring the running state of the node machine by utilizing the result of the correlation with the related monitoring equipment or system;
and the alarm module is used for carrying out relevant alarm prompt through a second preset alarm rule if the running state does not accord with the first preset running rule.
10. The device for realizing the automatic alarm management of the node machine based on the SN code is characterized by comprising the following components:
a memory having an executable program stored thereon;
a processor for executing the executable program in the memory to implement the steps of the method of any one of claims 1-8.
CN202310562674.XA 2023-05-18 2023-05-18 Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code Pending CN116527477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310562674.XA CN116527477A (en) 2023-05-18 2023-05-18 Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310562674.XA CN116527477A (en) 2023-05-18 2023-05-18 Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code

Publications (1)

Publication Number Publication Date
CN116527477A true CN116527477A (en) 2023-08-01

Family

ID=87404623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310562674.XA Pending CN116527477A (en) 2023-05-18 2023-05-18 Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code

Country Status (1)

Country Link
CN (1) CN116527477A (en)

Similar Documents

Publication Publication Date Title
US11177999B2 (en) Correlating computing network events
US20170315894A1 (en) System for virtual machine risk monitoring
US20190340056A1 (en) Graphical user interface for visualizing a plurality of issues with an infrastructure
CN107431651B (en) Life cycle management method and equipment for network service
CN110427323B (en) Application testing method, device, proxy server and system
US9697053B2 (en) System and method for managing excessive distribution of memory
EP3169018B1 (en) Method and device for establishing performance measurement task and processing performance measurement result
US8898269B2 (en) Reconciling network management data
EP2606607A1 (en) Determining equivalent subsets of agents to gather information for a fabric
CN106873970B (en) Installation method and device of operating system
EP2195967A1 (en) Monitoring of newly added computer network resources having service level objectives
CN114244683A (en) Event classification method and device
CN113542092A (en) Openstack-based automatic drainage method
CN110049148B (en) Method for acquiring IP address of virtual machine in Vcenter environment
CN116527477A (en) Method, system and equipment for realizing automatic alarm of node machine management based on SN (sequence number) code
CN112351050A (en) Method, device, communication equipment and storage medium for mirroring data stream
CN111343031B (en) Method and device for determining network fault
US20200235993A1 (en) Automatic network configuration in data protection operations
CN110647473A (en) Anti-interference method and device for automatic regression test, computer equipment and storage medium
CN113132152B (en) Method and device for generating Netconf real-time candidate database
CN114143171B (en) Alarm root cause positioning method and system based on TR069 protocol
CN116886584A (en) Network test method, computer device, network device, and readable storage medium
US8185632B2 (en) Discovery of a generic device in a non-linear discovery framework
CN116126358A (en) Multi-channel business deployment method and system for financial equipment and computing equipment
CN114465812A (en) Pressure measurement flow control method and device

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