An intelligent node monitoring method and device, electronic equipment and storage medium
By monitoring the information collection and early warning mechanism of intelligent nodes, the problem of not being able to quickly locate anomalies in existing technologies is solved, the stability and real-time monitoring capabilities of intelligent nodes are improved, and flexible alarm mechanisms and low-interference system continuity are provided.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA PETROLEUM & CHEMICAL CORP
- Filing Date
- 2024-12-28
- Publication Date
- 2026-06-30
AI Technical Summary
Existing technologies cannot quickly locate anomalies in smart nodes, resulting in insufficient stability of smart nodes.
By controlling the target intelligent node to start monitoring, collecting information, determining whether it meets the preset warning information, and issuing warning information when it does, including collecting node information through SSH login, judging indicators such as hard disk usage and system status values, and generating warning records.
It enables rapid location of intelligent node anomalies, improves the stability and real-time monitoring capabilities of intelligent nodes, and features a flexible alarm mechanism and low-interference system continuity.
Smart Images

Figure CN122308158A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent monitoring, and in particular to an intelligent node monitoring method, device, electronic device, and storage medium. Background Technology
[0002] The intelligent node subsystem is a series of software platforms developed to serve the production and R&D of 5G nodes. For users, there is a lack of a platform to obtain the data needed by each subsystem and to monitor the existing subsystem platform. Among existing monitoring technologies, end-to-end monitoring and log analysis are the two mainstream technologies in the field of system monitoring. End-to-end monitoring technology provides technicians with a macroscopic view of system performance by tracing the entire system's operation path and collecting and analyzing performance indicators at each stage. This technology can quickly identify bottlenecks and problem areas in the system, but its drawback is that it is difficult to focus on the micro-level of specific subsystems, sometimes making it difficult to accurately pinpoint the root cause of the problem. Log analysis technology, on the other hand, deeply analyzes the log files generated by the system to identify anomalies, error patterns, or performance degradation trends. This method is crucial for historical data analysis and problem troubleshooting, but it is more of a post-event analysis tool, lacking real-time feedback and early warning capabilities. Therefore, in emergency situations, log analysis may not provide timely assistance.
[0003] Therefore, there is a need to provide a smart node monitoring method to solve the problem of not being able to quickly locate smart node anomalies in existing technologies and to improve the stability of smart nodes. Summary of the Invention
[0004] The main objective of this invention is to provide a method, device, electronic device, and storage medium for monitoring intelligent nodes, so as to solve the problem of not being able to quickly locate anomalies in intelligent nodes in the prior art and improve the stability of intelligent nodes.
[0005] In a first aspect, the present invention provides an intelligent node monitoring method, comprising:
[0006] Control the target intelligent node to enable monitoring;
[0007] Collect the target intelligent node information;
[0008] Determine whether the target intelligent node information matches the preset warning information;
[0009] If the target smart node information matches the preset warning information, a warning message will be issued.
[0010] Optionally, the step of collecting the target intelligent node information includes:
[0011] Log in to the target smart node via SSH and collect information about the target smart node.
[0012] Optionally, the step of determining whether the target intelligent node information matches the preset warning information includes:
[0013] Determine whether the hard disk utilization rate of the target intelligent node is greater than the preset hard disk utilization rate;
[0014] The step of issuing a warning if the target smart node information matches the preset warning information includes:
[0015] If the hard disk utilization rate of the target smart node is greater than the preset hard disk utilization rate, an early warning message will be issued.
[0016] Optionally, the step of determining whether the target intelligent node information matches the preset warning information includes:
[0017] Determine whether the target system state value of the target intelligent node is greater than a preset system state value;
[0018] The step of issuing a warning if the target smart node information matches the preset warning information includes:
[0019] If the target system state value of the target intelligent node is greater than the preset system state value, an early warning message will be issued.
[0020] Optionally, the step of issuing a warning if the target intelligent node information matches preset warning information includes the following:
[0021] An early warning record is generated on the target system. The early warning record includes abnormal parameter information and the time when the abnormality occurred.
[0022] Optionally, the step of collecting the target intelligent node information includes:
[0023] Information about the target smart node is collected cyclically at target time intervals.
[0024] According to a second aspect of the present invention, the present invention provides an intelligent node monitoring device, comprising:
[0025] Enable module: Used to control the target smart node to enable monitoring;
[0026] Acquisition module: used to acquire information about the target intelligent node;
[0027] Judgment module: used to determine whether the target intelligent node information conforms to preset warning information;
[0028] Early warning module: Used to issue an early warning message if the target intelligent node information matches the preset early warning information.
[0029] Optionally, the acquisition module further includes a login unit for logging into the target smart node via SSH.
[0030] According to a third aspect of the present invention, the present invention provides an electronic device, including a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the intelligent node monitoring method described in any of the first aspects above.
[0031] According to a fourth aspect of the present invention, the present invention provides a storage medium storing a program that, when executed by a computer, implements the intelligent node monitoring method described in any of the first aspects above.
[0032] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:
[0033] This invention addresses the problem of the inability to quickly locate anomalies in smart nodes in existing technologies by monitoring smart node information, thereby improving the stability of smart nodes. Attached Figure Description
[0034] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, for those who are not skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a flowchart illustrating an intelligent node monitoring method provided in an embodiment of the present invention.
[0036] Figure 2 This is a schematic diagram of an intelligent node monitoring device provided in an embodiment of the present invention;
[0037] Figure 3 This is a schematic diagram of an intelligent node monitoring computer device provided in an embodiment of the present invention. Detailed Implementation
[0038] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples, so that the process of how the present invention uses technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present invention and the various features therein can be combined with each other without conflict, and the resulting technical solutions are all within the protection scope of the present invention.
[0039] Example 1
[0040] like Figure 1As shown, an embodiment of the present invention provides an intelligent node monitoring method, including the following steps S101 to S104:
[0041] Step S101: Control the target smart node to start monitoring.
[0042] For example, when it is necessary to monitor a certain smart node, you can log in to the target smart node via SSH and start monitoring.
[0043] Step S102: Collect target smart node information.
[0044] Log in to the target intelligent node via SSH and collect its information. Read key parameters and status data of the intelligent node and its running subsystems periodically or in real-time. The read data will be stored in the system's database for subsequent analysis and querying. For example, a subsystem running on the intelligent node might be an oil exploration data conversion system. Since this system processes large amounts of real-time oil exploration data, it needs to be monitored to prevent malfunctions that could prevent real-time data processing and to track the status of the intelligent node containing this system. Metadata includes: sys_id (subsystem ID), sys_name (subsystem name), sys_workstation (subsystem workstation area), work_time (working time), host_id (corresponding server ID), state_switch (status monitoring flag), and admin_email (user's email address). Each sys_id is associated with a unique host_id, which identifies the physical server where the subsystem resides. Additionally, the admin_email address corresponding to each subsystem is recorded to allow quick contact with the relevant user when needed. The collected intelligent node information includes: state_id (subsystem state ID), sub_id (subsystem ID), state_code (status display), state_CPU (CPU status), state_memory (storage status), state_disk (hard disk status), and log_time (time of status recording). Simultaneously, the target intelligent node information is collected cyclically at target time intervals, such as 10 minutes. This intelligent node information includes key performance indicators such as CPU utilization, memory utilization, and disk utilization of the target host server.
[0045] Step S103: Determine whether the target intelligent node information matches the preset warning information.
[0046] For example, it can be determined whether the hard drive utilization rate of the target intelligent node is greater than a preset hard drive utilization rate. For instance, if the preset hard drive utilization rate is 80% and the target intelligent node's hard drive utilization rate is 82%, then the target intelligent node's hard drive utilization rate is greater than the preset hard drive utilization rate, and a warning message is issued. Alternatively, it can be determined whether the target system status value of the target intelligent node is greater than a preset system status value. For instance, if the preset system status value is processing 1000 oil exploration data records per second, and the target intelligent node's real-time oil exploration processing program processes 1200 oil exploration data records per second, then the target intelligent node's target system status value is greater than the preset system status value, and a warning message is issued.
[0047] Step S104: If the target smart node information matches the preset warning information, then issue a warning message.
[0048] For example, if the target intelligent node information matches preset warning information, it will be judged as an abnormal situation. After the abnormal situation is triggered, an alarm email will be automatically sent to a preset recipient. The email contains detailed information about the abnormal parameters, the time of the abnormality, etc. At the same time, an alarm record will be generated for subsequent query and processing. When the subsystem's life cycle ends or monitoring is no longer needed, a command to shut down monitoring will be sent to the subsystem. After receiving the command, the subsystem will stop monitoring and release related resources.
[0049] Furthermore, the alarm mechanism of this invention is highly flexible, allowing users to customize alarm receivers and alarm thresholds according to actual needs, thereby meeting monitoring requirements in different scenarios. Simultaneously, modifications to alarm thresholds take effect quickly, causing minimal disruption to operation and ensuring system continuity and security.
[0050] Example 2
[0051] like Figure 2 As shown, an embodiment of the present invention provides an intelligent node monitoring device, comprising:
[0052] Enable module: Used to control the target smart node to enable monitoring;
[0053] Acquisition module: used to acquire information about the target intelligent node;
[0054] Judgment module: used to determine whether the target intelligent node information conforms to preset warning information;
[0055] Early warning module: Used to issue an early warning message if the target intelligent node information matches the preset early warning information.
[0056] Optionally, the acquisition module further includes a login unit for logging into the target smart node via SSH.
[0057] Example 3
[0058] Figure 3 This application shows a schematic diagram of the structure of a computer device provided in an exemplary embodiment, the computer device comprising:
[0059] The processor 301 includes one or more processing cores. The processor 301 executes various functional applications and data processing by running software programs and modules.
[0060] The receiver 302 and transmitter 303 can be implemented as a communication component, which can be a communication chip. Optionally, this communication component can include signal transmission functionality. That is, the transmitter 303 can be used to transmit control signals to the image acquisition device and the scanning device, and the receiver 302 can be used to receive corresponding feedback commands.
[0061] The memory 304 is connected to the processor 301 via the bus 305.
[0062] The memory 304 can be used to store at least one instruction, and the processor 301 is used to execute the at least one instruction to implement steps S101 to S104 in the above control method embodiments.
[0063] Those skilled in the art will understand that Figure 3 This is merely an example of a computer device and does not constitute a limitation on the computer device. It may include more or fewer components than shown, or combine certain components, or different components. For example, the computer device may also include network access devices, etc.
[0064] The processor 301 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0065] The memory 304 can be an internal storage unit of the computer device, such as a hard drive or RAM. The memory 304 can also be an external storage device of the computer device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 304 can include both internal and external storage units. The memory 304 is used to store the computer program and other programs and data required by the terminal device. The memory 304 can also be used to temporarily store data that has been output or will be output.
[0066] Example 4
[0067] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, which can be loaded and executed by a processor to implement the above-described intelligent node monitoring method.
[0068] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).
[0069] Example 5
[0070] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the intelligent node monitoring methods described in the above embodiments.
[0071] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the implementation.
[0072] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0073] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0074] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0075] The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0076] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for monitoring intelligent nodes, characterized in that, include: Control the target intelligent node to enable monitoring; Collect the target intelligent node information; Determine whether the target intelligent node information matches the preset warning information; If the target smart node information matches the preset warning information, a warning message will be issued.
2. The method according to claim 1, characterized in that, The step of collecting the target intelligent node information includes: Log in to the target smart node via SSH and collect information about the target smart node.
3. The method according to claim 1, characterized in that, The step of determining whether the target intelligent node information matches the preset early warning information includes: Determine whether the hard disk utilization rate of the target intelligent node is greater than the preset hard disk utilization rate; The step of issuing a warning if the target smart node information matches the preset warning information includes: If the hard disk utilization rate of the target smart node is greater than the preset hard disk utilization rate, an early warning message will be issued.
4. The method according to claim 1, characterized in that, The step of determining whether the target intelligent node information matches the preset early warning information includes: Determine whether the target system state value of the target intelligent node is greater than a preset system state value; The step of issuing a warning if the target smart node information matches the preset warning information includes: If the target system state value of the target intelligent node is greater than the preset system state value, an early warning message will be issued.
5. The method according to claim 1, characterized in that, The step of issuing a warning message if the target intelligent node information matches the preset warning information includes: An early warning record is generated on the target system. The early warning record includes abnormal parameter information and the time when the abnormality occurred.
6. The method according to claim 1, characterized in that, The step of collecting the target intelligent node information includes: Information about the target smart node is collected cyclically at target time intervals.
7. An intelligent node monitoring device, characterized in that, include: Enable module: Used to control the target smart node to enable monitoring; Acquisition module: used to acquire information about the target intelligent node; Judgment module: used to determine whether the target intelligent node information conforms to preset warning information; Early warning module: Used to issue an early warning message if the target intelligent node information matches the preset early warning information.
8. The apparatus according to claim 7, characterized in that, The data acquisition module also includes a login unit for logging into the target smart node via SSH.
9. An electronic device, characterized in that, The system includes a memory and a processor, the memory being used to store one or more computer instructions, wherein the one or more computer instructions, when executed by the processor, implement the intelligent node monitoring method according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a program, characterized in that, When the program is executed by a computer, it implements the intelligent node monitoring method according to any one of claims 1 to 6.