CN111541590B - Link monitoring method, alarm method, system, terminal and storage medium - Google Patents

Link monitoring method, alarm method, system, terminal and storage medium Download PDF

Info

Publication number
CN111541590B
CN111541590B CN202010649744.1A CN202010649744A CN111541590B CN 111541590 B CN111541590 B CN 111541590B CN 202010649744 A CN202010649744 A CN 202010649744A CN 111541590 B CN111541590 B CN 111541590B
Authority
CN
China
Prior art keywords
monitoring
index
link
probe
acquiring
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
CN202010649744.1A
Other languages
Chinese (zh)
Other versions
CN111541590A (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.)
Guangzhou Xuanwu Wireless Technology Co Ltd
Original Assignee
Guangzhou Xuanwu Wireless Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xuanwu Wireless Technology Co Ltd filed Critical Guangzhou Xuanwu Wireless Technology Co Ltd
Priority to CN202010649744.1A priority Critical patent/CN111541590B/en
Publication of CN111541590A publication Critical patent/CN111541590A/en
Application granted granted Critical
Publication of CN111541590B publication Critical patent/CN111541590B/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/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0681Configuration of triggering conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Abstract

The invention discloses a link monitoring method, an alarm method, a system, a terminal and a storage medium. The link monitoring method comprises the following steps: acquiring an identification ID of a first monitoring probe; synchronizing a second monitoring probe, and setting the identification ID of the second monitoring probe as the identification ID of the first monitoring probe; acquiring a first monitoring index and a second monitoring index; acquiring a first monitoring index and a second monitoring index, wherein the second monitoring index is packaged with an SPAN label; reporting the first monitoring index and the second monitoring index can realize the expansion of monitoring logic, meet the monitoring variable demand scene, and reduce the use cost without additionally introducing a monitoring system.

Description

Link monitoring method, alarm method, system, terminal and storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a link monitoring method, an alarm method, a system, a terminal, and a storage medium.
Background
With the popularity of microservice architectures, services are refined according to different dimensions, so that often multiple services need to be involved in a single request. The internet application is built on different application module sets, the application modules can be programmed by using different languages and are distributed in different servers and data centers, and the related link monitoring technology is difficult to realize the link monitoring of cross-language and platform. Therefore, tools are needed to help understand system behavior and to analyze performance problems so that when a fault occurs, the problem can be quickly located and solved. The application of full link monitoring can realize data analysis and monitoring of a complex architecture.
At present, full link monitoring is carried out according to general logic, customized expansion is lacked, different monitoring requirement scenes cannot be met, an additional monitoring system needs to be introduced, and use cost is increased.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a link monitoring method, an alarm method, a system, a terminal and a storage medium, which can realize the expansion of monitoring logic, meet the monitoring of variable demand scenes, do not need to additionally introduce a monitoring system and reduce the use cost.
The link monitoring method according to the embodiment of the first aspect of the invention is used for a network monitoring system, and comprises the following steps: acquiring an identification ID of a first monitoring probe; synchronizing a second monitoring probe, and setting the identification ID of the second monitoring probe as the identification ID of the first monitoring probe; acquiring a first monitoring index and a second monitoring index, wherein the second monitoring index is packaged with an SPAN label; and reporting the first monitoring index and the second monitoring index.
The link monitoring method according to the embodiment of the invention at least has the following beneficial effects: the synchronization of the first monitoring probe and the second monitoring probe is realized, the link and the application are respectively monitored, an additional monitoring system is not required to be introduced, and the complexity of link monitoring is reduced.
According to some embodiments of the invention, the first monitoring probe is configured to monitor a first monitoring indicator, the first monitoring indicator comprising a monitoring application indicator; the second monitoring probe is used for monitoring a second monitoring index, and the second monitoring index comprises a monitoring link index.
According to some embodiments of the invention, the link monitoring method further comprises: the link metrics are generated during application run time, and the link metrics are used to collect link metric data.
According to some embodiments of the invention, the link monitoring method further comprises: asynchronously reporting the second monitoring index to a buffer area; and reporting the second monitoring index to a server.
According to the alarm method of the embodiment of the second aspect of the present invention, a second monitoring index reported by the link monitoring method of the first aspect is obtained; the SPAN label is obtained according to the second monitoring index; acquiring the SPAN label according to the second monitoring index; acquiring a monitoring link index according to the SPAN label; judging whether the monitored link index exceeds an alarm threshold value; if the alarm threshold is not exceeded, ending the threshold alarm; if the monitored link index time exceeds the alarm threshold value, further judging whether the monitored link index time is aggregated; if the link index data are aggregated, acquiring the index data of the current link, performing aggregation calculation according to the data within the time range of the index data of the current link, and entering a parameter verification process; and if not, entering a parameter verification process.
The link monitoring method according to the embodiment of the invention at least has the following beneficial effects: and acquiring a monitoring link index according to the acquired link data, processing the alarm information to ensure the authenticity of the alarm data and avoid overload of the AMS server caused by errors of the data. The authenticity of the alarm data received in the operation and maintenance platform is improved, and the requirements on the operation and maintenance platform are reduced.
According to some embodiments of the invention, the parameter verification process comprises: judging whether the parameter verification passes or not, and if the parameter verification does not pass, ending the threshold value alarm; if the parameter passes the verification, calculating an expression according to the parameter; judging whether the expression is true, if not, ending the threshold alarm; and if the expression is true, alarming.
According to some embodiments of the invention, the alerting method further comprises: acquiring the context relation of the SPAN label according to the SPAN label; and generating a topological graph according to the context relation of the SPAN labels.
A link monitoring system according to an embodiment of the third aspect of the present invention includes: a synchronization module to synchronize the identification IDs of the first and second monitoring probes; the monitoring index acquisition module is used for acquiring a first monitoring index and a second monitoring index; the packaging module is used for packaging the SPAN label into the second monitoring index; and the reporting module is used for reporting the first monitoring index and the second monitoring index.
The link monitoring system according to the embodiment of the invention has at least the following beneficial effects: the link monitoring is realized, the link and the application are respectively monitored, the link monitoring index is set according to the link and reported to the operation and maintenance platform, an additional monitoring system is not required to be introduced, and the complexity of link monitoring is reduced.
A terminal according to a fourth aspect embodiment of the present invention comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing: performing the link monitoring method according to the first aspect; alternatively, the method of alerting as described in the second aspect.
The computer-readable storage medium according to the embodiment of the invention has at least the following advantages: the method and the device realize the monitoring of the full link without code intrusion application, reduce the influence on the application performance and realize the decoupling of application and monitoring.
A computer-readable storage medium according to an embodiment of the fifth aspect of the invention, having stored thereon computer-executable instructions for: a link monitoring method as described in the first aspect; alternatively, the method of alerting as described in the second aspect.
The computer-readable storage medium according to the embodiment of the invention has at least the following advantages: the link monitoring is realized, the application and the link monitoring are integrated, the alarm information is screened, and the alarm information meeting the standard is reported.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a link monitoring method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alarm method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an alarm method according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "axial", "radial", "circumferential", and the like, indicate orientations and positional relationships based on the orientations and positional relationships shown in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the device or element so referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be construed as limiting the present invention. Furthermore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
A link monitoring method according to an embodiment of the present invention is described below with reference to fig. 1.
Referring to fig. 1, a link monitoring method according to an embodiment of the present invention at least includes the following steps:
s100: and acquiring the identification ID of the first monitoring probe.
In some embodiments, the identification ID of the first monitoring probe is obtained, and the identification ID of the first monitoring probe is different from the identification ID of the AMS operation and maintenance platform.
S200: the second monitoring probe is synchronized.
In some embodiments, the second monitoring probe is synchronized and the identification ID of the second monitoring probe is set to the identification ID of the first monitoring probe. The second monitoring probe may be a Skywalking agent. The synchronous identification ID can realize the integration of the AMS operation and maintenance platform and the OpenTrace-based monitoring.
S300: and acquiring a first monitoring index and a second monitoring index.
In some embodiments, a first monitoring indicator and a second monitoring indicator are obtained. The first monitored indicator comprises an application indicator and the second monitored indicator comprises a link indicator.
In some embodiments, first link data is obtained, and a first monitoring index and a second monitoring index are obtained according to the first link data.
S600: and reporting the first monitoring index and the second monitoring index.
In some embodiments, reporting the communication framework in the second monitoring indicator includes using the gRPC framework for data transmission. The gPRC framework is used for communication, so that Protobuf can be cooperated, and the application performance is not influenced while a large amount of data transmission is realized. The gPRC can realize data transmission among different platforms and languages, and meets the requirements of a distributed system.
In some embodiments, the obtaining manner of the first monitoring index includes using an application performance monitoring system skywalk, where the skywalk architecture includes a skywalk agent, and the skywalk agent encapsulates JavaAgent. When the JVM loads the classes and the methods in the classes, the Java Agent modifies the loaded class files. The Java Agent is used for assisting in monitoring and running applications on other JVMs.
In some embodiments, the second monitoring index and the SPAN tag are processed using Protocol Buffers, namely Protocol. The data can be serialized by using Protobuf, the data is converted into a format capable of being stored and transmitted, and meanwhile, the serialized result can be reconstructed back to the original data. The data processing by using the Protobuf can support cross-platform and language data processing, so that data can be transmitted on a distributed platform and can be decoded. The data can be serialized into binary codes by using the Protobuf, so that the data volume needing to be transmitted is greatly reduced, the data volume needing to be transmitted is reduced, and the data transmission efficiency is improved.
In some embodiments, Java Agents are used to add link index collection logic before and after the method execution.
In some embodiments, the second monitoring index is reported to the AMS operation and maintenance monitoring platform, and the AMS operation and maintenance monitoring platform may monitor the link according to the monitoring link index.
In some embodiments, the data may be serialized into binary code using Protobuf, which may greatly reduce the amount of data that needs to be transmitted, and improve the efficiency of data transmission. Meanwhile, the Protobuf can reduce the influence on the application and improve the performance of the operation and maintenance platform.
In some embodiments, an identification ID of the first monitoring probe is obtained; synchronizing the second monitoring probe, and setting the identification ID of the second monitoring probe as the identification ID of the first monitoring probe; acquiring a first monitoring index and a second monitoring index; acquiring first link data; acquiring a first monitoring index and a second monitoring index, wherein the second monitoring index is packaged with an SPAN label; and reporting the first monitoring index and the second monitoring index.
In some embodiments, the first monitoring probe is configured to monitor a first monitoring indicator, the first monitoring indicator comprising a monitoring application indicator; the second monitoring probe is used for monitoring a second monitoring index, and the second monitoring index comprises a monitoring link index.
In some embodiments, the SPAN tag is set according to a monitored link indicator.
In some embodiments, Java agents are used to add monitoring link indicator collection logic before and after the method execution. And the application operation drives the generation of the monitoring link indexes and reports the monitoring link indexes according to the monitoring link indexes acquired by the acquisition logic.
In some embodiments, a monitoring plug-in is written for an application module, and the monitoring plug-in can realize code-free intrusion to the application based on the skywalk Agent. Meanwhile, different monitoring plug-ins are set based on different applications, so that differentiated monitoring of the link can be realized.
In some embodiments, the first monitoring probe is configured to monitor a first monitoring indicator, the first monitoring indicator comprising a monitoring application indicator; the second monitoring probe is used for monitoring a second monitoring index, and the first monitoring index comprises a monitoring link index.
In some embodiments, the application metrics include application module metrics for monitoring a status of the application module.
In some embodiments, monitoring the link indicator comprises a trace indicator for monitoring a status of the link.
In some embodiments, the link index monitoring may be set according to different applications, so as to achieve flexible monitoring of the link index.
In some embodiments, the second monitoring indicator data is encapsulated according to an open distributed trace OpenTrace specification, which is used for data tracing on different platforms and systems.
In some embodiments, the monitored link metrics are generated at application runtime, and the monitored link metrics are used to collect metric data at link transmission time.
As shown in fig. 2, the warning method according to the embodiment of the present invention at least includes the following steps:
s701: and acquiring the SPAN label according to the second link data.
In some embodiments, the second link data is parsed, and an encapsulated SPAN tag is obtained. The second link data is encapsulated according to the OpenTrace specification, so that the second link data can be analyzed on different platforms.
S702: and acquiring a monitoring link index according to the SPAN label.
In some embodiments, a monitoring link index is obtained according to the content of the SPAN tag, and the link index is set according to different applications and is generated and reported in the application running process.
S703: and judging whether the monitored link index exceeds an alarm threshold value.
In some embodiments, it is determined whether the value in the monitored link indicator exceeds an alarm threshold, where the alarm threshold may be set according to different link indicators, and may also be set according to different applications and requirements.
S704: and judging whether the monitoring link index time is aggregated.
In some embodiments, whether the monitored link index time is aggregated is judged, if the monitored link index time is aggregated, aggregation calculation is performed, and if the monitored link index time is not aggregated, a parameter verification process is performed on the monitored link index, so that an error alarm is prevented from being sent out by the AMS operation and maintenance platform due to the fact that error data is acquired.
S705: and acquiring current link index data.
In some embodiments, current link indicator data is obtained for aggregation of the monitored link indicator times.
S706: and performing aggregation calculation on data in the time range of the current link index data.
In some embodiments, the aggregation calculation is performed according to the data in the time range of the current link index data to obtain the check parameter.
S707: ending the threshold alarm.
In some embodiments, if the value in the monitored link indicator exceeds the alarm threshold and does not exceed the alarm threshold, the threshold alarm process is terminated. The performance and stability of the operation and maintenance system are prevented from being influenced by frequent alarms.
S800: and (5) parameter checking process.
In some embodiments, when monitoring link indicator time aggregation or processed time aggregation, a parameter verification procedure is performed.
In some embodiments, the link monitoring method further comprises: acquiring an SPAN label according to the second monitoring data; acquiring a monitoring link index according to the SPAN label; judging whether the monitored link index exceeds an alarm threshold value; if the alarm threshold is not exceeded, ending the threshold alarm; if the monitored link index time exceeds the alarm threshold, further judging whether the monitored link index time is aggregated; if the link index data is aggregated, acquiring the index data of the current link, performing aggregation calculation according to the data within the time range of the index data of the current link, and entering a parameter verification process; and if not, entering a parameter verification process.
As shown in fig. 3, the warning method according to the embodiment of the present invention at least includes the following steps:
s801: and judging whether the parameter check is passed or not.
In some embodiments, determining whether the parameter check passes includes checking the result after the aggregation calculation when monitoring link indicator time aggregation and checking the parameter when monitoring link indicator time non-aggregation.
S802: and calculating an expression according to the parameters.
In some embodiments, the expression is calculated according to Avaitor.
S803: it is determined whether the expression is true.
In some embodiments, it is determined whether the expression computed by avator is true, and if not, it is determined that an alarm is required, and if not, it is determined that an alarm is not required.
S804: and (5) alarming.
In some embodiments, if the expression is true, an alarm is given, and since data verification is performed before the alarm, the authenticity of alarm data is improved, and the operating pressure of the AMS operation and maintenance platform can be reduced.
S707: ending the threshold alarm.
In some embodiments, if the expression is not true or the parameter check fails, the threshold alarm is terminated, and an error alarm caused by a parameter error is avoided.
In some embodiments, the parameter verification process includes: judging whether the parameter verification passes or not, and if the parameter verification does not pass, ending the threshold value alarm; if the parameter passes the verification, calculating an expression according to the parameter; judging whether the expression is true, if not, ending the threshold alarm; and if the expression is true, alarming.
In some embodiments, the authenticity of the alarm data can be guaranteed by using a parameter checking process, and overload of the AMS server caused by errors of the data can be avoided. The authenticity of the alarm data received in the operation and maintenance platform is improved, and the requirements on the operation and maintenance platform are reduced.
The link monitoring system according to the embodiment of the invention comprises: the synchronization module is used for synchronizing the identification IDs of the first monitoring probe and the second monitoring probe; the monitoring index acquisition module is used for acquiring a first monitoring index and a second monitoring index; the link acquisition module is used for acquiring first link data; the encapsulating module is used for encapsulating the SPAN label into first link data to form second link data; and the reporting module is used for reporting the first monitoring index and the second link data.
The terminal according to the embodiment of the invention comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing: the link monitoring method as described above; or an alert method as described above.
In some embodiments, the terminal device may be a computing device such as a desktop computer, a notebook, a palm top computer, and a cloud server. The Processor 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, or the like. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor is a control center of the management terminal device of the above-mentioned link monitoring system, and various interfaces and lines are used to connect various parts of the management terminal device of the whole link monitoring system.
In some embodiments, the memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
A computer-readable storage medium according to an embodiment of the present invention stores computer-executable instructions for: performing the link monitoring method as described above; alternatively, the alert method as described above is performed.
In some embodiments, a computer program may be stored in a computer readable storage medium, which when executed by a processor, may implement the steps of the various method embodiments described above. 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: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (9)

1. A link monitoring method is used for a network monitoring system and comprises the following steps:
acquiring an identification ID of a first monitoring probe, wherein the first monitoring probe is used for monitoring a first monitoring index, and the first monitoring index comprises a monitoring application index;
synchronizing a second monitoring probe, setting the identification ID of the second monitoring probe as the identification ID of the first monitoring probe, wherein the second monitoring probe is used for monitoring a second monitoring index, and the second monitoring index comprises a monitoring link index;
acquiring the first monitoring index and the second monitoring index, wherein the second monitoring index is packaged with an SPAN label;
and reporting the first monitoring index and the second monitoring index.
2. The link monitoring method according to claim 1, wherein the monitored link indicator is generated during application run time, and the monitored link indicator is used for collecting link indicator data.
3. The link monitoring method according to claim 1, further comprising:
asynchronously reporting the second monitoring index to a buffer area;
and reporting the second monitoring index to a server.
4. An alert method comprising:
acquiring a second monitoring index reported by the link monitoring method according to any one of claims 1 to 3;
acquiring an SPAN label according to the second monitoring index;
acquiring a monitoring link index according to the SPAN label;
judging whether the monitored link index exceeds an alarm threshold value; if the alarm threshold is not exceeded, ending the threshold alarm; if the monitored link index time exceeds the alarm threshold value, further judging whether the monitored link index time is aggregated; if the link index data are aggregated, acquiring the index data of the current link, performing aggregation calculation according to the data within the time range of the index data of the current link, and entering a parameter verification process; and if not, entering a parameter verification process.
5. The warning method according to claim 4, wherein the parameter verification process comprises:
judging whether the parameter verification passes or not, and if the parameter verification does not pass, ending the threshold value alarm;
if the parameter passes the verification, calculating an expression according to the parameter; judging whether the expression is true, if not, ending the threshold alarm; and if the expression is true, alarming.
6. The alerting method of claim 4 wherein the link monitoring method further comprises:
acquiring the context relation of the SPAN label according to the SPAN label;
and generating a topological graph according to the context relation of the SPAN labels.
7. A link monitoring system for a first monitoring probe and a second monitoring probe, comprising:
a synchronization module to synchronize the identification IDs of the first and second monitoring probes;
the monitoring system comprises a monitoring index acquisition module, a first monitoring probe and a second monitoring probe, wherein the monitoring index acquisition module is used for acquiring a first monitoring index and a second monitoring index, the first monitoring probe is used for monitoring the first monitoring index, and the first monitoring index comprises a monitoring application index; the second monitoring probe is used for monitoring the second monitoring index, and the second monitoring index comprises a monitoring link index;
the packaging module is used for packaging the SPAN label into the second monitoring index;
and the reporting module is used for reporting the first monitoring index and the second monitoring index.
8. A terminal, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor when executing the program implementing:
a link monitoring method according to any one of claims 1 to 3;
or the alerting method of any of claims 4 to 6.
9. A computer-readable storage medium storing computer-executable instructions for:
performing the link monitoring method according to any one of claims 1 to 3;
or the alerting method of any of claims 4 to 6.
CN202010649744.1A 2020-07-08 2020-07-08 Link monitoring method, alarm method, system, terminal and storage medium Active CN111541590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010649744.1A CN111541590B (en) 2020-07-08 2020-07-08 Link monitoring method, alarm method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010649744.1A CN111541590B (en) 2020-07-08 2020-07-08 Link monitoring method, alarm method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111541590A CN111541590A (en) 2020-08-14
CN111541590B true CN111541590B (en) 2020-11-06

Family

ID=71980926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010649744.1A Active CN111541590B (en) 2020-07-08 2020-07-08 Link monitoring method, alarm method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111541590B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035317B (en) * 2020-08-28 2022-06-17 北京浪潮数据技术有限公司 Micro-service link monitoring method, device, equipment and medium
CN112118153B (en) * 2020-09-06 2022-12-27 苏州浪潮智能科技有限公司 Grpc and spring mvc-based link monitoring method and system
CN112286769B (en) * 2020-11-20 2023-10-20 成都完美天智游科技有限公司 Monitoring method, monitoring device, computer equipment and storage medium
CN114697232B (en) * 2020-12-25 2024-02-23 中国移动通信集团福建有限公司 System and method for acquiring index data of Skywalk probe and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997432A (en) * 2013-07-31 2014-08-20 中国人民解放军理工大学 Measuring system and method for supporting analysis of OpenFlow application performance
CN109818823A (en) * 2018-12-29 2019-05-28 北京奥鹏远程教育中心有限公司 Full link trace system
CN110535902A (en) * 2019-07-16 2019-12-03 平安普惠企业管理有限公司 The processing method and electronic device of monitoring intelligent are realized based on micro services
CN110688277A (en) * 2019-09-12 2020-01-14 上海易点时空网络有限公司 Data monitoring method and device for micro-service framework

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020042830A1 (en) * 2000-03-31 2002-04-11 Subhra Bose System, method and applications real-time messaging over HTTP-based protocols
CN108628719B (en) * 2018-04-19 2022-01-11 杭州朗和科技有限公司 Application data acquisition method, medium, device and computing equipment
CN110611715B (en) * 2019-09-23 2023-11-28 国云科技股份有限公司 System and method for collecting cloud monitoring information through service links
CN110888780A (en) * 2019-11-19 2020-03-17 泰康保险集团股份有限公司 Application monitoring method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997432A (en) * 2013-07-31 2014-08-20 中国人民解放军理工大学 Measuring system and method for supporting analysis of OpenFlow application performance
CN109818823A (en) * 2018-12-29 2019-05-28 北京奥鹏远程教育中心有限公司 Full link trace system
CN110535902A (en) * 2019-07-16 2019-12-03 平安普惠企业管理有限公司 The processing method and electronic device of monitoring intelligent are realized based on micro services
CN110688277A (en) * 2019-09-12 2020-01-14 上海易点时空网络有限公司 Data monitoring method and device for micro-service framework

