WO2017186004A1 - Fault reporting method and apparatus, and storage medium - Google Patents

Fault reporting method and apparatus, and storage medium Download PDF

Info

Publication number
WO2017186004A1
WO2017186004A1 PCT/CN2017/080665 CN2017080665W WO2017186004A1 WO 2017186004 A1 WO2017186004 A1 WO 2017186004A1 CN 2017080665 W CN2017080665 W CN 2017080665W WO 2017186004 A1 WO2017186004 A1 WO 2017186004A1
Authority
WO
WIPO (PCT)
Prior art keywords
network server
preset
network
video service
terminal
Prior art date
Application number
PCT/CN2017/080665
Other languages
French (fr)
Chinese (zh)
Inventor
陈斌
孙一飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017186004A1 publication Critical patent/WO2017186004A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design

Definitions

  • the present invention relates to the field of communications, and in particular to a fault reporting method, apparatus, and storage medium.
  • IPTV Internet Protocol Television
  • the current video service failure reporting method is that when the user thinks that the video service experience is poor, the maintenance personnel may report the video service in the area where the problem may occur, and then the maintenance personnel can check and monitor the area where the video service is located.
  • the current main practice of video surveillance is to deploy a dedicated stream analysis server at the entrance of the Content Delivery Network (CDN) in the downtown area, mirror all channel streams, and copy a copy to the stream server.
  • CDN Content Delivery Network
  • Decoding analysis the method has a certain effect on monitoring, but this method has the following problems: deploying the code stream analysis server at the CDN portal makes the complicated IPTV system more complicated, and also increases the deployment cost.
  • due to various reasons such as being restricted by the computer room it is only possible to have very few Some core CDNs deploy code stream analysis servers, and most CDNs are not monitored, making network nodes difficult to monitor.
  • the embodiment of the invention provides a fault reporting method and device method, device and storage medium, so as to at least solve the problem that the fault reporting efficiency of the video service in the related art is low.
  • a fault reporting method including: acquiring service data reported by a terminal that performs a video service in a preset tree network structure, where the preset tree network structure includes a pre- a network server of the affiliation, the network server is configured to control the terminal to execute the video service, and search for a network server set that meets a predetermined fault condition according to the service data; according to the preset tree structure
  • the preset affiliation is reported to the faulty network server in the set of network servers.
  • the finding, by the service data, the network server set that meets the predetermined fault condition includes: acquiring the video service quality of the network server in the preset tree network structure according to the service data; and finding the network The network server in the server whose quality of the video service is lower than the preset service quality is obtained by the network server.
  • the acquiring the video service quality of the network server in the preset tree network structure according to the service data includes: calculating, according to the service data, a video service availability rate of the terminal;
  • the video service availability rate separately calculates a video service availability ratio of the network server connected to the terminal, where the video service availability ratio is used to indicate the video service of the network server connected to the terminal
  • the network server that finds that the video service quality in the network server is lower than the preset service quality, to obtain the network server set includes: finding that the video service availability ratio is smaller than the preset video service availability ratio
  • the web server to get the set of web servers.
  • the ratio of the video service availability rate of the network server connected to the terminal is calculated according to the video service availability rate of the terminal, including: acquiring the number of the first terminal connected to the network server, and The number of the second terminal of the terminal that is less than the preset video service availability rate in the terminal connected to the network server; the ratio between the number of the second terminal and the number of the first terminal is obtained as the Video service availability ratio.
  • reporting the faulty network server in the network server set according to the preset affiliation in the preset tree network structure comprises: extracting a network server in the network server set as a target network server; If the target network server is connected to the subordinate network server in the preset affiliation, determining whether the connected subordinate network servers of the target network server belong to the network server set; determining the target When the connected subordinate network servers of the network server belong to the network server set, report the target network server as the faulty network server; if the target network server is not connected to the subordinate network server in the preset affiliation relationship Determining whether the peer network servers of the target network server connected to the target upper-level network server are all in the network server set; and determining that the same upper-level network server is connected to the target network server Said goal Peer network server network server comprises at least one network server does not belong to the network server is set, the target network server reports the failure to the network server.
  • the service data reported by the terminal that performs the video service is obtained by acquiring the preset tree network structure, where the preset tree network structure includes a network with a preset affiliation relationship.
  • the method further includes: establishing the preset tree network structure according to a preset affiliation relationship of the network server.
  • the method further includes: sending An indication message is sent to indicate the failed network server.
  • the business data includes: key performance indicator KPI data.
  • the terminal comprises: a set top box.
  • a fault reporting apparatus including: an obtaining module, configured to acquire service data reported by a terminal that performs a video service in a preset tree network structure, where the preset tree is configured
  • the network structure includes a network server having a preset affiliation, the network server is configured to control the terminal to execute the video service, and the searching module is configured to search, according to the service data, a network server set that meets a predetermined fault condition;
  • a module configured to report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
  • the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to execute.
  • the video service is configured to search for a network server set that meets a predetermined fault condition according to the service data; report the faulty network server in the network server set according to the preset affiliation relationship in the preset tree network structure, and thus, it can be obtained by using the foregoing solution.
  • the service data reported by the terminal of the video service finds the network server that meets the predetermined fault condition as a network server that may be faulty, constitutes a network server set, and reports the faulty network server in the network server set according to the affiliation relationship between the network servers, That is to say, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time, thereby improving the fault reporting efficiency of the video service, thereby solving the problem. Failure related art video services reported problem of low efficiency.
  • FIG. 1 is a flowchart of a method for reporting a fault according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a preset tree network structure according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram 1 of a fault reporting apparatus according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram 2 of a fault reporting apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram 3 of a fault reporting apparatus according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram 4 of a fault reporting apparatus according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a fault reporting method according to an alternative embodiment of the present invention.
  • FIG. 8 is a first schematic diagram of a fault reporting method according to an alternative embodiment of the present invention.
  • FIG. 9 is a second schematic diagram of a fault reporting method according to an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a fault reporting method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to perform the video service;
  • Step S104 searching for a network server set that meets a predetermined fault condition according to the service data
  • Step S106 Report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
  • the foregoing fault reporting method may be, but is not limited to, applied to a scenario of fault monitoring of a video service.
  • a scenario of fault monitoring of a video service For example: real-time fault monitoring of the IPTV system and the scenario of fault definition reporting.
  • the fault reporting method may be, but is not limited to, being applied to a server, for example, a video service fault monitoring server, a video service fault reporting server, and the like.
  • the service data reported by the terminal of the video service can be obtained, and the network server that meets the predetermined fault condition is found as a network server that may be faulty, and the network server set is formed, and then the network server is reported according to the affiliation relationship between the network servers.
  • the faulty network server in the set that is, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time, thereby improving the fault reporting efficiency of the video service. Therefore, the problem of low fault reporting efficiency of the video service in the related art is solved.
  • the terminal of the video service may be, but is not limited to, a set top box.
  • the web server can be, but is not limited to, a CDN of various levels, such as a national center CDN, a downtown CDN, an edge CDN.
  • the preset tree network structure may be set according to the actual deployment of the terminal of the video service and the network server of the video service.
  • FIG. 2 is a schematic diagram of a preset tree network structure according to an embodiment of the present invention.
  • a preset tree network structure in a preset tree network structure, a national center CDN passes through a multi-level network device and its subordinate downtown CDN- 1 ⁇ CNN-M connection in the city center, CDN-1 to CDN-M in the city center are connected to their respective subordinate CDN-1 ⁇ edge CDN-N through multi-level network equipment, respectively, and connected to CDN under each level. Managed set-top boxes.
  • the predetermined fault condition may be, but is not limited to, a condition for defining whether the network server may be faulty.
  • a condition for indicating the quality of the video service it may be, but is not limited to, a condition for indicating the quality of the video service, and the set of network servers may be found by lowering the preset video service quality as a predetermined fault condition.
  • the video service may be, but not limited to, configured.
  • the terminal has the ability to report business data.
  • the set-top box parameters can be configured by the terminal network management system, and the set-top boxes can report the service data to the specified address (for example, the fault report server) according to the specified period. It is also possible, but not limited to, to have the ability to report business data by installing a third-party probe on the terminal of the video service.
  • the business data may include, but is not limited to, key performance indicator KPI data.
  • KPI data For example: packet loss rate of video service data transmission, video service data transmission rate, and the like.
  • the video service quality of each network server may be acquired according to the service data, and then the network server with lower video service quality is found, thereby obtaining a network server set.
  • the video service quality of the network server in the preset tree network structure may be obtained according to the service data, and the network server whose video service quality is lower than the preset service quality in the network server may be found to obtain the network server set.
  • the video service availability ratio may be used to indicate the video service quality of the network server connected to the terminal.
  • the manner of obtaining the video service quality may be, but is not limited to, calculating the video service availability rate of the terminal according to the service data, and separately calculating the video service availability ratio of the network server connected to the terminal according to the video service availability rate of the terminal.
  • the manner of obtaining the network server set may be, but is not limited to, finding a network server whose video service availability ratio is less than the preset video service availability ratio.
  • the KPI data reported by the received set-top box may be periodically collected, and the data reported by the set-top box may be analyzed and compared according to the preset affiliation relationship, and the network server whose video service quality is lower than the preset value is found, and the network server is obtained. set.
  • a network server that may be faulty can be found according to the service data, and a preliminary definition of the faulty network server is implemented.
  • the manner in which the ratio of the availability rate of the video service is available may be, but is not limited to, obtaining and network.
  • the number of the first terminal of the terminal connected to the server, and the number of the second terminal of the terminal whose video service availability rate is lower than the preset video service availability rate, and the number of the second terminal and the number of the first terminal The ratio as a percentage of video business availability.
  • the manner of reporting the faulty network server may be, but is not limited to, extracting the network server in the network server set as the target network server, and determining whether the target network server is connected to the subordinate network server in the preset affiliation relationship. .
  • the target network server is connected to the subordinate network server in the preset affiliation, it is determined whether the subordinate network servers connected to the target network server belong to the network server set, and the subordinate network servers that determine the connection with the target network server are both When it belongs to the network server collection, the reported target network server is the faulty network server.
  • the target network server is not connected to the subordinate network server in the preset affiliation, it is determined whether the peer network servers of the target network server connected to the target upper-level network server of the same upper-level network server belong to the network server set, and are judged When the peer network server connected to the target network server of the same upper-level network server includes at least one network server that does not belong to the network server set, the reported target network server is the faulty network server.
  • the faulty network server in the network server set can be analyzed and reported to the faulty network server.
  • the timely reporting of the faulty network server is implemented, thereby improving the efficiency of fault reporting in the video service.
  • the preset tree network structure may be established according to the preset affiliation of the network server.
  • the indication information for indicating the faulty network server may be sent. Therefore, the maintenance personnel can monitor and check the fault of the video service in advance according to the reported faulty network server.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the fault reporting method shown in FIG. 1 in the embodiment of the present invention.
  • a fault reporting apparatus is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram 1 of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
  • the obtaining module 32 is configured to obtain the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used for controlling The terminal performs a video service;
  • a search module 34 coupled to the acquisition module 32, configured to search for a set of network servers that meet predetermined failure conditions based on the service data;
  • the reporting module 36 is coupled to the searching module 34 and configured to report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
  • the foregoing fault reporting device may be, but is not limited to, applied to a scenario of fault monitoring of a video service.
  • a scenario of fault monitoring of a video service For example: real-time fault monitoring of the IPTV system and the scenario of fault definition reporting.
  • the foregoing fault reporting device may be, but is not limited to, applied to a server, for example, a video service fault monitoring server, a video service fault reporting server, and the like.
  • the obtaining module 32 can obtain the service data reported by the terminal of the video service, and the searching module 34 finds the network server that meets the predetermined fault condition as a possible fault.
  • the network server is configured to form a network server set, and then the reporting module 36 reports the faulty network server in the network server set according to the affiliation relationship between the network servers, that is, according to the service data reported by the terminal and the existence between the network servers.
  • the affiliation can define and report the network server that may be faulty in time. Therefore, the fault reporting efficiency of the video service is improved, thereby solving the problem of low efficiency of fault reporting of the video service in the related art.
  • the terminal of the video service may be, but is not limited to, a set top box.
  • the web server can be, but is not limited to, a CDN of various levels, such as a national center CDN, a downtown CDN, an edge CDN, and the like.
  • the preset tree network structure may be set according to the actual deployment of the terminal of the video service and the network server of the video service.
  • the national center CDN is connected to its subordinate downtown CDN-1 to the city center CDN-M through a multi-level network device, and the city center CDN-1 to the city center CDN.
  • -M is connected to the edge CDN-1 to the edge CDN-N of its respective subordinates through multi-level network devices, and the set-top boxes managed by them are respectively connected under the CDNs of each level.
  • the predetermined fault condition may be, but is not limited to, a condition for defining whether the network server may be faulty.
  • a condition for indicating the quality of the video service it may be, but is not limited to, a condition for indicating the quality of the video service, and the set of network servers may be found by lowering the preset video service quality as a predetermined fault condition.
  • the device may be, but is not limited to, a configuration module, configured to configure a terminal of the video service to have the capability of reporting service data.
  • the set-top box parameters can be configured by the terminal network management system, and the set-top boxes can report the service data to the specified address (for example, the fault report server) according to the specified period. It is also possible, but not limited to, to have the ability to report business data by installing a third-party probe on the terminal of the video service.
  • the business data may include, but is not limited to, key performance indicator KPI data.
  • KPI data For example: packet loss rate of video service data transmission, video service data transmission rate, and the like.
  • FIG. 4 is a structural block diagram 2 of a fault reporting apparatus according to an embodiment of the present invention.
  • the searching module 34 includes:
  • the obtaining unit 42 is configured to obtain, according to the service data, a video service quality of the network server in the preset tree network structure;
  • the searching unit 44 is coupled to the obtaining unit 42 and configured to find a network server whose video service quality is lower than the preset service quality in the network server to obtain a network server set.
  • the obtaining unit 42 may be configured to: calculate, according to the service data, a video service availability rate of the terminal, and calculate, according to the video service availability rate of the terminal, a video service availability ratio of the network server connected to the terminal, where the video The service availability ratio is used to indicate the video service quality of the network server connected to the terminal.
  • the searching unit 44 may be configured to: find a network server whose video service availability ratio is smaller than a preset video service availability ratio to obtain a network server set.
  • the obtaining unit 42 may be, but not limited to, configured to: acquire the number of the first terminals of the terminal connected to the network server, and obtain the number of the terminal in the terminal connected to the network server that the video service availability rate is less than the preset video service availability rate.
  • the number of two terminals; the ratio between the number of second terminals and the number of first terminals is obtained as a ratio of availability of video services.
  • the reporting module 36 may be configured to: extract the network server in the network server set as the target network server; if the target network server is connected to the subordinate network server in the preset affiliation, determine the target network server. Whether the connected subordinate network servers belong to the network server set; when it is determined that the subordinate network servers connected to the target network server belong to the network server set, the reported target network server is the faulty network server; if the target network is in the preset affiliation relationship If the server does not have a connected network server, it is determined whether the same-level network server of the target network server connected to the target network server of the same upper-level network server belongs to the network server set; and the target network server is determined. When the peer network server connected to the target network server of the same upper-level network server includes at least one network server that does not belong to the network server set, the reported target network server is the faulty network server.
  • FIG. 5 is a structural block diagram 3 of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 5, optionally, the apparatus further includes:
  • the establishing module 52 is coupled to the obtaining module 32 and configured to establish a preset tree network structure according to the preset affiliation of the network server.
  • FIG. 6 is a structural block diagram of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes:
  • the sending module 62 is coupled to the reporting module 36 and configured to send indication information for indicating the faulty network server.
  • the foregoing modules may be implemented by using software or hardware.
  • the latter may be implemented in the following manner, but is not limited thereto: in an actual application, the obtaining module 32, the searching module 34, and the reporting module 36.
  • the configuration module, the setup module 52, and the sending module 62 are located in the same processor, or are respectively located in multiple processors, and the processor may be specifically a central processing unit (CPU), or a microprocessor (MPU). Or a digital signal processor (DSP), or a programmable gate array (FPGA).
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • a preferred embodiment of the present invention provides an IPTV fault reporting method.
  • This method can solve the problem of low efficiency of video service fault reporting by combining the actual situation of the existing network.
  • the method can also be combined with the fault monitoring method in the prior art to achieve better fault definition and monitoring effects.
  • the server for fault reporting takes the monitoring system as an example
  • the terminal of the video service takes the set-top box as an example
  • the network server takes the node as an example
  • the preset tree-like network structure takes the resource tree as an example, the service data.
  • the video service quality is taken as an example of the video playback quality
  • the availability ratio is taken as an example of the experience ratio.
  • a resource tree with a provincial center CDN to the set top box is established on the monitoring system, and then the monitoring system performs real-time monitoring on all the set top boxes, and all the real-time collections are being collected.
  • the playback analysis data of the set-top box used can analyze the video playback quality of the set-top box, and use the big data technology to analyze and summarize the collected data according to the resource tree structure; then, the nodes with affiliation (for example: father/son/ The analysis and summary data of the sibling node are compared and analyzed, and the location of the fault is derived, and the defined result is formed and reported to the staff for actual reference by the staff.
  • FIG. 7 is a flowchart of a fault reporting method according to an alternative embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
  • Step S702 Establish a resource tree on the monitoring system according to the actual deployment of the live network IPTV.
  • the common structure of the resource tree is shown in Figure 2.
  • the monitoring system usually needs to create at least one manual creation and file import to create a resource tree, which can be easily modified.
  • step S704 the set-top box parameters are configured by a system similar to the terminal network management, so that each set-top box reports the KPI data to the specified address according to a specified period. Due to the huge number of set-top boxes, hundreds of thousands or even millions of them, and distributed in the average user's home, the parameters can be configured through the remote management system. For those set-top boxes that do not have the ability to report KPI data, third-party probes can be installed to report KPI data.
  • Step S706 receiving and storing the reported KPI data.
  • Step S708 analyzing and summarizing the KPI data. Due to the huge amount of data, it can be, but is not limited to, using big data technology to analyze and process data. Real-time summary statistics can be completed by flow calculation, and offline tasks can be completed by using Map Reduce. For all the nodes in the resource tree, the proportion of all the set-top boxes watching video is not good (for example, the video service availability rate is lower than the preset availability rate), and further, the proportion of the channel video video experience is not good.
  • step S710 the data obtained by the analysis and aggregation is checked to find out the network server set.
  • step S712 when the problem is defined and needs to be checked in time, the faulty network server is reported in the monitoring system and the alarm is displayed. At the same time, the alarms are sent to relevant personnel through emails and text messages.
  • FIG. 8 is a schematic diagram 1 of a fault reporting method according to an alternative embodiment of the present invention.
  • the number of online set top boxes and the experience ratio of the video experience quality are respectively counted, and the lower layer is checked.
  • the data on nodes B and C are normal (a very low percentage of user experience is a normal phenomenon at a certain time), and the data on node D is obviously abnormal (the available ratio is low, and the affected users are more).
  • a node A node directly provides services for 1w users, and provides services for B, C, and D nodes).
  • the data of A is abnormal, but the data of the set-top box of A direct service and its subordinate B and C nodes are normal.
  • the abnormality of A is almost all contributed by D. Therefore, it can be inferred that the nodes A, B, and C are all normal, and D or a network under it has a problem, and D is reported as a faulty network server.
  • FIG. 9 is a schematic diagram 2 of a fault reporting method according to an alternative embodiment of the present invention.
  • the number of online set top boxes and the experience ratio of the video experience quality are respectively counted by each node, and analyzed.
  • the inspection found that the H, A, F, and E data were abnormal, and the G data was normal. If there is a problem with E, then F and G will have an impact, basically not only affect F but not G.
  • all the subordinates of F, including the data directly provided by F, are obviously abnormal. Therefore, it can be inferred that the network of E to F or the network of the F node has the highest probability of having problems. It should be prioritized and reported to F as the faulty network server.
  • the fault reporting method and device provided by the embodiments and the optional embodiments of the present invention can fully utilize the set-top box capability in the user's home, and use the “statistical” method to perform fault analysis, covering all users actually used. The reported results are more authentic and reliable.
  • the fault reporting method and apparatus provided by the embodiments and the optional embodiments of the present invention may not arrange or lessly arrange the code stream analysis server, fully utilize the existing set top box equipment, and adopt massive data technology to massively Data for each dimension analysis, you can get any
  • the analysis data of the domain at any time reflects the actual situation of the live network of the video service more comprehensively and intuitively.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as a read only memory (ROM). , Read-Only Memory)/Random Access Memory (RAM), including several instructions to make a terminal device (can be a mobile phone, computer, server, or network device, etc.) The methods described in various embodiments of the invention are performed.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to perform the video service;
  • the storage medium is further arranged to store program code for performing the method steps recited in the above embodiments:
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, a ROM, A variety of media that can store program code, such as RAM, removable hard disk, disk, or optical disk.
  • the processor executes the method steps described in the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the embodiment of the present invention obtains the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to execute the video.
  • the service is configured to search for a network server set that meets a predetermined fault condition according to the service data; report the faulty network server in the network server set according to the preset affiliation relationship in the preset tree network structure, and thus, the video can be obtained by using the foregoing solution.
  • the service data reported by the terminal of the service finds a network server that meets the predetermined fault condition as a network server that may be faulty, constitutes a network server set, and then according to The affiliation between the network servers reports the faulty network server in the network server set, that is, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time. Therefore, the fault reporting efficiency of the video service is improved, thereby solving the problem that the fault reporting efficiency of the video service in the related art is low.

