CN111082951A - Fault diagnosis method, device, equipment and storage medium - Google Patents

Fault diagnosis method, device, equipment and storage medium Download PDF

Info

Publication number
CN111082951A
CN111082951A CN201911397506.XA CN201911397506A CN111082951A CN 111082951 A CN111082951 A CN 111082951A CN 201911397506 A CN201911397506 A CN 201911397506A CN 111082951 A CN111082951 A CN 111082951A
Authority
CN
China
Prior art keywords
network
fault
data stream
stream transmission
time point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911397506.XA
Other languages
Chinese (zh)
Other versions
CN111082951B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201911397506.XA priority Critical patent/CN111082951B/en
Publication of CN111082951A publication Critical patent/CN111082951A/en
Application granted granted Critical
Publication of CN111082951B publication Critical patent/CN111082951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • 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/0823Errors, e.g. transmission errors

Abstract

The application discloses a fault diagnosis method, a fault diagnosis device, fault diagnosis equipment and a storage medium, which are used for a multicast system, wherein the multicast system comprises a plurality of network levels, different network levels correspond to different priorities, and a first network level corresponds to the lowest priority, and the method comprises the following steps: acquiring a fault time period of a first network layer, wherein the first network layer fails at least one time point in the fault time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; and determining the fault network level with the fault according to the fault time point and the fault data stream. The method can quickly locate the fault network hierarchy, improve the fault processing efficiency and improve the service use experience of the user.

Description

Fault diagnosis method, device, equipment and storage medium
Technical Field
The present application relates to the field of network fault processing, and in particular, to a fault diagnosis method, apparatus, device, and storage medium.
Background
With the development of internet technology, multicast technology is widely used. In the multicast system, each network hierarchy is associated from high to low once according to the priority, the network hierarchy with the highest priority only sends one piece of data, the destination address of the data is each network unit in the network hierarchy with the lowest priority, and each network unit in the network hierarchy with the lowest priority can obtain the copy of the data sent by the network hierarchy with the highest priority. Therefore, the network hierarchy with higher priority may be affected by the failure of the network hierarchy with lower priority, and therefore, it is very important to accurately locate the failed network hierarchy in the multicast system.
In the related art, fault monitoring is independently performed at each network level, and when a certain network level fails, an alarm is given.
However, when a plurality of network levels fail simultaneously, the way of independently monitoring the failure at each network level cannot perform correlation analysis on each network level, and cannot quickly locate the failure source, which results in delay of failure processing time and failure processing timeliness.
Disclosure of Invention
The embodiment of the application provides a fault diagnosis method, a fault diagnosis device, equipment and a storage medium, which are used for solving the problem that the existing fault diagnosis method cannot quickly locate a fault source.
In a first aspect, the present application provides a fault diagnosis method for a multicast system, where the multicast system includes multiple network hierarchies, different network hierarchies correspond to different priorities, and a first network hierarchy corresponds to a lowest priority, and the method includes:
acquiring a failure time period of a first network layer level, wherein the first network layer level fails at least one time point in the failure time period;
determining a fault time point of the first network layer according to the fault time period;
according to the fault time point, acquiring the data stream type received by the first network layer at the fault time point, and determining the data stream type received by the first network layer at the fault time point as a fault data stream;
and determining the fault network level with the fault according to the fault time point and the fault data stream.
Further, different network levels correspond to different data stream transmission indexes, wherein the data stream transmission indexes are used for characterizing the capability of the corresponding network level to transmit data streams, and the method further comprises the following steps:
the data stream transmission indexes corresponding to each network level are periodically obtained according to preset time intervals, wherein a first preset time interval corresponding to a first network level is larger than second preset time intervals corresponding to other network levels, and a first period corresponding to the first network level is larger than second periods corresponding to other network levels.
Further, the determining a failure time point of the first network layer failure according to the failure time period includes:
according to the fault time period, acquiring a first data stream transmission index corresponding to each sampling point in the fault time period by the first network level; the sampling point is a time point for acquiring the transmission index of the first data stream;
and determining the sampling point corresponding to the first data stream transmission index lower than a first preset value as the fault time point according to the first data stream transmission index corresponding to the sampling point of the first network level.
Further, the determining a failed network hierarchy according to the failure time point and the failure data stream includes:
acquiring data stream transmission indexes of the fault data streams in other network layers corresponding to the fault time points according to the fault time points and the fault data streams;
and determining the network level with the highest priority in the network levels corresponding to the data stream transmission indexes smaller than a second preset value as the fault network level according to the data stream transmission indexes of the fault data stream in the other network levels corresponding to the fault time point.
Further, determining, according to data stream transmission indexes of the fault data stream corresponding to the fault time point in the other network hierarchies, a network hierarchy with a highest priority in the network hierarchies in which the corresponding data stream transmission indexes are smaller than a second preset value as the fault network hierarchy, including:
repeatedly executing the following steps until executing N times or determining the network level with the highest priority in the network levels with the corresponding data stream transmission indexes smaller than a second preset value, wherein N is a positive integer not smaller than 1:
determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in the other network levels at the fault time point;
if so, determining the network level with the highest priority as the fault network level;
if not, the network level of the next priority is confirmed as the network level with the highest priority.
Further, the determining, as the failure time point, the sampling point corresponding to the first data stream transmission indicator that is lower than the first preset value includes:
and determining a sampling point corresponding to the first data stream transmission index with the lowest value in the first data stream transmission indexes lower than the first preset value as the fault time point.
Further, the determining, as the failure time point, the sampling point corresponding to the first data stream transmission indicator that is lower than the first preset value includes:
and determining a sampling point corresponding to a first data stream transmission index in the first data stream transmission indexes lower than a first preset value as the fault time point according to the time sequence.
Further, the acquiring a failure time period of the first network layer includes:
acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a time period when the network unit corresponding to the user fails;
and according to the fault feedback, taking the time period when the network unit corresponding to the user is in fault as the fault time period of the first network layer.
Further, the acquiring a failure time period of the first network layer includes:
acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a user identifier of the user and/or a network unit identifier of the network unit corresponding to the user;
and acquiring a time period when the network unit corresponding to the user fails according to the user identifier and/or the network unit identifier, and taking the time period when the network unit corresponding to the user fails as the failure time period of the first network level.
In a second aspect, the present application provides a fault diagnosis apparatus for a multicast system, the multicast system including a plurality of network hierarchies, different network hierarchies corresponding to different priorities, and a first network hierarchy corresponding to a lowest priority, the apparatus comprising:
a first acquisition unit, configured to acquire a failure time period of a first network layer, where the first network layer fails at least one time point in the failure time period;
the first processing unit is used for determining a fault time point of the first network layer according to the fault time period;
a second obtaining unit, configured to obtain, according to the failure time point, a data stream type received by the first network layer at the failure time point, and determine the data stream type received by the first network layer at the failure time point as a failure data stream;
and the second processing unit is used for determining a fault network layer with a fault according to the fault time point and the fault data stream.
Further, different network levels correspond to different data stream transmission indexes, wherein the data stream transmission indexes are used for characterizing the capability of the corresponding network level to transmit data streams, and the device further comprises:
a third obtaining unit, configured to periodically obtain data stream transmission indexes corresponding to each network tier according to preset time intervals, where a first preset time interval corresponding to the first network tier is greater than second preset time intervals corresponding to other network tiers, and a first period corresponding to the first network tier is greater than second periods corresponding to other network tiers.
Further, the first processing unit includes:
a first obtaining subunit, configured to obtain, according to the failure time period, a first data stream transmission indicator corresponding to each sampling point in the failure time period in the first network tier; the sampling point is a time point for acquiring the transmission index of the first data stream;
and the first processing subunit is used for determining the sampling point corresponding to the first data stream transmission index lower than a first preset value as the fault time point according to the first data stream transmission index corresponding to the first network level at each sampling point.
Further, the second processing unit includes:
the second obtaining subunit is configured to obtain, according to the failure time point and the failure data stream, a data stream transmission index corresponding to the failure time point of the failure data stream in another network hierarchy;
and the second processing subunit is configured to determine, according to the data stream transmission indicator corresponding to the failure time point of the failure data stream in the other network hierarchies, a network hierarchy with a highest priority in the network hierarchies in which the corresponding data stream transmission indicator is smaller than a second preset value as the failure network hierarchy.
Further, the second processing subunit includes:
the first processing module is configured to repeatedly execute the following steps until the execution is performed N times or until a network level with the highest priority in network levels with corresponding data stream transmission indexes smaller than a second preset value is determined, where N is a positive integer not smaller than 10:
determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in the other network levels at the fault time point;
if so, determining the network level with the highest priority as the fault network level;
if not, the network level of the next priority is confirmed as the network level with the highest priority.
Further, the first data stream transmission indicators corresponding to at least two sampling points are lower than a first preset value, and values of the first data stream transmission indicators corresponding to the sampling points are not equal to each other, and the first processing subunit includes:
and the second processing module is used for determining a sampling point corresponding to the first data stream transmission index with the lowest value in the first data stream transmission indexes lower than the first preset value as the fault time point.
Further, the first data stream transmission indicators corresponding to at least two sampling points are lower than a first preset value, and values of the first data stream transmission indicators corresponding to each sampling point are equal, and the first processing subunit includes:
and the third processing module is used for determining a sampling point corresponding to a first data stream transmission index in the first data stream transmission indexes lower than a first preset value as the fault time point according to the time sequence.
Further, the first network layer includes a plurality of network elements, different network elements correspond to different users, and the first obtaining unit includes:
the second acquisition subunit is used for acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a time period when the network unit corresponding to the user fails;
and the third processing subunit is configured to, according to the failure feedback, use a time period in which the network unit corresponding to the user fails as a failure time period of the first network hierarchy.
Further, the first network layer includes a plurality of network elements, different network elements correspond to different users, and the first obtaining unit includes:
a third obtaining subunit, configured to obtain a fault feedback sent by a user through a network element corresponding to the user, where the fault feedback includes a user identifier of the user and/or a network element identifier of the network element corresponding to the user;
and the fourth processing subunit is configured to acquire, according to the user identifier and/or the network element identifier, a time period in which the network element corresponding to the user fails, and use the time period in which the network element corresponding to the user fails as the failure time period of the first network tier.
In a third aspect, the present application provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first aspects.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of the first aspects.
One embodiment in the above application has the following advantages or benefits: the method comprises the steps of acquiring a fault time period of a first network layer, wherein the first network layer is in fault at least one time point in the fault time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; and determining the fault network level with the fault according to the fault time point and the fault data stream. According to the method, the network level with the fault is searched from the multicast system aiming at the fault time point when the first network level has the fault and the fault data stream type with the fault, so that the fault network level can be quickly positioned, the fault processing efficiency is improved, and the service use experience of a user is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application.
Fig. 1 is a schematic flow chart of a fault diagnosis method provided in an embodiment of the present application;
fig. 1a is a schematic diagram of an IPTV service system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of another fault diagnosis method provided in the embodiment of the present application;
fig. 2a is a schematic diagram of an IPTV service system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a fault diagnosis device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another fault diagnosis device provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a fault diagnosis device according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The application scenario of the application is as follows: with the development of internet technology, multicast technology is widely used. In the multicast system, each network hierarchy is associated from high to low once according to the priority, the network hierarchy with the highest priority only sends one piece of data, the destination address of the data is each network unit in the network hierarchy with the lowest priority, and each network unit in the network hierarchy with the lowest priority can obtain the copy of the data sent by the network hierarchy with the highest priority. Therefore, the network hierarchy with higher priority may be affected by the failure of the network hierarchy with lower priority, and therefore, it is very important to accurately locate the failed network hierarchy in the multicast system.
In the related art, fault monitoring is independently performed at each network level, and when a certain network level fails, an alarm is given.
However, when a plurality of network levels fail simultaneously, the way of independently monitoring the failure at each network level cannot perform correlation analysis on each network level, and cannot quickly locate the failure source, which results in delay of failure processing time and failure processing timeliness.
The present application provides a fault diagnosis method, apparatus, device and storage medium, which aim to solve the above technical problems.
Fig. 1 is a fault diagnosis method provided in an embodiment of the present application, and as shown in fig. 1, the method includes:
step 101, obtaining a failure time period of a first network layer, wherein the first network layer fails at least one time point in the failure time period.
In this embodiment, specifically, an execution main body of this embodiment is a terminal device, a server or a controller that is disposed on the terminal device, or other apparatuses or devices that can execute this embodiment, and this embodiment is described by taking the execution main body as an application controller that is disposed on the terminal device as an example.
The method of this embodiment may be applied to a multicast system including a plurality of network levels, different network levels corresponding to different priorities, and a first network level corresponding to a lowest priority. Exemplarily, fig. 1a is a schematic structural diagram of an IPTV service system provided in this embodiment, and as shown in fig. 1a, the multicast system may be an IPTV service system, in which the IPTV service system includes a plurality of network hierarchies with different priorities, and the network hierarchies are from high to low according to the priorities, and the IPTV service system includes: a broadcast control platform, a transcoding platform, RP (rendezvous point for multicast), CR (core router), SR (service router), OLT (optical line terminal) and a user set-top box side.
The failure time period of the first network layer refers to a time period when the first network layer fails, and the duration of the failure time period has no special requirement, and may be several minutes, several hours or one day, for example. The method for obtaining the failure time period of the first network layer may be conventional in the art, for example, the failure time period may be obtained according to the user failure feedback of the first network layer, or the failure time period of the first network layer failing may be obtained through system monitoring and detection.
Exemplarily, for the IPTV service system shown in fig. 1a, the set-top box side of the user corresponds to the first network layer level in this embodiment; when a user watches live broadcast through an IPTV service system, the user finds that the live broadcast fails, so that the live broadcast cannot be carried out or the quality of the live broadcast is poor, and can feed back the failure condition to a controller; after the controller obtains the fault feedback of the user, according to the fault feedback, the time when the fault occurs, which is fed back by the user, may be used as a fault time period, or according to the MAC address of the set top box or the IPTV service account corresponding to the user, the time period when the fault occurs at the set top box side corresponding to the user may be queried, and is used as the fault time period in this embodiment.
And step 102, determining a fault time point of the first network layer according to the fault time period.
In this embodiment, specifically, according to the failure time period, a time point when the first network hierarchy fails within the failure time period is determined, and the time point is taken as a failure time point. Wherein, the first network layer may fail at one time point in the failure time period, or may fail at a plurality of time points in the failure time period; when the first network layer only has a fault at one time point in the fault time period, directly taking the time point as the fault time point of the embodiment; when the first network hierarchy fails at a plurality of points in time within the failure time period, the point in time at which the corresponding failure condition is most serious may be taken as the failure point in time of the present embodiment.
Step 103, according to the failure time point, obtaining the data stream type received by the first network level at the failure time point, and determining the data stream type received by the first network level at the failure time point as a failure data stream.
The anchor system is characterized in that the network level with the highest priority only sends one data stream at a time, and after the data stream is transmitted to the network level with the lowest priority, the data stream is copied and transmitted to the network level with the lowest priority according to the requirement of the network level with the lowest priority.
In this embodiment, specifically, in the multicast system of this embodiment, the data stream sent by the network level with the highest priority is composed of multiple types of data streams, the data stream sent by the network level with the highest priority is transmitted to the first network level through the remaining network levels with different priorities, and then one type of data stream is copied and sent to the first network level according to the requirement of the first network level. Exemplarily, in the IPTV service system shown in fig. 1a, a broadcast control platform (program source) transmits a video stream to other service levels, where the video stream includes a plurality of video channels, for example, the video stream transmitted by the broadcast control platform (program source) to other service levels includes video channel 1, video channel 2, and video channel 3 simultaneously; video streams sent by a broadcast control platform (program source) are sequentially transmitted to a set top box side of a user through an RP, a CR, an SR and an OLT, then the OLT copies a certain video stream in the video streams sent by the broadcast control platform (program source) and sends the copied video stream to the set top box side of the user according to the requirement of the set top box side of the user, for example, the OLT copies the data stream of a video channel 1 and sends the copied data stream to the set top box side of the user, and the set top box of the user receives the data stream of the video channel 1 and plays the video channel 1 through a player; when the video channel 1 played by the player fails, the video channel 1 is taken as a failed video stream.
And step 104, determining a fault network layer with a fault according to the fault time point and the fault data stream.
In the present embodiment, specifically, for the failure time point and the failure data stream determined in the foregoing steps, in the multicast system, it is queried in all network hierarchies whether the failure data has failed at the failure time point, and the network hierarchy in which the failure has occurred is determined as the failed network hierarchy. When there are a plurality of network hierarchies with faults, the network hierarchy with the highest priority in the network hierarchy with faults can be determined as the network hierarchy with faults.
In this embodiment, a failure time period of a first network layer is obtained, where the first network layer fails at least at one time point in the failure time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; and determining the fault network level with the fault according to the fault time point and the fault data stream. The method of the embodiment searches the network hierarchy with the fault from the multicast system aiming at the fault time point when the first network hierarchy has the fault and the fault data stream type with the fault, can quickly locate the fault network hierarchy, improves the fault processing efficiency, and improves the service use experience of users.
Fig. 2 is a schematic flow chart of another fault diagnosis method provided in an embodiment of the present application, and based on fig. 1, as shown in fig. 2, the method includes:
step 201, obtaining a failure time period of a first network layer, wherein the first network layer fails at least one time point in the failure time period.
In the present embodiment, specifically, the method and principle of step 201 are similar to or the same as those of step 101, see the related description of step 101.
On the basis of step 101, the first network layer in this embodiment includes several network elements, and different network elements correspond to different users. Exemplarily, fig. 2a is a schematic diagram of an IPTV service system provided in this embodiment, as shown in fig. 2a, a set-top box side of a user corresponds to a first network unit in this embodiment, the set-top box side of the user includes a plurality of set-top boxes of users, such as a set-top box 1, a set-top box 2, and a set-top box 3, and each set-top box of the user corresponds to one user, such as a user 1, a user 2, and a user 3.
Optionally, in this embodiment, the obtaining of the failure time of the first network layer may be: acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a time period when the network unit corresponding to the user fails; and according to the fault feedback, taking the time period when the network unit corresponding to the user is in fault as the fault time period of the first network layer. In this method, since the failure feedback sent by the user includes the time period during which the network element fails, in order to reduce the troubleshooting time, the time period during which the network element fails included in the failure feedback is directly used as the failure time period in this embodiment. Illustratively, when the user 1 in fig. 2a watches a program by using the set top box 1 on 12/2018 at 9:00-10:00, the user 1 may send a failure feedback through the set top box 1 or by other means, and the failure feedback includes a time period "9: 00-10:00 on 12/2018, the time period is determined as a failure time period.
Alternatively, in this embodiment, the obtaining of the failure time of the first network layer may be: acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a user identifier of the user and/or a network unit identifier of the network unit corresponding to the user; and acquiring the time period when the network unit corresponding to the user fails according to the user identifier and/or the network unit identifier, and taking the time period when the network unit corresponding to the user fails as the failure time period of the first network level. In the method, since the failure feedback sent by the user does not include the time period in which the network element fails, the time period in which the network element corresponding to the user fails needs to be queried and acquired according to the user identifier and/or the network element identifier, and then the acquired time period in which the network element fails is used as the failure time period in this embodiment. Illustratively, when the user 1 in fig. 2a watches a program by using the set top box 1, it is found that the program is watched to be faulty, the user 1 sends a fault feedback through the set top box 1 or other means, where the user feedback only includes a user identifier (e.g., an IPTV account) of the user 1 and/or a set top box identifier (e.g., a set top box MAC address) of the set top box 1, and according to the user identifier (e.g., the IPTV account) of the user 1 and/or the set top box identifier (e.g., the set top box MAC address) of the set top box 1, it is queried that the user 1 watches the program and has a fault on the above 9:00-10:00 days 12/2018, so that a time period "9: 00-10: 00" on 12.
Step 202, determining a fault time point of a first network layer fault according to a fault time period; and according to the failure time point, acquiring the data stream type received by the first network layer at the failure time point, and determining the data stream type received by the first network layer at the failure time point as a failure data stream.
In this embodiment, specifically, in addition to the contents described in step 101 and step 102, the method further includes: the data stream transmission indexes corresponding to the network levels are periodically obtained according to preset time intervals, wherein a first preset time interval corresponding to a first network level is larger than second preset time intervals corresponding to other network levels, and a first period corresponding to the first network level is larger than second periods corresponding to other network levels. Different network levels can correspond to different data stream transmission indexes, wherein the data stream transmission indexes are used for representing the capability of the corresponding network level for transmitting data streams, the higher the value of the data stream transmission index is, the stronger the capability of the corresponding network level for transmitting the data streams is, and on the contrary, the lower the value of the data stream transmission index is, the worse the capability of the corresponding network level for transmitting the data streams is. Multicast systems may fail when the network level has a poor ability to transport data streams. A first preset time interval corresponding to a first network level and a second preset time interval corresponding to other network levels can be selected in a larger range, for example, the first preset time interval can be 15min, and the second preset time interval can be 1 s; the first preset time interval is greater than the second preset time interval, the first period is greater than the second period, the number of the collected data stream transmission indexes of the network levels with other priorities can be greater than the number of the data stream transmission indexes of the first network level, the data stream transmission indexes of each first network level are ensured to have one corresponding data stream transmission index of the network level with other priorities, and the accuracy of the data backtracking in the later period is ensured.
The method for obtaining the data stream transmission indicator corresponding to each network level may be a conventional method in the art, and for example, the data stream transmission indicator corresponding to each network level may be obtained by using an active stream pulling probe and/or a passive image analysis probe.
Determining a failure time point of the first network layer failure according to the failure time period, comprising: according to the fault time period, acquiring a first data stream transmission index corresponding to each sampling point of the first network layer in the fault time period, wherein the sampling point is a time point for acquiring the first data stream transmission index; and determining the sampling points corresponding to the first data stream transmission indexes lower than the first preset value as fault time points according to the first data stream transmission indexes corresponding to the sampling points of the first network level. The value of the first preset value is determined according to actual needs, if the multicast system has a high demand on the data stream transmission capability of each network level, a higher first preset value should be set, and conversely, if the multicast system has a low demand on the data stream transmission capability of each network level, a lower first preset value may also be set.
In the method, if there are at least two first data stream transmission indexes corresponding to the sampling points in the fault time period that are lower than a first preset value, and values of the first data stream transmission indexes corresponding to the sampling points are not equal to each other, determining the sampling point corresponding to the first data stream transmission index that is lower than the first preset value as a fault time point, including: and determining a sampling point corresponding to the first data stream transmission index with the lowest value in the first data stream transmission indexes lower than the first preset value as a fault time point.
In the method, if there are at least two first data stream transmission indexes corresponding to the sampling points in the fault time period that are lower than a first preset value and the values of the first data stream transmission indexes corresponding to the sampling points are equal, determining the sampling point corresponding to the first data stream transmission index that is lower than the first preset value as a fault time point, including: and according to the time sequence, determining a sampling point corresponding to a first data stream transmission index in the first data stream transmission indexes lower than a first preset value as a fault time point.
In this embodiment, there is no particular limitation on the data type of the data stream transmission indicator corresponding to each network layer, and all the relevant data capable of reflecting the data stream transmission capability of each network layer can be used as the data stream transmission indicator in this embodiment. For example, for an IPTV service system, the data stream transmission index corresponding to each network level may be a MOS value.
And 203, acquiring data stream transmission indexes of the fault data streams in other network layers corresponding to the fault time points according to the fault time points and the fault data streams.
In this embodiment, specifically, referring to the description of step 202, the method of this embodiment may periodically obtain the data stream transmission indexes corresponding to each network hierarchy, and therefore, after determining the failure time point and the failure data stream, the failure time point and the failure data stream may be matched with the data stream transmission indexes corresponding to each network hierarchy periodically obtained before, and the data stream transmission indexes corresponding to the failure time points of the failure data streams in other network hierarchies may be screened out.
And 204, determining the network level with the highest priority in the network levels corresponding to the data stream transmission indexes smaller than the second preset value as the fault network level according to the data stream transmission indexes of the fault data streams in other network levels corresponding to the fault time point.
In this embodiment, specifically, if the data stream transmission index corresponding to a certain network level is smaller than the second preset value, it may be considered that the data stream transmission capability of the network level is deteriorated due to a failure of the network level; in the multicast system, the data stream is transmitted from the network level with the high priority to the network level with the low priority, that is, after the network level with the high priority fails, the network level with the low priority will inevitably fail, and therefore, the network level with the highest priority in the network levels corresponding to the data stream transmission index smaller than the second preset value is determined as the failed network level in this embodiment. The value of the second preset value may be determined according to actual needs, if the multicast system has a high demand on the data stream transmission capability of each network level, a higher second preset value should be set, otherwise, if the multicast system has a low demand on the data stream transmission capability of each network level, a lower second preset value may also be set, and the second preset value may be the same as or different from the first preset value.
Determining a network hierarchy with the highest priority in network hierarchies of which the corresponding data stream transmission indexes are smaller than a second preset value as a fault network hierarchy according to data stream transmission indexes corresponding to fault data streams in other network hierarchies at a fault time point, wherein the method comprises the following steps of: repeatedly executing the following steps until executing N times or determining the network level with the highest priority in the network levels with the corresponding data stream transmission indexes smaller than a second preset value, wherein N is a positive integer not smaller than 1: determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in other network levels at the fault time point; if so, determining the network level with the highest priority as a fault network level; if not, the network level of the next priority is confirmed as the network level with the highest priority. The number of the N values is the same as the number of the network levels in this embodiment, and if the failed network level cannot be determined after the N times of execution, the first network level is determined as the failed network level.
Exemplarily, in the IPTV service system shown in fig. 2a, the network hierarchies are, in order from high to low according to the priority: the system comprises a broadcast control platform, a transcoding platform, an RP, a CR, an SR, an OLT and a user set top box side; suppose that the failure time point is 09:00 and the failure data stream is a video channel 1; firstly, obtaining MOS values of a video channel 1 transmitted in each network level at 09: 00; and aiming at the MOS value of each network level, firstly, determining whether the MOS value corresponding to the broadcasting control platform is smaller than a second preset value or not, if so, determining the broadcasting control platform to be a fault network level, if not, continuously determining whether the MOS value corresponding to the transcoding platform is smaller than the second preset value or not, if so, determining the transcoding platform to be the fault network level, otherwise, continuously determining whether the MOS value corresponding to the RP is smaller than the second preset value … … or not, and repeating the steps until the fault network level is determined, or, traversing all network levels, and determining the top box side of the user machine to be the fault network level.
In this embodiment, a failure time period of a first network layer is obtained, where the first network layer fails at least at one time point in the failure time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; acquiring data stream transmission indexes of fault data streams in other network layers corresponding to the fault time points according to the fault time points and the fault data streams; and determining the network level with the highest priority in the network levels corresponding to the data stream transmission indexes smaller than the second preset value as the fault network level according to the data stream transmission indexes of the fault data streams in other network levels corresponding to the fault time point. The fault diagnosis method of the embodiment comprehensively considers the data stream transmission indexes of each network level in the multicast system, determines the network level with the highest priority in the network levels with faults as the fault network level, and can quickly and accurately position the fault network level from the root; moreover, in the method of the embodiment, the data stream transmission indexes of each network level are periodically acquired, and based on the acquired data stream transmission indexes, fault diagnosis in a past period of time can be realized, a fault can be traced, which is beneficial to positioning of a fault source and improving accuracy of fault processing.
Fig. 3 is a schematic structural diagram of a fault diagnosis apparatus according to an embodiment of the present application, and as shown in fig. 3, the apparatus is used in a multicast system, the multicast system includes a plurality of network hierarchies, different network hierarchies correspond to different priorities, and a first network hierarchy corresponds to a lowest priority, and the apparatus includes:
a first obtaining unit 1, configured to obtain a failure time period of a first network layer, where the first network layer fails at least one time point in the failure time period;
the first processing unit 2 is configured to determine a failure time point at which a failure occurs in the first network layer according to the failure time period;
the second obtaining unit 3 is configured to obtain, according to the failure time point, a data stream type received by the first network tier at the failure time point, and determine the data stream type received by the first network tier at the failure time point as a failure data stream;
and the second processing unit 4 is used for determining a fault network hierarchy with a fault according to the fault time point and the fault data stream.
In this embodiment, a failure time period of a first network layer is obtained, where the first network layer fails at least at one time point in the failure time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; and determining the fault network level with the fault according to the fault time point and the fault data stream. The method of the embodiment searches the network hierarchy with the fault from the multicast system aiming at the fault time point when the first network hierarchy has the fault and the fault data stream type with the fault, can quickly locate the fault network hierarchy, improves the fault processing efficiency, and improves the service use experience of users.
Fig. 4 is a schematic structural diagram of another fault diagnosis device provided in an embodiment of the present application, and based on fig. 3, as shown in fig. 4,
the different network layers correspond to different data stream transmission indexes, wherein the data stream transmission indexes are used for characterizing the capability of the corresponding network layers for transmitting data streams, and the device further comprises:
the third obtaining unit 5 is configured to periodically obtain the data stream transmission indicator corresponding to each network tier according to a preset time interval, where a first preset time interval corresponding to a first network tier is greater than second preset time intervals corresponding to other network tiers, and a first period corresponding to the first network tier is greater than second periods corresponding to other network tiers.
A first processing unit 2 comprising:
the first obtaining subunit 21 is configured to obtain, according to a failure time period, a first data stream transmission index corresponding to each sampling point in the failure time period in the first network tier; the sampling point is a time point for acquiring a first data stream transmission index;
the first processing subunit 22 is configured to determine, as a failure time point, a sampling point corresponding to a first data stream transmission indicator lower than a first preset value according to a first data stream transmission indicator corresponding to each sampling point of the first network tier.
A second processing unit 4 comprising:
a second obtaining subunit 41, configured to obtain, according to the failure time point and the failure data stream, a data stream transmission index corresponding to the failure time point of the failure data stream in another network hierarchy;
and the second processing subunit 42 is configured to determine, according to data stream transmission indexes corresponding to failure time points of failure data streams in other network hierarchies, a network hierarchy with a highest priority in the network hierarchies in which the corresponding data stream transmission indexes are smaller than a second preset value as a failure network hierarchy.
A second processing subunit 42, comprising:
the first processing module 421 is configured to repeatedly execute the following steps until the execution is performed N times or until it is determined that a network tier with the highest priority is located in the network tiers whose corresponding data stream transmission indexes are smaller than a second preset value, where N is a positive integer not smaller than 10:
determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in other network levels at the fault time point;
if so, determining the network level with the highest priority as a fault network level;
if not, the network level of the next priority is confirmed as the network level with the highest priority.
The first data stream transmission indexes corresponding to at least two sampling points are lower than a first preset value, and the values of the first data stream transmission indexes corresponding to each sampling point are not equal to each other, and the first processing subunit 22 includes:
the second processing module 221 is configured to determine, as a failure time point, a sampling point corresponding to a first data stream transmission indicator with a lowest value in the first data stream transmission indicators lower than the first preset value.
The first data stream transmission indexes corresponding to at least two sampling points are lower than a first preset value, and the values of the first data stream transmission indexes corresponding to each sampling point are equal, and the first processing subunit 22 includes:
the third processing module 222 is configured to determine, according to the time sequence, a sampling point corresponding to a first data stream transmission indicator in the first data stream transmission indicators lower than the first preset value as a failure time point.
The first network layer comprises a plurality of network units, different network units correspond to different users, and the first obtaining unit 1 comprises:
the second obtaining subunit 11, where the user obtains the fault feedback sent by the user through the network unit corresponding to the user, where the fault feedback includes a time period when the network unit corresponding to the user fails;
and the third processing subunit 12 is configured to, according to the failure feedback, use a time period in which the network unit corresponding to the user fails as a failure time period of the first network hierarchy.
The first network layer comprises a plurality of network units, different network units correspond to different users, and the first obtaining unit 1 comprises:
a third obtaining subunit 13, configured to obtain a fault feedback sent by the user through the network unit corresponding to the user, where the fault feedback includes a user identifier of the user and/or a network unit identifier of the network unit corresponding to the user;
the fourth processing subunit 14 is configured to obtain, according to the user identifier and/or the network element identifier, a time period when the network element corresponding to the user fails, and use the time period when the network element corresponding to the user fails as a failure time period of the first network tier.
In this embodiment, a failure time period of a first network layer is obtained, where the first network layer fails at least at one time point in the failure time period; determining a fault time point of the first network layer according to the fault time period; acquiring the type of the data stream received by the first network layer at the fault time point according to the fault time point, and determining the type of the data stream received by the first network layer at the fault time point as a fault data stream; acquiring data stream transmission indexes of fault data streams in other network layers corresponding to the fault time points according to the fault time points and the fault data streams; and determining the network level with the highest priority in the network levels corresponding to the data stream transmission indexes smaller than the second preset value as the fault network level according to the data stream transmission indexes of the fault data streams in other network levels corresponding to the fault time point. The fault diagnosis method of the embodiment comprehensively considers the data stream transmission indexes of each network level in the multicast system, determines the network level with the highest priority in the network levels with faults as the fault network level, and can quickly and accurately position the fault network level from the root; moreover, in the method of the embodiment, the data stream transmission indexes of each network level are periodically acquired, and based on the acquired data stream transmission indexes, fault diagnosis in a past period of time can be realized, a fault can be traced, which is beneficial to positioning of a fault source and improving accuracy of fault processing.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 5 is a block diagram of an electronic device according to the method of fault diagnosis in the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of fault diagnosis provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of fault diagnosis provided herein.
The memory 502, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the method of fault diagnosis in the embodiment of the present application (for example, the acquisition unit 1, the first processing unit 2, and the second processing unit 3 shown in fig. 3). The processor 501 executes various functional applications of the server and data processing, i.e., a method of implementing fault diagnosis in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 502.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device for failure diagnosis, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 502 optionally includes memory located remotely from processor 501, which may be connected to the fault-diagnosed electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of fault diagnosis may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus for failure diagnosis, such as an input device such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The principle and the advantageous effects of the fault diagnosis system provided by this embodiment refer to the principle and the advantageous effects of the fault diagnosis method in fig. 1 to fig. 2, and are not described again.
The embodiment of the application also provides a fault diagnosis method, which comprises the following steps: receiving an image searching instruction, and determining and displaying an image group matched with an image to be searched based on the image to be searched in the image searching instruction; the image to be searched comprises at least one first image main body, and the first image main body can be any one or more of the following: text, graphics, and electronic images.
The principle and the advantageous effects of the fault diagnosis method provided by this embodiment refer to the principle and the advantageous effects of the fault diagnosis method in fig. 1-2, and are not described again.
In the embodiments of the present application, the above embodiments may be referred to and referred to by each other, and the same or similar steps and terms are not repeated.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (20)

