CN113300901B - Data stream monitoring method and device, electronic equipment and storage medium - Google Patents

Data stream monitoring method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113300901B
CN113300901B CN202010881327.XA CN202010881327A CN113300901B CN 113300901 B CN113300901 B CN 113300901B CN 202010881327 A CN202010881327 A CN 202010881327A CN 113300901 B CN113300901 B CN 113300901B
Authority
CN
China
Prior art keywords
delay
data stream
state information
monitored
time length
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
CN202010881327.XA
Other languages
Chinese (zh)
Other versions
CN113300901A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010881327.XA priority Critical patent/CN113300901B/en
Publication of CN113300901A publication Critical patent/CN113300901A/en
Application granted granted Critical
Publication of CN113300901B publication Critical patent/CN113300901B/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0858One way delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data stream monitoring method, which comprises the following steps: acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold; acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time; and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time. The data stream monitoring method can avoid the problem that delay state information of the data stream to be monitored at the current time also fluctuates due to the fluctuation of the current delay time length data, and therefore monitoring accuracy of data stream monitoring is improved.

Description

Data stream monitoring method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of computers, in particular to a data flow monitoring method. The application also relates to a data stream monitoring device, electronic equipment and a storage medium.
Background
The delay time of the data flow in the network switching device is an important indicator reflecting the performance of the SLA (Service Level Agreement ). Therefore, in order for a service provider to ensure a reliable high performance SLA is provided to a customer, it is often necessary to monitor the delay time of a data flow in a target network switching device.
The conventional data flow monitoring method for monitoring the delay time of the data flow in the target network switching equipment generally has the following thought: and configuring a fixed delay time length threshold for the data flow to be monitored, and comparing the current delay time length data of the data flow to be monitored with the fixed delay time length threshold so as to determine the delay state of the data flow to be monitored. However, the existing data stream monitoring method for monitoring the delay time of the data stream in the target network switching device often has the problem of poor monitoring accuracy of monitoring the data stream caused by fluctuation of the current delay time data, such as: the current delay time length data is fluctuated due to network abnormality of a network operator, so that the problem of poor monitoring accuracy of data flow monitoring is caused.
In other similar scenarios, there may be situations where the monitoring accuracy of the data stream monitoring is poor.
Disclosure of Invention
The application provides a data stream monitoring method, a data stream monitoring device, electronic equipment and a storage medium, so as to improve monitoring accuracy of data stream monitoring.
The application provides a data stream monitoring method, which comprises the following steps:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
Optionally, the determining delay state information of the data stream to be monitored at the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
Acquiring the previous delay state information of the data flow to be monitored at the current time;
and comparing the current delay time length data with the first delay time length threshold value or the second delay time length threshold value according to the previous delay state information of the data flow to be monitored in the current time, and determining the delay state information of the data flow to be monitored in the current time.
Optionally, the comparing the current delay duration data with the first delay duration threshold or the second delay duration threshold according to the previous delay state information of the data stream to be monitored at the current time, and determining the delay state information of the data stream to be monitored at the current time includes:
if the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
The first delay state information is state information indicating that the data stream is not the delay data stream.
Optionally, the method further comprises: if the current delay time length data reaches the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is second delay state information under the current time;
the second delay state information is state information for indicating that the data stream is the delay data stream.
Optionally, the method further comprises: generating a delay event triggering instruction for the data stream to be monitored, wherein the delay event triggering instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored.
Optionally, the delay event is executed at least in a form of increasing the priority of transmitting the data stream to be monitored.
Optionally, the method further comprises: if the previous delay state information of the data stream to be monitored under the current time is the second delay state information, comparing the current delay time length data with the first delay time length threshold value;
and if the current delay time length data does not exceed the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time.
Optionally, the method further comprises: generating a non-delay event triggering instruction for the data stream to be monitored, wherein the non-delay event triggering instruction is an instruction for indicating to trigger a non-delay event for the data stream to be monitored.
Optionally, the non-delay event is executed at least for the data stream to be monitored, and feedback information for determining that the data stream to be monitored is the first delay state information at the current time is generated.
Optionally, the method further comprises: and if the current delay time length data reaches the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the second delay state information under the current time.
Optionally, the obtaining the previous delay state information of the data stream to be monitored at the current time includes:
obtaining the data stream to be monitored;
obtaining a data stream information record table corresponding to the data stream to be monitored, wherein the data stream information record table is used for recording identification information of the data stream, delay state information of the data stream and a corresponding relation between the data stream information record table and the delay state information of the data stream;
And obtaining the previous delay state information of the data stream to be monitored under the current time from the data stream information record table according to the identification information of the data stream to be monitored.
Optionally, the method further comprises: if the previous delay state information of the data stream to be monitored at the current time cannot be obtained from the data stream information record table, the previous delay state information of the data stream to be monitored at the current time is created in the data stream information record table.
Optionally, the obtaining a first delay duration threshold corresponding to the data flow to be monitored and a second delay duration threshold corresponding to the data flow to be monitored includes:
obtaining a preset data flow summary table, wherein the data flow summary table is used for recording a corresponding delay time length threshold value when the data flow is a delay data flow;
obtaining a delay time length threshold corresponding to the data flow to be monitored from the data flow summary table;
and obtaining the first delay time length threshold and the second delay time length threshold according to the delay time length threshold corresponding to the data flow to be monitored.
Optionally, the obtaining a preset data flow summary table includes:
Transmitting a request message for obtaining the data flow summary list to a target computing device corresponding to the target network switching device;
the target computing device determines the data flow summary table for the request message to provide to the target network switching device.
Optionally, the determining, by the target computing device, the data flow summary table for the request message includes:
obtaining at least one service level corresponding to the data stream according to the request message, wherein the service level is used for indicating a candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream, and the candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream is different under different service levels;
displaying the at least one service level through an interactive interface for man-machine interaction corresponding to the target computing device;
obtaining a target service level determined by a target user from the at least one service level through the interactive interface;
determining a corresponding delay time threshold when the data stream is a delay data stream according to the target service level;
and determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow.
Optionally, the determining, by the target computing device, the data flow summary table for the request message includes:
generating a threshold value determining interface for obtaining a corresponding delay time length threshold value when the data stream is a delay data stream according to the request message, and displaying the threshold value determining interface through an interactive interface for man-machine interaction corresponding to the target computing equipment;
obtaining a corresponding delay time threshold value when the data stream determined by the target user aiming at the threshold value determining interface is a delay data stream through the interactive interface;
and determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow.
Optionally, the method further comprises:
providing the delay state information to a target computing device corresponding to the target network switching device;
and the target computing equipment displays the delay state information through an interactive interface which corresponds to the target computing equipment and is used for man-machine interaction.
In another aspect of the present application, there is also provided a data stream monitoring apparatus, including:
the delay time length threshold value obtaining unit is used for obtaining a first delay time length threshold value corresponding to the data flow to be monitored and a second delay time length threshold value corresponding to the data flow to be monitored, wherein the first delay time length threshold value is smaller than the second delay time length threshold value;
The delay time length data obtaining unit is used for obtaining the current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and the delay state information obtaining unit is used for determining delay state information of the data stream to be monitored under the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is used for indicating whether the data stream is a delay data stream under the appointed time.
In another aspect of the present application, there is also provided an electronic device, including:
a processor; and
a memory for storing a program of the data stream monitoring method, the apparatus being powered on and executing the program of the data stream monitoring method by the processor, and performing the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
In another aspect of the present application, there is also provided a storage medium storing a program of a data stream monitoring method, the program being executed by a processor to perform the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
In another aspect of the present application, a data stream monitoring method is provided, including:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data flow to be monitored in a target switch at current time;
And determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
In another aspect of the present application, a data stream monitoring method is provided, including:
obtaining a data stream to be exchanged in a target switch as a data stream to be monitored, and obtaining a preset data stream summary table, wherein the data stream summary table is a summary table for recording a corresponding delay time length threshold value when the data stream is a delay data stream;
obtaining a first delay time length threshold value corresponding to the data flow to be monitored and a second delay time length threshold value corresponding to the data flow to be monitored from the data flow summary table, wherein the first delay time length threshold value is smaller than the second delay time length threshold value;
acquiring current delay time length data of the data flow to be monitored in a target switch at current time;
determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is the delay data stream in the appointed time;
Generating a delay event triggering instruction for the data stream to be monitored according to the delay state information of the data stream to be monitored under the current time, or generating a non-delay event triggering instruction for the data stream to be monitored, wherein the delay event triggering instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored, and the non-delay event triggering instruction is an instruction for indicating to trigger a non-delay event for the data stream to be monitored.
Compared with the prior art, the application has the following advantages:
the data flow monitoring method comprises the steps of firstly obtaining a first delay time length threshold corresponding to a data flow to be monitored and a second delay time length threshold corresponding to the data flow to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold; acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time; and finally, determining delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information for indicating whether the data stream is a delay data stream at the appointed time. According to the data stream monitoring method, the delay state information of the data stream to be monitored in the current time is determined through the first delay time threshold and the second delay time threshold, so that the problem that the delay state information of the data stream to be monitored in the current time fluctuates due to the fact that the current delay time data fluctuates can be avoided, and the monitoring accuracy of the data stream monitoring is improved.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a data stream monitoring method provided in a first embodiment of the present application.
Fig. 2 is a flowchart of a data flow monitoring method provided in the first embodiment of the present application.
Fig. 3 is a schematic diagram of a data flow monitoring device according to a second embodiment of the present application.
Fig. 4 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Fig. 5 is a flowchart of a data flow monitoring method provided in a fifth embodiment of the present application.
Fig. 6 is a flowchart of a data flow monitoring method according to a sixth embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar generalizations can be made by those skilled in the art without departing from the spirit of the application and the application is therefore not limited to the specific embodiments disclosed below.
First embodiment
In order to more clearly show the data stream monitoring method provided by the application, an application scenario of the data stream monitoring method provided by the application is introduced. In practical application, the data stream monitoring method provided in the embodiment of the application is used for monitoring delay time of a data stream to be monitored in a network switching device, so as to determine delay state information of the data stream according to the delay time of the data stream to be monitored.
A network switching office is a device that connects two or more network communication devices to effect data exchange between different network communication devices, such as: switches, routers, etc. The data flow to be monitored is the data to be monitored in the network switching equipment, and the data flow is a group of ordered data packet sequences with a starting point and an ending point. The delay state information is state information indicating whether or not a data stream is a delayed data stream at a specified time, and includes: first delay state information and second delay state information. When the delay state information of the data stream is the first delay state information, the data stream is not the delay data stream, and when the delay state information of the data stream is the second delay state information, the data stream is the delay data stream.
In the first embodiment of the present application, the initial state delay state information of the data stream to be monitored is the first delay state information. The initial delay state information is delay state information corresponding to the data flow to be monitored when the data flow to be monitored just enters the network switching equipment or is generated by the network switching equipment for the first time. In addition, if the current time is not the time when the data stream to be monitored just enters the network switching device, or the time when the data stream to be monitored is first generated in the network switching device, the process of determining delay state information of the data stream to be monitored at the current time is shown in fig. 1.
The network switching device in fig. 1 is a switch 101 and a user terminal 102, and the switch 101 includes: a buffer memory unit 101-1, a memory management unit 101-2, and a processor unit 101-3. The buffer memory unit 101-1 is a storage unit for storing a data stream in the switch 101, the memory management unit 101-2 is a management unit for managing the buffer memory unit 101-1 and the data stream stored in the buffer memory unit 101-1, and the processor unit 101-3 is a unit for performing data processing on the data stream and the like.
In the first embodiment of the present application, the execution body is the memory management unit 101-2 installed with software or hardware for executing the data stream monitoring method provided in the present application. Specifically, the execution carrier of the software or hardware for executing the data stream monitoring method provided in the present application is a data stream monitoring plane 101-21 disposed on the memory management unit 102. The user terminal 102 is a computer device, typically a computer in particular implementations, for interacting with the data stream monitoring plane 101-21.
After determining the target data stream stored in the buffer memory unit 101-1 and requiring the data stream monitoring plane 101-21 to monitor, the user terminal 102 generates a data stream monitoring instruction for the target data stream, and sends the monitoring instruction to the data stream monitoring plane 101-21. After obtaining the data stream monitoring instruction sent by the user terminal 102, the data stream monitoring plane 101-21 obtains the target data stream first, and then obtains the identification information of the target data stream. The identification information of the data stream is information for uniquely identifying the data stream, and is generally an ID (Identity document, identification number).
After the data stream monitoring plane 101-21 obtains the identification information of the target data stream, a data stream summary table set in advance and stored in the memory management unit 101-2 is obtained first. And obtaining the delay time length threshold corresponding to the target data stream from the data stream summary table according to the identification information of the target data stream and the preset mapping relation between the identification information of the data stream and the delay time length threshold corresponding to the data stream. The data flow summary table is a summary table for recording delay time length thresholds corresponding to the case that the data flow is a delayed data flow, and a plurality of different data flows in the data flow summary table may correspond to the same delay time length threshold, for example: multiple different data flows under the same type can correspond to the same delay duration threshold; it is also possible that each different data stream may correspond to a different delay duration threshold.
In the first embodiment of the present application, the specific implementation process of obtaining the preset data flow summary table is: and sending a request message for obtaining the data flow summary table to the target computing device corresponding to the target network switching device, and determining the data flow summary table by the target computing device aiming at the request message so as to provide the data flow summary table to the target network switching device. The target computing device is a computing device for providing data processing services such as data computation and data analysis for the target network switching device, and in a specific implementation manner, the target computing device may be: computers, servers, server clusters, etc.
The specific implementation of the target computing device to determine the data flow summary table for the request message can be as follows:
the first way is: 1. obtaining at least one service level corresponding to the data stream aiming at the request message, wherein the service level is used for indicating the corresponding candidate delay time length threshold value when the data stream is the delayed data stream, and the corresponding candidate delay time length threshold value when the data stream is the delayed data stream is different under different service levels; 2. displaying at least one service level through an interactive interface for man-machine interaction corresponding to the target computing device; 3. obtaining a target service level determined by a target user from at least one service level through an interactive interface; 4. determining a corresponding delay time threshold when the data stream is a delay data stream according to the target service level; 5. and determining a data flow summary table according to the corresponding delay time threshold value when the data flow is the delay data flow.
Taking the example that the at least one service class is 3 service classes, the 3 service classes are named a first service class, a second service class and a third service class in this order. The service level is generally a service level agreed by the user and the service side, and can also be determined according to an empirical delay time length threshold corresponding to the case that the data stream is a delayed data stream. In the first embodiment of the present application, the service level corresponds to two thresholds, that is, a first delay duration threshold corresponding to when the data stream is a delayed data stream and a second delay duration threshold corresponding to when the data stream is a delayed data stream, where in this case, the first service level, the second service level, and the third service level may be sequentially: (first delay time period threshold, second delay time period threshold) = (1000 ns, 2000 ns), (first delay time period threshold, second delay time period threshold) = (500 ns, 1500 ns), first delay time period threshold, second delay time period threshold) = (200 ns, 1200 ns). Among them, so-called (1000 ns, 2000 ns), (1000 ns, 2000 ns) and (200 ns, 1200 ns) are all candidate delay duration thresholds.
If the target service level determined by the target user from the at least one service level through the interactive interface is the second service level, the corresponding delay time threshold value when the data stream is the delay data stream is: (first delay duration threshold, second delay duration threshold) = (500 ns, 1500 ns).
Taking the target computing device as a computer as an example, the interaction interface for man-machine interaction corresponding to the target computing device is a screen of the computer.
The second mode is as follows: first, a threshold determining interface for obtaining a delay time threshold corresponding to a delayed data stream is generated for the request message, and the threshold determining interface is displayed through an interactive interface corresponding to the target computing device for man-machine interaction. Then, obtaining a corresponding delay time threshold value of the target user when the data stream determined by the threshold value determining interface is a delay data stream through the interactive interface; and finally, determining a data flow summary table according to the corresponding delay time length threshold value when the data flow is the delay data flow. That is, the corresponding delay duration threshold value when the data stream is a delayed data stream is determined by the client based on the corresponding empirical delay duration threshold value when the data stream is a delayed data stream.
It should be noted that if the delay duration threshold corresponding to the target data stream is two identical specified values, for example: (0 ns ), etc., or other same specified value, the target data stream is a non-monitored data stream; if the delay time threshold corresponding to the target data stream is a preset value, for example: (first delay duration threshold, second delay duration threshold) = (1000 nanoseconds, 2000 nanoseconds), then the target data stream is the data stream to be monitored. In addition, referring to fig. 2, if the target data stream is a data stream to be monitored, a first delay duration threshold and a second delay duration threshold need to be further obtained according to a delay duration threshold corresponding to the data stream to be monitored, where the first delay duration threshold is smaller than the second delay duration threshold, for example: the first delay duration threshold is 1000 nanoseconds, and the second delay duration threshold is 2000 nanoseconds (i.e., step S201).
In step S202, when the target data stream is a data stream to be monitored, the first embodiment of the present application further needs to obtain the current delay duration data of the data stream to be monitored in the target network switching device at the current time. Referring to fig. 1 again for the specific case, when the target data stream is the data stream to be monitored, the data stream monitoring plane 101-21 further obtains the current delay duration data of the data stream to be monitored in the switch 101 at the current time. The current delay time length data of the data stream to be monitored in the switch 101 is the time length data of the last data packet in the data stream to be monitored in the buffer memory unit 101-1 in line with the waiting for data exchange.
Referring to fig. 2 again, after the current delay duration data is obtained, delay state information of the data stream to be monitored at the current time can be determined according to the current delay duration data, the first delay duration threshold value and the second delay duration threshold value (i.e., step S203). Referring to fig. 1 again for the specific case, after the data stream monitoring plane 101-21 obtains the current delay duration data, the delay state information of the data stream to be monitored in the current time can be determined according to the current delay duration data, the first delay duration threshold value and the second delay duration threshold value.
The specific implementation manner of determining the delay state information of the data flow to be monitored at the current time is as follows: first, the previous delay state information of the data stream to be monitored at the current time is obtained. And then, comparing the current delay time length data with a first delay time length threshold value or a second delay time length threshold value according to the previous delay state information of the data flow to be monitored under the current time, and determining the delay state information of the data flow to be monitored under the current time. In addition, if the current time is the time when the data stream to be monitored just enters the network switching equipment or is generated by the network switching equipment for the first time, the delay state information of the data stream to be monitored at the current time is initial delay state information.
After determining delay state information of the data flow to be monitored at the current time, the delay state information can be provided for target computing equipment corresponding to the target network switching equipment; the target computing device displays the delay state information through an interactive interface which corresponds to the target computing device and is used for man-machine interaction. Specifically, when obtaining the previous delay state information of the data stream to be monitored at the current time, the data stream monitoring plane 101-21 obtains the data stream summary table preset and stored in the memory management unit 101-2 after obtaining the data stream to be monitored. And then obtaining a data flow information record table corresponding to the data flow to be monitored. And finally, according to the identification information of the data stream to be monitored, acquiring the previous delay state information of the data stream to be monitored under the current time from a data stream information record table. The data stream information recording table is a recording table for recording identification information of a data stream, delay state information of the data stream, and correspondence between the data stream information recording table and the delay state information of the data stream.
If the current time is not the time when the data stream to be monitored just enters the network switching equipment or is generated in the network switching equipment for the first time, determining that the specific implementation mode of the delay state information of the data stream to be monitored at the current time has the following two conditions:
The first case is: and if the previous delay state information of the data flow to be monitored at the current time is the first delay state information, comparing the current delay time length data with a second delay time length threshold value. At this time, if the current delay time length data does not exceed the second delay time length threshold value, determining that delay state information of the data stream to be monitored is first delay state information at the current time. In addition, if the current delay time length data exceeds the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is second delay state information at the current time.
Specifically, if the previous delay state information of the data stream to be monitored at the current time is the first delay state information, the current delay time length data is compared with 2000 nanoseconds. If the current delay time length data does not exceed 2000 nanoseconds, the delay state information of the data stream to be monitored at the current time is consistent with the previous delay state information of the data stream to be monitored at the current time, namely, the first delay state information. If the current delay time length data reaches 2000 nanoseconds, the delay state information of the data stream to be monitored at the current time is changed compared with the previous delay state information of the data stream to be monitored at the current time, and at this time, the delay state information of the data stream to be monitored at the current time is required to be updated into the first delay state information.
The second case is: and if the previous delay state information of the data flow to be monitored at the current time is the second delay state information, comparing the current delay time length data with the first delay time length threshold value. At this time, if the current delay time length data does not exceed the first delay time length threshold value, determining delay state information of the data stream to be monitored as first delay state information at the current time. In addition, if the current delay time length data exceeds the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is second delay state information at the current time.
Specifically, if the previous delay state information of the data stream to be monitored at the current time is the second delay state information, the current delay time length data is compared with 1000 nanoseconds. If the current delay time length data does not reach 1000 nanoseconds, the delay state information of the data stream to be monitored at the current time is changed compared with the previous delay state information of the data stream to be monitored at the current time, and at this time, the delay state information of the data stream to be monitored at the current time is required to be updated into the first delay state information. If the current delay time length data reaches 1000 nanoseconds, the delay state information of the data stream to be monitored at the current time is consistent with the previous delay state information of the data stream to be monitored at the current time, namely, the second delay state information.
In the data stream monitoring method provided in the first embodiment of the present application, a first delay duration threshold corresponding to a data stream to be monitored and a second delay duration threshold corresponding to the data stream to be monitored are obtained first, where the first delay duration threshold is smaller than the second delay duration threshold; acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time; and finally, determining delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information for indicating whether the data stream is a delay data stream at the appointed time. According to the data stream monitoring method provided by the first embodiment of the invention, the delay state information of the data stream to be monitored under the current time is determined through the first delay time threshold and the second delay time threshold, so that the problem that the delay state information of the data stream to be monitored under the current time is fluctuated due to the fact that the current delay time data is fluctuated can be avoided, and the monitoring accuracy of the data stream monitoring is improved.
In the first embodiment of the present application, if the delay state information of the data stream to be monitored at the current time is changed compared with the previous delay state information of the data stream to be monitored at the current time, the data stream monitoring plane 101-21 further needs to execute the following two different steps according to the change of the state information:
The first step is as follows: if the previous delay state information of the data stream to be monitored at the current time is the first delay state information, and if the delay state information of the data stream to be monitored at the current time is the second delay state information, generating a delay event trigger instruction for the data stream to be monitored, wherein the delay event trigger instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored. The execution form of the delay event is at least to increase the priority of the transmission of the data stream to be monitored; alternatively, the CPU interrupts.
The second step is as follows: if the previous delay state information of the data stream to be monitored at the current time is the second delay state information, and if the delay state information of the data stream to be monitored at the current time is the first delay state information, generating a non-delay event triggering instruction for the data stream to be monitored, wherein the non-delay event triggering instruction is an instruction for indicating triggering of a non-delay event for the data stream to be monitored. The delay event is executed at least in the form of feedback information for the data stream to be monitored, which feedback information determines that the data stream to be monitored is the first delay state information at the current time.
The non-delay event triggering instruction carries message information of data to be monitored, current delay time length data and execution form information of delay events. The message information of the data to be monitored can play a role in associating the delay event with the data to be monitored. The current delay duration data can play a role in reference to the setting and adjustment of the first delay duration threshold and the second delay duration threshold. The execution form information of the delay event is used for indicating the relevant unit to execute the delay event according to the execution form information of the delay event. The execution form information of the non-delayed event is used for indicating the relevant unit to execute the non-delayed event according to the execution form information of the non-delayed event.
After the data stream monitoring plane 101-21 generates the delayed event trigger instruction or the non-delayed event trigger instruction, the delayed event trigger instruction or the non-delayed event trigger instruction is further provided to the related unit, and the related unit analyzes the delayed event trigger instruction or the non-delayed event trigger instruction after receiving the delayed event trigger instruction or the non-delayed event trigger instruction, obtains the message information of the data to be monitored, and determines the data to be monitored for the delayed event or the non-delayed event according to the message information of the data to be monitored. In addition, the execution form information of the delay event or the execution form information of the non-delay event is obtained, and the relevant unit executes the delay event or the non-delay event for the data to be monitored according to the execution form information of the delay event or the execution form information of the non-delay event.
Specifically, if the delay event is a processor unit interrupt, the data flow monitor plane 101-21 sends the delay event trigger instruction carrying the processor unit interrupt to the data flow control plane 101-31 in the processor unit 101-3, and the data flow control plane 101-31 parses the data flow control plane 101-31 to trigger and execute the processor unit interrupt event. The data flow control plane 101-31 is a unit that is preset in a delayed event trigger instruction or a non-delayed event trigger instruction, receives the delayed event trigger instruction or the non-delayed event trigger instruction, and executes a corresponding event according to the received delayed event trigger instruction or the non-delayed event trigger instruction.
According to the data stream monitoring method provided by the first embodiment of the invention, the delay event triggering instruction or the non-delay event triggering instruction is generated only when the delay state information of the data stream to be monitored at the current time is changed compared with the previous delay state information of the data stream to be monitored at the current time, so that the situation that the repeated delay event triggering instruction or the non-delay event triggering instruction is generated when the state of the data stream to be monitored is kept unchanged can be avoided, and the related units in the network switching equipment execute unnecessary repeated events.
Second embodiment
The second embodiment of the present application further provides a data stream monitoring apparatus corresponding to the application scenario of the data stream monitoring method provided by the present application and the data stream monitoring method provided by the first embodiment. Since the device embodiments are substantially similar to the application scenario and the first embodiment, the description is relatively simple, and the relevant points are only required to be referred to the application scenario and the partial description of the first embodiment. The device embodiments described below are merely illustrative.
Fig. 3 is a schematic diagram of a data flow monitoring device according to a second embodiment of the present application.
The data flow monitoring device provided in the second embodiment of the present application includes:
a delay duration threshold obtaining unit 301, configured to obtain a first delay duration threshold corresponding to a data flow to be monitored and a second delay duration threshold corresponding to the data flow to be monitored, where the first delay duration threshold is smaller than the second delay duration threshold;
a delay time length data obtaining unit 302, configured to obtain current delay time length data of the data stream to be monitored in the target network switching device at the current time;
and a delay state information obtaining unit 303, configured to determine delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value, and the second delay time length threshold value, where the delay state information is state information for indicating whether the data stream is a delayed data stream at a specified time.
Optionally, the delay state information obtaining unit 303 is specifically configured to obtain previous delay state information of the data stream to be monitored at the current time; and comparing the current delay time length data with the first delay time length threshold value or the second delay time length threshold value according to the previous delay state information of the data flow to be monitored in the current time, and determining the delay state information of the data flow to be monitored in the current time.
Optionally, the comparing the current delay duration data with the first delay duration threshold or the second delay duration threshold according to the previous delay state information of the data stream to be monitored at the current time, and determining the delay state information of the data stream to be monitored at the current time includes:
if the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
Optionally, the method further comprises: if the current delay time length data reaches the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is second delay state information under the current time;
the second delay state information is state information for indicating that the data stream is the delay data stream.
Optionally, the method further comprises: generating a delay event triggering instruction for the data stream to be monitored, wherein the delay event triggering instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored.
Optionally, the delay event is executed at least in a form of increasing the priority of transmitting the data stream to be monitored.
Optionally, the method further comprises: if the previous delay state information of the data stream to be monitored under the current time is the second delay state information, comparing the current delay time length data with the first delay time length threshold value;
and if the current delay time length data does not exceed the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time.
Optionally, the method further comprises: generating a non-delay event triggering instruction for the data stream to be monitored, wherein the non-delay event triggering instruction is an instruction for indicating to trigger a non-delay event for the data stream to be monitored.
Optionally, the non-delay event is executed at least for the data stream to be monitored, and feedback information for determining that the data stream to be monitored is the first delay state information at the current time is generated.
Optionally, the method further comprises: and if the current delay time length data reaches the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the second delay state information under the current time.
Optionally, the obtaining the previous delay state information of the data stream to be monitored at the current time includes:
obtaining the data stream to be monitored;
obtaining a data stream information record table corresponding to the data stream to be monitored, wherein the data stream information record table is used for recording identification information of the data stream, delay state information of the data stream and a corresponding relation between the data stream information record table and the delay state information of the data stream;
and obtaining the previous delay state information of the data stream to be monitored under the current time from the data stream information record table according to the identification information of the data stream to be monitored.
Optionally, the method further comprises: if the previous delay state information of the data stream to be monitored at the current time cannot be obtained from the data stream information record table, the previous delay state information of the data stream to be monitored at the current time is created in the data stream information record table.
Optionally, the delay duration threshold obtaining unit 301 is specifically configured to obtain a preset data flow summary table, where the data flow summary table is a summary table for recording a delay duration threshold corresponding to a data flow when the data flow is a delay data flow; obtaining a delay time length threshold corresponding to the data flow to be monitored from the data flow summary table; and obtaining the first delay time length threshold and the second delay time length threshold according to the delay time length threshold corresponding to the data flow to be monitored.
Optionally, the obtaining a preset data flow summary table includes: transmitting a request message for obtaining the data flow summary list to a target computing device corresponding to the target network switching device; the target computing device determines the data flow summary table for the request message to provide to the target network switching device.
Optionally, the determining, by the target computing device, the data flow summary table for the request message includes: obtaining at least one service level corresponding to the data stream according to the request message, wherein the service level is used for indicating a candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream, and the candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream is different under different service levels; displaying the at least one service level through an interactive interface for man-machine interaction corresponding to the target computing device; obtaining a target service level determined by a target user from the at least one service level through the interactive interface; determining a corresponding delay time threshold when the data stream is a delay data stream according to the target service level; and determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow.
Optionally, the determining, by the target computing device, the data flow summary table for the request message includes: generating a threshold value determining interface for obtaining a corresponding delay time length threshold value when the data stream is a delay data stream according to the request message, and displaying the threshold value determining interface through an interactive interface for man-machine interaction corresponding to the target computing equipment; obtaining a corresponding delay time threshold value when the data stream determined by the target user aiming at the threshold value determining interface is a delay data stream through the interactive interface; and determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow. Third step
Examples
Corresponding to the data stream monitoring method provided in the first embodiment of the present application, a third embodiment of the present application further provides an electronic device. Since the third embodiment is substantially similar to the first embodiment, the description is relatively simple, and the relevant points are referred to in the description of the first embodiment. The device embodiments described below are merely illustrative.
Fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present application.
The electronic device includes: a processor 401;
and a memory 402 for storing a program of the data stream monitoring method, the apparatus, after being powered on and running the program of the data stream monitoring method by the processor, performs the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
It should be noted that, for the detailed description of the electronic device provided in the third embodiment of the present application, reference may be made to an application scenario of the data stream monitoring method provided in the present application and a description related to the data stream monitoring method provided in the first embodiment, which are not repeated here.
Fourth embodiment
The fourth embodiment of the present application further provides a storage medium corresponding to the data stream monitoring method provided in the first embodiment of the present application. Since the fourth embodiment is substantially similar to the first embodiment, the description is relatively simple, and the relevant points are referred to in the description of the first embodiment. The device embodiments described below are merely illustrative.
The storage medium stores a computer program that is executed by a processor to perform the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
and determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in the appointed time.
It should be noted that, for the detailed description of the storage medium provided in the fourth embodiment of the present application, reference may be made to the related description of the data stream monitoring method provided in the first embodiment of the present application, which is not repeated here.
Fifth embodiment
The fifth embodiment of the present application further provides another data stream monitoring method corresponding to the data stream monitoring method provided in the first embodiment of the present application. Since the fifth embodiment is substantially similar to the first embodiment, the description is relatively simple, and the relevant points are referred to in the description of the first embodiment. The following description of the fifth embodiment is merely illustrative.
Fig. 5 is a flowchart of a data flow monitoring method according to a fifth embodiment of the present application. The data flow monitoring method shown in fig. 5 includes: step S501 to step S503.
Step S501: and obtaining a first delay time length threshold corresponding to the data flow to be monitored and a second delay time length threshold corresponding to the data flow to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold.
In a fifth embodiment of the present application, the data flow to be monitored is data to be monitored in the network switching device, and the data flow is a group of ordered data packet sequences with a start point and an end point.
Step S502: and obtaining the current delay time length data of the data flow to be monitored in the target switch at the current time.
Step S503: and determining delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is used for indicating whether the data stream is a delay data stream at the appointed time.
In a fifth embodiment of the present application, the delay state information is state information indicating whether the data stream is a delayed data stream at a specified time, and includes: first delay state information and second delay state information. When the delay state information of the data stream is the first delay state information, the data stream is not the delay data stream, and when the delay state information of the data stream is the second delay state information, the data stream is the delay data stream.
In a fifth embodiment of the present application, the initial state delay state information of the data stream to be monitored is the first delay state information. The initial delay state information is delay state information corresponding to the data flow to be monitored when the data flow to be monitored just enters the network switching equipment or is generated by the network switching equipment for the first time.
Sixth embodiment
The sixth embodiment of the present application further provides another data stream monitoring method corresponding to the data stream monitoring method provided in the first embodiment of the present application. Since the sixth embodiment is substantially similar to the first embodiment, the description is relatively simple, and the relevant points are referred to in the description of the first embodiment. The following description of the sixth embodiment is merely illustrative.
Fig. 6 is a flowchart of a data flow monitoring method according to a sixth embodiment of the present application. The data flow monitoring method shown in fig. 6 includes: step S601 to step S605.
Step S601: and obtaining the data stream to be exchanged in the target switch as the data stream to be monitored, and obtaining a preset data stream summary table, wherein the data stream summary table is a summary table for recording a corresponding delay time length threshold value when the data stream is the delay data stream.
In a sixth embodiment of the present application, the data flow to be monitored is data to be monitored in the network switching device, and the data flow is a group of ordered data packet sequences with a start point and an end point.
Step S602: and obtaining a first delay time length threshold corresponding to the data flow to be monitored and a second delay time length threshold corresponding to the data flow to be monitored from the data flow summary table, wherein the first delay time length threshold is smaller than the second delay time length threshold.
In the sixth embodiment of the present application, the delay duration is an important index reflecting service level performance, the service level performance generally achieves service level agreement for a client and a server, and when determining service level performance, the client and the server may achieve a criterion that a data stream is a delay data stream when a target switch specifies a service level, or determine a criterion that a data stream is a delay data stream when a target switch specifies a service level according to a priori experience that the switch is a delay data stream. The criteria that the target switch is to delay the data stream when designating the service class include a first delay time period threshold and a second delay time period threshold, and specifically may be (first delay time period threshold, second delay time period threshold) = (1000 ns, 2000 ns), or (first delay time period threshold, second delay time period threshold) = (500 ns, 1500 ns), or the like.
Step S603: and obtaining the current delay time length data of the data flow to be monitored in the target switch at the current time.
Step S604: and determining delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is used for indicating whether the data stream is a delay data stream at the appointed time.
In a sixth embodiment of the present application, the delay state information is state information indicating whether the data stream is a delayed data stream at a specified time, and includes: first delay state information and second delay state information. When the delay state information of the data stream is the first delay state information, the data stream is not the delay data stream, and when the delay state information of the data stream is the second delay state information, the data stream is the delay data stream.
In a sixth embodiment of the present application, the initial state delay state information of the data stream to be monitored is the first delay state information. The initial delay state information is delay state information corresponding to the data flow to be monitored when the data flow to be monitored just enters the network switching equipment or is generated by the network switching equipment for the first time.
Step S605: generating a delay event trigger instruction for the data stream to be monitored or generating a non-delay event trigger instruction for the data stream to be monitored according to delay state information of the data stream to be monitored at the current time.
In a sixth embodiment of the present application, a so-called delayed event trigger instruction is an instruction for indicating that a delayed event is triggered for a data stream to be monitored, and a so-called non-delayed event trigger instruction is an instruction for indicating that a non-delayed event is triggered for a data stream to be monitored.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the invention, so that the scope of the invention shall be defined by the claims.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or Flash memory (Flash RAM), among others, in a computer readable medium. Memory is an example of computer-readable media.
1. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, read only optical disk read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable Media, as defined herein, does not include non-Transitory computer-readable Media (transmission Media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.

Claims (19)

1. A method for monitoring a data stream, comprising:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in a specified time;
Wherein the determining delay state information of the data stream to be monitored in the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
acquiring the previous delay state information of the data flow to be monitored at the current time;
if the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
2. The data stream monitoring method of claim 1, further comprising: if the current delay time length data reaches the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is second delay state information under the current time;
The second delay state information is state information for indicating that the data stream is the delay data stream.
3. The data stream monitoring method of claim 2, further comprising: generating a delay event triggering instruction for the data stream to be monitored, wherein the delay event triggering instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored.
4. A data stream monitoring method as claimed in claim 3, wherein the delay event is performed in a form that at least increases the priority of transmission of the data stream to be monitored.
5. The data stream monitoring method of claim 2, further comprising: if the previous delay state information of the data stream to be monitored under the current time is the second delay state information, comparing the current delay time length data with the first delay time length threshold value;
and if the current delay time length data does not exceed the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time.
6. The data stream monitoring method of claim 5, further comprising: generating a non-delay event triggering instruction for the data stream to be monitored, wherein the non-delay event triggering instruction is an instruction for indicating to trigger a non-delay event for the data stream to be monitored.
7. The data stream monitoring method according to claim 6, wherein the non-delayed event is performed at least in the form of generating feedback information for the data stream to be monitored that determines that the data stream to be monitored is the first delay state information at the current time.
8. The data stream monitoring method of claim 5, further comprising: and if the current delay time length data reaches the first delay time length threshold value, determining that the delay state information of the data stream to be monitored is the second delay state information under the current time.
9. The method for monitoring a data stream according to claim 1, wherein said obtaining the previous delay state information of the data stream to be monitored at the current time comprises:
obtaining the data stream to be monitored;
obtaining a data stream information record table corresponding to the data stream to be monitored, wherein the data stream information record table is used for recording identification information of the data stream, delay state information of the data stream and a corresponding relation between the data stream information record table and the delay state information of the data stream;
and obtaining the previous delay state information of the data stream to be monitored under the current time from the data stream information record table according to the identification information of the data stream to be monitored.
10. The data stream monitoring method of claim 9, further comprising: if the previous delay state information of the data stream to be monitored at the current time cannot be obtained from the data stream information record table, the previous delay state information of the data stream to be monitored at the current time is created in the data stream information record table.
11. The method for monitoring a data stream according to claim 1, wherein the obtaining a first delay time threshold corresponding to the data stream to be monitored and a second delay time threshold corresponding to the data stream to be monitored includes:
obtaining a preset data flow summary table, wherein the data flow summary table is used for recording a corresponding delay time length threshold value when the data flow is a delay data flow;
obtaining a delay time length threshold corresponding to the data flow to be monitored from the data flow summary table;
and obtaining the first delay time length threshold and the second delay time length threshold according to the delay time length threshold corresponding to the data flow to be monitored.
12. The method for monitoring a data stream according to claim 11, wherein the obtaining a preset data stream summary table includes:
Transmitting a request message for obtaining the data flow summary list to a target computing device corresponding to the target network switching device;
the target computing device determines the data flow summary table for the request message to provide to the target network switching device.
13. The data flow monitoring method of claim 12, wherein the target computing device determining the data flow summary table for the request message comprises:
obtaining at least one service level corresponding to the data stream according to the request message, wherein the service level is used for indicating a candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream, and the candidate delay time length threshold corresponding to the data stream when the data stream is a delayed data stream is different under different service levels;
displaying the at least one service level through an interactive interface for man-machine interaction corresponding to the target computing device;
obtaining a target service level determined by a target user from the at least one service level through the interactive interface;
determining a corresponding delay time threshold when the data stream is a delay data stream according to the target service level;
And determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow.
14. The data flow monitoring method of claim 12, wherein the target computing device determining the data flow summary table for the request message comprises:
generating a threshold value determining interface for obtaining a corresponding delay time length threshold value when the data stream is a delay data stream according to the request message, and displaying the threshold value determining interface through an interactive interface for man-machine interaction corresponding to the target computing equipment;
obtaining a corresponding delay time threshold value when the data stream determined by the target user aiming at the threshold value determining interface is a delay data stream through the interactive interface;
and determining the data flow summary table according to a corresponding delay time threshold value when the data flow is the delay data flow.
15. The data stream monitoring method of claim 1, further comprising:
providing the delay state information to a target computing device corresponding to the target network switching device;
and the target computing equipment displays the delay state information through an interactive interface which corresponds to the target computing equipment and is used for man-machine interaction.
16. A data stream monitoring apparatus, comprising:
the delay time length threshold value obtaining unit is used for obtaining a first delay time length threshold value corresponding to the data flow to be monitored and a second delay time length threshold value corresponding to the data flow to be monitored, wherein the first delay time length threshold value is smaller than the second delay time length threshold value;
the delay time length data obtaining unit is used for obtaining the current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
a delay state information obtaining unit, configured to determine delay state information of the data stream to be monitored at the current time according to the current delay time length data, the first delay time length threshold value, and the second delay time length threshold value, where the delay state information is state information for indicating whether the data stream is a delay data stream at a specified time;
wherein the determining delay state information of the data stream to be monitored in the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
acquiring the previous delay state information of the data flow to be monitored at the current time;
If the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
17. An electronic device, comprising:
a processor; and
a memory for storing a program of the data stream monitoring method, the apparatus being powered on and executing the program of the data stream monitoring method by the processor, and performing the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
Determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in a specified time;
wherein the determining delay state information of the data stream to be monitored in the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
acquiring the previous delay state information of the data flow to be monitored at the current time;
if the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
18. A storage medium storing a program of a data stream monitoring method, the program being executed by a processor to perform the steps of:
acquiring a first delay time length threshold corresponding to a data stream to be monitored and a second delay time length threshold corresponding to the data stream to be monitored, wherein the first delay time length threshold is smaller than the second delay time length threshold;
acquiring current delay time length data of the data stream to be monitored in the target network switching equipment at the current time;
determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is a delay data stream in a specified time;
wherein the determining delay state information of the data stream to be monitored in the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
acquiring the previous delay state information of the data flow to be monitored at the current time;
If the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
19. A method for monitoring a data stream, comprising:
obtaining a data stream to be exchanged in a target switch as a data stream to be monitored, and obtaining a preset data stream summary table, wherein the data stream summary table is a summary table for recording a corresponding delay time length threshold value when the data stream is a delay data stream;
obtaining a first delay time length threshold value corresponding to the data flow to be monitored and a second delay time length threshold value corresponding to the data flow to be monitored from the data flow summary table, wherein the first delay time length threshold value is smaller than the second delay time length threshold value;
acquiring current delay time length data of the data flow to be monitored in a target switch at current time;
Determining delay state information of the data stream to be monitored in the current time according to the current delay time length data, the first delay time length threshold value and the second delay time length threshold value, wherein the delay state information is state information used for indicating whether the data stream is the delay data stream in the appointed time;
generating a delay event triggering instruction for the data stream to be monitored according to delay state information of the data stream to be monitored at the current time, or generating a non-delay event triggering instruction for the data stream to be monitored, wherein the delay event triggering instruction is an instruction for indicating to trigger a delay event for the data stream to be monitored, and the non-delay event triggering instruction is an instruction for indicating to trigger a non-delay event for the data stream to be monitored;
wherein the determining delay state information of the data stream to be monitored in the current time according to the current delay time data, the first delay time threshold and the second delay time threshold includes:
acquiring the previous delay state information of the data flow to be monitored at the current time;
If the previous delay state information of the data stream to be monitored under the current time is first delay state information, comparing the current delay time length data with the second delay time length threshold value;
if the current delay time length data does not exceed the second delay time length threshold value, determining that the delay state information of the data stream to be monitored is the first delay state information under the current time;
the first delay state information is state information indicating that the data stream is not the delay data stream.
CN202010881327.XA 2020-08-27 2020-08-27 Data stream monitoring method and device, electronic equipment and storage medium Active CN113300901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010881327.XA CN113300901B (en) 2020-08-27 2020-08-27 Data stream monitoring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010881327.XA CN113300901B (en) 2020-08-27 2020-08-27 Data stream monitoring method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113300901A CN113300901A (en) 2021-08-24
CN113300901B true CN113300901B (en) 2024-03-12

Family

ID=77318627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010881327.XA Active CN113300901B (en) 2020-08-27 2020-08-27 Data stream monitoring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113300901B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099949A (en) * 2014-04-16 2015-11-25 杜比实验室特许公司 Jitter buffer control based on monitoring for dynamic states of delay jitter and conversation
CN109075997A (en) * 2016-04-21 2018-12-21 思科技术公司 The delay of jump formula and the stateless deduction of the distribution of two-way time of Internet protocol flow
CN109478940A (en) * 2016-07-07 2019-03-15 思科技术公司 Deterministic, calibration, synchronous network interconnection access
CN110876159A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Method and device for improving time delay certainty
CN111585833A (en) * 2020-04-09 2020-08-25 新浪网技术(中国)有限公司 Method and device for detecting public network quality of CDN node and computer equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6134622B2 (en) * 2013-09-24 2017-05-24 株式会社日立製作所 Communication system and time synchronization method
JP7115465B2 (en) * 2017-03-16 2022-08-09 日本電気株式会社 DELAY PREDICTION DEVICE, DELAY PREDICTION SYSTEM, DELAY PREDICTION METHOD AND DELAY PREDICTION PROGRAM

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099949A (en) * 2014-04-16 2015-11-25 杜比实验室特许公司 Jitter buffer control based on monitoring for dynamic states of delay jitter and conversation
CN109075997A (en) * 2016-04-21 2018-12-21 思科技术公司 The delay of jump formula and the stateless deduction of the distribution of two-way time of Internet protocol flow
CN109478940A (en) * 2016-07-07 2019-03-15 思科技术公司 Deterministic, calibration, synchronous network interconnection access
CN110876159A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Method and device for improving time delay certainty
CN111585833A (en) * 2020-04-09 2020-08-25 新浪网技术(中国)有限公司 Method and device for detecting public network quality of CDN node and computer equipment

Also Published As

Publication number Publication date
CN113300901A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
US11372669B2 (en) System and method of cross-silo discovery and mapping of storage, hypervisors and other network objects
US10158541B2 (en) Group server performance correction via actions to server subset
US10581745B2 (en) Dynamic throttling thresholds
KR102110757B1 (en) Monitoring the performance of distributed storage systems
US10904112B2 (en) Automatic capture of detailed analysis information based on remote server analysis
US9124621B2 (en) Security alert prioritization
US11216310B2 (en) Capacity expansion method and apparatus
US11150999B2 (en) Method, device, and computer program product for scheduling backup jobs
US20170185454A1 (en) Method and Electronic Device for Determining Resource Consumption of Task
US20130290499A1 (en) Method and system for dynamic scaling in a cloud environment
US9460399B1 (en) Dynamic event driven storage system optimization
US20160094392A1 (en) Evaluating Configuration Changes Based on Aggregate Activity Level
CN111970339A (en) Request control method and device and electronic equipment
US10122602B1 (en) Distributed system infrastructure testing
CN111046007A (en) Method, apparatus and computer program product for managing a storage system
US9317355B2 (en) Dynamically determining an external systems management application to report system errors
US10191844B2 (en) Automatic garbage collection thrashing monitoring
US20230359514A1 (en) Operation-based event suppression
CN113300901B (en) Data stream monitoring method and device, electronic equipment and storage medium
US9754004B2 (en) Asynchronous notification method for data storage systems
US20200142746A1 (en) Methods and system for throttling analytics processing
JP2018088041A (en) Connection number control program, distribution apparatus and connection number control method
US20230216771A1 (en) Algorithm for building in-context report dashboards
US11611466B1 (en) Impact-aware mitigation for computer networks
CN115220640A (en) Method, electronic device and computer program product for processing data

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40057984

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant