Movatterモバイル変換


[0]ホーム

URL:


CN110855473A - Monitoring method, device, server and storage medium - Google Patents

Monitoring method, device, server and storage medium
Download PDF

Info

Publication number
CN110855473A
CN110855473ACN201910981769.9ACN201910981769ACN110855473ACN 110855473 ACN110855473 ACN 110855473ACN 201910981769 ACN201910981769 ACN 201910981769ACN 110855473 ACN110855473 ACN 110855473A
Authority
CN
China
Prior art keywords
service
monitoring
information
tree
configuration data
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.)
Granted
Application number
CN201910981769.9A
Other languages
Chinese (zh)
Other versions
CN110855473B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co LtdfiledCriticalPing An Technology Shenzhen Co Ltd
Priority to CN201910981769.9ApriorityCriticalpatent/CN110855473B/en
Publication of CN110855473ApublicationCriticalpatent/CN110855473A/en
Priority to PCT/CN2020/119292prioritypatent/WO2021073433A1/en
Application grantedgrantedCritical
Publication of CN110855473BpublicationCriticalpatent/CN110855473B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the application is applicable to the technical field of monitoring, and provides a monitoring method, a monitoring device, a server and a storage medium, wherein the method comprises the following steps: determining a plurality of service types to be monitored; respectively determining the hierarchical structure of the service tree to be generated corresponding to each service type according to preset system architecture information; acquiring configuration data of each service type from a preset configuration management database; generating service trees corresponding to the service types according to the hierarchical structure and the configuration data, wherein each service tree has unique identification information; configuring monitoring information for the monitoring objects contained in each service tree based on the identification information; and monitoring the monitored object according to the monitoring information. In this embodiment, by generating the service tree, each monitored object that realizes the same service belongs to the same service tree, and for a network environment with many service scenes and a complex architecture, monitoring of the monitored object is facilitated from a global perspective according to different scenes or architectures.

Description