1. A fault diagnosis method for a multicast system, the multicast system including a plurality of network levels, different network levels corresponding to different priorities, and a first network level corresponding to a lowest priority, the method comprising:
acquiring a failure time period of a first network layer level, wherein the first network layer level fails at least one time point in the failure time period;
determining a fault time point of the first network layer according to the fault time period;
according to the fault time point, acquiring the data stream type received by the first network layer at the fault time point, and determining the data stream type received by the first network layer at the fault time point as a fault data stream;
and determining the fault network level with the fault according to the fault time point and the fault data stream.
2. The method of claim 1, wherein different network levels correspond to different data streaming metrics, wherein the data streaming metrics are used to characterize the ability of the respective network levels to transmit data streams, and wherein the method further comprises:
the data stream transmission indexes corresponding to each network level are periodically obtained according to preset time intervals, wherein a first preset time interval corresponding to a first network level is larger than second preset time intervals corresponding to other network levels, and a first period corresponding to the first network level is larger than second periods corresponding to other network levels.
3. The method of claim 2, wherein determining a failure time point of the first network layer failure according to the failure time period comprises:
according to the fault time period, acquiring a first data stream transmission index corresponding to each sampling point in the fault time period by the first network level; the sampling point is a time point for acquiring the transmission index of the first data stream;
and determining the sampling point corresponding to the first data stream transmission index lower than a first preset value as the fault time point according to the first data stream transmission index corresponding to the sampling point of the first network level.
4. The method of claim 2, wherein determining the failed network hierarchy based on the failure time point and the failure data flow comprises:
acquiring data stream transmission indexes of the fault data streams in other network layers corresponding to the fault time points according to the fault time points and the fault data streams;
and determining the network level with the highest priority in the network levels corresponding to the data stream transmission indexes smaller than a second preset value as the fault network level according to the data stream transmission indexes of the fault data stream in the other network levels corresponding to the fault time point.
5. The method according to claim 4, wherein determining, as the failed network hierarchy, a network hierarchy with a highest priority in network hierarchies in which corresponding data stream transmission indexes are smaller than a second preset value according to data stream transmission indexes corresponding to the failed data stream at the failure time point in the other network hierarchies comprises:
repeatedly executing the following steps until executing N times or determining the network level with the highest priority in the network levels with the corresponding data stream transmission indexes smaller than a second preset value, wherein N is a positive integer not smaller than 1:
determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in the other network levels at the fault time point;
if so, determining the network level with the highest priority as the fault network level;
if not, the network level of the next priority is confirmed as the network level with the highest priority.
6. The method according to claim 3, wherein the first data stream transmission indicators corresponding to at least two sampling points are lower than a first preset value, and values of the first data stream transmission indicators corresponding to the sampling points are different from each other, and determining the sampling point corresponding to the first data stream transmission indicator lower than the first preset value as the failure time point comprises:
and determining a sampling point corresponding to the first data stream transmission index with the lowest value in the first data stream transmission indexes lower than the first preset value as the fault time point.
7. The method according to claim 3, wherein the determining that the sampling points corresponding to the first data stream transmission indicators that are lower than the first preset value are the failure time point comprises:
and determining a sampling point corresponding to a first data stream transmission index in the first data stream transmission indexes lower than a first preset value as the fault time point according to the time sequence.
8. The method according to any one of claims 1 to 7, wherein the first network layer comprises a plurality of network elements, different network elements correspond to different users, and the acquiring the failure time period of the first network layer comprises:
acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a time period when the network unit corresponding to the user fails;
and according to the fault feedback, taking the time period when the network unit corresponding to the user is in fault as the fault time period of the first network layer.
9. The method according to any one of claims 1 to 7, wherein the first network layer comprises a plurality of network elements, different network elements correspond to different users, and the acquiring the failure time period of the first network layer comprises:
acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a user identifier of the user and/or a network unit identifier of the network unit corresponding to the user;
and acquiring a time period when the network unit corresponding to the user fails according to the user identifier and/or the network unit identifier, and taking the time period when the network unit corresponding to the user fails as the failure time period of the first network level.
10. A fault diagnosis apparatus for a multicast system including a plurality of network levels, different network levels corresponding to different priorities, and a first network level corresponding to a lowest priority, the apparatus comprising:
a first acquisition unit, configured to acquire a failure time period of a first network layer, where the first network layer fails at least one time point in the failure time period;
the first processing unit is used for determining a fault time point of the first network layer according to the fault time period;
a second obtaining unit, configured to obtain, according to the failure time point, a data stream type received by the first network layer at the failure time point, and determine the data stream type received by the first network layer at the failure time point as a failure data stream;
and the second processing unit is used for determining a fault network layer with a fault according to the fault time point and the fault data stream.
11. The apparatus of claim 10, wherein different network tiers correspond to different data streaming metrics, wherein the data streaming metrics are used to characterize the capability of the respective network tiers to transmit data streams, the apparatus further comprising:
a third obtaining unit, configured to periodically obtain data stream transmission indexes corresponding to each network tier according to preset time intervals, where a first preset time interval corresponding to the first network tier is greater than second preset time intervals corresponding to other network tiers, and a first period corresponding to the first network tier is greater than second periods corresponding to other network tiers.
12. The apparatus of claim 11, wherein the first processing unit comprises:
a first obtaining subunit, configured to obtain, according to the failure time period, a first data stream transmission indicator corresponding to each sampling point in the failure time period in the first network tier; the sampling point is a time point for acquiring the transmission index of the first data stream;
and the first processing subunit is used for determining the sampling point corresponding to the first data stream transmission index lower than a first preset value as the fault time point according to the first data stream transmission index corresponding to the first network level at each sampling point.
13. The apparatus of claim 11, wherein the second processing unit comprises:
the second obtaining subunit is configured to obtain, according to the failure time point and the failure data stream, a data stream transmission index corresponding to the failure time point of the failure data stream in another network hierarchy;
and the second processing subunit is configured to determine, according to the data stream transmission indicator corresponding to the failure time point of the failure data stream in the other network hierarchies, a network hierarchy with a highest priority in the network hierarchies in which the corresponding data stream transmission indicator is smaller than a second preset value as the failure network hierarchy.
14. The apparatus of claim 13, wherein the second processing subunit comprises:
the first processing module is configured to repeatedly execute the following steps until the execution is performed N times or until a network level with the highest priority in network levels with corresponding data stream transmission indexes smaller than a second preset value is determined, where N is a positive integer not smaller than 10:
determining whether the data stream transmission index corresponding to the network level with the highest priority is smaller than a second preset value or not aiming at the data stream transmission index corresponding to the fault data stream in the other network levels at the fault time point;
if so, determining the network level with the highest priority as the fault network level;
if not, the network level of the next priority is confirmed as the network level with the highest priority.
15. The apparatus according to claim 12, wherein the first data stream transmission indicators corresponding to at least two sampling points are lower than a first preset value, and values of the first data stream transmission indicators corresponding to the sampling points are different from each other, and the first processing subunit includes:
and the second processing module is used for determining a sampling point corresponding to the first data stream transmission index with the lowest value in the first data stream transmission indexes lower than the first preset value as the fault time point.
16. The apparatus according to claim 12, wherein the first data stream transmission indicators corresponding to at least two sampling points are lower than a first preset value, and values of the first data stream transmission indicators corresponding to the sampling points are equal, the first processing subunit includes:
and the third processing module is used for determining a sampling point corresponding to a first data stream transmission index in the first data stream transmission indexes lower than a first preset value as the fault time point according to the time sequence.
17. The apparatus according to any of claims 10-16, wherein the first network hierarchy comprises a plurality of network elements, different network elements corresponding to different users, and the first obtaining unit comprises:
the second acquisition subunit is used for acquiring fault feedback sent by a user through a network unit corresponding to the user, wherein the fault feedback comprises a time period when the network unit corresponding to the user fails;
and the third processing subunit is configured to, according to the failure feedback, use a time period in which the network unit corresponding to the user fails as a failure time period of the first network hierarchy.
18. The apparatus according to any of claims 10-16, wherein the first network hierarchy comprises a plurality of network elements, different network elements corresponding to different users, and the first obtaining unit comprises:
a third obtaining subunit, configured to obtain a fault feedback sent by a user through a network element corresponding to the user, where the fault feedback includes a user identifier of the user and/or a network element identifier of the network element corresponding to the user;
and the fourth processing subunit is configured to acquire, according to the user identifier and/or the network element identifier, a time period in which the network element corresponding to the user fails, and use the time period in which the network element corresponding to the user fails as the failure time period of the first network tier.
19. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
20. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
CN201911397506.XA 2019-12-30 2019-12-30 Fault diagnosis method, device, equipment and storage medium Active CN111082951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911397506.XA CN111082951B (en) 2019-12-30 2019-12-30 Fault diagnosis method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911397506.XA CN111082951B (en) 2019-12-30 2019-12-30 Fault diagnosis method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111082951A true CN111082951A (en) 2020-04-28
CN111082951B CN111082951B (en) 2022-04-22

