CN114640607B - Monitoring service registration method and device, computer equipment and storage medium - Google Patents

Monitoring service registration method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114640607B
CN114640607B CN202210515669.9A CN202210515669A CN114640607B CN 114640607 B CN114640607 B CN 114640607B CN 202210515669 A CN202210515669 A CN 202210515669A CN 114640607 B CN114640607 B CN 114640607B
Authority
CN
China
Prior art keywords
server
monitoring
size
database
capacity
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.)
Active
Application number
CN202210515669.9A
Other languages
Chinese (zh)
Other versions
CN114640607A (en
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.)
Wuhan Barda Technology Co ltd
Original Assignee
Wuhan Sitong Information Service 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 Wuhan Sitong Information Service Co ltd filed Critical Wuhan Sitong Information Service Co ltd
Priority to CN202210515669.9A priority Critical patent/CN114640607B/en
Publication of CN114640607A publication Critical patent/CN114640607A/en
Application granted granted Critical
Publication of CN114640607B publication Critical patent/CN114640607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a monitoring service registration method, a monitoring service registration device, computer equipment and a storage medium, wherein the monitoring service registration method is used for a registration center of a monitoring service system, the monitoring service system comprises a server and the registration center, the server is provided with a database, the registration center sends a monitoring plug-in to the server after the server is registered, and the monitoring plug-in is used for monitoring data on the server and the database; the monitoring service registration method comprises the following steps: acquiring the type of a server, the processing capacity of the server, the size of a storage space of the server and the size of the capacity of a database; determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the size of a server storage space and the size of database capacity; configuring monitoring parameters of the monitoring plug-in; and sending a monitoring plug-in to the server, aiming at fully utilizing the monitoring resources of the registration center and improving the monitoring efficiency.

Description

Monitoring service registration method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a monitoring service registration method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, computer resources are also increasing explosively. Computer resources which are increased explosively are required to be monitored, and the traditional manual operation and maintenance monitoring mode is difficult to meet the current requirements, so that the automatic operation and maintenance monitoring mode is gradually developed, and the current automatic operation and maintenance mode can register services and monitor the services.
However, the current automatic operation and maintenance monitoring method cannot fully utilize the existing monitoring resources, so that the monitoring efficiency is low.
Disclosure of Invention
The embodiment of the application provides a monitoring service registration method, a monitoring service registration device, computer equipment and a storage medium, which can make full use of the existing monitoring resources, improve the monitoring efficiency and maximize the monitoring utility.
In one aspect, the present application provides a monitoring service registration method, where the monitoring service registration method is used in a registration center of a monitoring service system, the monitoring service system includes a server and the registration center, the server has a database, the registration center sends a monitoring plug-in to the server after the server registers, and the monitoring plug-in is used to monitor data on the server and the database; the monitoring service registration method comprises the following steps: acquiring the type of a server, the processing capacity of the server, the size of a storage space of the server and the size of the capacity of a database; determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the size of a server storage space and the size of database capacity; configuring monitoring parameters of the monitoring plug-in; and sending a monitoring plug-in to the server.
In some embodiments of the present application, the determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size includes: determining a corresponding first score, a second score, a third score and a fourth score according to the server type, the server processing capacity, the size of the server storage space and the size of the database capacity; carrying out weighted summation on the first fraction, the second fraction, the third fraction and the fourth fraction to obtain a weighted summation value; and determining to send the monitoring plug-in to the server based on the weighted sum value.
In some embodiments of the present application, determining to send a monitoring plug-in to the server based on the weighted sum value comprises: and if the weighted sum value is larger than a preset weighted sum threshold value, determining to send the monitoring plug-in to the server.
In some embodiments of the present application, determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size includes: inputting the server type, the server processing capacity, the size of the server storage space and the size of the database capacity into a registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
In some embodiments of the present application, determining to send a monitoring plug-in to the server according to the server type, server processing capacity, server storage space size, and database capacity size includes: determining a registration judgment model corresponding to the server type according to the server type; and inputting the server processing capacity, the size of the server storage space and the size of the database capacity into a determined registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
In some embodiments of the present application, obtaining a server type, a server processing capacity, a server storage space size, and a database capacity size includes: acquiring the type of a server, the processing capacity of the server, the size of a storage space of the server, the size of the capacity of a database, the average load, the priority of a user and the service type oriented by the server; the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the size of the server storage space and the size of the database capacity comprises the following steps: and determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the size of a server storage space, the size of database capacity, the average load, the priority of a user and the service type oriented by the server.
In some embodiments of the present application, determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size includes: determining that the server type falls within a set of candidate server types; determining that the server processing capacity meets a predetermined processing capacity condition; determining that the size of the server storage space meets a preset storage space size condition; and determining that the database capacity meets the condition of the preset database capacity.
In another aspect, the present application provides a monitoring service registration apparatus, where the monitoring service registration apparatus is used in a registration center of a monitoring service system, the monitoring service system includes a server and the registration center, the server has a database, the registration center sends a monitoring plug-in to the server after the server registers, and the monitoring plug-in is used for monitoring data on the server and the database; the monitoring service registration apparatus includes: the acquisition module is used for acquiring the type of the server, the processing capacity of the server, the size of the storage space of the server and the size of the capacity of the database; the judging module is used for determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size and the database capacity size; the configuration module is used for configuring the monitoring parameters of the monitoring plug-in; and the sending module is used for sending the monitoring plug-in to the server.
In another aspect, the present application further provides a computer device, including:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the monitoring service registration method of any of the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program being loaded by a processor to perform the steps in the monitoring service registration method according to any one of the first aspect.
The embodiment of the application determines whether to monitor the server or not through the type of the server, the processing capacity of the server, the size of the storage space of the server and the capacity of the database, and the parameters reflect the operation conditions of the database and the server, so that the server which is in urgent need of monitoring can be determined according to the operation conditions in each server under the condition that the monitoring resources are limited, the monitoring resources of the registration center are distributed, the full utilization of the existing monitoring resources is realized, the monitoring efficiency is improved, the monitoring utility is maximized, in addition, the registration center monitors the server which is in urgent need of monitoring, the abnormal server is convenient to be determined and solved in time, the abnormal frequency of the abnormal operation of the server and the database is comprehensively reduced, the service is stably operated, in addition, compared with the monitoring of all servers, the registration center of the embodiment of the application only sends monitoring plug-ins to part of the servers, not only is network congestion caused by sending the monitoring server reduced, but also monitoring resources required by the registration center are reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an architecture of a monitoring service registration system provided in an embodiment of the present application;
fig. 2 is a schematic architecture diagram of another monitoring service registration method provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating an embodiment of a monitoring service registration method provided in an embodiment of the present application;
FIG. 4 is a flowchart illustrating an embodiment of step 302 in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an embodiment of a monitoring service registration apparatus provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of an embodiment of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, 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", etc. indicate orientations or positional relationships based on those shown in the drawings, merely for convenience of description and simplicity of description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered limiting of the present application. 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", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, 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 application. 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 application may be practiced without these specific details. In other instances, well-known structures and processes are not set forth in detail in order to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application 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.
It should be noted that, since the method in the embodiment of the present application is executed in an electronic device, such as a server, processing objects of each electronic device exist in the form of data or information, for example, time, which is substantially time information, it can be understood that, in the subsequent embodiments, if size, number, position, and the like are mentioned, corresponding data exist so as to be processed by the electronic device, and details are not described herein.
Embodiments of the present application provide a monitoring service registration method, an apparatus, a computer device, and a storage medium, which are described in detail below.
First, an embodiment of the present application provides a monitoring service registration method, where the monitoring service registration method is used in a registration center of a monitoring service system, the monitoring service system includes a server and the registration center, the server has a database, the registration center sends a monitoring plug-in to the server after the server registers, and the monitoring plug-in is used to monitor data on the server and the database.
As shown in fig. 1, fig. 1 is a schematic diagram of a monitoring service system provided in an embodiment of the present application, and the monitoring server system includes a server 101 and a registry 102. The server 101 is communicatively connected to the registry 102, and the server 101 has a database thereon.
A Collector (Collector) may be disposed on the server 101, and the Collector is configured to collect, in the server 101, alarm parameters that the server needs to report to the registration center, such as a server type, a server processing capability, a server storage space size, a database capacity size, and the like. The collector may be implemented through an Application Programming Interface (API) of Java or other manners, which is not limited in this embodiment of the present Application.
In some embodiments, the server 101 may transmit the alarm parameter through a hypertext Transfer Protocol (HTTP), and the registry 102 may receive the alarm parameter through the HTTP.
That is, the embodiment of the present application can realize transmission of communication contents between the server 101 and the registry 102 based on the HTTP request. The embodiment can realize real-time transmission of communication content through the HTTP request.
However, on one hand, the HTTP request is based on the TCP/IP protocol, communication content based on the HTTP request may be peeped on all communication lines, and the HTTP request may be intercepted, which may cause leakage of service data, and information security of the communication content may not be ensured.
In view of this, the embodiment of the present application provides a schematic diagram of another monitoring service system, which can be referred to fig. 2. The monitoring service system of the embodiment includes a server 101, a registry 102 and a RocketMQ message server 103. The RocktMQ is a message middleware of a queue model and has the characteristics of high performance, high reliability, high real-time performance and distribution.
In order to realize efficient data request and reception between the client and the server, the RockMQ technology defines a communication protocol and expands a communication module on the basis of Netty.
That is to say, the monitoring service system according to the embodiment of the present application may transmit the alarm parameter based on the RocketMQ technology.
Specifically, the server 101 sends the alarm parameters through a rockmq custom protocol, the rockmq message server receives the alarm parameters from the server 101 through the rockmq custom protocol, transmits the alarm parameters to the registry through the rockmq custom protocol after receiving the alarm parameter request from the registry, and the registry receives the alarm parameters transmitted based on the rockmq custom protocol.
Compared with the HTTP-based protocol, the communication content between the server 101 and the registration center 102 is transmitted through the rockmq custom protocol in the embodiment, insecurity of HTTP request message sending can be avoided, and the effect of real-time transmission of the communication content can be achieved without timeout limitation.
The monitoring service registration method of the embodiment of the application is applied to the monitoring service system, and the monitoring service registration method firstly obtains the server type, the server processing capacity, the server storage space size and the database capacity size, then determines to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size and the database capacity size, and then configures the monitoring parameters of the monitoring plug-in to send the monitoring plug-in to the server. The monitoring service registration method can fully utilize the existing monitoring resources, improve the monitoring efficiency and maximize the monitoring utility.
The following describes implementation details of the monitoring registration method according to an embodiment of the present application in detail, and the following description is only provided for facilitating understanding of the implementation details and is not necessary for implementing the present application.
As shown in fig. 3, a flowchart of an embodiment of a monitoring service registration method provided in an embodiment of the present application is illustrated, where the monitoring service registration method includes:
step 301, obtaining the server type, the server processing capacity, the server storage space size and the database capacity size.
Wherein the server types include: file servers, database servers, mail servers, web servers, and FTP servers, among others.
The server processing capability is a parameter representing the size of the server processing data capability, for example, the maximum number of concurrent connections of the server, the number of transactions that can be processed in each connection within a preset time period, the server response time, etc., a Central Processing Unit (CPU) resource, a Graphics Processing Unit (GPU) resource, etc.
The registry 102 in this embodiment may obtain the above-mentioned alarm parameters from the server 101 directly through an HTTP protocol, and may also obtain the alarm parameters from the rockmq messaging server 103 through a rockmq custom protocol, where the alarm parameters are transmitted to the rockmq messaging server 103 by the server 101.
Compared with the method for reporting the service related parameters only, the alarm parameters of the embodiment of the application comprise the server related data and the database related data, so that various indexes can be further integrated to judge whether to monitor the server, the server and the database are monitored, and the monitoring accuracy of the registration center on the server and the database is realized.
It should be noted that the alarm parameters obtained in step 301 include: besides the server type, the server processing capacity, the size of the server storage space and the size of the database capacity, the method also comprises the following steps: average load, user priority, service type oriented by the server, and the like, which are not limited in the embodiments of the present application.
The average load is the average number of processes in the running queue in a specific time interval, and includes the average number of processes in a runnable state and an uninterruptible state, namely the number of active processes. And measuring the system workload during average load, wherein the average load reflects the occupation condition of CPU, memory and input/output (IO) resources of the server.
The user priority is used to characterize the rank of the server-oriented user. For example, the server a faces a general user, the server B faces a member user, and the like, the general user has a higher priority than the member user, and the server B may be preferentially registered when considering the user priority. The priority of the user can be set according to actual requirements, which is not limited in this embodiment.
The service type oriented by the server represents the application scene and the main application of the server, and the application scene and the main application of the server can reflect the performance requirement of the server. For example, in a server based on ticket-robbing services, there is a high demand for concurrent access to the server; in a server based on a charging service, there is a high demand for real-time response of the server; in a server based on scientific research and calculation, the calculation capability of the server is high in demand.
According to the embodiment, whether the server needs to be monitored or not can be accurately judged by combining the resources of the database and the server and the service requirements oriented to the database and the server.
Step 302, determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size and the database capacity size. The monitoring plug-in is used for monitoring data on the server and the database.
In some embodiments, as can be seen in fig. 4, step 302 may further include:
step 3021, determining a first score, a second score, a third score, and a fourth score according to the server type, the server processing capacity, the server storage space size, and the database capacity size.
It should be noted that, if the registration center obtains parameters such as average load in addition to the server type, server processing capacity, server storage space size, and database capacity, the registration center may also score based on the parameters and make a determination according to the score.
The evaluation criterion of the score can be set according to requirements, for example, the higher the processing capacity of the server, the lower the score, the larger the storage space, the lower the score, the larger the database capacity, and the lower the score.
And step 3022, performing weighted summation on the first score, the second score, the third score and the fourth score to obtain a weighted summation value.
Different parameters have different weights, for example, a server type corresponds to a weight a, a server processing capacity corresponds to a weight b, a server storage space size corresponds to a weight c, a database capacity size corresponds to a weight d, and the weighted sum value is as follows:
weighted sum = first fraction x weight a + second fraction x weight b + third fraction x weight c + fourth fraction x weight d.
Step 3023, determining to send the monitoring plug-in to the server based on the weighted sum.
Specifically, if the weighted sum value is greater than the predetermined weighted sum threshold, it is determined to send the monitoring plug-in to the server. The higher the weighted sum, the greater the likelihood of anomalies occurring in the characterization database and the server, and therefore the server is monitored for a weighted sum greater than the weighted sum threshold.
In step 3023, the weighted sum values of the preset time periods may also be sorted, and the server sorted before is selected to monitor according to a preset ratio.
The above-mentioned steps 3021 to 3023 are one implementation of step 301, and another implementation of step 301 is given below, but not limited thereto.
In other embodiments, step 302 includes: inputting the server type, the server processing capacity, the size of the server storage space and the size of the database capacity into a registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
The registration determination model may be implemented by a machine-learned classification model, and when the registration determination model is trained, the server type, the server processing capacity, the server storage space size, the database capacity size of a certain server, and the determination result of whether to send a monitoring plug-in to the server may be input into the registration determination model for training.
The embodiment judges whether to register the server or not through the registration judgment model, namely whether to monitor the server or not, so that the judgment intelligence is realized.
In other embodiments, step 302 includes: according to the server type, the server processing capacity, the size of the server storage space and the size of the database capacity, determining to send a monitoring plug-in to the server, wherein the monitoring plug-in comprises the following steps: determining a registration judgment model corresponding to the server type according to the server type; and inputting the server processing capacity, the size of the server storage space and the size of the database capacity into a determined registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
In this embodiment, different registration determination results can be obtained for different server types by using different registration determination models corresponding to different server types.
In other embodiments, step 302 includes: determining that the server type falls within a set of candidate server types; determining that the processing capacity of the server meets a preset processing capacity condition; determining that the size of the server storage space meets a preset storage space size condition; and determining that the database capacity meets the condition of the preset database capacity. The embodiment decides to send the monitoring plug-in to the server only when the above conditions are satisfied.
After determining to send the monitoring plug-in, step 303 is executed.
Step 303, configuring monitoring parameters of the monitoring plug-in.
In some embodiments, the monitoring parameters configuring the monitoring plugin are determined according to the server type, the service type and the user priority. Specifically, the monitoring parameters include a monitoring data reporting period and the like. The monitoring data may reflect parameters related to the current operation of the server and the database, such as heartbeat, whether the server is operating normally, etc.
For example, the monitoring parameters may be obtained by inputting the server type, the service type, and the user priority into the parameter configuration model.
Step 304, sending a monitoring plug-in to the server. For the server 101 to deploy the monitoring plug-in, thereby realizing the monitoring of the server by the registry 102.
The registration center sends the monitoring plug-in, and represents that the server is registered in the registration center, and before sending the monitoring plug-in to the server, the registration center can register the server information, such as storing the IP address, the database identification and the server identification of the server, so as to facilitate the transmission of subsequent monitoring data.
The registry of the embodiment of the application can actively send the monitoring plug-in to the server after determining to send the monitoring plug-in to the server, so as to realize the automatic monitoring of the server, save the consumption of human resources, and improve the real-time performance of the server monitoring.
In addition, the monitoring service system of the embodiment of the application can transmit the alarm parameters through the RocktMQ self-defined protocol, so that the insecurity of http request message sending can be avoided, the effect of real-time transmission of communication content can be achieved under the condition of no overtime limitation, and the whole monitoring service system has the characteristics of high performance, high reliability, high real-time performance and distribution through the RocktMQ message server.
The embodiment of the present application further provides a monitoring service registration apparatus, and as shown in fig. 5, the monitoring service registration apparatus is used for a registration center of a monitoring service system, where the monitoring service system includes a server and a registration center, the server has a database, the registration center sends a monitoring plug-in to the server after the server registers, and the monitoring plug-in is used for monitoring data on the server and the database;
the monitoring service registration apparatus includes:
an obtaining module 501, configured to obtain a server type, a server processing capability, a server storage space size, and a database capacity size;
a determining module 502, configured to determine to send a monitoring plug-in to the server according to the server type, the server processing capacity, the size of the server storage space, and the size of the database capacity;
a configuration module 503, configured to configure monitoring parameters of the monitoring plug-in;
a sending module 504, configured to send a monitoring plug-in to the server.
In some embodiments of the present application, the determining module 502 is further configured to determine a corresponding first score, a second score, a third score, and a fourth score according to the server type, the server processing capacity, the server storage space size, and the database capacity size, respectively; carrying out weighted summation on the first fraction, the second fraction, the third fraction and the fourth fraction to obtain a weighted summation value; and determining to send the monitoring plug-in to the server based on the weighted sum value.
In some embodiments of the present application, the decision module 502 is further configured to determine to send a monitoring plug-in to the server if the weighted sum is greater than a predetermined weighted sum threshold.
In some embodiments of the present application, the determination module 502 further inputs the server type, server processing capacity, server storage size, and database capacity size into a registration determination model, which determines to send a monitoring plug-in to the server.
In some embodiments of the present application, the determining module 502 is further configured to determine, according to the server type, a registration determination model corresponding to the server type; and inputting the server processing capacity, the size of the server storage space and the size of the database capacity into a determined registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
In some embodiments of the present application, the obtaining module 501 is further configured to obtain a server type, a server processing capacity, a server storage space size, a database capacity size, an average load, a user priority, and a service type oriented by the server; the determining module 502 is further configured to determine to send a monitoring plug-in to the server according to the server type, server processing capacity, server storage space size, database capacity size, average load, user priority, and service type oriented by the server.
In some embodiments of the present application, the decision module 502 is further configured to determine that the server type falls within a set of candidate server types; determining that the server processing capacity meets a predetermined processing capacity condition; determining that the size of the storage space of the server meets a preset storage space size condition; and determining that the database capacity meets the condition of the preset database capacity.
An embodiment of the present application further provides a computer device, which integrates any one of the monitoring service registration apparatuses provided in the embodiment of the present application, where the computer device includes:
one or more processors;
a memory; and
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor for performing the steps of the monitoring service registration method described in any of the above monitoring service registration method embodiments.
The embodiment of the present application further provides a computer device, which integrates any one of the monitoring service registration apparatuses provided in the embodiments of the present application. As shown in fig. 6, it shows a schematic structural diagram of a computer device according to an embodiment of the present application, specifically:
the computer device may include components such as a processor 601 of one or more processing cores, memory 602 of one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 601 is a control center of the computer device, connects various parts of the whole computer device by various interfaces and lines, performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby monitoring the computer device as a whole. Optionally, processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601.
The memory 602 may be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 access to the memory 602.
The computer device further comprises a power supply 603 for supplying power to the various components, and preferably, the power supply 603 is logically connected to the processor 601 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 603 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 604, the input unit 604 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 601 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like. The monitoring service registration method includes a computer program stored thereon, and the computer program is loaded by a processor to execute the steps of any one of the monitoring service registration methods provided by the embodiments of the present application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed descriptions of other embodiments, and are not described herein again.
In a specific implementation, each unit or structure may be implemented as an independent entity, or may be combined arbitrarily to be implemented as one or several entities, and the specific implementation of each unit or structure may refer to the foregoing method embodiment, which is not described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The monitoring service registration method, apparatus, computer device and storage medium provided in the embodiments of the present application are introduced in detail above, and a specific example is applied in the present application to explain the principle and implementation of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A monitoring service registration method is characterized in that the monitoring service registration method is used for a registration center of a monitoring service system, the monitoring service system comprises a server and the registration center, the server is provided with a database, the registration center sends a monitoring plug-in to the server after the server is registered, and the monitoring plug-in is used for monitoring data on the server and the database;
the monitoring service registration method comprises the following steps:
acquiring the type of a server, the processing capacity of the server, the size of a storage space of the server and the size of the capacity of a database;
determining to send a monitoring plug-in to the server according to the server type, the server processing capacity, the size of a server storage space and the size of database capacity;
configuring monitoring parameters of the monitoring plug-in;
sending a monitoring plug-in to the server;
wherein, sending a monitoring plug-in to the server specifically is: and sending the monitoring plug-in to only part of the servers which are in urgent need of the monitoring service.
2. The monitoring service registration method of claim 1, wherein the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, the database capacity size, and the determination comprises:
determining a corresponding first score, a second score, a third score and a fourth score according to the server type, the server processing capacity, the server storage space size and the database capacity size;
carrying out weighted summation on the first fraction, the second fraction, the third fraction and the fourth fraction to obtain a weighted summation value;
and determining to send the monitoring plug-in to the server based on the weighted sum value.
3. The monitoring service registration method of claim 2, wherein determining to send a monitoring plug-in to the server based on the weighted sum comprises:
and if the weighted sum value is larger than a preset weighted sum threshold value, determining to send the monitoring plug-in to the server.
4. The monitoring service registration method of claim 1, wherein the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size comprises:
inputting the server type, the server processing capacity, the server storage space size and the database capacity size into a registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
5. The monitoring service registration method of claim 1, wherein the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size comprises:
determining a registration judgment model corresponding to the server type according to the server type;
and inputting the processing capacity of the server, the storage space size of the server and the capacity size of the database into a determined registration judgment model, and determining to send the monitoring plug-in to the server by the registration judgment model.
6. The monitoring service registration method of claim 1, wherein the obtaining of the server type, the server processing capacity, the server storage space size, and the database capacity size comprises:
acquiring the type of a server, the processing capacity of the server, the size of a storage space of the server, the size of the capacity of a database, the average load, the priority of a user and the service type oriented by the server;
the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the size of the server storage space and the size of the database capacity includes:
and determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the size of the server storage space, the size of the database capacity, the average load, the priority of the user and the service type oriented by the server.
7. The monitoring service registration method of claim 1, wherein the determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the server storage space size, and the database capacity size comprises:
determining that the server type falls within a set of candidate server types;
determining that the server processing capacity meets a predetermined processing capacity condition;
determining that the size of the server storage space meets a preset storage space size condition;
and determining that the database capacity meets the condition of the preset database capacity.
8. A monitoring service registration device is characterized in that the monitoring service registration device is used for a registration center of a monitoring service system, the monitoring service system comprises a server and the registration center, the server is provided with a database, the registration center sends a monitoring plug-in to the server after the server is registered, and the monitoring plug-in is used for monitoring data on the server and the database;
the monitoring service registration apparatus includes:
the acquisition module is used for acquiring the type of the server, the processing capacity of the server, the size of the storage space of the server and the size of the capacity of the database;
the judging module is used for determining to send the monitoring plug-in to the server according to the server type, the server processing capacity, the size of the server storage space and the size of the database capacity;
the configuration module is used for configuring the monitoring parameters of the monitoring plug-in;
the sending module is used for sending the monitoring plug-in to the server;
wherein, sending a monitoring plug-in to the server specifically includes: and sending the monitoring plug-in to only part of the servers which are in urgent need of the monitoring service.
9. A computer device, characterized in that the computer device comprises:
one or more processors;
a memory; and
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the monitoring service registration method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which is loaded by a processor for performing the steps of the monitoring service registration method of any of claims 1 to 7.
CN202210515669.9A 2022-05-12 2022-05-12 Monitoring service registration method and device, computer equipment and storage medium Active CN114640607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210515669.9A CN114640607B (en) 2022-05-12 2022-05-12 Monitoring service registration method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210515669.9A CN114640607B (en) 2022-05-12 2022-05-12 Monitoring service registration method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114640607A CN114640607A (en) 2022-06-17
CN114640607B true CN114640607B (en) 2022-08-12

