CN115037966A - Live broadcast processing method and device, computing equipment and computer storage medium - Google Patents

Live broadcast processing method and device, computing equipment and computer storage medium Download PDF

Info

Publication number
CN115037966A
CN115037966A CN202210563223.3A CN202210563223A CN115037966A CN 115037966 A CN115037966 A CN 115037966A CN 202210563223 A CN202210563223 A CN 202210563223A CN 115037966 A CN115037966 A CN 115037966A
Authority
CN
China
Prior art keywords
service
monitoring
live
stream
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210563223.3A
Other languages
Chinese (zh)
Other versions
CN115037966B (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 CN202210563223.3A priority Critical patent/CN115037966B/en
Publication of CN115037966A publication Critical patent/CN115037966A/en
Application granted granted Critical
Publication of CN115037966B publication Critical patent/CN115037966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • 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
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/065Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies
    • 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
    • H04L41/0677Localisation of faults
    • 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/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application discloses a live broadcast processing method and device, a computing device and a computer storage medium. The method comprises the following steps: acquiring a plurality of service components corresponding to the service states; determining a plurality of monitoring nodes and a directed connection relation among the monitoring nodes according to the streaming transmission direction of the first live streaming, and constructing a service monitoring tree corresponding to the first live streaming in a service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes; the method comprises the steps that for any monitoring node in a plurality of monitoring nodes, live streaming data corresponding to a first live streaming is obtained and stored in the monitoring node; and performing live broadcast processing according to the service monitoring tree. The service monitoring tree in the scheme stores and displays service components of live broadcast services in a tree structure, so that whether live broadcast is abnormal or not and the abnormal occurrence position of the live broadcast are conveniently analyzed, data monitoring and problem troubleshooting are accurately carried out, and the service monitoring tree can display the association among the service components in real time.

Description

Live broadcast processing method and device, computing equipment and computer storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a live broadcast processing method and apparatus, a computing device, and a computer storage medium.
Background
With the progress of network communication technology and the increasing speed of broadband networks, live broadcasting has been increasingly developed and applied. In the live broadcast process, the live broadcast effect may be poor due to network jitter, server abnormality and the like, and therefore, live broadcast data needs to be monitored and specific problem troubleshooting is required, however, in the prior art, recording is mainly performed in a log mode, and the recording mode cannot intuitively reflect the association between service components and cannot confirm the service state, so that data monitoring and problem troubleshooting cannot be accurately performed.
Disclosure of Invention
The application aims to provide a live broadcast processing method, a live broadcast processing device, a computing device and a computer storage medium, so as to solve the problems that in the prior art, a log cannot visually reflect the association between service components, and the service state cannot be confirmed, so that data monitoring and problem troubleshooting cannot be accurately performed, and the like.
According to an aspect of an embodiment of the present application, there is provided a live broadcast processing method, including:
acquiring a plurality of service components corresponding to the service states;
determining a plurality of monitoring nodes and a directed connection relation among the monitoring nodes according to the streaming transmission direction of the first live streaming, and constructing a service monitoring tree corresponding to the first live streaming in a service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and streaming transmission direction information between the two service components;
the method comprises the steps that for any monitoring node in a plurality of monitoring nodes, live streaming data corresponding to a first live streaming is obtained and stored in the monitoring node;
and performing live broadcast processing according to the service monitoring tree.
Further, if the service state is a mixed flow state, the method further includes:
determining a directional connection relation between a mixed flow related monitoring node and a mixed flow related monitoring node according to the flow transmission direction of a second live flow mixed with the first live flow;
and constructing an association service monitoring tree according to the directional connection relation between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes.
Further, before constructing the association service monitoring tree according to the mixed flow association monitoring node and the directed connection relationship between the mixed flow association monitoring nodes, the method further comprises:
determining a service component for the intersection of the first live stream and the second live stream;
acquiring a service monitoring tree path sent by a first direct-broadcast stream from a converged service component;
the method for constructing the association service monitoring tree according to the directed connection relation between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes further comprises the following steps:
and constructing an associated service monitoring tree according to the directed connection relation between the mixed flow associated monitoring nodes and the service monitoring tree path.
Further, the method further comprises: and if the change of the service state is detected, updating the monitoring nodes of the service components corresponding to the first live stream based on the newly added service components or the deleted service components so as to synchronously update the service monitoring tree corresponding to the first live stream.
Further, the method further comprises: and if the service monitoring tree is monitored to be changed to a stable state, updating the service state corresponding to the service monitoring tree.
Further, determining a directional connection relationship between the plurality of monitoring nodes according to the streaming direction of the first direct-broadcast stream further includes:
determining a live stream receiving and transmitting relation of the service component to the first direct stream according to the stream transmission direction of the first direct stream;
and determining a directed connection relation among the plurality of monitoring nodes according to the receiving and sending relation of the live stream.
Further, the traffic state includes: direct seeding state and mixed fluid state.
Further, the service state further includes: breaking the fluid state;
the method further comprises the following steps: and if the service state is switched from the direct flow state to the cutoff state or from the mixed flow state to the cutoff state, cleaning all monitoring nodes.
Further, live streaming data includes: the method comprises the steps of live stream identification, live stream transmission rate, live stream packet loss information and a state code.
Further, the live broadcast processing according to the service monitoring tree further includes:
inquiring and determining a service monitoring tree corresponding to the first direct-current flow;
and performing live broadcast abnormal analysis and/or live broadcast abnormal positioning according to the monitoring nodes in the service monitoring tree and live broadcast stream data stored by the monitoring nodes.
According to another aspect of the embodiments of the present application, there is provided a live broadcast processing apparatus, including:
the acquisition module is suitable for acquiring a plurality of service components corresponding to the service states;
the determining module is suitable for determining a plurality of monitoring nodes and a directional connection relation among the monitoring nodes according to the streaming transmission direction of the first direct-broadcast stream, wherein each monitoring node comprises two service components in a plurality of service components and streaming transmission direction information between the two service components;
the building module is suitable for building a service monitoring tree corresponding to the first live stream in a service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes;
the storage module is suitable for acquiring live streaming data corresponding to the first direct streaming for any monitoring node in the plurality of monitoring nodes and storing the live streaming data into the monitoring node;
and the processing module is suitable for performing live broadcast processing according to the service monitoring tree.
According to yet another aspect of embodiments herein, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the live broadcast processing method.
According to another aspect of the embodiments of the present application, a computer storage medium is provided, where at least one executable instruction is stored in the computer storage medium, and the executable instruction causes a processor to perform an operation corresponding to the live broadcast processing method.
According to the scheme provided by the embodiment of the application, a plurality of service components corresponding to the service state are obtained; determining a plurality of monitoring nodes and a directed connection relation between the plurality of monitoring nodes according to the streaming transmission direction of the first live streaming, and constructing a service monitoring tree corresponding to the first live streaming in a service state according to the plurality of monitoring nodes and the directed connection relation between the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and streaming transmission direction information between the two service components; the method comprises the steps that for any monitoring node in a plurality of monitoring nodes, live streaming data corresponding to a first live streaming is obtained and stored in the monitoring node; and performing live broadcast processing according to the service monitoring tree. The service monitoring tree in the scheme stores and displays the service components of the live broadcast service in a tree structure, so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality are conveniently analyzed, data monitoring and problem troubleshooting are accurately performed, the service monitoring tree can display the association among the service components in real time, and the expansion is easy; traffic states are easily distinguished.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow diagram of a live broadcast processing method according to an embodiment of the application;
fig. 2A shows a flow diagram of a live processing method according to yet another embodiment in the present application;
FIG. 2B is a schematic structural diagram of a double-person mixed flow service module;
fig. 2C is a simplified schematic diagram of a service module with a main live stream 1 for double-person mixed flow;
FIG. 2D is a schematic view of a service monitoring tree for a live stream 1 with double mixed flow;
fig. 3A shows a flow diagram of a live processing method according to another embodiment in the present application;
FIG. 3B is a schematic structural diagram of a live-solo service component;
FIG. 3C is a schematic diagram of a single live service monitoring tree;
FIG. 3D is a schematic diagram illustrating a change of a service monitoring tree for switching from a live streaming state to a mixed streaming state;
fig. 4 shows a schematic structural diagram of a live broadcast processing apparatus according to an embodiment of the present application;
FIG. 5 shows a schematic structural diagram of a computing device according to an embodiment in the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First, the noun terms to which one or more embodiments of the present application relate are explained.
Edge nodes: the method is characterized in that a nearest-end service is provided nearby by adopting an open platform integrating network, computing, storage and application core capabilities on one side close to an object or a data source.
The mixed flow server: and receiving 2 or more push streams, mixing the push streams and outputting the mixed push streams.
Service monitoring tree: refers to a monitoring link formed by all flow directions of a live stream.
At present, WebRTC communication is mainly adopted for live broadcasting, WebRTC streaming media data has strong real-time performance, and although each service component related to the live broadcasting independently has a state query interface, a storage and presentation form is not provided, so that the monitoring of real-time data and the investigation of specific problems are not favorable. Therefore, in the conventional method, the live broadcast data is recorded according to time by a log recording and reporting platform after transmission information is collected, but the association between service components cannot be visually embodied, and the service state cannot be confirmed, so that data monitoring and problem troubleshooting cannot be accurately performed.
Based on this, in the present application, a live broadcast processing method is provided, and the present application relates to a live broadcast processing apparatus, a computing device, and a computer-readable storage medium, which are described in detail in the following embodiments one by one.
Fig. 1 shows a flow diagram of a live broadcast processing method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, a plurality of service components corresponding to the service states are obtained.
In this embodiment, components serving a live broadcast service in a live broadcast process are referred to as service components, and live broadcast can be implemented by using these service components, where the service components may be divided into software-type service components and hardware-type service components, for example, the service components may include part or all of the following components: the live broadcast application, the edge node, the mixed flow server, and the RTC live broadcast are not limited to the above service components, and may also include other service components, which are not listed here.
The live broadcast application is an application program installed on the terminal equipment, the terminal equipment can be a mobile phone, a PC (personal computer), a tablet personal computer and the like, and when the live broadcast is carried out, the live broadcast can be initiated by operating the live broadcast application installed on the terminal equipment; the edge node, the mixed flow server and the RTC live broadcast are hardware servers, the edge node is a server for receiving push flow, the mixed flow server is a server for mixing multiple paths of live broadcast flows which are connected with wheat, the RTC live broadcast is a server for live broadcast, the deployment quantity of the edge node, the mixed flow server and the RTC live broadcast can be flexibly set according to live broadcast services, a plurality of service programs are respectively deployed on the servers, and when the live broadcast is carried out, the live broadcast flows are transmitted by utilizing the service programs deployed on the servers.
Specifically, all service components corresponding to the current service state may be acquired through the interface at intervals of preset duration, where the preset duration may be set to 5 seconds to 10 seconds according to experience, and may also be set to other values, but the preset duration is not too long, so that the omission of the service state due to the too long setting is avoided. It should be noted that, in this step, a plurality of service components corresponding to the service states may also be obtained in real time. In an actual live broadcast scene, live broadcast is usually maintained for a long time in different service states, so that a preferred scheme is to acquire a plurality of service components corresponding to the service states at intervals of preset time, so that resources can be effectively saved.
Step S102, determining a plurality of monitoring nodes and a directional connection relation among the monitoring nodes according to the stream transmission direction of the first direct-broadcast stream, and constructing a service monitoring tree corresponding to the first direct-broadcast stream in the service state according to the plurality of monitoring nodes and the directional connection relation among the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and stream transmission direction information between the two service components.
The embodiment is explained by constructing a service monitoring tree of a first live stream, where the first live stream is a live stream in a live scene, a stream transmission direction of the first live stream reflects a streaming situation of the first live stream in different service components, and in a normal situation, a pipeline end needs to be created between two service components in order to receive and transmit a stream, and the service component sending the live stream and the service component receiving the live stream determine a stream together. And then, constructing a service monitoring tree corresponding to the first live stream in the service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes.
The monitoring nodes are nodes required for constructing a service monitoring tree, the directed connection relationship indicates that a connection exists between the two monitoring nodes, the connection is mainly embodied as a flow condition of the first direct-broadcast flow in a service component included in the monitoring nodes, and the directed connection relationship can be embodied by directed line segments between the two monitoring nodes, for example, the directed connection relationship can be embodied by a connection line with an arrow.
The monitoring nodes and the directed connection relation between the monitoring nodes not only reflect the association between the service components, but also can reflect the circulation condition of the first direct-broadcast stream, so that the current direct-broadcast scene can be really restored.
Step S103, aiming at any monitoring node in the plurality of monitoring nodes, acquiring live streaming data corresponding to the first direct streaming, and storing the live streaming data into the monitoring node.
In order to facilitate live broadcast processing based on the constructed service monitoring tree, for example, data monitoring and problem troubleshooting, for any monitoring node of the plurality of monitoring nodes, live broadcast stream data corresponding to a first live broadcast stream is acquired, where the live broadcast stream data includes: the live stream transmission rate reflects the transmission rate of the first live stream in the two service components, so that whether the first live stream is normal or not when the first live stream is transmitted between the two service components can be identified; the status code is used for indicating whether the service components are normal or not when live streaming is transmitted between the service components, wherein 200 is used for indicating normal, 404 is used for indicating that the service components are failed, the live streaming identifier can be the name of a first live streaming, the transmission rate of the live streaming reflects the transmission rate of the first live streaming when the live streaming is transmitted between the two service components, and the packet loss information of the live streaming reflects the packet loss condition in the transmission process of the live streaming, so that whether abnormal jitter occurs in a network or not can be analyzed through the packet loss information of the live streaming, and after the live streaming data is obtained, the live streaming data is stored in a monitoring node. By storing the live streaming data in the monitoring node, analysis can be performed conveniently according to the data recorded by the service monitoring tree.
It should be noted that, the present embodiment may acquire live streaming data and store the live streaming data in the monitoring node while determining the monitoring node.
And step S104, performing live broadcast processing according to the service monitoring tree.
When live broadcast processing is required, a corresponding service monitoring tree can be inquired, the service monitoring tree is of a tree structure, the service component of the live broadcast service is stored and displayed by adopting the tree structure, and live broadcast stream data is displayed, so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality can be conveniently analyzed.
According to the method provided by the embodiment of the invention, a plurality of service components corresponding to the service state are obtained; determining a plurality of monitoring nodes and a directed connection relation among the monitoring nodes according to the streaming transmission direction of the first live streaming, and constructing a service monitoring tree corresponding to the first live streaming in a service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and streaming transmission direction information between the two service components; the method comprises the steps that for any monitoring node in a plurality of monitoring nodes, live streaming data corresponding to a first live streaming is obtained and stored in the monitoring node; and performing live broadcast processing according to the service monitoring tree. The service monitoring tree in the scheme stores and displays the service components of the live broadcast service in a tree structure, so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality are conveniently analyzed, data monitoring and problem troubleshooting are accurately performed, the service monitoring tree can display the association among the service components in real time, and the expansion is easy; traffic states are easily distinguished.
Fig. 2A shows a flow diagram of a live processing method according to yet another embodiment in the present application. As shown in fig. 2A, the method includes the steps of:
step S201, a plurality of service components corresponding to the mixing flow state are obtained.
The mixed flow state is a service state where live broadcast is performed when a plurality of people are connected with the wheat, and the number of people connected with the wheat is not limited. For convenience of understanding, the description is made with reference to the accompanying drawings, fig. 2B is a schematic structural diagram of a double mixed flow service component, and as shown in fig. 2B, the following service components are generally used to service live broadcast services in a mixed flow state: the live application, here usually refers to the live application, edge node, mixed flow server, RTC live used by the anchor, and therefore all service components corresponding to the mixed flow state are obtained here. The specific obtaining manner is similar to step S101 in the embodiment shown in fig. 1, and is not described herein again.
It should be noted that, during mixed streaming, live broadcast applications used by multiple anchor may be involved, and for convenience of distinction, the live broadcast applications are labeled as APP1 and APP2 …, and the edge node providing service may correspond to APP one to one, or multiple applications correspond to one edge node, and here, the example of one-to-one correspondence between an edge node and APP is taken as an example to illustrate, so fig. 2B shows APP1, APP2, edge node 1, and edge node 2.
Step S202, according to a stream transmission direction of a first direct stream, determining a plurality of monitoring nodes and determining a direct stream transceiving relationship of a service component to the first direct stream, where each monitoring node includes two service components of the plurality of service components and stream transmission direction information between the two service components.
Mixed flow refers to mixing a plurality of different live broadcast streams into one live broadcast stream, in this embodiment, a scheme is described by taking a first live broadcast stream as an example, the first live broadcast stream is one live broadcast stream in the mixed flow, other live broadcast streams participating in the mixed flow except the first live broadcast stream are called second live broadcast streams, the first live broadcast stream and the second live broadcast streams are relatively speaking, for example, a live broadcast stream 1 and a live broadcast stream 2 perform double mixed flow, and if the live broadcast stream 1 is the first live broadcast stream, the live broadcast stream 2 is the second live broadcast stream; if the live stream 2 is a first live stream, the live stream 1 is a second live stream; when multi-person mixed flow is carried out on the live stream 1, the live stream 2 and the live stream 3, if the live stream 1 is a first live stream, the live stream 2 and the live stream 3 are second live streams; if the live stream 2 is a first live stream, the live stream 1 and the live stream 3 are second live streams; if the live stream 3 is a first live stream, the live streams 1 and 2 are second live streams, which are only illustrative and not limiting.
The streaming direction of the first live stream reflects the situation that the first live stream flows in different service components, and in general, in order to be able to receive and transmit streams, a pipeline end needs to be created between two service components, and a service component sending the live stream and a service component receiving the live stream jointly determine one stream. Therefore, a plurality of monitoring nodes may be determined according to the streaming direction of the first direct flow, wherein the monitoring nodes represent data transmission between two service components, and each monitoring node comprises two service components of the plurality of service components and streaming direction information between the two service components.
When a service monitoring tree is constructed mainly by a first direct broadcast stream, fig. 2B may be simplified to fig. 2C, and fig. 2C is a simplified schematic diagram of a service component mainly by a direct broadcast stream 1 when a double mixed stream is provided, as shown in fig. 2C, APP1 sends related data of the first direct broadcast stream (for example, the first direct broadcast stream is a direct broadcast stream 1) to an edge node 1, the edge node 1 receives related data of the direct broadcast stream 1 sent by APP1, the edge node 1, as a sending end, forwards the related data of the direct broadcast stream 1 to a mixed stream server, the mixed stream server forwards the mixed stream to the edge node 1 after the mixed stream, and the edge node 1 forwards the mixed stream to the RTC for live broadcast, so that data sent by the edge node 1 receiving APP1 may be recorded as a first monitoring node; and then, the edge node 1 forwards data to the mixed flow server to record as a second monitoring node, the mixed flow server forwards data to the edge node 1 to record as a third monitoring node, the edge node 1 forwards data to the RTC live broadcast to record as a fourth monitoring node, and all monitoring nodes of a service monitoring tree of the live broadcast stream 1 when the double mixed flow is constructed are determined.
The live stream receiving and dispatching relation specifically refers to that a service component receives a live stream and forwards the live stream to the outside, and with reference to fig. 2C, the live stream 1 is transmitted to the edge node 1 from the APP1, and then transmitted to the mixed flow server by the edge node 1, and is transmitted to the edge node 1 after being mixed by the mixed flow server, and finally, the mixed flow is transmitted to the live RTC by the edge node 1, so that with reference to the stream transmission direction of the live stream 1, the live stream receiving and dispatching relation of the edge node 1 to the live stream 1 can be determined.
In this embodiment, the first live stream is a certain live stream in the mixed stream, and each live stream in the mixed stream may be used as the first live stream to perform the processing of the corresponding method step in this embodiment.
Step S203, determining a directed connection relation among the plurality of monitoring nodes according to the receiving and sending relation of the live streaming, and constructing a service monitoring tree corresponding to the first live streaming in the mixed flow state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes.
If a certain service assembly receives a stream and forwards the stream to the outside, two monitoring nodes containing the service assembly are linked, and the two monitoring nodes respectively use the service assembly as a monitoring node of a receiving end and the service assembly as a monitoring node of a sending end, so that the directed connection relation among a plurality of monitoring nodes can be determined according to the receiving and sending relation of the live stream, and after the directed connection relation among the plurality of monitoring nodes and the plurality of monitoring nodes is determined, a service monitoring tree corresponding to a first direct-broadcast stream in a mixed flow state is constructed according to the directed connection relation among the plurality of monitoring nodes and the plurality of monitoring nodes. Fig. 2D is a schematic diagram of a service monitoring tree of the live streaming 1 during double-person mixed streaming, as shown in fig. 2D, the service monitoring tree of the live streaming 1 includes four monitoring nodes, and a connection line with an arrow in the service monitoring tree reflects a directional connection relationship between the monitoring nodes.
In this embodiment, all service components corresponding to the live broadcast state are acquired at intervals of a preset duration, and therefore, the constructed service monitoring tree further records a time period corresponding to the live broadcast state.
Step S204, aiming at any monitoring node in the plurality of monitoring nodes, acquiring live streaming data corresponding to the first direct streaming, and storing the live streaming data into the monitoring node.
The specific implementation of this step is similar to step S103 in the embodiment shown in fig. 1, and is not described here again.
Step S205, determining a directional connection relation between the mixed flow related monitoring node and the mixed flow related monitoring node according to the flow transmission direction of the second live flow mixed with the first live flow.
When performing mixed flow, there may be a case of pulling a flow from a far end, as shown in fig. 2C, for an edge node 1, the edge node 1 pulls a broadcast flow 2 from an edge node 2, and in order to embody the mixed flow, when constructing a service monitoring tree of a first broadcast flow, an associated service monitoring tree of a second broadcast flow mixed with the first broadcast flow is also constructed. Specifically, the directional connection relationship between the mixed flow-related monitoring node and the mixed flow-related monitoring node is determined according to the stream transmission direction of the second live stream mixed with the first live stream, where the mixed flow-related monitoring node is a monitoring node determined from the transmission of the second live stream to a service component related to the first live stream, for example, the edge node 2 may transmit data of the second live stream (live stream 2) to the edge node 1 to record as the first mixed flow-related monitoring node, and the edge node 1 forwards data of the live stream 2 to the APP1 to record as the second mixed flow-related monitoring node.
Step S206, determining a service component of the intersection of the first live stream and the second live stream.
A service component, e.g., edge node 1 in fig. 2C, where the first live stream and the second live stream meet for the first time is determined.
Step S207, a service monitoring tree path sent by the first direct-current flow from the intersected service component is obtained.
Mixed flow servers or other service components serving as multi-path stream intersection points cannot be identified by using individual stream names, and in order to avoid missing information when each monitoring tree is connected to the mixed flow servers or other service components, the service monitoring tree paths sent by the converged service components are copied to the positions under each related tree when the service monitoring trees are constructed, that is, all branch flows sent from the converged service components are inherited together, so that in combination with fig. 2D, the service monitoring tree paths sent by the live stream 1 from the edge node 1 need to be acquired.
And S208, constructing an associated service monitoring tree according to the directional connection relation between the mixed flow associated monitoring nodes and the service monitoring tree path.
After determining the mixed flow associated monitoring node, the directional connection relationship between the mixed flow associated monitoring nodes, and obtaining the service monitoring tree path sent by the first direct flow from the intersected service component, an associated service monitoring tree may be constructed according to the mixed flow associated monitoring node, the directional connection relationship between the mixed flow associated monitoring nodes, and the service monitoring tree path, where a tree corresponding to the direct flow 2 shown in fig. 2D is the service monitoring tree associated with the direct flow 1.
And step S209, performing live broadcast processing according to the service monitoring tree.
The specific implementation of this step is similar to step S104 in the embodiment shown in fig. 1, and is not described here again.
In an optional implementation manner of the present invention, the service state may be changed from the mixed flow state to the live flow state, the service component is deleted after the change to the live flow state, and if the change of the service state is detected, the monitoring node corresponding to the first live flow of the service component is updated based on the deleted service component, so as to synchronously update the service monitoring tree corresponding to the first live flow. And if the service monitoring tree is monitored to be changed to a stable state, updating the service state corresponding to the service monitoring tree.
Specifically, after the wheat connection is finished, if the anchor continues live broadcast, the service state of the live broadcast service is changed from the mixed flow state to the live broadcast state, and the live broadcast state is single live broadcast, the service component is deleted, for example, the mixed flow server is deleted, based on the deleted service component, the monitoring node of the service component corresponding to the first live broadcast stream is updated, so as to synchronously update the service monitoring tree corresponding to the first live broadcast stream, wherein a specific implementation process of updating the newly added service component corresponding to the monitoring node of the first live broadcast is similar to the implementation process of determining the monitoring node in step S202, and details are not repeated here. All service components and live streams are kept stable, and the state which is not newly added corresponds to a state mark. When two service states are being switched, the service monitoring tree is maintained in the previous service state, the service state corresponding to the service monitoring tree is not updated until the link changes to a new stable state, each service state corresponds to a state mark, and the updating of the state marks is mainly performed.
The complexity of the system is further improved along with the increase of the service subsequently, and the depth of the service monitoring tree can be expanded accordingly. The service monitoring tree can be constructed in a monitoring page, the live stream identification is used as a search keyword in the monitoring page, and each state mark of the live stream can be obtained and corresponds to live broadcast services in different time periods. A monitoring tree of this stream and the related media streams mixed with it is plotted under each scene, the nodes of the tree representing the data transmission between the two physical components.
If the first live stream is the live stream 2, the specific processing procedure is similar to the processing procedure of the live stream 1, and is not described herein again.
In the embodiment of the invention, the service components of the live broadcast service are stored and displayed by a tree structure (service monitoring tree), so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality are conveniently analyzed, data monitoring and problem troubleshooting are accurately realized, and the service monitoring tree can display the association among the service components in real time and is easy to expand; when the service monitoring tree of the first direct broadcast stream is constructed, the associated service monitoring trees of other direct broadcast streams participating in the mixed stream are constructed at the same time, so that the mixed stream condition can be accurately analyzed by combining the associated service monitoring trees.
Fig. 3A shows a flow diagram of a live processing method according to another embodiment in the present application. As shown in fig. 3A, the method includes the steps of:
step S301, a plurality of service components corresponding to the live broadcast state are obtained.
The live broadcast state is a service state of the live broadcast when the single person broadcasts the live broadcast. Fig. 3B is a schematic structural diagram of a live-to-single service component, and as shown in fig. 3B, the following service components are generally used to serve live services in a live state: the live application, which is usually referred to as a live application, an edge node, and an RTC live used by the anchor, here obtains all service components corresponding to the live state. The specific obtaining manner is similar to step S101 in the embodiment shown in fig. 1, and is not described herein again.
Step S302, according to a stream transmission direction of a first direct stream, determining a plurality of monitoring nodes and determining a direct stream transceiving relationship of a service component to the first direct stream, where each monitoring node includes two service components of the plurality of service components and stream transmission direction information between the two service components.
The streaming direction of the first live stream reflects the streaming situation of the first live stream in different service components, and in general, to be able to transceive a stream requires a pipe end to be created between two service components, the service component sending the live stream and the service component receiving the live stream together determine a stream, and therefore, a plurality of monitoring nodes can be determined according to the streaming direction of the first direct broadcast stream, which is described in conjunction with the structural diagram of the live solo service component shown in fig. 3B, as shown in fig. 3B, the APP1 sends related data of the first live stream (for example, the first live stream is live stream 1) to the edge node 1, the edge node 1 receives related data of the first live stream sent by the APP1, the edge node 1 further serves as a sending end to forward the related data of the first live stream to the RTC live stream, therefore, the data sent by the APP1 received by the edge node 1 can be recorded as a first monitoring node; and forwarding data to the RTC live broadcast by the edge node 1 to be recorded as a second monitoring node, thus determining all monitoring nodes for constructing a single live broadcast service monitoring tree, wherein the monitoring nodes represent data transmission between two service components, and each monitoring node comprises two service components of a plurality of service components and stream transmission direction information between the two service components.
The receiving and sending relationship of the live stream specifically refers to that the service component receives a live stream and forwards the live stream to the outside, and in combination with fig. 3B, the first live stream is transmitted from APP1 to the edge node 1, and then transmitted from the edge node 1 to the RTC live stream, so that in combination with the stream transmission direction of the first live stream, the receiving and sending relationship of the live stream of the edge node 1 to the first live stream can be determined.
Step S303, determining a directed connection relation among the plurality of monitoring nodes according to the receiving and sending relation of the live streaming, and constructing a service monitoring tree corresponding to the first live streaming in the live state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes.
If a certain service assembly receives a stream and forwards the stream to the outside, two monitoring nodes containing the service assembly are linked, and the two monitoring nodes respectively use the service assembly as a monitoring node of a receiving end and the service assembly as a monitoring node of a sending end, so that the directed connection relation among a plurality of monitoring nodes can be determined according to the receiving and sending relation of the live stream, and after the directed connection relation among the plurality of monitoring nodes and the plurality of monitoring nodes is determined, a service monitoring tree corresponding to a first live stream in a live state is constructed according to the directed connection relation among the plurality of monitoring nodes and the plurality of monitoring nodes. Fig. 3C is a schematic diagram of a single live broadcast service monitoring tree, and as shown in fig. 3C, the service monitoring tree constructed for the first live broadcast stream (live broadcast stream 1) includes two monitoring nodes, respectively APP1 to edge node 1. The connection line with the arrow in the service monitoring tree reflects the directed connection relation between the monitoring nodes.
In this embodiment, all service components corresponding to the live broadcast state are acquired at intervals of a preset duration, and therefore, the constructed service monitoring tree further records a time period corresponding to the live broadcast state.
Step S304, aiming at any monitoring node in the plurality of monitoring nodes, acquiring live streaming data corresponding to the first direct streaming, and storing the live streaming data into the monitoring node.
The specific implementation of this step is similar to step S103 in the embodiment shown in fig. 1, and is not described here again.
It should be noted that, the present embodiment may acquire live streaming data and store the live streaming data in the monitoring node while determining the monitoring node.
Step S305, if it is detected that the service state changes to the mixed flow state, based on the newly added service component, updating the monitoring node of the service component corresponding to the first live stream, so as to synchronously update the service monitoring tree corresponding to the first live stream.
In the live broadcast process, if a main broadcast initiates a wheat connecting request to other main broadcasts, the service state is changed to a mixed flow state, the mixed flow state is a state in which multiple people connect wheat to carry out live broadcast, the mixed flow refers to mixing a plurality of different live broadcast streams into one live broadcast stream, and when the service state is switched from the live broadcast state to the mixed flow state, a new service component, such as a mixed flow server, is added, so that the service component can be updated corresponding to the monitoring node of the first live broadcast stream based on the newly added service component, so as to synchronously update the service monitoring tree corresponding to the first live broadcast stream. Fig. 3D is a schematic diagram illustrating a change of the service monitoring tree for switching the live streaming state to the mixed streaming state, as shown in fig. 3D, the service monitoring tree of the live streaming 1 is updated synchronously, and in fig. 3D, the service monitoring tree corresponding to the live streaming 2 is an associated service monitoring tree. The specific implementation process of updating the newly added service component corresponding to the first live broadcast monitoring node is similar to the implementation process of determining the monitoring node in step S302, and is not described here again.
It should be noted that, after the service state changes to the mixed flow state, the associated service monitoring tree of the second live stream related to the first live stream is also recorded synchronously, specifically referring to the construction process of the associated service monitoring tree in the embodiment shown in fig. 2A.
Step S306, if it is monitored that the service monitoring tree changes to a stable state, updating the service state corresponding to the service monitoring tree.
All service components and live streams are kept stable, and the state which is not newly added corresponds to a state mark. When two service states are being switched, the service monitoring tree is maintained in the previous service state, the service state corresponding to the service monitoring tree is not updated until the link changes to a new stable state, each service state corresponds to a state mark, and the updating of the state marks is mainly performed.
It should be noted that, when the service state is switched, pruning and adding are performed on the previous service monitoring tree, that is, the new service monitoring tree in the service state is obtained by adding and pruning the service monitoring tree in the previous service state, it should be emphasized that the service monitoring tree in the previous service state still exists, and is not covered, and is not reconstructed from zero, for example, when the service state is switched from the live broadcast state to the mixed flow state, and the service monitoring tree in the mixed flow state is constructed for the first direct broadcast flow, pruning and adding are performed on the basis of the service monitoring tree in the live broadcast state, as can be known from fig. 3D, the directional connection relationship between the monitoring node "APP 1-edge node 1" and the monitoring node "edge node 1-RTC live broadcast" is disconnected, and the monitoring node "APP 1-edge node 1" does not need to be reconstructed, then, the monitoring node "APP 1-edge node 1" is subjected to the branch increasing.
And step S307, performing live broadcast processing according to the service monitoring tree.
When live broadcast processing is required, a corresponding service monitoring tree can be queried through a live broadcast stream identifier, if the change from a live broadcast state to a mixed flow state is experienced, service monitoring trees in various service states can be queried through the live broadcast stream identifier, the service monitoring trees in each service state correspond to different time periods, the service monitoring trees are tree-shaped structures, service components of live broadcast services are stored and displayed through the tree-shaped structures, specifically, the service monitoring trees corresponding to the first direct broadcast stream are queried and determined, for example, the service monitoring trees can be queried and determined according to the live broadcast stream identifier of the first direct broadcast stream, and live broadcast abnormity analysis and/or live broadcast abnormity positioning are performed according to monitoring nodes in the service monitoring trees and live broadcast stream data stored by the monitoring nodes. Therefore, whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality can be conveniently analyzed, specific reasons of the live broadcast abnormality can be analyzed based on live broadcast stream data recorded in the monitoring node, for example, whether network jitter is abnormal or not can be analyzed through recorded live broadcast stream packet loss information, whether a service component is in fault or not can be analyzed through the state code 404, and the like.
In an optional implementation manner of the present invention, the service state further includes: a cut-off state, wherein the cut-off state can also be considered as a stable state in the live broadcast service, when the anchor finishes the live broadcast, the live broadcast application will send a notification message that the live broadcast is finished, there will be no live broadcast stream transmission any more, and at this time, the cut-off state will be switched to, so the method further includes: and if the service state is switched from the direct flow state to the cutoff state or from the mixed flow state to the cutoff state, cleaning all monitoring nodes. When the current is interrupted, no live stream is transmitted, so that when the current is changed to the interruption state, all monitoring nodes need to be cleared, and then the service monitoring tree is cleared.
In this embodiment, the live streaming state, the mixed streaming state, and the cut-off state are different service states of the same live streaming, different service states can be switched, the service monitoring tree of the first live streaming in the live streaming and the mixed streaming can be recorded, all flow directions of the first direct-broadcasting flow can be tracked through the service monitoring tree, full branched chain coverage is realized, and for a broken flow state, although all monitoring nodes are cleared and the service monitoring tree is cleared, the time period of the first direct-current flow in the outage state is recorded, so that the full-time integrity recording is realized, because the generation and reduction of the monitoring nodes are carried out along with the business flow, the business coupling is realized, in addition, the correlation exists between the monitoring nodes on the service monitoring tree, if a problem occurs in a service component in a certain monitoring node through analysis, the subsequent service component cannot work normally.
In the embodiment of the invention, the service components of the live broadcast service are stored and displayed by using the tree structure (the service monitoring tree), so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality are conveniently analyzed, data monitoring and problem troubleshooting are accurately realized, and the service monitoring tree can display the association among the service components in real time and is easy to expand; the service monitoring trees of the live stream in different service states are recorded, and the service states are easy to distinguish.
Fig. 4 shows a schematic structural diagram of a live broadcast processing apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus includes: the device comprises an acquisition module 401, a determination module 402, a construction module 403, a storage module 404 and a processing module 405.
An obtaining module 401, adapted to obtain a plurality of service components corresponding to the service states;
a determining module 402, adapted to determine a plurality of monitoring nodes and a directional connection relationship between the plurality of monitoring nodes according to a streaming direction of a first direct-broadcast stream, where each monitoring node includes two service components of the plurality of service components and the streaming direction between the two service components;
a building module 403, adapted to build a service monitoring tree corresponding to a first live stream in the service state according to the multiple monitoring nodes and a directed connection relationship between the multiple monitoring nodes;
a storage module 404, adapted to acquire, for any monitoring node in the plurality of monitoring nodes, live streaming data corresponding to the first live streaming, and store the live streaming data in the monitoring node;
and the processing module 405 is adapted to perform live broadcast processing according to the service monitoring tree.
Optionally, if the service state is a mixed flow state, the construction module is further adapted to: determining a directional connection relation between a mixed flow related monitoring node and a mixed flow related monitoring node according to the flow transmission direction of a second live flow mixed with the first live flow;
and constructing an association service monitoring tree according to the directed connection relation between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes.
Optionally, the apparatus further comprises: the determining module is suitable for determining a service component of the first live stream and the second live stream which are intersected; acquiring a service monitoring tree path sent by a first direct-broadcast stream from a converged service component;
the building block is further adapted to: and constructing an associated service monitoring tree according to the directed connection relation between the mixed flow associated monitoring nodes and the service monitoring tree path.
Optionally, the apparatus further comprises: and the updating module is suitable for updating the monitoring nodes of the service components corresponding to the first live stream based on the newly added service components or the deleted service components so as to synchronously update the service monitoring tree corresponding to the first live stream if the change of the service state is detected.
Optionally, the update module is further adapted to: and if the service monitoring tree is monitored to be changed to a stable state, updating the service state corresponding to the service monitoring tree.
Optionally, the determining module is further adapted to: determining a live stream transceiving relation of the service component to the first direct stream according to the stream transmission direction of the first direct stream;
and determining a directed connection relation among the plurality of monitoring nodes according to the receiving and sending relation of the live stream.
Optionally, the service status includes: direct seeding state and mixed fluid state.
Optionally, the service state further includes: breaking the fluid state;
the device also includes: and the cleaning module is suitable for cleaning all monitoring nodes if the service state is switched from the direct-broadcasting state to the cutoff state or from the mixed-flow state to the cutoff state.
Optionally, the live streaming data includes: the method comprises the steps of live stream identification, live stream transmission rate, live stream packet loss information and a state code.
Optionally, the processing module is further adapted to: inquiring and determining a service monitoring tree corresponding to the first direct-current flow;
and performing live broadcast abnormal analysis and/or live broadcast abnormal positioning according to the monitoring nodes in the service monitoring tree and live broadcast stream data stored by the monitoring nodes.
According to the device provided by the embodiment of the invention, a plurality of service components corresponding to the service state are obtained; determining a plurality of monitoring nodes and a directed connection relation between the plurality of monitoring nodes according to the streaming transmission direction of the first live streaming, and constructing a service monitoring tree corresponding to the first live streaming in a service state according to the plurality of monitoring nodes and the directed connection relation between the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and streaming transmission direction information between the two service components; the method comprises the steps that for any monitoring node in a plurality of monitoring nodes, live streaming data corresponding to a first live streaming is obtained and stored in the monitoring node; and carrying out live broadcast processing according to the service monitoring tree. The service monitoring tree in the scheme stores and displays the service components of the live broadcast service in a tree structure, so that whether live broadcast is abnormal or not and the specific occurrence position of the live broadcast abnormality are conveniently analyzed, data monitoring and problem troubleshooting are accurately performed, the service monitoring tree can display the association among the service components in real time, and the expansion is easy; traffic states are easily distinguished.
The embodiment of the application also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the live broadcast processing method in any method embodiment.
Fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present application, where the specific embodiment of the present application does not limit a specific implementation of the computing device.
As shown in fig. 5, the computing device may include: a processor (processor)502, a Communications Interface 504, a memory 506, and a communication bus 508.
Wherein: the processor 502, communication interface 504, and memory 506 communicate with one another via a communication bus 508.
A communication interface 504 for communicating with network elements of other devices, such as clients or other servers.
The processor 502 is configured to execute the program 510, and may specifically perform relevant steps in the above-described live broadcast processing method embodiment.
In particular, program 510 may include program code that includes computer operating instructions.
The processor 502 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present application. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 506 for storing a program 510. The memory 506 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 510 may specifically be configured to enable the processor 502 to execute the live processing method in any of the method embodiments described above. For specific implementation of each step in the program 510, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing live broadcast processing embodiment, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present application are not directed to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and any descriptions of specific languages are provided above to disclose the best modes of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the embodiments of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Moreover, those of skill in the art will understand that although some embodiments herein include some features included in other embodiments, not others, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limited to the order of execution unless otherwise specified.

Claims (13)

1. A live broadcast processing method, comprising:
acquiring a plurality of service components corresponding to the service state;
determining a plurality of monitoring nodes and a directed connection relation between the plurality of monitoring nodes according to a streaming transmission direction of a first live stream, and constructing a service monitoring tree corresponding to the first live stream in the service state according to the plurality of monitoring nodes and the directed connection relation between the plurality of monitoring nodes, wherein each monitoring node comprises two service components in the plurality of service components and streaming transmission direction information between the two service components;
for any monitoring node in the plurality of monitoring nodes, acquiring live streaming data corresponding to the first live streaming, and storing the live streaming data into the monitoring node;
and carrying out live broadcast processing according to the service monitoring tree.
2. The method of claim 1, wherein if the traffic state is a mixed flow state, the method further comprises:
determining a directional connection relation between a mixed flow associated monitoring node and a mixed flow associated monitoring node according to the stream transmission direction of a second live stream mixed with the first live stream;
and constructing an association service monitoring tree according to the directed connection relation between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes.
3. The method of claim 2, wherein before constructing the association service monitoring tree according to the directed connection relationship between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes, the method further comprises:
determining a service component where the first live stream and the second live stream meet;
acquiring a service monitoring tree path sent by the first direct-broadcast stream from a converged service component;
the constructing of the association service monitoring tree according to the directed connection relationship between the mixed flow association monitoring nodes and the mixed flow association monitoring nodes further comprises:
and constructing an associated service monitoring tree according to the directed connection relation between the mixed flow associated monitoring nodes and the service monitoring tree path.
4. The method according to any one of claims 1-3, wherein the method further comprises: if the change of the service state is detected, updating the monitoring nodes of the service components corresponding to the first direct-current flow based on the newly added service components or the deleted service components so as to synchronously update the service monitoring tree corresponding to the first direct-current flow.
5. The method of claim 4, wherein the method further comprises: and if the service monitoring tree is monitored to be changed to a stable state, updating the service state corresponding to the service monitoring tree.
6. The method of any of claims 1-5, wherein the determining a directed connection relationship between the plurality of monitoring nodes according to a streaming direction of a first live stream further comprises:
determining a live stream receiving and sending relation of a service component to a first direct stream according to the stream transmission direction of the first direct stream;
and determining the directed connection relation among the plurality of monitoring nodes according to the receiving and sending relation of the live stream.
7. The method of any of claims 1-6, wherein the traffic state comprises: direct seeding state and mixed fluid state.
8. The method of claim 7, wherein the traffic state further comprises: breaking the fluid state;
the method further comprises the following steps: and if the service state is switched from the direct flow state to the cutoff state or from the mixed flow state to the cutoff state, cleaning all monitoring nodes.
9. The method of any of claims 1-8, wherein the live streaming data comprises: the method comprises the steps of live stream identification, live stream transmission rate, live stream packet loss information and a state code.
10. The method of any of claims 1-9, wherein the live processing according to the service monitoring tree further comprises:
inquiring and determining a service monitoring tree corresponding to the first direct-current flow;
and performing live broadcast abnormity analysis and/or live broadcast abnormity positioning according to the monitoring nodes in the service monitoring tree and live broadcast stream data stored by the monitoring nodes.
11. A live processing apparatus comprising:
the acquisition module is suitable for acquiring a plurality of service components corresponding to the service states;
the device comprises a determining module, a judging module and a processing module, wherein the determining module is suitable for determining a plurality of monitoring nodes and a directed connection relation among the monitoring nodes according to the streaming transmission direction of a first direct-current flow, and each monitoring node comprises two service components in the service components and streaming transmission direction information among the two service components;
the building module is suitable for building a service monitoring tree corresponding to a first live stream in the service state according to the plurality of monitoring nodes and the directed connection relation among the plurality of monitoring nodes;
the storage module is suitable for acquiring live streaming data corresponding to the first direct streaming for any monitoring node in the plurality of monitoring nodes and storing the live streaming data into the monitoring node;
and the processing module is suitable for carrying out live broadcast processing according to the service monitoring tree.
12. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the live broadcast processing method of any one of claims 1-10.
13. A computer storage medium having stored therein at least one executable instruction that causes a processor to perform operations corresponding to the live processing method of any one of claims 1-10.
CN202210563223.3A 2022-05-19 2022-05-19 Live broadcast processing method, live broadcast processing device, computing equipment and computer storage medium Active CN115037966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210563223.3A CN115037966B (en) 2022-05-19 2022-05-19 Live broadcast processing method, live broadcast processing device, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210563223.3A CN115037966B (en) 2022-05-19 2022-05-19 Live broadcast processing method, live broadcast processing device, computing equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN115037966A true CN115037966A (en) 2022-09-09
CN115037966B CN115037966B (en) 2024-03-12

Family

ID=83120396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210563223.3A Active CN115037966B (en) 2022-05-19 2022-05-19 Live broadcast processing method, live broadcast processing device, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115037966B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080001145A (en) * 2006-06-29 2008-01-03 주식회사 케이티 Media service monitoring system using the real-time multicast forwarding tree and multicast traffic, and method thereof
CN108156475A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 The monitoring method and device of a kind of net cast
CN108667691A (en) * 2018-06-25 2018-10-16 北京小度信息科技有限公司 Network status monitoring method, apparatus, equipment and computer readable storage medium
CN109862379A (en) * 2018-12-29 2019-06-07 北京奇艺世纪科技有限公司 A kind of log processing method, device, mobile terminal and storage medium
CN113747188A (en) * 2021-09-03 2021-12-03 百果园技术(新加坡)有限公司 Link monitoring system and method for video live broadcast quality
WO2022062407A1 (en) * 2020-09-27 2022-03-31 浙江三维利普维网络有限公司 Link monitoring method and apparatus, and storage medium and electronic apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080001145A (en) * 2006-06-29 2008-01-03 주식회사 케이티 Media service monitoring system using the real-time multicast forwarding tree and multicast traffic, and method thereof
CN108156475A (en) * 2017-12-29 2018-06-12 北京奇虎科技有限公司 The monitoring method and device of a kind of net cast
CN108667691A (en) * 2018-06-25 2018-10-16 北京小度信息科技有限公司 Network status monitoring method, apparatus, equipment and computer readable storage medium
CN109862379A (en) * 2018-12-29 2019-06-07 北京奇艺世纪科技有限公司 A kind of log processing method, device, mobile terminal and storage medium
WO2022062407A1 (en) * 2020-09-27 2022-03-31 浙江三维利普维网络有限公司 Link monitoring method and apparatus, and storage medium and electronic apparatus
CN113747188A (en) * 2021-09-03 2021-12-03 百果园技术(新加坡)有限公司 Link monitoring system and method for video live broadcast quality

Also Published As

Publication number Publication date
CN115037966B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN105897507B (en) The condition detection method and device of node device
CN104536890B (en) Test system, method and apparatus
US20110317700A1 (en) Method for real-time synchronization of arp record in rsmlt cluster
CN105867837A (en) Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
JP4571182B2 (en) NETWORK DEVICE MANAGEMENT DEVICE, NETWORK DEVICE MANAGEMENT METHOD, NETWORK DEVICE, PROGRAM USED FOR THEM, AND SYSTEM
WO2016127884A1 (en) Message pushing method and device
CN109194559A (en) Method of multicasting and VTEP equipment
CN107342809B (en) Service performance monitoring and fault positioning method and device
CN103731758B (en) A kind of video stream transmission method and device
CN111800354A (en) Message processing method and device, message processing equipment and storage medium
CN110913026A (en) Message transmission method, device, electronic equipment and medium
CN104954321B (en) A kind of connection switching method, apparatus and system
CN105337746A (en) Multicast data transmission method and apparatus
CN114926163A (en) Resource cross-chain transfer method and device
CN110460482B (en) Traffic acquisition method, device, server and medium
CN115037966A (en) Live broadcast processing method and device, computing equipment and computer storage medium
CN113259408A (en) Data transmission method and system
CN114826952A (en) Information processing method and device for OAM detection and node equipment
CN113904972A (en) Path detection method, device, controller and PE equipment
WO2018121421A1 (en) Cross-domain transmission method, device, and system for stream data
CN107819846B (en) Remote connection method and device
CN114615248A (en) Remote operation control method and device, electronic equipment and storage medium
CN107248935B (en) System and method for network management to discover and monitor network elements
US9935900B2 (en) Method for providing protection switching service in virtual tenant network and controller therefor
CN112751893A (en) Message track data processing method and device and electronic equipment

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