CN114501073B - Live broadcast source returning method and device - Google Patents

Live broadcast source returning method and device Download PDF

Info

Publication number
CN114501073B
CN114501073B CN202210151223.2A CN202210151223A CN114501073B CN 114501073 B CN114501073 B CN 114501073B CN 202210151223 A CN202210151223 A CN 202210151223A CN 114501073 B CN114501073 B CN 114501073B
Authority
CN
China
Prior art keywords
source
path
stream
node
live
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
CN202210151223.2A
Other languages
Chinese (zh)
Other versions
CN114501073A (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 CN202210151223.2A priority Critical patent/CN114501073B/en
Publication of CN114501073A publication Critical patent/CN114501073A/en
Priority to PCT/CN2022/144224 priority patent/WO2023155617A1/en
Application granted granted Critical
Publication of CN114501073B publication Critical patent/CN114501073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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/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/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • 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
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available

Landscapes

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

Abstract

The application provides a live broadcast source returning method and a device, wherein the live broadcast source returning method comprises the following steps: when receiving a source return request sent by an edge node, the source return server can determine at least one alternative source return path according to the stream distribution information, and then select a target source return path from the at least one alternative source return path by combining network parameter information of each node in the content distribution network, so that the edge node can perform source return according to the selected target source return path, and pull the required live stream. Therefore, the target source return paths for returning sources can be dynamically selected by combining the stream distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live streams are scattered, the bandwidth is reasonably utilized, the waste of the bandwidth or the overlarge bandwidth pressure is avoided, the target source return paths combine the stream distribution information and the network parameter information, the source return paths with better source return conditions are selected to return to the edge nodes, the source return efficiency and the success rate are greatly improved, and the cost and the efficiency are reduced.

Description

Live broadcast source returning method and device
Technical Field
The application relates to the technical field of live broadcasting, in particular to a live broadcasting source returning method. The application also relates to a live broadcast source return device, a computing device and a computer readable storage medium.
Background
With the rapid development of computer and internet technologies, the live broadcast industry rapidly develops, the live broadcast audience is continuously expanded, and various live broadcast layers are endless. In the live broadcast process, live broadcast streams pushed by a main broadcasting end can be provided for users to watch through a CDN (Content Deli very Network, content distribution network), the traditional CDN carries out large-scale distribution networks through a three-level tree structure of a source station, a secondary source station and edge nodes, when live broadcast access is carried out, the CDN cannot distribute the live broadcast streams to all the edge nodes in advance, and when a user needs to access a certain live broadcast stream, the edge nodes can carry out source return, namely the edge nodes can pull the required live broadcast streams to the source station or the secondary source station in real time.
In the prior art, the back source paths of all edge nodes are fixed in advance, namely, the path through which the edge nodes pull the required live stream is fixed in advance, the back source paths of the edge nodes are solidified, bandwidth waste or overlarge bandwidth pressure can be caused, and the back source cost is increased; in addition, if the pre-fixed source return path is abnormal, repeated source return attempts may be performed, and source return failure may be caused, so that source return efficiency and source return success rate are greatly affected.
Disclosure of Invention
In view of this, the embodiment of the application provides a live broadcast source-returning method. The application also relates to a live broadcast source returning device, a computing device and a computer readable storage medium, which are used for solving the technical problems of high source returning cost, low source returning efficiency and low source returning success rate in the prior art.
According to a first aspect of an embodiment of the present application, there is provided a live feed back method, applied to a feed back server, including:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
acquiring stream distribution information corresponding to a stream identifier of a live stream to be acquired, and determining at least one alternative source return path corresponding to a source return request according to the stream distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target back source path from at least one alternative back source path according to the network parameter information of each node;
and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
According to a second aspect of the embodiment of the present application, there is provided a live feed back device, applied to a feed back server, including:
The receiving module is configured to receive a source returning request sent by the edge node, wherein the source returning request carries a stream identifier of the live stream to be acquired;
the determining module is configured to acquire stream distribution information corresponding to the stream identifier of the live stream to be acquired, and determine at least one alternative source return path corresponding to the source return request according to the stream distribution information;
the selection module is configured to acquire network parameter information of each node in the content distribution network, and select a target back source path from at least one alternative back source path according to the network parameter information of each node;
and the return module is configured to return the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition on the live stream to be acquired.
According to a third aspect of embodiments of the present application, there is provided a computing device comprising:
a memory and a processor;
the memory is for storing computer executable instructions and the processor is for executing the computer executable instructions to implement the method of:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
acquiring stream distribution information corresponding to a stream identifier of a live stream to be acquired, and determining at least one alternative source return path corresponding to a source return request according to the stream distribution information;
Acquiring network parameter information of each node in a content distribution network, and selecting a target back source path from at least one alternative back source path according to the network parameter information of each node;
and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium storing computer executable instructions which, when executed by a processor, implement the steps of any live feed back method.
According to the live broadcast source returning method provided by the application, the source returning server can receive the source returning request sent by the edge node, wherein the source returning request carries the stream identifier of the live broadcast stream to be acquired; acquiring stream distribution information corresponding to a stream identifier of a live stream to be acquired, and determining at least one alternative source return path corresponding to a source return request according to the stream distribution information; acquiring network parameter information of each node in a content distribution network, and selecting a target back source path from at least one alternative back source path according to the network parameter information of each node; and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
In this case, when the source return server receives the source return request sent by the edge node, at least one alternative source return path can be determined according to the flow distribution information, and then, a target source return path is selected from the at least one alternative source return path by combining with the network parameter information of each node in the content distribution network, so that the edge node can perform source return according to the selected target source return path, and pull the required live stream. Therefore, the method can dynamically select the target source return paths for returning sources by combining the stream distribution information and the network parameter information of each node in the content distribution network, disperse the sink nodes of different live streams, reasonably utilize the bandwidth, avoid the waste of the bandwidth or the overlarge bandwidth pressure, combine the stream distribution information and the network parameter information with the selected target source return paths, select the source return paths with better source return conditions and return the source return paths to the edge nodes, greatly improve the source return efficiency and the success rate, and reduce the cost and enhance the efficiency.
Drawings
FIG. 1 is a flowchart of a live feed back method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a content distribution network according to an embodiment of the present application;
FIG. 3 is a flowchart of another live feed back method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a live broadcast source-returning device according to an embodiment of the present application;
FIG. 5 is a block diagram of a computing device according to one embodiment of the application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
The terminology used in the one or more embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the application. As used in one or more embodiments of the application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of the application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of one or more embodiments of the application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
First, terms related to one or more embodiments of the present application will be explained.
First kilometer: it means that the backbone network on the internet is very clear, and only the first kilometer/last kilometer network to which the user has access is very unstable, most of the network problems are here.
And (3) source returning: after the user has accessed nearby the first kilometer, if the node does not have the required live stream, a pull stream needs to be requested to the higher-level node, and this action is called source return. In the embodiment of the application, the source station is a server for uploading live broadcast content in real time by a host, the edge node is a server for finally watching live broadcast by a user, and one or more layers of intermediate source nodes (namely, secondary source stations) are arranged between the source station and the edge node, and the intermediate source nodes are also called as relay servers. When a user accesses the edge node, the edge node may not have the required live stream, and the edge node needs to request the intermediate source node of the upper layer step by step until the source station to pull the relevant live stream, and the process is the source return.
Content distribution network (Content Deli very Network, content distribution network): the content distribution network is constructed on the network, and by means of the edge nodes (namely the edge servers) deployed in various places, the users can obtain the required content nearby through the load balancing, content distribution, scheduling and other functional modules of the central scheduling server, so that network congestion is reduced, and the access response speed and hit rate of the users are improved. The CDN includes an edge node (OC), an intermediate Source (SOC) node, and a source station, the edge node providing user access capability in the CDN, the intermediate source node providing back source aggregation capability in the CDN. The intermediate source nodes are divided by areas and can comprise North China SOC, east China SOC, south China SOC, southwest SOC and North China SOC, and the edge nodes can be divided based on telecom operators which comprehensively provide Internet access service, information service and value added service for wide users.
It should be noted that, in the conventional CDN, a large-scale distribution network is performed through a three-level tree structure of source stations, intermediate source nodes, and edge nodes, the back sources among the edge nodes, the intermediate source nodes, and the source stations are all fixed in advance according to configuration, for a certain edge node, only a path that is fixed in advance can be used, for example, the back sources are performed from the edge node to a certain intermediate source node, and then the back sources are performed from the intermediate source node to the source stations, so that the back source paths from the edge nodes to the source stations are all cured, and cannot be timely adjusted according to traffic changes and system resource changes, so that bandwidth cannot be reasonably utilized, bandwidth waste or excessive bandwidth pressure can be caused, all pressures can be converged to a certain intermediate source node and source station, and when a certain intermediate source node or source station fails, the influence is huge.
Therefore, the embodiment of the application provides a live broadcast source returning method, which can change a solidified source returning mode into a real-time dynamic mode, disperse convergence points of different live streams in a source returning process, perform personalized source returning path selection according to the play quantity of the live streams, reduce the pressure of an intermediate source node and a source station, reduce source returning cost and reduce the fault influence surface of the intermediate source node or the source station.
In the present application, a live broadcast source returning method is provided, and the present application relates to a live broadcast source returning device, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments.
Fig. 1 shows a flowchart of a live broadcast source-returning method according to an embodiment of the present application, which is applied to a source-returning server, and specifically includes the following steps:
step 102: and receiving a source returning request sent by the edge node, wherein the source returning request carries a stream identifier of the live stream to be acquired.
In particular, an edge node may refer to an edge server deployed throughout a content distribution network that provides user access capabilities. The back source request refers to a request initiated by the edge node to the back source server when the to-be-acquired live stream which is required to be acquired by the user does not exist in the edge node, and the back source request can carry the stream identifier of the to-be-acquired live stream, so that the back source server can return a back source path which can not acquire the to-be-acquired live stream to the edge node.
The source-returning server may be a server capable of providing source-returning service, that is, a server capable of receiving a source-returning request sent by an edge node, determining a path for source returning, and returning the path to the edge node; the stream identifier of the live stream to be acquired may uniquely identify the live stream to be acquired, e.g. the stream identifier of the live stream to be acquired may be a stream name of the live stream to be acquired.
It should be noted that, when a user enters a living broadcast room through a viewer end to request to allocate an edge node to a central scheduling server, the viewer end of the user may pull a stream to the allocated edge node, and when the edge node does not have a living broadcast stream of the living broadcast room, a source return needs to be performed, at this time, the edge node may send a source return request to a source return server, where the source return request carries a stream identifier of the living broadcast stream of the living broadcast room.
By way of example, fig. 2 shows a schematic structural diagram of a content distribution network according to an embodiment of the present application, where, as shown in fig. 2, the content distribution network includes a source station: ROOT, intermediate source node: l1-01, L1-02, edge node: l2-01, L2-02, L2-03, L2-04. Each anchor can push the corresponding live stream to the source station ROOT through the anchor end held by the anchor. Assuming that the audience A enters the live broadcasting room of the anchor A, the edge node distributed by the content distribution network is L2-01, no live stream A corresponding to the anchor A exists in the edge node L2-01, and at the moment, the edge node L2-01 can send a source return request to the source return server, wherein the source return request carries the stream identification of the live stream A.
In the embodiment of the application, when the live stream to be acquired, which is required to be acquired by a user, does not exist in the edge node, a source return request can be sent to the source return server, and the source return server can receive the source return request of the edge node so as to determine that the corresponding source return path is returned to the edge node later, so that the edge node can acquire the required live stream, and the live stream which is required to be watched by the user can be successfully pulled.
Step 104: and acquiring stream distribution information corresponding to the stream identifier of the live stream to be acquired, and determining at least one alternative source return path corresponding to the source return request according to the stream distribution information.
Specifically, the stream distribution information may refer to distribution information of each live stream in the content distribution network, where the stream distribution information may include distribution nodes of the live streams in the content distribution network, and may further include information such as the number of viewers of the live streams.
It should be noted that after a node in the content distribution network pulls a live broadcast stream, the pulled live broadcast stream may be stored locally in the node, and if the same live broadcast stream needs to be pulled again later, the node may directly pull the live broadcast stream information stored in the node, and the node may report the live broadcast stream information stored in the node to the stream information server, so that the stream information server may store live broadcast stream information stored in each node in the content distribution network, and the current pulling times of each live broadcast stream, that is, the current number of viewers, that is, the playing amount.
In practical application, after receiving the source return request sent by the edge node, the source return server may acquire corresponding stream distribution information from the stream information server according to the stream identifier of the live stream to be acquired carried in the source return request, and then may determine at least one alternative source return path corresponding to the source return request according to the acquired stream distribution information.
In an optional implementation manner of this embodiment, the stream distribution information includes at least one distribution node of the live stream to be acquired; according to the flow distribution information, at least one alternative source return path corresponding to the source return request is determined, and the specific implementation process can be as follows:
determining each path from the edge node to at least one distribution node of the live stream to be acquired;
and taking each determined path as at least one alternative back source path corresponding to the back source request.
It should be noted that, the stream information server may store live stream information stored in each node in the content distribution network, that is, which node has which live streams distributed thereon, or which live streams are distributed in which nodes.
In practical application, after receiving the back source request sent by the edge node, the back source server may obtain at least one distribution node of the live stream to be obtained from the stream information server according to the stream identifier of the live stream to be obtained carried in the back source request, that is, which nodes in the content distribution network store the live stream to be obtained. Therefore, the distribution nodes included in the obtained stream distribution information are nodes storing the live streams to be obtained, that is, the required live streams to be obtained can be pulled in the distribution nodes of the live streams to be obtained, at this time, all paths from the edge nodes to at least one distribution node of the live streams to be obtained can be exhausted, and all determined paths are taken as at least one alternative source return path corresponding to the source return request.
Along the above example, the edge node L2-01 sends a source return request to the source return server, where the source return server obtains the stream distribution information corresponding to the live stream a from the stream information server as follows: the distribution node of the live stream A is a source station. At this point, each path from the edge node L2-01 to the source station may be exhausted, and at least one alternative back source path is obtained, as shown in fig. 2, paths 1: edge node L2-01 to intermediate source node L1-01 to source station ROOT, path 2: edge node L2-01 to intermediate source node L1-02 to source station ROOT, path 3: edge node L2-01 to source ROOT.
In the embodiment of the application, when the back source server receives the back source request sent by the edge node, at least one distribution node of the live stream to be acquired carried in the back source request can be acquired from the stream information server, each path from the edge node to the at least one distribution node of the live stream to be acquired is exhausted, each determined path is used as at least one alternative back source path corresponding to the back source request, the end points of each obtained alternative path are all distribution nodes of the live stream to be acquired, any alternative path is a back source path capable of pulling the live stream to be acquired, the determined alternative paths can be pulled to the live stream to be acquired, and the success rate of the back source of the live stream is ensured.
Step 106: network parameter information of each node in the content distribution network is obtained, and a target back source path is selected from at least one alternative back source path according to the network parameter information of each node.
Specifically, the network parameter information is information for evaluating a network environment of at least one alternative back source path, the network parameter information includes information related to the network environment, such as network bandwidth, packet loss rate, round trip delay, node congestion degree, and the like, of a machine room where a node is located, and the network parameter information of each node in one alternative back source path can indicate the network environment of the alternative back source path.
It should be noted that, the machine room where each node in the content distribution network is located may send a test message to the machine room where other nodes are located, so as to test the network situation of itself, such as packet loss rate, network delay, etc.; in addition, each node in the content distribution network can acquire the current network bandwidth in real time and the frequency information currently selected as the back source path, and then the node can report the network parameter information such as the network condition acquired by the test, the network bandwidth acquired in real time, the frequency information currently selected as the back source path and the like to the basic information server, and the network parameter information of each node in the content distribution network is stored through the basic information server.
In the embodiment of the application, the back source server can acquire the network parameter information of each node in the content distribution network from the basic information server, and then select the target back source path from at least one alternative back source path according to the network parameter information of each node, so as to take the path with better network condition in the at least one alternative back source path as the final back source path. Therefore, the target source return paths for returning sources can be dynamically selected, the sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the waste of the bandwidth or the overlarge bandwidth pressure is avoided, the selected target source return paths are combined with the network parameter information of each node, the source return paths with better source return conditions can be selected to return to the edge nodes, the source return efficiency and the success rate are greatly improved, and the cost and the efficiency are reduced.
In an optional implementation manner of this embodiment, the stream distribution information includes the number of viewers to obtain the live stream; according to the network parameter information, selecting a target back source path from at least one alternative back source path, wherein the specific implementation process can be as follows:
determining the number of source-returning hops corresponding to a source-returning request according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information, wherein the number of source-returning hops is the number of hops undergone from an edge node to a source station;
And selecting a target back source path from at least one alternative back source path by combining the network parameter information and the back source hop number.
It should be noted that, the number of viewers of the live stream to be acquired may represent the current play amount of the live stream to be acquired, and the number of source-returning hops of the source-returning path may be controlled by the number of viewers of the live stream to be acquired, where the number of source-returning hops is the number of hops undergone from the edge node to the source station, for example, from the edge node to the source station, the number of source-returning hops is 1, from the edge node to the intermediate source node to the source station, and the number of source-returning hops is 2.
In practical application, the back source server can determine at least one alternative back source path according to the distribution node of the live stream to be acquired, then can determine the back source skip number corresponding to the back source request according to the number of viewers of the live stream to be acquired included in the stream distribution information, and then combines the network parameter information and the back source skip number to screen out a final target back source path from the at least one alternative back source path.
In the embodiment of the application, the number of the back source hops and the network parameter information of each node in the content distribution network can be combined, the target back source path for finally carrying out back source is dynamically selected from at least one alternative back source path, the sink nodes of different live streams are scattered, the bandwidth is reasonably utilized, the bandwidth back source convergence ratio is higher, the bandwidth waste or the bandwidth pressure is avoided, the selected target back source path is combined with the distribution nodes and the number of viewers of the live streams to be acquired in the stream distribution information, and the network parameter information of each node in the content distribution network, the back source path with better back source condition can be selected to return to the edge node, the back source efficiency and the success rate are greatly improved, and the cost and the efficiency are reduced.
In an optional implementation manner of this embodiment, according to the number of viewers of the live stream to be obtained included in the stream distribution information, the number of source-back hops corresponding to the source-back request is determined, and the specific implementation process may be as follows:
determining that the number of source jump back times is a first value under the condition that the number of people watched is smaller than a threshold value of the number of people;
determining that the number of the source-returning hops is a second numerical value under the condition that the number of the watched persons is larger than or equal to a threshold value of the number of the watched persons;
wherein the second value is greater than the first value.
Specifically, the number of people threshold may be a preset value, which is used to determine whether the number of viewers waiting to acquire the live stream is more or not, and whether congestion is easily caused, for example, the number of people threshold may be 100, 500, 1000, and the like. The first value and the second value may be preset values, where the first value is used to indicate a number of source-back hops corresponding to the live-broadcast source-back when the number of viewers is small, and the second value is used to indicate a number of source-back hops corresponding to the live-broadcast source-back when the number of viewers is large, so that the second value may be set to any value greater than the first value, and the second value is smaller than the number of levels of nodes included in the content distribution network.
It should be noted that, the back source server may determine the type of cold and hot streams of the live stream to be obtained according to the number of viewers of the live stream to be obtained, if the live stream to be obtained is a hot stream, it is indicated that the number of viewers is more, and the number of back source hops of the back source path needs to be increased, so as to improve the back source convergence ratio; if the live stream to be acquired is cold stream, the number of viewers is small, and the source returning can be directly carried out from the edge node to the source station, namely the number of source returning hops of the source returning path is reduced, so that the bandwidth of the intermediate source node is reduced.
By way of example, assuming that the number of viewers to obtain the live stream is less than a threshold number of viewers, it may be determined that the number of source hops back is level 1, i.e., directly from the edge node to the source station; assuming that the number of viewers is equal to or greater than the threshold number of viewers, it may be determined that the number of source hops back is level 2, i.e., from the edge node to the intermediate source node to the source station.
In the embodiment of the application, when the number of the viewers of the live stream to be acquired is small, the small number of the back source jump numbers can be set, and when the number of the viewers of the live stream to be acquired is large, the large number of the back source jump numbers can be set, so that the back source convergence ratio is improved, the bandwidth is reasonably utilized, and the bandwidth waste or the bandwidth pressure is avoided.
In an optional implementation manner of this embodiment, in combination with the network parameter information and the number of source-back hops, a target source-back path is selected from at least one alternative source-back path, and the specific implementation process may be as follows:
selecting an initial candidate path corresponding to the number of source-back hops from at least one candidate source-back path;
under the condition that the initial candidate path is one, taking the initial candidate path as a target source return path;
and under the condition that the number of the initial candidate paths is at least two, selecting a target back-source path from the at least two initial candidate paths according to the network parameter information.
It should be noted that, at least one alternative back source path is obtained based on the distribution node of the live stream to be obtained, the end point of each obtained alternative path is the distribution node of the live stream to be obtained, and any alternative path is a back source path capable of being pulled to the required live stream, so that after the required back source hop number is determined according to the number of viewers of the live stream to be obtained, an initial candidate path corresponding to the back source hop number can be screened out from the at least one alternative back source path.
In practical application, if the initial candidate path screened based on the number of the source return hops is one, the initial candidate path can be directly used as a final target source return path; if the number of the initial candidate paths screened based on the number of the source return hops is at least two, network parameter information can be further combined, and then a target source return path is screened from the at least two initial candidate paths.
Along the above example, at least one alternative back source path is path 1: edge node L2-01 to intermediate source node L1-01 to source station ROOT, path 2: edge node L2-01 to intermediate source node L1-02 to source station ROOT, path 3: edge node L2-01 to source ROOT. Assuming that the number of back source hops determined based on the number of viewers to acquire the live stream is 1 level, it may be determined that the initial candidate path is path 3 at this time: the edge node L2-01 is connected to the source station ROOT, and the path 3 is the target source return path because there is only one initial candidate path. Assuming that the number of the source-back hops determined based on the number of viewers of the live stream to be acquired is 2, it may be determined that the initial candidate path is path 1: edge node L2-01 to intermediate source node L1-01 to source station ROOT, path 2: the edge node L2-01 to the intermediate source node L1-02 to the source station ROOT, as the number of the initial candidate paths is two, the final target source return paths can be screened out from the paths 1 and 2 according to the network parameter information.
In the embodiment of the application, the initial candidate path can be screened from at least one alternative return path according to the determined return source hop number, if the screened initial candidate paths are at least two, the network parameter information can be further combined, the final target return path can be screened from the initial candidate paths, the target return path for returning is dynamically selected in a multi-layer progressive screening mode, the matching degree of the screened target return path and the actual return source environment is improved, the return source efficiency and the success rate are greatly improved, and the cost and the efficiency are reduced.
In an optional implementation manner of this embodiment, according to the network parameter information, a target source return path is selected from at least two initial candidate paths, and the specific implementation process may be as follows:
determining a path to be screened from at least two initial candidate paths;
and under the condition that the network parameter information of each node included in the path to be screened accords with the preset network condition, taking the path to be screened as the path to be selected, and determining a target back source path according to the path to be selected.
Specifically, the path to be screened is any one of at least two initial candidate paths; the preset network condition may be a preset condition for judging whether the network parameter information of the node supports the source return, for example, the preset network condition may be that the bandwidth is higher than 1.5G, the packet loss rate is less than 5%, and the round trip delay is less than 0.1 seconds.
It should be noted that, one of the at least two initial candidate paths may be selected arbitrarily as a path to be screened, whether the network parameter information of each node included in the path to be screened meets the preset network condition is determined, if the network parameter information of each node included in the path to be screened meets the preset network condition, it is indicated that the network environment of each node included in the path to be screened is good, and the network requirements of the return source are met, so that the live broadcast return source can be supported.
Along the above example, assume the initial candidate path is path 1: edge node L2-01 to intermediate source node L1-01 to source station ROOT, path 2: edge node L2-01 to intermediate source node L1-02 to source station ROOT. Assuming that each node included in the path 1 and the path 2 accords with a preset network condition, the path 1 and the path 2 can be used as a to-be-selected path at this time, and then the target back-source path can be further determined according to the to-be-selected path.
In the embodiment of the application, after the initial candidate path is screened out from at least one alternative back source path, the path to be screened out from the initial candidate paths can be further screened out according to the network parameter information of each node included in each initial candidate path, the final target back source path can be further screened out from the paths to be screened out later, the target back source path for back source is dynamically selected in a multi-layer progressive screening mode, the matching degree of the screened target back source path and the actual back source environment is improved, the back source efficiency and the success rate are greatly improved, and the cost and the efficiency are reduced.
One possible implementation manner is that the selected path to be selected is one, and the selected path to be selected can be directly used as a final target source return path.
In another possible implementation manner, if the number of the screened paths to be selected is at least two, a final target source return path can be determined according to each path to be selected, that is, the number of the paths to be selected is at least two; the specific implementation process of determining the target source return path according to the to-be-selected path can be as follows:
taking at least two paths to be selected as target source return paths; or alternatively, the process may be performed,
and scoring each path to be selected according to the network parameter information of each node included in each path to be selected, and determining a target back source path according to the score of each path to be selected.
It should be noted that if the number of the selected paths to be selected is at least two, the at least two paths to be selected may be directly used as the target source return paths, and may be subsequently returned to the edge node, so that the edge node may optionally select one of the at least two received target source return paths. Or, each candidate path may be scored according to network parameter information of each node included in each candidate path, and the target back source path may be determined according to the score of each candidate path.
In practical application, weight coefficients corresponding to different parameters in different threshold ranges and weight coefficients corresponding to each node can be preset. When each path to be selected is marked according to the network parameter information of each node included in each path to be selected, the node score of each node can be determined according to the weight system corresponding to different parameters of each node in a certain path to be selected, then the score of the path to be selected is determined according to the node score of each node included in the path to be selected by combining the corresponding weight coefficients, and the like, so that the score of each path to be selected can be obtained.
In the embodiment of the application, when the number of the paths to be selected is at least two, each path to be selected can be scored according to the network parameter information of each node included in each path to be selected, so that the network condition of each path to be selected is represented by the score of each path to be selected, the target back source path can be determined according to the score of each path to be selected, and the path with better network environment is dynamically selected as the back source path to be returned to the edge node, thereby greatly improving the back source efficiency and success rate and reducing the cost and enhancing the efficiency.
In an optional implementation manner of this embodiment, the determining the target source-return path according to the score of each candidate path may be implemented as follows:
Sorting the scores of the paths to be selected from high to low;
and selecting a preset number of paths to be selected as target source return paths in the sorting result according to a preset selection rule.
Specifically, the preset selection rule refers to a preset rule of selecting paths to be selected from the sorting result, and the preset selection rule may be selecting a preset number of paths to be selected with a front sorting, may be selecting a preset number of paths to be selected with a score greater than a score threshold, or may also be selecting a preset number of paths within a preset sorting range. In addition, the preset number refers to the number of preset target source-returning paths, for example, the preset number may be 1,2,3, etc.
It should be noted that, the score of each candidate path may represent the network condition of each candidate path, and the higher the score, the better the network condition, so that the score of each candidate path may be sorted from high to low, and according to a preset selection rule, a preset number of candidate paths are selected as target source return paths in the sorting result, so that a path with a better network environment is dynamically selected as a source return path to return to the edge node, thereby greatly improving the source return efficiency and success rate, and reducing the cost and enhancing the efficiency.
Along the above example, assuming that the paths to be selected are path 1 and path 2, the score of path 1 is 85 points, the score of path 2 is 95 points, and the preset number is 1, so that the path 2 can be used as the final target back source path at this time.
Step 108: and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
After determining the target source return path corresponding to the source return request, the source return server may return the target source return path to the edge node, so that the edge node may perform source return according to the target source return path, and acquire the required live stream to be acquired. In practical application, if the target source return path received by the edge server is one, the source return can be directly performed based on the source return path, and the live stream to be acquired is pulled; if the number of the target source return paths received by the edge server is at least two, selecting one of the at least two target source return paths, returning the source based on the selected target source return path, and pulling the live stream to be acquired.
According to the live broadcast source-returning method, when the source-returning server receives the source-returning request sent by the edge node, at least one alternative source-returning path can be determined according to the stream distribution information, then the network parameter information of each node in the content distribution network is combined, the target source-returning path is selected from the at least one alternative source-returning path, so that the edge node can return sources according to the selected target source-returning path, and the required live broadcast stream is pulled. Therefore, the method can dynamically select the target source return path for returning the source by combining the stream distribution information and the network parameter information of each node in the content distribution network, disperses the sink nodes of different live streams, reasonably utilizes the bandwidth, avoids the waste of the bandwidth or the overlarge bandwidth pressure, combines the stream distribution information and the network parameter information with the selected target source return path, can select the source return path with better source return condition to return to the edge node, greatly improves the source return efficiency and the success rate, and reduces the cost and increases the efficiency.
Fig. 3 shows a flowchart of another live broadcast source-returning method according to an embodiment of the present application, which is applied to a source-returning server, and specifically includes the following steps:
step 302: and receiving a source returning request sent by the edge node, wherein the source returning request carries a stream identifier of the live stream to be acquired.
Step 304: and acquiring stream distribution information corresponding to the stream identifier of the live stream to be acquired, wherein the stream distribution information comprises at least one distribution node of the live stream to be acquired and the number of viewers of the live stream to be acquired.
Step 306: and determining each path from the edge node to at least one distribution node of the live stream to be acquired, and taking each determined path as at least one alternative back source path corresponding to the back source request.
Step 308: network parameter information of each node in the content distribution network is obtained.
The network parameter information is information for evaluating the network environment of at least one alternative back source path, and comprises network bandwidth, packet loss rate, round trip delay and node congestion degree of a machine room where the node is located.
Step 310: and determining the number of source-returning hops corresponding to the source-returning request according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information, wherein the number of source-returning hops is the number of hops undergone from the edge node to the source station.
Step 312: and selecting an initial candidate path corresponding to the number of source-back hops from at least one candidate source-back path.
Step 314: and taking the initial candidate path as a target back source path when the initial candidate path is one.
Step 316: and determining a path to be screened from at least two initial candidate paths under the condition that the initial candidate paths are at least two, and taking the path to be screened as the path to be screened under the condition that the network parameter information of each node included in the path to be screened meets the preset network condition.
Step 318: and taking the path to be selected as a target back source path under the condition that the path to be selected is one.
Step 320: under the condition that the number of the initial candidate paths is at least two, taking at least two paths to be selected as target source return paths; or scoring each path to be selected according to the network parameter information of each node included in each path to be selected, sorting the scores of each path to be selected from high to low, and selecting a preset number of paths to be selected as target source return paths in the sorting result according to a preset selection rule.
Step 322: and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
According to the live broadcast source-returning method, when the source-returning server receives the source-returning request sent by the edge node, at least one alternative source-returning path can be determined according to the stream distribution information, then the network parameter information of each node in the content distribution network is combined, the target source-returning path is selected from the at least one alternative source-returning path, so that the edge node can return sources according to the selected target source-returning path, and the required live broadcast stream is pulled. Therefore, the method can dynamically select the target source return path for returning the source by combining the stream distribution information and the network parameter information of each node in the content distribution network, disperses the sink nodes of different live streams, reasonably utilizes the bandwidth, avoids the waste of the bandwidth or the overlarge bandwidth pressure, combines the stream distribution information and the network parameter information with the selected target source return path, can select the source return path with better source return condition to return to the edge node, greatly improves the source return efficiency and the success rate, and reduces the cost and increases the efficiency.
Corresponding to the above method embodiment, the present application further provides a live broadcast source-returning device embodiment, and fig. 4 shows a schematic structural diagram of a live broadcast source-returning device according to an embodiment of the present application. As shown in fig. 4, the apparatus applied to the back source server includes:
A receiving module 402, configured to receive a source-returning request sent by an edge node, where the source-returning request carries a flow identifier of a live stream to be acquired;
a determining module 404, configured to obtain flow distribution information corresponding to a flow identifier of a live flow to be obtained, and determine at least one alternative source return path corresponding to a source return request according to the flow distribution information;
a selection module 406, configured to obtain network parameter information of each node in the content distribution network, and select a target back source path from at least one alternative back source path according to the network parameter information of each node;
the returning module 408 is configured to return a target back-source path to the edge node, where the target back-source path is used to instruct the edge node to perform back-source acquisition to obtain the live stream to be obtained.
Optionally, the stream distribution information includes at least one distribution node of the live stream to be acquired;
the determination module 404 is further configured to:
determining each path from the edge node to at least one distribution node of the live stream to be acquired;
and taking each determined path as at least one alternative back source path corresponding to the back source request.
Optionally, the stream distribution information includes a number of viewers to obtain the live stream;
The selection module 406 is further configured to:
determining the number of source-returning hops corresponding to a source-returning request according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information, wherein the number of source-returning hops is the number of hops undergone from an edge node to a source station;
and selecting a target back source path from at least one alternative back source path by combining the network parameter information and the back source hop number.
Optionally, the selection module 406 is further configured to:
determining that the number of source jump back times is a first value under the condition that the number of people watched is smaller than a threshold value of the number of people;
determining that the number of the source-returning hops is a second numerical value under the condition that the number of the watched persons is larger than or equal to a threshold value of the number of the watched persons;
wherein the second value is greater than the first value.
Optionally, the selection module 406 is further configured to:
selecting an initial candidate path corresponding to the number of source-back hops from at least one candidate source-back path;
under the condition that the initial candidate path is one, taking the initial candidate path as a target source return path;
and under the condition that the number of the initial candidate paths is at least two, selecting a target back-source path from the at least two initial candidate paths according to the network parameter information.
Optionally, the selection module 406 is further configured to:
Determining a path to be screened from at least two initial candidate paths;
and under the condition that the network parameter information of each node included in the path to be screened accords with the preset network condition, taking the path to be screened as the path to be selected, and determining a target back source path according to the path to be selected.
Optionally, the number of paths to be selected is at least two;
the selection module 406 is further configured to:
taking at least two paths to be selected as target source return paths; or alternatively, the process may be performed,
and scoring each path to be selected according to the network parameter information of each node included in each path to be selected, and determining a target back source path according to the score of each path to be selected.
Optionally, the selection module 406 is further configured to:
sorting the scores of the paths to be selected from high to low;
and selecting a preset number of paths to be selected as target source return paths in the sorting result according to a preset selection rule.
Optionally, the network parameter information is information for evaluating a network environment of at least one alternative back source path, where the network parameter information includes network bandwidth, packet loss rate, round trip delay, and node congestion degree of a machine room where the node is located.
According to the live broadcast source return device provided by the application, when the source return server receives the source return request sent by the edge node, at least one alternative source return path can be determined according to the stream distribution information, and then the target source return path is selected from the at least one alternative source return path by combining the network parameter information of each node in the content distribution network, so that the edge node can carry out source return according to the selected target source return path, and the required live broadcast stream is pulled. Therefore, the method can dynamically select the target source return paths for returning sources by combining the stream distribution information and the network parameter information of each node in the content distribution network, disperse the sink nodes of different live streams, reasonably utilize the bandwidth, avoid the waste of the bandwidth or the overlarge bandwidth pressure, combine the stream distribution information and the network parameter information with the selected target source return paths, select the source return paths with better source return conditions and return the source return paths to the edge nodes, greatly improve the source return efficiency and the success rate, and reduce the cost and enhance the efficiency.
The foregoing is a schematic solution of a live feed back device in this embodiment. It should be noted that, the technical solution of the live broadcast source-returning device and the technical solution of the live broadcast source-returning method belong to the same concept, and details of the technical solution of the live broadcast source-returning device which are not described in detail can be referred to the description of the technical solution of the live broadcast source-returning method.
FIG. 5 illustrates a block diagram of a computing device provided in accordance with an embodiment of the present application. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. Processor 520 is coupled to memory 510 via bus 530 and database 550 is used to hold data.
Computing device 500 also includes access device 540, access device 540 enabling computing device 500 to communicate via one or more networks 560. Examples of such networks include public switched telephone networks (PSTN, public Switched Telephone Network), local area networks (LAN, local Area Network), wide area networks (WAN, wideAreaNetwork), personal area networks (PAN, personalArea networks), or combinations of communication networks such as the internet. The access device 540 may include one or more of any type of network interface, wired or wireless (e.g., network interface card (NIC, network Interface Controller)), such as an IEEE802.11 wireless local area network (WLAN, wireless LocalArea Networks) wireless interface, a worldwide interoperability for microwave access (Wi-MAX, worldwide Interoperability for Microwave Access) interface, an ethernet interface, a universal serial bus (USB, universal Serial Bus) interface, a cellular network interface, a bluetooth interface, a near field communication (NFC, near Field Communication) interface, and so forth.
In one embodiment of the application, the above-described components of computing device 500, as well as other components not shown in FIG. 5, may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device illustrated in FIG. 5 is for exemplary purposes only and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as desired.
Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), mobile phone (e.g., smart phone), wearable computing device (e.g., smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 500 may also be a mobile or stationary server.
Wherein the processor 520 is configured to execute the following computer executable instructions to implement the following method:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
acquiring stream distribution information corresponding to a stream identifier of a live stream to be acquired, and determining at least one alternative source return path corresponding to a source return request according to the stream distribution information;
Acquiring network parameter information of each node in a content distribution network, and selecting a target back source path from at least one alternative back source path according to the network parameter information of each node;
and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition to obtain the live stream to be acquired.
The foregoing is a schematic illustration of a computing device of this embodiment. It should be noted that, the technical solution of the computing device and the technical solution of the live broadcast source returning method belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the live broadcast source returning method.
An embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are configured to implement the steps of any live feed back method.
The above is an exemplary version of a computer-readable storage medium of the present embodiment. It should be noted that, the technical solution of the storage medium and the technical solution of the live broadcast source returning method belong to the same concept, and details of the technical solution of the storage medium which are not described in detail can be referred to the description of the technical solution of the live broadcast source returning method.
The foregoing describes certain embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the application disclosed above are intended only to assist in the explanation of the application. Alternative embodiments are not intended to be exhaustive or to limit the application to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and the full scope and equivalents thereof.

Claims (10)

1. The live broadcast source returning method is characterized by being applied to a source returning server and comprising the following steps of:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
acquiring stream distribution information corresponding to the stream identifier of the live stream to be acquired from a stream information server according to the stream identifier of the live stream to be acquired; the stream information server stores live stream information stored by each node in the content distribution network and the current number of viewers of each live stream; the stream distribution information comprises at least one distribution node of the live stream to be acquired in the content distribution network and the number of viewers of the live stream to be acquired;
Determining each path from the edge node to the distribution node of the at least one live stream to be acquired;
taking each determined path as at least one alternative source return path corresponding to the source return request;
network parameter information of each node in a content distribution network is acquired, and the number of source-returning hops corresponding to the source-returning request is determined according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information;
selecting a target back source path from the at least one alternative back source path by combining the network parameter information and the back source hop number;
and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition on the live stream to be acquired.
2. The live feed back method according to claim 1, wherein the determining the number of feed back hops corresponding to the feed back request according to the number of viewers of the live feed to be acquired included in the feed back distribution information includes:
determining that the number of source-back hops is a first value when the number of viewers is less than a threshold number of viewers;
determining that the number of the source-back jumps is a second value when the number of the viewers is greater than or equal to a threshold number of people;
Wherein the second value is greater than the first value.
3. The live feed back method of claim 1, wherein said selecting a target feed back path from said at least one alternative feed back path in combination with said network parameter information and said feed back hop count comprises:
selecting an initial candidate path corresponding to the number of source-back hops from the at least one candidate source-back path;
taking the initial candidate path as the target source return path under the condition that the initial candidate path is one;
and screening the target back source path from the at least two initial candidate paths according to the network parameter information under the condition that the initial candidate paths are at least two.
4. A live feed back method as defined in claim 3, wherein said screening the target feed back path from the at least two initial candidate paths based on the network parameter information comprises:
determining a path to be screened from the at least two initial candidate paths;
and under the condition that the network parameter information of each node included in the path to be screened accords with a preset network condition, taking the path to be screened as a path to be selected, and determining the target source return path according to the path to be selected.
5. The live feed back method of claim 4, wherein the number of paths to be selected is at least two;
the determining the target source return path according to the candidate path comprises the following steps:
taking the at least two paths to be selected as the target source return paths; or alternatively, the process may be performed,
and scoring each path to be selected according to the network parameter information of each node included in each path to be selected, and determining the target source return path according to the score of each path to be selected.
6. The live feed back method of claim 5, wherein the determining the target feed back path according to the score of each candidate path comprises:
sorting the scores of the paths to be selected from high to low;
and selecting a preset number of paths to be selected as the target source return paths in the sorting result according to a preset selection rule.
7. The live feed back method according to claim 1, wherein the network parameter information is information for evaluating a network environment of the at least one alternative feed back path, and the network parameter information includes a network bandwidth, a packet loss rate, a round trip delay, and a node congestion degree of a machine room where the node is located.
8. A live feed back device, characterized in that it is applied to a feed back server, comprising:
the receiving module is configured to receive a source returning request sent by the edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
the determining module is configured to obtain stream distribution information corresponding to the stream identifier of the live stream to be obtained from a stream information server according to the stream identifier of the live stream to be obtained; the stream information server stores live stream information stored by each node in the content distribution network and the current number of viewers of each live stream; the stream distribution information comprises at least one distribution node of the live stream to be acquired in the content distribution network and the number of viewers of the live stream to be acquired; determining each path from the edge node to the distribution node of the at least one live stream to be acquired; taking each determined path as at least one alternative source return path corresponding to the source return request;
the selection module is configured to acquire network parameter information of each node in the content distribution network, and determine the number of source-returning hops corresponding to the source-returning request according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information; selecting a target back source path from the at least one alternative back source path by combining the network parameter information and the back source hop number;
And the return module is configured to return the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition on the live stream to be acquired.
9. A computing device, comprising:
a memory and a processor;
the memory is configured to store computer-executable instructions and the processor is configured to execute the computer-executable instructions to implement the method of:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live stream to be acquired;
acquiring stream distribution information corresponding to the stream identifier of the live stream to be acquired from a stream information server according to the stream identifier of the live stream to be acquired; the stream information server stores live stream information stored by each node in the content distribution network and the current number of viewers of each live stream; the stream distribution information comprises at least one distribution node of the live stream to be acquired in the content distribution network and the number of viewers of the live stream to be acquired;
determining each path from the edge node to the distribution node of the at least one live stream to be acquired;
Taking each determined path as at least one alternative source return path corresponding to the source return request;
network parameter information of each node in a content distribution network is acquired, and the number of source-returning hops corresponding to the source-returning request is determined according to the number of viewers of the live stream to be acquired, which is included in the stream distribution information;
selecting a target back source path from the at least one alternative back source path by combining the network parameter information and the back source hop number;
and returning the target back-source path to the edge node, wherein the target back-source path is used for indicating the edge node to carry out back-source acquisition on the live stream to be acquired.
10. A computer readable storage medium, characterized in that it stores computer executable instructions which, when executed by a processor, implement the steps of the live feed back method of any of claims 1 to 7.
CN202210151223.2A 2022-02-16 2022-02-16 Live broadcast source returning method and device Active CN114501073B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210151223.2A CN114501073B (en) 2022-02-16 2022-02-16 Live broadcast source returning method and device
PCT/CN2022/144224 WO2023155617A1 (en) 2022-02-16 2022-12-30 Live streaming origin-pull method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210151223.2A CN114501073B (en) 2022-02-16 2022-02-16 Live broadcast source returning method and device

Publications (2)

Publication Number Publication Date
CN114501073A CN114501073A (en) 2022-05-13
CN114501073B true CN114501073B (en) 2023-10-20

Family

ID=81482325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210151223.2A Active CN114501073B (en) 2022-02-16 2022-02-16 Live broadcast source returning method and device

Country Status (2)

Country Link
CN (1) CN114501073B (en)
WO (1) WO2023155617A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501073B (en) * 2022-02-16 2023-10-20 上海哔哩哔哩科技有限公司 Live broadcast source returning method and device
CN115002497B (en) * 2022-05-27 2024-03-12 上海哔哩哔哩科技有限公司 Live broadcast source-returning scheduling method and system and source-returning server
CN115022660B (en) * 2022-06-01 2024-03-19 上海哔哩哔哩科技有限公司 Parameter configuration method and system for content distribution network
CN117714755A (en) * 2022-09-06 2024-03-15 华为云计算技术有限公司 Method, device and storage medium for distributing network resources
CN115643203A (en) * 2022-09-15 2023-01-24 阿里巴巴(中国)有限公司 Content distribution method, content distribution device, content distribution network, device, and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259945A (en) * 2018-04-19 2018-07-06 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus that processing plays the playing request of multi-medium data
CN109412946A (en) * 2018-11-14 2019-03-01 网宿科技股份有限公司 Method, apparatus, server and the readable storage medium storing program for executing of source path are returned in a kind of determination
CN109769023A (en) * 2019-01-16 2019-05-17 网宿科技股份有限公司 A kind of data transmission method, associated server and storage medium
CN111614736A (en) * 2020-04-30 2020-09-01 北京金山云网络技术有限公司 Network content resource scheduling method, domain name scheduling server and electronic equipment
CN111753239A (en) * 2020-06-23 2020-10-09 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN112287259A (en) * 2020-10-20 2021-01-29 上海七牛信息技术有限公司 Cold access return source scheduling system and processing method thereof
CN112929676A (en) * 2019-12-06 2021-06-08 北京金山云网络技术有限公司 Live data stream acquisition method, device, node and system
CN113055692A (en) * 2021-04-20 2021-06-29 上海哔哩哔哩科技有限公司 Data processing method and device
CN113301364A (en) * 2021-01-05 2021-08-24 阿里巴巴集团控股有限公司 Path planning method, CDN connection establishing method, device and storage medium
CN113472852A (en) * 2021-06-02 2021-10-01 乐视云计算有限公司 CDN node back-source method, device and equipment
CN113542420A (en) * 2021-07-19 2021-10-22 北京金山云网络技术有限公司 Hotspot file processing method and device, electronic equipment and medium
CN113660538A (en) * 2021-08-11 2021-11-16 上海哔哩哔哩科技有限公司 Live broadcast plug flow source returning method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898352A (en) * 2015-11-13 2016-08-24 乐视云计算有限公司 m3u8-based streaming media file direct broadcast method and system
CN110391982B (en) * 2018-04-20 2022-03-11 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for transmitting data
CN110572687A (en) * 2019-08-09 2019-12-13 北京达佳互联信息技术有限公司 Live broadcast source-returning aggregation method, device, system, equipment and storage medium
CN111263171A (en) * 2020-02-25 2020-06-09 北京达佳互联信息技术有限公司 Live streaming media data acquisition method and edge node area networking system
CN114501073B (en) * 2022-02-16 2023-10-20 上海哔哩哔哩科技有限公司 Live broadcast source returning method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259945A (en) * 2018-04-19 2018-07-06 腾讯音乐娱乐科技(深圳)有限公司 The method and apparatus that processing plays the playing request of multi-medium data
CN109412946A (en) * 2018-11-14 2019-03-01 网宿科技股份有限公司 Method, apparatus, server and the readable storage medium storing program for executing of source path are returned in a kind of determination
CN109769023A (en) * 2019-01-16 2019-05-17 网宿科技股份有限公司 A kind of data transmission method, associated server and storage medium
CN112929676A (en) * 2019-12-06 2021-06-08 北京金山云网络技术有限公司 Live data stream acquisition method, device, node and system
CN111614736A (en) * 2020-04-30 2020-09-01 北京金山云网络技术有限公司 Network content resource scheduling method, domain name scheduling server and electronic equipment
CN111753239A (en) * 2020-06-23 2020-10-09 北京奇艺世纪科技有限公司 Resource distribution method and device, electronic equipment and storage medium
CN112287259A (en) * 2020-10-20 2021-01-29 上海七牛信息技术有限公司 Cold access return source scheduling system and processing method thereof
CN113301364A (en) * 2021-01-05 2021-08-24 阿里巴巴集团控股有限公司 Path planning method, CDN connection establishing method, device and storage medium
CN113055692A (en) * 2021-04-20 2021-06-29 上海哔哩哔哩科技有限公司 Data processing method and device
CN113472852A (en) * 2021-06-02 2021-10-01 乐视云计算有限公司 CDN node back-source method, device and equipment
CN113542420A (en) * 2021-07-19 2021-10-22 北京金山云网络技术有限公司 Hotspot file processing method and device, electronic equipment and medium
CN113660538A (en) * 2021-08-11 2021-11-16 上海哔哩哔哩科技有限公司 Live broadcast plug flow source returning method and system

Also Published As

Publication number Publication date
WO2023155617A1 (en) 2023-08-24
CN114501073A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN114501073B (en) Live broadcast source returning method and device
CN108737405B (en) Method, CCL server and system for guiding direct broadcasting video stream
CN110336885B (en) Edge node distribution method, device, scheduling server and storage medium
WO2017161762A1 (en) Data transmission method, device and system
CN105656876A (en) Live video play method, device and system
CN114760482B (en) Live broadcast source returning method and device
CN110572687A (en) Live broadcast source-returning aggregation method, device, system, equipment and storage medium
CN113630783B (en) Communication method and device
CN106941507A (en) The dispatching method and device of request message
CN105872002A (en) Video program obtaining method and system, and device
CN113181658A (en) Edge computing node scheduling method, device, equipment and medium
CN113811013B (en) Cluster capacity dynamic adjustment method, device, storage medium and communication system
CN113099261B (en) Node processing method and device and node processing system
US20120221681A1 (en) Method, apparatus and system for hierarchically requesting contents in a http streaming system
KR101773593B1 (en) Mobile fog computing system for performing multi-agent based code offloading and method thereof
CN112543357B (en) Stream media data transmission method based on DASH protocol
CN114679604B (en) Resource processing method and device
CN106993014A (en) The method of adjustment of cache contents, apparatus and system
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
CN113194134A (en) Node determination method and device
CN103763206A (en) Network scheduling method and gateway
CN115208955B (en) Method, device, computer equipment and medium for processing resource request
CN112243027B (en) System and method for solving mass media stream distribution problem based on cluster technology
CN111757389B (en) Communication device and method
CN115022660B (en) Parameter configuration method and system for content distribution network

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