WO2021098393A1 - Method and apparatus for intelligent system resource monitoring, electronic device, and storage medium - Google Patents

Method and apparatus for intelligent system resource monitoring, electronic device, and storage medium Download PDF

Info

Publication number
WO2021098393A1
WO2021098393A1 PCT/CN2020/119217 CN2020119217W WO2021098393A1 WO 2021098393 A1 WO2021098393 A1 WO 2021098393A1 CN 2020119217 W CN2020119217 W CN 2020119217W WO 2021098393 A1 WO2021098393 A1 WO 2021098393A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
data
monitoring
data set
system resource
Prior art date
Application number
PCT/CN2020/119217
Other languages
French (fr)
Chinese (zh)
Inventor
林水明
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021098393A1 publication Critical patent/WO2021098393A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to an intelligent system resource monitoring method, device, electronic equipment, and storage medium.
  • the current mainstream resource monitoring method is based on network open source monitoring solutions, such as K8S.
  • This application provides an intelligent system resource monitoring method, device, electronic equipment and storage medium.
  • An intelligent system resource monitoring method provided by this application includes:
  • call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches
  • the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  • This application also provides an intelligent system resource monitoring device, which includes:
  • a data receiving and exporting module for receiving system resources, and exporting resource data sets from the system resources by using a pre-built data exporting component
  • An index relationship establishment module configured to establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship;
  • the data verification module is used to call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set when the data verification is successful, and divide the resource data set into multiple batches Times;
  • the system resource real-time monitoring module is used to analyze and monitor the system resources in real time according to the batch and according to the pre-built real-time resource monitoring script. If the resource value of the system resource is analyzed to be greater than the preset threshold condition, then The system resource alarm is triggered, and the monitoring of the system resource is completed.
  • the present application also provides an electronic device that includes a memory and a processor.
  • the memory stores an intelligent system resource monitoring program that can run on the processor.
  • the intelligent system resource monitoring program is controlled by the processor. The following steps are implemented when the processor is executed:
  • call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches
  • the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  • the present application also provides a computer-readable storage medium having an intelligent system resource monitoring program stored on the computer-readable storage medium, and the intelligent system resource monitoring program can be executed by one or more processors to achieve the following step:
  • call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches
  • the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  • FIG. 1 is a schematic flowchart of an intelligent system resource monitoring method provided by an embodiment of this application
  • FIG. 2 is a schematic diagram of the internal structure of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of modules of an intelligent system resource monitoring device provided by an embodiment of the application.
  • This application provides an intelligent system resource monitoring method.
  • FIG. 1 it is a schematic flowchart of an intelligent system resource monitoring method provided by an embodiment of this application.
  • the method can be executed by a device, and the device can be implemented by software and/or hardware.
  • the intelligent system resource monitoring method includes:
  • the heap is a memory block managed by a special mechanism.
  • the heap is divided into two types: the heap managed by a system kernel User.exe of the system is called User Resource Heap, and the heap is managed by another system kernel Gdi.
  • the heap managed by .exe is called the GDI resource heap (Graphical Device Interface Resource Heap), User Resource Heap and GDI Resource Heap are collectively called System Resource Heap (System Resource Heap) Resource Heap).
  • the system resource heap stores various system resources (System Resources) such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
  • System Resources such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
  • the data export component is used to export a resource data set from the system resource to facilitate subsequent resource monitoring of the system resource.
  • the data export component includes: a resource connection module and a management module. There is a communication mechanism between the management module and the resource connection module, which can manage the number, version number, status, etc. of the resource connection module. Therefore, the management module and the resource connection module described in this application are one-to-many relationship.
  • the exporting of the resource data set from the system resource includes: performing a docking operation between the data export component and the system resource; calling a resource connection module in the data export component, through the resource connection module Sending a request instruction; the system resource pile corresponding to the resource connection module for storing the system resource returns the system resource to the resource connection module when receiving the request instruction; management in the data export component
  • the module checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will send all the resources received by the resource connection module within a preset time period.
  • the system resources of is packaged into a resource data set, and the resource data set is transmitted to the pre-built data transmission model.
  • the docking operation may be based on the tcp protocol (a connection-oriented reliable, byte stream-based transport layer communication protocol) or the rcp protocol (a communication protocol for requesting services from remote computing system programs through the network)
  • tcp protocol a connection-oriented reliable, byte stream-based transport layer communication protocol
  • rcp protocol a communication protocol for requesting services from remote computing system programs through the network
  • a connection channel is established to connect the system resource stack and the resource connection module in the data export component.
  • the resource connection module sends a request instruction, the system resource stack accepts the request instruction, returns system resources to the resource connection module, closes the connection channel, and continues to wait for the next request instruction.
  • the resource connection module described in this application may adopt an Agent module.
  • the management module checks the current status of the resource connection module in real time, and the status includes: the resource connection module has not established a connection relationship with the system resource pile, the resource connection module and the system resource
  • the stack has not established a connection relationship but has not sent a request instruction, the resource connection module has sent a request instruction, and is waiting for a response from the system resource stack, and the resource connection module receives system resource data.
  • the management module packs all the system resources received by the resource connection module into a resource data set within a preset time period, and The resource data set is transmitted to the pre-built data transmission model, and in other states, the resource connection module is in a waiting state.
  • the pre-built data transmission model includes: an index establishment module and a data verification module.
  • the index establishing module receives the resource data set, establishes an index relationship between the resource data in the resource data set and the system resource pile corresponding to the resource data, and converts the resource based on the index relationship
  • the data set is input to the data verification module to perform a data verification operation.
  • the index relationship is established to distinguish different resource data in the resource data set. For example, resource data A is indexed with the system resource heap related to the CPU, and resource data B is indexed with the system resource heap related to the network. The relationship, resource data C and the system resource heap of the IO establish an index relationship, etc.
  • the index relationship may adopt a binary coding method, and the same resource data is the same as the binary code group of the system resource pile.
  • the index building module may adopt a gateway module.
  • the data verification module executes the data verification operation to ensure that the resource data is accurate when uploaded to the resource monitoring model.
  • the data check may adopt the principle of divisor and remainder division.
  • the index establishment module has established a binary code group for the resource data in the resource data set according to the binary coding method, so the data check module Divide the binary code group, if it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission.
  • any binary code group can have a one-to-one correspondence with a polynomial whose coefficients are only '0' and '1', for example: the polynomial corresponding to code 1010111 is x6+x4+x2+x+1, polynomial It is the code 101111 corresponding to x5+x3+x2+x+1 and so on.
  • the length of the binary code group is N
  • the information field is K bits
  • the data verification module verifies the received binary code group through the g(x).
  • the verification module uses the same generated code for verification, that is, uses the received field/generated code (binary division).
  • the resource connection module If it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission (there are multiple reasons for the error) If the resource connection module has sent a request instruction, the resource connection module directly receives the system resource data before waiting for the response of the system resource pile, thus causing resource data overlap; as in the resource data set When an index relationship is established between the resource data in the resource data and the system resource heap corresponding to the resource data, an index relationship establishment error results in the verification failure, etc.), and the resource data set cannot be uploaded to the resource monitoring model.
  • the resource data set is very high. It is huge. If the resource data set is monitored uniformly, a large amount of computing resources will be consumed, and the monitoring delay is high and the cost is high. Therefore, the resource data set needs to be processed in batches.
  • the batch processing divides the resource data set into multiple batches for subsequent real-time monitoring based on a pre-built batch processing script.
  • the real-time monitoring analyzes the received resource data set based on a pre-selected and constructed real-time resource monitoring script.
  • the content of the real-time resource monitoring script includes: reading the IP address information of the local system, acquiring the resource data of the local system CPU from the batch processing script, and grabbing from the resource data of the CPU The total number of CPU cores and the total load value of the local system within a specified minute, and the average load value of a single CPU in the specified minute is calculated based on the total number of CPU cores and the total load value.
  • the real-time resource monitoring script includes monitoring IO, Load, memory, network, port survival, process survival, The monitoring code of the system such as the kernel configuration of the machine.
  • sending notifications of system resource shortages can adopt notification methods such as email, graphics, and voice.
  • the email notification needs to place an email address in the real-time resource monitoring script in advance
  • the graphical notification needs to build a graphical user interface in advance
  • the voice notification needs to use a hardware device that supports voice transmission.
  • the application also provides an electronic device.
  • FIG. 2 it is a schematic diagram of the internal structure of an electronic device provided by an embodiment of this application.
  • the electronic device 1 may be a PC (Personal Computer, a personal computer), or a terminal device such as a smart phone, a tablet computer, a portable computer, etc., or a server, etc.
  • the electronic device 1 at least includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a hard disk of the electronic device 1. In some other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital). Digital, SD) card, flash memory card (Flash Card) and so on.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as the code of the intelligent system resource monitoring program 01, etc., but also to temporarily store data that has been output or will be output.
  • the processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 Data, such as execution of intelligent system resource monitoring program 01, etc.
  • CPU Central Processing Unit
  • controller microcontroller
  • microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 Data, such as execution of intelligent system resource monitoring program 01, etc.
  • the communication bus 13 is used to realize the connection and communication between these components.
  • the network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is usually used to establish a communication connection between the electronic device 1 and other electronic devices.
  • a standard wired interface and a wireless interface such as a WI-FI interface
  • the electronic device 1 may further include a user interface.
  • the user interface may include a display (Display) and an input unit such as a keyboard (Keyboard).
  • the optional user interface may also include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • Figure 2 only shows the electronic device 1 with the components 11-14 and the intelligent system resource monitoring program 01. Those skilled in the art can understand that the structure shown in Figure 1 does not constitute a limitation on the electronic device 1. Including fewer or more components than shown, or combining some components, or different component arrangements.
  • an intelligent system resource monitoring program 01 is stored in the memory 11; when the processor 12 executes the intelligent system resource monitoring program 01 stored in the memory 11, the following steps are implemented:
  • Step 1 Receive system resources, and use pre-built data export components to export resource data sets from the system resources.
  • the heap is a memory block managed by a special mechanism.
  • the heap is divided into two types: the heap managed by a system kernel User.exe of the system is called User Resource Heap, and the heap is managed by another system kernel Gdi.
  • the heap managed by .exe is called the GDI resource heap (Graphical Device Interface Resource Heap), User Resource Heap and GDI Resource Heap are collectively called System Resource Heap (System Resource Heap) Resource Heap).
  • the system resource heap stores various system resources (System Resources) such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
  • System Resources such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
  • the data export component is used to export a resource data set from the system resource to facilitate subsequent resource monitoring of the system resource.
  • the data export component includes: a resource connection module and a management module. There is a communication mechanism between the management module and the resource connection module, which can manage the number, version number, status, etc. of the resource connection module. Therefore, the management module and the resource connection module described in this application are one-to-many relationship.
  • the exporting of the resource data set from the system resource includes: performing a docking operation between the data export component and the system resource; calling a resource connection module in the data export component, through the resource connection module Sending a request instruction; the system resource pile corresponding to the resource connection module for storing the system resource returns the system resource to the resource connection module when receiving the request instruction; management in the data export component
  • the module checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will send all the resources received by the resource connection module within a preset time period.
  • the system resources of is packaged into a resource data set, and the resource data set is transmitted to the pre-built data transmission model.
  • the docking operation may be based on the tcp protocol (a connection-oriented reliable, byte stream-based transport layer communication protocol) or the rcp protocol (a communication protocol for requesting services from remote computing system programs through the network)
  • tcp protocol a connection-oriented reliable, byte stream-based transport layer communication protocol
  • rcp protocol a communication protocol for requesting services from remote computing system programs through the network
  • a connection channel is established to connect the system resource stack and the resource connection module in the data export component.
  • the resource connection module sends a request instruction, the system resource stack accepts the request instruction, returns system resources to the resource connection module, closes the connection channel, and continues to wait for the next request instruction.
  • the resource connection module described in this application may adopt an Agent module.
  • the management module checks the current status of the resource connection module in real time, and the status includes: the resource connection module has not established a connection relationship with the system resource pile, the resource connection module and the system resource
  • the stack has not established a connection relationship but has not sent a request instruction, the resource connection module has sent a request instruction, and is waiting for a response from the system resource stack, and the resource connection module receives system resource data.
  • the management module packs all the system resources received by the resource connection module into a resource data set within a preset time period, and The resource data set is transmitted to the pre-built data transmission model, and in other states, the resource connection module is in a waiting state.
  • Step 2 Establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship.
  • the preferred embodiment of the present application is based on a pre-built data transmission model based on a pre-built data transmission model.
  • the pre-built data transmission model includes: an index establishment module and a data verification module.
  • the index establishing module receives the resource data set, establishes an index relationship between the resource data in the resource data set and the system resource pile corresponding to the resource data, and converts the resource based on the index relationship
  • the data set is input to the data verification module to perform a data verification operation.
  • the index relationship is established to distinguish different resource data in the resource data set. For example, resource data A is indexed with the system resource heap related to the CPU, and resource data B is indexed with the system resource heap related to the network. The relationship, resource data C and the system resource heap of the IO establish an index relationship, etc.
  • the index relationship may adopt a binary coding method, and the same resource data is the same as the binary code group of the system resource pile.
  • the index building module may adopt a gateway module.
  • the data verification module executes the data verification operation to ensure that the resource data is accurate when uploaded to the resource monitoring model.
  • the data check may adopt the principle of divisor and remainder division.
  • the index establishment module has established a binary code group for the resource data in the resource data set according to the binary coding method, so the data check module Divide the binary code group, if it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission.
  • any binary code group can have a one-to-one correspondence with a polynomial whose coefficients are only '0' and '1', for example: the polynomial corresponding to code 1010111 is x6+x4+x2+x+1, polynomial It is the code 101111 corresponding to x5+x3+x2+x+1 and so on.
  • the length of the binary code group is N
  • the information field is K bits
  • the data verification module verifies the received binary code group through the g(x).
  • the verification module uses the same generated code for verification, that is, uses the received field/generated code (binary division).
  • the resource connection module If it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission (there are multiple reasons for the error) If the resource connection module has sent a request instruction, the resource connection module directly receives the system resource data before waiting for the response of the system resource pile, thus causing resource data overlap; as in the resource data set When an index relationship is established between the resource data in the resource data and the system resource heap corresponding to the resource data, an index relationship establishment error results in the verification failure, etc.), and the resource data set cannot be uploaded to the resource monitoring model.
  • Step 3 When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches.
  • the resource data set is very high. It is huge. If the resource data set is monitored uniformly, a large amount of computing resources will be consumed, and the monitoring delay is high and the cost is high. Therefore, the resource data set needs to be processed in batches.
  • the batch processing divides the resource data set into multiple batches for subsequent real-time monitoring based on a pre-built batch processing script.
  • Step 4 Perform real-time analysis and monitoring of the system resources according to the batch and the pre-built real-time resource monitoring script. If the resource value of the system resource is analyzed to be greater than a preset threshold condition, a system resource alarm is triggered. Complete the monitoring of the system resources.
  • the real-time monitoring analyzes the received resource data set based on a pre-selected and constructed real-time resource monitoring script.
  • the content of the real-time resource monitoring script includes: reading the IP address information of the local system, acquiring the resource data of the local system CPU from the batch processing script, and grabbing from the resource data of the CPU The total number of CPU cores and the total load value of the local system within a specified minute, and the average load value of a single CPU in the specified minute is calculated based on the total number of CPU cores and the total load value.
  • the real-time resource monitoring script includes monitoring IO, Load, memory, network, port survival, process survival, The monitoring code of the system such as the kernel configuration of the machine.
  • sending notifications of system resource shortages can adopt notification methods such as email, graphics, and voice.
  • the email notification needs to place an email address in the real-time resource monitoring script in advance
  • the graphical notification needs to build a graphical user interface in advance
  • the voice notification needs to use a hardware device that supports voice transmission.
  • the intelligent system resource monitoring device includes a data receiving and exporting module 10, an index relationship establishing module 20, and data
  • the verification module 30 and the system resource real-time monitoring module 40 are exemplary:
  • the data receiving and exporting module 10 is configured to receive system resources, and use a pre-built data export component to export resource data sets from the system resources.
  • the index relationship establishment module 20 is configured to establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship.
  • the data verification module 30 is configured to: when the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into Multiple batches.
  • the system resource real-time monitoring module 40 is configured to: perform real-time analysis and monitoring of the system resources according to the batch and according to a pre-built real-time resource monitoring script, and if it is analyzed that the resource value of the system resource is greater than a preset threshold condition When the time, the system resource alarm is triggered, and the monitoring of the system resource is completed.
  • the embodiment of the present application also proposes a computer-readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the computer-readable storage medium stores intelligent system resources. Monitoring program, the intelligent system resource monitoring program can be executed by one or more processors to achieve the following operations:
  • call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches
  • the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.

Abstract

A method for intelligent system resource monitoring, an intelligent system resource monitoring apparatus, and a computer-readable storage medium, which relate to artificial intelligence technology. The method comprises: receiving a system resource, and exporting a resource data set from within the system resource by using a data export component; performing data verification on the resource data set; when the data verification is successful, calling a resource monitoring model to receive the resource data set and performing batch processing on the resource data set; and performing real time analysis and monitoring on the system resource according to the batch processing and a pre-constructed real time resource monitoring script; and if a resource value of the system resource is analyzed to be greater than a preset threshold condition, then triggering the system resource to sound an alarm to complete the monitoring of the system resource. An intelligent system resource monitoring function having a high cost performance may be achieved.

Description

智能化系统资源监控方法、装置、电子设备及存储介质Intelligent system resource monitoring method, device, electronic equipment and storage medium
本申请要求于2019年11月19日提交中国专利局、申请号为CN201911138085.9,发明名称为“智能化系统资源监控方法、装置及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on November 19, 2019, the application number is CN201911138085.9, and the invention title is "Intelligent System Resource Monitoring Method, Device, and Computer-readable Storage Medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种智能化系统资源监控方法、装置、电子设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to an intelligent system resource monitoring method, device, electronic equipment, and storage medium.
背景技术Background technique
用户为了更好地了解系统运行的情况,防止系统在运行时出现意外情况,通常需要对系统资源进行监控。目前主流的资源监控方法是基于网络开源监控方案,如K8S。In order to better understand the operation of the system and prevent accidents during the operation of the system, users usually need to monitor system resources. The current mainstream resource monitoring method is based on network open source monitoring solutions, such as K8S.
技术问题technical problem
发明人意识到由于网络开源监控方案的扩展性较差并且方案采用服务器主动推送方式读取监控数据,对服务器来说具有一定的性能压力。The inventor realized that because the network open source monitoring solution has poor scalability and the solution uses the server to actively push the monitoring data to read the monitoring data, there is a certain performance pressure on the server.
技术解决方案Technical solutions
本申请提供一种智能化系统资源监控方法、装置、电子设备及存储介质。This application provides an intelligent system resource monitoring method, device, electronic equipment and storage medium.
本申请提供的一种智能化系统资源监控方法,包括:An intelligent system resource monitoring method provided by this application includes:
接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
本申请还提供一种智能化系统资源监控装置,该装置包括:This application also provides an intelligent system resource monitoring device, which includes:
数据接收及导出模块,用于接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;A data receiving and exporting module for receiving system resources, and exporting resource data sets from the system resources by using a pre-built data exporting component;
索引关系建立模块,用于将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;An index relationship establishment module, configured to establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship;
数据校验模块,用于在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;The data verification module is used to call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set when the data verification is successful, and divide the resource data set into multiple batches Times;
系统资源实时监控模块,用于按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。The system resource real-time monitoring module is used to analyze and monitor the system resources in real time according to the batch and according to the pre-built real-time resource monitoring script. If the resource value of the system resource is analyzed to be greater than the preset threshold condition, then The system resource alarm is triggered, and the monitoring of the system resource is completed.
本申请还提供一种电子设备,该电子设备包括存储器和处理器,所述存储器中存储有可在所述处理器上运行的智能化系统资源监控程序,所述智能化系统资源监控程序被所述处理器执行时实现如下步骤:The present application also provides an electronic device that includes a memory and a processor. The memory stores an intelligent system resource monitoring program that can run on the processor. The intelligent system resource monitoring program is controlled by the processor. The following steps are implemented when the processor is executed:
接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有智能化系统资源监控程序,所述智能化系统资源监控程序可被一个或者多个处理器执行,以实现如下步骤:The present application also provides a computer-readable storage medium having an intelligent system resource monitoring program stored on the computer-readable storage medium, and the intelligent system resource monitoring program can be executed by one or more processors to achieve the following step:
接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
附图说明Description of the drawings
图1为本申请一实施例提供的智能化系统资源监控方法的流程示意图;FIG. 1 is a schematic flowchart of an intelligent system resource monitoring method provided by an embodiment of this application;
图2为本申请一实施例提供的电子设备的内部结构示意图;2 is a schematic diagram of the internal structure of an electronic device provided by an embodiment of the application;
图3为本申请一实施例提供的智能化系统资源监控装置的模块示意图。FIG. 3 is a schematic diagram of modules of an intelligent system resource monitoring device provided by an embodiment of the application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供一种智能化系统资源监控方法。参照图1所示,为本申请一实施例提供的智能化系统资源监控方法的流程示意图。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。This application provides an intelligent system resource monitoring method. Referring to FIG. 1, it is a schematic flowchart of an intelligent system resource monitoring method provided by an embodiment of this application. The method can be executed by a device, and the device can be implemented by software and/or hardware.
在本实施例中,智能化系统资源监控方法包括:In this embodiment, the intelligent system resource monitoring method includes:
S1、接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集。S1. Receive system resources, and export resource data sets from the system resources by using a pre-built data export component.
由于应用程序在系统中运行时,系统必须实时"跟踪"该应用程序的运行,并保留与之相关的许多信息,如光标、窗口的状况等,这些信息由系统保留在一种叫堆(Heap)的内存块中。所述堆是采用特殊机制管理的内存块,所述堆分为两种类型:由系统的一个系统内核User.exe管理的堆叫作User资源堆(User Resource Heap),由另一个系统内核Gdi.exe管理的堆叫作GDI资源堆(Graphical Device Interface Resource Heap),User资源堆和GDI资源堆合称为系统资源堆(System Resource Heap)。所述系统资源堆中存储有CPU数据、磁盘数据、IO数据、内存数据、网络数据、端口存活数据、进程存活及/或机器内核配置参数数据等各种系统资源(System Resource),因此不管用户的业务规模大小、运维团队处于何种状态,所述系统资源无时无刻都是存在的。Since the application is running in the system, the system must "track" the operation of the application in real time, and retain a lot of related information, such as the status of the cursor and window, etc. This information is retained by the system in a type called Heap ) In the memory block. The heap is a memory block managed by a special mechanism. The heap is divided into two types: the heap managed by a system kernel User.exe of the system is called User Resource Heap, and the heap is managed by another system kernel Gdi. The heap managed by .exe is called the GDI resource heap (Graphical Device Interface Resource Heap), User Resource Heap and GDI Resource Heap are collectively called System Resource Heap (System Resource Heap) Resource Heap). The system resource heap stores various system resources (System Resources) such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
优选地,所述数据导出组件用于从所述系统资源内导出资源数据集,方便后续对所述系统资源进行资源监控。所述数据导出组件包括:资源连接模块和管理模块。所述管理模块与所述资源连接模块之间具有通信机制,可管理所述资源连接模块的数量、版本号、状态等,因此本申请所述管理模块与所述资源连接模块是一对多的关系。Preferably, the data export component is used to export a resource data set from the system resource to facilitate subsequent resource monitoring of the system resource. The data export component includes: a resource connection module and a management module. There is a communication mechanism between the management module and the resource connection module, which can manage the number, version number, status, etc. of the resource connection module. Therefore, the management module and the resource connection module described in this application are one-to-many relationship.
具体地,所述从所述系统资源内导出资源数据集包括:将所述数据导出组件与所述系统资源执行对接操作;调用所述数据导出组件中的资源连接模块,通过所述资源连接模块发送请求指令;与所述资源连接模块对应的用于存储所述系统资源的系统资源堆接收到所述请求指令时返回所述系统资源给所述资源连接模块;所述数据导出组件中的管理模块实时查看当前所述资源连接模块的状态,若所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成资源数据集,并将所述资源数据集传输至所述预先构建的数据传输模型。Specifically, the exporting of the resource data set from the system resource includes: performing a docking operation between the data export component and the system resource; calling a resource connection module in the data export component, through the resource connection module Sending a request instruction; the system resource pile corresponding to the resource connection module for storing the system resource returns the system resource to the resource connection module when receiving the request instruction; management in the data export component The module checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will send all the resources received by the resource connection module within a preset time period. The system resources of is packaged into a resource data set, and the resource data set is transmitted to the pre-built data transmission model.
较佳地,所述对接操作可基于tcp协议(一种面向连接可靠的、基于字节流的传输层通信协议)或rcp协议(一种通过网络从远程计算系统程序上请求服务的通讯协议)建立连接通道连接所述系统资源堆和所述数据导出组件中的资源连接模块。所述资源连接模块发送请求指令,所述系统资源堆接受所述请求指令,并返回系统资源给所述资源连接模块后关闭所述连接通道,并继续等待下一次的请求指令。本申请所述资源连接模块可采用Agent模块。Preferably, the docking operation may be based on the tcp protocol (a connection-oriented reliable, byte stream-based transport layer communication protocol) or the rcp protocol (a communication protocol for requesting services from remote computing system programs through the network) A connection channel is established to connect the system resource stack and the resource connection module in the data export component. The resource connection module sends a request instruction, the system resource stack accepts the request instruction, returns system resources to the resource connection module, closes the connection channel, and continues to wait for the next request instruction. The resource connection module described in this application may adopt an Agent module.
较佳地,所述管理模块实时查看当前所述资源连接模块的状态,所述状态包括:所述资源连接模块与所述系统资源堆未建立连接关系、所述资源连接模块与所述系统资源堆未建立连接关系但未发送请求指令、所述资源连接模块已发送请求指令,并等待所述系统资源堆响应、所述资源连接模块接收到系统资源数据。只有当所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成资源数据集,并将所述资源数据集传输至所述预先构建的数据传输模型,其余状态下,所述资源连接模块处于等待状态。Preferably, the management module checks the current status of the resource connection module in real time, and the status includes: the resource connection module has not established a connection relationship with the system resource pile, the resource connection module and the system resource The stack has not established a connection relationship but has not sent a request instruction, the resource connection module has sent a request instruction, and is waiting for a response from the system resource stack, and the resource connection module receives system resource data. Only when the status of the resource connection module is that the system resource has been received, the management module packs all the system resources received by the resource connection module into a resource data set within a preset time period, and The resource data set is transmitted to the pre-built data transmission model, and in other states, the resource connection module is in a waiting state.
S2、将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验。S2. Establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship.
本申请较佳实施例基于预先构建的数据传输模型。其中,所述预先构建的数据传输模型包括:索引建立模块、数据校验模块。优选地,所述索引建立模块接收所述资源数据集,在所述资源数据集内的资源数据与所述资源数据对应的系统资源堆之间建立索引关系,基于所述索引关系将所述资源数据集输入至所述数据校验模块执行数据校验操作。The preferred embodiment of the present application is based on a pre-built data transmission model. Wherein, the pre-built data transmission model includes: an index establishment module and a data verification module. Preferably, the index establishing module receives the resource data set, establishes an index relationship between the resource data in the resource data set and the system resource pile corresponding to the resource data, and converts the resource based on the index relationship The data set is input to the data verification module to perform a data verification operation.
建立所述索引关系是为了区分所述资源数据集内的不同资源数据,如资源数据A与所述CPU相关的系统资源堆建立索引关系、资源数据B与所述网络相关的系统资源堆建立索引关系、资源数据C与所述IO的系统资源堆建立索引关系等。The index relationship is established to distinguish different resource data in the resource data set. For example, resource data A is indexed with the system resource heap related to the CPU, and resource data B is indexed with the system resource heap related to the network. The relationship, resource data C and the system resource heap of the IO establish an index relationship, etc.
所述索引关系可采用二进制编码的方法,相同资源数据与系统资源堆的二进制码组相同。所述索引建立模块可采用gateway模块。The index relationship may adopt a binary coding method, and the same resource data is the same as the binary code group of the system resource pile. The index building module may adopt a gateway module.
所述数据校验模块执行数据校验操作是为了保证资源数据在上传至资源监控模型中时是准确无误的。The data verification module executes the data verification operation to ensure that the resource data is accurate when uploaded to the resource monitoring model.
所述数据校验可采用除数及余数除尽原理,如上述索引建立模块已根据所述二进制编码的方法将所述资源数据集内的资源数据建立了二进制码组,因此所述数据校验模块对所述二进制码组进行除法运算,若除尽则说明传输无误;若未除尽则表明传输出现差错。The data check may adopt the principle of divisor and remainder division. For example, the index establishment module has established a binary code group for the resource data in the resource data set according to the binary coding method, so the data check module Divide the binary code group, if it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission.
具体地,因为任意一个二进制码组都可以和一个系数仅为‘0’和‘1’取值的多项式一一对应,例如:代码1010111对应的多项式为x6+x4+x2+x+1,多项式为x5+x3+x2+x+1对应的代码101111等。设二进制码组长度为N,信息字段为K位,校验字段为R位(故:N=K+R),则对于所述资源数据集形成的任意二进制码组,仅存一个R位多项式g(x),因此所述数据校验模块通过该g(x)来验证收到的二进制码组。例如:信息字段代码为1011001,对应m(x)=x6+x4+x3+1,假设生成多项式g(x)为x4+x3+1,则对应g(x)的二进制码组为信息字段代码+校验字段,采用多项式除法得余数为:1010(即校验字段为:1010),据此所述索引建立模块发出的传输字段为:1 0 1 1 0 0 11 0 10;所述数据校验模块使用相同的生成码进行校验,即使用接收到的字段/生成码(二进制除法),若除尽则说明传输无误;若未除尽则表明传输出现差错(所述出错原因有多种,如所述资源连接模块已发送请求指令,在未等待到所述系统资源堆响应时,所述资源连接模块接直接收到系统资源数据,因此造成资源数据重叠;如在所述资源数据集内的资源数据与所述资源数据对应的系统资源堆之间建立索引关系时,索引关系建立错误导致所述校验失败等),不能将所述资源数据集上传至所述资源监控模型。Specifically, because any binary code group can have a one-to-one correspondence with a polynomial whose coefficients are only '0' and '1', for example: the polynomial corresponding to code 1010111 is x6+x4+x2+x+1, polynomial It is the code 101111 corresponding to x5+x3+x2+x+1 and so on. Assuming that the length of the binary code group is N, the information field is K bits, and the check field is R bits (hence: N=K+R), then for any binary code group formed by the resource data set, there is only one R-bit polynomial g(x), so the data verification module verifies the received binary code group through the g(x). For example: the information field code is 1011001, corresponding to m(x)=x6+x4+x3+1, assuming the generator polynomial g(x) is x4+x3+1, then the binary code group corresponding to g(x) is the information field code + Check field, the remainder obtained by polynomial division is: 1010 (that is, the check field is: 1010), based on this, the transmission field sent by the index building module is: 1 0 1 1 0 0 11 0 10; The verification module uses the same generated code for verification, that is, uses the received field/generated code (binary division). If it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission (there are multiple reasons for the error) If the resource connection module has sent a request instruction, the resource connection module directly receives the system resource data before waiting for the response of the system resource pile, thus causing resource data overlap; as in the resource data set When an index relationship is established between the resource data in the resource data and the system resource heap corresponding to the resource data, an index relationship establishment error results in the verification failure, etc.), and the resource data set cannot be uploaded to the resource monitoring model.
S3、在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次。S3. When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches.
在本申请实施例中,由于需要监控多个应用程序的系统资源(如CPU、磁盘、IO、Load、内存、网络、端口、进程、机器内核配置等),因此所述资源数据集数据量非常巨大,若对所述资源数据集统一监控,则会消耗大量计算资源,且监控延迟大成本代价高,据此需要将所述资源数据集进行分批处理。In the embodiment of this application, because the system resources of multiple applications (such as CPU, disk, IO, Load, memory, network, port, process, machine kernel configuration, etc.) need to be monitored, the amount of data in the resource data set is very high. It is huge. If the resource data set is monitored uniformly, a large amount of computing resources will be consumed, and the monitoring delay is high and the cost is high. Therefore, the resource data set needs to be processed in batches.
所述分批处理基于预先构建的分批处理脚本将所述资源数据集分为多个批次供后续实时监控。The batch processing divides the resource data set into multiple batches for subsequent real-time monitoring based on a pre-built batch processing script.
S4、按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。S4. Perform real-time analysis and monitoring of the system resources according to the batch and according to the pre-built real-time resource monitoring script. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete Monitoring of the system resources.
所述实时监控基于预选构建的实时资源监控脚本对接收的所述资源数据集进行分析。具体地,所述实时资源监控脚本的内容包括:读取本地系统的IP地址信息,从所述分批处理脚本中获取所述本地系统CPU的资源数据,从所述CPU的资源数据中抓取CPU的总核数和本地系统指定分钟内的总负载值,基于所述CPU的总核数和所述总负载值计算单个CPU在所述指定分钟内的平均负载值,若所述平均负载值大于预设CPU警告值,发送CPU资源紧张通知;从所述分批处理脚本中获取所述本地系统磁盘的资源数据,从所述本地系统磁盘的资源数据获取磁盘分区情况和每个分区的磁盘空闲容量,若有分区的磁盘空闲容量已小于预设磁盘空闲量,发送磁盘资源紧张通知;以此类推,所述实时资源监控脚本包括对IO、Load、内存、网络、端口存活、进程存活、机器内核配置等系统的监控代码。The real-time monitoring analyzes the received resource data set based on a pre-selected and constructed real-time resource monitoring script. Specifically, the content of the real-time resource monitoring script includes: reading the IP address information of the local system, acquiring the resource data of the local system CPU from the batch processing script, and grabbing from the resource data of the CPU The total number of CPU cores and the total load value of the local system within a specified minute, and the average load value of a single CPU in the specified minute is calculated based on the total number of CPU cores and the total load value. If the average load value is If it is greater than the preset CPU warning value, send a CPU resource shortage notification; obtain the resource data of the local system disk from the batch processing script, and obtain the disk partition status and the disk of each partition from the resource data of the local system disk Idle capacity, if the disk idle capacity of a partition is less than the preset disk idle capacity, a notification of disk resource shortage is sent; and so on, the real-time resource monitoring script includes monitoring IO, Load, memory, network, port survival, process survival, The monitoring code of the system such as the kernel configuration of the machine.
进一步地,发送系统资源紧张通知可采用邮件、图形化、语音等通知方式。所述邮件通知需要预先在所述实时资源监控脚本放置邮箱地址,所述图形化通知需要预先构建图像化用户界面,所述语音通知需要用支持语音传输的硬件设备。Further, sending notifications of system resource shortages can adopt notification methods such as email, graphics, and voice. The email notification needs to place an email address in the real-time resource monitoring script in advance, the graphical notification needs to build a graphical user interface in advance, and the voice notification needs to use a hardware device that supports voice transmission.
本申请还提供一种电子设备。参照图2所示,为本申请一实施例提供的电子设备的内部结构示意图。The application also provides an electronic device. Referring to FIG. 2, it is a schematic diagram of the internal structure of an electronic device provided by an embodiment of this application.
在本实施例中,所述电子设备1可以是PC(Personal Computer,个人电脑),或者是智能手机、平板电脑、便携计算机等终端设备,也可以是一种服务器等。该电子设备1至少包括存储器11、处理器12,通信总线13,以及网络接口14。In this embodiment, the electronic device 1 may be a PC (Personal Computer, a personal computer), or a terminal device such as a smart phone, a tablet computer, a portable computer, etc., or a server, etc. The electronic device 1 at least includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的硬盘。存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如智能化系统资源监控程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a hard disk of the electronic device 1. In some other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in hard disk equipped on the electronic device 1, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital). Digital, SD) card, flash memory card (Flash Card) and so on. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as the code of the intelligent system resource monitoring program 01, etc., but also to temporarily store data that has been output or will be output.
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit, CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行智能化系统资源监控程序01等。The processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip in some embodiments, and is used to run the program code or processing stored in the memory 11 Data, such as execution of intelligent system resource monitoring program 01, etc.
通信总线13用于实现这些组件之间的连接通信。The communication bus 13 is used to realize the connection and communication between these components.
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该电子设备1与其他电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is usually used to establish a communication connection between the electronic device 1 and other electronic devices.
可选地,该电子设备1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may further include a user interface. The user interface may include a display (Display) and an input unit such as a keyboard (Keyboard). The optional user interface may also include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
图2仅示出了具有组件11-14以及智能化系统资源监控程序01的电子设备1,本领域技术人员可以理解的是,图1示出的结构并不构成对电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。Figure 2 only shows the electronic device 1 with the components 11-14 and the intelligent system resource monitoring program 01. Those skilled in the art can understand that the structure shown in Figure 1 does not constitute a limitation on the electronic device 1. Including fewer or more components than shown, or combining some components, or different component arrangements.
在图2所示的电子设备1实施例中,存储器11中存储有智能化系统资源监控程序01;处理器12执行存储器11中存储的智能化系统资源监控程序01时实现如下步骤:In the embodiment of the electronic device 1 shown in FIG. 2, an intelligent system resource monitoring program 01 is stored in the memory 11; when the processor 12 executes the intelligent system resource monitoring program 01 stored in the memory 11, the following steps are implemented:
步骤一、接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集。Step 1: Receive system resources, and use pre-built data export components to export resource data sets from the system resources.
由于应用程序在系统中运行时,系统必须实时"跟踪"该应用程序的运行,并保留与之相关的许多信息,如光标、窗口的状况等,这些信息由系统保留在一种叫堆(Heap)的内存块中。所述堆是采用特殊机制管理的内存块,所述堆分为两种类型:由系统的一个系统内核User.exe管理的堆叫作User资源堆(User Resource Heap),由另一个系统内核Gdi.exe管理的堆叫作GDI资源堆(Graphical Device Interface Resource Heap),User资源堆和GDI资源堆合称为系统资源堆(System Resource Heap)。所述系统资源堆中存储有CPU数据、磁盘数据、IO数据、内存数据、网络数据、端口存活数据、进程存活及/或机器内核配置参数数据等各种系统资源(System Resource),因此不管用户的业务规模大小、运维团队处于何种状态,所述系统资源无时无刻都是存在的。Since the application is running in the system, the system must "track" the operation of the application in real time, and retain a lot of related information, such as the status of the cursor and window, etc. This information is retained by the system in a type called Heap ) In the memory block. The heap is a memory block managed by a special mechanism. The heap is divided into two types: the heap managed by a system kernel User.exe of the system is called User Resource Heap, and the heap is managed by another system kernel Gdi. The heap managed by .exe is called the GDI resource heap (Graphical Device Interface Resource Heap), User Resource Heap and GDI Resource Heap are collectively called System Resource Heap (System Resource Heap) Resource Heap). The system resource heap stores various system resources (System Resources) such as CPU data, disk data, IO data, memory data, network data, port survival data, process survival, and/or machine kernel configuration parameter data. Therefore, regardless of the user The scale of the business, the state of the operation and maintenance team, and the system resources exist all the time.
优选地,所述数据导出组件用于从所述系统资源内导出资源数据集,方便后续对所述系统资源进行资源监控。所述数据导出组件包括:资源连接模块和管理模块。所述管理模块与所述资源连接模块之间具有通信机制,可管理所述资源连接模块的数量、版本号、状态等,因此本申请所述管理模块与所述资源连接模块是一对多的关系。Preferably, the data export component is used to export a resource data set from the system resource to facilitate subsequent resource monitoring of the system resource. The data export component includes: a resource connection module and a management module. There is a communication mechanism between the management module and the resource connection module, which can manage the number, version number, status, etc. of the resource connection module. Therefore, the management module and the resource connection module described in this application are one-to-many relationship.
具体地,所述从所述系统资源内导出资源数据集包括:将所述数据导出组件与所述系统资源执行对接操作;调用所述数据导出组件中的资源连接模块,通过所述资源连接模块发送请求指令;与所述资源连接模块对应的用于存储所述系统资源的系统资源堆接收到所述请求指令时返回所述系统资源给所述资源连接模块;所述数据导出组件中的管理模块实时查看当前所述资源连接模块的状态,若所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成资源数据集,并将所述资源数据集传输至所述预先构建的数据传输模型。Specifically, the exporting of the resource data set from the system resource includes: performing a docking operation between the data export component and the system resource; calling a resource connection module in the data export component, through the resource connection module Sending a request instruction; the system resource pile corresponding to the resource connection module for storing the system resource returns the system resource to the resource connection module when receiving the request instruction; management in the data export component The module checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will send all the resources received by the resource connection module within a preset time period. The system resources of is packaged into a resource data set, and the resource data set is transmitted to the pre-built data transmission model.
较佳地,所述对接操作可基于tcp协议(一种面向连接可靠的、基于字节流的传输层通信协议)或rcp协议(一种通过网络从远程计算系统程序上请求服务的通讯协议)建立连接通道连接所述系统资源堆和所述数据导出组件中的资源连接模块。所述资源连接模块发送请求指令,所述系统资源堆接受所述请求指令,并返回系统资源给所述资源连接模块后关闭所述连接通道,并继续等待下一次的请求指令。本申请所述资源连接模块可采用Agent模块。Preferably, the docking operation may be based on the tcp protocol (a connection-oriented reliable, byte stream-based transport layer communication protocol) or the rcp protocol (a communication protocol for requesting services from remote computing system programs through the network) A connection channel is established to connect the system resource stack and the resource connection module in the data export component. The resource connection module sends a request instruction, the system resource stack accepts the request instruction, returns system resources to the resource connection module, closes the connection channel, and continues to wait for the next request instruction. The resource connection module described in this application may adopt an Agent module.
较佳地,所述管理模块实时查看当前所述资源连接模块的状态,所述状态包括:所述资源连接模块与所述系统资源堆未建立连接关系、所述资源连接模块与所述系统资源堆未建立连接关系但未发送请求指令、所述资源连接模块已发送请求指令,并等待所述系统资源堆响应、所述资源连接模块接收到系统资源数据。只有当所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成资源数据集,并将所述资源数据集传输至所述预先构建的数据传输模型,其余状态下,所述资源连接模块处于等待状态。Preferably, the management module checks the current status of the resource connection module in real time, and the status includes: the resource connection module has not established a connection relationship with the system resource pile, the resource connection module and the system resource The stack has not established a connection relationship but has not sent a request instruction, the resource connection module has sent a request instruction, and is waiting for a response from the system resource stack, and the resource connection module receives system resource data. Only when the status of the resource connection module is that the system resource has been received, the management module packs all the system resources received by the resource connection module into a resource data set within a preset time period, and The resource data set is transmitted to the pre-built data transmission model, and in other states, the resource connection module is in a waiting state.
步骤二、将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验。Step 2: Establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship.
本申请较佳实施例基于预先构建的数据传输模型基于预先构建的数据传输模型。其中,所述预先构建的数据传输模型包括:索引建立模块、数据校验模块。优选地,所述索引建立模块接收所述资源数据集,在所述资源数据集内的资源数据与所述资源数据对应的系统资源堆之间建立索引关系,基于所述索引关系将所述资源数据集输入至所述数据校验模块执行数据校验操作。The preferred embodiment of the present application is based on a pre-built data transmission model based on a pre-built data transmission model. Wherein, the pre-built data transmission model includes: an index establishment module and a data verification module. Preferably, the index establishing module receives the resource data set, establishes an index relationship between the resource data in the resource data set and the system resource pile corresponding to the resource data, and converts the resource based on the index relationship The data set is input to the data verification module to perform a data verification operation.
建立所述索引关系是为了区分所述资源数据集内的不同资源数据,如资源数据A与所述CPU相关的系统资源堆建立索引关系、资源数据B与所述网络相关的系统资源堆建立索引关系、资源数据C与所述IO的系统资源堆建立索引关系等。The index relationship is established to distinguish different resource data in the resource data set. For example, resource data A is indexed with the system resource heap related to the CPU, and resource data B is indexed with the system resource heap related to the network. The relationship, resource data C and the system resource heap of the IO establish an index relationship, etc.
所述索引关系可采用二进制编码的方法,相同资源数据与系统资源堆的二进制码组相同。所述索引建立模块可采用gateway模块。The index relationship may adopt a binary coding method, and the same resource data is the same as the binary code group of the system resource pile. The index building module may adopt a gateway module.
所述数据校验模块执行数据校验操作是为了保证资源数据在上传至资源监控模型中时是准确无误的。The data verification module executes the data verification operation to ensure that the resource data is accurate when uploaded to the resource monitoring model.
所述数据校验可采用除数及余数除尽原理,如上述索引建立模块已根据所述二进制编码的方法将所述资源数据集内的资源数据建立了二进制码组,因此所述数据校验模块对所述二进制码组进行除法运算,若除尽则说明传输无误;若未除尽则表明传输出现差错。The data check may adopt the principle of divisor and remainder division. For example, the index establishment module has established a binary code group for the resource data in the resource data set according to the binary coding method, so the data check module Divide the binary code group, if it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission.
具体地,因为任意一个二进制码组都可以和一个系数仅为‘0’和‘1’取值的多项式一一对应,例如:代码1010111对应的多项式为x6+x4+x2+x+1,多项式为x5+x3+x2+x+1对应的代码101111等。设二进制码组长度为N,信息字段为K位,校验字段为R位(故:N=K+R),则对于所述资源数据集形成的任意二进制码组,仅存一个R位多项式g(x),因此所述数据校验模块通过该g(x)来验证收到的二进制码组。例如:信息字段代码为1011001,对应m(x)=x6+x4+x3+1,假设生成多项式g(x)为x4+x3+1,则对应g(x)的二进制码组为信息字段代码+校验字段,采用多项式除法得余数为:1010(即校验字段为:1010),据此所述索引建立模块发出的传输字段为:1 0 1 1 0 0 11 0 10;所述数据校验模块使用相同的生成码进行校验,即使用接收到的字段/生成码(二进制除法),若除尽则说明传输无误;若未除尽则表明传输出现差错(所述出错原因有多种,如所述资源连接模块已发送请求指令,在未等待到所述系统资源堆响应时,所述资源连接模块接直接收到系统资源数据,因此造成资源数据重叠;如在所述资源数据集内的资源数据与所述资源数据对应的系统资源堆之间建立索引关系时,索引关系建立错误导致所述校验失败等),不能将所述资源数据集上传至所述资源监控模型。Specifically, because any binary code group can have a one-to-one correspondence with a polynomial whose coefficients are only '0' and '1', for example: the polynomial corresponding to code 1010111 is x6+x4+x2+x+1, polynomial It is the code 101111 corresponding to x5+x3+x2+x+1 and so on. Assuming that the length of the binary code group is N, the information field is K bits, and the check field is R bits (hence: N=K+R), then for any binary code group formed by the resource data set, there is only one R-bit polynomial g(x), so the data verification module verifies the received binary code group through the g(x). For example: the information field code is 1011001, corresponding to m(x)=x6+x4+x3+1, assuming the generator polynomial g(x) is x4+x3+1, then the binary code group corresponding to g(x) is the information field code + Check field, the remainder obtained by polynomial division is: 1010 (that is, the check field is: 1010), based on this, the transmission field sent by the index building module is: 1 0 1 1 0 0 11 0 10; The verification module uses the same generated code for verification, that is, uses the received field/generated code (binary division). If it is divided, it means that the transmission is correct; if it is not divided, it means that there is an error in the transmission (there are multiple reasons for the error) If the resource connection module has sent a request instruction, the resource connection module directly receives the system resource data before waiting for the response of the system resource pile, thus causing resource data overlap; as in the resource data set When an index relationship is established between the resource data in the resource data and the system resource heap corresponding to the resource data, an index relationship establishment error results in the verification failure, etc.), and the resource data set cannot be uploaded to the resource monitoring model.
步骤三、在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次。Step 3: When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches.
在本申请实施例中,由于需要监控多个应用程序的系统资源(如CPU、磁盘、IO、Load、内存、网络、端口、进程、机器内核配置等),因此所述资源数据集数据量非常巨大,若对所述资源数据集统一监控,则会消耗大量计算资源,且监控延迟大成本代价高,据此需要将所述资源数据集进行分批处理。In the embodiment of this application, because the system resources of multiple applications (such as CPU, disk, IO, Load, memory, network, port, process, machine kernel configuration, etc.) need to be monitored, the amount of data in the resource data set is very high. It is huge. If the resource data set is monitored uniformly, a large amount of computing resources will be consumed, and the monitoring delay is high and the cost is high. Therefore, the resource data set needs to be processed in batches.
所述分批处理基于预先构建的分批处理脚本将所述资源数据集分为多个批次供后续实时监控。The batch processing divides the resource data set into multiple batches for subsequent real-time monitoring based on a pre-built batch processing script.
步骤四、按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。Step 4. Perform real-time analysis and monitoring of the system resources according to the batch and the pre-built real-time resource monitoring script. If the resource value of the system resource is analyzed to be greater than a preset threshold condition, a system resource alarm is triggered. Complete the monitoring of the system resources.
所述实时监控基于预选构建的实时资源监控脚本对接收的所述资源数据集进行分析。具体地,所述实时资源监控脚本的内容包括:读取本地系统的IP地址信息,从所述分批处理脚本中获取所述本地系统CPU的资源数据,从所述CPU的资源数据中抓取CPU的总核数和本地系统指定分钟内的总负载值,基于所述CPU的总核数和所述总负载值计算单个CPU在所述指定分钟内的平均负载值,若所述平均负载值大于预设CPU警告值,发送CPU资源紧张通知;从所述分批处理脚本中获取所述本地系统磁盘的资源数据,从所述本地系统磁盘的资源数据获取磁盘分区情况和每个分区的磁盘空闲容量,若有分区的磁盘空闲容量已小于预设磁盘空闲量,发送磁盘资源紧张通知;以此类推,所述实时资源监控脚本包括对IO、Load、内存、网络、端口存活、进程存活、机器内核配置等系统的监控代码。The real-time monitoring analyzes the received resource data set based on a pre-selected and constructed real-time resource monitoring script. Specifically, the content of the real-time resource monitoring script includes: reading the IP address information of the local system, acquiring the resource data of the local system CPU from the batch processing script, and grabbing from the resource data of the CPU The total number of CPU cores and the total load value of the local system within a specified minute, and the average load value of a single CPU in the specified minute is calculated based on the total number of CPU cores and the total load value. If the average load value is If it is greater than the preset CPU warning value, send a CPU resource shortage notification; obtain the resource data of the local system disk from the batch processing script, and obtain the disk partition status and the disk of each partition from the resource data of the local system disk Idle capacity, if the disk idle capacity of a partition is less than the preset disk idle capacity, a notification of disk resource shortage is sent; and so on, the real-time resource monitoring script includes monitoring IO, Load, memory, network, port survival, process survival, The monitoring code of the system such as the kernel configuration of the machine.
进一步地,发送系统资源紧张通知可采用邮件、图形化、语音等通知方式。所述邮件通知需要预先在所述实时资源监控脚本放置邮箱地址,所述图形化通知需要预先构建图像化用户界面,所述语音通知需要用支持语音传输的硬件设备。Further, sending notifications of system resource shortages can adopt notification methods such as email, graphics, and voice. The email notification needs to place an email address in the real-time resource monitoring script in advance, the graphical notification needs to build a graphical user interface in advance, and the voice notification needs to use a hardware device that supports voice transmission.
参照图3所示,为本申请智能化系统资源监控装置一实施例的模块示意图,该实施例中,所述智能化系统资源监控装置包括数据接收及导出模块10、索引关系建立模块20、数据校验模块30、系统资源实时监控模块40示例性地:3, which is a schematic diagram of modules of an embodiment of an intelligent system resource monitoring device of this application. In this embodiment, the intelligent system resource monitoring device includes a data receiving and exporting module 10, an index relationship establishing module 20, and data The verification module 30 and the system resource real-time monitoring module 40 are exemplary:
所述数据接收及导出模块10用于:接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集。The data receiving and exporting module 10 is configured to receive system resources, and use a pre-built data export component to export resource data sets from the system resources.
所述索引关系建立模块20用于:将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验。The index relationship establishment module 20 is configured to establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship.
所述数据校验模块30用于:在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次。The data verification module 30 is configured to: when the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into Multiple batches.
所述系统资源实时监控模块40用于:按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。The system resource real-time monitoring module 40 is configured to: perform real-time analysis and monitoring of the system resources according to the batch and according to a pre-built real-time resource monitoring script, and if it is analyzed that the resource value of the system resource is greater than a preset threshold condition When the time, the system resource alarm is triggered, and the monitoring of the system resource is completed.
上述数据接收及导出模块10、索引关系建立模块20、数据校验模块30、系统资源实时监控模块40等模块被执行时所实现的功能或操作步骤与上述实施例大体相同,在此不再赘述。The functions or operation steps implemented by the above-mentioned data receiving and exporting module 10, indexing relationship establishing module 20, data checking module 30, system resource real-time monitoring module 40 and other modules when executed are substantially the same as those in the above-mentioned embodiment, and will not be repeated here. .
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,所述计算机可读存储介质上存储有智能化系统资源监控程序,所述智能化系统资源监控程序可被一个或多个处理器执行,以实现如下操作:In addition, the embodiment of the present application also proposes a computer-readable storage medium. The computer-readable storage medium may be non-volatile or volatile. The computer-readable storage medium stores intelligent system resources. Monitoring program, the intelligent system resource monitoring program can be executed by one or more processors to achieve the following operations:
接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
本申请计算机可读存储介质具体实施方式与上述智能化系统资源监控装置和方法各实施例基本相同,在此不作累述。The specific implementation of the computer-readable storage medium of the present application is basically the same as the foregoing embodiments of the intelligent system resource monitoring device and method, and will not be repeated here.
需要说明的是,上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments. And the terms "include", "include" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes those elements that are not explicitly included. The other elements listed may also include elements inherent to the process, device, article, or method. Without more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, device, article, or method that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种智能化系统资源监控方法,其中,所述方法包括:An intelligent system resource monitoring method, wherein the method includes:
    接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
    将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
    在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
    按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  2. 如权利要求1所述的智能化系统资源监控方法,其中,所述系统资源包括CPU数据、磁盘数据、IO数据、内存数据、网络数据、端口存活数据、进程存活及/或机器内核配置参数数据中的一种或者几种。The intelligent system resource monitoring method of claim 1, wherein the system resources include CPU data, disk data, IO data, memory data, network data, port survival data, process survival and/or machine kernel configuration parameter data One or more of them.
  3. 如权利要求1或2所述的智能化系统资源监控方法,其中,所述利用预先构建的数据导出组件从所述系统资源内导出资源数据集,包括:The intelligent system resource monitoring method according to claim 1 or 2, wherein the using a pre-built data export component to export a resource data set from the system resource includes:
    将所述数据导出组件与所述系统资源执行对接操作;Performing a docking operation between the data export component and the system resource;
    调用所述数据导出组件中的资源连接模块,通过所述资源连接模块发送请求指令;Call the resource connection module in the data export component, and send a request instruction through the resource connection module;
    与所述资源连接模块对应的用于存储所述系统资源的系统资源堆接收到所述请求指令时返回所述系统资源给所述资源连接模块;When the system resource stack corresponding to the resource connection module for storing the system resource receives the request instruction, returning the system resource to the resource connection module;
    所述数据导出组件中的管理模块实时查看当前所述资源连接模块的状态,若所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成所述资源数据集。The management module in the data export component checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will all The system resources received by the resource connection module are packaged into the resource data set.
  4. 如权利要求3所述的智能化系统资源监控方法,其中,所述按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,包括:The intelligent system resource monitoring method according to claim 3, wherein the real-time analysis and monitoring of the system resources according to the batch and a pre-built real-time resource monitoring script includes:
    读取本地系统的IP地址信息,根据所述分批次处理获取所述本地系统CPU的资源数据;Read the IP address information of the local system, and obtain the resource data of the CPU of the local system according to the batch processing;
    从所述CPU的资源数据中抓取CPU的总核数和本地系统指定分钟内的总负载值;Grab the total number of CPU cores and the total load value within a specified minute of the local system from the resource data of the CPU;
    基于所述CPU的总核数和所述总负载值计算单个CPU在所述指定分钟内的平均负载值,若所述平均负载值大于预设CPU警告值,发送CPU资源紧张通知;Calculate the average load value of a single CPU in the specified minute based on the total number of cores of the CPU and the total load value, and if the average load value is greater than a preset CPU warning value, send a CPU resource shortage notification;
    从所述分批次处理中获取所述本地系统磁盘的资源数据;Acquiring the resource data of the local system disk from the batch processing;
    从所述本地系统磁盘的资源数据获取磁盘分区情况和每个分区的磁盘空闲容量;Obtain disk partition status and disk free capacity of each partition from the resource data of the local system disk;
    若有分区的磁盘空闲容量已小于预设磁盘空闲量,发送磁盘资源紧张通知。If the free disk capacity of any partition is less than the preset free disk capacity, a notification of disk resource shortage will be sent.
  5. 如权利要求3所述的智能化系统资源监控方法,其中,所述将所述资源数据集与所述系统资源建立索引关系包括:The intelligent system resource monitoring method according to claim 3, wherein said establishing an index relationship between the resource data set and the system resource comprises:
    基于二进制编码法在所述资源数据集与所述系统资源对应的系统资源堆之间建立索引关系。An index relationship is established between the resource data set and the system resource heap corresponding to the system resource based on the binary coding method.
  6. 如权利要求3所述的智能化系统资源监控方法,其中,所述数据导出组件包括:资源连接模块和管理模块,所述管理模块与所述资源连接模块之间具有通信机制,所述管理模块用于管理所述资源连接模块的数量、版本号、状态。The intelligent system resource monitoring method according to claim 3, wherein the data export component comprises: a resource connection module and a management module, and there is a communication mechanism between the management module and the resource connection module, and the management module It is used to manage the quantity, version number, and status of the resource connection module.
  7. 如权利要求6所述的智能化系统资源监控方法,其中,所述管理模块与所述资源连接模块是一个所述管理模块对多个所述资源连接模块的关系。7. The intelligent system resource monitoring method according to claim 6, wherein the management module and the resource connection module are a relationship of one management module to multiple resource connection modules.
  8. 一种智能化系统资源监控装置,其中,所述装置包括:An intelligent system resource monitoring device, wherein the device includes:
    数据接收及导出模块,用于接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;A data receiving and exporting module for receiving system resources, and exporting resource data sets from the system resources by using a pre-built data exporting component;
    索引关系建立模块,用于将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;An index relationship establishment module, configured to establish an index relationship between the resource data set and the system resource, and perform data verification on the resource data set based on the index relationship;
    数据校验模块,用于在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;The data verification module is used to call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set when the data verification is successful, and divide the resource data set into multiple batches Times;
    系统资源实时监控模块,用于按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。The system resource real-time monitoring module is used to analyze and monitor the system resources in real time according to the batch and according to the pre-built real-time resource monitoring script. If the resource value of the system resource is analyzed to be greater than the preset threshold condition, then The system resource alarm is triggered, and the monitoring of the system resource is completed.
  9. 一种电子设备,其中,所述电子设备包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的智能化系统资源监控程序,所述智能化系统资源监控程序被所述处理器执行时实现如下步骤:An electronic device, wherein the electronic device includes a memory and a processor, the memory stores an intelligent system resource monitoring program that can run on the processor, and the intelligent system resource monitoring program is When the processor executes, the following steps are implemented:
    接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
    将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
    在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
    按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  10. 如权利要求9所述的电子设备,其中,所述系统资源包括CPU数据、磁盘数据、IO数据、内存数据、网络数据、端口存活数据、进程存活及/或机器内核配置参数数据中的一种或者几种。The electronic device according to claim 9, wherein the system resource includes one of CPU data, disk data, IO data, memory data, network data, port survival data, process survival and/or machine kernel configuration parameter data Or several.
  11. 如权利要求9或10所述的电子设备,其中,所述利用预先构建的数据导出组件从所述系统资源内导出资源数据集,包括:The electronic device according to claim 9 or 10, wherein said using a pre-built data export component to export a resource data set from the system resource comprises:
    将所述数据导出组件与所述系统资源执行对接操作;Performing a docking operation between the data export component and the system resource;
    调用所述数据导出组件中的资源连接模块,通过所述资源连接模块发送请求指令;Call the resource connection module in the data export component, and send a request instruction through the resource connection module;
    与所述资源连接模块对应的用于存储所述系统资源的系统资源堆接收到所述请求指令时返回所述系统资源给所述资源连接模块;When the system resource stack corresponding to the resource connection module for storing the system resource receives the request instruction, returning the system resource to the resource connection module;
    所述数据导出组件中的管理模块实时查看当前所述资源连接模块的状态,若所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成所述资源数据集。The management module in the data export component checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will all The system resources received by the resource connection module are packaged into the resource data set.
  12. 如权利要求11中所述的电子设备,其中,所述将所述资源数据集与所述系统资源建立索引关系包括:The electronic device according to claim 11, wherein said establishing an index relationship between said resource data set and said system resource comprises:
    基于二进制编码法在所述资源数据集与所述系统资源对应的系统资源堆之间建立索引关系。An index relationship is established between the resource data set and the system resource heap corresponding to the system resource based on the binary coding method.
  13. 如权利要求11所述的电子设备,其中,所述按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,包括:The electronic device according to claim 11, wherein said performing real-time analysis and monitoring of said system resources according to said batch and according to a pre-built real-time resource monitoring script comprises:
    读取本地系统的IP地址信息,根据所述分批次处理获取所述本地系统CPU的资源数据;Read the IP address information of the local system, and obtain the resource data of the CPU of the local system according to the batch processing;
    从所述CPU的资源数据中抓取CPU的总核数和本地系统指定分钟内的总负载值;Grab the total number of CPU cores and the total load value within a specified minute of the local system from the resource data of the CPU;
    基于所述CPU的总核数和所述总负载值计算单个CPU在所述指定分钟内的平均负载值,若所述平均负载值大于预设CPU警告值,发送CPU资源紧张通知;Calculate the average load value of a single CPU in the specified minute based on the total number of cores of the CPU and the total load value, and if the average load value is greater than a preset CPU warning value, send a CPU resource shortage notification;
    从所述分批次处理中获取所述本地系统磁盘的资源数据;Acquiring the resource data of the local system disk from the batch processing;
    从所述本地系统磁盘的资源数据获取磁盘分区情况和每个分区的磁盘空闲容量;Obtain disk partition status and disk free capacity of each partition from the resource data of the local system disk;
    若有分区的磁盘空闲容量已小于预设磁盘空闲量,发送磁盘资源紧张通知。If the free disk capacity of any partition is less than the preset free disk capacity, a notification of disk resource shortage will be sent.
  14. 如权利要求11所述的电子设备,其中,所述数据导出组件包括:资源连接模块和管理模块,所述管理模块与所述资源连接模块之间具有通信机制,所述管理模块用于管理所述资源连接模块的数量、版本号、状态。The electronic device according to claim 11, wherein the data export component comprises: a resource connection module and a management module, the management module and the resource connection module have a communication mechanism, and the management module is used to manage the State the number, version number, and status of the resource connection module.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有智能化系统资源监控程序,所述智能化系统资源监控程序可被一个或者多个处理器执行,以实现如下所述步骤:A computer-readable storage medium, wherein an intelligent system resource monitoring program is stored on the computer-readable storage medium, and the intelligent system resource monitoring program can be executed by one or more processors to achieve the following step:
    接收系统资源,利用预先构建的数据导出组件从所述系统资源内导出资源数据集;Receiving system resources, and exporting resource data sets from the system resources by using a pre-built data export component;
    将所述资源数据集与所述系统资源建立索引关系,并基于所述索引关系对所述资源数据集进行数据校验;Establishing an index relationship between the resource data set and the system resource, and performing data verification on the resource data set based on the index relationship;
    在所述数据校验成功时,调用资源监控模型接收所述资源数据集并对所述资源数据集执行分批次处理,将所述资源数据集分为多个批次;When the data verification is successful, call the resource monitoring model to receive the resource data set and perform batch processing on the resource data set, and divide the resource data set into multiple batches;
    按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,若分析到所述系统资源的资源值大于预设阈值条件时,则触发系统资源报警,完成对所述系统资源的监控。According to the batch and according to the pre-built real-time resource monitoring script, the system resource is analyzed and monitored in real time. If the resource value of the system resource is greater than the preset threshold condition, the system resource alarm is triggered to complete the monitoring of the system resource. Describes the monitoring of system resources.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述系统资源包括CPU数据、磁盘数据、IO数据、内存数据、网络数据、端口存活数据、进程存活及/或机器内核配置参数数据中的一种或者几种。The computer-readable storage medium of claim 15, wherein the system resources include CPU data, disk data, IO data, memory data, network data, port survival data, process survival and/or machine kernel configuration parameter data. One or more of them.
  17. 如权利要求15或16所述的计算机可读存储介质,其中,所述利用预先构建的数据导出组件从所述系统资源内导出资源数据集,包括:15. The computer-readable storage medium according to claim 15 or 16, wherein said exporting a resource data set from said system resource using a pre-built data exporting component comprises:
    将所述数据导出组件与所述系统资源执行对接操作;Performing a docking operation between the data export component and the system resource;
    调用所述数据导出组件中的资源连接模块,通过所述资源连接模块发送请求指令;Call the resource connection module in the data export component, and send a request instruction through the resource connection module;
    与所述资源连接模块对应的用于存储所述系统资源的系统资源堆接收到所述请求指令时返回所述系统资源给所述资源连接模块;When the system resource stack corresponding to the resource connection module for storing the system resource receives the request instruction, returning the system resource to the resource connection module;
    所述数据导出组件中的管理模块实时查看当前所述资源连接模块的状态,若所述资源连接模块的状态是已接收到所述系统资源,则所述管理模块在预设时间段内将所有所述资源连接模块所接收到的系统资源打包成所述资源数据集。The management module in the data export component checks the current status of the resource connection module in real time. If the status of the resource connection module is that the system resource has been received, the management module will all The system resources received by the resource connection module are packaged into the resource data set.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述按照所述批次并根据预先构建的实时资源监控脚本对所述系统资源进行实时分析监控,包括:17. The computer-readable storage medium according to claim 17, wherein the real-time analysis and monitoring of the system resources in accordance with the batch and according to a pre-built real-time resource monitoring script comprises:
    读取本地系统的IP地址信息,根据所述分批次处理获取所述本地系统CPU的资源数据;Read the IP address information of the local system, and obtain the resource data of the CPU of the local system according to the batch processing;
    从所述CPU的资源数据中抓取CPU的总核数和本地系统指定分钟内的总负载值;Grab the total number of CPU cores and the total load value within a specified minute of the local system from the resource data of the CPU;
    基于所述CPU的总核数和所述总负载值计算单个CPU在所述指定分钟内的平均负载值,若所述平均负载值大于预设CPU警告值,发送CPU资源紧张通知;Calculate the average load value of a single CPU in the specified minute based on the total number of cores of the CPU and the total load value, and if the average load value is greater than a preset CPU warning value, send a CPU resource shortage notification;
    从所述分批次处理中获取所述本地系统磁盘的资源数据;Acquiring the resource data of the local system disk from the batch processing;
    从所述本地系统磁盘的资源数据获取磁盘分区情况和每个分区的磁盘空闲容量;Obtain disk partition status and disk free capacity of each partition from the resource data of the local system disk;
    若有分区的磁盘空闲容量已小于预设磁盘空闲量,发送磁盘资源紧张通知。If the free disk capacity of any partition is less than the preset free disk capacity, a notification of disk resource shortage will be sent.
  19. 如权利要求17所述的计算机可读存储介质,其中,所述将所述资源数据集与所述系统资源建立索引关系包括:17. The computer-readable storage medium of claim 17, wherein said establishing an index relationship between the resource data set and the system resource comprises:
    基于二进制编码法在所述资源数据集与所述系统资源对应的系统资源堆之间建立索引关系。An index relationship is established between the resource data set and the system resource heap corresponding to the system resource based on the binary coding method.
  20. 如权利要求17所述的计算机可读存储介质,其中,所述数据导出组件包括:资源连接模块和管理模块,所述管理模块与所述资源连接模块之间具有通信机制,所述管理模块用于管理所述资源连接模块的数量、版本号、状态。The computer-readable storage medium according to claim 17, wherein the data export component comprises: a resource connection module and a management module, and there is a communication mechanism between the management module and the resource connection module, and the management module uses To manage the number, version number, and status of the resource connection module.