Landscapes

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

Abstract

Embodiments of the present invention provide a fault reporting method and apparatus, and a storage medium. The method comprises: obtaining service data reported by terminals executing video services in a preset tree-like network structure, the preset tree-like network structure comprising network servers having a preset subordination relationship, and the network servers being used for controlling the terminals to execute the video services; searching, according to the service data, for a set of network servers satisfying a fault condition; and reporting faulty network servers in the set of network servers according to the preset subordination relationship in the preset tree-like network structure. The problem in the related art of low reporting efficiency of faults in video services is resolved, thereby improving the reporting efficiency of faults in the video services.

Description

故障上报方法、装置及存储介质Fault reporting method, device and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610270288.3、申请日为2016年04月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Apr. 28, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种故障上报方法、装置及存储介质。The present invention relates to the field of communications, and in particular to a fault reporting method, apparatus, and storage medium.
背景技术Background technique
目前的互联网电视(Internet Protocol Television,简称为IPTV)系统由于包括了众多的网元而十分复杂,同时最终的视频观看质量只有用户才能直观感知,这就为视频质量监控以及故障界定带来了较大困难。对于IPTV的全网监控来说,最主要的就是较实时地发现影响用户较多故障并且能快速界定,而不是把主要精力放在单个用户观看体验上。The current Internet Protocol Television (IPTV) system is very complicated because it includes a large number of network elements, and the final video viewing quality can only be intuitively perceived by users, which brings a comparison between video quality monitoring and fault definition. Great difficulty. For the whole network monitoring of IPTV, the most important thing is to find more impacts on users in real time and to define them quickly, instead of focusing on the single user viewing experience.
目前的视频业务故障上报的方法是在用户认为视频业务的体验差时,会向维修人员上报其所在区域的视频业务可能出现问题,再由维修人员对其所在区域进行排查和监控。目前的视频监控主要做法是:在省市中心的内容分发网络(Content Delivery Network,简称为CDN)入口部署专门的码流分析服务器,对所有的频道码流做镜像,复制一份到码流服务器进行解码分析,该方法对监控有一定的效果,但此方法存在以下问题:在CDN入口部署码流分析服务器使得本就复杂的IPTV系统更加复杂,也使得部署成本增加。此外,由于受制于机房场地等多种原因,实际只可能在很少一 部分核心CDN部署码流分析服务器,而大部分CDN没有被监控,也使得网络节点难以得到监控。The current video service failure reporting method is that when the user thinks that the video service experience is poor, the maintenance personnel may report the video service in the area where the problem may occur, and then the maintenance personnel can check and monitor the area where the video service is located. The current main practice of video surveillance is to deploy a dedicated stream analysis server at the entrance of the Content Delivery Network (CDN) in the downtown area, mirror all channel streams, and copy a copy to the stream server. Decoding analysis, the method has a certain effect on monitoring, but this method has the following problems: deploying the code stream analysis server at the CDN portal makes the complicated IPTV system more complicated, and also increases the deployment cost. In addition, due to various reasons such as being restricted by the computer room, it is only possible to have very few Some core CDNs deploy code stream analysis servers, and most CDNs are not monitored, making network nodes difficult to monitor.
针对相关技术中视频业务的故障上报效率低的问题,目前还没有有效地解决方案。In view of the low efficiency of fault reporting of video services in related technologies, there is currently no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种故障上报方法及装置方法、装置及存储介质,以至少解决相关技术中视频业务的故障上报效率低的问题。The embodiment of the invention provides a fault reporting method and device method, device and storage medium, so as to at least solve the problem that the fault reporting efficiency of the video service in the related art is low.
根据本发明的一个实施例,提供了一种故障上报方法,包括:获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器,所述网络服务器用于控制所述终端执行所述视频业务;根据所述业务数据查找满足预定故障条件的网络服务器集合;根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器。According to an embodiment of the present invention, a fault reporting method is provided, including: acquiring service data reported by a terminal that performs a video service in a preset tree network structure, where the preset tree network structure includes a pre- a network server of the affiliation, the network server is configured to control the terminal to execute the video service, and search for a network server set that meets a predetermined fault condition according to the service data; according to the preset tree structure The preset affiliation is reported to the faulty network server in the set of network servers.
可选地,根据所述业务数据查找满足预定故障条件的网络服务器集合包括:根据所述业务数据获取所述预设树状网络结构下的所述网络服务器的视频业务质量;查找出所述网络服务器中所述视频业务质量低于预设业务质量的网络服务器,以得到所述网络服务器集合。Optionally, the finding, by the service data, the network server set that meets the predetermined fault condition includes: acquiring the video service quality of the network server in the preset tree network structure according to the service data; and finding the network The network server in the server whose quality of the video service is lower than the preset service quality is obtained by the network server.
可选地,根据所述业务数据获取所述预设树状网络结构下的所述网络服务器的视频业务质量包括:根据所述业务数据计算所述终端的视频业务可用率;根据所述终端的所述视频业务可用率分别统计与所述终端相连的网络服务器的视频业务可用率比例,其中,所述视频业务可用率比例用于指示所述与所述终端相连的网络服务器的所述视频业务质量;查找出所述网络服务器中所述视频业务质量低于预设业务质量的网络服务器,以得到所述网络服务器集合包括:查找出所述视频业务可用率比例小于预设视频业务可用率比例的所述网络服务器,以得到所述网络服务器集合。 Optionally, the acquiring the video service quality of the network server in the preset tree network structure according to the service data includes: calculating, according to the service data, a video service availability rate of the terminal; The video service availability rate separately calculates a video service availability ratio of the network server connected to the terminal, where the video service availability ratio is used to indicate the video service of the network server connected to the terminal The network server that finds that the video service quality in the network server is lower than the preset service quality, to obtain the network server set includes: finding that the video service availability ratio is smaller than the preset video service availability ratio The web server to get the set of web servers.
可选地,根据所述终端的所述视频业务可用率分别统计与所述终端相连的网络服务器的视频业务可用率比例包括:获取与所述网络服务器连接的终端的第一终端数量,及与所述网络服务器连接的终端中所述视频业务可用率小于预设视频业务可用率的终端的第二终端数量;获取所述第二终端数量与所述第一终端数量之间的比例作为所述视频业务可用率比例。Optionally, the ratio of the video service availability rate of the network server connected to the terminal is calculated according to the video service availability rate of the terminal, including: acquiring the number of the first terminal connected to the network server, and The number of the second terminal of the terminal that is less than the preset video service availability rate in the terminal connected to the network server; the ratio between the number of the second terminal and the number of the first terminal is obtained as the Video service availability ratio.
可选地,根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器包括:提取所述网络服务器集合中的网络服务器作为目标网络服务器;如果在所述预设从属关系中所述目标网络服务器连接有下属网络服务器,则判断在所述目标网络服务器的连接的下属网络服务器是否均属于所述网络服务器集合;在判断出与所述目标网络服务器的连接的下属网络服务器均属于所述网络服务器集合时,上报所述目标网络服务器为所述故障网络服务器;如果在所述预设从属关系中所述目标网络服务器没有连接的下属网络服务器,则判断与所述目标网络服务器连接在相同上级网络服务器的所述目标网络服务器的同级网络服务器是否均属于所述网络服务器集合;在判断出与所述目标网络服务器连接在相同上级网络服务器的所述目标网络服务器的同级网络服务器中包括至少一个网络服务器不属于所述网络服务器集合时,上报所述目标网络服务器为所述故障网络服务器。Optionally, reporting the faulty network server in the network server set according to the preset affiliation in the preset tree network structure comprises: extracting a network server in the network server set as a target network server; If the target network server is connected to the subordinate network server in the preset affiliation, determining whether the connected subordinate network servers of the target network server belong to the network server set; determining the target When the connected subordinate network servers of the network server belong to the network server set, report the target network server as the faulty network server; if the target network server is not connected to the subordinate network server in the preset affiliation relationship Determining whether the peer network servers of the target network server connected to the target upper-level network server are all in the network server set; and determining that the same upper-level network server is connected to the target network server Said goal Peer network server network server comprises at least one network server does not belong to the network server is set, the target network server reports the failure to the network server.
可选地,在获取所述预设树状网络结构下执行所述视频业务的所述终端上报的所述业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器,所述网络服务器用于控制所述终端执行所述视频业务之前,所述方法还包括:根据所述网络服务器的预设从属关系,建立所述预设树状网络结构。Optionally, the service data reported by the terminal that performs the video service is obtained by acquiring the preset tree network structure, where the preset tree network structure includes a network with a preset affiliation relationship. Before the network server is configured to control the terminal to perform the video service, the method further includes: establishing the preset tree network structure according to a preset affiliation relationship of the network server.
可选地,在根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的所述故障网络服务器之后,所述方法还包括:发 送用于指示所述故障网络服务器的指示信息。Optionally, after reporting, according to the preset affiliation in the preset tree network structure, the faulty network server in the network server set, the method further includes: sending An indication message is sent to indicate the failed network server.
可选地,所述业务数据包括:关键绩效指标KPI数据。Optionally, the business data includes: key performance indicator KPI data.
可选地,所述终端包括:机顶盒。Optionally, the terminal comprises: a set top box.
根据本发明的另一个实施例,提供了一种故障上报装置,包括:获取模块,配置为获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器,所述网络服务器用于控制所述终端执行所述视频业务;查找模块,配置为根据所述业务数据查找满足预定故障条件的网络服务器集合;上报模块,配置为根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器。According to another embodiment of the present invention, a fault reporting apparatus is provided, including: an obtaining module, configured to acquire service data reported by a terminal that performs a video service in a preset tree network structure, where the preset tree is configured The network structure includes a network server having a preset affiliation, the network server is configured to control the terminal to execute the video service, and the searching module is configured to search, according to the service data, a network server set that meets a predetermined fault condition; And a module configured to report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
通过本发明实施例,获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,预设树状网络结构中包括具有预设从属关系的网络服务器,网络服务器用于控制终端执行视频业务;根据业务数据查找满足预定故障条件的网络服务器集合;根据预设树状网络结构中的预设从属关系上报在网络服务器集合中的故障网络服务器,由此可见,采用上述方案可以获取到视频业务的终端上报的业务数据,查找出满足预定故障条件的网络服务器作为可能出现故障的网络服务器,组成网络服务器集合,再根据网络服务器之间的从属关系上报网络服务器集合中的故障网络服务器,也就是说,根据终端上报的业务数据以及各个网络服务器之间存在的从属关系,可以及时界定和上报可能出现故障的网络服务器,因此,提高了视频业务的故障上报效率,从而解决了相关技术中视频业务的故障上报效率低的问题。According to the embodiment of the present invention, the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to execute. The video service is configured to search for a network server set that meets a predetermined fault condition according to the service data; report the faulty network server in the network server set according to the preset affiliation relationship in the preset tree network structure, and thus, it can be obtained by using the foregoing solution. The service data reported by the terminal of the video service finds the network server that meets the predetermined fault condition as a network server that may be faulty, constitutes a network server set, and reports the faulty network server in the network server set according to the affiliation relationship between the network servers, That is to say, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time, thereby improving the fault reporting efficiency of the video service, thereby solving the problem. Failure related art video services reported problem of low efficiency.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明实施例,并 不构成对本发明实施例的不当限定。在附图中:The accompanying drawings are intended to provide a further understanding of the embodiments of the invention It does not constitute an undue limitation of the embodiments of the invention. In the drawing:
图1是根据本发明实施例的一种故障上报方法的流程图;1 is a flowchart of a method for reporting a fault according to an embodiment of the present invention;
图2是根据本发明实施例的预设树状网络结构的示意图;2 is a schematic diagram of a preset tree network structure according to an embodiment of the present invention;
图3是根据本发明实施例的一种故障上报装置的结构框图一;3 is a structural block diagram 1 of a fault reporting apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的一种故障上报装置的结构框图二;4 is a structural block diagram 2 of a fault reporting apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的一种故障上报装置的结构框图三;FIG. 5 is a structural block diagram 3 of a fault reporting apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的一种故障上报装置的结构框图四;6 is a structural block diagram 4 of a fault reporting apparatus according to an embodiment of the present invention;
图7是根据本发明可选实施例的故障上报方法的流程图;7 is a flowchart of a fault reporting method according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的故障上报方法的示意图一;FIG. 8 is a first schematic diagram of a fault reporting method according to an alternative embodiment of the present invention; FIG.
图9是根据本发明可选实施例的故障上报方法的示意图二。FIG. 9 is a second schematic diagram of a fault reporting method according to an alternative embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
在本实施例中提供了一种故障上报方法,图1是根据本发明实施例的一种故障上报方法的流程图,如图1所示,该流程包括如下步骤:A fault reporting method is provided in this embodiment. FIG. 1 is a flowchart of a fault reporting method according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,预设树状网络结构中包括具有预设从属关系的网络服务器,网络服务器用于控制终端执行视频业务;Step S102, the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to perform the video service;
步骤S104,根据业务数据查找满足预定故障条件的网络服务器集合;Step S104, searching for a network server set that meets a predetermined fault condition according to the service data;
步骤S106,根据预设树状网络结构中的预设从属关系上报在网络服务器集合中的故障网络服务器。 Step S106: Report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
可选地,上述故障上报方法可以但不限于应用于视频业务的故障监控的场景中。例如:IPTV系统的实时故障监控以及故障界定上报的场景中。Optionally, the foregoing fault reporting method may be, but is not limited to, applied to a scenario of fault monitoring of a video service. For example: real-time fault monitoring of the IPTV system and the scenario of fault definition reporting.
可选地,上述故障上报方法可以但不限于应用于服务器,例如:视频业务故障监控服务器,视频业务故障上报服务器等。Optionally, the fault reporting method may be, but is not limited to, being applied to a server, for example, a video service fault monitoring server, a video service fault reporting server, and the like.
通过上述步骤,可以获取到视频业务的终端上报的业务数据,查找出满足预定故障条件的网络服务器作为可能出现故障的网络服务器,组成网络服务器集合,再根据网络服务器之间的从属关系上报网络服务器集合中的故障网络服务器,也就是说,根据终端上报的业务数据以及各个网络服务器之间存在的从属关系,可以及时界定和上报可能出现故障的网络服务器,因此,提高了视频业务的故障上报效率,从而解决了相关技术中视频业务的故障上报效率低的问题。Through the foregoing steps, the service data reported by the terminal of the video service can be obtained, and the network server that meets the predetermined fault condition is found as a network server that may be faulty, and the network server set is formed, and then the network server is reported according to the affiliation relationship between the network servers. The faulty network server in the set, that is, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time, thereby improving the fault reporting efficiency of the video service. Therefore, the problem of low fault reporting efficiency of the video service in the related art is solved.
在本实施例中,视频业务的终端可以但不限于是机顶盒。网络服务器可以但不限于是各级的CDN,例如:省中心CDN、市中心CDN、边缘CDN。In this embodiment, the terminal of the video service may be, but is not limited to, a set top box. The web server can be, but is not limited to, a CDN of various levels, such as a provincial center CDN, a downtown CDN, an edge CDN.
在本实施例中,预设树状网络结构可以根据视频业务的终端以及视频业务的网络服务器的实际部署设定。In this embodiment, the preset tree network structure may be set according to the actual deployment of the terminal of the video service and the network server of the video service.
例如:图2是根据本发明实施例的预设树状网络结构的示意图,如图2所示,在预设树状网络结构中,省中心CDN通过多级网络设备与其下属的市中心CDN-1~市中心CDN-M连接,市中心CDN-1~市中心CDN-M分别通过多级网络设备与其各自下属的边缘CDN-1~边缘CDN-N连接,各级CDN下又分别连接有其管理的机顶盒。For example, FIG. 2 is a schematic diagram of a preset tree network structure according to an embodiment of the present invention. As shown in FIG. 2, in a preset tree network structure, a provincial center CDN passes through a multi-level network device and its subordinate downtown CDN- 1~CNN-M connection in the city center, CDN-1 to CDN-M in the city center are connected to their respective subordinate CDN-1~edge CDN-N through multi-level network equipment, respectively, and connected to CDN under each level. Managed set-top boxes.
在本实施例中,预定故障条件可以但不限于是用于界定网络服务器是否可能出现故障的条件。例如:可以但不限于是用于指示视频业务质量的条件,可以将低于预设视频业务质量作为预定故障条件从而查找出网络服务器集合。In the present embodiment, the predetermined fault condition may be, but is not limited to, a condition for defining whether the network server may be faulty. For example, it may be, but is not limited to, a condition for indicating the quality of the video service, and the set of network servers may be found by lowering the preset video service quality as a predetermined fault condition.
在本实施例中,在上述步骤S102之前,可以但不限于配置视频业务的 终端,使其具备上报业务数据的能力。例如:可以但不限于通过终端网管系统来配置机顶盒参数,使各机顶盒按指定周期向指定的地址(例如:故障上报服务器)上报业务数据。也可以但不限于通过在视频业务的终端上安装第三方的探针来使其具备上报业务数据的能力。In this embodiment, before the step S102, the video service may be, but not limited to, configured. The terminal has the ability to report business data. For example, the set-top box parameters can be configured by the terminal network management system, and the set-top boxes can report the service data to the specified address (for example, the fault report server) according to the specified period. It is also possible, but not limited to, to have the ability to report business data by installing a third-party probe on the terminal of the video service.
在本实施例中,业务数据可以但不限于包括:关键绩效指标KPI数据。例如:视频业务数据传输的丢包率、视频业务数据传输速率等。In this embodiment, the business data may include, but is not limited to, key performance indicator KPI data. For example: packet loss rate of video service data transmission, video service data transmission rate, and the like.
可选地,在上述步骤S104中,可以但不限于根据业务数据获取各个网络服务器的视频业务质量,再查找出视频业务质量较低的网络服务器,从而得到网络服务器集合。Optionally, in the foregoing step S104, the video service quality of each network server may be acquired according to the service data, and then the network server with lower video service quality is found, thereby obtaining a network server set.
例如:可以但不限于根据业务数据获取预设树状网络结构下的网络服务器的视频业务质量,再查找出网络服务器中视频业务质量低于预设业务质量的网络服务器,以得到网络服务器集合。For example, the video service quality of the network server in the preset tree network structure may be obtained according to the service data, and the network server whose video service quality is lower than the preset service quality in the network server may be found to obtain the network server set.
在本实施例中,可以但不限于使用视频业务可用率比例来指示与终端相连的网络服务器的视频业务质量。In this embodiment, the video service availability ratio may be used to indicate the video service quality of the network server connected to the terminal.
在一个示例中,获取视频业务质量的方式可以但不限于是根据业务数据计算终端的视频业务可用率,根据终端的视频业务可用率分别统计与终端相连的网络服务器的视频业务可用率比例。In an example, the manner of obtaining the video service quality may be, but is not limited to, calculating the video service availability rate of the terminal according to the service data, and separately calculating the video service availability ratio of the network server connected to the terminal according to the video service availability rate of the terminal.
在本示例中,获取网络服务器集合的方式可以但不限于是查找出视频业务可用率比例小于预设视频业务可用率比例的网络服务器。In this example, the manner of obtaining the network server set may be, but is not limited to, finding a network server whose video service availability ratio is less than the preset video service availability ratio.
在另一个示例中,可以定时汇总收到的机顶盒上报的KPI数据,再根据预设从属关系对机顶盒上报的数据进行分析比较,查找出视频业务质量低于预设值的网络服务器,得到网络服务器集合。In another example, the KPI data reported by the received set-top box may be periodically collected, and the data reported by the set-top box may be analyzed and compared according to the preset affiliation relationship, and the network server whose video service quality is lower than the preset value is found, and the network server is obtained. set.
通过上述步骤,可以根据业务数据查找出可能出现故障的网络服务器,实现对故障网络服务器的初步界定。Through the above steps, a network server that may be faulty can be found according to the service data, and a preliminary definition of the faulty network server is implemented.
可选地,统计视频业务可用率比例的方式可以但不限于是获取与网络 服务器连接的终端的第一终端数量,及与网络服务器连接的终端中视频业务可用率小于预设视频业务可用率的终端的第二终端数量,再获取第二终端数量与第一终端数量之间的比例作为视频业务可用率比例。Optionally, the manner in which the ratio of the availability rate of the video service is available may be, but is not limited to, obtaining and network. The number of the first terminal of the terminal connected to the server, and the number of the second terminal of the terminal whose video service availability rate is lower than the preset video service availability rate, and the number of the second terminal and the number of the first terminal The ratio as a percentage of video business availability.
可选地,在上述步骤S106中,上报故障网络服务器的方式可以但不限于提取网络服务器集合中的网络服务器作为目标网络服务器,并判断在预设从属关系中目标网络服务器是否连接有下属网络服务器。Optionally, in the foregoing step S106, the manner of reporting the faulty network server may be, but is not limited to, extracting the network server in the network server set as the target network server, and determining whether the target network server is connected to the subordinate network server in the preset affiliation relationship. .
如果在预设从属关系中目标网络服务器连接有下属网络服务器,则判断在目标网络服务器的连接的下属网络服务器是否均属于网络服务器集合,并在判断出与目标网络服务器的连接的下属网络服务器均属于网络服务器集合时,上报目标网络服务器为故障网络服务器。If the target network server is connected to the subordinate network server in the preset affiliation, it is determined whether the subordinate network servers connected to the target network server belong to the network server set, and the subordinate network servers that determine the connection with the target network server are both When it belongs to the network server collection, the reported target network server is the faulty network server.
此外,如果在预设从属关系中目标网络服务器没有连接的下属网络服务器,则判断与目标网络服务器连接在相同上级网络服务器的目标网络服务器的同级网络服务器是否均属于网络服务器集合,并在判断出与目标网络服务器连接在相同上级网络服务器的目标网络服务器的同级网络服务器中包括至少一个网络服务器不属于网络服务器集合时,上报目标网络服务器为故障网络服务器。In addition, if the target network server is not connected to the subordinate network server in the preset affiliation, it is determined whether the peer network servers of the target network server connected to the target upper-level network server of the same upper-level network server belong to the network server set, and are judged When the peer network server connected to the target network server of the same upper-level network server includes at least one network server that does not belong to the network server set, the reported target network server is the faulty network server.
通过上述步骤,可以分析出网络服务器集合中的故障网络服务器,并上报故障网络服务器。实现故障网络服务器的及时上报,从而提高视频业务中故障上报的效率。Through the above steps, the faulty network server in the network server set can be analyzed and reported to the faulty network server. The timely reporting of the faulty network server is implemented, thereby improving the efficiency of fault reporting in the video service.
可选地,在上述步骤S102之前,可以根据网络服务器的预设从属关系,建立预设树状网络结构。Optionally, before the step S102, the preset tree network structure may be established according to the preset affiliation of the network server.
可选地,在上述步骤S106之后,可以发送用于指示故障网络服务器的指示信息。从而使维修人员可以根据上报的故障网络服务器对视频业务的故障进行提前地监控和排查。Optionally, after the foregoing step S106, the indication information for indicating the faulty network server may be sent. Therefore, the maintenance personnel can monitor and check the fault of the video service in advance according to the reported faulty network server.
可选地,在本实施例中,还可以在发现先前上报的故障已经不存在的 情况下,发送用于指示故障恢复的指示信息。Optionally, in this embodiment, it is also found that the previously reported fault does not exist anymore. In the case, an indication message indicating failure recovery is transmitted.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行本发明实施例中图1所示的故障上报方法。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to execute the fault reporting method shown in FIG. 1 in the embodiment of the present invention.
实施例2Example 2
在本实施例中还提供了一种故障上报装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a fault reporting apparatus is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的一种故障上报装置的结构框图一,如图3所示,该装置包括:FIG. 3 is a structural block diagram 1 of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes:
1)获取模块32,配置为获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,预设树状网络结构中包括具有预设从属关系的网络服务器,网络服务器用于控制终端执行视频业务;The obtaining module 32 is configured to obtain the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used for controlling The terminal performs a video service;
2)查找模块34,耦合至获取模块32,配置为根据业务数据查找满足预定故障条件的网络服务器集合;2) a search module 34, coupled to the acquisition module 32, configured to search for a set of network servers that meet predetermined failure conditions based on the service data;
3)上报模块36,耦合至查找模块34,配置为根据预设树状网络结构中的预设从属关系上报在网络服务器集合中的故障网络服务器。The reporting module 36 is coupled to the searching module 34 and configured to report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
可选地,上述故障上报装置可以但不限于应用于视频业务的故障监控的场景中。例如:IPTV系统的实时故障监控以及故障界定上报的场景中。Optionally, the foregoing fault reporting device may be, but is not limited to, applied to a scenario of fault monitoring of a video service. For example: real-time fault monitoring of the IPTV system and the scenario of fault definition reporting.
可选地,上述故障上报装置可以但不限于应用于服务器,例如:视频业务故障监控服务器,视频业务故障上报服务器等。Optionally, the foregoing fault reporting device may be, but is not limited to, applied to a server, for example, a video service fault monitoring server, a video service fault reporting server, and the like.
通过上述装置,获取模块32可以获取到视频业务的终端上报的业务数据,查找模块34查找出满足预定故障条件的网络服务器作为可能出现故障 的网络服务器,组成网络服务器集合,再由上报模块36根据网络服务器之间的从属关系上报网络服务器集合中的故障网络服务器,也就是说,根据终端上报的业务数据以及各个网络服务器之间存在的从属关系,可以及时界定和上报可能出现故障的网络服务器,因此,提高了视频业务的故障上报效率,从而解决了相关技术中视频业务的故障上报效率低的问题。Through the foregoing device, the obtaining module 32 can obtain the service data reported by the terminal of the video service, and the searching module 34 finds the network server that meets the predetermined fault condition as a possible fault. The network server is configured to form a network server set, and then the reporting module 36 reports the faulty network server in the network server set according to the affiliation relationship between the network servers, that is, according to the service data reported by the terminal and the existence between the network servers. The affiliation can define and report the network server that may be faulty in time. Therefore, the fault reporting efficiency of the video service is improved, thereby solving the problem of low efficiency of fault reporting of the video service in the related art.
在本实施例中,视频业务的终端可以但不限于是机顶盒。网络服务器可以但不限于是各级的CDN,例如:省中心CDN、市中心CDN、边缘CDN等。In this embodiment, the terminal of the video service may be, but is not limited to, a set top box. The web server can be, but is not limited to, a CDN of various levels, such as a provincial center CDN, a downtown CDN, an edge CDN, and the like.
在本实施例中,预设树状网络结构可以根据视频业务的终端以及视频业务的网络服务器的实际部署设定。In this embodiment, the preset tree network structure may be set according to the actual deployment of the terminal of the video service and the network server of the video service.
例如:如图2所示,在预设树状网络结构中,省中心CDN通过多级网络设备与其下属的市中心CDN-1~市中心CDN-M连接,市中心CDN-1~市中心CDN-M分别通过多级网络设备与其各自下属的边缘CDN-1~边缘CDN-N连接,各级CDN下又分别连接有其管理的机顶盒。For example, as shown in FIG. 2, in the preset tree network structure, the provincial center CDN is connected to its subordinate downtown CDN-1 to the city center CDN-M through a multi-level network device, and the city center CDN-1 to the city center CDN. -M is connected to the edge CDN-1 to the edge CDN-N of its respective subordinates through multi-level network devices, and the set-top boxes managed by them are respectively connected under the CDNs of each level.
在本实施例中,预定故障条件可以但不限于是用于界定网络服务器是否可能出现故障的条件。例如:可以但不限于是用于指示视频业务质量的条件,可以将低于预设视频业务质量作为预定故障条件从而查找出网络服务器集合。In the present embodiment, the predetermined fault condition may be, but is not limited to, a condition for defining whether the network server may be faulty. For example, it may be, but is not limited to, a condition for indicating the quality of the video service, and the set of network servers may be found by lowering the preset video service quality as a predetermined fault condition.
在本实施例中,在获取模块32之前,该装置还可以但不限于包括配置模块,配置为配置视频业务的终端,使其具备上报业务数据的能力。例如:可以但不限于通过终端网管系统来配置机顶盒参数,使各机顶盒按指定周期向指定的地址(例如:故障上报服务器)上报业务数据。也可以但不限于通过在视频业务的终端上安装第三方的探针来使其具备上报业务数据的能力。In this embodiment, before the obtaining module 32, the device may be, but is not limited to, a configuration module, configured to configure a terminal of the video service to have the capability of reporting service data. For example, the set-top box parameters can be configured by the terminal network management system, and the set-top boxes can report the service data to the specified address (for example, the fault report server) according to the specified period. It is also possible, but not limited to, to have the ability to report business data by installing a third-party probe on the terminal of the video service.
在本实施例中,业务数据可以但不限于包括:关键绩效指标KPI数据。 例如:视频业务数据传输的丢包率、视频业务数据传输速率等。In this embodiment, the business data may include, but is not limited to, key performance indicator KPI data. For example: packet loss rate of video service data transmission, video service data transmission rate, and the like.
图4是根据本发明实施例的一种故障上报装置的结构框图二,如图4所示,可选地,查找模块34包括:FIG. 4 is a structural block diagram 2 of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 4, optionally, the searching module 34 includes:
获取单元42,配置为根据业务数据获取预设树状网络结构下的网络服务器的视频业务质量;The obtaining unit 42 is configured to obtain, according to the service data, a video service quality of the network server in the preset tree network structure;
查找单元44,耦合至获取单元42,配置为查找出网络服务器中视频业务质量低于预设业务质量的网络服务器,以得到网络服务器集合。The searching unit 44 is coupled to the obtaining unit 42 and configured to find a network server whose video service quality is lower than the preset service quality in the network server to obtain a network server set.
可选地,获取单元42可以但不限于配置为:根据业务数据计算终端的视频业务可用率;根据终端的视频业务可用率分别统计与终端相连的网络服务器的视频业务可用率比例,其中,视频业务可用率比例用于指示与终端相连的网络服务器的视频业务质量。Optionally, the obtaining unit 42 may be configured to: calculate, according to the service data, a video service availability rate of the terminal, and calculate, according to the video service availability rate of the terminal, a video service availability ratio of the network server connected to the terminal, where the video The service availability ratio is used to indicate the video service quality of the network server connected to the terminal.
可选地,查找单元44可以但不限于配置为:查找出视频业务可用率比例小于预设视频业务可用率比例的网络服务器,以得到网络服务器集合。Optionally, the searching unit 44 may be configured to: find a network server whose video service availability ratio is smaller than a preset video service availability ratio to obtain a network server set.
可选地,获取单元42可以但不限于配置为:获取与网络服务器连接的终端的第一终端数量,及与网络服务器连接的终端中视频业务可用率小于预设视频业务可用率的终端的第二终端数量;获取第二终端数量与第一终端数量之间的比例作为视频业务可用率比例。Optionally, the obtaining unit 42 may be, but not limited to, configured to: acquire the number of the first terminals of the terminal connected to the network server, and obtain the number of the terminal in the terminal connected to the network server that the video service availability rate is less than the preset video service availability rate. The number of two terminals; the ratio between the number of second terminals and the number of first terminals is obtained as a ratio of availability of video services.
可选地,上报模块36可以但不限于配置为:提取网络服务器集合中的网络服务器作为目标网络服务器;如果在预设从属关系中目标网络服务器连接有下属网络服务器,则判断在目标网络服务器的连接的下属网络服务器是否均属于网络服务器集合;在判断出与目标网络服务器的连接的下属网络服务器均属于网络服务器集合时,上报目标网络服务器为故障网络服务器;如果在预设从属关系中目标网络服务器没有连接的下属网络服务器,则判断与目标网络服务器连接在相同上级网络服务器的目标网络服务器的同级网络服务器是否均属于网络服务器集合;在判断出与目标网络服务器 连接在相同上级网络服务器的目标网络服务器的同级网络服务器中包括至少一个网络服务器不属于网络服务器集合时,上报目标网络服务器为故障网络服务器。Optionally, the reporting module 36 may be configured to: extract the network server in the network server set as the target network server; if the target network server is connected to the subordinate network server in the preset affiliation, determine the target network server. Whether the connected subordinate network servers belong to the network server set; when it is determined that the subordinate network servers connected to the target network server belong to the network server set, the reported target network server is the faulty network server; if the target network is in the preset affiliation relationship If the server does not have a connected network server, it is determined whether the same-level network server of the target network server connected to the target network server of the same upper-level network server belongs to the network server set; and the target network server is determined. When the peer network server connected to the target network server of the same upper-level network server includes at least one network server that does not belong to the network server set, the reported target network server is the faulty network server.
图5是根据本发明实施例的一种故障上报装置的结构框图三,如图5所示,可选地,该装置还包括:FIG. 5 is a structural block diagram 3 of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 5, optionally, the apparatus further includes:
建立模块52,耦合至获取模块32,配置为根据网络服务器的预设从属关系,建立预设树状网络结构。The establishing module 52 is coupled to the obtaining module 32 and configured to establish a preset tree network structure according to the preset affiliation of the network server.
图6是根据本发明实施例的一种故障上报装置的结构框图四,如图6所示,可选地,该装置还包括:FIG. 6 is a structural block diagram of a fault reporting apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus further includes:
发送模块62,耦合至上报模块36,配置为发送用于指示故障网络服务器的指示信息。The sending module 62 is coupled to the reporting module 36 and configured to send indication information for indicating the faulty network server.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:在实际应用中,所述获取模块32、查找模块34、上报模块36、配置模块、建立模块52以及发送模块62位于同一处理器中,或者,分别位于多个处理器中,所述处理器可以具体为中央处理器(CPU)、或微处理器(MPU)、或数字信号处理器(DSP)、或可编程门阵列(FPGA)。It should be noted that the foregoing modules may be implemented by using software or hardware. The latter may be implemented in the following manner, but is not limited thereto: in an actual application, the obtaining module 32, the searching module 34, and the reporting module 36. The configuration module, the setup module 52, and the sending module 62 are located in the same processor, or are respectively located in multiple processors, and the processor may be specifically a central processing unit (CPU), or a microprocessor (MPU). Or a digital signal processor (DSP), or a programmable gate array (FPGA).
下面结合本发明可选实施例进行详细说明。The following is a detailed description in conjunction with an alternative embodiment of the invention.
本发明优选实施例提供了一种IPTV故障上报方法。通过该方法可以结合现网实际情况,解决视频业务故障上报效率低的问题。同时,该方法也能与现有技术中的故障监控方法结合,达到更好的故障界定和监控的效果。在本可选实施例中,用于故障上报的服务器以监控系统为例,视频业务的终端以机顶盒为例,网络服务器以节点为例,预设树状网络结构以资源树为例,业务数据以播放分析数据为例,视频业务质量以视频播放质量为例,可用率比例以体验比率为例。 A preferred embodiment of the present invention provides an IPTV fault reporting method. This method can solve the problem of low efficiency of video service fault reporting by combining the actual situation of the existing network. At the same time, the method can also be combined with the fault monitoring method in the prior art to achieve better fault definition and monitoring effects. In this optional embodiment, the server for fault reporting takes the monitoring system as an example, the terminal of the video service takes the set-top box as an example, and the network server takes the node as an example, and the preset tree-like network structure takes the resource tree as an example, the service data. Taking the playback analysis data as an example, the video service quality is taken as an example of the video playback quality, and the availability ratio is taken as an example of the experience ratio.
在本可选实施例中,首先可以按照现网的实际部署,在监控系统上建立一棵有省中心CDN到机顶盒的资源树,然后监控系统对所有的机顶盒进行实时监控,准实时采集所有正在使用的机顶盒的播放分析数据,通过这些数据可以分析出机顶盒的视频播放质量,根据资源树结构采用大数据技术对采集的数据准实时进行分析汇总;然后对具有从属关系的节点(例如:父子/兄弟节点)的分析汇总数据进行比对分析,推导出故障的发生位置,形成界定结果,上报给工作人员,供工作人员实际排查参考。In this optional embodiment, firstly, according to the actual deployment of the existing network, a resource tree with a provincial center CDN to the set top box is established on the monitoring system, and then the monitoring system performs real-time monitoring on all the set top boxes, and all the real-time collections are being collected. The playback analysis data of the set-top box used can analyze the video playback quality of the set-top box, and use the big data technology to analyze and summarize the collected data according to the resource tree structure; then, the nodes with affiliation (for example: father/son/ The analysis and summary data of the sibling node are compared and analyzed, and the location of the fault is derived, and the defined result is formed and reported to the staff for actual reference by the staff.
下面结合附图对本发明可选实施例进行说明。The optional embodiments of the present invention are described below with reference to the accompanying drawings.
图7是根据本发明可选实施例的故障上报方法的流程图,如图7所示,该流程包括如下步骤:FIG. 7 is a flowchart of a fault reporting method according to an alternative embodiment of the present invention. As shown in FIG. 7, the process includes the following steps:
步骤S702,根据现网IPTV的实际部署,在监控系统上建立资源树。资源树的常见结构如图2所示。监控系统通常至少要提供手工逐个创建以及文件导入两种方式来创建资源树,并可以很方便的修改。Step S702: Establish a resource tree on the monitoring system according to the actual deployment of the live network IPTV. The common structure of the resource tree is shown in Figure 2. The monitoring system usually needs to create at least one manual creation and file import to create a resource tree, which can be easily modified.
步骤S704,通过类似终端网管的系统来配置机顶盒参数,使各机顶盒按指定周期向指定的地址上报KPI数据。由于机顶盒数量巨大,动辄几十万甚至上百万,并且分布在普通用户家中,可以通过远程管理系统来完成参数的配置。对于那些不具备上报KPI数据能力的机顶盒,可以安装第三方的探针来实现KPI数据的上报。In step S704, the set-top box parameters are configured by a system similar to the terminal network management, so that each set-top box reports the KPI data to the specified address according to a specified period. Due to the huge number of set-top boxes, hundreds of thousands or even millions of them, and distributed in the average user's home, the parameters can be configured through the remote management system. For those set-top boxes that do not have the ability to report KPI data, third-party probes can be installed to report KPI data.
步骤S706,接收并存储上报的KPI数据。Step S706, receiving and storing the reported KPI data.
步骤S708,对KPI数据进行分析汇总。由于数据量巨大,可以但不限于采用大数据技术来对数据进行分析处理,实时的汇总统计可以采用流式计算来完成,而离线任务可以采用映射归约模型(Map Reduce)来完成。对资源树上的所有节点,统计其下所有机顶盒观看视频体验不好(例如:视频业务可用率低于预设可用率)的比例,更进一步可以按频道统计视频体验不好的比例。 Step S708, analyzing and summarizing the KPI data. Due to the huge amount of data, it can be, but is not limited to, using big data technology to analyze and process data. Real-time summary statistics can be completed by flow calculation, and offline tasks can be completed by using Map Reduce. For all the nodes in the resource tree, the proportion of all the set-top boxes watching video is not good (for example, the video service availability rate is lower than the preset availability rate), and further, the proportion of the channel video video experience is not good.
步骤S710,对分析汇总得到的数据进行检查,查找出网络服务器集合。In step S710, the data obtained by the analysis and aggregation is checked to find out the network server set.
步骤S712,当界定出问题需要及时排查时,在监控系统上报故障网络服务器并且展示告警。同时把告警通过邮件&短信等方式发送相关人员。In step S712, when the problem is defined and needs to be checked in time, the faulty network server is reported in the monitoring system and the alarm is displayed. At the same time, the alarms are sent to relevant personnel through emails and text messages.
在本可选实施例中,将对故障上报过程进行举例说明。在一个示例中,图8是根据本发明可选实施例的故障上报方法的示意图一,如图8所示,分别统计出各个节点的在线机顶盒数以及视频体验质量好的体验比率,检查发现下层节点B和C上的数据都正常(某一时刻极低比例的用户体验不佳属于正常现象),而节点D上的数据明显异常(可用比例较低,受影响用户多)。继续向上看A节点(A节点直接为1w用户提供服务,同时为B、C、D节点提供服务),A的数据有异常,但A直接服务的机顶盒以及其下属B、C节点的数据都正常,A的异常几乎都是D所贡献,因此可以推导出A、B、C节点都正常,D或者其下某段网络有问题,上报D为故障网络服务器。In this alternative embodiment, the fault reporting process will be exemplified. In an example, FIG. 8 is a schematic diagram 1 of a fault reporting method according to an alternative embodiment of the present invention. As shown in FIG. 8 , the number of online set top boxes and the experience ratio of the video experience quality are respectively counted, and the lower layer is checked. The data on nodes B and C are normal (a very low percentage of user experience is a normal phenomenon at a certain time), and the data on node D is obviously abnormal (the available ratio is low, and the affected users are more). Continue to look up the A node (A node directly provides services for 1w users, and provides services for B, C, and D nodes). The data of A is abnormal, but the data of the set-top box of A direct service and its subordinate B and C nodes are normal. The abnormality of A is almost all contributed by D. Therefore, it can be inferred that the nodes A, B, and C are all normal, and D or a network under it has a problem, and D is reported as a faulty network server.
在另一个示例中,图9是根据本发明可选实施例的故障上报方法的示意图二,如图9所示,分别统计出各个节点的在线机顶盒数以及视频体验质量好的体验比率,通过分析检查发现H、A、F、E数据都有异常,而G数据正常。如果E有问题,那边F、G都会收到影响,基本不会只影响F而不影响G。同时F的下属所有节点,包括F直接提供服务的数据都明显异常,因此可以推导出E到F的网络或者F节点自身的网络有问题的概率最大,应该优先排查,上报F为故障网络服务器。In another example, FIG. 9 is a schematic diagram 2 of a fault reporting method according to an alternative embodiment of the present invention. As shown in FIG. 9 , the number of online set top boxes and the experience ratio of the video experience quality are respectively counted by each node, and analyzed. The inspection found that the H, A, F, and E data were abnormal, and the G data was normal. If there is a problem with E, then F and G will have an impact, basically not only affect F but not G. At the same time, all the subordinates of F, including the data directly provided by F, are obviously abnormal. Therefore, it can be inferred that the network of E to F or the network of the F node has the highest probability of having problems. It should be prioritized and reported to F as the faulty network server.
综上所述,利用本发明实施例和可选实施例提供的故障上报方法和装置,可以充分利用用户家庭里的机顶盒能力,采用“统计”的方式进行故障分析,覆盖了实际使用的所有用户,上报的结果更加真实可靠。In summary, the fault reporting method and device provided by the embodiments and the optional embodiments of the present invention can fully utilize the set-top box capability in the user's home, and use the “statistical” method to perform fault analysis, covering all users actually used. The reported results are more authentic and reliable.
此外,与现有技术相比较,本发明实施例和可选实施例提供的故障上报方法和装置可以不布置或者少布置码流分析服务器,充分利用现有的机顶盒设备,采用大数据技术对海量数据进行各维度分析,可以得到任何地 域任何时间的分析数据,更加全面直观的反映出视频业务的现网实际情况。In addition, compared with the prior art, the fault reporting method and apparatus provided by the embodiments and the optional embodiments of the present invention may not arrange or lessly arrange the code stream analysis server, fully utilize the existing set top box equipment, and adopt massive data technology to massively Data for each dimension analysis, you can get any The analysis data of the domain at any time reflects the actual situation of the live network of the video service more comprehensively and intuitively.
以上实施例仅用以说明本发明的技术方案而非对其进行限制,本领域的普通技术人员可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的精神和范围,本发明的保护范围应以权利要求所述为准。The above embodiments are only used to illustrate the technical solutions of the present invention, and the present invention is not limited thereto, and those skilled in the art can modify or replace the technical solutions of the present invention without departing from the spirit and scope of the present invention. The scope of protection shall be as stated in the claims.
实施例3Example 3
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如只读存储器(ROM,Read-Only Memory)/随机存取存储器(RAM,Random Access Memory)、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as a read only memory (ROM). , Read-Only Memory)/Random Access Memory (RAM), including several instructions to make a terminal device (can be a mobile phone, computer, server, or network device, etc.) The methods described in various embodiments of the invention are performed.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,预设树状网络结构中包括具有预设从属关系的网络服务器,网络服务器用于控制终端执行视频业务;S1, the service data reported by the terminal that performs the video service in the preset tree network structure is obtained, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to perform the video service;
S2,根据业务数据查找满足预定故障条件的网络服务器集合;S2. Search for a network server set that meets a predetermined fault condition according to the service data.
S3,根据预设树状网络结构中的预设从属关系上报在网络服务器集合中的故障网络服务器。S3. Report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
可选地,存储介质还被设置为存储用于执行上述实施例记载的方法步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the method steps recited in the above embodiments:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、ROM、 RAM、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: a USB flash drive, a ROM, A variety of media that can store program code, such as RAM, removable hard disk, disk, or optical disk.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例记载的方法步骤。Optionally, in this embodiment, the processor executes the method steps described in the foregoing embodiments according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例通过获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,预设树状网络结构中包括具有预设从属关系的网络服务器,网络服务器用于控制终端执行视频业务;根据业务数据查找满足预定故障条件的网络服务器集合;根据预设树状网络结构中的预设从属关系上报在网络服务器集合中的故障网络服务器,由此可见,采用上述方案可以获取到视频业务的终端上报的业务数据,查找出满足预定故障条件的网络服务器作为可能出现故障的网络服务器,组成网络服务器集合,再根据 网络服务器之间的从属关系上报网络服务器集合中的故障网络服务器,也就是说,根据终端上报的业务数据以及各个网络服务器之间存在的从属关系,可以及时界定和上报可能出现故障的网络服务器,因此,提高了视频业务的故障上报效率,从而解决了相关技术中视频业务的故障上报效率低的问题。 The embodiment of the present invention obtains the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to control the terminal to execute the video. The service is configured to search for a network server set that meets a predetermined fault condition according to the service data; report the faulty network server in the network server set according to the preset affiliation relationship in the preset tree network structure, and thus, the video can be obtained by using the foregoing solution. The service data reported by the terminal of the service finds a network server that meets the predetermined fault condition as a network server that may be faulty, constitutes a network server set, and then according to The affiliation between the network servers reports the faulty network server in the network server set, that is, according to the service data reported by the terminal and the affiliation between the network servers, the network server that may be faulty can be defined and reported in time. Therefore, the fault reporting efficiency of the video service is improved, thereby solving the problem that the fault reporting efficiency of the video service in the related art is low.