Monitoring method, device, server and storage medium
Technical Field
The present application belongs to the field of monitoring technologies, and in particular, relates to a monitoring method, a monitoring device, a server, and a computer-readable storage medium.
Background
How to configure data of the monitoring system is related to whether the monitoring system can realize corresponding service functions, and the quality of the configured data directly determines the monitoring granularity, the authority control capability and the monitoring effect of the monitoring system.
In the prior art, a monitoring system usually abstracts a host, an application, a network device, a storage device, and the like into a monitoring object, and then completes a whole set of monitoring process through operations such as object configuration, template management, contact person modification, and the like. The mode is suitable for the scenes of small data size, low personalized configuration requirement and few types of monitored objects. However, for a large enterprise, millions or even tens of millions of monitoring objects are distributed in different Internet Data Centers (IDCs), network environments, infrastructure platforms, and the monitoring requirements for different objects are different, which relate to a traditional architecture, a public cloud, a private cloud, an internal cloud, and the like. The monitoring system adopting the mode cannot adapt to the network environment with multiple business scenes and complex architecture of a large-scale enterprise at all. For example, in a conventional monitoring system, a change in configuration data for any one of the monitoring objects may affect other objects. If such a monitoring system is still used in a complex network environment, the configuration data change of a single monitoring object is very easy to cause service confusion of the whole monitoring system. In addition, in the existing monitoring system, the association relationship between each monitored object and a specific service is weak, and each monitored object cannot be subjected to targeted monitoring and analysis aiming at the specific service.
Disclosure of Invention
The embodiment of the application provides a monitoring method, a monitoring device, a server and a storage medium, which can solve the problem that a monitoring system in the prior art cannot adapt to a network environment with multiple service scenes and a complex architecture.
In a first aspect, an embodiment of the present application provides a monitoring method, including:
determining a plurality of service types to be monitored, wherein each service type comprises a plurality of monitoring objects;
respectively determining the hierarchical structure of the service tree to be generated corresponding to each service type according to preset system architecture information;
acquiring the configuration data of each service type from a preset configuration management database;
generating service trees corresponding to the service types according to the hierarchical structure and the configuration data, wherein each service tree has unique identification information;
configuring monitoring information for the monitoring objects contained in each service tree based on the identification information;
and monitoring the monitored object according to the monitoring information.
In a possible implementation manner of the first aspect, by determining the type of configuration data of each monitoring object, a plurality of monitoring objects having configuration data of the same type are used as leaf nodes of the same service tree; and generating a service tree corresponding to the current service type by backtracking to a father node aiming at any monitoring object in the leaf nodes.
It should be understood that, according to the one-to-many relationship between the service types and the monitored objects, a complete service tree is formed by starting from the monitored objects and backtracking to the parent node, so that each monitored object realizing the same service belongs to the same service tree, and each monitored object can be monitored in a targeted manner according to different service scenes and architectures.
In another possible implementation manner of the first aspect, each monitoring object included in different service trees and each monitoring object included in different hierarchies of the same service tree are isolated according to the identification information and the hierarchy structure of each service tree.
It should be understood that by isolating the service trees and different levels of the same service tree, different monitoring objects in the monitoring system have different use views and ranges, and are transparent and do not affect each other. When operation and maintenance personnel monitor and analyze, only the business range of the corresponding hierarchy or service tree needs to be concerned, and the monitoring requirements of large enterprises under multiple environments, multiple architectures and complex network environments can be met.
In a second aspect, an embodiment of the present application provides a monitoring apparatus, including:
the service type determining module is used for determining a plurality of service types to be monitored, and each service type comprises a plurality of monitoring objects;
the hierarchical structure determining module is used for respectively determining the hierarchical structures of the service trees to be generated corresponding to the service types according to preset system architecture information;
the configuration data acquisition module is used for acquiring the configuration data of each service type from a preset configuration management database;
a service tree generating module, configured to generate service trees corresponding to the service types according to the hierarchical structure and the configuration data, where each service tree has unique identification information;
a monitoring information configuration module, configured to configure monitoring information for the monitoring objects included in each service tree based on the identification information;
and the monitoring module is used for monitoring the monitored object according to the monitoring information.
In a third aspect, an embodiment of the present application provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the monitoring method according to any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the monitoring method according to any one of the first aspect is implemented.
In a fifth aspect, the present application provides a computer program product, which when run on a server, causes the server to execute the monitoring method of any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
in the embodiment of the application, a plurality of service types to be monitored are determined, then the hierarchical structure of the service tree to be generated corresponding to each service type is determined according to the preset system architecture information, and after the configuration data of each service type is acquired from the preset configuration management database, the service tree corresponding to each service type can be generated according to the hierarchical structure and the configuration data, so that after the monitoring information is configured for each monitoring object contained in the service tree, the monitoring object can be monitored according to the monitoring information. In the embodiment, the monitoring object is abstracted, the concept of the service tree is provided, and the service tree between the monitoring object and the specific service is generated according to the service type and the relationship between the monitoring object and the service type, so that each monitoring object realizing the same service belongs to the same service tree, the association relationship between the monitoring object and the specific service can be visually shown according to the tree structure, and the monitoring object can be monitored according to different scenes or architectures in a network environment with multiple service scenes and complex architecture.
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 embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic flow chart diagram illustrating steps of a monitoring method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating steps of another monitoring method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a hierarchical structure of a service tree according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an architecture of a service tree according to an embodiment of the present application;
FIG. 5 is a flow chart illustrating steps of another monitoring method according to an embodiment of the present application;
fig. 6 is a block diagram of a monitoring apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The technical solution of the present application will be described below by way of specific examples.
Referring to fig. 1, a schematic flow chart illustrating steps of a monitoring method according to an embodiment of the present application is shown, which may specifically include the following steps:
s101, determining a plurality of service types to be monitored, wherein each service type comprises a plurality of monitoring objects;
the type of service in this embodiment may be a specific service implemented in an enterprise or organization. For example, in the case of an insurance enterprise, the business types included therein may be insurance, life insurance, and the like. Of course, the business type may also be different for businesses or organizations that engage in different businesses. For example, taking an internet enterprise as an example, the service types of the internet enterprise may further include an operation and maintenance group for performing operation and maintenance on various devices, and a technology group for providing service support for other service types, and the like. The present embodiment does not limit the service types.
In general, different traffic types involve different devices, networks, clusters, middleware and their relationship to each other. Also taking insurance enterprises as an example, when developing insurance or life insurance business, the above devices, networks, clusters, middleware and their relationships to each other need to be used.
To ensure the security of each enterprise or organization in implementing a particular business, internal monitoring may be performed for that enterprise or organization. For example, the operational stability of each device, the security of the network environment, and the like are monitored.
In this embodiment of the present application, a plurality of service types to be monitored may be determined, and devices, networks, clusters, middleware, and the like related to each service type may be abstracted into monitoring objects, and each monitoring object may be monitored.
S102, respectively determining a hierarchical structure of a service tree to be generated corresponding to each service type according to preset system architecture information;
the preset system architecture information may be determined according to specific business types inside an enterprise or organization. For example, for the business type of production risk, the architectural relationship may be predetermined according to the system architecture information.
In general, some enterprises or organizations may build a service organization relationship using tree structures for the convenience of managing service clusters, and the organization relationship is called a service tree. A service tree is a model that maps services into a tree structure and then corresponds to resources. Briefly, the information maintained by the service tree includes which machines, which resources, etc. are under which line of business.
In the embodiment of the present application, the service tree may be a tree structure that contains monitoring objects and subsystems, such as various devices, networks, clusters, middleware, and the like, required for executing the service, and is determined according to a specific service type.
In this embodiment, the service tree may be generated based on a relationship between the monitoring object and a specific service, so that each monitoring object that implements the same service belongs to the same service tree. When generating the service tree, the hierarchical structure of the service tree to be generated may be determined first according to preset system architecture information. The hierarchical structure of the service tree to be generated may refer to the number of layers included in the currently generated service tree.
S103, acquiring configuration data of each service type from a preset configuration management database;
a Configuration Management Database (CMDB) is a Database for storing and managing various Configuration information of devices in an enterprise IT architecture. The method is closely connected with all service support and service delivery processes, can support the operation of the processes and exert the value of configuration information, and simultaneously depends on the related processes to ensure the accuracy of data.
In this embodiment of the present application, the CMDB may record configuration data of each service type, where the configuration data may refer to specific devices, networks, clusters, middleware, and the like included in each service subsystem in a corresponding system architecture.
S104, generating service trees corresponding to the service types according to the hierarchical structure and the configuration data, wherein each service tree has unique identification information;
after determining the hierarchical structure of the service tree to be generated corresponding to each service type and acquiring the configuration data of each service type from the CMDB, the service tree can be constructed according to the corresponding hierarchy according to the information of each monitored object recorded in the configuration data.
For example, taking a service system as an example, the system architecture may be deployed according to "service system-deployment environment-cluster-instance/host", where the service system is a primary subsystem, the deployment environment is a secondary subsystem, the cluster is a tertiary subsystem, and the instance/host is a specific monitoring object. Information on specific devices and the like in the subsystems of the respective hierarchies may be recorded in the CMDB, so that when a service tree corresponding to the service system is generated, a corresponding hierarchy structure may be constructed in accordance with the above-described architecture. Namely, the information of the devices and the like in the corresponding subsystems is placed in the corresponding hierarchy of the service tree.
For another example, for a certain type of device, the system architecture may be deployed according to "region-IDC-machine room-floor-device", and when generating the service tree corresponding to the type of device, it may be first determined that the corresponding hierarchy includes four layers. Then, information contained in each layer of the equipment is extracted from the CMDB, so that a service tree is constructed according to the corresponding hierarchy.
Generally, each generated service tree has different identification information. By means of the identification information, it can be specifically determined to which service tree each monitoring device belongs.
In a specific implementation, the same identification information may be configured for each device, network, cluster, middleware, and the like that belong to the same service tree, and the identification information may be determined in a namespace (namespace) form and used to identify that each monitored object and the hierarchical subsystem belong to the same service tree. For example, with the same namespace may be an operation and maintenance group of legacy architecture, a corporate subsidiary, a public cloud tenant or IDC, and so on.
S105, configuring monitoring information for the monitoring objects contained in each service tree based on the identification information;
the monitoring information configured for each monitoring object may refer to information for comparison with the operation information when the operation information of the monitoring object is collected. For example, for the monitoring device a, the alarm may be configured to be performed when the CPU occupancy reaches 80%, and therefore, the monitoring information configured for the monitoring device a may include that the CPU occupancy is less than 80%; for the monitoring device B, the alarm may be configured to be triggered when the CPU occupancy reaches 90%, and the monitoring information configured for the monitoring device B may include that the CPU occupancy is less than 90%.
The embodiment can perform unified configuration for a plurality of monitoring objects belonging to the same service tree based on the identification information of the service tree.
And S106, monitoring the monitored object according to the monitoring information.
After the configuration of the monitoring information of each monitored object in the service tree is completed, the monitored object can be monitored according to the monitoring information.
In specific implementation, the server can acquire running information such as performance data of each monitored object in real time, and compare and judge the running information with the monitoring information configured in advance. If the abnormity exists, the abnormity result can be sent to a telephone, mail, short message and other channels designated by the user. On the other hand, the abnormal result can also be saved through a storage module of the system. The storage module can also be provided with a data query interface so as to facilitate subsequent targeted query and analysis of the monitoring data of each service type.
In the embodiment of the present application, a plurality of service types to be monitored are determined, then, according to preset system architecture information, a hierarchical structure of a service tree to be generated corresponding to each service type is determined, and after configuration data of each service type is acquired from a preset configuration management database, a service tree corresponding to each service type can be generated according to the hierarchical structure and the configuration data, so that after monitoring information is configured for each monitoring object included in the service tree, the monitoring object can be monitored according to the monitoring information. In the embodiment, the monitoring object is abstracted, the concept of the service tree is provided, and the service tree between the monitoring object and the specific service is generated according to the service type and the relationship between the monitoring object and the service type, so that each monitoring object realizing the same service belongs to the same service tree, the association relationship between the monitoring object and the specific service can be visually shown according to the tree structure, and the monitoring object can be monitored according to different scenes or architectures in a network environment with multiple service scenes and complex architecture.
Referring to fig. 2, a schematic flow chart illustrating steps of another monitoring method according to an embodiment of the present application is shown, which may specifically include the following steps:
s201, determining a plurality of service types to be monitored, wherein each service type comprises a plurality of monitoring objects;
the type of service in this embodiment may be a specific service implemented in an enterprise or organization. After a plurality of service types to be monitored are determined, devices, networks, clusters, middleware and the like related to each service type can be abstracted into monitoring objects. In general, different traffic types involve different devices, networks, clusters, middleware and their relationship to each other.
S202, respectively determining a hierarchical structure of a service tree to be generated corresponding to each service type according to preset system architecture information;
in this embodiment, the service tree may be generated based on a relationship between the monitoring object and a specific service, so that each monitoring object that implements the same service belongs to the same service tree. When generating the service tree, the hierarchical structure of the service tree to be generated may be determined first according to preset system architecture information. The hierarchical structure of the service tree to be generated may refer to the number of layers included in the currently generated service tree.
Fig. 3 is a schematic diagram of a hierarchical structure of a service tree corresponding to each business type in an enterprise. As shown in fig. 3, leaf nodes in each service tree represent a monitoring object, the monitoring object uniquely belongs to a certain N-level subsystem, the nth-level subsystem uniquely belongs to a certain subsystem in the N-1 level and simultaneously includes a plurality of N + 1-level subsystems, and the hierarchical subsystems are abstractions of a certain service type relationship.
S203, acquiring the configuration data of each service type from a preset configuration management database;
the CMDB may record configuration data of each service type, where the configuration data may refer to specific devices, networks, clusters, middleware, and the like included in each service subsystem in a corresponding system architecture.
S204, determining the type of configuration data of each monitoring object, and taking a plurality of monitoring objects with the same type of configuration data as leaf nodes of the same service tree;
in the embodiment of the present application, starting from an abstracted monitoring object, according to the association relationship between each monitoring object and the service type recorded in the configuration data, the monitoring objects with the same type of configuration data are used as leaf nodes of the same service tree.
For example, if an office computer used by a certain employee of the switch operation and maintenance group of the network unit is used as a monitoring object, it can be determined that other employees of the switch operation and maintenance group have the same type as the employee according to the configuration data, and the employee is used as a leaf node of the same service tree, and corresponding service tree identification information and hierarchy information are configured for each monitoring object to identify which service tree the monitoring object belongs to.
S205, generating service trees corresponding to the current service types by backtracking to a father node aiming at any monitoring object in the leaf nodes, wherein each service tree has unique identification information;
after the monitoring object corresponding to a leaf node of a certain service tree is determined, a complete service tree can be formed by backtracking from any monitoring object in the node to a parent node (i.e., the last node of the current leaf node) until an initial node without the last node is found.
In a specific implementation, for any monitoring object in the leaf nodes, other monitoring objects included in the previous-level data of the monitoring object in the configuration data may be found out, and the other monitoring objects serve as parent nodes of the current leaf node in the service tree until the initial node of the service tree is found out, and after the same identification information is configured for all child nodes of the initial node, a service tree corresponding to the current service type may be generated.
For example, after determining the monitoring object of the leaf node, specific devices, networks, clusters, middleware, and the like included in the last hierarchy of the monitoring object in the configuration data may be searched, the devices, networks, clusters, middleware, and the like are used as N-level subsystems of the service tree to which the monitoring object belongs, and the identification information and the hierarchy information of the service tree are configured for the N-level subsystems. And then, according to the same mode, continuously determining the N-1 level subsystem to which the N level subsystem belongs until determining the level subsystem of the current service tree.
For devices, networks, clusters, middleware and the like with the same service tree identification information, a complete service tree is formed together. As shown in fig. 4, a schematic diagram of a service tree corresponding to the architecture schematic diagram shown in fig. 3.
S206, configuring monitoring information for the monitoring objects contained in each service tree based on the identification information;
the embodiment can perform unified configuration for a plurality of monitoring objects belonging to the same service tree based on the identification information of the service tree.
And S207, monitoring the monitored object according to the monitoring information.
In the specific implementation, the server can acquire the operation information of each monitored object in real time, compare and judge the operation information with the preconfigured monitoring information, and if the operation information is abnormal, the server can generate alarm information for the monitored object and alarm the user through a telephone channel, a mail channel, a short message channel and the like specified by the user.
In this embodiment, according to the one-to-many relationship between the service types and the monitoring objects, starting from the monitoring object, a complete service tree is formed by backtracking to the parent node, so that each monitoring object implementing the same service belongs to the same service tree, and each monitoring object can be monitored in a targeted manner according to different service scenes and architectures.
Referring to fig. 5, a schematic flow chart illustrating steps of another monitoring method according to an embodiment of the present application is shown, which may specifically include the following steps:
s501, determining a plurality of service types to be monitored, wherein each service type comprises a plurality of monitoring objects;
s502, respectively determining the hierarchical structure of the service tree to be generated corresponding to each service type according to preset system architecture information;
s503, obtaining the configuration data of each service type from a preset configuration management database;
s504, generating service trees corresponding to the service types according to the hierarchical structure and the configuration data, wherein each service tree has unique identification information;
since steps S501 to S504 in this embodiment are similar to steps S101 to S104 and S201 to S205 in the foregoing embodiment, they can refer to each other, and are not described again in this embodiment.
S505, according to the identification information and the hierarchical structure of each service tree, isolating each monitoring object contained in different service trees and each monitoring object contained in different hierarchies of the same service tree;
in the embodiment of the application, after the service tree is generated, monitoring objects in different service trees and monitoring objects belonging to different hierarchies in the same service tree can be isolated by configuring different authorities for each monitoring object.
S506, combining the plurality of service trees and monitoring objects contained in the service trees into a monitoring system;
in the embodiment of the application, a unified monitoring system in an enterprise or an organization can be formed together by integrating the service trees corresponding to the various business types. The system formed by all the service trees formed currently is the monitoring system.
S507, determining configuration information of each monitored object, respectively writing the configuration information of a plurality of monitored objects with the same identification information into a monitoring data table, and storing the monitoring data table into the monitoring system;
the configuration information corresponding to each monitored object may be artificially determined according to the actual requirement of the monitored object.
In a specific implementation, configuration information corresponding to each monitoring object belonging to the same service tree may be integrated to generate a monitoring data table. After the data table is stored in the monitoring system and operated, the monitoring system can know the monitoring alarm triggering conditions corresponding to all the monitored objects. That is, when the current operation information of a certain monitoring object does not match the configuration information of the monitoring object in the monitoring data table, an alarm will be triggered. Meanwhile, the monitoring system can also generate a monitoring record aiming at the generated alarm for subsequent analysis.
S508, respectively collecting the current operation information of each monitored object, and comparing the operation information with the corresponding configuration information in the monitoring data table;
in a specific implementation, the server may collect the operation information of each monitored object in real time, and compare and judge the operation information with the configuration information of the monitored object in a monitoring data table which is configured in advance and stored in the monitoring system, so as to determine whether the monitored object operates abnormally.
S509, if the operation information is not matched with the corresponding configuration information, generating alarm information aiming at the monitored object.
If the real-time collected operation information is not matched with the configuration information in the monitoring data table, the operation information of the monitored object can be considered to be abnormal. The monitoring system can generate alarm information aiming at the abnormal result and send the alarm information to a channel such as a telephone, a mail, a short message and the like appointed by a user. On the other hand, the alarm information can also be stored through a storage module of the monitoring system. Through the data query interface provided by the storage module, operation and maintenance personnel can conveniently carry out targeted query and analysis on the monitoring data of each service type.
In the embodiment, different service trees and different levels of the same service tree are isolated, so that different monitoring objects in the monitoring system have different use visual angles and ranges, are mutually transparent and do not influence each other. When operation and maintenance personnel monitor and analyze, only the business range of the corresponding hierarchy or service tree needs to be concerned, and the monitoring requirements of large enterprises under multiple environments, multiple architectures and complex network environments can be met.
It should be noted that, the sequence numbers of the steps in the foregoing embodiments do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Fig. 6 shows a block diagram of a monitoring device according to an embodiment of the present application, which corresponds to the monitoring method described in the foregoing embodiment, and only shows portions related to the embodiment of the present application for convenience of description.
Referring to fig. 6, the monitoring apparatus may specifically include the following modules:
a servicetype determining module 601, configured to determine multiple service types to be monitored, where each service type includes multiple monitoring objects;
a hierarchicalstructure determining module 602, configured to determine, according to preset system architecture information, a hierarchical structure of a service tree to be generated corresponding to each service type;
a configurationdata obtaining module 603, configured to obtain configuration data of each service type from a preset configuration management database;
a servicetree generating module 604, configured to generate service trees corresponding to the service types according to the hierarchical structure and the configuration data, where each service tree has unique identification information;
a monitoringinformation configuring module 605, configured to configure monitoring information for the monitoring objects included in each service tree based on the identification information;
and themonitoring module 606 is configured to monitor the monitored object according to the monitoring information.
In this embodiment of the present application, the servicetree generation module 604 may specifically include the following sub-modules:
the leaf node determining submodule is used for determining the type of the configuration data of each monitoring object and taking a plurality of monitoring objects with the same type of configuration data as leaf nodes of the same service tree;
and the service tree generation submodule is used for generating a service tree corresponding to the current service type by a backtracking mode to a father node aiming at any monitoring object in the leaf nodes.
In this embodiment of the present application, the service tree generation submodule may specifically include the following units:
a node searching unit, configured to search, for any monitoring object in the leaf nodes, a monitoring object included in previous-level data of the monitoring object in the configuration data, as a parent node of the leaf node in a current service tree, until an initial node of the current service tree is found;
and the identification information configuration unit is used for configuring the same identification information for all the child nodes of the initial node and generating a service tree corresponding to the current service type.
In this embodiment, the apparatus may further include the following modules:
and the monitoring system generation module is used for combining the plurality of service trees and the monitoring objects contained in the service trees into a monitoring system.
In this embodiment, the monitoringinformation configuration module 605 may specifically include the following sub-modules:
the configuration information writing sub-module is used for determining the configuration information of each monitored object and respectively writing the configuration information of a plurality of monitored objects with the same identification information into the monitoring data table;
and the monitoring data table storage submodule is used for storing the monitoring data table to the monitoring system.
In this embodiment, themonitoring module 606 may specifically include the following sub-modules:
the operation information acquisition submodule is used for respectively acquiring the current operation information of each monitored object;
the operation information comparison submodule is used for comparing the operation information with corresponding configuration information in the monitoring data table;
and the alarm information generation submodule is used for generating alarm information aiming at the monitored object if the operation information is not matched with the corresponding configuration information.
In this embodiment, the apparatus may further include the following sub-modules:
and the isolation module is used for isolating each monitoring object contained in different service trees and each monitoring object contained in different hierarchies of the same service tree according to the identification information and the hierarchy structure of each service tree.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/modules, because the same concept is based on, the specific functions and technical effects brought by the embodiments of the method of the present application may refer to the description of the embodiments of the method, and are not described herein again.
Referring to fig. 7, a schematic diagram of a server of one embodiment of the present application is shown. As shown in fig. 7, theserver 700 of the present embodiment includes: aprocessor 710, amemory 720, and acomputer program 721 stored in saidmemory 720 and operable on saidprocessor 710. Theprocessor 710, when executing thecomputer program 721, implements the steps in the various embodiments of the monitoring method described above, such as the steps S101 to S106 shown in fig. 1. Alternatively, theprocessor 710, when executing thecomputer program 721, implements the functions of each module/unit in each device embodiment described above, for example, the functions of themodules 601 to 606 shown in fig. 6.
Illustratively, thecomputer program 721 may be divided into one or more modules/units, which are stored in thememory 720 and executed by theprocessor 710 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which may be used to describe the execution of thecomputer program 721 in theserver 700. For example, thecomputer program 721 may be divided into a service type determining module, a hierarchical structure determining module, a configuration data obtaining module, a service tree generating module, a monitoring information configuring module and a monitoring module, where the specific functions of the modules are as follows:
the service type determining module is used for determining a plurality of service types to be monitored, and each service type comprises a plurality of monitoring objects;
the hierarchical structure determining module is used for respectively determining the hierarchical structures of the service trees to be generated corresponding to the service types according to preset system architecture information;
the configuration data acquisition module is used for acquiring the configuration data of each service type from a preset configuration management database;
a service tree generating module, configured to generate service trees corresponding to the service types according to the hierarchical structure and the configuration data, where each service tree has unique identification information;
a monitoring information configuration module, configured to configure monitoring information for the monitoring objects included in each service tree based on the identification information;
and the monitoring module is used for monitoring the monitored object according to the monitoring information.
Theserver 700 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. Theserver 700 may include, but is not limited to, aprocessor 710, amemory 720. Those skilled in the art will appreciate that fig. 7 is merely an example of aserver 700 and does not constitute a limitation onserver 700 and may include more or fewer components than shown, or some components may be combined, or different components, e.g.,server 700 may also include input-output devices, network access devices, buses, etc.
TheProcessor 710 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Thestorage 720 may be an internal storage unit of theserver 700, such as a hard disk or a memory of theserver 700. Thememory 720 may also be an external storage device of theserver 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on theserver 700. Further, thememory 720 may also include both an internal storage unit and an external storage device of theserver 700. Thememory 720 is used for storing thecomputer program 721 and other programs and data required by theserver 700. Thememory 720 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a server, where the server includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
Embodiments of the present application further provide a computer program product, which when run on a server, enables the server to implement the steps in the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

