CN117614880B - Communication line real-time monitoring method based on dynamic array - Google Patents

Communication line real-time monitoring method based on dynamic array Download PDF

Info

Publication number
CN117614880B
CN117614880B CN202410087863.0A CN202410087863A CN117614880B CN 117614880 B CN117614880 B CN 117614880B CN 202410087863 A CN202410087863 A CN 202410087863A CN 117614880 B CN117614880 B CN 117614880B
Authority
CN
China
Prior art keywords
communication line
array
monitored
monitoring
line
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
CN202410087863.0A
Other languages
Chinese (zh)
Other versions
CN117614880A (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.)
Guangdong Guangyu Technology Development Co Ltd
Original Assignee
Guangdong Guangyu Technology Development 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 Guangdong Guangyu Technology Development Co Ltd filed Critical Guangdong Guangyu Technology Development Co Ltd
Priority to CN202410087863.0A priority Critical patent/CN117614880B/en
Publication of CN117614880A publication Critical patent/CN117614880A/en
Application granted granted Critical
Publication of CN117614880B publication Critical patent/CN117614880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The invention relates to the field of communication line real-time monitoring, in particular to a communication line real-time monitoring method based on a dynamic array, which comprises the following steps: s1, respectively acquiring hardware attribute data and line attribute data of a communication line to be monitored; s2, establishing a continuous monitoring dynamic array by utilizing hardware attribute data of the communication line to be monitored; s3, establishing a timeliness monitoring dynamic array by utilizing line attribute data of the communication line to be monitored; s4, the real-time monitoring result of the communication line is obtained by utilizing the continuous monitoring dynamic array and the moment monitoring dynamic array, the safety of line verification is improved, the communication line cannot be simulated and copied, the communication line state is obtained from multiple angles, verification monitoring output is obtained, meanwhile, the bottom logic source of the array is the data of each line, the scheme can be expanded and applied to a wider range of lines, and the traffic and the line topology are not limited.

Description

Communication line real-time monitoring method based on dynamic array
Technical Field
The invention relates to the field of communication line real-time monitoring, in particular to a communication line real-time monitoring method based on a dynamic array.
Background
The conventional communication verification means can perform bidirectional transmission or check the line operation data through the virtual package, the mode is single and has certain limitation, if the conventional method is implemented in real time, extra pressure is caused to the line, but the line cannot be monitored in real time by the interval implementation. Common communication line verification only carries out a one-way verification flow through the accuracy of communication protocol and data packet bidirectional transmission, and under the condition that the communication line has variation or large data volume, the flexibility is insufficient, and meanwhile, the simple sequential verification lacks accuracy guarantee.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a communication line real-time monitoring method based on a dynamic array, which improves the accuracy of monitoring high correlation and monitoring results by combining various data of the communication line with the dynamic array.
In order to achieve the above object, the present invention provides a method for monitoring a communication line in real time based on a dynamic array, including:
S1, respectively acquiring hardware attribute data and line attribute data of a communication line to be monitored;
s2, establishing a continuous monitoring dynamic array by utilizing hardware attribute data of the communication line to be monitored;
S3, establishing a timeliness monitoring dynamic array by utilizing line attribute data of the communication line to be monitored;
and S4, obtaining a real-time monitoring result of the communication line by using the persistence monitoring dynamic array and the timeliness monitoring dynamic array.
Preferably, the respectively obtaining hardware attribute data and line attribute data of the communication line to be monitored includes:
s1-1, acquiring an initial end address and a termination end address of a communication line to be monitored;
S1-2, judging whether a transit node exists between a starting end and a terminating end of the communication line to be monitored, if so, establishing a transit address set by using the transit node address, and then using the starting end address, the terminating end address and the transit address set of the communication line to be monitored as hardware attribute data of the communication line to be monitored, otherwise, using the starting end address and the terminating end address of the communication line to be monitored as hardware attribute data of the communication line to be monitored;
S1-3, acquiring line attribute data of the communication line to be monitored according to the hardware attribute data of the communication line to be monitored;
the starting end and the terminating end are respectively corresponding two ends of the communication line to be detected.
Further, obtaining the line attribute data of the communication line to be monitored according to the hardware attribute data of the communication line to be monitored includes:
S1-3-1, judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, executing the step S1-3-2, otherwise, acquiring the line communication average data quantity corresponding to the hardware attribute data of the communication line to be monitored as the line attribute data of the communication line to be monitored;
S1-3-2, acquiring line communication average data volume from a starting end of a communication line to be monitored to a transit node as first segment line communication average data volume;
S1-3-3, acquiring line communication average data quantity of a transit node of a communication line to be monitored as second section line communication average data quantity;
S1-3-4, taking the average value of the first segment line communication average data volume and the second segment line communication average data volume as line attribute data of the communication line to be monitored.
Further, establishing a dynamic array of persistence monitoring by using the hardware attribute data of the communication line to be monitored includes:
acquiring the current moment as a persistence monitoring standard moment t;
judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the address of the starting end, the address of the transit node and the address of the ending end of the communication line to be monitored to establish a pre-array, a middle array and a post-array, otherwise, utilizing the address of the starting end and the address of the ending end of the communication line to be monitored to establish the pre-array and the post-array;
When the prepositive array, the middle array and the postpositive array exist, respectively establishing a dynamic prepositive array, a dynamic middle array and a dynamic postpositive array according to the persistence monitoring standard time t and the prepositive array, the middle array and the postpositive array, and using the dynamic prepositive array, the dynamic middle array and the dynamic postpositive array as persistence monitoring dynamic arrays;
When the pre-array and the post-array exist, respectively establishing a dynamic pre-array and a dynamic post-array according to the persistence monitoring standard time t and the pre-array and the post-array, and using the dynamic pre-array and the dynamic post-array as persistence monitoring dynamic arrays.
Further, the establishing a dynamic array for monitoring timeliness by using the line attribute data of the communication line to be monitored includes:
s3-1, acquiring the current moment as a moment monitoring standard moment k;
s3-2, judging whether the line attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the first segment line communication average data volume and the second segment line communication average data volume corresponding to the line attribute data of the communication line to be monitored, establishing a first segment line communication array and a second segment line communication array, and executing a step S3-3, otherwise, utilizing the line communication average data volume corresponding to the hardware attribute data of the communication line to be monitored to obtain a timeliness monitoring dynamic array;
S3-3, establishing a first timeliness monitoring dynamic array by utilizing the first segmented line communication array and the time monitoring standard time k;
s3-4, a second time monitoring dynamic array is established by utilizing the second segment line communication array and the adjacent next time k+1 of the time monitoring standard time k;
S3-5, using the first timeliness monitoring dynamic array and the second timeliness monitoring dynamic array as timeliness monitoring dynamic arrays;
Wherein, the time monitoring standard time k and the persistence monitoring standard time t are mutually independent.
Further, the obtaining the dynamic array for monitoring timeliness by using the line communication average data volume corresponding to the hardware attribute data of the communication line to be monitored includes:
Acquiring line communication real-time data volume of a communication line to be monitored at the current moment;
Acquiring a difference value between an average line communication data volume corresponding to hardware attribute data of a monitoring communication line and a line communication real-time data volume of a communication line to be monitored at the current moment;
and judging whether the difference value is a positive value, if so, using the difference value as a timeliness monitoring dynamic array, otherwise, using the positive value corresponding to the difference value as the timeliness monitoring dynamic array.
Preferably, the obtaining the real-time monitoring result of the communication line by using the persistence monitoring dynamic array and the timeliness monitoring dynamic array includes:
s4-1, obtaining a persistence monitoring result of the communication line to be monitored by utilizing the persistence monitoring dynamic array;
s4-2, obtaining a timeliness monitoring result of the communication line to be monitored by using the timeliness monitoring dynamic array;
s4-3, obtaining a real-time monitoring result of the communication line by utilizing the continuous monitoring result and the moment monitoring result of the communication line to be monitored.
Further, obtaining the persistence monitoring result of the communication line to be monitored by using the persistence monitoring dynamic array includes:
S4-1-1, judging whether the communication line to be monitored corresponds to a transit node, if so, executing the step S4-1-2, otherwise, executing the step S4-1-3;
S4-1-2, judging whether the line communication real-time data quantity corresponding to the starting end to the transit node of the communication line to be monitored corresponds to the first time monitoring dynamic array of the continuous monitoring dynamic array, if so, executing the step S4-1-3, otherwise, outputting the starting end to the transit node of the communication line to be monitored as an abnormal line, wherein the continuous monitoring result of the communication line to be monitored is abnormal;
s4-1-3, judging whether the line communication real-time data volume corresponding to the transit node of the communication line to be monitored and the second time monitoring dynamic array of the continuous monitoring dynamic array are corresponding, if yes, the continuous monitoring result of the communication line to be monitored is normal, otherwise, the continuous monitoring result of the communication line to be monitored is abnormal, and outputting the transit node of the communication line to be monitored as an abnormal line to the terminal.
Further, the obtaining the time monitoring result of the communication line to be monitored by using the time monitoring dynamic array includes:
S4-2-1, judging whether the continuous monitoring result of the communication line to be monitored is abnormal, if so, executing the step S4-2-2, otherwise, judging that the continuous monitoring result of the communication line to be monitored is normal;
s4-2-2, judging whether the communication line to be monitored correspondingly has a transit node, if so, executing the step S4-2-3, otherwise, executing the step S4-2-4;
S4-2-3, judging whether a first timeliness monitoring dynamic array and a second timeliness monitoring dynamic array of the timeliness monitoring dynamic array corresponding to the current time are corresponding to a dynamic prepositive array, a dynamic middle array and a dynamic postpositive array of the timeliness monitoring dynamic array, if yes, the timeliness monitoring result of the communication line to be monitored is normal, otherwise, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array which is not corresponding to the timeliness monitoring dynamic array;
s4-2-4, judging whether the difference value of the timeliness monitoring dynamic array corresponding to the current moment corresponds to the dynamic prepositive array and the dynamic postposition array of the timeliness monitoring dynamic array or not, if so, the timeliness monitoring result of the communication line to be monitored is normal, and if not, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array not corresponding to the timeliness monitoring dynamic array.
Further, obtaining the real-time monitoring result of the communication line by using the continuous monitoring result and the moment monitoring result of the communication line to be monitored includes:
When the continuous monitoring result and the moment monitoring result of the communication line to be monitored are normal, the real-time monitoring result of the communication line is normal;
when the continuous monitoring result of the communication line to be monitored is abnormal and the moment monitoring result is normal, returning to the step S2;
Judging whether the number of the generated moment monitoring results of the same communication line to be monitored is more than 2, if so, judging that the real-time monitoring results of the communication line are abnormal, otherwise, judging that the real-time monitoring results of the communication line are normal;
When the continuous monitoring result and the moment monitoring result of the communication line to be monitored are abnormal, the real-time monitoring result of the communication line is abnormal.
Compared with the closest prior art, the invention has the following beneficial effects:
The dynamic array is combined with communication monitoring, the real-time performance and the correlation of the monitoring are improved, problems, verification problems and backtracking and rechecking are found under the condition that the influence on a communication line is reduced as much as possible, a monitoring result is finally output, all data or attributes of the line are built at the beginning of the establishment of the dynamic array, the safety of line verification is improved according to the dynamic change of time, the communication line state cannot be simulated and copied, verification monitoring output is obtained from multiple angles, meanwhile, the bottom logic source of the array is all data of the line, the scheme can be expanded and applied to a wider range of lines, and the traffic and the line topology are not limited.
Drawings
Fig. 1 is a flow chart of a communication line real-time monitoring method based on a dynamic array.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1: the invention provides a communication line real-time monitoring method based on a dynamic array, as shown in figure 1, comprising the following steps:
S1, respectively acquiring hardware attribute data and line attribute data of a communication line to be monitored;
s2, establishing a continuous monitoring dynamic array by utilizing hardware attribute data of the communication line to be monitored;
S3, establishing a timeliness monitoring dynamic array by utilizing line attribute data of the communication line to be monitored;
and S4, obtaining a real-time monitoring result of the communication line by using the persistence monitoring dynamic array and the timeliness monitoring dynamic array.
S1 specifically comprises:
s1-1, acquiring an initial end address and a termination end address of a communication line to be monitored;
S1-2, judging whether a transit node exists between a starting end and a terminating end of the communication line to be monitored, if so, establishing a transit address set by using the transit node address, and then using the starting end address, the terminating end address and the transit address set of the communication line to be monitored as hardware attribute data of the communication line to be monitored, otherwise, using the starting end address and the terminating end address of the communication line to be monitored as hardware attribute data of the communication line to be monitored;
S1-3, acquiring line attribute data of the communication line to be monitored according to the hardware attribute data of the communication line to be monitored;
the starting end and the terminating end are respectively corresponding two ends of the communication line to be detected.
In this embodiment, a method for monitoring a communication line in real time based on a dynamic array, where addresses at each end include, but are not limited to, an IP address, an IPv 432-bit address, an IPv 6128-bit address, and the like.
S1-3 specifically comprises:
S1-3-1, judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, executing the step S1-3-2, otherwise, acquiring the line communication average data quantity corresponding to the hardware attribute data of the communication line to be monitored as the line attribute data of the communication line to be monitored;
S1-3-2, acquiring line communication average data volume from a starting end of a communication line to be monitored to a transit node as first segment line communication average data volume;
S1-3-3, acquiring line communication average data quantity of a transit node of a communication line to be monitored as second section line communication average data quantity;
S1-3-4, taking the average value of the first segment line communication average data volume and the second segment line communication average data volume as line attribute data of the communication line to be monitored.
S2 specifically comprises:
s2-1, acquiring the current moment as a persistence monitoring standard moment t;
S2-2, judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the address of the starting end, the address of the transit node and the address of the ending end of the communication line to be monitored to establish a front array, a middle array and a rear array, otherwise, utilizing the address of the starting end and the address of the ending end of the communication line to be monitored to establish the front array and the rear array;
S2-3, when a front array, a middle array and a rear array exist, respectively establishing a dynamic front array, a dynamic middle array and a dynamic rear array according to the persistence monitoring standard time t and the front array, the middle array and the rear array, and using the dynamic front array, the dynamic middle array and the dynamic rear array as persistence monitoring dynamic arrays;
s2-4, when the front array and the rear array exist, respectively establishing a dynamic front array and a dynamic rear array according to the persistence monitoring standard time t and the front array and the rear array, and using the dynamic front array and the dynamic rear array as persistence monitoring dynamic arrays.
S3 specifically comprises:
s3-1, acquiring the current moment as a moment monitoring standard moment k;
s3-2, judging whether the line attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the first segment line communication average data volume and the second segment line communication average data volume corresponding to the line attribute data of the communication line to be monitored, establishing a first segment line communication array and a second segment line communication array, and executing a step S3-3, otherwise, utilizing the line communication average data volume corresponding to the hardware attribute data of the communication line to be monitored to obtain a timeliness monitoring dynamic array;
S3-3, establishing a first timeliness monitoring dynamic array by utilizing the first segmented line communication array and the time monitoring standard time k;
s3-4, a second time monitoring dynamic array is established by utilizing the second segment line communication array and the adjacent next time k+1 of the time monitoring standard time k;
S3-5, using the first timeliness monitoring dynamic array and the second timeliness monitoring dynamic array as timeliness monitoring dynamic arrays;
Wherein, the time monitoring standard time k and the persistence monitoring standard time t are mutually independent.
S3-2 specifically comprises:
s3-2-1, acquiring line communication real-time data volume of a communication line to be monitored at the current moment;
S3-2-2, obtaining a difference value between the line communication average data volume corresponding to the hardware attribute data of the monitoring communication line and the line communication real-time data volume of the communication line to be monitored at the current moment;
s3-2-3, judging whether the difference value is a positive value, if so, using the difference value as a timeliness monitoring dynamic array, and if not, using the positive value corresponding to the difference value as the timeliness monitoring dynamic array.
S4 specifically comprises the following steps:
s4-1, obtaining a persistence monitoring result of the communication line to be monitored by utilizing the persistence monitoring dynamic array;
s4-2, obtaining a timeliness monitoring result of the communication line to be monitored by using the timeliness monitoring dynamic array;
s4-3, obtaining a real-time monitoring result of the communication line by utilizing the continuous monitoring result and the moment monitoring result of the communication line to be monitored.
S4-1 specifically comprises:
S4-1-1, judging whether the communication line to be monitored corresponds to a transit node, if so, executing the step S4-1-2, otherwise, executing the step S4-1-3;
S4-1-2, judging whether the line communication real-time data quantity corresponding to the starting end to the transit node of the communication line to be monitored corresponds to the first time monitoring dynamic array of the continuous monitoring dynamic array, if so, executing the step S4-1-3, otherwise, outputting the starting end to the transit node of the communication line to be monitored as an abnormal line, wherein the continuous monitoring result of the communication line to be monitored is abnormal;
s4-1-3, judging whether the line communication real-time data volume corresponding to the transit node of the communication line to be monitored and the second time monitoring dynamic array of the continuous monitoring dynamic array are corresponding, if yes, the continuous monitoring result of the communication line to be monitored is normal, otherwise, the continuous monitoring result of the communication line to be monitored is abnormal, and outputting the transit node of the communication line to be monitored as an abnormal line to the terminal.
S4-2 specifically comprises:
S4-2-1, judging whether the continuous monitoring result of the communication line to be monitored is abnormal, if so, executing the step S4-2-2, otherwise, judging that the continuous monitoring result of the communication line to be monitored is normal;
s4-2-2, judging whether the communication line to be monitored correspondingly has a transit node, if so, executing the step S4-2-3, otherwise, executing the step S4-2-4;
S4-2-3, judging whether a first timeliness monitoring dynamic array and a second timeliness monitoring dynamic array of the timeliness monitoring dynamic array corresponding to the current time are corresponding to a dynamic prepositive array, a dynamic middle array and a dynamic postpositive array of the timeliness monitoring dynamic array, if yes, the timeliness monitoring result of the communication line to be monitored is normal, otherwise, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array which is not corresponding to the timeliness monitoring dynamic array;
s4-2-4, judging whether the difference value of the timeliness monitoring dynamic array corresponding to the current moment corresponds to the dynamic prepositive array and the dynamic postposition array of the timeliness monitoring dynamic array or not, if so, the timeliness monitoring result of the communication line to be monitored is normal, and if not, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array not corresponding to the timeliness monitoring dynamic array.
S4-3 specifically comprises:
S4-3-1, when the continuous monitoring result and the moment monitoring result of the communication line to be monitored are both normal, the real-time monitoring result of the communication line is normal;
S4-3-1, returning to S2 when the continuous monitoring result of the communication line to be monitored is abnormal and the moment monitoring result is normal;
S4-3-1-1, judging whether the number of the generated moment monitoring results of the same communication line to be monitored is larger than 2, if so, judging that the real-time monitoring results of the communication line are abnormal, otherwise, judging that the real-time monitoring results of the communication line are normal;
s4-3-1, when the continuous monitoring result and the moment monitoring result of the communication line to be monitored are abnormal, the real-time monitoring result of the communication line is abnormal.
In the embodiment, the method for monitoring the communication line in real time based on the dynamic array limits the circulation times in S4-3-1-1, so that a data error is reserved for line operation, and the condition that excessive circulation causes increase of line communication pressure is avoided is ensured.
In this embodiment, in a communication line real-time monitoring method based on a dynamic array, when a final output result is abnormal, problem backtracking can be performed through a continuous monitoring result or a moment corresponding to a moment monitoring result, so as to find out a problem.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (7)

1. A communication line real-time monitoring method based on dynamic array is characterized by comprising the following steps:
S1, respectively acquiring hardware attribute data and line attribute data of a communication line to be monitored;
the S1 comprises the following steps:
s1-1, acquiring an initial end address and a termination end address of a communication line to be monitored;
S1-2, judging whether a transit node exists between a starting end and a terminating end of the communication line to be monitored, if so, establishing a transit address set by using the transit node address, and then using the starting end address, the terminating end address and the transit address set of the communication line to be monitored as hardware attribute data of the communication line to be monitored, otherwise, using the starting end address and the terminating end address of the communication line to be monitored as hardware attribute data of the communication line to be monitored;
S1-3, acquiring line attribute data of the communication line to be monitored according to the hardware attribute data of the communication line to be monitored;
The starting end and the terminating end are respectively corresponding two ends of the communication line to be detected;
s2, establishing a continuous monitoring dynamic array by utilizing hardware attribute data of the communication line to be monitored;
the step S2 comprises the following steps:
s2-1, acquiring the current moment as a persistence monitoring standard moment t;
S2-2, judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the address of the starting end, the address of the transit node and the address of the ending end of the communication line to be monitored to establish a front array, a middle array and a rear array, otherwise, utilizing the address of the starting end and the address of the ending end of the communication line to be monitored to establish the front array and the rear array;
S2-3, when a front array, a middle array and a rear array exist, respectively establishing a dynamic front array, a dynamic middle array and a dynamic rear array according to the persistence monitoring standard time t and the front array, the middle array and the rear array, and using the dynamic front array, the dynamic middle array and the dynamic rear array as persistence monitoring dynamic arrays;
S2-4, when the prepositive array and the postpositive array exist, respectively establishing a dynamic prepositive array and a dynamic postpositive array according to the persistence monitoring standard time t and the prepositive array and the postpositive array, and using the dynamic prepositive array and the dynamic postpositive array as persistence monitoring dynamic arrays;
S3, establishing a timeliness monitoring dynamic array by utilizing line attribute data of the communication line to be monitored;
the step S3 comprises the following steps:
s3-1, acquiring the current moment as a moment monitoring standard moment k;
s3-2, judging whether the line attribute data of the communication line to be monitored corresponds to a transit node, if so, respectively utilizing the first segment line communication average data volume and the second segment line communication average data volume corresponding to the line attribute data of the communication line to be monitored, establishing a first segment line communication array and a second segment line communication array, and executing a step S3-3, otherwise, utilizing the line communication average data volume corresponding to the hardware attribute data of the communication line to be monitored to obtain a timeliness monitoring dynamic array;
S3-3, establishing a first timeliness monitoring dynamic array by utilizing the first segmented line communication array and the time monitoring standard time k;
s3-4, a second time monitoring dynamic array is established by utilizing the second segment line communication array and the adjacent next time k+1 of the time monitoring standard time k;
S3-5, using the first timeliness monitoring dynamic array and the second timeliness monitoring dynamic array as timeliness monitoring dynamic arrays;
wherein, the time monitoring standard time k and the persistence monitoring standard time t are mutually independent;
and S4, obtaining a real-time monitoring result of the communication line by using the persistence monitoring dynamic array and the timeliness monitoring dynamic array.
2. The method for real-time monitoring a communication line based on a dynamic array according to claim 1, wherein obtaining the line attribute data of the communication line to be monitored according to the hardware attribute data of the communication line to be monitored comprises:
S1-3-1, judging whether the hardware attribute data of the communication line to be monitored corresponds to a transit node, if so, executing the step S1-3-2, otherwise, acquiring the line communication average data quantity corresponding to the hardware attribute data of the communication line to be monitored as the line attribute data of the communication line to be monitored;
S1-3-2, acquiring line communication average data volume from a starting end of a communication line to be monitored to a transit node as first segment line communication average data volume;
S1-3-3, acquiring line communication average data quantity of a transit node of a communication line to be monitored as second section line communication average data quantity;
S1-3-4, taking the average value of the first segment line communication average data volume and the second segment line communication average data volume as line attribute data of the communication line to be monitored.
3. The method for real-time monitoring a communication line based on a dynamic array according to claim 1, wherein obtaining the dynamic array for time monitoring by using the line communication average data amount corresponding to the hardware attribute data of the communication line to be monitored comprises:
Acquiring line communication real-time data volume of a communication line to be monitored at the current moment;
Acquiring a difference value between an average line communication data volume corresponding to hardware attribute data of a monitoring communication line and a line communication real-time data volume of a communication line to be monitored at the current moment;
and judging whether the difference value is a positive value, if so, using the difference value as a timeliness monitoring dynamic array, otherwise, using the positive value corresponding to the difference value as the timeliness monitoring dynamic array.
4. The method for real-time monitoring a communication line based on a dynamic array according to claim 1, wherein obtaining a real-time monitoring result of the communication line by using the persistence monitoring dynamic array and the timeliness monitoring dynamic array comprises:
s4-1, obtaining a persistence monitoring result of the communication line to be monitored by utilizing the persistence monitoring dynamic array;
s4-2, obtaining a timeliness monitoring result of the communication line to be monitored by using the timeliness monitoring dynamic array;
s4-3, obtaining a real-time monitoring result of the communication line by utilizing the continuous monitoring result and the moment monitoring result of the communication line to be monitored.
5. The method for real-time monitoring a communication line based on a dynamic array as claimed in claim 4, wherein obtaining a persistence monitoring result of the communication line to be monitored by using the persistence monitoring dynamic array comprises:
S4-1-1, judging whether the communication line to be monitored corresponds to a transit node, if so, executing the step S4-1-2, otherwise, executing the step S4-1-3;
S4-1-2, judging whether the line communication real-time data quantity corresponding to the starting end to the transit node of the communication line to be monitored corresponds to the first time monitoring dynamic array of the continuous monitoring dynamic array, if so, executing the step S4-1-3, otherwise, outputting the starting end to the transit node of the communication line to be monitored as an abnormal line, wherein the continuous monitoring result of the communication line to be monitored is abnormal;
s4-1-3, judging whether the line communication real-time data volume corresponding to the transit node of the communication line to be monitored and the second time monitoring dynamic array of the continuous monitoring dynamic array are corresponding, if yes, the continuous monitoring result of the communication line to be monitored is normal, otherwise, the continuous monitoring result of the communication line to be monitored is abnormal, and outputting the transit node of the communication line to be monitored as an abnormal line to the terminal.
6. The method for real-time monitoring a communication line based on a dynamic array according to claim 5, wherein obtaining a time monitoring result of the communication line to be monitored by using the time monitoring dynamic array comprises:
S4-2-1, judging whether the continuous monitoring result of the communication line to be monitored is abnormal, if so, executing the step S4-2-2, otherwise, judging that the continuous monitoring result of the communication line to be monitored is normal;
s4-2-2, judging whether the communication line to be monitored correspondingly has a transit node, if so, executing the step S4-2-3, otherwise, executing the step S4-2-4;
S4-2-3, judging whether a first timeliness monitoring dynamic array and a second timeliness monitoring dynamic array of the timeliness monitoring dynamic array corresponding to the current time are corresponding to a dynamic prepositive array, a dynamic middle array and a dynamic postpositive array of the timeliness monitoring dynamic array, if yes, the timeliness monitoring result of the communication line to be monitored is normal, otherwise, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array which is not corresponding to the timeliness monitoring dynamic array;
s4-2-4, judging whether the difference value of the timeliness monitoring dynamic array corresponding to the current moment corresponds to the dynamic prepositive array and the dynamic postposition array of the timeliness monitoring dynamic array or not, if so, the timeliness monitoring result of the communication line to be monitored is normal, and if not, the timeliness monitoring result of the communication line to be monitored is abnormal, and outputting the timeliness monitoring dynamic array not corresponding to the timeliness monitoring dynamic array.
7. The method for real-time monitoring a communication line based on a dynamic array according to claim 4, wherein obtaining the real-time monitoring result of the communication line by using the persistence monitoring result and the timeliness monitoring result of the communication line to be monitored comprises:
When the continuous monitoring result and the moment monitoring result of the communication line to be monitored are normal, the real-time monitoring result of the communication line is normal;
when the continuous monitoring result of the communication line to be monitored is abnormal and the moment monitoring result is normal, returning to the step S2;
Judging whether the number of the generated moment monitoring results of the same communication line to be monitored is more than 2, if so, judging that the real-time monitoring results of the communication line are abnormal, otherwise, judging that the real-time monitoring results of the communication line are normal;
When the continuous monitoring result and the moment monitoring result of the communication line to be monitored are abnormal, the real-time monitoring result of the communication line is abnormal.
CN202410087863.0A 2024-01-22 2024-01-22 Communication line real-time monitoring method based on dynamic array Active CN117614880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410087863.0A CN117614880B (en) 2024-01-22 2024-01-22 Communication line real-time monitoring method based on dynamic array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410087863.0A CN117614880B (en) 2024-01-22 2024-01-22 Communication line real-time monitoring method based on dynamic array

