CN111464328A - Cloud monitoring process control method and device capable of configuring monitoring items - Google Patents

Cloud monitoring process control method and device capable of configuring monitoring items Download PDF

Info

Publication number
CN111464328A
CN111464328A CN202010119642.9A CN202010119642A CN111464328A CN 111464328 A CN111464328 A CN 111464328A CN 202010119642 A CN202010119642 A CN 202010119642A CN 111464328 A CN111464328 A CN 111464328A
Authority
CN
China
Prior art keywords
collectors
alarm
configuration
monitoring
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010119642.9A
Other languages
Chinese (zh)
Inventor
吴正辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lan You Technology Co Ltd
Original Assignee
Shenzhen Lan You Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lan You Technology Co Ltd filed Critical Shenzhen Lan You Technology Co Ltd
Priority to CN202010119642.9A priority Critical patent/CN111464328A/en
Publication of CN111464328A publication Critical patent/CN111464328A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a cloud monitoring process control method and a device capable of configuring monitoring items, wherein the cloud monitoring process control method comprises the following steps: starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway; maintaining configuration items of one or more collectors through a background management platform; according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway; starting monitoring items of one or more collectors; and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages. The invention can quickly find and locate problems and provide the working efficiency of operation and maintenance personnel; the use threshold is reduced, and the labor cost is reduced; the new monitoring items can be accessed quickly through a data API interface or a collector plug-in without updating and upgrading all programs, and are only partially updated.

Description