Claims (11)

  1. 一种故障上报方法,包括:A fault reporting method includes:
    获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器,所述网络服务器用于控制所述终端执行所述视频业务;Acquiring the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server having a preset affiliation, and the network server is configured to control the terminal to perform The video service;
    根据所述业务数据查找满足预定故障条件的网络服务器集合;Finding, according to the service data, a network server set that meets a predetermined fault condition;
    根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器。Reporting the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
  2. 根据权利要求1所述的方法,其中,根据所述业务数据查找满足预定故障条件的网络服务器集合包括:The method of claim 1, wherein the finding of the network server set that satisfies the predetermined fault condition based on the service data comprises:
    根据所述业务数据获取所述预设树状网络结构下的所述网络服务器的视频业务质量;Acquiring, according to the service data, a video service quality of the network server in the preset tree network structure;
    查找出所述网络服务器中所述视频业务质量低于预设业务质量的网络服务器,以得到所述网络服务器集合。Finding, by the network server, that the video service quality in the network server is lower than a preset service quality, to obtain the network server set.
  3. 根据权利要求2所述的方法,其中,The method of claim 2, wherein
    根据所述业务数据获取所述预设树状网络结构下的所述网络服务器的视频业务质量包括:根据所述业务数据计算所述终端的视频业务可用率;根据所述终端的所述视频业务可用率分别统计与所述终端相连的网络服务器的视频业务可用率比例,其中,所述视频业务可用率比例用于指示所述与所述终端相连的网络服务器的所述视频业务质量;Acquiring the video service quality of the network server in the preset tree network structure according to the service data, including: calculating, according to the service data, a video service availability rate of the terminal; according to the video service of the terminal The rate of availability of the video service of the network server connected to the terminal is used to indicate the video service quality of the network server connected to the terminal;
    查找出所述网络服务器中所述视频业务质量低于预设业务质量的网络服务器,以得到所述网络服务器集合包括:查找出所述视频业务可用率比例小于预设视频业务可用率比例的所述网络服务器,以得到所述网络服务器集合。Finding, by the network server, that the video service quality in the network server is lower than a preset service quality, to obtain the network server set, including: finding that the video service availability ratio is smaller than a preset video service availability ratio The web server is obtained to obtain the set of web servers.
  4. 根据权利要求3所述的方法,其中,根据所述终端的所述视频业 务可用率分别统计与所述终端相连的网络服务器的视频业务可用率比例包括:The method of claim 3, wherein said video industry is based on said terminal The service availability rate separately counts the video service availability ratio of the network server connected to the terminal, including:
    获取与所述网络服务器连接的终端的第一终端数量,及与所述网络服务器连接的终端中所述视频业务可用率小于预设视频业务可用率的终端的第二终端数量;Obtaining a first number of terminals of the terminal connected to the network server, and a number of second terminals of the terminal that is less than the preset video service availability rate in the terminal connected to the network server;
    获取所述第二终端数量与所述第一终端数量之间的比例作为所述视频业务可用率比例。Obtaining a ratio between the number of the second terminals and the number of the first terminals as a ratio of availability of the video service.
  5. 根据权利要求1所述的方法,其中,根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器包括:The method of claim 1, wherein the reporting the faulty network server in the network server set according to the preset affiliation in the preset tree network structure comprises:
    提取所述网络服务器集合中的网络服务器作为目标网络服务器;Extracting a network server in the network server set as a target network server;
    如果在所述预设从属关系中所述目标网络服务器连接有下属网络服务器,则判断在所述目标网络服务器的连接的下属网络服务器是否均属于所述网络服务器集合;在判断出与所述目标网络服务器的连接的下属网络服务器均属于所述网络服务器集合时,上报所述目标网络服务器为所述故障网络服务器;If the target network server is connected to the subordinate network server in the preset affiliation, determining whether the connected subordinate network servers of the target network server belong to the network server set; determining the target When the connected subordinate network servers of the network server belong to the network server set, report the target network server as the faulty network server;
    如果在所述预设从属关系中所述目标网络服务器没有连接的下属网络服务器,则判断与所述目标网络服务器连接在相同上级网络服务器的所述目标网络服务器的同级网络服务器是否均属于所述网络服务器集合;在判断出与所述目标网络服务器连接在相同上级网络服务器的所述目标网络服务器的同级网络服务器中包括至少一个网络服务器不属于所述网络服务器集合时,上报所述目标网络服务器为所述故障网络服务器。If the target network server does not have a connected subordinate network server in the preset affiliation relationship, it is determined whether the peer network server of the target network server connected to the target upper-level network server with the target network server belongs to the same a network server set; reporting that the target is reported when at least one network server that is connected to the target network server of the same upper-level network server that is connected to the target network server includes at least one network server that does not belong to the network server set The network server is the failed network server.
  6. 根据权利要求1至5中任一项所述的方法,其中,在获取所述预设树状网络结构下执行所述视频业务的所述终端上报的所述业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器, 所述网络服务器用于控制所述终端执行所述视频业务之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein the service data reported by the terminal of the video service is executed under the acquiring the preset tree network structure, wherein the preset The tree network structure includes a web server with a preset affiliation, Before the network server is configured to control the terminal to perform the video service, the method further includes:
    根据所述网络服务器的预设从属关系,建立所述预设树状网络结构。The preset tree network structure is established according to a preset affiliation of the network server.
  7. 根据权利要求1至5中任一项所述的方法,其中,在根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的所述故障网络服务器之后,所述方法还包括:The method according to any one of claims 1 to 5, wherein after reporting the default affiliation in the preset tree network structure, after the faulty network server in the network server set The method further includes:
    发送用于指示所述故障网络服务器的指示信息。Sending indication information indicating the failed network server.
  8. 根据权利要求1至5中任一项所述的方法,其中,所述业务数据包括:关键绩效指标KPI数据。The method according to any one of claims 1 to 5, wherein the business data comprises: key performance indicator KPI data.
  9. 根据权利要求1至5中任一项所述的方法,其中,所述终端包括:机顶盒。The method of any of claims 1 to 5, wherein the terminal comprises: a set top box.
  10. 一种故障上报装置,包括:A fault reporting device includes:
    获取模块,配置为获取预设树状网络结构下执行视频业务的终端上报的业务数据,其中,所述预设树状网络结构中包括具有预设从属关系的网络服务器,所述网络服务器用于控制所述终端执行所述视频业务;The obtaining module is configured to obtain the service data reported by the terminal that performs the video service in the preset tree network structure, where the preset tree network structure includes a network server with a preset affiliation, and the network server is used to Controlling the terminal to execute the video service;
    查找模块,配置为根据所述业务数据查找满足预定故障条件的网络服务器集合;a finding module configured to search for a network server set that meets a predetermined fault condition according to the service data;
    上报模块,配置为根据所述预设树状网络结构中的所述预设从属关系上报在所述网络服务器集合中的故障网络服务器。The reporting module is configured to report the faulty network server in the network server set according to the preset affiliation in the preset tree network structure.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机程序,所述计算机程序用于执行前述权利要求1至9任一项所述的故障上报方法。 A computer storage medium storing a computer program for performing the fault reporting method according to any one of claims 1 to 9.