Publications (2)

Publication Number Publication Date
CN117614880A CN117614880A (en) 2024-02-27
CN117614880B true CN117614880B (en) 2024-04-19

Family

ID=89944694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410087863.0A Active CN117614880B (en) 2024-01-22 2024-01-22 Communication line real-time monitoring method based on dynamic array

Country Status (1)

Country Link
CN (1) CN117614880B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1282270A1 (en) * 2001-07-31 2003-02-05 Hewlett-Packard Company Network usage analysis method and system using dynamic statistical data distribution
CN106357479A (en) * 2016-11-15 2017-01-25 中国人民解放军防空兵学院 Full network flow monitoring method
CN110086688A (en) * 2019-04-18 2019-08-02 上海锵戈科技有限公司 It is a kind of to monitor the efficient end the IP performance monitoring dispatching method of task multiple target and system more
CN112350897A (en) * 2020-11-06 2021-02-09 中国人民解放军国防科技大学 Network testing device based on dynamic connection end-to-end reliable transmission protocol
CN112953785A (en) * 2019-12-10 2021-06-11 烽火通信科技股份有限公司 Link detection method and system for communication equipment of multi-core processor
CN114265741A (en) * 2021-12-16 2022-04-01 北京航天测控技术有限公司 Task monitoring method and device
CN116340935A (en) * 2022-12-13 2023-06-27 国网浙江省电力有限公司宁波供电公司 Host vulnerability lightweight security detection method and system based on multiplex communication
CN116483586A (en) * 2023-06-21 2023-07-25 广东广宇科技发展有限公司 Data efficient processing method based on dynamic array

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1282270A1 (en) * 2001-07-31 2003-02-05 Hewlett-Packard Company Network usage analysis method and system using dynamic statistical data distribution
CN106357479A (en) * 2016-11-15 2017-01-25 中国人民解放军防空兵学院 Full network flow monitoring method
CN110086688A (en) * 2019-04-18 2019-08-02 上海锵戈科技有限公司 It is a kind of to monitor the efficient end the IP performance monitoring dispatching method of task multiple target and system more
CN112953785A (en) * 2019-12-10 2021-06-11 烽火通信科技股份有限公司 Link detection method and system for communication equipment of multi-core processor
CN112350897A (en) * 2020-11-06 2021-02-09 中国人民解放军国防科技大学 Network testing device based on dynamic connection end-to-end reliable transmission protocol
CN114265741A (en) * 2021-12-16 2022-04-01 北京航天测控技术有限公司 Task monitoring method and device
CN116340935A (en) * 2022-12-13 2023-06-27 国网浙江省电力有限公司宁波供电公司 Host vulnerability lightweight security detection method and system based on multiplex communication
CN116483586A (en) * 2023-06-21 2023-07-25 广东广宇科技发展有限公司 Data efficient processing method based on dynamic array

Also Published As

Publication number Publication date
CN117614880A (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN110737664B (en) Method and device for synchronizing block chain link points
CN107864071B (en) Active safety-oriented dynamic data acquisition method, device and system
CN111159002B (en) Data edge collection method, edge collection equipment and system based on grouping
CN116319119B (en) Accompanying type iterative communication verification method
CN111835579B (en) Method and system for testing effectiveness of network traffic scheduling simulation
CN116614430B (en) Multi-channel communication synchronous test method
CN115328579B (en) Scheduling method and system for neural network training and computer readable storage medium
CN117614880B (en) Communication line real-time monitoring method based on dynamic array
CN116166846A (en) Distributed multidimensional data processing method based on cloud computing
CN116455523B (en) Rapid transmission verification method for multivariate data
CN115549862A (en) MES system concurrency performance test data receiving method based on dynamic analysis
CN112527453B (en) Virtualization information simulation system, method and computer-readable storage medium
CN117255031B (en) Network communication authentication method based on multiple mapping
CN111314198B (en) Method and equipment for setting port IP of white box switch
CN114666200A (en) Loop detection method and device for intelligent substation network and storage medium
CN114584533A (en) Address conflict detection method, address conflict detection device and electronic equipment
CN112600753A (en) Equipment node communication path selection method and device according to equipment access amount
CN116743602B (en) Communication line safety analysis method based on convergence cross mapping
CN104486415A (en) Determining method and device for working state of monitoring object
CN118101999A (en) Short video flow data analysis method
CN113132233B (en) Data processing method, software defined network controller and data processing system
CN117435131B (en) Big data storage method, device and medium based on urban power equipment monitoring
CN117499312B (en) Network flow management optimization method based on port mapping
CN117614865B (en) Distributed information release method and system
CN114338525B (en) Automatic route aggregation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant