Embodiment
A kind of video content distribution quality supervisory control system, as shown in Figure 1, comprise configuration management server 110 and multiple monitor node server 120, monitor node server 120 is arranged in cloud node, communicates to connect with configuration management server 110.
Configuration management server 110 for sending monitor task to each monitor node server 120, and receives the monitoring result that each monitor node server 120 returns, and research and application result also generates warning information and shows.Monitor node server 120 is for monitoring according to the CDN node 200 of monitor task to correspondence, and obtain monitoring result and be sent to configuration management server 110, each CDN node 200 is monitored by least two monitor node servers 120.In other embodiments, also can be that monitor node server 120 initiatively obtains monitor task from configuration management server 110.
Particularly, as shown in Figure 2, video source server 400 distribution of video is to CDN node 200, and monitor node server 120 is arranged in cloud node 300 and monitors CDN node 200.Cloud node 300 specifically can comprise publicly-owned cloud node and privately owned cloud node, and the ratio of publicly-owned cloud node and privately owned cloud node is adjustable.Dispose privately owned cloud by self-built machine room and rent publicly-owned cloud node, utilizing cloud computing node to dispose distributed supervisory control system to solve the problem of single-point monitoring poor reliability.Staff can adjust the ratio of publicly-owned cloud node and privately owned cloud node according to actual conditions, improve the applicability of video content distribution quality supervisory control system.
Wherein in an embodiment, continue with reference to Fig. 2, configuration management server 110 comprises monitoring management background server 112 and configuration center server 114, and configuration center server 114 communicates to connect with monitor node server 120 and monitoring management background server 112.
Configuration center service 114 is for sending monitor task to monitor node server 120, and the monitoring result that reception monitor node server 120 returns also is sent to monitoring management background server 112.Monitoring management background server 112 is for research and application result and generate warning information and show.
Configuration center service 114 carries out dispense configurations control to the monitor node server 120 being arranged in cloud node 300, sets up the monitoring corresponding relation of monitor node server 120 and CDN node 200.The particular content of monitor task can adjust according to actual conditions, the specific operation process that monitor node server 120 is monitored CDN node 200 according to monitor task, and the content of the monitoring result obtained also can be different.By at least two monitor node servers 120, same CDN node 200 is monitored, monitoring management background server 112 merges monitoring result that multiple monitor node server 120 sends and generates warning information and carry out showing to inform staff's monitored results, alarming processing is carried out to abnormal conditions, realizes the monitoring to video content distribution quality.
Completed the part operation of configuration management server 110 in the present embodiment by two servers respectively, reduce the live load of server, improve useful life.Be appreciated that configuration management server 110 also can only adopt a server to complete all operations in other embodiments.
Further, wherein in an embodiment, each monitor node server 120 is for monitoring at least two CDN node 200.Monitor node server 120 and CDN node 200 form the monitoring relation of multi-to-multi, a monitor node server 120 covers at least two CDN node 200, a CDN node 200 is covered by least two monitor node servers 120, effectively can reduce the lower deployment cost of control point, improve the quality of monitored results.
Above-mentioned video content distribution quality supervisory control system, utilize cloud service distributed deployment monitor node server 120, by at least two monitor node servers 120, same CDN node 200 is monitored, namely a CDN node 200 is covered by least two monitor nodes, can guarantee that quality monitoring and the monitoring of CDN node 200 are comprehensive, improve monitoring reliability.
Wherein in an embodiment, monitoring management background server 112 is also for after receiving interpolation control point request, send control point configuration-direct to configuration center server 114, configuration center server 114 also for testing monitor node server 120 and CDN node 200 after receiving control point configuration-direct, mates monitor node server 120 and CDN node 200 according to test result.
When needing to monitor newly-increased CDN node 200, can input and add control point request to monitoring management background server 112.Utilize monitoring management background server 112 and configuration center server 114 that newly-increased CDN node 200 is mated to suitable monitor node server 120 and issued monitor task, further increase the applicability of video content distribution quality supervisory control system.
Wherein in an embodiment, configuration center server 114 pairs of monitor node servers 120 and CDN node 200 test at least one that specifically can comprise in ping test, traceroute test, dig test and the test of random request file.Wherein, ping test is for checking communication delay between cloud node 300 and CDN node 200 and packet loss.Traceroute test, for analyzing the routing condition of cloud node 300 to CDN node 200, finds unstable routed path.Dig test is for checking domain name mapping duration, the distance of carrying out geographical position and logical place according to the IP address of CDN node 200 and the IP address of monitor node server 120 after parsing calculates, and check that DNS (DomainNameSystem, domain name system) resolves.Random request file tests first byte return time, downloading rate and verification file content integrity for monitoring CDN node 200 back-checking file.
Geographical position can be specifically province or city etc., and logical place specifically can refer to operator.Staff, when mating monitor node server 120 and CDN node 200, can select concrete test mode according to actual conditions, further increase the applicability of video content distribution quality supervisory control system.
Message Digest 5 can be used to verify when verification file content integrity, the principal character of Message Digest 5 is that ciphering process does not need key, and cannot be decrypted through the data of encryption, only have the identical clear data of input just can obtain identical ciphertext through identical Message Digest 5.Utilize Message Digest 5 verification file content integrity, verification accuracy and reliability can be improved.Particularly, adopt MD5 (message-digestalgorithm5, Message-Digest Algorithm 5) algorithm to verify file content integrality in the present embodiment, guarantee that information transmission is unanimously complete, the integrity protection of message is provided.Be appreciated that and other Message Digest 5s also can be adopted in other embodiments to verify file content integrality.
Wherein in an embodiment, configuration management server 110 is tested monitor node server 120 and CDN node 200 after receiving interpolation control point request, according to test result monitor node server 120 and CDN node 200 mated and specifically comprise: after receiving and adding control point request, obtained geographical position and the logical place of monitor node server 120 and CDN node 200 by IP address base.Obtain and monitor node server 120 that operator identical adjacent with each CDN node 200 province respectively according to geographical position and logical place, obtain the candidate list of each CDN node 200.Respectively remote measurement task is issued to all monitor node servers 120 in candidate list and carry out network quality test, obtain measurement telemetry.According to measurement telemetry, all monitor node servers 120 in candidate list are screened, obtain at least two monitor node servers 120 and mate with corresponding CDN node 200.
Network quality test comprises at least one in communication delay test, routed path test and downloading rate test.In the present embodiment, the geographical position of monitor node server 120 and CDN node 200 and logical place are mated, then the monitor node server 120 that the match is successful is screened, for each CDN node 200 mates optimum monitor node server 120, improve matching accuracy.Be appreciated that the order that monitor node server 120 and CDN node 200 are tested, and concrete test process not unique.
Present invention also offers a kind of method for supervising of video content distribution quality supervisory control system, realize based on above-mentioned video content distribution quality supervisory control system.As shown in Figure 3, the method for supervising of video content distribution quality supervisory control system comprises the following steps:
Step S120: configuration management server sends monitor task to each monitor node server.
Particularly, video source server distribution of video is to CDN node, and monitor node Servers installed is monitored CDN node in cloud node.Cloud node specifically can comprise publicly-owned cloud node and privately owned cloud node, and the ratio of publicly-owned cloud node and privately owned cloud node is adjustable.Dispose privately owned cloud by self-built machine room and rent publicly-owned cloud node, utilizing cloud computing node to dispose distributed supervisory control system to solve the problem of single-point monitoring poor reliability.Staff can adjust the ratio of publicly-owned cloud node and privately owned cloud node according to actual conditions, improve the applicability of video content distribution quality supervisory control system.In other embodiments, also can be that monitor node server initiatively obtains monitor task from configuration management server.
Step S130: monitor node server is monitored according to the CDN node of monitor task to correspondence, obtains monitoring result and is sent to configuration management server.Each CDN node is by least two monitor node server monitorings.The particular content of monitor task can adjust according to actual conditions, the specific operation process that monitor node server is monitored CDN node according to monitor task, and the content of the monitoring result obtained also can be different.
Step S140: configuration management server receives the monitoring result that each monitor node server returns, research and application result also generates warning information and shows.By at least two monitor node servers, same CDN node is monitored, monitoring management background server configuration management server merges monitoring result that multiple monitor node server sends and generates warning information and carry out showing to inform staff's monitored results, alarming processing is carried out to abnormal conditions, realizes the monitoring to video content distribution quality.
Wherein in an embodiment, configuration management server comprises monitoring management background server and configuration center server.Step S120 and step S140 is specially, and configuration center service sends monitor task to monitor node server, and the monitoring result that reception monitor node server returns also is sent to monitoring management background server; Monitoring management background server research and application result also generates warning information and shows.
Configuration center service carries out dispense configurations control to the monitor node server being arranged in cloud node, sets up the monitoring corresponding relation of monitor node server and CDN node.Completed the part operation of configuration management server in the present embodiment by two servers respectively, reduce the live load of server, improve useful life.Be appreciated that configuration management server also can only adopt a server to complete all operations in other embodiments.
Further, wherein in an embodiment, each monitor node server is used for monitoring at least two CDN node.Monitor node server and CDN node form the monitoring relation of multi-to-multi, a monitor node server covers at least two CDN node, a CDN node is covered by least two monitor node servers, effectively can reduce the lower deployment cost of control point, improves the quality of monitored results.
The method for supervising of above-mentioned video content distribution quality supervisory control system, utilize cloud service distributed deployment monitor node server, by at least two monitor node servers, same CDN node is monitored, namely a CDN node is covered by least two monitor nodes, can guarantee that quality monitoring and the monitoring of CDN node are comprehensive, improve monitoring reliability.
Wherein in an embodiment, as shown in Figure 4, before step S120, also comprise step S110.
Step S110: configuration management server is tested monitor node server and CDN node after receiving interpolation control point request, mates monitor node server and CDN node according to test result.
When needing to monitor newly-increased CDN node, can input and add control point request to configuration management server.Configuration management server mates suitable monitor node server to newly-increased CDN node and issues monitor task, further increases the applicability of video content distribution quality supervisory control system.
Wherein in an embodiment, in step S110, configuration management server tests at least one comprised in ping test, traceroute test, dig test and the test of random request file to monitor node server and CDN node.Wherein, ping test is for checking communication delay between cloud node and CDN node and packet loss.Traceroute test, for analyzing the routing condition of cloud node to CDN node, finds unstable routed path.Dig test is for checking domain name mapping duration, and the distance of carrying out geographical position and logical place according to the IP address of CDN node and the IP address of monitor node server after parsing calculates, and checks dns resolution.Random request file tests first byte return time, downloading rate and verification file content integrity for monitoring CDN node back-checking file.
Geographical position can be specifically province or city etc., and logical place specifically can refer to operator.Staff, when mating monitor node server and CDN node, can select concrete test mode according to actual conditions, further increase the applicability of video content distribution quality supervisory control system.
Message Digest 5 can be used to verify when verification file content integrity, the principal character of Message Digest 5 is that ciphering process does not need key, and cannot be decrypted through the data of encryption, only have the identical clear data of input just can obtain identical ciphertext through identical Message Digest 5.Utilize Message Digest 5 verification file content integrity, verification accuracy and reliability can be improved.Particularly, adopt MD5 algorithm to verify file content integrality in the present embodiment, guarantee that information transmission is unanimously complete, the integrity protection of message is provided.Be appreciated that and other Message Digest 5s also can be adopted in other embodiments to verify file content integrality.
Wherein in an embodiment, as shown in Figure 5, step S110 comprises step S112 to step S118.
Step S112: after receiving interpolation control point request, obtains geographical position and the logical place of monitor node server and CDN node by IP address base.
Step S114: obtain adjacent with each CDN node province and that operator is identical monitor node server respectively according to geographical position and logical place, obtain the candidate list of each CDN node.
Step S116: respectively remote measurement task is issued to all monitor node servers in candidate list and carry out network quality test, obtain measurement telemetry.
Step S118: screen all monitor node servers in candidate list according to measurement telemetry, obtains at least two monitor node servers and mates with corresponding CDN node.
Network quality test comprises at least one in communication delay test, routed path test and downloading rate test.In the present embodiment, the geographical position of monitor node server and CDN node and logical place are mated, then the monitor node server that the match is successful is screened, be the optimum monitor node server of each CDN node coupling, improve matching accuracy.Be appreciated that the order that monitor node server and CDN node are tested, and concrete test process not unique.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this specification is recorded.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.