Family

ID=70319951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911397506.XA Active CN111082951B (en) 2019-12-30 2019-12-30 Fault diagnosis method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111082951B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984583A (en) * 2010-11-23 2011-03-09 中兴通讯股份有限公司 Method and system for positioning fault of abnormal broadcast of unicast programs
US20120266160A1 (en) * 1998-06-26 2012-10-18 Sun Microsystems, Inc. Distributing data via a network including timing information
CN106559253A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of multicast diagnostic method and device
CN106686715A (en) * 2015-11-10 2017-05-17 沈阳中科奥维科技股份有限公司 Maintenance method of time synchronizing time source of TDMA based wireless sensor network
CN107294858A (en) * 2016-03-30 2017-10-24 中兴通讯股份有限公司 multicast service monitoring method and device
CN107342878A (en) * 2016-04-29 2017-11-10 中兴通讯股份有限公司 A kind of fault handling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120266160A1 (en) * 1998-06-26 2012-10-18 Sun Microsystems, Inc. Distributing data via a network including timing information
CN101984583A (en) * 2010-11-23 2011-03-09 中兴通讯股份有限公司 Method and system for positioning fault of abnormal broadcast of unicast programs
CN106559253A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of multicast diagnostic method and device
CN106686715A (en) * 2015-11-10 2017-05-17 沈阳中科奥维科技股份有限公司 Maintenance method of time synchronizing time source of TDMA based wireless sensor network
CN107294858A (en) * 2016-03-30 2017-10-24 中兴通讯股份有限公司 multicast service monitoring method and device
CN107342878A (en) * 2016-04-29 2017-11-10 中兴通讯股份有限公司 A kind of fault handling method and device