Family

ID=81953191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210515669.9A Active CN114640607B (en) 2022-05-12 2022-05-12 Monitoring service registration method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114640607B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8296413B2 (en) * 2006-05-31 2012-10-23 Sap Ag Device registration in a hierarchical monitor service
CN100596076C (en) * 2006-10-20 2010-03-24 华为技术有限公司 User equipment registration, activation system, method and device in personal management
GB2505517B (en) * 2012-09-04 2017-08-09 Restranaut Ltd System for monitoring evacuation of a facility
CN104270434A (en) * 2014-09-22 2015-01-07 珠海许继芝电网自动化有限公司 Service state monitoring system based on cloud service
TWI595760B (en) * 2015-12-01 2017-08-11 廣達電腦股份有限公司 Management systems for managing resources of servers and management methods thereof
CN105893211A (en) * 2016-04-05 2016-08-24 浪潮电子信息产业股份有限公司 Method and system for monitoring
CN108111628B (en) * 2018-01-18 2021-08-17 吉浦斯信息咨询(深圳)有限公司 Dynamic capacity-expansion storage method and system
CN112929191B (en) * 2019-12-05 2023-08-15 马上消费金融股份有限公司 Service monitoring method, system, related equipment and device
CN111600749B (en) * 2020-04-29 2023-01-24 厦门市美亚柏科信息股份有限公司 Method and system for managing multiple servers and computer storage medium
CN111639009A (en) * 2020-06-04 2020-09-08 山东汇贸电子口岸有限公司 Service monitoring data acquisition system and method
CN111737085A (en) * 2020-06-23 2020-10-02 北京金山云网络技术有限公司 Server monitoring method, device and system and electronic equipment
CN112291112B (en) * 2020-10-27 2022-11-15 中国光大银行股份有限公司 Cloud computing service monitoring system and method
CN113032225B (en) * 2021-05-24 2021-08-06 上海有孚智数云创数字科技有限公司 Monitoring data processing method, device and equipment of data center and storage medium
CN113590433B (en) * 2021-09-29 2021-12-21 武汉四通信息服务有限公司 Data management method, data management system, and computer-readable storage medium

Also Published As

Publication number Publication date
CN114640607A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
CN106375420B (en) Server cluster intelligent monitoring system and method based on load balancing
US10511542B2 (en) Multi-interface power-aware networking
CN112231075B (en) Cloud service-based server cluster load balancing control method and system
CN109672627A (en) Method for processing business, platform, equipment and storage medium based on cluster server
CN106656682A (en) Method, system and device for detecting cluster heartbeat
CN112866394B (en) Load balancing method, device, system, computer equipment and storage medium
CN112261120B (en) Cloud-side cooperative task unloading method and device for power distribution internet of things
CN112162863B (en) Edge unloading decision method, terminal and readable storage medium
CN109769029B (en) Communication connection method based on electricity consumption information acquisition system and terminal equipment
CN114640607B (en) Monitoring service registration method and device, computer equipment and storage medium
CN116893900B (en) Cluster computing pressure load balancing method, system, equipment and IC design platform
CN117370053A (en) Information system service operation-oriented panoramic monitoring method and system
CN115665173B (en) MQ-based Websocket communication method, system and storage medium
Riker et al. Autonomic management of group communication for internet of things applications
CN110569238B (en) Data management method, system, storage medium and server based on big data
CN116302790A (en) Operation resource management method, cloud gateway, electronic device and storage medium
CN114021052A (en) Inference service method, equipment and system
CN105281979A (en) Load test method for virtualization application platform
Catterson et al. The practical implications of bringing a multi-agent transformer condition monitoring system on-line
JP2006120036A (en) System for transferring transactions
CN113824777B (en) Data management method and data management device
CN114115718B (en) Distributed block storage system service quality control method, device, equipment and medium
CN117376399A (en) Data processing method, device, equipment and medium
CN117640721A (en) Cluster communication management method and system
CN117130457A (en) Terminal control method and device, storage medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 430070 No. 1, 2 and 10, floors 1-3, building A7, Rongke Zhigu industrial project phase I, No. 555, Wenhua Avenue, Hongshan District, Wuhan City, Hubei Province

Patentee after: Wuhan Barda Technology Co.,Ltd.

Address before: 430070 No. 1, 2 and 10, floors 1-3, building A7, Rongke Zhigu industrial project phase I, No. 555, Wenhua Avenue, Hongshan District, Wuhan City, Hubei Province

Patentee before: Wuhan Sitong Information Service Co.,Ltd.

CP01 Change in the name or title of a patent holder
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Monitoring service registration method, device, computer equipment and storage medium

Effective date of registration: 20230302

Granted publication date: 20220812

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Wuhan Barda Technology Co.,Ltd.

Registration number: Y2023420000085

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20220812

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Wuhan Barda Technology Co.,Ltd.

Registration number: Y2023420000085

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Registration methods, devices, computer equipment, and storage media for monitoring services

Granted publication date: 20220812

Pledgee: Guanggu Branch of Wuhan Rural Commercial Bank Co.,Ltd.

Pledgor: Wuhan Barda Technology Co.,Ltd.

Registration number: Y2024980007424