CN111106962A - Streaming media fault monitoring method and device, electronic equipment and storage medium - Google Patents
Streaming media fault monitoring method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111106962A CN111106962A CN201911349198.3A CN201911349198A CN111106962A CN 111106962 A CN111106962 A CN 111106962A CN 201911349198 A CN201911349198 A CN 201911349198A CN 111106962 A CN111106962 A CN 111106962A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- information
- monitoring information
- streaming media
- dimension
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 662
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000007257 malfunction Effects 0.000 claims description 12
- 230000004931 aggregating effect Effects 0.000 claims description 11
- 238000001914 filtration Methods 0.000 claims description 7
- 230000015654 memory Effects 0.000 claims description 6
- 230000002776 aggregation Effects 0.000 description 18
- 238000004220 aggregation Methods 0.000 description 18
- 230000005856 abnormality Effects 0.000 description 17
- 230000002159 abnormal effect Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000000875 corresponding effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000013024 troubleshooting Methods 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006116 polymerization reaction Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003442 weekly effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2404—Monitoring of server processing errors or hardware failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64723—Monitoring of network processes or resources, e.g. monitoring of network load
- H04N21/64738—Monitoring network characteristics, e.g. bandwidth, congestion level
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a streaming media fault monitoring method and device, electronic equipment and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: acquiring first monitoring information of a first terminal, second monitoring information of a second terminal and third monitoring information of a streaming media server, and associating the first monitoring information, the second monitoring information and the third monitoring information in the same time window; monitoring faults of the streaming media according to preset monitoring conditions and target time points of target quality parameters, as well as the first monitoring information, the second monitoring information and the third monitoring information; and if the streaming media are monitored to have faults according to the monitoring conditions of the target quality parameters and the target time points, determining at least one dimension information causing the streaming media to have the faults according to the first monitoring information, the second monitoring information and the third monitoring information. The method and the device improve the real-time performance and accuracy of fault monitoring.
Description
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for monitoring a streaming media fault, an electronic device, and a storage medium.
Background
With the development of internet technology, streaming media has become one of the most important services in the internet today. Because the streaming media occupies a large bandwidth and has a high delay requirement, the transmission of the media stream fails and directly affects the user experience. Therefore, during the process of using the streaming media by the user, the streaming media needs to be monitored for faults.
The related art provides a streaming media fault monitoring method, and the process may be: the electronic equipment acquires a plurality of quality indexes of the streaming media, wherein the quality indexes comprise a plurality of quality indexes in a pause rate, a broadcast failure rate, a pause duration, retry times and the like; regularly monitoring whether each quality index exceeds a preset threshold value; when any quality index exceeds a preset threshold value of the index, the streaming media service is determined to be out of order.
The scheme can only detect the failure of the streaming media, but cannot locate the specific failure position.
Disclosure of Invention
The embodiment of the application provides a streaming media fault monitoring method and device, electronic equipment and a storage medium, and can solve the problem that a specific fault position cannot be located. The technical scheme is as follows:
in a first aspect, a streaming media fault monitoring method is provided, where the method includes:
acquiring first monitoring information of a first terminal for sending streaming media, second monitoring information of a second terminal for receiving the streaming media and third monitoring information of a streaming media server, wherein the first monitoring information, the second monitoring information and the third monitoring information comprise dimension information of a plurality of monitoring indexes;
associating the first monitoring information, the second monitoring information and the third monitoring information in the same time window according to the stream identification of the stream media;
performing fault monitoring on the streaming media according to preset monitoring conditions and target time points of target quality parameters, the first monitoring information, the second monitoring information and the third monitoring information;
and if the streaming media is monitored to have faults according to the monitoring conditions of the target quality parameters and the target time point, determining at least one dimension information causing the streaming media to have the faults according to the first monitoring information, the second monitoring information and the third monitoring information.
In a possible implementation manner, the determining, according to the first monitoring information, the second monitoring information, and the third monitoring information, at least one dimension information that causes the streaming media to malfunction includes:
inputting the first monitoring information, the second monitoring information and the third monitoring information into a fault cause device, and outputting a dimension list, wherein the dimension list comprises a plurality of first dimension information with faults;
selecting a first target monitoring indicator from the plurality of monitoring indicators;
according to the first target monitoring index, aggregating the plurality of first dimension information in the dimension list to obtain a plurality of second dimension information;
and determining the at least one dimension information causing the streaming media to have the fault according to the plurality of second dimension information.
In another possible implementation manner, the determining, according to the plurality of second dimension information, the at least one dimension information that causes the streaming media to malfunction includes:
if the plurality of pieces of second dimension information do not have the alarm of the same dimension information, stopping aggregation, and determining the plurality of pieces of second dimension information as the dimension information causing the streaming media to have faults;
if the plurality of pieces of second-dimension information have alarms of the same-dimension information, reselecting an unselected first target monitoring index from the plurality of monitoring indexes, and then aggregating the plurality of pieces of second-dimension information according to the reselected first target monitoring index to obtain at least one piece of third-dimension information;
and determining the at least one dimension information causing the streaming media to have the fault according to the at least one third dimension information.
In another possible implementation manner, the determining, according to the at least one third dimension information, the at least one dimension information that causes the streaming media to malfunction includes:
if the at least one piece of third dimension information does not have the alarm of the same dimension information, stopping aggregation, and determining the at least one piece of third dimension information as the dimension information causing the streaming media to have a fault;
and if the at least one piece of third dimension information has the alarm of the same dimension information, the step of reselecting an unselected first target monitoring index from the plurality of monitoring indexes, then aggregating the plurality of pieces of second dimension information according to the reselected first target monitoring index until the aggregated dimension information has no alarm of the same dimension information is performed, and determining the dimension information obtained by the alarm without the same dimension information as the dimension information causing the failure of the streaming media.
In another possible implementation manner, the determining, according to the first monitoring information, the second monitoring information, and the third monitoring information, at least one dimension information that causes the streaming media to malfunction includes:
splitting the first monitoring information, the second monitoring information and the third monitoring information according to a second target monitoring index to obtain a plurality of fourth dimension information, wherein the second target monitoring index is any one of the plurality of monitoring indexes;
if the plurality of fourth dimension information all have faults, determining the plurality of fourth dimension information as the dimension information causing the faults of the streaming media;
and if the fourth dimension information without faults exists in the plurality of fourth dimension information, reselecting an unselected second target monitoring index from the plurality of monitoring indexes, and splitting the plurality of second dimension information according to the reselected second target monitoring index until the splitting according to each monitoring index in the plurality of monitoring indexes is completed.
In another possible implementation manner, the performing fault monitoring on the streaming media according to a preset monitoring condition and a preset target time point of a target quality parameter, and the first monitoring information, the second monitoring information, and the third monitoring information includes:
judging whether the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point according to the monitoring condition of the target quality parameter;
if the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point, determining that the fault monitoring result of the streaming media is that the streaming media is monitored to have a fault according to the monitoring condition of the target quality parameter and the target time point;
and if the first monitoring information, the second monitoring information and the third monitoring information do not meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media does not have a fault according to the monitoring condition of the target quality parameter and the monitoring condition of the target time point.
In another possible implementation manner, after the obtaining the first monitoring information of the first terminal that sends the streaming media, the second monitoring information of the second terminal that receives the streaming media, and the third monitoring information of the streaming media server, the method further includes:
determining the specification of dimension information of any monitoring index in target monitoring information, wherein the target monitoring information is at least one of the first monitoring information, the second monitoring information and the third monitoring information;
and if the dimension information of any monitoring index in the target monitoring information does not meet the standard, determining that the dimension information of any monitoring index is illegal data, and filtering the dimension information of any monitoring index in the target monitoring information.
In another possible implementation manner, after the obtaining the first monitoring information of the first terminal that sends the streaming media, the second monitoring information of the second terminal that receives the streaming media, and the third monitoring information of the streaming media server, the method further includes:
and if the dimension information included in any one of the first monitoring information and the second monitoring information is not complete, inquiring missing dimension information from an external system, and adding the acquired dimension information to any one of the monitoring information.
In another possible implementation manner, the dimension information of the multiple monitoring indexes includes one or more dimension information of the location information of the first terminal, the location information of the second terminal, network information of a content delivery network CDN, service information of an internet service provider ISP, domain name information, a server identifier of the streaming media server, a version identifier of the second terminal, and authority information of the second terminal.
In a second aspect, a streaming media fault monitoring apparatus is provided, the apparatus comprising:
an obtaining module, configured to obtain first monitoring information of a first terminal that sends streaming media, second monitoring information of a second terminal that receives the streaming media, and third monitoring information of a streaming media server, where the first monitoring information, the second monitoring information, and the third monitoring information include dimension information of multiple monitoring indexes;
the association module is configured to associate the first monitoring information, the second monitoring information, and the third monitoring information within a same time window according to the stream identifier of the streaming media;
the monitoring module is used for carrying out fault monitoring on the streaming media according to preset monitoring conditions and target time points of target quality parameters, the first monitoring information, the second monitoring information and the third monitoring information;
and the determining module is used for determining at least one dimension information causing the streaming media to have faults according to the first monitoring information, the second monitoring information and the third monitoring information if the streaming media has faults according to the monitoring conditions of the target quality parameters and the target time point.
In a possible implementation manner, the determining module is further configured to input the first monitoring information, the second monitoring information, and the third monitoring information into a failure cause device, and output a dimension list, where the dimension list includes a plurality of pieces of first dimension information in which a failure occurs; selecting a first target monitoring indicator from the plurality of monitoring indicators; according to the first target monitoring index, aggregating the plurality of first dimension information in the dimension list to obtain a plurality of second dimension information; and determining the at least one dimension information causing the streaming media to have the fault according to the plurality of second dimension information.
In another possible implementation manner, the determining module is further configured to stop aggregation if there is no alarm of the same dimension information in the plurality of pieces of second dimension information, and determine the plurality of pieces of second dimension information as the dimension information that causes the streaming media to malfunction; if the plurality of pieces of second-dimension information have alarms of the same-dimension information, reselecting an unselected first target monitoring index from the plurality of monitoring indexes, and then aggregating the plurality of pieces of second-dimension information according to the reselected first target monitoring index to obtain at least one piece of third-dimension information; and determining the at least one dimension information causing the streaming media to have the fault according to the at least one third dimension information.
In another possible implementation manner, the determining module is further configured to stop aggregation if there is no alarm of the same dimension information in the at least one third dimension information, and determine the at least one third dimension information as the dimension information that causes the streaming media to malfunction; and if the at least one piece of third dimension information has the alarm of the same dimension information, the step of reselecting an unselected first target monitoring index from the plurality of monitoring indexes, then aggregating the plurality of pieces of second dimension information according to the reselected first target monitoring index until the aggregated dimension information has no alarm of the same dimension information is performed, and determining the dimension information obtained by the alarm without the same dimension information as the dimension information causing the failure of the streaming media.
In another possible implementation manner, the determining module is further configured to split the first monitoring information, the second monitoring information, and the third monitoring information according to a second target monitoring index to obtain a plurality of fourth-dimension information, where the second target monitoring index is any one of the plurality of monitoring indexes; if the plurality of fourth dimension information all have faults, determining the plurality of fourth dimension information as the dimension information causing the faults of the streaming media; and if the fourth dimension information without faults exists in the plurality of fourth dimension information, reselecting an unselected second target monitoring index from the plurality of monitoring indexes, and splitting the plurality of second dimension information according to the reselected second target monitoring index until the splitting according to each monitoring index in the plurality of monitoring indexes is completed.
In another possible implementation manner, the monitoring module is further configured to determine, according to a monitoring condition of the target quality parameter, whether the first monitoring information, the second monitoring information, and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point; if the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point, determining that the fault monitoring result of the streaming media is that the streaming media is monitored to have a fault according to the monitoring condition of the target quality parameter and the target time point; and if the first monitoring information, the second monitoring information and the third monitoring information do not meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media does not have a fault according to the monitoring condition of the target quality parameter and the monitoring condition of the target time point.
In another possible implementation manner, the apparatus further includes:
the filtering module is configured to determine a specification of dimension information of any monitoring index in target monitoring information, where the target monitoring information is at least one of the first monitoring information, the second monitoring information, and the third monitoring information; and if the dimension information of any monitoring index in the target monitoring information does not meet the standard, determining that the dimension information of any monitoring index is illegal data, and filtering the dimension information of any monitoring index in the target monitoring information.
In another possible implementation manner, the apparatus further includes:
and the adding module is used for inquiring the missing dimension information from an external system and adding the acquired dimension information to any monitoring information if the dimension information included in any monitoring information of the first monitoring information and the second monitoring information is not complete.
In another possible implementation manner, the dimension information of the multiple monitoring indexes includes one or more dimension information of the location information of the first terminal, the location information of the second terminal, network information of a content delivery network CDN, service information of an internet service provider ISP, domain name information, a server identifier of the streaming media server, a version identifier of the second terminal, and authority information of the second terminal.
In a third aspect, an electronic device is provided, which includes: one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the streaming media failure monitoring method according to any one of the possible implementations of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, where instructions are stored on the computer-readable storage medium, and when executed by a processor of an electronic device, the instructions implement the streaming media fault monitoring method according to any one of the possible implementation manners of the first aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects: through obtaining the first monitoring information of the first terminal, the second monitoring information of the second terminal and the third monitoring information of the streaming media server, the dimension information causing the streaming media to have faults is determined according to the three monitoring information. Because the monitoring information of the three terminals, namely the first terminal, the second terminal and the streaming media server, can be obtained, and the monitoring information of the three terminals comprises the dimension information of a plurality of monitoring indexes, the dimension information with faults can be accurately positioned according to the monitoring information of the three terminals, and the real-time performance and the accuracy of fault monitoring are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a method for monitoring streaming media failure according to an embodiment of the present disclosure;
fig. 3 is a schematic processing flow diagram of streaming media fault monitoring provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of fault attribution for streaming media fault monitoring provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of fault attribution for streaming media fault monitoring provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for monitoring streaming media failure according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to fig. 1, the implementation environment includes a first terminal 101, a second terminal 102, a streaming server 103, and an electronic device 104.
The first terminal 101 and the second terminal 102 are respectively connected with the streaming media server 103 through a wireless or wired network. Also, clients for providing services by the streaming server 103 may be installed on the first terminal 101 and the second terminal 102. The users corresponding to the first terminal 101 and the second terminal 102 can implement functions such as data transmission, message interaction, and the like through the client. The client can be a short video client or a live client, etc.
The first terminal 101 may be a terminal that transmits streaming media; the second terminal 102 is a terminal that receives streaming media. For example, when the client is a live client, the first terminal 101 is a terminal used by a main broadcast; the second terminal 102 is a terminal used by a viewer.
It should be noted that, instead of installing a client on the first terminal 101 and/or the second terminal 102, the streaming media server 103 may be accessed through a web (network) end, so as to implement functions such as data transmission and message interaction.
In the embodiment of the application, by adding one electronic device 104, the electronic device 104 is connected to the first terminal 101, the second terminal 102 and the streaming media server 103 through a wired or wireless network, so that the electronic device 104 is used for monitoring the failure of the streaming media of the first terminal 101, the second terminal 102 and the streaming media server 103.
The first terminal 101 and the second terminal 102 may be computers, mobile phones, tablet computers or other electronic devices. The streaming media server 103 may be a server, a server cluster composed of several servers, or a cloud computing service center. The electronic device 104 may be a terminal or a server; in the embodiment of the present application, the electronic device 104 is not particularly limited.
Fig. 2 is a flowchart of streaming media failure monitoring according to an embodiment of the present disclosure. Referring to fig. 2, the embodiment includes:
201. the method comprises the steps of obtaining first monitoring information of a first terminal sending the streaming media, second monitoring information of a second terminal receiving the streaming media and third monitoring information of a streaming media server.
The first monitoring information, the second monitoring information and the third monitoring information include dimension information of a plurality of monitoring indexes. The monitoring indexes may be one or more of CDN (Content Delivery Network) manufacturers, domain names, ISPs (Internet Service providers), provinces, platforms, versions, and stream-free types. The dimension information of the multiple monitoring indexes comprises one or more dimension information of position information of the first terminal, position information of the second terminal, network information of the CDN, service information of the ISP, domain name information, a server identifier of the streaming media server, a version identifier of the second terminal and authority information of the second terminal.
The first monitoring information comprises position information of the first terminal. For example, the location information of the first terminal at least includes the province of the first terminal, the city of the first terminal, and the county and district of the first terminal. In the embodiment of the present application, the location information of the first terminal includes the province of the first terminal. The first monitoring information may further comprise a quality parameter of the first terminal. The quality parameter may be one or more of a stuck rate, a stuck duration, a network delay, a broadcast failure rate, a number of retries, and the like.
The first monitoring information may further include first streaming media information, and the first streaming media information may include one or more of a user identifier of the first user, a stream identifier of the streaming media, and a buffering time of the streaming media. The first monitoring information may further include a version identifier of the first terminal. Referring to fig. 3, for example, the first monitoring information further includes user _ id (user identification) 123 of the first user; stream _ id (stream identifier) of the streaming medium xxx; buffer _ time (buffering time) of the streaming media yy.
The second monitoring information includes one or more of location information of the second terminal, a version identifier of the second terminal, and authority information of the second terminal. For example, the location information of the second terminal at least includes the province of the second terminal, the city of the second terminal, and the county and district of the second terminal. The version identification of the second terminal may be a version identification of a client installed on the second terminal. The permission information of the second terminal may include at least one of a user traffic exemption type, a short video watching amount, a located AB (web/app) experiment, and the like. The second monitoring information may further include quality parameters of the second terminal, and the quality parameters may be one or more of a stuck rate, a stuck duration, a network delay, a broadcast failure rate, a retry number, and the like. The second monitoring information further includes user _ id 123 of the second user; xxx is the stream _ id of the streaming media; buffer _ time: yy of the streaming media
The third monitoring information includes one or more of network information of the CDN, service information of the ISP, domain name information, and a server identifier of the streaming server. The network information of the CDN can be TX, JS or ALI; the service information of the ISP can be mobile, internet or telecommunication, etc. The third monitoring information may also be a quality parameter of the streaming media. The quality parameter may be one or more of a stuck rate, a stuck duration, a network delay, a broadcast failure rate, a number of retries, and the like. For example, with continued reference to fig. 3, the third monitoring information includes a streaming media type: zzz, streaming media.
It should be noted that the electronic device may obtain the first monitoring information from the first streaming media log, the second monitoring information from the second streaming media log, and the third monitoring information from the third streaming media log by obtaining the first streaming media log (audience log) of the first terminal, the second streaming media log (anchor log) of the second terminal, and the third streaming media log (streaming media log) of the streaming media server.
In the embodiment of the application, the electronic device can acquire the multi-terminal data by acquiring the first monitoring information, the second monitoring information and the third monitoring information, so that the accuracy of subsequent monitoring can be improved.
It should be noted that, the electronic device may further add dimension information included in any one of the first monitoring information and the second monitoring information. The process may be: and if the dimension information included in the first monitoring information is not complete, the electronic equipment inquires the dimension information lacking in the first monitoring information from an external system, and adds the acquired dimension information to the first monitoring information. And/or if the dimension information included in the second monitoring information is not complete, the electronic equipment inquires the dimension information lacking in the second monitoring information from the external system, and adds the acquired dimension information to the second monitoring information. For example, when the dimension information lacking in the second monitoring information is the authority information of the second terminal, the electronic device queries the authority information of the second terminal from the external system, and adds the authority information of the second terminal to the first monitoring information.
The external system refers to a system other than the first terminal, the second terminal, and the electronic device. For example, the external system may be a rights server in which rights information of the first terminal is stored. Correspondingly, the step of the electronic device querying the authority information of the first terminal from the external system may be: the electronic equipment sends an acquisition request to the authority server, wherein the acquisition request carries the terminal identification of the first terminal. And the authority server receives the acquisition request, acquires the authority information of the first terminal according to the terminal identifier of the first terminal, and returns the authority information of the first terminal to the electronic equipment. The electronic equipment receives the authority information of the first terminal. For example, with continued reference to fig. 3, the authority information that the electronic device acquires to the first terminal is mm.
Similarly, the electronic device may further obtain the permission information of the second terminal, and the process is the same as the process in which the electronic device obtains the permission information of the first terminal, and is not described herein again.
In the embodiment of the application, the dimension information lacking in the first monitoring information is added to the first monitoring information and/or the dimension information lacking in the second monitoring information is added to the second monitoring information by acquiring the dimension information lacking in the first monitoring information and/or acquiring the dimension information lacking in the second monitoring information, so that the data dimension can be perfected, and the accuracy of subsequent fault monitoring is further improved.
202. Determining the specification of the dimension information of any monitoring index in the target monitoring information, if the dimension information of any monitoring index in the target monitoring information does not conform to the specification, determining that the dimension information of any monitoring index is illegal data, and filtering the dimension information of any monitoring index in the target monitoring information.
The target monitoring information may be at least one of the first monitoring information, the second monitoring information, and the third monitoring information. The electronic equipment stores the specifications of the dimension information of each monitoring index and stores the specifications in the form of the corresponding relation between the monitoring indexes and the specifications; when the dimension information of any monitoring index is judged illegally, the electronic equipment acquires the standard of the monitoring index from the corresponding relation between the monitoring index and the standard according to any monitoring index. If the dimension information of any monitoring index does not meet the specification, the electronic equipment determines that the dimension information of any monitoring index is illegal data; if the dimension information of any monitoring index conforms to the specification, the electronic equipment determines that the dimension information of any monitoring index is legal data.
For example, when any of the monitoring indicators is province; the dimension information of the monitoring index is normalized to a province set, and a plurality of legal province names are stored in the province set. For example, when the province is Beijing, the province is in the province set, and the electronic device determines that the dimension information of the province is legal data; if the province is not in the province set, the electronic equipment determines that the dimension information of the province is illegal data, and filters the dimension information of the province in the target monitoring information. For example, with continued reference to FIG. 3, the illegal data filtered out by the electronic device is the streaming media type zzz.
In a possible implementation manner, after the electronic device filters the illegal data, the proportion of the data of the illegal data in the target monitoring information can be counted; and when the data proportion of the illegal data exceeds the preset proportion, outputting a first alarm signal, wherein the first alarm signal is used for prompting that the data proportion of the illegal data exceeds the preset proportion.
In the embodiment of the application, when the data proportion of the illegal data exceeds the preset proportion, the first alarm signal is output, so that a worker is prompted that the data proportion of the illegal data exceeds the preset proportion, and the worker can timely perform troubleshooting to reduce the data proportion of the illegal data.
In another possible implementation manner, after the electronic device filters the illegal data, the data volume of the illegal data can be counted; and when the data volume of the illegal data exceeds the preset data volume, outputting a second alarm signal, wherein the second alarm signal is used for prompting that the data volume of the illegal data exceeds the preset data volume.
In the embodiment of the application, when the data volume of the illegal data exceeds the preset data volume, the second alarm signal is output, so that a worker is prompted that the data volume of the illegal data exceeds the preset data volume, and the worker can perform troubleshooting in time to reduce the data volume of the illegal data.
In another possible implementation manner, the electronic device may further determine a delay duration of the target monitoring information; when the delay time exceeds the preset time, a third alarm signal is output and used for prompting that the data delay of workers is large, the workers can carry out troubleshooting, and the fault rate is further reduced.
203. And associating the first monitoring information, the second monitoring information and the third monitoring information in the same time window according to the stream identification of the stream media.
The electronic equipment determines first monitoring information, second monitoring information and third monitoring information of the same streaming media identification according to the streaming identification of the streaming media, and associates the first monitoring information, the second monitoring information and the third monitoring information in the same time window.
In the embodiment of the application, the first monitoring information, the second monitoring information and the third monitoring information are correlated in the same time window, so that the monitoring information of the audience comprises the dimension information of the monitoring index of the anchor, and the correlation of the monitoring information is helpful for eliminating the failure of the anchor or the streaming media server in the monitoring information.
The process of the electronic device for eliminating the fault of the streaming media caused by the anchor can be as follows: the electronic equipment judges whether the first monitoring information meets the monitoring condition of the target quality parameter at the target time point or not according to the monitoring condition of the target quality parameter and the target time point; if the first monitoring information meets the monitoring condition of the target quality parameter at the target time point, determining that the reason causing the streaming media to have faults is the first terminal; if the first monitoring information does not satisfy the monitoring condition of the target quality parameter at the target time point, it is determined that the reason causing the failure of the streaming media is not the first terminal, and step 204 is executed.
The process of the electronic device for eliminating the streaming media server from causing the streaming media to malfunction may be: the electronic equipment determines whether the second monitoring information meets the monitoring condition of the target quality parameter at the target time point or not according to the monitoring condition of the target quality parameter and the target time point; if the second monitoring information meets the monitoring condition of the target quality parameter at the target time point, determining that the reason causing the streaming media to have the fault is a streaming media server; if the second monitoring information does not satisfy the monitoring condition of the target quality parameter at the target time point, it is determined that the reason causing the failure of the streaming media is not the streaming media server, and step 204 is executed.
Another point to be described is that, after associating the first monitoring information, the second monitoring information, and the third monitoring information in the same time window according to the stream identifier of the streaming media, the electronic device may aggregate the first monitoring information, the second monitoring information, and the third monitoring information according to the preset dimension information and the time window, and output the aggregated dimension information to a database such as a drive (a database name) for storage, so as to facilitate subsequent query. When performing fault monitoring, step 204 may be performed based on stored information.
204. And carrying out fault monitoring on the streaming media according to the preset monitoring condition and the target time point of the target quality parameter, as well as the first monitoring information, the second monitoring information and the third monitoring information.
The electronic equipment judges whether the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point according to the monitoring condition of the target quality parameter; if the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media is monitored to have a fault according to the monitoring condition of the target quality parameter and the target time point; and if the first monitoring information, the second monitoring information and the third monitoring information do not meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media does not have a fault according to the monitoring condition of the target quality parameter and the monitoring condition of the target time point.
The target quality parameter can be a stuck rate, a stuck duration, network delay, a broadcast failure rate or retry times; the target quality parameter is not particularly limited in the embodiments of the present application. The target time point may be any time point of the transport stream media.
For the first implementation, the monitoring condition of the target quality parameter may be that the target quality parameter exceeds its corresponding parameter threshold. For example, when the target quality parameter is the stuck rate, the monitoring condition of the stuck rate is that the stuck rate exceeds 3; if the pause rates of the first monitoring information, the second monitoring information and the third monitoring information at the target time point do not exceed 3, the electronic equipment determines that the pause rate of the streaming media does not have a fault; if monitoring information with the pause rate exceeding 3 at the target time point exists in the first monitoring information, the second monitoring information and the third monitoring information, the electronic equipment determines that the pause rate of the streaming media has faults.
It should be noted that, in this step, the electronic device may perform fault monitoring through the first fault classifier; the first fault classifier is a fixed threshold classifier; correspondingly, the steps can be as follows: the electronic equipment respectively inputs the first monitoring information, the second monitoring information and the third monitoring information of the target time point and the monitoring conditions of the target quality parameters into a first fault classifier, and outputs a fault monitoring result of the streaming media; the fault monitoring result includes the presence or absence of a fault.
In the embodiment of the application, the fault monitoring is carried out through the first fault classifier, the method is simple, and the monitoring efficiency can be improved.
For the second implementation mode, the electronic device obtains a first parameter value of the target quality parameter at the first historical moment, and obtains a second parameter value of the target quality parameter in any monitoring information of the first monitoring information, the second monitoring information and the third monitoring information at the target time point; determining a first difference between the first quality parameter and the second quality parameter; when the first difference value is not within a preset first difference value range, the electronic equipment determines that the streaming media has faults; when the first difference value is within a preset first difference value range, the electronic equipment determines that the streaming media is not in fault.
The first historical time can be any time before the current time; for example, the current time may be a time 1 hour before the current time, or a time 5 hours before the current time. The first historical moment can also be any moment of a first preset period before the current moment; for example, the first historical time may be a current time of day or a current time of week ago.
It should be noted that, in this step, the electronic device may perform fault monitoring through the second fault classifier; the second fault detector is a comparation classifier; correspondingly, the steps can be as follows: and the electronic equipment respectively inputs the first monitoring information, the second monitoring information and the third monitoring information of the target time point and the monitoring conditions of the target quality parameters into a second fault classifier, and outputs a fault monitoring result of the streaming media, wherein the fault monitoring result comprises a fault or no fault.
When the first historical time is the current time before a day, the second fault detector can be a day-to-day classifier; the second fault detector may be a weekly parity classifier when the first historical time is a current time one week ago.
It should be noted that the day-to-day classifier or the week-to-week classifier can be replaced by a multi-level class-to-day classifier; namely, according to a plurality of time intervals from short to factory monitoring, monitoring the proportional variation values of the quality parameters in each time interval respectively; and the corresponding sorting is performed using varying thresholds of different magnitudes of exponential decline, so that long-time but not severe faults can be detected.
In the embodiment of the application, fault monitoring is carried out through a day-to-day classifier or a week-to-week classifier, and the monitoring accuracy can be improved.
For the third implementation manner, the electronic device obtains a third parameter value of the target quality parameter at a second historical time, and obtains a second parameter value of the target quality parameter in any monitoring information of the first monitoring information, the second monitoring information and the third monitoring information at a target time point; determining a second difference between the second parameter value and the third parameter value, and a third difference between the target time point and a second historical time; determining a ratio of the second difference to the third difference; and when the ratio is smaller than a first preset threshold value, determining that the target quality parameter of the streaming media has no fault. And when the ratio is not less than a first preset threshold value, determining that the streaming media has faults.
The second historical time can be any time of a second preset period before the current time; the second preset period may be 1 week or one month.
It should be noted that, in this step, the electronic device may perform fault monitoring through the third fault classifier; the third fault detector is a ring ratio classifier; correspondingly, the steps can be as follows: and the electronic equipment respectively inputs the first monitoring information, the second monitoring information, the third monitoring information and the monitoring conditions of the target quality parameters at the target time point into a third fault classifier, and outputs a fault monitoring result of the streaming media, wherein the fault monitoring result comprises a fault or no fault.
The third fault detector may be a ring ratio classifier; in the embodiment of the application, the fault monitoring is carried out through the ring ratio classifier, and the monitoring accuracy can be improved.
For a fourth implementation manner, the electronic device acquires a fourth parameter value of the target quality parameter of the historical client version, acquires a second parameter value of the target quality parameter in any one of the first monitoring information, the second monitoring information and the third monitoring information at the target time point, and determines a fourth difference value between the fourth parameter value and the second parameter value; when the fourth difference value is not within the second preset difference value range, determining that the streaming media has a fault; and when the fourth difference value is within a second preset difference value range, determining that the streaming media has no fault.
It should be noted that, in this step, the electronic device may perform fault monitoring through the fourth classifier; the fourth classifier is a big-disc comparison classifier; correspondingly, the steps can be as follows: and the electronic equipment respectively inputs the first monitoring information, the second monitoring information and the third monitoring information of the target time point and the monitoring conditions of the target quality parameters into a fourth fault classifier, and outputs fault monitoring results of the streaming media, wherein the fault monitoring results comprise faults or no faults.
In the embodiment of the application, the quality parameters are compared through the large-disc comparison classifier, so that whether the quality parameters break down or not is determined, and the accuracy can be improved.
205. And if the streaming media are monitored to have faults according to the monitoring conditions of the target quality parameters and the target time points, determining at least one dimension information causing the streaming media to have the faults according to the first monitoring information, the second monitoring information and the third monitoring information.
In this step, a first cause from top to bottom may be used for fault attribution, i.e., the following first implementation manner; the second cause from bottom to top may also be used for fault attribution, i.e., the following second implementation.
For the first implementation, this step may be implemented by the following steps (1) to (3), including:
(1) and splitting the first monitoring information, the second monitoring information and the third monitoring information according to a second target monitoring index to obtain a plurality of fourth dimension information, wherein the second target monitoring index is any one of a plurality of monitoring indexes.
(2) And if the plurality of fourth dimension information all fail, determining the plurality of fourth dimension information as the dimension information causing the failure of the streaming media.
(3) And if the fourth dimension information without faults exists in the fourth dimension information, reselecting an unselected second target monitoring index from the monitoring indexes, and splitting the fourth dimension information according to the reselected second target monitoring index until the splitting is completed according to each monitoring index in the monitoring indexes.
The second target monitoring index reselected by the electronic equipment is a different monitoring index from the previously selected second target monitoring index. The electronic equipment splits the plurality of fourth dimension information according to the reselected second target monitoring index to obtain a plurality of third dimension information; if all the third dimension information fails; the electronic device determines a plurality of third dimension information as dimension information that causes the streaming media to malfunction. If the plurality of pieces of third dimension information do not have faults, the electronic equipment reselects a second target monitoring index from the plurality of monitoring indexes, the selected second target monitoring index is different from the second target monitoring indexes selected in the previous two times, namely the second target monitoring index which is not selected in the previous two times is selected each time, and the plurality of pieces of dimension information are split according to the selected second target monitoring index until the splitting of each monitoring index in the plurality of monitoring indexes is completed, so that at least one piece of dimension information which causes the faults of the streaming media can be obtained.
In this step, the electronic device may also input the first monitoring information, the second monitoring information, and the third monitoring information into the top-to-bottom attribution detector, respectively, and determine at least one monitoring indicator causing the streaming media to malfunction by the top-to-bottom attribution detector.
In the embodiment of the application, whether the large disc is abnormal or not is firstly detected through the attribution detector from top to bottom, and if the abnormality is detected, the large disc is gradually split downwards according to the predefined monitoring index. In the splitting process of each step, the most accurate dimension is selected, and the accuracy is improved.
In the embodiment of the application, referring to fig. 4, taking three predefined dimensions of provincial dimension, ISP dimension and domain name dimension as examples, the attribution detector comprises the steps of splitting the first monitoring information, the second monitoring information and the third monitoring information according to provincial dimension, ISP and domain name respectively when the electronic equipment monitors that the stuck rate fails, and obtaining a plurality of fourth dimension information, wherein the fourth dimension information is Beijing stuck rate abnormity, Hebei stuck rate abnormity, all ISP stuck rate abnormity and tx. The electronic equipment splits the fourth dimension information with the abnormal tx.pull stuck rate according to the rest two dimensions except the domain name dimension, namely splits the data with the abnormal tx.pull stuck rate according to provinces and ISP (internet service provider), and obtains a plurality of third dimension information, namely Beijing stuck rate abnormality, Hebei stuck rate abnormality, Tianjin stuck rate abnormality and all ISP stuck rate abnormality. The electronic equipment splits the third dimension information of the abnormal Beijing katton rate, the abnormal Hebei katton rate and the abnormal Tianjin katton rate according to the dimensions except the domain name and the province, namely splitting the third dimension information of the abnormal Beijing katton rate, the abnormal Hebei katton rate and the abnormal Tianjin katton rate according to the ISP dimensions to obtain all the abnormal ISP katton rates. The electronic device determines that the dimension information of the at least one monitoring index causing the streaming media to have the fault is (Beijing, Hebei, Tianjin) tx.
It should be noted that in the embodiment of the present application, the top-to-bottom attribution method is described by taking three predefined dimensions, namely, province dimension, ISP dimension, and domain name dimension as an example, and other dimensions, such as platform dimension, version dimension, etc., may be included besides these three dimensions, and the top-to-bottom attribution detector performs attribution in a similar way regardless of which dimensions are included.
For the second implementation, the present step can be implemented by the following steps (a) to (D), including:
(A) and inputting the first monitoring information, the second monitoring information and the third monitoring information into a fault attribution device, and outputting a dimension list, wherein the dimension list comprises a plurality of first dimension information with faults.
(B) A first target monitoring indicator is selected from a plurality of monitoring indicators.
The electronic device randomly selects a first target monitoring index from the multiple monitoring indexes, and also can select a target monitoring index with the highest accuracy from the multiple monitoring indexes.
(C) And according to the first target monitoring index, aggregating the plurality of first dimension information in the dimension list to obtain a plurality of second dimension information.
(D) And determining at least one dimension information causing the streaming media to fail according to the plurality of second dimension information.
Determining whether the plurality of second dimension information has alarm of the same dimension information according to the plurality of second dimension information; and if the plurality of pieces of second dimension information do not have the alarm of the same dimension information, stopping aggregation, and determining the plurality of pieces of second dimension information as the dimension information causing the streaming media to have faults.
And if the plurality of pieces of second dimension information have alarms of the same dimension information, reselecting an unselected first target monitoring index from the plurality of monitoring indexes, then aggregating the plurality of pieces of second dimension information according to the reselected first target monitoring index until the alarm position without the same dimension information in the aggregated dimension information is reached, and determining the dimension information obtained by the alarms without the same dimension information as the dimension information causing the failure of the streaming media.
Wherein a bottom-up attributed detector is used in this step. The bottom-up attribution detector lines out a dimensional list of all anomalies and then aggregates upwards in a predetermined dimensional order. If there are no alarms of the same dimension in each aggregation, the alarms will stop the aggregation; these alarms aggregate failure if the new dimension condition checks are normal after aggregation.
In the embodiment of the present application, referring to fig. 5, taking three predefined dimensions, namely, province dimension, ISP dimension, and CDN dimension as an example, the steps of attributing to the detector from bottom to top are as follows:
when the electronic equipment monitors that the card pause rate fails, generating a dimension list from a plurality of dimension information with failures; wherein all the abnormal data are listed in the dimension list, for example, in the embodiment of the present application, the dimension list is a beijing-TX-mobile abnormality, a beijing-ALI-mobile abnormality, a guangdong-JS-telecommunication abnormality, a guangdong-JS-mobile abnormality, a beijing-JS-telecommunication abnormality, a beijing-TX-link abnormality, a beijing-ALI-link abnormality, a guangdong-JS-peng doctor abnormality, a beijing-TX-telecommunication abnormality, a beijing-ALI-peng doctor abnormality, the abnormal data are aggregated according to predefined dimensions, for example, the abnormal data are aggregated according to provincial dimensions, and after the electronic device aggregates the guangdong-JS-telecommunication abnormality and the beijing-JS-telecommunication abnormality, the abnormal data are detected as normal under the provincial dimensions condition, namely, the polymerized result is that JS-telecommunication is normal, and the alarm left after the polymerization failure is Beijing-TX-movement abnormity, Beijing-ALI-movement abnormity, Guangdong-JS-telecommunication abnormity, Guangdong-JS-movement abnormity, Beijing-JS-telecommunication abnormity, Beijing-TX-communication abnormity, Beijing-ALI-communication abnormity, Guangdong-JS-Peng doctor abnormity, Beijing-TX-telecommunication abnormity and Beijing-ALI-Peng doctor abnormity.
The electronic equipment aggregates the alarms left after the aggregation failure according to other dimensions except provincial dimensions, for example, the abnormal data is aggregated according to ISP dimensions, the aggregation result of the data aggregated by the Beijing-TX-mobile abnormity, the Beijing-TX-Union abnormity and the Beijing-TX-telecommunication abnormity according to the ISP dimensions is the Beijing-TX abnormity, the aggregation result of the data aggregated by the Beijing-ALI-mobile abnormity, the Beijing-ALI-Union abnormity and the Beijing-ALI-Peng abnormity under the ISP dimensions is the Beijing-ALI abnormity, the aggregation result of the data aggregated by the Guangdong-JS-mobile abnormity and the Guangdong-JS-Peng doctor abnormity according to the JSP dimensions is the Guangdong-JS abnormity, the Beijing-JS-telecom abnormally stops the aggregation, and the alarm left after the aggregation failure is empty.
The electronic device aggregates the last aggregation result according to the CDN dimensionality, namely aggregates the Beijing-TX anomaly and the background-ALI anomaly, obtains an aggregation result which is the Beijing anomaly, and finally obtains dimensionality information which causes the streaming media to be abnormal, wherein the dimensionality information is the Beijing anomaly and the Guangdong-JS anomaly.
Wherein the fault attribution system may also use a simpler flat detector. I.e. detecting only the various dimensional conditions formed by the dimensions of the configuration, i.e. listing the performance indicators of said anomalies, is very fast and efficient for simple indicator monitoring.
It should be noted that the fault attribution system may also use a simpler flat detector, i.e. only monitor the various dimensional conditions formed by several dimensions of the configuration, which is very fast and efficient for simple index monitoring.
In the embodiment of the application, the dimension information causing the streaming media to have the fault is determined according to the three monitoring information by acquiring the first monitoring information of the first terminal, the second monitoring information of the second terminal and the third monitoring information of the streaming media server. Because the monitoring information of the three terminals, namely the first terminal, the second terminal and the streaming media server, can be obtained, and the monitoring information of the three terminals comprises the dimension information of a plurality of monitoring indexes, the dimension information with faults can be accurately positioned according to the monitoring information of the three terminals, and the real-time performance and the accuracy of fault monitoring are improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 6 is a streaming media fault monitoring apparatus provided in an embodiment of the present application, and referring to fig. 6, the apparatus includes:
an obtaining module 601, configured to obtain first monitoring information of a first terminal that sends streaming media, second monitoring information of a second terminal that receives the streaming media, and third monitoring information of a streaming media server, where the first monitoring information, the second monitoring information, and the third monitoring information include dimension information of multiple monitoring indexes;
the associating module 602 is configured to associate the first monitoring information, the second monitoring information, and the third monitoring information within a same time window according to the stream identifier of the streaming media;
the monitoring module 603 is configured to perform fault monitoring on the streaming media according to a preset monitoring condition of the target quality parameter, a target time point, the first monitoring information, the second monitoring information, and the third monitoring information;
a determining module 604, configured to determine, if it is monitored that the streaming media fails according to the monitoring condition of the target quality parameter and the target time point, at least one dimension information causing the streaming media to fail according to the first monitoring information, the second monitoring information, and the third monitoring information.
In a possible implementation manner, the determining module 604 is further configured to input the first monitoring information, the second monitoring information, and the third monitoring information into the failure cause device, and output a dimension list, where the dimension list includes a plurality of pieces of first dimension information that have failed; selecting a first target monitoring index from a plurality of monitoring indexes; according to the first target monitoring index, aggregating a plurality of first dimension information in the dimension list to obtain a plurality of second dimension information; and determining at least one dimension information causing the streaming media to fail according to the plurality of second dimension information.
In another possible implementation manner, the determining module 604 is further configured to stop aggregation if there is no alarm of the same dimension information in the plurality of pieces of second dimension information, and determine the plurality of pieces of second dimension information as the dimension information that causes the failure of the streaming media; if the plurality of pieces of second dimension information have alarms of the same dimension information, reselecting an unselected first target monitoring index from the plurality of monitoring indexes, and then aggregating the plurality of pieces of second dimension information according to the reselected first target monitoring index to obtain at least one piece of third dimension information; and determining at least one dimension information causing the streaming media to fail according to the at least one third dimension information.
In another possible implementation manner, the determining module 604 is further configured to stop aggregation if there is no alarm of the same dimension information in the at least one third dimension information, and determine the at least one third dimension information as the dimension information that causes the streaming media to malfunction; and if the at least one piece of third dimension information has the alarm of the same dimension information, a step of reselecting an unselected first target monitoring index from the multiple monitoring indexes is executed, then, according to the reselected first target monitoring index, the multiple pieces of second dimension information are aggregated, until the aggregated dimension information does not have the alarm of the same dimension information, and the dimension information obtained by the alarm without the same dimension information is determined as the dimension information causing the failure of the streaming media.
In another possible implementation manner, the determining module 604 is further configured to split the first monitoring information, the second monitoring information, and the third monitoring information according to a second target monitoring index to obtain a plurality of fourth-dimension information, where the second target monitoring index is any one of the plurality of monitoring indexes; if the plurality of fourth dimension information all have faults, determining the plurality of fourth dimension information as the dimension information causing the faults of the streaming media; and if the fourth dimension information without faults exists in the plurality of fourth dimension information, reselecting an unselected second target monitoring index from the plurality of monitoring indexes, and splitting the plurality of second dimension information according to the reselected second target monitoring index until the splitting is completed according to each monitoring index in the plurality of monitoring indexes.
In another possible implementation manner, the monitoring module 603 is further configured to determine, according to the monitoring condition of the target quality parameter, whether the first monitoring information, the second monitoring information, and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point; if the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring conditions of the target quality parameters at the target time point, determining that the fault monitoring result of the streaming media is that the streaming media is monitored to have faults according to the monitoring conditions of the target quality parameters and the target time point; and if the first monitoring information, the second monitoring information and the third monitoring information do not meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media does not have a fault according to the monitoring condition of the target quality parameter and the monitoring condition of the target time point.
In another possible implementation manner, the apparatus further includes:
the filtering module is used for determining the specification of dimension information of any monitoring index in target monitoring information, wherein the target monitoring information is at least one of first monitoring information, second monitoring information and third monitoring information; and if the dimension information of any monitoring index in the target monitoring information does not meet the specification, determining that the dimension information of any monitoring index is illegal data, and filtering the dimension information of any monitoring index in the target monitoring information.
In another possible implementation manner, the apparatus further includes:
and the adding module is used for inquiring the lacking dimension information from the external system and adding the acquired dimension information to any monitoring information if the dimension information included in any monitoring information of the first monitoring information and the second monitoring information is not complete.
In another possible implementation manner, the dimension information of the multiple monitoring indexes includes one or more dimension information of location information of the first terminal, location information of the second terminal, network information of the content delivery network CDN, service information of an internet service provider ISP, domain name information, a server identifier of the streaming media server, a version identifier of the second terminal, and authority information of the second terminal.
In the embodiment of the application, the dimension information causing the streaming media to have the fault is determined according to the three monitoring information by acquiring the first monitoring information of the first terminal, the second monitoring information of the second terminal and the third monitoring information of the streaming media server. Because the monitoring information of the three terminals, namely the first terminal, the second terminal and the streaming media server, can be obtained, and the monitoring information of the three terminals comprises the dimension information of a plurality of monitoring indexes, the dimension information with faults can be accurately positioned according to the monitoring information of the three terminals, and the real-time performance and the accuracy of fault monitoring are improved.
It should be noted that: in the streaming media failure monitoring apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In addition, the streaming media fault monitoring apparatus and the streaming media fault monitoring method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device 700 according to an embodiment of the present application, where the electronic device 700 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 701 and one or more memories 702, where at least one instruction is stored in the memory 702, and the at least one instruction is loaded and executed by the processor 701 to implement the streaming media failure monitoring method provided by each method embodiment. Of course, the electronic device may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the electronic device may further include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the streaming media failure monitoring method in the above-described embodiments is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (10)
1. A streaming media fault monitoring method is characterized by comprising the following steps:
acquiring first monitoring information of a first terminal for sending streaming media, second monitoring information of a second terminal for receiving the streaming media and third monitoring information of a streaming media server, wherein the first monitoring information, the second monitoring information and the third monitoring information comprise dimension information of a plurality of monitoring indexes;
associating the first monitoring information, the second monitoring information and the third monitoring information in the same time window according to the stream identification of the stream media;
performing fault monitoring on the streaming media according to preset monitoring conditions and target time points of target quality parameters, the first monitoring information, the second monitoring information and the third monitoring information;
and if the streaming media is monitored to have faults according to the monitoring conditions of the target quality parameters and the target time point, determining at least one dimension information causing the streaming media to have the faults according to the first monitoring information, the second monitoring information and the third monitoring information.
2. The method according to claim 1, wherein the determining at least one dimension information causing the streaming media to malfunction according to the first monitoring information, the second monitoring information and the third monitoring information comprises:
inputting the first monitoring information, the second monitoring information and the third monitoring information into a fault cause device, and outputting a dimension list, wherein the dimension list comprises a plurality of first dimension information with faults;
selecting a first target monitoring indicator from the plurality of monitoring indicators;
according to the first target monitoring index, aggregating the plurality of first dimension information in the dimension list to obtain a plurality of second dimension information;
and determining the at least one dimension information causing the streaming media to have the fault according to the plurality of second dimension information.
3. The method according to claim 1, wherein the determining at least one dimension information causing the streaming media to malfunction according to the first monitoring information, the second monitoring information and the third monitoring information comprises:
splitting the first monitoring information, the second monitoring information and the third monitoring information according to a second target monitoring index to obtain a plurality of fourth dimension information, wherein the second target monitoring index is any one of the plurality of monitoring indexes;
if the plurality of fourth dimension information all have faults, determining the plurality of fourth dimension information as the dimension information causing the faults of the streaming media;
and if the fourth dimension information without faults exists in the plurality of fourth dimension information, reselecting an unselected second target monitoring index from the plurality of monitoring indexes, and splitting the plurality of second dimension information according to the reselected second target monitoring index until the splitting according to each monitoring index in the plurality of monitoring indexes is completed.
4. The method according to claim 1, wherein the performing fault monitoring on the streaming media according to the preset monitoring condition and the target time point of the target quality parameter, and the first monitoring information, the second monitoring information, and the third monitoring information comprises:
judging whether the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point according to the monitoring condition of the target quality parameter;
if the first monitoring information, the second monitoring information and the third monitoring information meet the monitoring condition of the target quality parameter at the target time point, determining that the fault monitoring result of the streaming media is that the streaming media is monitored to have a fault according to the monitoring condition of the target quality parameter and the target time point;
and if the first monitoring information, the second monitoring information and the third monitoring information do not meet the monitoring condition of the target quality parameter at the target time point, determining that the monitoring result of the streaming media is that the streaming media does not have a fault according to the monitoring condition of the target quality parameter and the monitoring condition of the target time point.
5. The method according to claim 1, wherein after obtaining the first monitoring information of the first terminal that sends the streaming media, the second monitoring information of the second terminal that receives the streaming media, and the third monitoring information of the streaming media server, the method further comprises:
determining the specification of dimension information of any monitoring index in target monitoring information, wherein the target monitoring information is at least one of the first monitoring information, the second monitoring information and the third monitoring information;
and if the dimension information of any monitoring index in the target monitoring information does not meet the standard, determining that the dimension information of any monitoring index is illegal data, and filtering the dimension information of any monitoring index in the target monitoring information.
6. The method according to claim 1, wherein after obtaining the first monitoring information of the first terminal that sends the streaming media, the second monitoring information of the second terminal that receives the streaming media, and the third monitoring information of the streaming media server, the method further comprises:
and if the dimension information included in any one of the first monitoring information and the second monitoring information is not complete, inquiring missing dimension information from an external system, and adding the acquired dimension information to any one of the monitoring information.
7. The method according to any one of claims 1 to 6, wherein the dimension information of the multiple monitoring indexes includes one or more dimension information of location information of the first terminal, location information of the second terminal, network information of a Content Delivery Network (CDN), service information of an Internet Service Provider (ISP), domain name information, a server identifier of the streaming media server, a version identifier of the second terminal, and authority information of the second terminal.
8. A streaming media failure monitoring apparatus, the apparatus comprising:
an obtaining module, configured to obtain first monitoring information of a first terminal that sends streaming media, second monitoring information of a second terminal that receives the streaming media, and third monitoring information of a streaming media server, where the first monitoring information, the second monitoring information, and the third monitoring information include dimension information of multiple monitoring indexes;
the association module is configured to associate the first monitoring information, the second monitoring information, and the third monitoring information within a same time window according to the stream identifier of the streaming media;
the monitoring module is used for carrying out fault monitoring on the streaming media according to preset monitoring conditions and target time points of target quality parameters, the first monitoring information, the second monitoring information and the third monitoring information;
and the determining module is used for determining at least one dimension information causing the streaming media to have faults according to the first monitoring information, the second monitoring information and the third monitoring information if the streaming media has faults according to the monitoring conditions of the target quality parameters and the target time point.
9. An electronic device, characterized in that the electronic device comprises: one or more processors;
volatile or non-volatile memory for storing the one or more processor-executable instructions;
wherein the one or more processors are configured to perform the streaming media fault monitoring method of any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium has instructions stored thereon, and when the instructions are executed by a processor of an electronic device, the method for monitoring streaming media faults as claimed in any one of claims 1 to 7 is implemented.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911349198.3A CN111106962B (en) | 2019-12-24 | 2019-12-24 | Streaming media fault monitoring method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911349198.3A CN111106962B (en) | 2019-12-24 | 2019-12-24 | Streaming media fault monitoring method and device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111106962A true CN111106962A (en) | 2020-05-05 |
| CN111106962B CN111106962B (en) | 2022-07-08 |
Family
ID=70424059
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911349198.3A Active CN111106962B (en) | 2019-12-24 | 2019-12-24 | Streaming media fault monitoring method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111106962B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112954372A (en) * | 2021-01-26 | 2021-06-11 | 北京达佳互联信息技术有限公司 | Streaming media fault monitoring method and device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105451036A (en) * | 2014-09-18 | 2016-03-30 | 中国电信股份有限公司 | Video quality monitoring method, device and CDN system |
| WO2017185945A1 (en) * | 2016-04-29 | 2017-11-02 | 中兴通讯股份有限公司 | Method and device for locating fault |
| CN110166837A (en) * | 2019-05-07 | 2019-08-23 | 网宿科技股份有限公司 | A kind of stream media quality monitoring method and system |
| CN110489612A (en) * | 2019-08-26 | 2019-11-22 | 秒针信息技术有限公司 | A kind of the multi objective monitoring method and device of information |
-
2019
- 2019-12-24 CN CN201911349198.3A patent/CN111106962B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105451036A (en) * | 2014-09-18 | 2016-03-30 | 中国电信股份有限公司 | Video quality monitoring method, device and CDN system |
| WO2017185945A1 (en) * | 2016-04-29 | 2017-11-02 | 中兴通讯股份有限公司 | Method and device for locating fault |
| CN110166837A (en) * | 2019-05-07 | 2019-08-23 | 网宿科技股份有限公司 | A kind of stream media quality monitoring method and system |
| CN110489612A (en) * | 2019-08-26 | 2019-11-22 | 秒针信息技术有限公司 | A kind of the multi objective monitoring method and device of information |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112954372A (en) * | 2021-01-26 | 2021-06-11 | 北京达佳互联信息技术有限公司 | Streaming media fault monitoring method and device |
| CN112954372B (en) * | 2021-01-26 | 2022-08-26 | 北京达佳互联信息技术有限公司 | Streaming media fault monitoring method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111106962B (en) | 2022-07-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7373415B1 (en) | System and method for monitoring delivery of digital content, including streaming media | |
| US20210036907A1 (en) | Methods and apparatuses for pushing a message | |
| EP2615777A1 (en) | Monitoring over-the-top adaptive video streaming | |
| US11606280B2 (en) | Measuring response trends in a digital television network | |
| US20070130330A1 (en) | System for inventing computer systems and alerting users of faults to systems for monitoring | |
| US20070168696A1 (en) | System for inventing computer systems and alerting users of faults | |
| CN104883282A (en) | Method and system for monitoring DNS server of terminal | |
| CN111198889B (en) | Data complement method and device | |
| CN112202631A (en) | Resource access method, device and system, electronic equipment and storage medium | |
| US12463992B2 (en) | Data collection management | |
| US20220116768A1 (en) | Network Outage Detection | |
| CN111106962B (en) | Streaming media fault monitoring method and device, electronic equipment and storage medium | |
| US9166991B2 (en) | Identifying business transactions from traffic in an enterprise content management system | |
| CN112954372B (en) | Streaming media fault monitoring method and device | |
| US20100229234A1 (en) | Systems and methods for detecting and preventing denial of service attacks in an iptv system | |
| CN103532937B (en) | Application identification verifying method and device | |
| CN114020571B (en) | Monitoring method and monitoring device for index server | |
| EP2814202A1 (en) | System and method for remote maintenance of user units | |
| CN114827674B (en) | Network resource display method, device and system | |
| CN114090346A (en) | Data processing method and device | |
| CN108449224B (en) | Data acquisition method, device, equipment and storage medium | |
| CN114461506B (en) | Cluster alarm control method, device, electronic device and storage medium | |
| CN118484364A (en) | Alarm method and device for target event and terminal equipment | |
| CN120915657A (en) | Content distribution network flow alarming method and device and electronic equipment | |
| US20240422081A1 (en) | Network Analytics System with Data Loss Detection |
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 |