Cloud monitoring process control method and device capable of configuring monitoring items
Technical Field
The invention relates to the technical field of server monitoring, in particular to a cloud monitoring process control method and device capable of configuring monitoring items.
Background
With the increasing use of micro-service architecture and docker, the micro-service brings benefits and makes operation and maintenance more and more complex, and the problem of location finding quickly becomes more and more troublesome. In order to quickly find and locate the error generated by the service of the server (container) where the problem is located, the whole system needs to be monitored in multiple directions and multiple angles, alarm is given, maintenance personnel are informed in real time to quickly deal with the error and the risk of the project is reduced to the minimum. And simultaneously, the method supports a single framework and develops application programs in different languages.
At present, only one aspect of monitoring is realized in the market, and a whole complete process system monitoring method for establishing, processing, tracking and closing a plurality of projects (different development languages), configurable monitoring items, hardware resources, application programs, logs, real-time alarms and abnormal work orders is not provided.
After the micro-services and the dockers are used, the number of the services is large, the calling among the services is complex, the operation for checking the running condition of the services in the dockers is complicated, and the maintenance difficulty is increased. Products such as openshift in the market are purchased, the monitoring dimension is limited and does not always meet the requirements, and the customized development cost is high.
Disclosure of Invention
The invention provides a cloud monitoring process control method and device capable of configuring monitoring items, and the method and device can solve the problems that in the prior art, after micro-services and dockers are used, a plurality of services are provided, the calling among the services is complex, the operation for checking the service running condition in the docker is complex, the maintenance difficulty is increased, products such as openshift in the market are purchased, the monitoring dimension is limited, the requirements cannot be met necessarily, and the customized development cost is high.
In order to solve the above problem, in a first aspect, the present invention provides a method for controlling a cloud monitoring flow with configurable monitoring items, including:
starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
maintaining configuration items of one or more collectors through a background management platform;
according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway;
starting monitoring items of one or more collectors;
and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages.
Wherein, the maintaining of the configuration items of one or more collectors through the background management platform includes:
receiving configuration information configured by manually adding monitoring items; or
Configuration information selected from the configuration template is received.
Wherein, the enabling one or more collectors to pull configuration file content through the middlebox gateway according to the configuration items includes:
the collector pulls the content of the configuration file through the middle gateway;
and storing the content of the configuration file in a local configuration file, and updating the collector according to the timestamp.
Wherein, the work of starting one to a plurality of monitoring items of the collector comprises the following steps:
sending information of a current process name, a micro-service name, a server IP, a process current handle number, a process CPU utilization rate and a process memory use size acquired by one or more collectors to the middle station gateway;
and returning response data to one or more collectors through the middle gateway.
The receiving, by the background management platform, a message of the monitoring item work of one or more collectors, and executing a preset decision mechanism according to the received message includes:
receiving a message of monitoring item work of one or more collectors through the background management platform;
searching a corresponding alarm value in the background management platform according to the message of the monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm or not according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record;
and if the resource utilization rate of the server generating the alarm is reduced after the preset time after the alarm is generated, and the alarm value is not more than or equal to the alarm threshold value again, closing the alarm.
In order to solve the above problems, a cloud monitoring process control device capable of configuring monitoring items is provided, which includes a starting module, a configuration maintenance module, a configuration pulling module, a monitoring starting module, and a decision module:
the starting module is used for starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
the configuration maintenance module is used for maintaining the configuration items of one or more collectors through a background management platform;
the configuration pulling module is used for enabling one or more collectors to pull the content of the configuration file through the middlebox gateway according to configuration items;
the monitoring starting module is used for starting monitoring item work of one or more collectors;
the decision module is used for receiving messages of monitoring item work of one or more collectors through the background management platform and executing a preset decision mechanism according to the received messages.
Wherein, the configuration maintenance module comprises a manual configuration submodule or a selective configuration submodule:
the manual configuration submodule is used for receiving configuration information configured by manually adding the monitoring item;
and the selection configuration submodule is used for receiving the configuration information selected from the configuration template.
The configuration pulling module comprises a content pulling submodule and a storage updating submodule:
the content pulling submodule is used for pulling the configuration file content by the collector through the middle station gateway;
and the saving and updating submodule is used for saving the content of the configuration file in a local configuration file and updating the collector in a hot mode according to the timestamp.
The monitoring starting module comprises an information sending submodule and a response submodule:
the information sending submodule is used for sending information of the current process name, the micro service name, the server IP, the current process handle number, the process CPU utilization rate and the process memory use size acquired by one or more collectors to the middlebox gateway;
and the response submodule is used for returning response data to one or more collectors through the middle station gateway.
The decision module comprises an information receiving submodule, an alarm generating submodule and an alarm closing submodule:
the information receiving submodule is used for receiving the information of the monitoring item work of one or more collectors through the background management platform;
the alarm generation submodule is used for searching a corresponding alarm value in the background management platform according to the message of monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm or not according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record;
and the alarm closing submodule is used for reducing the resource utilization rate of the server which generates the alarm after a preset time after the alarm is generated, and closing the alarm if the alarm value is not more than or equal to the alarm threshold value again.
In order to solve the above problem, in a third aspect, the present invention provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the cloud monitoring flow control method according to any one of the above items.
The invention has the beneficial effects that:
problems are found and positioned quickly, and the working efficiency of operation and maintenance personnel is improved; the use threshold is reduced, and the labor cost is reduced; the new monitoring items can be accessed quickly through a data API interface or a collector plug-in without updating and upgrading all programs, and are only partially updated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flow diagram illustrating a flow of a cloud monitoring flow control method capable of configuring monitoring items according to the present invention;
FIG. 2 is a schematic diagram of a system architecture provided by the present invention;
FIG. 3 is a schematic diagram of a control system provided by the present invention;
fig. 4 is another schematic structural diagram of the control system provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive exercise, are within the scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience of description and for simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present disclosure, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the invention. In the following description, details are set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the invention with unnecessary detail. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The invention provides a cloud monitoring process control method and a device capable of configuring monitoring items, wherein the cloud monitoring process control method comprises the steps of starting one or more collectors to send heartbeat data of one or more collectors to a middle station gateway; maintaining configuration items of one or more collectors through a background management platform; according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway; starting monitoring items of one or more collectors; and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for controlling a cloud monitoring process based on KV indexes according to the present invention. The integration method includes steps S1-S5:
and S1, starting one to a plurality of collectors to send heartbeat data of one to a plurality of collectors to the middle station gateway.
In this embodiment, the collector deploys and configures a middlebox gateway address, an access account number and a signature key; the monitoring item is just by default (not configured). The collector starts and sends heartbeat data to the central station.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a system provided by the present invention, which includes a data collection layer, a data receiving layer, and a data layer. The system has the following advantages:
1. a collector: plug-in architecture (decoupling between monitoring items), support for multiple operating systems, lightweight, and support for hot updates.
2. The monitoring item can be configured as follows: the collector monitoring item configuration can be visually operated.
3. Data real-time analysis storage and alarm: after the data are collected, the data can be analyzed in real time, and whether to alarm or not is determined according to an alarm strategy. (alarm aggregation: N alarms of the same problem only give an alarm once, a abnormal work order is built once, automatic healing: resource alarms do not give an alarm within a period of time and previous alarms are automatically removed, intelligent analysis: some simple intelligent early warnings are made through data analysis or some alarms are normal and do not need to be given an alarm, such as monthly report calculation, and the use of a server CPU and a memory is higher than usual.)
S2, maintaining configuration items of one or more collectors through a background management platform; step S2 includes step S21 or S22:
and S21, receiving configuration information configured by manually adding the monitoring item.
In this embodiment, the management platform maintains collector configuration items (filling in item IDs, adding monitoring items as needed) in two ways: one is a self-defined configuration monitoring item, and the configuration of the monitoring item is manually added.
And S22, receiving the configuration information selected from the configuration template.
In the embodiment, the reference is selected from the configuration template, and the reference can be directly modified if the reference needs to be modified; template satisfaction is not modified (if template modification, those referring templates are uniformly modified and the configuration of the template contents is not modified; otherwise, no modification).
S3, according to the configuration items, one or more collectors pull the content of the configuration file through the middlebox gateway; step S3 includes steps S31-S32:
and S31, the collector pulls the configuration file content through the middle gateway.
In this embodiment, the collector pulls the configuration file content through the middlebox gateway.
S32, saving the content of the configuration file in a local configuration file, and updating the collector according to the timestamp.
In this embodiment, the local configuration file is saved and the collector is updated in a hot manner (data is pulled according to the timestamp, and if no data exists, the collector is not required to be updated in a hot manner).
S4, starting monitoring items of one or more collectors to work; step S4 includes steps S41-S42:
and S41, sending information of the current process name, the micro service name, the server IP, the current process handle number, the process CPU utilization rate and the process memory use size acquired by one or more collectors to the middle station gateway.
In this embodiment, the collector monitors the item work (for example, monitoring by a server process). The collector collects the current process name, the micro service name, the server IP, the current process handle number, the process CPU utilization rate and the process memory usage size and sends the process name, the micro service name, the server IP, the current process handle number and the process CPU utilization rate to the middle station gateway.
And S42, returning response data to one or more collectors through the middle station gateway.
In this embodiment, the middle gateway sends the MQ cluster and responds to the data sending collector concurrently.
And S5, receiving messages of the monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages. Step S5 includes steps S51-S53:
and S51, receiving the messages of the work of the monitoring items of one or more collectors through the background management platform.
In this embodiment, the background management platform receives a message of the work of the monitoring item of the collector through the middle gateway.
S52, finding out the corresponding alarm value in the background management platform according to the message of the monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record.
In the embodiment, the background receives the message, finds out a corresponding alarm threshold value according to the message type and the project ID, generates an alarm record if the alarm threshold value is reached or exceeded, determines whether to immediately send an alarm notification to a responsible person (the same project and the same server are used for multiple alarms, and only one alarm notification is sent) according to an alarm aggregation rule, and establishes an abnormal work order (whether to establish the work order or not can be configured according to the monitoring type) for tracking.
And S53, if the server resource utilization rate of the alarm is reduced after the alarm is generated and the preset time passes, and the alarm value is not larger than or equal to the alarm threshold value again, closing the alarm.
In this embodiment, the auto-healing function (configurable by type): assuming that the hardware resource alarm (CPU or memory) of a certain server generates an alarm when a threshold is reached, but the resource usage rate drops after a few minutes and is not equal to or greater than the threshold again within a period of time, the system automatically turns off the previous alarm at this time.
The invention also provides a cloud monitoring process control device capable of configuring monitoring items, which comprises a starting module, a configuration maintenance module, a configuration pulling module, a monitoring starting module and a decision module:
the starting module is used for starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
the configuration maintenance module is used for maintaining the configuration items of one or more collectors through a background management platform;
the configuration pulling module is used for enabling one or more collectors to pull the content of the configuration file through the middlebox gateway according to configuration items;
the monitoring starting module is used for starting monitoring item work of one or more collectors;
the decision module is used for receiving messages of monitoring item work of one or more collectors through the background management platform and executing a preset decision mechanism according to the received messages.
Wherein, the configuration maintenance module comprises a manual configuration submodule or a selective configuration submodule:
the manual configuration submodule is used for receiving configuration information configured by manually adding the monitoring item;
and the selection configuration submodule is used for receiving the configuration information selected from the configuration template.
The configuration pulling module comprises a content pulling submodule and a storage updating submodule:
the content pulling submodule is used for pulling the configuration file content by the collector through the middle station gateway;
and the saving and updating submodule is used for saving the content of the configuration file in a local configuration file and updating the collector in a hot mode according to the timestamp.
The monitoring starting module comprises an information sending submodule and a response submodule:
the information sending submodule is used for sending information of the current process name, the micro service name, the server IP, the current process handle number, the process CPU utilization rate and the process memory use size acquired by one or more collectors to the middlebox gateway;
and the response submodule is used for returning response data to one or more collectors through the middle station gateway.
The decision module comprises an information receiving submodule, an alarm generating submodule and an alarm closing submodule:
the information receiving submodule is used for receiving the information of the monitoring item work of one or more collectors through the background management platform;
the alarm generation submodule is used for searching a corresponding alarm value in the background management platform according to the message of monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm or not according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record;
and the alarm closing submodule is used for reducing the resource utilization rate of the server which generates the alarm after a preset time after the alarm is generated, and closing the alarm if the alarm value is not more than or equal to the alarm threshold value again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a control system according to an embodiment of the present invention. The control system is arranged in a PC, a server or a mobile phone terminal to implement the cloud monitoring process control method, and as shown in fig. 3, the control system 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the control system 400, connects various parts of the entire mobile terminal using various interfaces and lines, performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 401 in the control system 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
maintaining configuration items of one or more collectors through a background management platform;
according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway;
starting monitoring items of one or more collectors;
and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages.
Referring to fig. 4, fig. 4 is another schematic structural diagram of the control system according to the embodiment of the present invention. Fig. 4 is a specific block diagram of a control system according to an embodiment of the present invention, where the control system 300 may be used to implement the cloud monitoring flow control method for configurable monitoring items provided in the foregoing embodiments.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.11g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Microwave Access (IEEE for micro), Wi-Max, and other short message instant protocols, and any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be used for storing software programs and modules, such as program instructions/modules corresponding to the integration method and the terminal positioning device in the above-mentioned embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to realize the function of positioning the terminal. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the control system 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise both touch sensing means and touch controller portions. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and receives and executes commands sent from the processor 380. In addition, the touch-sensitive surface 331 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 340 may be used to display information input by or provided to a user, as well as various graphical user interfaces of control system 300, which may be comprised of graphics, text, icons, video, and any combination thereof display panel 341, and optionally display panel 341 may be configured in the form of L CD (L required crystalline display, liquid crystal display), O L ED (Organic L light-Emitting Diode), etc. further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation on or near touch-sensitive surface 331, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 depending on the type of touch event.
The control system 300 includes at least one sensor 350, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the control system 300 moves to the ear. As one type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping) and the like; as for the other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configured in the control system 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and control system 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and convert the electrical signal into a sound signal for output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earpiece jack to provide communication of peripheral headphones with the control system 300.
The control system 300, via the transport module 370 (e.g., Wi-Fi module), may assist the user in emailing, browsing web pages, accessing streaming media, etc., which provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the control system 300 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the control system 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the control system 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby monitoring the entire mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The control system 300 includes a power supply 390 (e.g., a battery) that provides power to various components, which in some embodiments may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include one or more of a direct or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and any like components.
Although not shown, the control system 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
maintaining configuration items of one or more collectors through a background management platform;
according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway;
starting monitoring items of one or more collectors;
and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages.
In specific implementation, the above modules and units may be implemented as independent entities, or may be combined arbitrarily to be implemented as one or several entities, and specific implementations of the above modules and units may refer to the foregoing method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the integration methods provided by the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any integration method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any integration method provided in the embodiments of the present invention can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A cloud monitoring process control method capable of configuring monitoring items is characterized by comprising the following steps:
starting one or more collectors to send heartbeat data of one or more collectors to the middle station gateway;
maintaining configuration items of one or more collectors through a background management platform;
according to configuration items, one or more collectors pull the content of the configuration file through a middle station gateway;
starting monitoring items of one or more collectors;
and receiving messages of monitoring item work of one or more collectors through the background management platform, and executing a preset decision mechanism according to the received messages.
2. The cloud monitoring process control method according to claim 1, wherein the maintaining of the configuration items of one or more collectors through a background management platform includes:
receiving configuration information configured by manually adding monitoring items; or
Configuration information selected from the configuration template is received.
3. The cloud monitoring process control method according to claim 1, wherein the causing one or more collectors to pull configuration file contents through a middlebox gateway according to configuration items includes:
the collector pulls the content of the configuration file through the middle gateway;
and storing the content of the configuration file in a local configuration file, and updating the collector according to the timestamp.
4. The cloud monitoring process control method according to claim 1, wherein the starting of the monitoring items of one or more collectors includes:
sending information of a current process name, a micro-service name, a server IP, a process current handle number, a process CPU utilization rate and a process memory use size acquired by one or more collectors to the middle station gateway;
and returning response data to one or more collectors through the middle gateway.
5. The cloud monitoring process control method according to claim 1, wherein the receiving, by the background management platform, a message of monitoring item work of one or more collectors, and executing a preset decision mechanism according to the received message includes:
receiving a message of monitoring item work of one or more collectors through the background management platform;
searching a corresponding alarm value in the background management platform according to the message of the monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record;
and if the resource utilization rate of the server generating the alarm is reduced after the preset time after the alarm is generated, and the alarm value is not more than or equal to the alarm threshold value again, closing the alarm.
6. A cloud monitoring process control device capable of configuring monitoring items is characterized by comprising a starting module, a configuration maintenance module, a configuration pulling module, a monitoring starting module and a decision module:
the starting module is used for starting one to a plurality of collectors to send heartbeat data of one to a plurality of collectors to the middle station gateway;
the configuration maintenance module is used for maintaining the configuration items of one or more collectors through a background management platform;
the configuration pulling module is used for enabling one or more collectors to pull the content of the configuration file through the middlebox gateway according to configuration items;
the monitoring starting module is used for starting monitoring item work of one or more collectors;
the decision module is used for receiving messages of monitoring item work of one or more collectors through the background management platform and executing a preset decision mechanism according to the received messages.
7. The cloud monitoring process control apparatus of claim 6, wherein the configuration maintenance module comprises a manual configuration sub-module or a selective configuration sub-module:
the manual configuration submodule is used for receiving configuration information configured by manually adding the monitoring item;
and the selection configuration submodule is used for receiving the configuration information selected from the configuration template.
8. The cloud monitoring process control apparatus according to claim 6, wherein the configuration pull module includes a content pull sub-module and a save update sub-module:
the content pulling submodule is used for pulling the configuration file content by the collector through the middle station gateway;
and the saving and updating submodule is used for saving the content of the configuration file in a local configuration file and updating the collector in a hot mode according to the timestamp.
The monitoring starting module comprises an information sending submodule and a response submodule:
the information sending submodule is used for sending information of the current process name, the micro-service name, the server IP, the current process handle number, the process CPU utilization rate and the process memory use size acquired by one or more collectors to the middle station gateway;
and the response submodule is used for returning response data to one or more collectors through the middle station gateway.
9. The cloud monitoring process control device according to claim 6, wherein the decision module includes an information receiving sub-module, an alarm generating sub-module, and an alarm closing sub-module:
the information receiving submodule is used for receiving the information of the monitoring item work of one or more collectors through the background management platform;
the alarm generation submodule is used for searching a corresponding alarm value in the background management platform according to the message of monitoring item work, generating an alarm record if the alarm value reaches a preset alarm threshold value, determining whether to alarm or not according to an alarm aggregation rule, and establishing an abnormal work order to track the alarm record;
and the alarm closing submodule is used for reducing the resource utilization rate of the server which generates the alarm after a preset time after the alarm is generated, and closing the alarm if the alarm value is not more than or equal to the alarm threshold value again.
10. A computer-readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the cloud monitoring flow control method of any of claims 1 to 5.
CN202010119642.9A 2020-02-25 2020-02-25 Cloud monitoring process control method and device capable of configuring monitoring items Pending CN111464328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010119642.9A CN111464328A (en) 2020-02-25 2020-02-25 Cloud monitoring process control method and device capable of configuring monitoring items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010119642.9A CN111464328A (en) 2020-02-25 2020-02-25 Cloud monitoring process control method and device capable of configuring monitoring items

Publications (1)

Publication Number Publication Date
CN111464328A true CN111464328A (en) 2020-07-28

Family

ID=71679986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010119642.9A Pending CN111464328A (en) 2020-02-25 2020-02-25 Cloud monitoring process control method and device capable of configuring monitoring items

Country Status (1)

Country Link
CN (1) CN111464328A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112987597A (en) * 2021-02-05 2021-06-18 深圳力维智联技术有限公司 FSU control method, device, equipment and computer readable storage medium
CN113489802A (en) * 2021-07-15 2021-10-08 罗慧 Internet of things collection equipment
CN114553679A (en) * 2022-02-23 2022-05-27 浪潮软件集团有限公司 Operation and maintenance data acquisition method, device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311811A (en) * 2019-06-14 2019-10-08 深圳绿米联创科技有限公司 Configuration method, device, system, Cloud Server and storage medium
CN110557283A (en) * 2019-08-29 2019-12-10 海南电网有限责任公司 power distribution communication network management and control method, server, system and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311811A (en) * 2019-06-14 2019-10-08 深圳绿米联创科技有限公司 Configuration method, device, system, Cloud Server and storage medium
CN110557283A (en) * 2019-08-29 2019-12-10 海南电网有限责任公司 power distribution communication network management and control method, server, system and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112987597A (en) * 2021-02-05 2021-06-18 深圳力维智联技术有限公司 FSU control method, device, equipment and computer readable storage medium
CN113489802A (en) * 2021-07-15 2021-10-08 罗慧 Internet of things collection equipment
CN113489802B (en) * 2021-07-15 2022-06-24 罗慧 Internet of things collection equipment
CN114553679A (en) * 2022-02-23 2022-05-27 浪潮软件集团有限公司 Operation and maintenance data acquisition method, device and medium

Similar Documents

Publication Publication Date Title
EP3525417A1 (en) Data processing method, device, storage medium, electronic device and server
US11023296B2 (en) Method for managing multiple operating systems in a terminal
WO2015090248A1 (en) Server overload protection method and device
CN108039963B (en) Container configuration method and device and storage medium
CN111464328A (en) Cloud monitoring process control method and device capable of configuring monitoring items
CN110620822A (en) Network element determination method and device
CN108668328B (en) Network switching method and mobile terminal
CN112601237B (en) Network type detection method, device, storage medium and mobile terminal
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN105577712B (en) A kind of file uploading method, device and system
CN111309307B (en) Method and device for integrating VUE page and workflow system
CN115118636B (en) Method and device for determining network jitter state, electronic equipment and storage medium
CN111615101B (en) IMS registration method, device, storage medium and electronic terminal
CN114707793A (en) Emergency plan generation method and device, storage medium and electronic equipment
CN109799994B (en) Terminal component generation method and device
CN113613310A (en) WIFI connection method and device, storage medium and mobile terminal
CN110324834B (en) Indication method of measurement result, terminal and base station
CN108111553B (en) Method and device for providing service
CN107315623B (en) Method and device for reporting statistical data
CN111031038A (en) Network processing method and device, storage medium and terminal equipment
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN114095585B (en) Data transmission method, device, storage medium and electronic equipment
CN105278967B (en) System updating method, device and system of mobile terminal
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium
CN109995441B (en) Communication information processing method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200728

RJ01 Rejection of invention patent application after publication