PCT/CN2020/119217 2019-11-19 2020-09-30 Method and apparatus for intelligent system resource monitoring, electronic device, and storage medium WO2021098393A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911138085.9 2019-11-19
CN201911138085.9A CN111124801B (en) 2019-11-19 2019-11-19 Intelligent system resource monitoring method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2021098393A1 true WO2021098393A1 (en) 2021-05-27

Family

ID=70495925

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119217 WO2021098393A1 (en) 2019-11-19 2020-09-30 Method and apparatus for intelligent system resource monitoring, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN111124801B (en)
WO (1) WO2021098393A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124801B (en) * 2019-11-19 2023-06-13 平安科技(深圳)有限公司 Intelligent system resource monitoring method and device and computer readable storage medium
CN112162518A (en) * 2020-10-14 2021-01-01 河北中兴冀能电力发展有限公司 Single-board multi-operation chip calculation force monitoring system applied to power instrument equipment
CN113485970A (en) * 2021-06-29 2021-10-08 平安信托有限责任公司 Data monitoring method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084780A1 (en) * 2010-10-05 2012-04-05 Michael Pasternak Mechanism for Customized Monitoring of System Activities
CN103532780A (en) * 2013-10-11 2014-01-22 北京有度致远信息科技股份有限公司 Operation and maintenance monitoring integral system and integral monitoring method used in IT (information technology) field
CN105490870A (en) * 2015-11-20 2016-04-13 浪潮电子信息产业股份有限公司 Method for monitoring operation state of Linux server in batch
CN106649028A (en) * 2016-09-29 2017-05-10 郑州云海信息技术有限公司 Automated Linux system maintenance task method
CN110347546A (en) * 2019-05-23 2019-10-18 平安科技(深圳)有限公司 Monitor task dynamic adjusting method, device, medium and electronic equipment
CN111124801A (en) * 2019-11-19 2020-05-08 平安科技(深圳)有限公司 Intelligent system resource monitoring method and device and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8510430B2 (en) * 2006-08-03 2013-08-13 International Business Machines Corporation Intelligent performance monitoring based on resource threshold
CN102223419A (en) * 2011-07-05 2011-10-19 北京邮电大学 Virtual resource dynamic feedback balanced allocation mechanism for network operation system
CN104820628A (en) * 2015-04-01 2015-08-05 浪潮电子信息产业股份有限公司 Method for monitoring system load and system resource use condition based on BASH
CN106326008A (en) * 2016-08-23 2017-01-11 成都卡莱博尔信息技术股份有限公司 Monitoring method for cluster system
CN109324897A (en) * 2018-08-24 2019-02-12 平安科技(深圳)有限公司 Data uploading method and system, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084780A1 (en) * 2010-10-05 2012-04-05 Michael Pasternak Mechanism for Customized Monitoring of System Activities
CN103532780A (en) * 2013-10-11 2014-01-22 北京有度致远信息科技股份有限公司 Operation and maintenance monitoring integral system and integral monitoring method used in IT (information technology) field
CN105490870A (en) * 2015-11-20 2016-04-13 浪潮电子信息产业股份有限公司 Method for monitoring operation state of Linux server in batch
CN106649028A (en) * 2016-09-29 2017-05-10 郑州云海信息技术有限公司 Automated Linux system maintenance task method
CN110347546A (en) * 2019-05-23 2019-10-18 平安科技(深圳)有限公司 Monitor task dynamic adjusting method, device, medium and electronic equipment
CN111124801A (en) * 2019-11-19 2020-05-08 平安科技(深圳)有限公司 Intelligent system resource monitoring method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN111124801A (en) 2020-05-08
CN111124801B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
WO2021098393A1 (en) Method and apparatus for intelligent system resource monitoring, electronic device, and storage medium
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN112671760A (en) Socket-based client cross-platform network communication method and related equipment thereof
US8280197B1 (en) Managed background loading of image resources in resource-constrained devices
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
WO2020147403A1 (en) Cloud storage based file processing method, system and computer device
US10506392B1 (en) Stream-processing of telecommunication diameter event records
CN110096258A (en) A method of the OpenStack infrastructure architecture management based on Terraform
WO2023011274A1 (en) Communication protocol conversion method, and device, system, and gateway device
CN114124929A (en) Cross-network data processing method and device
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN113595927A (en) Method and device for processing mirror flow in bypass mode
CN113220481A (en) Request processing and feedback method and device, computer equipment and readable storage medium
WO2022142008A1 (en) Data processing method and apparatus, electronic device, and storage medium
CN113364857A (en) Service data processing method and device and server
CN114978649B (en) Information security protection method, device, equipment and medium based on big data
CN113726855B (en) Service aggregation method, device, electronic equipment and computer-readable storage medium
CN115934378A (en) Service data processing method and device, electronic equipment and storage medium
TWI815098B (en) Web request processing method, device, electronic device, and computer-readable recording medium with stored program
CN108011964A (en) Picture upload method, device, electric terminal and readable storage medium storing program for executing
CN114327404A (en) File processing method and device, electronic equipment and computer readable medium
CN109688174A (en) A kind of virtual service implementation method and device based on more agents service
JP2013186765A (en) Batch processing system, progress confirmation device, progress confirmation method and program
CN115913912A (en) Message interception and service link diagram generation method and device
CN110365839A (en) Closedown method, device, medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20891365

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20891365

Country of ref document: EP

Kind code of ref document: A1