CN201910981769.9A2019-10-162019-10-16Monitoring method, device, server and storage mediumActiveCN110855473B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201910981769.9ACN110855473B (en)2019-10-162019-10-16Monitoring method, device, server and storage medium
PCT/CN2020/119292WO2021073433A1 (en)2019-10-162020-09-30Monitoring method and device, server, and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910981769.9ACN110855473B (en)2019-10-162019-10-16Monitoring method, device, server and storage medium

Publications (2)

Publication NumberPublication Date
CN110855473Atrue CN110855473A (en)2020-02-28
CN110855473B CN110855473B (en)2022-11-18

Family

ID=69596282

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910981769.9AActiveCN110855473B (en)2019-10-162019-10-16Monitoring method, device, server and storage medium

Country Status (2)

CountryLink
CN (1)CN110855473B (en)
WO (1)WO2021073433A1 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111698326A (en)*2020-06-122020-09-22北京百度网讯科技有限公司Method and apparatus for determining cost attribution of cloud service resources
CN111917573A (en)*2020-07-132020-11-10海南车智易通信息技术有限公司Monitoring method, monitoring system and computing device
CN111930718A (en)*2020-08-132020-11-13工银科技有限公司Node adjustment method and device for configuration management database
CN112433915A (en)*2020-11-302021-03-02泰康保险集团股份有限公司Data monitoring method based on distributed performance monitoring tool and related device
WO2021073433A1 (en)*2019-10-162021-04-22平安科技(深圳)有限公司Monitoring method and device, server, and storage medium
CN113065801A (en)*2021-04-262021-07-02平安普惠企业管理有限公司Organization architecture management method, device, equipment and storage medium
CN113176975A (en)*2021-03-302021-07-27东软集团股份有限公司Monitoring data processing method and device, storage medium and electronic equipment
CN113791964A (en)*2021-09-272021-12-14首约科技(北京)有限公司Service monitoring method based on four layers of transmission control protocol
CN114281652A (en)*2021-12-302022-04-05胜斗士(上海)科技技术发展有限公司 Resource display method and device
CN114418342A (en)*2021-12-282022-04-29中国电信股份有限公司 A business data processing method, device and readable storage medium
CN114615169A (en)*2020-12-032022-06-10腾讯科技(深圳)有限公司Path monitoring method, device and computer readable storage medium
CN114741425A (en)*2022-04-132022-07-12上海钧正网络科技有限公司Alarm information processing method and device, electronic equipment and storage medium
CN114780335A (en)*2022-04-112022-07-22深圳市金蝶天燕云计算股份有限公司 Correlation method, apparatus, computer equipment and storage medium for monitoring data
CN116204388A (en)*2023-04-272023-06-02北京合力金智科技发展有限公司Intelligent monitoring system and method for system service state

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113381884B (en)*2021-06-022023-01-31上海数禾信息科技有限公司Full link monitoring method and device for monitoring alarm system
CN113472565B (en)*2021-06-032024-02-20北京闲徕互娱网络科技有限公司Method, apparatus, device and computer readable medium for expanding server function
CN113536088B (en)*2021-07-062024-01-12北京百度网讯科技有限公司 Streaming system data processing method, device, electronic equipment and storage medium
CN113806371B (en)*2021-09-272024-01-19重庆紫光华山智安科技有限公司Data type determining method, device, computer equipment and storage medium
CN114519059B (en)*2022-02-222024-07-12平安科技(深圳)有限公司Data processing method, device, electronic equipment and storage medium
CN114915643B (en)*2022-05-092024-01-26北京交大微联科技有限公司Configuration method, device, equipment and medium of railway signal centralized monitoring system
CN114971231B (en)*2022-05-112024-09-17中国平安财产保险股份有限公司Service decision model generation method and device, computer equipment and storage medium
CN115454004B (en)*2022-09-282025-04-22惠州市华达通气体制造股份有限公司 Monitoring system expansion method and device for industrial gas production enterprises
CN115655757A (en)*2022-11-042023-01-31中车长春轨道客车股份有限公司Method and system for determining vehicle-mounted superconducting magnet monitoring system and storage medium
CN116049134A (en)*2022-12-012023-05-02北京云迹科技股份有限公司Method and device for uniformly monitoring multiple service databases
CN116308173A (en)*2023-03-172023-06-23阳光慧碳科技有限公司Control method, device, equipment and medium of collaboration system
CN116931529A (en)*2023-09-142023-10-24深圳市华科科技有限公司Intelligent monitoring method and system for industrial production equipment
CN118210837B (en)*2024-05-172024-07-30北京力控元通科技有限公司Data processing method, device, equipment and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1781282A (en)*2003-05-012006-05-31皇家飞利浦电子股份有限公司An ad-hoc network, a network device and a method of configuration management therefor
US20120117226A1 (en)*2010-11-052012-05-10Hitachi, Ltd.Monitoring system of computer and monitoring method
US20140237114A1 (en)*2012-12-132014-08-21Tencent Technology (Shenzhen) Company LimitedMethod and system for managing servers
US20150236889A1 (en)*2014-02-142015-08-20Samsung Eletrônica da Amazônia Ltda.Method for enabling hierarchical architecture of device management gateways
CN105183610A (en)*2015-09-222015-12-23浪潮集团有限公司Cloud data center service monitoring system and method based on resource dependency relationship
CN105335207A (en)*2014-05-292016-02-17国际商业机器公司Method and apparatus for managing virtual machine instance
US9667704B1 (en)*2014-04-262017-05-30Google Inc.System and method for classifying API requests in API processing systems using a tree configuration
CN107493208A (en)*2017-08-302017-12-19苏州朗动网络科技有限公司Full the link performance monitoring method and system of a kind of medium-and-large-sized operation system
WO2018103532A1 (en)*2016-12-052018-06-14北京国双科技有限公司Monitoring method and related device free of burying-point deployment
CN108337100A (en)*2017-01-192018-07-27中移物联网有限公司A kind of method and apparatus of cloud platform monitoring
CN108667745A (en)*2017-03-302018-10-16深圳市中兴微电子技术有限公司 Method and device for traffic monitoring
CN109039740A (en)*2018-08-012018-12-18平安科技(深圳)有限公司A kind of method and apparatus handling O&M monitoring alarm
CN109542705A (en)*2018-11-282019-03-29郑州云海信息技术有限公司A kind of monitored item adding method and device
CN109787813A (en)*2018-12-212019-05-21北京奇安信科技有限公司Configuration method, equipment, system and the medium of service chaining based on SDN
CN109873717A (en)*2019-01-182019-06-11深圳壹账通智能科技有限公司 Monitoring method, device, computer equipment and storage medium
US20190253457A1 (en)*2018-02-152019-08-15Oracle International CorporationSystem and method for providing security services using a configuration template in a multi-tenant environment
WO2019153532A1 (en)*2018-02-072019-08-15平安科技(深圳)有限公司Deployment method and apparatus for monitoring system, and computer device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106203640A (en)*2016-07-062016-12-07中车青岛四方机车车辆股份有限公司A kind of O&M configuration management method and device based on EMU
CN110196721B (en)*2019-04-262022-02-18腾讯科技(深圳)有限公司Internet data center management method, system and medium
CN110855473B (en)*2019-10-162022-11-18平安科技(深圳)有限公司Monitoring method, device, server and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1781282A (en)*2003-05-012006-05-31皇家飞利浦电子股份有限公司An ad-hoc network, a network device and a method of configuration management therefor
US20120117226A1 (en)*2010-11-052012-05-10Hitachi, Ltd.Monitoring system of computer and monitoring method
US20140237114A1 (en)*2012-12-132014-08-21Tencent Technology (Shenzhen) Company LimitedMethod and system for managing servers
US20150236889A1 (en)*2014-02-142015-08-20Samsung Eletrônica da Amazônia Ltda.Method for enabling hierarchical architecture of device management gateways
US9667704B1 (en)*2014-04-262017-05-30Google Inc.System and method for classifying API requests in API processing systems using a tree configuration
CN105335207A (en)*2014-05-292016-02-17国际商业机器公司Method and apparatus for managing virtual machine instance
CN105183610A (en)*2015-09-222015-12-23浪潮集团有限公司Cloud data center service monitoring system and method based on resource dependency relationship
WO2018103532A1 (en)*2016-12-052018-06-14北京国双科技有限公司Monitoring method and related device free of burying-point deployment
CN108337100A (en)*2017-01-192018-07-27中移物联网有限公司A kind of method and apparatus of cloud platform monitoring
CN108667745A (en)*2017-03-302018-10-16深圳市中兴微电子技术有限公司 Method and device for traffic monitoring
CN107493208A (en)*2017-08-302017-12-19苏州朗动网络科技有限公司Full the link performance monitoring method and system of a kind of medium-and-large-sized operation system
WO2019153532A1 (en)*2018-02-072019-08-15平安科技(深圳)有限公司Deployment method and apparatus for monitoring system, and computer device and storage medium
US20190253457A1 (en)*2018-02-152019-08-15Oracle International CorporationSystem and method for providing security services using a configuration template in a multi-tenant environment
CN109039740A (en)*2018-08-012018-12-18平安科技(深圳)有限公司A kind of method and apparatus handling O&M monitoring alarm
CN109542705A (en)*2018-11-282019-03-29郑州云海信息技术有限公司A kind of monitored item adding method and device
CN109787813A (en)*2018-12-212019-05-21北京奇安信科技有限公司Configuration method, equipment, system and the medium of service chaining based on SDN
CN109873717A (en)*2019-01-182019-06-11深圳壹账通智能科技有限公司 Monitoring method, device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄文宇: "面向业务监控的主机联机业务影响分析方法", 《中国金融电脑》*

Cited By (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2021073433A1 (en)*2019-10-162021-04-22平安科技(深圳)有限公司Monitoring method and device, server, and storage medium
CN111698326A (en)*2020-06-122020-09-22北京百度网讯科技有限公司Method and apparatus for determining cost attribution of cloud service resources
CN111917573A (en)*2020-07-132020-11-10海南车智易通信息技术有限公司Monitoring method, monitoring system and computing device
CN111930718A (en)*2020-08-132020-11-13工银科技有限公司Node adjustment method and device for configuration management database
CN111930718B (en)*2020-08-132023-09-15中国工商银行股份有限公司Node adjustment method and device for configuration management database
CN112433915A (en)*2020-11-302021-03-02泰康保险集团股份有限公司Data monitoring method based on distributed performance monitoring tool and related device
CN112433915B (en)*2020-11-302023-06-16泰康保险集团股份有限公司Data monitoring method and related device based on distributed performance monitoring tool
CN114615169A (en)*2020-12-032022-06-10腾讯科技(深圳)有限公司Path monitoring method, device and computer readable storage medium
CN114615169B (en)*2020-12-032023-10-20腾讯科技(深圳)有限公司Path monitoring method, path monitoring device and computer readable storage medium
CN113176975A (en)*2021-03-302021-07-27东软集团股份有限公司Monitoring data processing method and device, storage medium and electronic equipment
CN113176975B (en)*2021-03-302023-10-31东软集团股份有限公司Method and device for processing monitoring data, storage medium and electronic equipment
CN113065801A (en)*2021-04-262021-07-02平安普惠企业管理有限公司Organization architecture management method, device, equipment and storage medium
CN113791964A (en)*2021-09-272021-12-14首约科技(北京)有限公司Service monitoring method based on four layers of transmission control protocol
CN114418342A (en)*2021-12-282022-04-29中国电信股份有限公司 A business data processing method, device and readable storage medium
CN114281652A (en)*2021-12-302022-04-05胜斗士(上海)科技技术发展有限公司 Resource display method and device
CN114780335A (en)*2022-04-112022-07-22深圳市金蝶天燕云计算股份有限公司 Correlation method, apparatus, computer equipment and storage medium for monitoring data
CN114741425A (en)*2022-04-132022-07-12上海钧正网络科技有限公司Alarm information processing method and device, electronic equipment and storage medium
CN116204388A (en)*2023-04-272023-06-02北京合力金智科技发展有限公司Intelligent monitoring system and method for system service state

Also Published As

Publication numberPublication date
WO2021073433A1 (en)2021-04-22
CN110855473B (en)2022-11-18

Similar Documents

PublicationPublication DateTitle
CN110855473B (en)Monitoring method, device, server and storage medium
US9665420B2 (en)Causal engine and correlation engine based log analyzer
US20190286510A1 (en)Automatic correlation of dynamic system events within computing devices
US10805163B2 (en)Identifying device types based on behavior attributes
US10108634B1 (en)Identification and removal of duplicate event records from a security information and event management database
CN110838944B (en)Method for realizing cloud center tenant dimension topological graph
CN112883125A (en)Entity data processing method, device, equipment and storage medium
WO2019076001A1 (en)Information updating method and device
CN111147306B (en) Fault analysis method, device and platform for Internet of Things equipment
CN111459944A (en)MR data storage method, device, server and storage medium
US11558242B2 (en)Generation of synthetic alerts and unified dashboard for viewing multiple layers of data center simultaneously
CN113704790A (en)Abnormal log information summarizing method and computer equipment
CN117273429A (en)Event monitoring method, system, electronic equipment and storage medium
CN113792008A (en)Method and device for acquiring network topology structure, electronic equipment and storage medium
WO2015139565A1 (en)Heterogeneous logging system management configuration
CN114666231B (en)Visual operation and maintenance management method and system under multi-cloud environment and storage medium
CN116340536A (en)Operation and maintenance knowledge graph construction method, device, equipment, medium and program product
US11818087B1 (en)User-to-user messaging-based software troubleshooting tool
CN107544894B (en)Log processing method and device and server
CN109800069B (en)Method and device for realizing data management
CN109284833B (en)Method, apparatus and storage medium for obtaining feature data for machine learning model
CN115344582A (en) Metadata management method, device, electronic device, and computer storage medium
CN115941446B (en)Alarm root cause positioning method, device, electronic equipment and computer readable medium
CN116820874A (en)Enterprise-level big data component and method for monitoring and alarming application
US10664501B2 (en)Deriving and interpreting users collective data asset use across analytic software systems

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp