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

Live broadcast source returning method and device Download PDF

Info

Publication number
CN114501073A
CN114501073A CN202210151223.2A CN202210151223A CN114501073A CN 114501073 A CN114501073 A CN 114501073A CN 202210151223 A CN202210151223 A CN 202210151223A CN 114501073 A CN114501073 A CN 114501073A
Authority
CN
China
Prior art keywords
source
path
returning
node
target
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
CN202210151223.2A
Other languages
Chinese (zh)
Other versions
CN114501073B (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

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/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 live broadcast source returning device, wherein the live broadcast source returning method comprises the following steps: when receiving a request for returning to the source sent by an edge node, the source returning server may determine at least one alternative source returning path according to the flow distribution information, and then select a target source returning path from the at least one alternative source returning path in combination with network parameter information of each node in the content distribution network, so that the edge node may return to the source according to the selected target source returning path to pull the required live stream. Therefore, the target source returning path for returning the source can be dynamically selected by combining the flow distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live broadcast flows are dispersed, the bandwidth is reasonably utilized, the bandwidth waste or overlarge bandwidth pressure is avoided, the target source returning path combines the flow distribution information and the network parameter information, the source returning path with better source returning conditions is selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.

Description

Live broadcast source returning method and device
Technical Field
The application relates to the technical field of live broadcast, in particular to 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.
Background
With the rapid development of computer and internet technologies, the live broadcast industry is rapidly developing, live broadcast audiences are continuously expanded, and various live broadcast layers are endless. In the live broadcast process, the live broadcast stream pushed by the anchor can be provided for users to watch through a Content Delivery Network (CDN), the traditional CDN carries out a large-scale distribution Network through a three-level tree structure of a source station, a secondary source station, and edge nodes, when live broadcast accesses, the CDN cannot distribute the live broadcast stream to each edge node in advance, when a user needs to access a certain live broadcast stream, the edge nodes can return to the source, that is, the edge nodes pull the required live broadcast stream to the source station or the secondary source station in real time.
In the prior art, the source return paths of each edge node are fixed in advance, that is, through which path an edge node pulls a required live broadcast stream is fixed in advance, and the source return paths of the edge nodes are solidified, which may cause bandwidth waste or excessive bandwidth pressure, and increase the source return cost; moreover, if the source returning path fixed in advance is abnormal, the source returning may be repeatedly tried for many times, which may cause source returning failure, and greatly affect the source returning efficiency and the source returning success rate.
Disclosure of Invention
In view of this, the present 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 the embodiments 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 to-be-acquired live stream;
acquiring flow distribution information corresponding to the flow identification of the live flow to be acquired, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from at least one alternative return-to-source path according to the network parameter information of each node;
and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
According to a second aspect of the embodiments of the present application, there is provided a live broadcast source returning device, which is applied to a source returning server, and includes:
the receiving module is configured to receive a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a to-be-acquired live stream;
the determining module is configured to obtain flow distribution information corresponding to the flow identification of the to-be-obtained live flow, and determine at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
the selection module is configured to acquire network parameter information of each node in the content distribution network, and select a target return-to-source path from at least one alternative return-to-source path according to the network parameter information of each node;
and the return module is configured to return a target source return path to the edge node, wherein the target source return path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
According to a third aspect of embodiments herein, there is provided a computing device comprising:
a memory and a processor;
the memory is used for storing computer executable instructions, and the processor is used for executing the computer executable instructions to realize the following method:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a to-be-acquired live stream;
acquiring flow distribution information corresponding to the flow identification of the live flow to be acquired, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from at least one alternative return-to-source path according to the network parameter information of each node;
and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
According to a fourth aspect of embodiments herein, there is provided a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the steps of any live feed-back method.
According to the live broadcast source returning method, a source returning server can receive a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a live broadcast stream to be acquired; acquiring flow distribution information corresponding to the flow identification of the live flow to be acquired, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information; acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from at least one alternative return-to-source path according to the network parameter information of each node; and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
In this case, when receiving a request for returning to the source sent by the edge node, the source returning server may determine at least one alternative source returning path according to the flow distribution information, and then select a target source returning path from the at least one alternative source returning path in combination with network parameter information of each node in the content distribution network, so that the edge node may return to the source according to the selected target source returning path to pull the required live stream. Therefore, the target source returning path for returning the source can be dynamically selected by combining the flow distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the bandwidth waste or overlarge bandwidth pressure is avoided, the selected target source returning path combines the flow distribution information and the network parameter information, the source returning path with the better source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
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 provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a live feed back device according to an embodiment of the present application;
fig. 5 is a block diagram of a computing device according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the one or more embodiments of the present 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 present application. As used in one or more embodiments of the present 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 and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments of the present 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 aspect may be termed a second aspect, and, similarly, a second aspect may be termed a first aspect, without departing from the scope of one or more embodiments of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
First, the noun terms to which one or more embodiments of the present application relate are explained.
The first kilometer: the backbone networks on the internet are very smooth, and only the network from the user to the first kilometer/last kilometer of the access backbone network is very unstable, and most of network problems are in the process.
Returning a source: after the user accesses the network within the first kilometer, if the node does not have the required live stream, a pull stream is required to be requested to an upper node, and the action is called back source. In the embodiment of the application, the source station is a server for broadcasting live content in real time, the edge node is a server for a user to watch live content finally, and one or more layers of intermediate source nodes (namely, secondary source stations) are arranged between the source station and the edge node and are also called relay servers. When a user accesses an edge node, the edge node may not have a required live stream, and at this time, the edge node needs to make a request to an intermediate source node of an upper layer step by step until a source station to pull a related live stream, and this process is a back source.
Content delivery Network (Content delivery Network): the content distribution network is constructed on the network, and users can obtain required content nearby by means of functional modules of load balancing, content distribution, scheduling and the like of a central scheduling server by means of edge nodes (namely edge servers) deployed in various places, 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, where the edge node provides user access capability in the CDN and the intermediate source node provides back-to-source aggregation capability in the CDN. The intermediate source nodes are divided into regions, which may include north China SOC, east China SOC, south China SOC and north west SOC, and the edge nodes may be divided based on telecommunication operators which provide internet access service, information service and value-added service for users comprehensively.
It should be noted that, in the conventional CDN, a large-scale distribution network is performed through a three-level tree structure of a source station, an intermediate source node, and an edge node, where the source returns among the edge nodes, the intermediate source node, and the source station are fixed in advance according to configuration, and for a certain edge node, only a path that is fixed in advance can be used, for example, the path returns from the edge node to a certain intermediate source node, and then the path returns from the intermediate source node to the source station, the source return path from the edge node to the source station is solidified, and cannot be adjusted in time according to a traffic change and a system resource change, so that bandwidth cannot be reasonably utilized, bandwidth waste or excessive bandwidth pressure is caused, and all pressure converges to a certain intermediate source node and a source station, and when a certain intermediate source node or a source station fails, an influence plane 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 the convergence points of different live broadcast streams in a source returning process, perform personalized source returning path selection according to the playing amount of the live broadcast streams, reduce the pressure of an intermediate source node and a source station, reduce the source returning cost, and reduce the fault influence surface of the intermediate source node or the source station.
The present application provides a live feed-back method, and the present application also relates to a live feed-back 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 flowchart of a live feed-back method provided in an embodiment of the present application, which is applied to a feed-back 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 to-be-acquired live stream.
Specifically, the edge node may refer to an edge server deployed in each place in the content distribution network, and provides a user access capability in the content distribution network. The back-to-source request refers to a request initiated by the edge node to the back-to-source server when the to-be-acquired live stream which needs to be acquired by the user does not exist in the edge node, and the back-to-source request can carry a stream identifier of the to-be-acquired live stream, so that the back-to-source server can return a back-to-source path which can not acquire the to-be-acquired live stream to the edge node.
The source returning server can 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 performing source returning, and returning to the edge node; the stream identifier of the to-be-acquired live stream may uniquely identify the to-be-acquired live stream, and for example, the stream identifier of the to-be-acquired live stream may be a stream name of the to-be-acquired live stream.
It should be noted that, after a user enters a certain live broadcast room through a viewer to request the central scheduling server to allocate an edge node, the viewer of the user may pull a stream to the allocated edge node, and when the edge node has no live broadcast stream of the live broadcast room, a source return is required, and 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 live broadcast stream of the live broadcast room.
For example, fig. 2 shows a schematic structural diagram of a content distribution network provided according to an embodiment of the present application, and 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 and L2-04. Each anchor can push the corresponding live stream to the source station ROOT through the anchor terminal held by the anchor. Suppose that the viewer a enters the live broadcast room of the anchor a, the edge node allocated by the content distribution network is L2-01, and there is no live broadcast stream a corresponding to the anchor a in the edge node L2-01, at this time, the edge node L2-01 may send a source return request to the source return server, where the source return request carries the stream identifier of the live broadcast stream a.
In the embodiment of the application, when the to-be-acquired live stream which needs to be acquired by the user does not exist in the edge node, the source returning request can be sent to the source returning server, and the source returning server can receive the source returning request of the edge node, so that the corresponding source returning path is determined to return to the edge node in the subsequent process, the edge node can acquire the required live stream, and the live stream which the user wants to watch can be successfully pulled.
Step 104: and acquiring flow distribution information corresponding to the flow identification of the to-be-acquired live flow, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information.
Specifically, the flow distribution information may refer to distribution information of each live stream in the content distribution network, and the flow 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 stream, the pulled live stream can be stored locally in the node, and subsequently, if the same live stream needs to be pulled again, the node can directly pull the live stream from the node, and the node can report the stored live stream information to the stream information server.
In practical application, after receiving a source returning request sent by an edge node, a source returning server may obtain corresponding flow distribution information from a flow information server according to a flow identifier of a to-be-obtained live flow carried in the source returning request, and then may determine at least one alternative source returning path corresponding to the source returning request according to the obtained flow distribution information.
In an optional implementation manner of this embodiment, the flow distribution information includes at least one distribution node of a live flow to be acquired; determining at least one alternative back-to-source path corresponding to the back-to-source request according to the flow distribution information, wherein the specific implementation process can be as follows:
determining each path from the edge node to at least one distribution node of the to-be-acquired live stream;
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 by each node in the content distribution network, that is, which node has distributed which live streams, or which live streams are distributed in which nodes.
In practical application, after receiving a source returning request sent by an edge node, a source returning server may obtain at least one distribution node of a to-be-obtained live stream from a stream information server according to a stream identifier of the to-be-obtained live stream carried in the source returning request, that is, which nodes in a content distribution network store the to-be-obtained live stream. Therefore, the distribution nodes included in the acquired stream distribution information are the nodes storing the to-be-acquired live stream, that is, the required to-be-acquired live stream can be pulled from the distribution nodes of the to-be-acquired live stream, at this time, the paths from the edge nodes to at least one distribution node of the to-be-acquired live stream can be exhausted, and the determined paths are used as at least one alternative source returning path corresponding to the source returning request.
Along the above example, the edge node L2-01 sends a source return request to the source return server, and the stream distribution information corresponding to the live stream a acquired by the source return server from the stream information server is: and the distributed nodes of the live stream A are source stations. At this time, the paths from the edge node L2-01 to the source station may be exhausted to obtain at least one alternative back-source path, which is shown in fig. 2 as 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 station ROOT.
In the embodiment of the application, when a feed back server receives a feed back request sent by an edge node, at least one distribution node of a to-be-acquired live stream carried in the feed back request can be acquired from a stream information server, and the paths from the edge node to the at least one distribution node of the to-be-acquired live stream are exhausted, the determined paths are used as at least one alternative feed back path corresponding to the feed back request, the end points of the obtained alternative paths are all the distribution nodes of the to-be-acquired live stream, any alternative path is a feed back path capable of pulling the to-be-acquired live stream, it is ensured that the determined alternative paths can pull the to-be-acquired live stream, and the success rate of feed back is ensured.
Step 106: and acquiring the network parameter information of each node in the content distribution network, and selecting a target return-to-source path from at least one alternative return-to-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-to-source path, the network parameter information includes information related to the network environment, such as a network bandwidth, a packet loss rate, a round-trip delay, a node congestion degree, and the like of a machine room in which the node is located, and the network parameter information of each node in one alternative back-to-source path may indicate the network environment of the alternative back-to-source path.
It should be noted that the machine room in which each node in the content distribution network is located can send a test message to the machine rooms in which other nodes are located, so as to test the network conditions of the machine room, such as packet loss rate, network delay, and the like; in addition, each node in the content distribution network can also acquire the current network bandwidth in real time and the frequency information selected as the return source path at present, and then the node can report the network parameter information such as the network condition obtained by testing, the network bandwidth acquired in real time, the frequency information selected as the return source path at present 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 this embodiment of the application, the source return server may obtain network parameter information of each node in the content distribution network from the basic information server, and then select a target source return path from the at least one candidate source return path according to the network parameter information of each node, so as to use a path with a better network condition in the at least one candidate source return path as a final source return path. Therefore, the target source returning path for source returning can be dynamically selected, sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, bandwidth waste or overlarge bandwidth pressure is avoided, the selected target source returning path is combined with network parameter information of each node, the source returning path with the excellent source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and cost reduction and efficiency improvement are achieved.
In an optional implementation manner of this embodiment, the stream distribution information includes the number of viewers of the live stream to be acquired; according to the network parameter information, a target return-to-source path is selected from at least one alternative return-to-source path, and the specific implementation process can be as follows:
determining the source returning jump number corresponding to the source returning request according to the number of watching persons of the to-be-acquired live stream, wherein the number of the source returning jump number is the jump number from the edge node to the source station;
and selecting a target source returning path from at least one alternative source returning path by combining the network parameter information and the source returning hop revolution number.
It should be noted that the number of viewers of the to-be-acquired live stream may represent the current play amount of the to-be-acquired live stream, and the number of source-returning skip revolutions of the source-returning path may be controlled by the number of viewers of the to-be-acquired live stream, where the number of source-returning skip revolutions is the number of hops from the edge node to the source station, and for example, the number of source-returning skip revolutions is 1 from the edge node to the intermediate source node to the source station, and the number of source-returning skip revolutions is 2.
In practical application, the source returning server can determine at least one alternative source returning path according to a distribution node of a to-be-acquired live stream, then determine a source returning jump revolution number corresponding to a source returning request according to the number of watching persons of the to-be-acquired live stream included in stream distribution information, and then screen out a final target source returning path from the at least one alternative source returning path by combining network parameter information and the source returning jump revolution number.
In the embodiment of the application, the target source returning path which is finally subjected to source returning can be dynamically selected from at least one alternative source returning path by combining the source returning jump revolution number and the network parameter information of each node in the content distribution network, sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the bandwidth source returning convergence ratio is higher, the bandwidth waste or the bandwidth pressure is avoided being overlarge, the selected target source returning 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 source returning path with the better source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
In an optional implementation manner of this embodiment, the source return skip number corresponding to the source return request is determined according to the number of viewing people of the to-be-acquired live stream included in the stream distribution information, and a specific implementation process may be as follows:
determining the source returning jump revolution number as a first numerical value under the condition that the number of watching people is less than the number threshold;
determining the source returning jump revolution number as a second numerical value under the condition that the number of watching people is more than or equal to the number threshold;
wherein the second value is greater than the first value.
Specifically, the number threshold may be a preset value, and is used to determine whether there are more watching people who want to obtain the live stream and whether congestion is easily caused, for example, the number threshold may be 100, 500, or 1000. The first numerical value and the second numerical value may be preset numerical values, the first numerical value is used for indicating the number of source return skip revolutions corresponding to live source return when the number of viewers is small, the second numerical value is used for indicating the number of source return skip revolutions corresponding to live source return when the number of viewers is large, and therefore the second numerical value may be set to any numerical value larger than the first numerical value, and the second numerical value is smaller than the number of levels of nodes included in the content distribution network.
It should be noted that the source returning server can judge the cold and hot flow type of the live stream to be acquired according to the number of viewers of the live stream to be acquired, and if the live stream to be acquired is a heat stream, it indicates that the number of viewers is large, and the source returning jump revolution number of the source returning path needs to be increased, so that the source returning convergence ratio is improved; if the live stream to be acquired is cold, the number of viewers is small, and the live stream can be directly returned from the edge node to the source station, namely, the number of source return jump revolutions of the source return path is reduced, so that the bandwidth of the intermediate source node is reduced.
For example, assuming that the number of people watching the live stream to be acquired is less than the threshold number of people, it may be determined that the number of source return skip revolutions is level 1, that is, from the edge node to the source station; assuming that the number of people is greater than or equal to the number of people threshold, the number of source return jump revolutions can be determined to be 2, namely from the edge node to the middle source node and then to the source station.
In the embodiment of the application, when the number of watching people waiting to acquire the live stream is less, the number of revolutions of source jump can be set to be smaller, and when the number of watching people waiting to acquire the live stream is more, the number of revolutions of source jump can be set to be larger, so that the ratio of source jump convergence is improved, the bandwidth is reasonably utilized, and the waste of the bandwidth or the overlarge bandwidth pressure is avoided.
In an optional implementation manner of this embodiment, a target source returning path is selected from at least one candidate source returning path by combining network parameter information and a source returning hop count, and a specific implementation process may be as follows:
selecting an initial candidate path corresponding to a source returning jump revolution number from at least one candidate source returning path;
taking the initial candidate path as a target return-to-source path under the condition that the initial candidate path is one;
and under the condition that the number of the initial candidate paths is at least two, screening a target return-to-source path from the at least two initial candidate paths according to the network parameter information.
It should be noted that the at least one alternative back-source path is obtained based on the distribution node of the to-be-obtained live stream, the end point of each obtained alternative path is the distribution node of the to-be-obtained live stream, and any alternative path is the back-source path capable of pulling the to-be-obtained live stream, so that after the required back-source skip number of revolutions is determined according to the number of viewers of the to-be-obtained live stream, the initial candidate path corresponding to the back-source skip number of revolutions can be screened out from the at least one alternative back-source path.
In practical application, if one initial candidate path is screened out based on the back-source skip number, the initial candidate path can be directly used as a final target back-source path; if the number of the initial candidate paths screened out based on the source returning skip number is at least two, the target source returning path can be screened out from the at least two initial candidate paths by further combining the network parameter information.
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 station ROOT. Assuming that the number of source return skip revolutions determined based on the number of viewers of the live stream to be acquired is level 1, it may be determined that the initial candidate path is path 3: from the edge node L2-01 to the source station ROOT, since there is only one initial candidate path, path 3 is the target back-to-source path. Assuming that the number of source return skip revolutions 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, the intermediate source node L1-02 and the source station ROOT, because there are two initial candidate paths, the final target return-to-source path can be screened out from the path 1 and the path 2 according to the network parameter information.
In the embodiment of the application, an initial candidate path can be screened from at least one alternative source returning path according to the determined source returning jump revolution number, if the screened initial candidate paths are at least two, a final target source returning path can be further screened from the initial candidate paths by combining with network parameter information, the target source returning path for source returning is dynamically selected through a multi-layer progressive screening mode, the matching degree of the screened target source returning path and an actual source returning environment is improved, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
In an optional implementation manner of this embodiment, according to the network parameter information, a target return-to-source path is screened from at least two initial candidate paths, and a 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 meets the preset network condition, taking the path to be screened as a path to be selected, and determining a target return path according to the path to be selected.
Specifically, the path to be filtered is any one of at least two initial candidate paths; the preset network condition may be a preset condition for determining whether the network parameter information of the node supports returning to the source, 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 second.
It should be noted that, one of the at least two initial candidate paths may be arbitrarily selected as a path to be screened, and it is determined whether network parameter information of each node included in the path to be screened meets a preset network condition, and if the network parameter information of each node included in the path to be screened meets the preset network condition, it is determined that a network environment of each node included in the path to be screened is good and all meets a network requirement of a source-back, and a live broadcast source-back may be supported, at this time, the path to be screened may be used as a path to be selected, and a final target source-back path may be subsequently determined further according to the path to be selected.
Following 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 meets the preset network condition, the path 1 and the path 2 may be used as a candidate path, and then a target return-to-source path may be further determined according to the candidate path.
In the embodiment of the application, after the initial candidate path is screened from the at least one alternative back source path, a path to be selected can be further screened from the initial candidate path according to network parameter information of each node included by each initial candidate path, a final target back source path can be further screened from the path to be selected subsequently, and the target back source path for back source is dynamically selected through a multi-layer progressive screening mode, so that 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 is reduced and the efficiency is increased.
In a possible implementation manner, one selected candidate path is screened out, and at this time, the screened out candidate path can be directly used as a final target return-to-source path.
In another possible implementation manner, if at least two screened candidate paths are provided, a final target return path can be determined according to each candidate path, that is, at least two candidate paths are provided; determining a target back-to-source path according to the path to be selected, wherein the specific implementation process can be as follows:
taking at least two paths to be selected as target return-to-source paths; alternatively, the first and second electrodes may be,
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 return path according to the score of each path to be selected.
It should be noted that, if the screened candidate paths are at least two, the at least two candidate paths may be directly used as the target return-to-source paths, and then may be returned to the edge node, so that the edge node may select one of the at least two received target return-to-source paths. Or, 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 return-to-source path according to the score of each path to be selected.
In practical application, the weighting coefficients corresponding to different parameters in different threshold ranges and the weighting coefficients corresponding to each node may be preset. When each candidate path is scored according to the network parameter information of each node included in each candidate path, the node score of each node can be determined according to the weighting system corresponding to different parameters of each node in a certain candidate path, then the score of the candidate path is determined according to the node score of each node included in the candidate path and the corresponding weighting coefficient, and so on, the score of each candidate path can be obtained.
In the embodiment of the application, when the number of the candidate paths is at least two, each candidate path can be scored according to network parameter information of each node included in each candidate path, so that the network condition of each candidate path is represented by the score of each candidate path, a target source returning path can be determined according to the score of each candidate path, a path with a better network environment is dynamically selected as a source returning path to be returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
In an optional implementation manner of this embodiment, the target back-to-source path is determined according to the score of each candidate path, and a specific implementation process may be as follows:
sorting the scores of all the paths to be selected from high to low;
and selecting a preset number of paths to be selected as target source returning paths from the sequencing result according to a preset selection rule.
Specifically, the preset selection rule refers to a preset rule for selecting a to-be-selected route from the sorting result, and the preset selection rule may be to select a preset number of to-be-selected routes in the top sorting order, may also be to select a preset number of to-be-selected routes with scores greater than a score threshold, or may also be to select a preset number of routes within a preset sorting range. In addition, the preset number refers to the number of preset target source return paths, and for example, the preset number may be 1, 2, 3, and the like.
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 is, the better the network condition is, so that the scores 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 return-to-source paths in a sorting result, so as to dynamically select a path with a better network environment as a return-to-source path to return to an edge node, thereby greatly improving the return-to-source efficiency and success rate, and reducing cost and improving efficiency.
Along the above example, assuming that the candidate paths 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 path 2 can be taken as the final target return-to-source path at this time.
Step 108: and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
It should be noted that, after the source return server determines the target source return path corresponding to the source return request, the target source return path may be returned to the edge node, so that the edge node may return the source according to the target source return path to obtain the required live stream to be obtained. In practical application, if the target source returning path received by the edge server is one, the source returning can be directly carried out based on the source returning path, and the live stream to be acquired is pulled; if the number of the target source returning paths received by the edge server is at least two, one of the at least two target source returning paths can be selected, source returning is carried out based on the selected target source returning path, and the live stream to be acquired is pulled.
According to the live broadcast source returning method, when a source returning server receives a source returning request sent by an edge node, at least one alternative source returning path can be determined according to flow distribution information, and then a target source returning path is selected from the at least one alternative source returning path by combining network parameter information of each node in a content distribution network, so that the edge node can return the source according to the selected target source returning path and pull a required live broadcast stream. Therefore, the target source returning path for returning the source can be dynamically selected by combining the flow distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the bandwidth waste or overlarge bandwidth pressure is avoided, the selected target source returning path combines the flow distribution information and the network parameter information, the source returning path with the better source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
Fig. 3 shows a flowchart of another live feed back method provided in an embodiment of the present application, which is applied to a feed back 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 to-be-acquired live stream.
Step 304: and acquiring flow distribution information corresponding to the flow identification of the to-be-acquired live flow, wherein the flow distribution information comprises at least one distribution node of the to-be-acquired live flow and the number of watching persons of the to-be-acquired live flow.
Step 306: determining each path from the edge node to at least one distribution node of the to-be-acquired live stream, and taking each determined path as at least one alternative source returning path corresponding to the source returning request.
Step 308: network parameter information of each node in the content distribution network is acquired.
The network parameter information is information for evaluating a network environment of at least one alternative back-to-source 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.
Step 310: and determining the source returning jump number corresponding to the source returning request according to the number of watching persons of the to-be-obtained live stream, wherein the number of the source returning jump number is the jump number from the edge node to the source station.
Step 312: and selecting an initial candidate path corresponding to the source returning jump revolution from at least one candidate source returning path.
Step 314: and taking the initial candidate path as a target back-to-source path under the condition that the initial candidate path is one.
Step 316: and under the condition that the number of the initial candidate paths is at least two, 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 meets the preset network condition, taking the path to be screened as the path to be selected.
Step 318: and taking the candidate path as a target return-to-source path under the condition that the candidate path is one.
Step 320: taking at least two paths to be selected as target return-to-source paths under the condition that the initial candidate paths are at least two; or according to the network parameter information of each node included in each path to be selected, scoring 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 return-to-source paths in a sorting result according to a preset selection rule.
Step 322: and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
According to the live broadcast source returning method, when a source returning server receives a source returning request sent by an edge node, at least one alternative source returning path can be determined according to flow distribution information, and then a target source returning path is selected from the at least one alternative source returning path by combining network parameter information of each node in a content distribution network, so that the edge node can return the source according to the selected target source returning path and pull a required live broadcast stream. Therefore, the target source returning path for returning the source can be dynamically selected by combining the flow distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the bandwidth waste or overlarge bandwidth pressure is avoided, the selected target source returning path combines the flow distribution information and the network parameter information, the source returning path with the better source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
Corresponding to the above method embodiment, the present application further provides an embodiment of a live broadcast source returning device, and fig. 4 shows a schematic structural diagram of a live broadcast source returning device provided in an embodiment of the present application. As shown in fig. 4, the apparatus is applied to the back source server, and includes:
a receiving module 402, configured to receive a source returning request sent by an edge node, where the source returning request carries a stream identifier of a to-be-acquired live stream;
a determining module 404, configured to obtain flow distribution information corresponding to a flow identifier of a to-be-obtained live stream, and determine, according to the flow distribution information, at least one alternative back-to-source path corresponding to the back-to-source request;
a selecting module 406, configured to obtain network parameter information of each node in the content distribution network, and select a target return-to-source path from at least one candidate return-to-source path according to the network parameter information of each node;
the returning module 408 is configured to return a target source returning path to the edge node, where the target source returning path is used to instruct the edge node to return to the source to obtain the live stream to be obtained.
Optionally, the flow distribution information includes at least one distribution node of the live flow 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 to-be-acquired live stream;
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 the number of viewers of the live stream to be acquired;
the selection module 406 is further configured to:
determining the source returning jump number corresponding to the source returning request according to the number of watching persons of the to-be-acquired live stream, wherein the number of the source returning jump number is the jump number from the edge node to the source station;
and selecting a target source returning path from at least one alternative source returning path by combining the network parameter information and the source returning hop revolution number.
Optionally, the selection module 406 is further configured to:
determining the source returning jump revolution number as a first numerical value under the condition that the number of watching people is less than the number threshold;
determining the source returning jump revolution number as a second numerical value under the condition that the number of watching people is more than or equal to the number threshold;
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 a source returning jump revolution number from at least one candidate source returning path;
taking the initial candidate path as a target return-to-source path under the condition that the initial candidate path is one;
and under the condition that the number of the initial candidate paths is at least two, screening a target return-to-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 meets the preset network condition, taking the path to be screened as a path to be selected, and determining a target return path according to the path to be selected.
Optionally, the number of the candidate paths is at least two;
the selection module 406 is further configured to:
taking at least two paths to be selected as target return-to-source paths; alternatively, the first and second electrodes may be,
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 return path according to the score of each path to be selected.
Optionally, the selection module 406 is further configured to:
sorting the scores of all the paths to be selected from high to low;
and selecting a preset number of paths to be selected as target source returning paths from the sequencing 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-to-source 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 in which the node is located.
According to the live broadcast source returning device, when a source returning server receives a source returning request sent by an edge node, at least one alternative source returning path can be determined according to flow distribution information, and then a target source returning path is selected from the at least one alternative source returning path by combining network parameter information of each node in a content distribution network, so that the edge node can return the source according to the selected target source returning path and pull a required live broadcast stream. Therefore, the target source returning path for returning the source can be dynamically selected by combining the flow distribution information and the network parameter information of each node in the content distribution network, the sink nodes of different live streams are dispersed, the bandwidth is reasonably utilized, the bandwidth waste or overlarge bandwidth pressure is avoided, the selected target source returning path combines the flow distribution information and the network parameter information, the source returning path with the better source returning condition can be selected and returned to the edge node, the source returning efficiency and the success rate are greatly improved, and the cost is reduced and the efficiency is improved.
The above is an illustrative scheme of the live broadcast source returning device of 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 shows a block diagram of a computing device according to 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 store 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 a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. The Access device 540 may include one or more of any type of Network Interface (e.g., a Network Interface Controller) that may be wired or Wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) Wireless Interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) Interface, an ethernet Interface, a Universal Serial Bus (USB) Interface, a cellular Network Interface, a bluetooth Interface, a Near Field Communication (NFC) Interface, and so forth.
In one embodiment of the application, the above components of the computing device 500 and other components not shown in fig. 5 may also be connected to each other, for example, by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 5 is for purposes of example only and is not limiting as to the scope of the present application. Other components may be added or replaced as desired by those skilled in the art.
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., smartphone), wearable computing device (e.g., smartwatch, smartglasses, 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 to-be-acquired live stream;
acquiring flow distribution information corresponding to the flow identification of the live flow to be acquired, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from at least one alternative return-to-source path according to the network parameter information of each node;
and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return the source to acquire the live stream to be acquired.
The above is an illustrative scheme of a computing device of the present 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 that are not described in detail in the technical solution of the computing device can all be referred to in 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 used to implement the steps of any live feed-back method.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the live broadcast source returning method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the live broadcast source returning method.
The foregoing description of specific embodiments of the present application has been presented. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may 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 may also be possible or may be advantageous.
The computer instructions comprise computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will appreciate that the embodiments described in this specification are presently considered to be preferred embodiments and that acts and modules are not required in the present application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. 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 its practical applications, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (12)

1. A live broadcast source returning method is applied to a source returning server and comprises the following steps:
receiving a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a to-be-acquired live stream;
acquiring flow distribution information corresponding to the flow identification of the to-be-acquired live flow, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from the at least one alternative return-to-source path according to the network parameter information of each node;
and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return to the source to acquire the to-be-acquired live stream.
2. The live feed-back method according to claim 1, wherein the flow distribution information includes at least one distribution node of the live flow to be acquired;
the determining, according to the flow distribution information, at least one alternative back-to-source path corresponding to the back-to-source request includes:
determining each path from the edge node to the distribution node of the at least one to-be-acquired live stream;
and taking each determined path as at least one alternative return-to-source path corresponding to the return-to-source request.
3. The live feed-back method according to claim 1 or 2, wherein the stream distribution information includes the number of viewers of the live stream to be acquired;
selecting a target back-to-source path from the at least one candidate back-to-source path according to the network parameter information, including:
determining a source returning jump number corresponding to the source returning request according to the number of watching persons of the to-be-acquired live stream, wherein the number of the source returning jump number is a jump number from an edge node to a source station;
and selecting a target source returning path from the at least one alternative source returning path by combining the network parameter information and the source returning hop revolution number.
4. The live feed back method according to claim 3, wherein the determining, according to the number of viewers of the live stream to be obtained included in the stream distribution information, a feed back skip number corresponding to the feed back request includes:
determining the source returning jump revolution number as a first numerical value under the condition that the number of the watching people is less than a number threshold;
determining the source returning jump revolution number as a second numerical value under the condition that the number of the watching people is more than or equal to the number threshold;
wherein the second value is greater than the first value.
5. The live feed-back method according to claim 3, wherein said selecting a target feed-back path from the at least one alternative feed-back path in combination with the network parameter information and the feed-back hop count comprises:
selecting an initial candidate path corresponding to the source returning jump revolution from the at least one candidate source returning path;
taking the initial candidate path as the target back-to-source path when the initial candidate path is one;
and under the condition that the number of the initial candidate paths is at least two, screening the target back-to-source path from the at least two initial candidate paths according to the network parameter information.
6. The live feed-back method according to claim 5, wherein the screening the target feed-back path from the at least two initial candidate paths according to 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 meets a preset network condition, taking the path to be screened as a path to be selected, and determining the target return-to-source path according to the path to be selected.
7. The live feed-back method according to claim 6, wherein the number of the candidate paths is at least two;
the determining the target back-to-source path according to the path to be selected includes:
taking the at least two paths to be selected as the target back-to-source paths; alternatively, the first and second electrodes may be,
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 return-to-source path according to the score of each path to be selected.
8. The live feed-back method according to claim 7, 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 returning paths from the sequencing result according to a preset selection rule.
9. The live feed-back method according to claim 1 or 2, 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 in which the node is located.
10. A live broadcast source returning device is applied to a source returning server and comprises:
the receiving module is configured to receive a source returning request sent by an edge node, wherein the source returning request carries a stream identifier of a to-be-acquired live stream;
the determining module is configured to obtain flow distribution information corresponding to the flow identifier of the to-be-obtained live flow, and determine at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
the selection module is configured to acquire network parameter information of each node in a content distribution network, and select a target return-to-source path from the at least one alternative return-to-source path according to the network parameter information of each node;
and the return module is configured to return the target source return path to the edge node, wherein the target source return path is used for indicating the edge node to return to the source to acquire the to-be-acquired live stream.
11. 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 to-be-acquired live stream;
acquiring flow distribution information corresponding to the flow identification of the to-be-acquired live flow, and determining at least one alternative source returning path corresponding to the source returning request according to the flow distribution information;
acquiring network parameter information of each node in a content distribution network, and selecting a target return-to-source path from the at least one alternative return-to-source path according to the network parameter information of each node;
and returning the target source returning path to the edge node, wherein the target source returning path is used for indicating the edge node to return to the source to acquire the to-be-acquired live stream.
12. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, perform the steps of the live feed back method of any of claims 1 to 9.
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 true CN114501073A (en) 2022-05-13
CN114501073B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002497A (en) * 2022-05-27 2022-09-02 上海哔哩哔哩科技有限公司 Live broadcast source returning scheduling method and system and source returning server
CN115022660A (en) * 2022-06-01 2022-09-06 上海哔哩哔哩科技有限公司 Parameter configuration method and system for content distribution network
CN115643203A (en) * 2022-09-15 2023-01-24 阿里巴巴(中国)有限公司 Content distribution method, content distribution device, content distribution network, device, and medium
WO2023155617A1 (en) * 2022-02-16 2023-08-24 上海哔哩哔哩科技有限公司 Live streaming origin-pull method and apparatus
WO2024051424A1 (en) * 2022-09-06 2024-03-14 华为云计算技术有限公司 Network resource allocation method, apparatus, and storage 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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155617A1 (en) * 2022-02-16 2023-08-24 上海哔哩哔哩科技有限公司 Live streaming origin-pull method and apparatus
CN115002497A (en) * 2022-05-27 2022-09-02 上海哔哩哔哩科技有限公司 Live broadcast source returning scheduling method and system and source returning server
CN115002497B (en) * 2022-05-27 2024-03-12 上海哔哩哔哩科技有限公司 Live broadcast source-returning scheduling method and system and source-returning server
CN115022660A (en) * 2022-06-01 2022-09-06 上海哔哩哔哩科技有限公司 Parameter configuration method and system for content distribution network
CN115022660B (en) * 2022-06-01 2024-03-19 上海哔哩哔哩科技有限公司 Parameter configuration method and system for content distribution network
WO2024051424A1 (en) * 2022-09-06 2024-03-14 华为云计算技术有限公司 Network resource allocation method, apparatus, and storage medium
CN115643203A (en) * 2022-09-15 2023-01-24 阿里巴巴(中国)有限公司 Content distribution method, content distribution device, content distribution network, device, and medium

Also Published As

Publication number Publication date
WO2023155617A1 (en) 2023-08-24
CN114501073B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN114501073A (en) Live broadcast source returning method and device
WO2020169086A1 (en) User-plane path selection method and apparatus
US10992769B2 (en) Data transmission method, apparatus and system
CN112888069B (en) 5G network slicing system serving city center environment
CN106572516A (en) Network slice selection method, terminal equipment and network equipment
CN105656876A (en) Live video play method, device and system
CN114760482B (en) Live broadcast source returning method and device
WO2021092937A1 (en) Method, system and apparatus for determining strategy
CN113811013A (en) Cluster capacity dynamic regulation method, device, storage medium and communication system
CN115002497B (en) Live broadcast source-returning scheduling method and system and source-returning server
CN113923470A (en) Live stream processing method and device
CN113194134A (en) Node determination method and device
CN103763206A (en) Network scheduling method and gateway
CN113727331B (en) 5G base station deployment method and device
US20240049048A1 (en) Traffic engineering in 5g and lte cups architecture
CN114173160A (en) Live broadcast stream pushing method and device
Wang et al. The information funnel: Exploiting named data for information-maximizing data collection
CN111757389B (en) Communication device and method
CN115022660B (en) Parameter configuration method and system for content distribution network
CN114501053B (en) Live stream acquisition method and device
CN114866790A (en) Live streaming scheduling method and device
CN110290175B (en) Transmission content scheduling method and device in combination with user interest and mobile terminal
CN100512300C (en) Method for switching service while transmitting realtime stream
Yang et al. Multi-access edge computing-assisted D2D streaming for proximity-based social networking
KR20210048261A (en) Surppoting apparatus for slice management, and method thereof for connection management

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