CN116055303A - Link monitoring processing method and device, electronic equipment and storage medium - Google Patents
Link monitoring processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116055303A CN116055303A CN202310122564.1A CN202310122564A CN116055303A CN 116055303 A CN116055303 A CN 116055303A CN 202310122564 A CN202310122564 A CN 202310122564A CN 116055303 A CN116055303 A CN 116055303A
- Authority
- CN
- China
- Prior art keywords
- resource information
- link
- node
- information
- sending
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 57
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000004458 analytical method Methods 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 17
- 238000010586 diagram Methods 0.000 description 9
- 230000008676 import Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a link monitoring processing method, a device, electronic equipment and a storage medium, and relates to the technical field of Internet, wherein the link monitoring processing method comprises the following steps: according to the link conduction direction, first resource information is sent to a first sending node in the connected network nodes, wherein the rear-end server sends second resource information to a second sending node in the connected network nodes; receiving the second resource information transmitted by the second sending node through a second receiving node, wherein the second resource information comprises the resource information of each passing network node; and analyzing and acquiring a link state according to the second resource information, and displaying the link state by adopting a preset template. According to the method and the device, the resource information of all links is monitored in real time, the link state is analyzed and obtained, the fault link is rapidly positioned, the state of the whole data exchange link is visually checked, the operation and maintenance efficiency is improved, and the cost is reduced.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a link monitoring processing method, a device, an electronic device, and a storage medium.
Background
With the rapid development of networks, various large operators deploy tens of thousands of IT devices due to the diversity of services, and the device types, manufacturers and models of the large operators are complicated. Therefore, a large data center oriented IT monitoring system is needed to support daily operation and maintenance work. In the existing operation and maintenance monitoring technology, for a network security isolation and information unidirectional import system, a unidirectional feedback-free isolation exchange module (called single guide for short) is adopted to realize unidirectional transmission of data between different network domains. The data security exchange platform is a polymorphic information exchange system based on single guide, and the basic form is that the data security exchange platform is deployed on a front server and a rear server to cooperate with the single guide, can realize unidirectional/bi-unidirectional data exchange and synchronization and proxy functions, and ensures the security, the high efficiency, the management and the controllability of the information exchange between networks.
At present, the existing operation and maintenance monitoring technology based on unidirectional feedback-free transmission scenes is mainly used for checking whether logs or programs of all nodes are abnormal or not based on manual analysis of log files of all nodes.
In practical application, when a certain node or a plurality of nodes fail, the failure point is difficult to be rapidly positioned, the failure point cannot be prevented in advance, and the operation and maintenance efficiency and cost are seriously affected.
Disclosure of Invention
The invention aims to provide a link monitoring processing method, a device, electronic equipment and a storage medium, so as to improve operation and maintenance efficiency and reduce cost.
In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
in a first aspect, an embodiment of the present application provides a link monitoring processing method, which is applied to a front-end server in a link monitoring topology, where the link monitoring topology includes: a front-end server, a back-end server, and a plurality of network nodes; the method comprises the following steps:
according to the link conduction direction, first resource information is sent to a first sending node in the connected network nodes, wherein the first resource information is transmitted to the post server through a first receiving node by the first sending node, second resource information is sent to a second sending node in the connected network nodes by the post server, the second resource information comprises a message queue, and the message queue comprises resource information of each passing network node;
receiving the second resource information transmitted by the second sending node through a second receiving node;
and analyzing and acquiring a link state according to the second resource information, and displaying the link state by adopting a preset template.
In an alternative embodiment, the second resource information further includes: the time when each network node sends out the resource information;
the analyzing to obtain the link state according to the second resource information includes:
calculating a plurality of time differences according to the receiving time of the second resource information and the time of sending the resource information by each network node;
and comparing the time difference with a preset threshold value, and analyzing and acquiring the link state.
In an optional implementation manner, the comparing the time difference with a preset threshold value according to the time difference, analyzing and obtaining the link state includes:
and if the time difference larger than the preset threshold exists in the time differences, determining the fault network node in the link according to the time difference larger than the preset threshold.
In an optional implementation manner, the sending, according to the link conducting direction, the first resource information to a first sending node in the connected network nodes includes:
and sending first resource information to a first sending node in the connected network nodes according to a preset period and the link conduction direction.
In an alternative embodiment, the first resource information and the second resource information each include at least one of: processor information, memory information, disk information, network card uplink and downlink information, application program processes and network states.
In an alternative embodiment, the link state includes: resource information, application state information, and failure information for each of the network nodes.
In an optional implementation manner, the analyzing to obtain the link state according to the second resource information and displaying the link state by using a preset template includes:
analyzing whether the resource information of each network node is larger than an early warning value according to the resource information;
if the resource information larger than the early warning value exists, the preset template further comprises display early warning information.
In a second aspect, an embodiment of the present application provides a link monitoring processing apparatus, which is applied to a front-end server in a link monitoring topology, where the link monitoring topology includes: a front-end server, a back-end server, and a plurality of network nodes; comprising the following steps:
a sending module, configured to send first resource information to a first sending node in the connected network nodes according to a link conduction direction, where the first resource information is transmitted to the post server by the first sending node through a first receiving node, and the post server sends second resource information to a second sending node in the connected network nodes, where the second resource information includes a message queue, and the message queue includes resource information of each network node passing through;
the receiving module is used for receiving the second resource information transmitted by the second sending node through the second receiving node;
and the analysis display module is used for analyzing and acquiring the link state according to the second resource information and displaying the link state by adopting a preset template.
In an alternative embodiment, the second resource information further includes: the time when each network node sends out the resource information; the analysis display module is specifically configured to calculate a plurality of time differences according to a receiving time of the second resource information and a time of sending the resource information by each network node; and comparing the time difference with a preset threshold value, and analyzing and acquiring the link state.
In an optional implementation manner, the analysis and display module is specifically configured to determine, if there is a time difference greater than the preset threshold value in the plurality of time differences, a failed network node in the link according to the time difference greater than the preset threshold value.
In an optional implementation manner, the sending module is specifically configured to send, according to a preset period and the link conducting direction, first resource information to a first sending node in the connected network nodes.
In an alternative embodiment, the first resource information and the second resource information each include at least one of: processor information, memory information, disk information, network card uplink and downlink information, application program processes and network states.
In an alternative embodiment, the link state includes: resource information, application state information, and failure information for each of the network nodes.
In an optional implementation manner, the analysis display module is specifically configured to analyze whether the resource information of each network node is greater than an early warning value according to the resource information; if the resource information larger than the early warning value exists, the preset template further comprises display early warning information.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium storing machine-readable instructions executable by the processor, the processor in communication with the storage medium via a bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the method provided in the first aspect, and a bus.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method provided in the first aspect.
According to the link monitoring processing method provided by the embodiment of the application, the resource information of the network node is monitored in real time through the front-end server in the link monitoring topology, the link state is analyzed and obtained and displayed, the state of the whole data exchange link is visually checked, in addition, when faults occur, fault points can be found in time through the visual link state, the operation and maintenance efficiency is improved, and the cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a link monitoring topology according to an embodiment of the present application;
fig. 2 is a flow chart of a link monitoring processing method according to an embodiment of the present application;
fig. 3 is a flow chart of a link monitoring processing method according to another embodiment of the present application;
fig. 4 is a flow chart of a link monitoring processing method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a content tag acquiring apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a link monitoring processing method aiming at monitoring resource information of all links and analyzing and acquiring link states. The method may be performed by a computer, processor, or other device capable of processing, computing, etc.
According to the link monitoring processing method provided by the embodiment of the application, the resource information of the network node is monitored in real time through the front-end server in the link monitoring topology, the link state is analyzed and obtained and displayed, the state of the whole data exchange link is visually checked, in addition, when faults occur, fault points can be found in time through the visual link state, the operation and maintenance efficiency is improved, and the cost is reduced.
Fig. 1 is a schematic diagram of a link monitoring topology according to an embodiment of the present application, as shown in fig. 1, including a front-end server, a back-end server, and a plurality of network nodes. Wherein the network node may comprise: at least one transmitting end, at least one receiving end, and are not limited herein.
The front-end server may include: monitoring services (Monitor) and centralized monitoring platform. The monitoring service and the centralized monitoring platform can be application programs or software integrated in the front-end server. The monitoring service is used for delivering the resource information of the front-end server to the message middleware of the transmitting end of the single-import system. The centralized monitoring platform is used for managing the corresponding relation between the topological nodes and the server environment, setting a resource alarm threshold value, consuming and storing the resource information transmitted by each network node, analyzing the link state according to the resource information, visually displaying the resource and program state of each network node, and reminding the alarm and abnormality.
The post server may include: monitor service (Monitor), consumer. The consumer is used for consuming the resource information transmitted by the front-end server and the single-lead-in system, and transmitting the resource information to the next node after consuming. The monitoring service (Monitor) in the back-end server is used for delivering the resource information of the back-end server to the message middleware of the transmitting end of the single-lead-out system.
The plurality of network nodes may include: a single lead-in system and a network node in the single lead-out system. The single lead-in system includes: the sending and receiving ends and the monitoring service and message middleware of the single lead-in system (which may be, for example, rabbitMQ). The single lead-out system also includes: the system comprises a sending end, a receiving end, a monitoring service of a single import system and message middleware.
Wherein, including msender in the sender, the receiver includes: mcrect, msender, mrecver is an independently developed program. msender operates at a single-guide system transmitting end, and mcever operates at a single-guide system receiving end.
It should be noted that msender in the sending end of the single-import system is used for acquiring and transmitting resource information delivered by a front-end server monitoring service (Monitor) in the message middleware of the node, and resource information delivered by the Monitor of the sending end of the single-import system; the mcerver in the receiving end of the single-lead-in system is used for receiving the information (the resource information of the front-end server and the resource information of the sending end of the single-lead-in system) transmitted by the msender and delivering the information to the message middleware of the node, and the rear-end server independently serves for consumption and is transmitted to the message middleware of the sending end of the single-lead-out system; msender in the single-lead-out system sending end is used for acquiring and transmitting the resource information of a front server, the resource information of the single-lead-in system sending end, the resource information of the single-lead-in system receiving end and the resource information of a rear server in the message middleware of the node; and the mcerver in the receiving end of the single-lead-out system is used for receiving the information transmitted by msender (the resource information of the front server, the resource information of the sending end of the single-lead-in system, the resource information of the receiving end of the single-lead-in system, the resource information of the rear server and the resource information of the sending end of the single-lead-out system, and delivering the information to the message middleware of the node.
Message middleware (which may be, for example, rabhitmq) is used to efficiently communicate resource information of each node. Each network node (including the single guide system) performs the reliable transfer of the resource information through the message middleware. Note that, if there is no message middleware (for example, a rabitmq) it is also possible to use a message middleware such as kafka, rocketmq, pulsar instead.
And the receiving end can receive the resource information through the mcever and then deliver the resource information to a message middleware (RabbitMQ) of an external network unit of the single-lead export system.
It should be noted that, the present application supports unidirectional transmission and bi-unidirectional transmission scenarios based on a single-guide system, and also supports a gatekeeper scenario, and if there is no single-guide system, the gatekeeper is used instead, and this function can also be implemented.
In the embodiment of the application, the front-end server monitors all links in real time and analyzes and acquires the link state by receiving the resource information of each network node, so that the fault link is rapidly positioned, the state of the whole data exchange link is visually checked, the fault point is timely found through the visual link state, the problem that positioning fault is difficult to check by manually analyzing each node log is solved, the operation and maintenance efficiency is improved, and the cost is reduced.
Fig. 2 is a flow chart of a link monitoring processing method according to an embodiment of the present application, where the method is performed by a front-end server in the link monitoring topology, as shown in fig. 2, and the method includes:
s201, according to the link conduction direction, first resource information is sent to a first sending node in the connected network nodes.
The first resource information is transmitted to a post server by a first transmitting node through a first receiving node, the post server transmits second resource information to a second transmitting node in the connected network nodes, the second resource information comprises a message queue, and the message queue comprises the resource information of each network node passing through.
It should be noted that the second resource information is generated based on the first resource information, that is, new resource information is added every time a network node passes, and optionally, the second resource information includes a message queue, where the message queue includes resource information of each network node that passes.
Taking fig. 1 as an example, in the single import system, the monitoring service on the front server may deliver the resource information to the message middleware corresponding to the sending end of the single import system at regular intervals (for example, 10 seconds), where the sending end may monitor the first resource information through msender and send the first resource information to the receiving end through the single import system, and the receiving end may receive the first resource information through mcerver and then deliver the first resource information to the message middleware corresponding to the receiving end of the single import system.
When the transmitting end transmits the first resource information to the receiving end, the resource information of the transmitting end is added in the message queue, such as the processor information, the memory information, the disk information, the network card uplink and downlink information, the application program process and the network state of the transmitting end of the single-import system. In addition, the resource information in the monitoring service of the receiving end of the single-import system also needs to be delivered to the message middleware of the node.
The first transmitting node in the network node may be the transmitting end of the single-lead-in system, the first receiving node is the receiving end of the single-lead-in system, and the second transmitting node in the network node is the transmitting end of the single-lead-out system. The conducting direction of the link, specifically, the sending end from the front server to the single-lead-in system, the receiving end from the rear server to the sending end of the single-lead-out system, the receiving end of the single-lead-out system, and finally, the link returns to the front server.
It should be noted that, the front server sends the first resource information to the sending end of the single-import system, where the first resource information is transmitted from the sending end of the single-import system to the rear server through the receiving end of the single-import system, and the content carried in the first resource information may be increased or changed when passing through one network node, and after being monitored and consumed by the rear server, the second resource information is sent to the sending end of the single-import system in the connected network nodes.
The post server receives the first resource information (including the resource information of the pre-server, the resource information of the transmitting end of the single-lead-in system and the resource information of the receiving end of the single-lead-in system) sent by the receiving end of the single-lead-in system, then the post server independently consumes the first resource information, and then forms second resource information together with the resource information in the post server, and the second resource information is delivered to the message middleware of the transmitting end of the single-lead-out system. Msender in the single-lead-out system sending end is used for acquiring and transmitting second resource information (resource information of a front server, resource information of the single-lead-in system sending end, resource information of a single-lead-in system receiving end and resource information of a rear server) in the node message middleware; and the mcerver in the receiving end of the single-lead-out system is used for receiving the information (the resource information of the front server, the resource information of the sending end of the single-lead-in system, the resource information of the receiving end of the single-lead-in system, the resource information of the rear server and the resource information of the sending end of the single-lead-out system) transmitted by the msender and delivering the information to the message middleware of the node.
S202, receiving second resource information transmitted by a second sending node through a second receiving node.
It should be noted that the second receiving node is a receiving end of the single-lead-out system. The front-end server receives second resource information transmitted by the transmitting end of the single-lead-out system through the receiving end of the single-lead-out system.
S203, analyzing and acquiring a link state according to the second resource information, and displaying the link state by adopting a preset template.
The front-end server analyzes and acquires the link state according to the second resource information, and the acquired link state can display related information through a preset template so as to be convenient for operation and maintenance personnel or users to intuitively check.
According to the method and the device, according to the link conduction direction, the first resource information is sent to the connected network nodes, the second resource information transmitted by the second receiving node is received, the resource information of each network node passing through can be obtained, the link state is further analyzed and obtained, the state of the whole data exchange link is visually checked, the problem that locating faults are difficult to check by manually analyzing logs of each node is solved, operation and maintenance efficiency is improved, and cost is reduced.
Fig. 3 is a flow chart of a link monitoring processing method according to another embodiment of the present application, and, on the basis of the foregoing embodiment, as shown in fig. 3, the second resource information includes a time when each network node sends out the resource information.
The analyzing and obtaining the link state according to the second resource information includes:
s301, calculating a plurality of time differences according to the receiving time of the second resource information and the time of sending the resource information by each network node.
When the resource information passes through each network node, the time when the network node sends new resource information can be recorded, and the front-end server can calculate a plurality of time differences according to the comparison between the receiving time when the second resource information is received and the time when each network node sends the resource information.
S302, comparing the time difference with a preset threshold value, and analyzing and obtaining a link state.
Comparing the time differences with a preset threshold value, if the time differences exceed the preset threshold value, indicating that the link of the network node is abnormal, and if the time differences do not exceed the preset threshold value, indicating that the link of the network node is normal.
It should be noted that, the time required from the sending out to the returning of each network node to the front-end server is short, which is in the order of milliseconds. For example, the preset threshold may be set to 10 seconds, may be set to be shorter, such as 5 seconds, 3 seconds, etc., or may be set to be slightly longer, such as 12 seconds, 15 seconds, etc.
In the embodiment of the application, the link state is obtained through analysis by comparing a plurality of time differences with the preset threshold, if the time differences exceed the preset threshold, the link is indicated to be faulty, the problem that locating faults are difficult by manually analyzing each node log is solved, the quick locating of the faulty link is realized, the operation and maintenance efficiency is improved, and the cost is reduced.
In this embodiment of the present application, comparing, according to a time difference, a preset threshold value, and analyzing to obtain a link state includes: if the time difference is larger than the preset threshold value in the plurality of time differences, determining the fault network node in the link according to the time difference larger than the preset threshold value.
And taking the resource information of each network node as heartbeat, if the front-end server can always receive the heartbeat of the network node through the centralized monitoring platform within a preset time threshold, indicating that the link of the network node path is normal, and otherwise, judging that the link is abnormal. And performing coverage analysis according to the link states of the paths of the network nodes.
For example, if the pre-server exceeds the preset threshold and the resource information is not received, but the resource information imported into the single-guide transmitting end is normal, the link between the pre-server and the single-guide transmitting end is indicated to be faulty, and so on. If the post server fails, whether the sending node and the receiving node of the single-import system receive the resource information within the preset threshold range can be judged. In some special situations, the centralized monitoring platform of the front-end server only analyzes according to the time difference to determine a plurality of suspected faults, for example, the faults of the rear-end server can be determined, the faults of the single-guide system can be exported, at the moment, the faults are further checked through manual intervention, for example, an operation and maintenance person can directly check on the server, and finally, the actual fault point is determined, but the preliminary analysis in the process can also help the operation and maintenance person to reduce the processing time and quickly check.
In this embodiment of the present application, according to a link conduction direction, sending first resource information to a first sending node in a connected network node includes: and sending the first resource information to a first sending node in the connected network nodes according to the preset period and the link conduction direction.
It should be noted that the preset period may be set to 5 seconds, 10 seconds, 12 seconds, 15 seconds, etc., which is not limited herein.
If there is no message middleware, the resource information (heartbeat) can be generated into a file, and the heartbeat is pushed in a file circulation mode.
Further, in the embodiment of the present application, the first resource information and the second resource information each include at least one of the following: processor information, memory information, disk information, network card uplink and downlink information, application program processes and network states.
For example, the processor information includes: CPU occupancy rate, memory information includes: memory occupancy, disk information includes: the disk occupancy rate and the network card uplink and downlink information are uplink flow with specific values and downlink flow with specific values, and the application program process and the network state are designated.
In one embodiment of the present application, the link state includes: resource information, application state information, and failure information for each network node.
Wherein, each network node can be provided with a plurality of application programs, and can acquire the state information of the appointed partial application programs and the state information of all the application programs. The failure information may be a link anomaly alert in the network node.
Fig. 4 is a flow chart of a link monitoring processing method according to another embodiment of the present application, as shown in fig. 4, where the analyzing to obtain the link state according to the second resource information and displaying the link state by using a preset template includes:
s401, analyzing whether the resource information of each network node is larger than an early warning value according to the resource information.
And deploying a centralized monitoring platform on a front-end server of the link, and managing the corresponding relation between the topological node and the actual server environment, wherein an early warning value can be set through the centralized monitoring platform.
And S402, if resource information larger than the early warning value exists, displaying the early warning information on the preset template.
If the resource information larger than the early warning value exists, the early warning information can be displayed on the visual preset template. For example, the position of pre-warning information is reserved on a preset template, and the pre-warning information comprises: the memory occupancy is too high. Specific values and anomalies are also displayed in the memory occupancy information, such as memory occupancy: 97%, abnormality. Furthermore, the early warning information can be displayed through preset colors or special effects, so that operation and maintenance personnel or users can pay attention to the early warning information more easily, and the early warning information can be displayed through red fonts.
In the embodiment of the application, by analyzing whether the resource information of each network node is larger than the early warning value, the early warning information can be displayed on the visual interface, and the operation and maintenance personnel or the user is reminded to check the corresponding server before so as to process, so that the operation and maintenance efficiency is improved and the cost is reduced.
Fig. 5 is a schematic diagram of a structural device of a content tag obtaining apparatus according to an embodiment of the present application, where, as shown in fig. 5, the content tag obtaining apparatus is applied to a front-end server in a link monitoring topology, and the link monitoring topology includes: a front-end server, a back-end server, and a plurality of network nodes, the apparatus 500 comprising: the system comprises a sending module 501, a receiving module 502 and an analysis display module 503. Wherein:
the sending module 501 sends first resource information to a first sending node in the connected network nodes according to the link conducting direction, wherein the first resource information is transmitted to a post server by the first sending node through a first receiving node, and the post server sends second resource information to a second sending node in the connected network nodes, the second resource information comprises a message queue, and the message queue comprises resource information of all the network nodes passing through;
a receiving module 502, configured to receive second resource information transmitted by a second sending node through a second receiving node;
the analysis display module 503 is configured to analyze and obtain the link state according to the second resource information, and display the link state by using a preset template.
In an alternative embodiment, the second resource information further includes: the time when each network node sends out the resource information; the analysis and display module 503 is specifically configured to calculate a plurality of time differences according to the time of receiving the second resource information and the time of sending the resource information by each network node; and comparing the time difference with a preset threshold value, and analyzing and acquiring the link state.
In an alternative embodiment, the analysis and display module 503 is specifically configured to determine, if there is a time difference greater than a preset threshold value in the plurality of time differences, a failed network node in the link according to the time difference greater than the preset threshold value.
In an alternative embodiment, the sending module 501 is specifically configured to send the first resource information to a first sending node in the connected network nodes according to a preset period and a link conducting direction.
In an alternative embodiment, the first resource information and the second resource information each include at least one of the following: processor information, memory information, disk information, network card uplink and downlink information, application program processes and network states.
In an alternative embodiment, the link state includes: resource information, application state information, and failure information for each network node.
In an optional implementation manner, the analysis display module 503 is specifically configured to analyze whether the resource information of each network node is greater than the early warning value according to the resource information; if the resource information larger than the early warning value exists, the preset template further comprises display early warning information.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 6, the electronic device 600 includes: a processor 601, a storage medium 602, and a bus 603.
The storage medium 602 stores machine-readable instructions executable by the processor 601. When the electronic device is running, the processor 601 communicates with the storage medium 602 via the bus 603, and the processor 601 executes the machine-readable instructions to perform the steps of the method embodiments described above. The specific implementation manner and the technical effect are similar, and are not repeated here.
The storage medium 602, the processor 601, and the bus 603 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The removable storage device includes at least one software functional module that may be stored in the storage medium 602 in the form of software or firmware (firmware) or cured in an Operating System (OS) of the electronic device. The processor 601 is configured to execute executable modules stored in the storage medium 602, such as software functional modules and computer programs included in a secure processing method of a mobile storage medium.
The storage medium 602 may be, but is not limited to, random access memory (RandomAccessMemory, RAM), read-only memory (ReadOnlyMemory, ROM), programmable read-only memory (Programmable read-OnlyMemory, PROM), erasable read-only memory (ErasableProgrammable read-OnlyMemory, EPROM), electrically erasable read-only memory (ElectroErasableProgrammable read-OnlyMemory, EEPROM), and the like.
Optionally, the present application further provides a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the link monitoring processing method in the above embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The foregoing is merely illustrative of embodiments of the present invention, and the present invention is not limited thereto, and any changes or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and the present invention is intended to be covered by the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. The link monitoring processing method is characterized by being applied to a front-end server in a link monitoring topology, wherein the link monitoring topology comprises the following steps: a front-end server, a back-end server, and a plurality of network nodes;
the method comprises the following steps:
according to the link conduction direction, first resource information is sent to a first sending node in the connected network nodes, wherein the first resource information is transmitted to the post server through a first receiving node by the first sending node, second resource information is sent to a second sending node in the connected network nodes by the post server, the second resource information comprises a message queue, and the message queue comprises resource information of each passing network node;
receiving the second resource information transmitted by the second sending node through a second receiving node;
and analyzing and acquiring a link state according to the second resource information, and displaying the link state by adopting a preset template.
2. The method of claim 1, wherein the second resource information further comprises: the time when each network node sends out the resource information;
the analyzing to obtain the link state according to the second resource information includes:
calculating a plurality of time differences according to the receiving time of the second resource information and the time of sending the resource information by each network node;
and comparing the time difference with a preset threshold value, and analyzing and acquiring the link state.
3. The method of claim 2, wherein said analyzing the link state based on the time difference compared to a preset threshold comprises:
and if the time difference larger than the preset threshold exists in the time differences, determining the fault network node in the link according to the time difference larger than the preset threshold.
4. The method according to claim 1, wherein said sending first resource information to a first sending node of said connected network nodes according to a link turn-on direction comprises:
and sending first resource information to a first sending node in the connected network nodes according to a preset period and the link conduction direction.
5. The method of any of claims 1-4, wherein the first resource information and the second resource information each comprise at least one of: processor information, memory information, disk information, network card uplink and downlink information, application program processes and network states.
6. The method of claim 5, wherein the link state comprises: resource information, application state information, and failure information for each of the network nodes.
7. The method of claim 6, wherein the analyzing to obtain the link state according to the second resource information and displaying the link state using a preset template includes:
analyzing whether the resource information of each network node is larger than an early warning value according to the resource information;
if the resource information larger than the early warning value exists, the preset template further comprises display early warning information.
8. A link monitoring processing device, characterized by being applied to a front-end server in a link monitoring topology, the link monitoring topology comprising: a front-end server, a back-end server, and a plurality of network nodes; comprising the following steps:
a sending module, configured to send first resource information to a first sending node in the connected network nodes according to a link conduction direction, where the first resource information is transmitted to the post server by the first sending node through a first receiving node, and the post server sends second resource information to a second sending node in the connected network nodes, where the second resource information includes a message queue, and the message queue includes resource information of each network node passing through;
the receiving module is used for receiving the second resource information transmitted by the second sending node through the second receiving node;
and the analysis display module is used for analyzing and acquiring the link state according to the second resource information and displaying the link state by adopting a preset template.
9. An electronic device, the electronic device comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of a link monitoring processing method according to any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the link monitoring processing method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310122564.1A CN116055303B (en) | 2023-02-14 | 2023-02-14 | Link monitoring processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310122564.1A CN116055303B (en) | 2023-02-14 | 2023-02-14 | Link monitoring processing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116055303A true CN116055303A (en) | 2023-05-02 |
CN116055303B CN116055303B (en) | 2024-09-03 |
Family
ID=86129477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310122564.1A Active CN116055303B (en) | 2023-02-14 | 2023-02-14 | Link monitoring processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116055303B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116405377A (en) * | 2023-06-07 | 2023-07-07 | 太初(无锡)电子科技有限公司 | Network state detection method, protocol conversion component, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6731648B1 (en) * | 1997-09-17 | 2004-05-04 | British Telecommunications Plc | Method and apparatus for transmitting a return signal in a loop network |
EP1622305A1 (en) * | 2004-07-28 | 2006-02-01 | Hitachi, Ltd. | Method and apparatus for network monitoring |
WO2007113645A2 (en) * | 2006-03-31 | 2007-10-11 | Gridpoint Systems Inc. | Smart ethernet edge networking system |
US20100257400A1 (en) * | 2009-03-18 | 2010-10-07 | Colin Whitby-Strevens | Network loop healing apparatus and methods |
CN102739445A (en) * | 2012-06-18 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for rapidly positioning faults of looped network |
CN106878109A (en) * | 2017-03-13 | 2017-06-20 | 网宿科技股份有限公司 | Server detection method and server system |
CN110650074A (en) * | 2019-10-28 | 2020-01-03 | 河北远方测控技术有限公司 | Fault point positioning and isolating method based on annular communication loop |
CN114338368A (en) * | 2021-12-30 | 2022-04-12 | 南京中孚信息技术有限公司 | Network supervision method, equipment and medium based on unidirectional import equipment |
WO2022134742A1 (en) * | 2020-12-24 | 2022-06-30 | 中兴通讯股份有限公司 | Network failure diagnosis method and apparatus, device and storage medium |
-
2023
- 2023-02-14 CN CN202310122564.1A patent/CN116055303B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6731648B1 (en) * | 1997-09-17 | 2004-05-04 | British Telecommunications Plc | Method and apparatus for transmitting a return signal in a loop network |
EP1622305A1 (en) * | 2004-07-28 | 2006-02-01 | Hitachi, Ltd. | Method and apparatus for network monitoring |
WO2007113645A2 (en) * | 2006-03-31 | 2007-10-11 | Gridpoint Systems Inc. | Smart ethernet edge networking system |
US20100257400A1 (en) * | 2009-03-18 | 2010-10-07 | Colin Whitby-Strevens | Network loop healing apparatus and methods |
CN102739445A (en) * | 2012-06-18 | 2012-10-17 | 中兴通讯股份有限公司 | Method and system for rapidly positioning faults of looped network |
CN106878109A (en) * | 2017-03-13 | 2017-06-20 | 网宿科技股份有限公司 | Server detection method and server system |
CN110650074A (en) * | 2019-10-28 | 2020-01-03 | 河北远方测控技术有限公司 | Fault point positioning and isolating method based on annular communication loop |
WO2022134742A1 (en) * | 2020-12-24 | 2022-06-30 | 中兴通讯股份有限公司 | Network failure diagnosis method and apparatus, device and storage medium |
CN114338368A (en) * | 2021-12-30 | 2022-04-12 | 南京中孚信息技术有限公司 | Network supervision method, equipment and medium based on unidirectional import equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116405377A (en) * | 2023-06-07 | 2023-07-07 | 太初(无锡)电子科技有限公司 | Network state detection method, protocol conversion component, equipment and storage medium |
CN116405377B (en) * | 2023-06-07 | 2023-08-08 | 太初(无锡)电子科技有限公司 | Network state detection method, protocol conversion component, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116055303B (en) | 2024-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107241229B (en) | Service monitoring method and device based on interface testing tool | |
CN110716842B (en) | Cluster fault detection method and device | |
CN103414916A (en) | Fault diagnosis system and method | |
CN102325036B (en) | The method for diagnosing faults of a kind of network system, system and device | |
CN104834582A (en) | Monitoring event display method | |
CN116055303B (en) | Link monitoring processing method and device, electronic equipment and storage medium | |
CN114356499A (en) | Kubernetes cluster alarm root cause analysis method and device | |
CN211321337U (en) | Monitoring system for communication system | |
CN105637488A (en) | Tracing source code for end user monitoring | |
CN112994972B (en) | Distributed probe monitoring platform | |
US8954576B2 (en) | Test analysis system of network and analysis method thereof | |
CN111130934B (en) | Monitoring method, device and system of communication system | |
CN113312200A (en) | Event processing method and device, computer equipment and storage medium | |
CN112035550A (en) | Fault positioning method and device | |
CN112256470B (en) | Fault server positioning method and device, storage medium and electronic equipment | |
CN114338347A (en) | Ampere platform-based fault information out-of-band acquisition method and device | |
CN113381884A (en) | Full link monitoring method and device for monitoring alarm system | |
CN117081906A (en) | Power equipment fault monitoring system, method and storage medium | |
CN110069382B (en) | Software monitoring method, server, terminal device, computer device and medium | |
CN110300021A (en) | A kind of method and computing device calculating substation recording bulletin data processing time | |
CN112468336B (en) | Network quality monitoring and early warning method, device, terminal and storage medium | |
TW201409968A (en) | Information and communication service quality estimation and real-time alarming system and method | |
CN115220992A (en) | Interface change monitoring method and device, computer equipment and storage medium | |
CN115934453A (en) | Troubleshooting method, troubleshooting device and storage medium | |
CN113067722A (en) | Data management platform and working method thereof |
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 |