Also Published As

Publication number Publication date
CN111082951B (en) 2022-04-22

Similar Documents

Publication Publication Date Title
US10866851B2 (en) Determining the failure resiliency of a service in a distributed computing system
US9106800B2 (en) System and method of monitoring video data packet delivery
US20100083060A1 (en) System and method for mpeg crc error based video network fault detection
US9537737B2 (en) Consolidated performance metric analysis
US9497095B2 (en) Dynamic control over tracing of messages received by a message broker
CN110865855A (en) Applet processing method and related device
CN111835856A (en) File downloading method, device, equipment and storage medium
US8468266B2 (en) High availability message transmission
CN111694646A (en) Resource scheduling method and device, electronic equipment and computer readable storage medium
US9965518B2 (en) Handling missing data tuples in a streaming environment
CN112039706A (en) Fault processing method, device, equipment and storage medium
US20170185454A1 (en) Method and Electronic Device for Determining Resource Consumption of Task
CN106537347B (en) System and method for distributing and processing streams
US20080049720A1 (en) System and method of delivering data via a network
CN112069353A (en) Music playing control method and device, storage medium and electronic equipment
US9779005B2 (en) Analyzing log streams based on correlations between data structures of defined node types
CN111049690B (en) Equipment fault monitoring processing method, device, equipment and storage medium
CN110619008A (en) Database query method and device, electronic equipment and storage medium
CN111082951B (en) Fault diagnosis method, device, equipment and storage medium
CN110213596A (en) Switching method, device, computer equipment and storage medium is broadcast live
CN110620701A (en) Data stream monitoring processing method, device, equipment and storage medium
US20120254277A1 (en) Aggregating information of distributed jobs
CN113163257B (en) Screen projection method, device, equipment and storage medium
US10819622B2 (en) Batch checkpointing for inter-stream messaging system
CN111597026A (en) Method and device for acquiring information

Legal Events

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