PCT/CN2017/080665 2016-04-26 2017-04-14 Fault reporting method and apparatus, and storage medium WO2017186004A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610270288.3A CN107317692B (en) 2016-04-26 2016-04-26 Fault reporting method and device
CN201610270288.3 2016-04-26

Publications (1)

Publication Number Publication Date
WO2017186004A1 true WO2017186004A1 (en) 2017-11-02

Family

ID=60160734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080665 WO2017186004A1 (en) 2016-04-26 2017-04-14 Fault reporting method and apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN107317692B (en)
WO (1) WO2017186004A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260946A (en) * 2020-09-10 2021-01-22 视联动力信息技术股份有限公司 Link fault processing method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136962A (en) * 2010-06-23 2011-07-27 华为技术有限公司 Method, relative device and system for delimiting quality problems
CN102143389A (en) * 2011-04-22 2011-08-03 赛特斯网络科技(南京)有限责任公司 Quality assurance (QA) system and method of internet protocol television (IPTV) services
CN102340802A (en) * 2010-07-14 2012-02-01 中国联合网络通信集团有限公司 Service quality monitoring method and system
CN104125085A (en) * 2013-04-27 2014-10-29 中国移动通信集团黑龙江有限公司 EBS (Enterprise Service Bus) data management and control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136962A (en) * 2010-06-23 2011-07-27 华为技术有限公司 Method, relative device and system for delimiting quality problems
CN102340802A (en) * 2010-07-14 2012-02-01 中国联合网络通信集团有限公司 Service quality monitoring method and system
CN102143389A (en) * 2011-04-22 2011-08-03 赛特斯网络科技(南京)有限责任公司 Quality assurance (QA) system and method of internet protocol television (IPTV) services
CN104125085A (en) * 2013-04-27 2014-10-29 中国移动通信集团黑龙江有限公司 EBS (Enterprise Service Bus) data management and control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260946A (en) * 2020-09-10 2021-01-22 视联动力信息技术股份有限公司 Link fault processing method and device, terminal equipment and storage medium
CN112260946B (en) * 2020-09-10 2024-03-19 视联动力信息技术股份有限公司 Link failure processing method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN107317692A (en) 2017-11-03
CN107317692B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
US10841167B2 (en) Network insights
US20190098076A1 (en) Application monitoring for cloud-based architectures
US11765437B2 (en) Automatic diagnostics alerts
US20150039749A1 (en) Detecting traffic anomalies based on application-aware rolling baseline aggregates
US11012461B2 (en) Network device vulnerability prediction
US8528031B2 (en) Distributed diagnostics for internet video link
US9497451B2 (en) Cable network data analytics system
CN109787827B (en) CDN network monitoring method and device
Shah et al. Disco: Fast, good, and cheap outage detection
US11074652B2 (en) System and method for model-based prediction using a distributed computational graph workflow
KR102148346B1 (en) Apparatus for diagnosing service error and client device
CN106850298A (en) IPTV service quality monitoring method, terminal and system
US20080186876A1 (en) Method for classifying applications and detecting network abnormality by statistical information of packets and apparatus therefor
WO2017080161A1 (en) Alarm information processing method and device in cloud computing
CN112583642B (en) Abnormality detection method, abnormality detection model, electronic device, and computer-readable storage medium
CN116562848A (en) Operation and maintenance management platform
CN112135119A (en) Method and system for automatically monitoring and alarming network condition in real-time audio and video communication
WO2017186004A1 (en) Fault reporting method and apparatus, and storage medium
JP2015529036A5 (en) Method for detecting isolated anomalies in large-scale data processing systems
Giordano et al. Youlighter: An unsupervised methodology to unveil youtube cdn changes
KR20190017947A (en) Hierarchical data collector and related techniques for use in real-time data collection
WO2016177237A1 (en) Playing control method and device
KR102341418B1 (en) System and Method for Real-Time Trouble Cause Analysis based on Network Quality Data
CN115987827A (en) Equipment monitoring method and device, electronic equipment and readable medium
CN112312209B (en) Comprehensive alarm generation method, device, server and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17788656

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17788656

Country of ref document: EP

Kind code of ref document: A1