CN113672486B - Katon analysis method and CDN server - Google Patents

Katon analysis method and CDN server Download PDF

Info

Publication number
CN113672486B
CN113672486B CN202110949326.9A CN202110949326A CN113672486B CN 113672486 B CN113672486 B CN 113672486B CN 202110949326 A CN202110949326 A CN 202110949326A CN 113672486 B CN113672486 B CN 113672486B
Authority
CN
China
Prior art keywords
data
katon
heartbeat
analysis
service program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110949326.9A
Other languages
Chinese (zh)
Other versions
CN113672486A (en
Inventor
孙袁袁
刘寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202110949326.9A priority Critical patent/CN113672486B/en
Publication of CN113672486A publication Critical patent/CN113672486A/en
Application granted granted Critical
Publication of CN113672486B publication Critical patent/CN113672486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a katon analysis method, which is used in a CDN server, wherein the CDN server is configured with a plurality of associated service programs, the associated service programs are mutually bound and symbiotic, and the associated service programs comprise a heartbeat collection service program and a katon collection service program; the method comprises the following steps: acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program; the cartoon data reported by each mobile terminal is obtained through the cartoon collecting service program; analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and sending the analysis data to a central server so that the central server performs the katon analysis according to the analysis data. The method for analyzing the jamming information provided by the application can collect more comprehensive and real-time data and analyze more detailed jamming information.

Description

Katon analysis method and CDN server
Technical Field
The present application relates to the field of computer technologies, and in particular, to a katon analysis method, a system, a computer device, a computer readable storage medium, and a CDN server.
Background
With the development of internet and multimedia technologies, people begin to play online media by means of network technologies. For example, live webcasting is one of the popular items of the current internet. At present, various live APP based on Android, IOS and other operating systems are developed in the market. The anchor can conduct live broadcast operation through the live broadcast APP.
However, during the playing of online video, jamming is in fact difficult to avoid, severely affecting the playing experience. To enhance the viewing experience, it is often necessary to collect the click-through information from the user side and analyze the cause of the click-through based on the click-through information. However, the existing server-side katon analysis has low data collection and analysis efficiency.
Disclosure of Invention
An object of an embodiment of the present application is to provide a katon analysis method, a system, a computer device, a computer readable storage medium, and a CDN server, for solving the following problems: the existing katon analysis at the service side has low data collection and analysis efficiency.
An aspect of the embodiment of the present application provides a katon analysis method, which is used in a CDN server, where the CDN server is configured with a plurality of companion service programs, where the companion service programs are bound and symbiotic with each other, and the plurality of companion service programs include a heartbeat collection service program and a katon collection service program; the method comprises the following steps:
acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
the cartoon data reported by each mobile terminal is obtained through the cartoon collecting service program;
Analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and
And sending the analysis data to a central server so that the central server performs the katon analysis according to the analysis data.
Optionally, the analyzing, by the katon collecting service program, the heartbeat data and katon data reported by each mobile terminal to obtain analysis data includes:
Analyzing the heartbeat data reported by each mobile terminal to obtain heartbeat analysis data in the analysis data;
wherein the heartbeat analysis data includes at least any one of: the number of live-broadcast room online devices, the number of live-broadcast definition, the number of player versions, the number of mobile terminals and the number of streaming servers IP.
Optionally, the analyzing, by the katon collecting service program, the heartbeat data and katon data reported by each mobile terminal to obtain analysis data includes:
Analyzing the cartoon data reported by each mobile terminal to obtain the cartoon analysis data in the analysis data;
Wherein the katon analysis data comprises at least any one of: the method comprises the steps of blocking a live broadcasting room ID, live broadcasting definition, player version, mobile terminal equipment classification and streaming server IP.
Optionally, the analyzing, by the katon collecting service program, the heartbeat data and katon data reported by each mobile terminal to obtain analysis data includes:
analyzing according to the heartbeat analysis data and the katon analysis data to obtain first analysis data taking a live broadcast room as an analysis object;
Wherein the first analysis data comprises at least any one of: the live broadcasting room jamming ratio, the jamming ratio of each live broadcasting definition, the jamming ratio of each player version and the jamming ratio of various mobile terminals on line in the live broadcasting room.
Optionally, the analyzing, by the katon collecting service program, the heartbeat data and katon data reported by each mobile terminal to obtain analysis data includes:
analyzing and obtaining second analysis data taking equipment as an analysis object according to the heartbeat analysis data and the katon analysis data;
wherein the second analysis data includes a katana of the streaming server IP;
and the blocking rate of the streaming server IP is the ratio of the blocking numbers of all live broadcasting rooms on the streaming server to the number of the heartbeat reports of all live broadcasting rooms of the streaming server.
Optionally, the method further comprises:
When any one program in the plurality of associated service programs is detected to stop running, stopping running of other programs;
and when any one of the plurality of associated service programs is detected to start running, starting running of other programs.
An aspect of an embodiment of the present application further provides a katon analysis system,
The method is used in a CDN server, the CDN server is configured with a plurality of associated service programs, the associated service programs are mutually bound and symbiotic, the plurality of associated service programs comprise a heartbeat collection service program and a cartoon collection service program; the system comprises:
The first acquisition module is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
the second acquisition module is used for acquiring the cartoon data reported by each mobile terminal through the cartoon collecting service program;
the analysis module is used for analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and
And the sending module is used for sending the analysis data to the central server so that the central server can carry out the katon analysis according to the analysis data.
An aspect of an embodiment of the present application further provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor for implementing the steps of the katon analysis method as described above when the computer program is executed by the processor.
An aspect of the embodiments of the present application further provides a computer-readable storage medium having stored thereon a computer program executable by at least one processor to cause the at least one processor to perform the steps of the katon analysis method as described above.
An aspect of the embodiments of the present application further provides a CDN server, including a plurality of companion service programs, where each companion service program is bound and symbiotic with each other, and the plurality of companion service programs includes a heartbeat collection service program and a katon collection service program; wherein:
the heartbeat collection service program is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
The katon collection service program is used for acquiring katon data reported by each mobile terminal and analyzing heartbeat data and katon data reported by each mobile terminal so as to obtain analysis data for katon analysis.
The method, the system, the equipment and the computer readable storage medium for analyzing the katon provided by the embodiment of the application and the CDN server have the following advantages:
First: and the CDN server is internally provided with a heartbeat collection service program and a cartoon collection service program, the heartbeat data of each mobile terminal is collected through the heartbeat collection service program, and the cartoon data of the mobile terminal with the cartoon is collected through the cartoon collection service program. Because the heartbeat collection service program and the katon collection service program are mutually bound and are positioned in the same CDN server, the heartbeat collection service program and the katon collection service program can be mutually communicated in real time to obtain more effective and accurate information, and the performance of the CDN server can be analyzed.
Second,: unlike the central server collecting data of the whole platform, the present embodiment embeds the heartbeat collection service program in the CDN server at the network edge, and can collect the heartbeat data within the range of the CDN server in real time, so that it can collect more detailed heartbeat data including more field data for the katon analysis.
Third,: in contrast to the data processing delay caused by the need of collecting data of the whole platform by the big data platform device, the embodiment embeds the katon collecting service program in the CDN server at the network edge, and the katon data in the range of the katon collecting service program can be collected in real time by the CDN server, so that the katon data can be received in real time and processed in real time, for example, the heartbeat data and the katon data of each mobile terminal can be analyzed in real time.
Fourth,: the heartbeat collection service program and the katon collection service program are mutually bound and symbiotic. The so-called symbiosis can complete the collection of heartbeat data and cartoon data in one CDN server, and can bear larger data volume and QPS.
Drawings
FIG. 1 schematically illustrates an application environment diagram of a katon analysis method according to an embodiment of the present application;
FIG. 2 schematically shows a flowchart of a method of katon analysis according to a first embodiment of the present application;
fig. 3-6 are sub-step diagrams of step S204 in fig. 2;
FIG. 7 is a flow chart schematically showing the steps of a method for analyzing a card according to the first embodiment of the application;
FIG. 8 schematically illustrates a block diagram of a katon analysis system according to a second embodiment of the present application;
Fig. 9 schematically illustrates a hardware architecture diagram of a computer device adapted to implement a katon analysis method according to a third embodiment of the present application; and
Fig. 10 schematically shows an architecture diagram of a live architecture according to a fifth embodiment of the application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the descriptions of "first," "second," etc. in the embodiments of the present application are for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
In a live broadcast system, it is often necessary to count the number of live viewers for business needs, and to improve viewing quality, it is often necessary to use the katon information of the mobile terminal for data analysis, but the inventors have learned that:
① And the anchor end performs plug flow to the CDN server.
② The audience terminal can pull up and watch from different CDN server nodes, and the CDN nodes can mutually transmit data.
③ The audience reports the heartbeat data at regular time.
I.e. the heart beat data center server. And the heart beat data are summarized by the central server, and the number of viewers in each live broadcasting room is counted.
④ After the jamming is generated, the audience terminal automatically reports the jamming information to the big data platform. The big data platform analyzes the data. It should be noted that the central server and the large data platform belong to different server clusters. The big data platform is responsible for processing all data of the whole platform, and the delay is too high due to the too large data volume.
The inventors found that based on the above procedure, the following problems are included:
① Independent data and low available value: the central server collects heartbeat data and counts the number of online people, the mobile terminal reports the katon data to the big data platform for recording the katon information, but the central server and the big data platform are not communicated with each other, so that more effective information cannot be obtained, and the performance of the CDN server cannot be analyzed.
② The central server collects and reports small heartbeat data volume: the central server is generally deployed in a central machine room, has high cost and small quantity, and cannot bear higher QPS and larger data volume. And for large live platforms, the user scale is huge. In order to reduce the pressure of the regular reporting to the central server, the data volume is generally reduced, and only the fields such as whether the data is watched or not are simply reported, so that more detailed data analysis and katon analysis cannot be performed by using the reported heartbeat.
③ The big data platform has high delay: if the information reported to the big data platform and the heartbeat data are analyzed so as to judge the cartoon rate, the information of the big data platform and the heartbeat data are needed to be integrated, but the big data platform needs to provide the full platform service, so that the collected data volume is very large, the whole data delay is large, and the delay is generally delayed for a few hours.
In view of this, the present application is directed to a katon analysis method, in which a heartbeat collection service and a katon collection service are placed in the same server by binding associated services. Namely, the heartbeat service and the jamming service are placed in the CDN server, so that more comprehensive and real-time data volume is collected, and more detailed jamming information is analyzed.
It should be noted that, the data collected by the heartbeat collection service and the katon collection service are analyzed by the CDN server in the form of the associated service, which can bear a larger data amount and a higher QPS, and ensure real-time performance and accuracy.
The present application provides various embodiments to introduce a katon analysis scheme, with particular reference to the following.
In the description of the present application, it should be understood that the numerical references before the steps do not identify the order in which the steps are performed, but are merely used to facilitate description of the present application and to distinguish between each step, and thus should not be construed as limiting the present application.
The following is a term explanation of the present application:
live stream: the transmission of video-on-demand data, which can be transmitted as a steady and continuous stream over a network to a viewer for viewing.
Live broadcast plug flow: and the anchor pushes the acquired streaming media to the live broadcast cloud receiving end in real time through the push address acquired from the live broadcast cloud platform through the service server.
Live broadcast stream pulling: the pulling refers to a process of pulling the live stream from the live cloud platform to a source station designated by a user.
Live broadcast blocking: the user views the phenomenon that the display is not smooth or the display is still.
CDN (Content Delivery Network ) servers, edge servers deployed around the site. The CDN server can enable the user to obtain the required content nearby through the load balancing, content distribution, scheduling and other functional modules of the center platform, reduces network congestion, and improves the access response speed and hit rate of the user.
And a streaming server IP (Internet Protocol Address ), when a certain mobile terminal pulls a live streaming from a server, the IP address of the server is the streaming server IP of the mobile terminal.
QPS (Queries Per Second is query rate per second), which is a measure of how much traffic a server is handling in a given time, i.e. the number of response requests per second, is able to respond to per second.
ID (Identity), identity code.
Fig. 1 schematically illustrates an environmental application diagram of a katon analysis method according to a first embodiment of the present application. In a live broadcast scenario, the anchor side 2 may push live broadcast data to the viewer side 6 in real time through the CDN server 4.
And the main broadcasting end 2 is used for generating live broadcast data in real time and performing push stream operation of the live broadcast data. The live data may include audio data or video data. The anchor 2 may be a smart phone, tablet computer, etc. based on an IOS system. In other embodiments, the anchor 2 may be a live device based on an Android system or the like.
The audience terminal 6 may be configured to receive live data of the anchor terminal 2 in real time through the CDN server. Viewer end 6 may be any type of computing device such as a smart phone, tablet device, laptop, set top box, smart television, etc. The viewer side 6 may have a built-in browser or a dedicated program through which the live data is received to output content to the user. The content may include video, audio, comments, text data, and/or the like.
Example 1
The first embodiment provides a katon analysis method, which can be executed in the CDN server 4.
The CDN server 4 is configured with a plurality of accompanying service programs, where the accompanying service programs are mutually bound and symbiotic, and the plurality of accompanying service programs include a heartbeat collection service program and a katon collection service program.
Fig. 2 schematically shows a flowchart of a katon analysis method according to a first embodiment of the present application.
As shown in fig. 2, the katon analysis method may include steps S200 to S204, in which:
And step S200, acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program.
Since the CDN server 4 can better collect and process data within its scope with respect to the center server, the heartbeat data can be changed from a single field data composition to a plurality of field data compositions. As an example, the heartbeat data periodically reported by the mobile terminals may include the following field data: live room ID, live definition, login status, mobile/web, player version, mobile device type. Specific:
Live room ID: the method is used for analyzing the number of the watching headcount of the live broadcasting room and providing basic information for whether the follow-up is single live broadcasting room blocking.
Live definition: the method is used for analyzing the number of people living broadcast with different living broadcast definition. The live definition can be used for judging whether the user is blocked due to the difference of the definition or whether all the definition has problems.
Player version: the player version at the viewer end may cause the user to get stuck, for example, the player may have a new version in gray scale, and find that the new version has more stuck than the old version, and indicate that the new version is stuck due to the player version.
Mobile end device classification: audience segments are classified as mobile/web segments, and end device configurations. Due to the diversity of the user push stream information, different devices may cause different jam information for the stream. Therefore, the jamming of various mobile terminals can be analyzed to determine whether the jamming is caused by the device type.
The streaming server IP: a CDN server providing the pull service is determined to determine if the click-through is due to the CDN server itself.
Step S202, the cartoon data reported by each mobile terminal is obtained through the cartoon collecting service program.
Because the big data platform provides service for the whole platform, the collection and processing of the katon data through the big data platform has serious postponement. In contrast, the CDN server 4 is an edge server closer to the viewer end, and is configured to provide a pull service to the viewer end in the range thereof. By installing the catton collecting service program in the CDN server 4, the catton collecting service program collects the catton data reported by the viewer terminal that is experiencing catton, so that the condition of the viewer terminal that is experiencing catton can be quickly known. As an example, when a player or a playing page in a viewer terminal is jammed, the viewer terminal automatically reports the jammed data including the following field data to a jammed collection service program bound by the same streaming server (i.e., CDN server 4):
A player or a live broadcasting room ID which is entered when a playing page is blocked;
Live definition used when a playout or a page of play is chucked:
whether the player or the playing page is logged in when the player or the playing page is blocked;
a player or a version of the player when a clip occurs on a play page;
The type of the player or the mobile terminal equipment where the playing page is located;
The player or the streaming server IP playing the page streaming when the clip occurs.
It should be noted that the above field data is only exemplary, and is not intended to limit the scope of the present application.
And step S204, analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data.
And early analysis and integration of data are carried out in the CDN server 4, so that the katon analysis efficiency is improved.
As an example, as shown in fig. 3, the step S204 may include a step S300: analyzing the heartbeat data reported by each mobile terminal to obtain heartbeat analysis data in the analysis data; wherein the heartbeat analysis data includes at least any one of: the number of live-broadcast room online devices, the number of live-broadcast definition, the number of player versions, the number of mobile terminals and the number of streaming servers IP. In this embodiment, the current heartbeat overall data may be analyzed in real time according to the heartbeat data of each mobile terminal pulled by the CDN server 4 and according to the heartbeat data of each mobile terminal, for subsequent katon analysis.
As an example, as shown in fig. 4, the step S204 may include a step S400: analyzing the cartoon data reported by each mobile terminal to obtain the cartoon analysis data in the analysis data; wherein the katon analysis data comprises at least any one of: the number of ID of each cartoon live broadcasting room, the number of each live broadcasting definition, the number of each player version, the number of each mobile terminal device and the number of each streaming server IP. In this embodiment, the current blocking situation may be analyzed in real time according to the blocking data of each mobile terminal pulled by the CDN server 4 and according to the blocking data of each mobile terminal, for subsequent blocking analysis.
As an example, as shown in fig. 5, the step S204 may include a step S500: analyzing according to the heartbeat analysis data and the katon analysis data to obtain first analysis data taking a live broadcast room as an analysis object; wherein the first analysis data comprises at least any one of: the live broadcasting room jamming ratio, the jamming ratio of each live broadcasting definition, the jamming ratio of each player version and the jamming ratio of various mobile terminals on line in the live broadcasting room. In this embodiment, the CDN server 4 may calculate, in real time, the first analysis data of the dimension of the living broadcast room according to the heartbeat analysis data and the katon analysis data, so as to obtain the katon condition of each living broadcast room. Specific:
live broadcasting room jamming rate = total jamming number of the live broadcasting room/heart beat reporting number of the live broadcasting room;
the blocking rate of each live broadcast definition=the blocking number of the live broadcast definition of the live broadcast room/the heartbeat reporting number of the live broadcast definition of the live broadcast room;
the click-through rate of each player version = the number of player version clicks in the live broadcast room/the number of player heartbeat reports in the live broadcast room;
The blocking rate of various mobile terminals in the live broadcasting room online=the number of blocking in the live broadcasting room watching process through the mobile terminals/the number of heart beats reporting through the mobile terminals in the live broadcasting room.
As an example, as shown in fig. 6, the step S204 may include a step S600: analyzing and obtaining second analysis data taking equipment as an analysis object according to the heartbeat analysis data and the katon analysis data; wherein the second analysis data includes a katana of the streaming server IP; and the blocking rate of the streaming server IP is the ratio of the blocking numbers of all live broadcasting rooms on the streaming server to the number of the heartbeat reports of all live broadcasting rooms of the streaming server. In this embodiment, the CDN server 4 may calculate, in real time, second analysis data of the device dimension according to the heartbeat analysis data and the katon analysis data, so as to obtain a katon condition of the CDN server. In this embodiment, through the associated heartbeat collection service program and the katon collection service program, more effective information cannot be obtained, and the second analysis data of the CDN server 4 itself is obtained.
Step S206, the analysis data is sent to a central server, so that the central server performs a katon analysis according to the analysis data.
After the analysis data is obtained, the analysis data can be reported to a central server, and the central server performs further data analysis and integration to judge the click rate of the whole platform in the dimension of a live broadcasting room and equipment.
And in the central server, acquiring the click-through rate of the whole platform taking the live broadcasting room as the dimension, and obtaining the first analysis data by referring to the CDN server.
In the central server, the total jamming rate of each CDN server is arranged in descending order by taking the equipment as the dimension of the whole platform, and when the total jamming rate of a certain CDN server exceeds a preset threshold, the jamming of the mobile terminal which is pulled from the CDN server is caused by the CDN server, so that the problem of the CDN server needs to be examined.
The katon analysis method provided in the first embodiment at least includes the following advantages:
First: and the CDN server is internally provided with a heartbeat collection service program and a cartoon collection service program, the heartbeat data of each mobile terminal is collected through the heartbeat collection service program, and the cartoon data of the mobile terminal with the cartoon is collected through the cartoon collection service program. Because the heartbeat collection service program and the katon collection service program are mutually bound and are positioned in the same CDN server, the heartbeat collection service program and the katon collection service program can be mutually communicated in real time to obtain more effective and accurate information, and the performance of the CDN server can be analyzed.
Second,: unlike the central server collecting data of the whole platform, the present embodiment embeds the heartbeat collection service program in the CDN server at the network edge, and can collect the heartbeat data within the range of the CDN server in real time, so that it can collect more detailed heartbeat data including more field data for the katon analysis.
Third,: in contrast to the data processing delay caused by the need of collecting data of the whole platform by the big data platform device, the embodiment embeds the katon collecting service program in the CDN server at the network edge, and the katon data in the range of the katon collecting service program can be collected in real time by the CDN server, so that the katon data can be received in real time and processed in real time, for example, the heartbeat data and the katon data of each mobile terminal can be analyzed in real time.
Fourth,: the heartbeat collection service program and the katon collection service program are mutually bound and symbiotic. Symbiosis refers to that one service program binds one service program and the two service programs bound with each other are symbiotic and co-killed. Specifically, if the heartbeat collection service program is started, the click collection service program must also be started. If the heartbeat collection service program fails to provide service for some reason, the catchment collection service program also fails to provide service alone. The associated setting specifically enables the CDN server to simultaneously provide services such as pulling, heartbeat collection, and card-on collection. The heartbeat collection service program and the catton collection service program cannot exist independently, otherwise, the collection of heartbeat data and catton data cannot be completed in one edge server (CDN server), so that larger data volume and QPS can be born, otherwise, the heartbeat collection service program and the catton collection service program are equal to those of a central server, and the heartbeat collection service program and the catton collection service program have no shunting effect. It should be noted that, instead of setting the heartbeat collection and the catton collection in one program, separate and associated heartbeat collection service programs and catton collection service programs are set, because each program is processed separately, so that the processing speed and the data amount are increased. If placed in a merge process, will affect each other.
As an example, as illustrated in fig. 7, the katon analysis method may further include the steps of: step S700, when any one program in the plurality of associated service programs is detected to stop running, stopping the running of other programs; in step S702, when it is detected that any one of the plurality of associated service programs is started to run, the other programs are started to run. In this embodiment, symbiotic co-extinction of each associated service program may be implemented.
In summary, in the method for analyzing the katon provided in the embodiment, the heartbeat collection service and the katon collection service are placed in the same server by binding the associated service. Namely, the heartbeat collecting service and the jamming collecting service are provided in the CDN server, so that more comprehensive and real-time data are collected, and more detailed jamming information is analyzed.
In addition, the data collected by the heartbeat collection service and the cartoon collection service are analyzed in the CDN server in the form of associated service, so that larger data volume and higher QPS can be born, and real-time performance and accuracy are ensured.
Example two
Fig. 8 schematically shows a block diagram of a katon analysis system according to a second embodiment of the present application, which may be divided into one or more program modules, which are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. Program modules in accordance with the embodiments of the present application are directed to a series of computer program instruction segments capable of performing the specified functions, and the following description describes each program module in detail.
The katon analysis system is used in a CDN server, wherein the CDN server is configured with a plurality of associated service programs, the associated service programs are mutually bound and symbiotic, and the associated service programs comprise a heartbeat collection service program and a katon collection service program.
As shown in fig. 8, the katon analysis system 800 may include a first acquisition module 810, a second acquisition module 820, an analysis module 830, and a transmission module 840, wherein:
The first acquisition module is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
the second acquisition module is used for acquiring the cartoon data reported by each mobile terminal through the cartoon collecting service program;
the analysis module is used for analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and
And the sending module is used for sending the analysis data to the central server so that the central server can carry out the katon analysis according to the analysis data.
Optionally, the analysis module is further configured to:
Analyzing the heartbeat data reported by each mobile terminal to obtain heartbeat analysis data in the analysis data;
wherein the heartbeat analysis data includes at least any one of: the number of live-broadcast room online devices, the number of live-broadcast definition, the number of player versions, the number of mobile terminals and the number of streaming servers IP.
Optionally, the analysis module is further configured to:
Analyzing the cartoon data reported by each mobile terminal to obtain the cartoon analysis data in the analysis data;
Wherein the katon analysis data comprises at least any one of: the method comprises the steps of blocking a live broadcasting room ID, live broadcasting definition, player version, mobile terminal equipment classification and streaming server IP.
Optionally, the analysis module is further configured to:
analyzing according to the heartbeat analysis data and the katon analysis data to obtain first analysis data taking a live broadcast room as an analysis object;
Wherein the first analysis data comprises at least any one of: the live broadcasting room jamming ratio, the jamming ratio of each live broadcasting definition, the jamming ratio of each player version and the jamming ratio of various mobile terminals on line in the live broadcasting room.
Optionally, the analysis module is further configured to:
analyzing and obtaining second analysis data taking equipment as an analysis object according to the heartbeat analysis data and the katon analysis data;
wherein the second analysis data includes a katana of the streaming server IP;
and the blocking rate of the streaming server IP is the ratio of the blocking numbers of all live broadcasting rooms on the streaming server to the number of the heartbeat reports of all live broadcasting rooms of the streaming server.
Optionally, the system further comprises an accompanying module (not shown) for:
When any one program in the plurality of associated service programs is detected to stop running, stopping running of other programs;
and when any one of the plurality of associated service programs is detected to start running, starting running of other programs.
Example III
Fig. 9 schematically illustrates a hardware architecture diagram of a computer device 10000 adapted to implement the katon analysis method according to the third embodiment of the present application. In this embodiment, the computer device 10000 may be the CDN server 4 or be part of the CDN server 4. In this embodiment, the computer device 10000 is a device capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance. For example, it may be a smart phone, tablet computer, etc. As shown in fig. 9, the computer device 10000 includes at least, but is not limited to: the memory 10010, processor 10020, network interface 10030 may be communicatively linked to each other via a system bus. Wherein:
Memory 10010 includes at least one type of computer-readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, memory 10010 may be an internal storage module of computer device 10000, such as a hard disk or memory of computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, abbreviated as SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 10000. Of course, the memory 10010 may also include both an internal memory module of the computer device 10000 and an external memory device thereof. In this embodiment, the memory 10010 is typically used for storing an operating system installed on the computer device 10000 and various application software, such as program codes of a katon analysis method. In addition, the memory 10010 may be used to temporarily store various types of data that have been output or are to be output.
The processor 10020 may be a central processing unit (Central Processing Unit, abbreviated as CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 10020 is typically configured to control overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is configured to execute program codes or process data stored in the memory 10010.
The network interface 10030 may comprise a wireless network interface or a wired network interface, which network interface 10030 is typically used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, establish a data transmission channel and a communication link between the computer device 10000 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (Global System of Mobile communication, abbreviated as GSM), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviated as WCDMA), a 4G network, a 5G network, bluetooth (Bluetooth), wi-Fi, etc.
It should be noted that fig. 9 only shows a computer device having components 10010-10030, but it should be understood that not all of the illustrated components are required to be implemented, and more or fewer components may be implemented instead.
In this embodiment, the katon analysis method stored in the memory 10010 may be further divided into one or more program modules and executed by one or more processors (the processor 10020 in this embodiment) to complete the embodiment of the application.
Example IV
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the katon analysis method in the embodiments.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, abbreviated as SMC), a Secure Digital (abbreviated as SD) card, a flash memory card (FLASH CARD), or the like, which are provided on the computer device. Of course, the computer-readable storage medium may also include both internal storage units of a computer device and external storage devices. In this embodiment, the computer readable storage medium is typically used to store an operating system and various application software installed on the computer device, such as program codes of the katon analysis method in the embodiment. Furthermore, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
Example five
The application also provides a CDN server, which comprises a plurality of associated service programs, wherein the associated service programs are mutually bound and symbiotic, and the associated service programs comprise a heartbeat collection service program and a cartoon collection service program; wherein:
the heartbeat collection service program is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
The katon collection service program is used for acquiring katon data reported by each mobile terminal and analyzing heartbeat data and katon data reported by each mobile terminal so as to obtain analysis data for katon analysis.
As shown in fig. 10, the anchor 2 pushes to the CDN server 4A, CDN servers 4B, ….
The CDN server 4A sends live broadcast data to the viewer terminal 6A, and the viewer terminal 6 reports its own heartbeat data and katon data to the CDN server 4A. It should be noted that, the report is triggered after the viewer terminal 6A generates the click.
The CDN server 4B sends live data to the viewer end 6B, and the viewer end 6B reports its own heartbeat data and katon data to the CDN server 4B.
That is, the viewer end 6A, 6B, … pulls a stream from which CDN server, and reports its own heartbeat data and katon data to which CDN server.
It should be noted that, further techniques or effects of the present embodiment may refer to other embodiments, which are not described herein.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
It should be noted that the technical solution of the present application is mainly/specifically directed to optimization of a Web player based on DASH streaming media. In addition, the foregoing is only the preferred embodiments of the present application, and not the limitation of the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (11)

1. The katon analysis method is characterized by being used in a CDN server, wherein the CDN server is configured with a plurality of associated service programs, the associated service programs are symbiotic, and the associated service programs comprise a heartbeat collection service program and a katon collection service program; the method comprises the following steps:
acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
the cartoon data reported by each mobile terminal is obtained through the cartoon collecting service program;
Analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and
Sending the analysis data to a central server so that the central server performs a katon analysis according to the analysis data;
Wherein the heartbeat data includes at least any one of: live studio ID, live definition, login status, mobile/web end, player version, mobile device type;
The click data includes at least any one of the following: live studio ID, live broadcast definition, whether it has logged in, player version, type of mobile terminal device, streaming server IP;
Symbiosis refers to that one service program is bound with one service program, and the two service programs bound with each other are symbiotic and co-killed.
2. The method according to claim 1, wherein the analyzing, by the katon collection service program, the heartbeat data and the katon data reported by the respective mobile terminals to obtain the analysis data includes:
Analyzing the heartbeat data reported by each mobile terminal to obtain heartbeat analysis data in the analysis data;
wherein the heartbeat analysis data includes at least any one of: the number of live-broadcast room online devices, the number of live-broadcast definition, the number of player versions, the number of mobile terminals and the number of streaming servers IP.
3. The method according to claim 2, wherein the analyzing, by the katon collection service program, the heartbeat data and the katon data reported by the respective mobile terminals to obtain the analysis data includes:
Analyzing the cartoon data reported by each mobile terminal to obtain the cartoon analysis data in the analysis data;
Wherein the katon analysis data comprises at least any one of: the method comprises the steps of blocking a live broadcasting room ID, live broadcasting definition, player version, mobile terminal equipment classification and streaming server IP.
4. The method of claim 3, wherein analyzing, by the katon collection service program, the heartbeat data and the katon data reported by the respective mobile terminals to obtain the analysis data includes:
analyzing according to the heartbeat analysis data and the katon analysis data to obtain first analysis data taking a live broadcast room as an analysis object;
Wherein the first analysis data comprises at least any one of: the live broadcasting room jamming ratio, the jamming ratio of each live broadcasting definition, the jamming ratio of each player version and the jamming ratio of various mobile terminals on line in the live broadcasting room.
5. The method of claim 3, wherein analyzing, by the katon collection service program, the heartbeat data and the katon data reported by the respective mobile terminals to obtain the analysis data includes:
analyzing and obtaining second analysis data taking equipment as an analysis object according to the heartbeat analysis data and the katon analysis data;
Wherein the second analysis data includes a katana of the streaming server IP; and the blocking rate of the streaming server IP is the ratio of the blocking numbers of all live broadcasting rooms on the streaming server to the number of the heartbeat reports of all live broadcasting rooms of the streaming server.
6. The method of any one of claims 1 to 5, further comprising:
When any one program in the plurality of associated service programs is detected to stop running, stopping running of other programs;
and when any one of the plurality of associated service programs is detected to start running, starting running of other programs.
7. The katon analysis system is characterized by being used in a CDN server, wherein the CDN server is configured with a plurality of associated service programs, the associated service programs are symbiotic, and the associated service programs comprise a heartbeat collection service program and a katon collection service program; the system comprises:
The first acquisition module is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
the second acquisition module is used for acquiring the cartoon data reported by each mobile terminal through the cartoon collecting service program;
the analysis module is used for analyzing the heartbeat data and the cartoon data reported by each mobile terminal through the cartoon collecting service program to obtain analysis data; and
The sending module is used for sending the analysis data to the central server so that the central server can carry out the katon analysis according to the analysis data;
Wherein the heartbeat data includes at least any one of: live studio ID, live definition, login status, mobile/web end, player version, mobile device type;
The click data includes at least any one of the following: live studio ID, live broadcast definition, whether it has logged in, player version, type of mobile terminal device, streaming server IP;
Symbiosis refers to that one service program is bound with one service program, and the two service programs bound with each other are symbiotic and co-killed.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is adapted to implement the steps of the katon analysis method of any of claims 1 to 6 when the computer program is executed by the processor.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program executable by at least one processor to cause the at least one processor to perform the steps of the katon analysis method of any one of claims 1 to 6.
10. The CDN server is characterized by comprising a plurality of associated service programs, wherein the associated service programs are symbiotic with each other, and the associated service programs comprise a heartbeat collection service program and a cartoon collection service program; wherein:
the heartbeat collection service program is used for acquiring heartbeat data reported by each mobile terminal through the heartbeat collection service program;
The katon collection service program is used for acquiring katon data reported by each mobile terminal and analyzing heartbeat data and katon data reported by each mobile terminal so as to obtain analysis data for katon analysis;
Wherein the heartbeat data includes at least any one of: live studio ID, live definition, login status, mobile/web end, player version, mobile device type;
The click data includes at least any one of the following: live studio ID, live broadcast definition, whether it has logged in, player version, type of mobile terminal device, streaming server IP;
Symbiosis refers to that one service program is bound with one service program, and the two service programs bound with each other are symbiotic and co-killed.
11. A computer program product, characterized in that it comprises a computer program executable by at least one processor to cause the at least one processor to perform the steps of the katon analysis method according to any of claims 1 to 6.
CN202110949326.9A 2021-08-18 2021-08-18 Katon analysis method and CDN server Active CN113672486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110949326.9A CN113672486B (en) 2021-08-18 2021-08-18 Katon analysis method and CDN server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110949326.9A CN113672486B (en) 2021-08-18 2021-08-18 Katon analysis method and CDN server

Publications (2)

Publication Number Publication Date
CN113672486A CN113672486A (en) 2021-11-19
CN113672486B true CN113672486B (en) 2024-07-26

Family

ID=78543585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110949326.9A Active CN113672486B (en) 2021-08-18 2021-08-18 Katon analysis method and CDN server

Country Status (1)

Country Link
CN (1) CN113672486B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115622984A (en) * 2022-10-19 2023-01-17 上海哔哩哔哩科技有限公司 Plug flow quality improving method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991855A (en) * 2015-06-16 2015-10-21 广州华多网络科技有限公司 Processing method and device for interface lag
CN107105309A (en) * 2017-04-25 2017-08-29 北京潘达互娱科技有限公司 Live dispatching method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634992B (en) * 2015-12-29 2019-01-11 网宿科技股份有限公司 CDN platform adaptive band width control method and system
CN107911722B (en) * 2017-10-31 2020-06-16 贝壳找房(北京)科技有限公司 Content distribution network scheduling method and device, electronic equipment and computer readable storage medium
CN111601102B (en) * 2020-04-30 2022-02-01 微梦创科网络科技(中国)有限公司 Live broadcast stuck detection method and system
CN112261429A (en) * 2020-10-21 2021-01-22 北华大学 Live broadcast application system, method, equipment and storage medium of cardless intelligent terminal
CN113094239B (en) * 2021-04-27 2022-12-06 上海哔哩哔哩科技有限公司 Method for determining reason of live broadcast abnormity and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991855A (en) * 2015-06-16 2015-10-21 广州华多网络科技有限公司 Processing method and device for interface lag
CN107105309A (en) * 2017-04-25 2017-08-29 北京潘达互娱科技有限公司 Live dispatching method and device

Also Published As

Publication number Publication date
CN113672486A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
US11831950B2 (en) Methods and apparatus to measure exposure to streaming media
US11470403B2 (en) Methods and apparatus for determining audience metrics across different media platforms
US20240163531A1 (en) Methods and apparatus to monitor media
CN109618565B (en) Method and system for automatically measuring experience quality of streaming video user
JP2015532741A (en) Method and apparatus for monitoring media presentation
US20160119672A1 (en) Methods and apparatus to identify media using image recognition
WO2012162693A1 (en) Highly scalable audience measurement system with client event pre-processing
US9912424B2 (en) Methods and apparatus to estimate ratings for media assets using social media
CN103974139B (en) Method and device for detecting network faults of terminal and system
US20240121472A1 (en) Methods and apparatus to monitor digital media
CN113672486B (en) Katon analysis method and CDN server
US12081606B2 (en) Content player performance detection
AU2018275194A1 (en) Temporal placement of a rebuffering event
CN104410877A (en) Method and device for processing user behavior data of network television
CN105243560A (en) Influence evaluation method and evaluation system
CN109151498B (en) Hotspot event processing method and device, server and storage medium
CN107846586B (en) Monitoring method, device and the server-side of video flow quality
CN115623236A (en) Gift special-effect resource playing method and device
CN110321517B (en) Method and device for detecting playing proportion of browsing resources and readable storage medium
CN113691799A (en) Live stream interaction control method and corresponding device, equipment and medium
CN113438555A (en) Bandwidth detection method and device, computer equipment and storage medium
US20200154160A1 (en) Automatic identification and verification of transmission of content
CN109587522A (en) Switching at runtime advertisement video clarity processing method, playback terminal and storage medium
KR20140035424A (en) System and method to increase efficiency and speed of analytics report generation in audience measurement systems
CN106817624B (en) Method and device for analyzing behavior of user for reviewing program content

Legal Events

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