Also Published As

Publication number Publication date
CN111541590A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111541590B (en) Link monitoring method, alarm method, system, terminal and storage medium
CN107729210B (en) Distributed service cluster abnormity diagnosis method and device
CN109491894A (en) A kind of method and apparatus of interface testing
CN108038039B (en) Method for recording log and micro-service system
CN110532152A (en) A kind of monitoring alarm processing method and system based on Kapacitor computing engines
CN114500690B (en) Interface data processing method and device, electronic equipment and storage medium
CN111459782B (en) Method and device for monitoring service system, cloud platform system and server
CN111881011A (en) Log management method, platform, server and storage medium
CN110062926B (en) Device driver telemetry
CN110224874A (en) A kind of processing method and processing device of equipment fault
CN112242938B (en) Detection method, device, electronic equipment and computer readable storage medium
CN116166505B (en) Monitoring platform, method, storage medium and equipment for dual-state IT architecture in financial industry
CN111881014A (en) System test method, device, storage medium and electronic equipment
CN112235262A (en) Message analysis method and device, electronic equipment and computer readable storage medium
CN112181430A (en) Code change statistical method and device, electronic equipment and storage medium
CN112257065A (en) Process event processing method and device
CN111654405A (en) Method, device, equipment and storage medium for fault node of communication link
CN111949474A (en) Message monitoring method, warning method, system, terminal and storage medium
CN112463156B (en) Method and terminal for component attribute linkage verification
CN112241355A (en) Link tracking method, system, computer readable storage medium and electronic device
CN114154020A (en) Large-capacity data processing method and device based on dynamic label mapping
US10467082B2 (en) Device driver verification
CN111107143A (en) Network file transmission detection method, device and system
CN111324542B (en) Web application regression test case selection system, method and equipment
CN114374727B (en) Data calling method and device based on artificial intelligence, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 510308 room 23bd, No. 109, TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU XUANWU WIRELESS TECHNOLOGY Co.,Ltd.

Address before: 510620 unit 01, 32F, building B, Victoria Plaza, 103 TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU XUANWU WIRELESS TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder