Live broadcast stream processing method, system and device

By introducing regional management nodes into the regional live broadcast network, the distribution and management of live streams are realized, and the problem that live stream distribution in the live broadcast network depends on the live broadcast center is solved, and push efficiency and network stability are improved.

CN119893146APending Publication Date: 2025-04-25HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311406335.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, the distribution of live streams in the live broadcast network depends on the live broadcast center, resulting in the double service pressure of the live broadcast center, low push efficiency, and affecting the stability of the live broadcast.

Method used

By introducing a first regional management node and a second regional management node into the regional live broadcast network, the distribution and management of live broadcast streams are realized. The first area management node receives a live broadcast request, acquires a live broadcast stream and records status information, pushes the status information to the second area management node, and sends a live broadcast stream when receiving a resource acquisition request.

Benefits of technology

Reliance on live broadcast centers has been reduced, resource push efficiency has been improved, resource transmission paths have been shortened, and the stability of live broadcast network has been enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893146A_ABST
    Figure CN119893146A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast stream processing method, system and device, the live broadcast stream processing method is applied to a first area management node, the first area management node belongs to an area live broadcast network, and the method comprises the following steps: receiving a live broadcast request corresponding to a target anchor submitted by a first resource distribution node; acquiring a live broadcast stream corresponding to the target anchor according to the live broadcast request, and recording live broadcast state information of the live broadcast stream; pushing live broadcast state information corresponding to the live broadcast stream to a second area management node in the area live broadcast network; and under the condition that a resource acquisition request submitted by the second area management node for the live broadcast state information is received, sending the live broadcast stream to the second area management node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and in particular, to a live streaming processing method, system, and device. Background Art

[0002] With the development of Internet technology, the service quality of live broadcast network services is also constantly improving. In the live broadcast scenario, the distribution of live broadcast streams in the live broadcast network still depends on the live broadcast center. The live broadcast center is responsible for pulling and pushing live broadcast streams, as well as managing and controlling live broadcast nodes. Each live broadcast node in the live broadcast network is strongly dependent on the live broadcast center, which will double the service pressure of the live broadcast center.

[0003] In the prior art, a multi-level live broadcast node is usually set up to share the traffic of the live broadcast center, reduce the access distance of the client, and improve the quality of the live broadcast. However, this method still requires the live broadcast center to uniformly receive the live broadcast stream and push the same live broadcast stream to the client at the same time through multiple layers of live broadcast nodes. However, the transmission path of the live broadcast stream in this way is long and the push efficiency is low. The live broadcast service is too dependent on the live broadcast center, which leads to the aggregation of media streams and affects the stability of the live broadcast. Therefore, a more effective method is urgently needed to solve this problem. Summary of the invention

[0004] In view of this, the embodiments of this specification provide a live stream processing method. One or more embodiments of this specification also relate to a live stream processing device, a live stream processing system, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a live streaming stream processing method is provided, which is applied to a first regional management node, where the first regional management node belongs to a regional live streaming network, including:

[0006] Receive a live broadcast request corresponding to a target anchor submitted by the first resource distribution node;

[0007] Acquire the live stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live stream;

[0008] Pushing the live broadcast status information corresponding to the live broadcast stream to the second regional management node in the regional live broadcast network;

[0009] When receiving the resource acquisition request submitted by the second area management node for the live broadcast state information, the live broadcast stream is sent to the second area management node.

[0010] According to a second aspect of an embodiment of this specification, a live stream processing device is provided, which is applied to a first regional management node, and the first regional management node belongs to a regional live broadcast network, including:

[0011] A receiving module is configured to receive a live broadcast request corresponding to a target anchor submitted by the first resource distribution node;

[0012] A recording module, configured to obtain a live stream corresponding to the target anchor according to the live broadcast request, and record live broadcast status information of the live broadcast stream;

[0013] A push module, configured to push the live broadcast status information corresponding to the live broadcast stream to a second regional management node in the regional live broadcast network;

[0014] The sending module is configured to send the live broadcast stream to the second area management node when receiving the resource acquisition request submitted by the second area management node for the live broadcast state information.

[0015] According to a third aspect of an embodiment of this specification, another live stream processing method is provided, which is applied to a second regional management node, where the second regional management node belongs to a regional live broadcast network, including:

[0016] receiving an access request submitted by a second resource distribution node associated with a target user to a target anchor, wherein the second resource distribution node is a resource distribution node managed by the second area management node;

[0017] Determine the live broadcast status information corresponding to the target anchor based on the access request;

[0018] Based on the live broadcast status information, submit a resource acquisition request to a first regional management node corresponding to the target anchor in the regional live broadcast network;

[0019] The multimedia resource package fed back by the first area management node in response to the resource acquisition request is received, and sent to the target user through the second resource distribution node.

[0020] According to a fourth aspect of an embodiment of this specification, another live stream processing device is provided, which is applied to a second regional management node, and the second regional management node belongs to a regional live network, including:

[0021] A receiving module is configured to receive an access request submitted by a second resource distribution node associated with a target user to a target anchor, wherein the second resource distribution node is a resource distribution node managed by the second area management node;

[0022] A determination module, configured to determine the live broadcast status information corresponding to the target anchor based on the access request;

[0023] A submission module, configured to submit a resource acquisition request to a first regional management node corresponding to the target anchor in the regional live broadcast network based on the live broadcast status information;

[0024] The sending module is configured to receive the multimedia resource package fed back by the first area management node in response to the resource acquisition request, and send it to the target user through the second resource distribution node.

[0025] According to a fifth aspect of the embodiments of this specification, a live streaming processing system is provided, comprising a first regional management node corresponding to a target anchor and a second regional management node corresponding to a target user, a first resource distribution node managed by the first regional management node, and a second resource distribution node managed by the second regional management node, wherein the first regional management node and the second regional management node belong to a regional live streaming network;

[0026] The first regional management node is configured to receive a live broadcast request submitted by the first resource distribution node; obtain a live broadcast stream corresponding to the target anchor according to the live broadcast request, and record live broadcast status information of the live broadcast stream; and push the live broadcast status information corresponding to the live broadcast stream to the second regional management node;

[0027] The second regional management node is configured to receive an access request submitted by the second resource distribution node for the target anchor, determine live broadcast status information corresponding to the target anchor based on the access request, and submit a resource acquisition request to the first regional management node based on the live broadcast status information;

[0028] The first regional management node is configured to load the live stream and create a multimedia resource package in response to the resource acquisition request, and send the multimedia resource package to the second regional management node;

[0029] The second area management node is used to receive the multimedia resource package and send it to the target user through the second resource distribution node.

[0030] According to a sixth aspect of an embodiment of this specification, a computing device is provided, including:

[0031] Memory and processor;

[0032] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned live stream processing method are implemented.

[0033] According to a seventh aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned live stream processing method are implemented.

[0034] According to an eighth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned live stream processing method.

[0035] The live stream processing method provided in one embodiment of the present specification is applied to the first regional management node, which belongs to the regional live broadcast network, including: receiving a live broadcast request corresponding to the target anchor submitted by the first resource distribution node; obtaining the live stream corresponding to the target anchor according to the live broadcast request, and recording the live broadcast status information of the live stream; pushing the live broadcast status information corresponding to the live stream to the second regional management node in the regional live broadcast network; upon receiving the resource acquisition request submitted by the second regional management node for the live broadcast status information, sending the live stream to the second regional management node. The first regional management node and the second regional management node communicate based on the regional live broadcast network. Therefore, any regional management node that receives the live stream in the regional live broadcast network can serve as the first regional management node and receive resource acquisition requests from other regional management nodes in the regional live broadcast network. Then, multimedia resource packages are pushed, thereby improving the resource push efficiency and shortening the resource transmission path. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a scene diagram of a live stream processing method provided by an embodiment of this specification;

[0037] Figure 2 is a flowchart of a live stream processing method provided by an embodiment of this specification;

[0038] Figure 3 It is a live network scene diagram of a live streaming processing method provided by an embodiment of this specification;

[0039] Figure 4 It is a regional live network scene diagram of a live stream processing method provided by an embodiment of this specification;

[0040] Figure 5 is a flowchart of another live stream processing method provided by an embodiment of this specification;

[0041] Figure 6 is a processing flow chart of a live stream processing method provided by an embodiment of this specification;

[0042] Figure 7It is a structural diagram of a live streaming processing device provided by an embodiment of this specification;

[0043] Figure 8 It is a structural diagram of another live stream processing device provided by an embodiment of this specification;

[0044] Fig. 9 It is a structural diagram of a live streaming processing system provided by an embodiment of this specification;

[0045] Fig.10 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0046] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0047] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0048] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0049] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0050] First, the terms involved in one or more embodiments of this specification are explained.

[0051] Live Network: A global transmission network responsible for distributing live streams, built on the capabilities of CDN nodes.

[0052] CDN: (Content Delivery Network) Content Distribution Network. It is a layer in the Internet ecosystem. A geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and high performance by distributing services spatially relative to end users.

[0053] DNS scheduling: intelligent computing, providing nearby node scheduling services.

[0054] Mesh network: A multi-node, centerless, self-organizing multi-hop communication network.

[0055] In the live broadcast scenario, a regional live broadcast network can be built based on CDN nodes. Each CDN node in the regional live broadcast network corresponds to at least one resource distribution node, which connects to the client corresponding to the anchor or the audience. This enables push and pull streaming of live broadcasts. Figure 1 It is an architectural diagram of a live stream processing method provided by an embodiment of this specification; the live stream processing method is applied to the first regional management node, and the first regional management node belongs to the regional live network. The regional live network also includes other regional management nodes, and each regional management node in the regional live network has both the ability to manage and distribute live streams. When the target anchor starts the live broadcast, a broadcast request is submitted to the first resource distribution node, and the live broadcast request submitted by the first resource distribution node associated with the target anchor to the nearest first regional management node, and the first resource distribution node is a resource distribution node managed by the first regional management node. The first regional management node can correspond to multiple resource distribution nodes. According to the live broadcast request, the live stream corresponding to the target anchor is obtained, and the live broadcast status information of the live broadcast stream is recorded. The live broadcast status information corresponding to the live broadcast stream is pushed to the second regional management node and the regional management node in the regional live network. In the case of receiving the resource acquisition request submitted by the second regional management node for the live broadcast status information, a multimedia resource package is created according to the live broadcast stream and sent to the second regional management node.

[0056] The first regional management node and the second regional management node communicate based on the regional live network. Therefore, any regional management node that receives the live stream in the regional live network can serve as the first regional management node to receive resource acquisition requests from other regional management nodes in the regional live network. Then, the multimedia resource package is pushed, thereby improving the push efficiency of resources and shortening the resource transmission path.

[0057] In this specification, a live stream processing method is provided. This specification also relates to a live stream processing device, a live stream processing system, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0058] See also Figure 2 , Figure 2 A flowchart of a live stream processing method provided according to an embodiment of the present specification is shown. The live stream processing method is applied to a first regional management node, which belongs to a regional live broadcast network, and specifically includes the following steps.

[0059] Step 202: Receive a live broadcast request corresponding to a target anchor submitted by a first resource distribution node.

[0060] Specifically, the target anchor refers to the live broadcast initiator of the anchor client; the client corresponding to the target anchor is within the management scope and resource distribution scope of the first resource distribution node; the live broadcast request carries the live broadcast stream corresponding to the target anchor, which is used to push the stream to the upper node corresponding to the first resource distribution node, that is, the first regional management node; the first regional management node contains at least one resource distribution node.

[0061] Based on this, when the target anchor has a live broadcast demand, the first resource distribution node receives the live broadcast stream corresponding to the target anchor. The first regional management node receives the live broadcast request carrying the live broadcast stream corresponding to the target anchor submitted by the first resource distribution node. The first resource distribution node is a resource distribution node managed by the first regional management node, and the first regional management node includes at least one resource distribution node.

[0062] In actual applications, the regional live broadcast network includes at least one regional management node. When the first regional management node fails or goes offline, the live broadcast request can be received by the regional management node in the regional live broadcast network that is closer to the first resource distribution node.

[0063] Step 204: Obtain the live broadcast stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live broadcast stream.

[0064] Specifically, after receiving the live broadcast request submitted by the first resource distribution node associated with the target anchor, the live broadcast stream corresponding to the target anchor can be obtained according to the live broadcast request, and the live broadcast status information of the live broadcast stream can be recorded, wherein the live broadcast stream refers to the data stream that needs to be pushed to the resource distribution node after the target anchor collects multimedia data such as audio and video through the anchor client; the live broadcast status information refers to the live broadcast status corresponding to the current live broadcast stream of the target anchor, including but not limited to the live broadcast status, the live broadcast suspension status and the live broadcast end status.

[0065] Based on this, after receiving the live broadcast request submitted by the first resource distribution node associated with the target anchor, the live broadcast stream corresponding to the target anchor is obtained according to the live broadcast request, the live broadcast stream is stored in the first regional management node, and the live broadcast status information of the live broadcast stream is recorded. When the next live broadcast stream of the target anchor is received again, the next live broadcast stream and the status information of the next live broadcast stream continue to be recorded.

[0066] Furthermore, considering that live broadcasting is time-sensitive, when the host ends the live broadcast, the live audience cannot enter the live broadcast room to watch the live broadcast, and the storage of the live stream will occupy certain storage resources. Considering that storage resources are limited, the live stream can be deleted based on the effective time of the live stream. The specific implementation is as follows:

[0067] The live stream is stored in a local storage location, and a valid time is set for the live stream; after sending it to the second area management node, the method further includes: when the valid time is reached, deleting the live stream in the local storage location.

[0068] Specifically, the local storage location may be a storage location corresponding to the first regional management node, and may be a local disk, a local database, etc.; the effective time refers to the storage time or the retrieval time of the live stream, and may also be used as an expiration time.

[0069] Based on this, the live stream is stored in a local storage location, and an effective time is set for the live stream. After the multimedia resource package is sent to the second regional management node, if the storage time corresponding to the live stream reaches the effective time, the live stream in the local storage location is deleted.

[0070] In summary, when the effective time is reached, the live stream in the local storage location is deleted, thereby saving storage resources.

[0071] Step 206: Push the live broadcast status information corresponding to the live broadcast stream to the second regional management node in the regional live broadcast network.

[0072] Specifically, after obtaining the live broadcast stream corresponding to the target anchor according to the live broadcast request and recording the live broadcast status information of the live broadcast stream, the live broadcast status information corresponding to the live broadcast stream can be pushed to the second regional management node in the regional live broadcast network, wherein the second regional management node refers to a regional management node at the same level as the first regional management node in the regional live broadcast network; the management scope of the second regional management node is different from the management scope of the first regional management node.

[0073] Based on this, after obtaining the live stream corresponding to the target anchor according to the live broadcast request and recording the live broadcast status information of the live stream, the live broadcast status information corresponding to the live stream is pushed to the second regional management node in the regional live broadcast network, and the live broadcast status information is pushed to other regional management nodes in the regional live broadcast network.

[0074] Step 208: upon receiving the resource acquisition request submitted by the second area management node for the live broadcast state information, sending the live broadcast stream to the second area management node.

[0075] Specifically, after the live broadcast status information corresponding to the live broadcast stream is pushed to the second regional management node in the regional live broadcast network, the live broadcast stream can be sent to the second regional management node upon receiving a resource acquisition request submitted by the second regional management node for the live broadcast status information, wherein the resource acquisition request refers to a computer command for acquiring the live broadcast stream corresponding to the target anchor; the multimedia resource package refers to a resource package encapsulated based on the multimedia resources corresponding to the live broadcast stream, and the multimedia resource package contains the video or audio data of the target anchor during the live broadcast.

[0076] Based on this, after the live broadcast status information corresponding to the live broadcast stream is pushed to the second regional management node in the regional live broadcast network, the second regional management node can accept the live broadcast viewing request submitted by the target user through the second resource distribution node, and upon receiving the resource acquisition request submitted by the second regional management node for the live broadcast status information, the live broadcast stream is sent to the second regional management node, or a multimedia resource package is created based on the live broadcast stream and sent to the second regional management node, and the second regional management node pushes the multimedia resource package to the target user, and the target user can be a live broadcast audience watching the live broadcast.

[0077] In practical applications, see Figure 3 The live broadcast network shown in the figure includes regional management nodes L2-1, L2-2 and L2-3; the regional management nodes L2-1, L2-2 and L2-3 form a regional live broadcast network; the live broadcast network includes clients (anchor, audience 1, audience 2 and audience 3), and the resource distribution node L1-1 corresponding to the anchor, and the resource distribution node L1-2 corresponding to audience 1, the resource distribution node L1-3 corresponding to audience 2, and the resource distribution node L1-4 corresponding to audience 3. When audience 3 needs to watch the live broadcast, the resource distribution node L1-4 corresponding to audience 3 submits a resource acquisition request to the second regional management node L2-3, and the second regional management node L2-3 sends the resource acquisition request to the first regional management node L2-1.

[0078] Furthermore, considering that the live stream may not be played on any device due to the different devices used by the live broadcast initiator and the live broadcast viewer, it is necessary to obtain configuration information to meet the requirements of live stream transcoding, resource package generation, etc. The specific implementation is as follows:

[0079] Submitting an information acquisition request to a target live broadcast center based on a preset time interval, and receiving configuration information fed back by the target live broadcast center in response to the information acquisition request; or, receiving configuration information issued by the target live broadcast center; sending the live broadcast stream to the second regional management node includes: converting the live broadcast stream into a multimedia resource package according to the configuration information, and sending it to the second regional management node.

[0080] Specifically, the target live broadcast center can be any live broadcast center, which is used to receive the live broadcast streams corresponding to each anchor in the live broadcast network, and after processing the live broadcast streams, push the live broadcast streams to the live broadcast audience; the target live broadcast center has the functions of pushing streams, pulling streams, transcoding and storing live broadcast streams; the preset time can be set to a time interval of 10 minutes, 15 minutes, etc. according to actual needs, and is used to obtain configuration information from the target live broadcast center at preset intervals. While obtaining the configuration information, it also realizes the detection of the communication connection with the target live broadcast center to detect whether the communication with the target live broadcast center is smooth; the configuration information may include processing information related to the live broadcast stream such as transcoding templates, encoding information, and transcoding information, ensuring that it is the same as the configuration information used by the target live broadcast center; the configuration information is used to transcode the live broadcast stream when different clients request to obtain the live broadcast stream, so that the transcoded live broadcast stream can be played on the client to meet the client's playback requirements; when the target live broadcast center fails, the first regional management node can also transcode the live broadcast stream based on the configuration information, so that the first regional management can provide the same live broadcast stream processing service as the target live broadcast center. Among them, the encoding information may include encoding formats, such as H264 and H265 formats.

[0081] Based on this, an information acquisition request is submitted to the target live broadcast center based on a preset time interval, and configuration information fed back by the target live broadcast center for the information acquisition request is received; or configuration information sent by the target live broadcast center at a fixed interval is received. The live stream is converted into a multimedia resource package according to the configuration information, and sent to the second regional management node, so that the second regional management node sends the multimedia resource package to the client corresponding to the information acquisition request.

[0082] In summary, an information acquisition request is submitted to the target live broadcast center based on a preset time, and configuration information fed back by the target live broadcast center in response to the information acquisition request is received, or configuration information regularly issued by the target live broadcast center is received. The live stream is then transcoded based on the configuration information, thereby improving the diversity of live stream encoding, so that the live stream can be played in a variety of environments.

[0083] Furthermore, considering that the live broadcast initiator and the live broadcast viewers use different devices, there is a need for transcoding during the live broadcast stream transmission process in order to meet the playback requirements of different devices. The specific implementation is as follows:

[0084] The live stream is transcoded according to the transcoding information corresponding to the resource acquisition request in the configuration information, and the multimedia resource package is created based on the transcoding result.

[0085] Specifically, the transcoding information may include the bit rate of the video encoding, such as 50kbps-10Mbps, the frame rate of the video encoding, and the video resolution. The audio supports encoding formats such as AAC-LC, AAC-HE, and AAC-HEV2.

[0086] Based on this, after receiving the configuration information sent by the target live broadcast center, when there is a demand for live stream playback, the live stream can be transcoded according to the transcoding information corresponding to the resource acquisition request in the configuration information, and the transcoded live stream can be packaged to obtain a multimedia resource package.

[0087] Continuing with the above example, after receiving the resource acquisition request submitted by the viewer's client for the live stream, the live stream is transcoded based on the encoding information in the configuration information to achieve conversion of formats such as H264 and H265, as well as bit rates such as 50kbps-10Mbps, and then sent by the second area management node to the viewer's client.

[0088] In summary, the live stream is transcoded based on the configuration information, thereby improving the diversity of the live stream encoding, so that the live stream can be played in a variety of environments.

[0089] Furthermore, considering that the live broadcast time may be limited, the live broadcast content can be recorded so that viewers who missed the live broadcast can replay the live broadcast content after the live broadcast ends, and then different live broadcast resources are sent according to the live broadcast status when the resource acquisition request is received. The specific implementation is as follows:

[0090] Based on the live broadcast status information, determine whether the target anchor is in the broadcast state; if so, create a live broadcast resource package according to the live broadcast stream, and send the live broadcast resource package as the multimedia resource package to the second area management node; if not, create a recorded broadcast resource package according to the live broadcast stream, and send the recorded broadcast resource package as the multimedia resource package to the second area management node.

[0091] Specifically, the recording and broadcasting resource package refers to a resource package obtained by encapsulating the live video or audio after recording the live content corresponding to the target live broadcast to obtain the live video or audio.

[0092] Based on this, it is determined whether the target anchor is in the broadcast state based on the live broadcast status information; if the target anchor is in the broadcast state, it means that the target anchor is currently broadcasting live, and a live broadcast resource package can be created according to the live broadcast stream, and the live broadcast resource package can be sent to the second area management node as a multimedia resource package; if the target anchor is not in the broadcast state, it means that the target anchor has currently ended the live broadcast, and a recorded broadcast resource package is created according to the live broadcast stream of the target anchor recorded by the first area management node, and the recorded broadcast resource package is sent to the second area management node as a multimedia resource package.

[0093] To sum up, when the target anchor is in the broadcasting state, the live broadcast resource package is sent to the second area management node, and when the target anchor is in the non-broadcasting state, the recorded broadcast resource package is sent to the second area management node, thereby providing diverse playback services for the live broadcast stream and improving the viewing experience of the live broadcast audience.

[0094] Furthermore, if the live broadcast center is able to provide live broadcast services, the live broadcast resource package can be obtained from the live broadcast center, which is specifically implemented as follows:

[0095] The live broadcast stream and the live broadcast status information are pushed to the live broadcast center; upon receiving the reception status information fed back by the live broadcast center, the live broadcast stream storage information is generated based on the reception status information and the live broadcast stream; upon receiving the playback request corresponding to the audience submitted by the target resource distribution node for the target anchor, an anchor resource acquisition request is generated based on the live broadcast stream storage information and sent to the live broadcast center; the live broadcast stream fed back by the live broadcast center is received, and sent to the audience through the target resource distribution node.

[0096] Specifically, the live broadcast center is used to receive the live broadcast stream corresponding to each anchor in the live broadcast network, and after processing the live broadcast stream, push the live broadcast stream to the live broadcast audience; the live broadcast center has the functions of pushing, pulling, transcoding and storing the live broadcast stream; the push result may be a push failure or a push exception; a push failure indicates that the live broadcast center has not received the live broadcast stream and live broadcast status information due to a fault in the live broadcast center; a push exception may be a data loss problem in the process of pushing the live broadcast stream and the live broadcast status information; the receiving status information refers to the information sent by the live broadcast center, which is used to indicate that the live broadcast center has received the receiving status of the live broadcast stream pushed by the first regional management node; the receiving status information may be "receiving successfully"; the target resource distribution node is the resource distribution node corresponding to the live broadcast audience; the play request refers to the computer command for pulling the live broadcast stream generated by the target resource distribution node after receiving the play instruction submitted by the live broadcast audience for the live broadcast stream; the live broadcast stream storage information is used to indicate the storage location information and storage format information of the live broadcast stream in the live broadcast center; the anchor resource acquisition request refers to the computer instruction for acquiring the live broadcast stream or the multimedia resources (recorded broadcast resources) corresponding to the live broadcast stream.

[0097] Based on this, the live stream and live status information are pushed to the live broadcast center. When the receiving status information fed back by the live broadcast center is received, it indicates that the live broadcast center has received the live stream and live status information, and stores the live stream and live status information in the live broadcast database. The receiving status information contains the storage location information of the live stream and the live broadcast status information. The live stream storage information is generated based on the receiving information and the live stream. When the target resource distribution node submits a play request corresponding to the audience for the target anchor, a host resource acquisition request is generated based on the live stream storage information and sent to the live broadcast center for obtaining the live stream stored in the live broadcast center. In the case that the live broadcast has not ended, when the live stream fed back by the live broadcast center is received, the live stream can be sent to the target resource distribution node, and the target resource distribution node sends it to the audience. In the case that the live broadcast has ended, after receiving the multimedia resources (recorded broadcast resource package) corresponding to the live stream fed back by the live broadcast center, the multimedia resources can be sent to the target resource distribution node, and the target resource distribution node sends it to the audience.

[0098] In actual applications, while pushing the live stream and live status information to the live broadcast center, the live stream and live status information can also be pushed to regional management nodes such as the second regional management node, so that the live stream and live status information can be stored in the live broadcast center and the regional management node at the same time, so that when the audience's playback request is received later, the live broadcast center and the domain management node can complete the push of the corresponding data.

[0099] For example, Figure 4is a live network scenario diagram of a live streaming processing method provided by an embodiment of this specification; Figure 4 As shown, the live broadcast network includes a live broadcast center, regional management nodes L2-1, L2-2 and L2-3, resource distribution nodes L1-1, L1-2, L1-3 and L1-4, and the client (anchor) corresponding to the resource distribution node L1-1, the audience 1 corresponding to the resource distribution node L1-2, the audience 2 corresponding to the resource distribution node L1-3, and the audience 3 corresponding to the resource distribution node L1-4. When the client corresponding to the anchor pushes the live broadcast stream and the live broadcast status information to the resource distribution node L1-1, the resource distribution node L1-1 pushes the live broadcast stream and the live broadcast status information to the regional management node L2-1, and the regional management node L2-1 pushes them to the live broadcast center. In the case of push failure or abnormal push, it indicates that the live broadcast center is faulty. Therefore, the regional management node L2-1 pushes the live broadcast stream and the live broadcast status information to other regional management nodes in the regional live broadcast network composed of the regional management nodes L2-1, L2-2 and L2-3. It should be noted that in the live broadcast network, each regional management node has the function of receiving and pushing the live broadcast stream, that is, receiving the live broadcast stream and live broadcast status information pushed by the client (anchor), and sending it to other regional management nodes.

[0100] In summary, the live broadcast center provides live broadcast services, receives live broadcast resource packages fed back by the live broadcast center and sends them to live broadcast viewers, thereby improving the transmission efficiency of the live broadcast resource packages sent to live broadcast viewers. In the event of a failure in the live broadcast center, the same live broadcast stream and other data as the live broadcast center can be obtained from the first regional management node and other regional management nodes, so that one copy of the data is stored in both the live broadcast center and the regional management node.

[0101] The live stream processing method provided in one embodiment of the present specification is applied to the first regional management node, which belongs to the regional live broadcast network, including: receiving a live broadcast request corresponding to the target anchor submitted by the first resource distribution node; obtaining the live stream corresponding to the target anchor according to the live broadcast request, and recording the live broadcast status information of the live stream; pushing the live broadcast status information corresponding to the live stream to the second regional management node in the regional live broadcast network; upon receiving the resource acquisition request submitted by the second regional management node for the live broadcast status information, sending the live stream to the second regional management node. The first regional management node and the second regional management node communicate based on the regional live broadcast network. Therefore, any regional management node that receives the live stream in the regional live broadcast network can serve as the first regional management node and receive resource acquisition requests from other regional management nodes in the regional live broadcast network. Then, multimedia resource packages are pushed, thereby improving the resource push efficiency and shortening the resource transmission path.

[0102] See also Figure 5 , Figure 5A flowchart of another live stream processing method provided according to an embodiment of the present specification is shown, the live stream processing method is applied to a second regional management node, the second regional management node belongs to a regional live network, and includes:

[0103] Step 502: receiving an access request submitted by a second resource distribution node associated with a target user to a target anchor, wherein the second resource distribution node is a resource distribution node managed by the second area management node;

[0104] Step 504: Determine the live broadcast status information corresponding to the target anchor based on the access request;

[0105] Step 506: Based on the live broadcast status information, submit a resource acquisition request to the first regional management node corresponding to the target anchor in the regional live broadcast network;

[0106] Step 508: Receive the multimedia resource package fed back by the first area management node in response to the resource acquisition request, and send it to the target user through the second resource distribution node.

[0107] Specifically, the second resource distribution node refers to the resource distribution node corresponding to the target user, which is used to push the live stream or send the multimedia resource package to the target user; the access request refers to the playback request submitted to the target anchor, which is used to enter the target anchor's live broadcast room to watch the live broadcast, or to obtain the target anchor's historical live broadcast resources.

[0108] Based on this, when receiving an access request submitted by the second resource distribution node associated with the target user for the target anchor, the live broadcast status information corresponding to the target anchor is determined based on the access request. The second resource distribution node is a resource distribution node managed by the second regional management node. In addition to the second regional management node, it also manages other resource distribution nodes within the management scope of the second regional management node; based on the live broadcast status information, a resource acquisition request is submitted to the first regional management node corresponding to the target anchor in the regional live broadcast network. After receiving the resource acquisition request, the first regional management node determines whether there is live broadcast information corresponding to the target anchor. If there is live broadcast information corresponding to the target anchor, a multimedia resource package is generated based on the live broadcast stream corresponding to the target anchor. The second regional management node receives the multimedia resource package fed back by the first regional management node for the resource acquisition request, and sends it to the target user through the second resource distribution node.

[0109] For example, Figure 4As shown, when the regional management node L2-3 receives the access request submitted by the resource distribution node L1-4 corresponding to the viewer 3 for the live broadcast as the second regional management node, the live broadcast status information corresponding to the anchor is determined based on the access request: live broadcast. Based on the live broadcast status information, a resource acquisition request is submitted to the regional management node L2-1 corresponding to the anchor in the regional live broadcast network, that is, the first regional management node, and then the multimedia resource package corresponding to the target anchor sent by the regional management node L2-1 is received.

[0110] Furthermore, considering that live broadcast is a time-sensitive activity, after the live broadcast ends, the audience cannot obtain the live content, and the live stream does not exist. At this time, it is necessary to send an abnormal prompt information to the user, which is specifically implemented as follows:

[0111] When the target anchor is in an off-broadcast state, the abnormal prompt information and the target resource package fed back by the first area management node in response to the resource acquisition request are received, and sent to the target user through the second resource distribution node.

[0112] Specifically, the exception prompt information is used to indicate that an exception occurs in the live stream requested by the target user; the exception corresponding to the exception prompt information may be a live broadcast exception, indicating that the target host has currently ended the live broadcast, and therefore the target user cannot enter the target host's live broadcast room to watch the live broadcast; the exception corresponding to the exception prompt information may be a live stream exception, indicating that the live stream that the target user wants to obtain does not exist; the target resource package refers to a resource package generated based on the live broadcast resources generated by the target host during the live broadcast.

[0113] Based on this, when the target anchor is in the off-broadcast state, after receiving the abnormal prompt information fed back by the first regional management node for the resource acquisition request and the target resource package corresponding to the resource acquisition request, the abnormal prompt information and the target resource package are simultaneously sent to the second resource distribution node, and the second resource distribution node sends the abnormal prompt information and the target resource package to the user client where the target user is located, and generates the abnormal prompt information in the user interface of the user client to display it to the target user. The second resource distribution node can also send the abnormal prompt information to the user client where the target user is located, and determine whether the target resource package needs to be sent to the user client according to the choice of the target user.

[0114] For example, when the target anchor is in an off-broadcast state and the user has a need to watch the live broadcast of the target anchor, an abnormal prompt message such as "the anchor has gone off-broadcast" indicating that the target anchor is in an off-broadcast state will be fed back to the user; or feedback will be given such as "the anchor has gone off-broadcast, do you want to play the recorded broadcast resources?", and based on the user's choice, it is determined whether to send the target resource package to the user.

[0115] To summarize, when the second regional management node receives the access request submitted by the target anchor from the second resource distribution node associated with the target user, it submits a resource acquisition request to the first regional management node corresponding to the target live broadcast in the regional live broadcast network based on the live broadcast status information, thereby acquiring the multimedia resource package corresponding to the target anchor based on the regional live broadcast network, thereby improving the resource acquisition efficiency and shortening the resource transmission path.

[0116] It should be noted that the anchor processing method provided in this embodiment is applied to the target user corresponding to the second regional management node in the regional live broadcast network, that is, the live broadcast audience. The technical solution of the live broadcast stream processing method and the technical solution of the live broadcast stream processing method applied to the first regional management node corresponding to the target anchor belong to the same concept. For the details not described in detail in this embodiment, please refer to the description of the technical solution in the embodiment corresponding to the above-mentioned live broadcast stream processing method.

[0117] Corresponding to the above method embodiment, this specification also provides a live stream processing device embodiment. Figure 6 FIG. 1 shows a schematic diagram of the structure of a live streaming processing device provided by an embodiment of the present specification. Figure 6 As shown, the device is applied to a first regional management node, and the first regional management node belongs to a regional live broadcast network, including:

[0118] The receiving module 602 is configured to receive a live broadcast request corresponding to a target anchor submitted by the first resource distribution node;

[0119] The recording module 604 is configured to obtain the live broadcast stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live broadcast stream;

[0120] A push module 606 is configured to push the live broadcast status information corresponding to the live broadcast stream to the second regional management node in the regional live broadcast network;

[0121] The sending module 608 is configured to send the live broadcast stream to the second area management node when receiving the resource acquisition request submitted by the second area management node for the live broadcast state information.

[0122] In an optional embodiment, the recording module 604 is further configured to:

[0123] The live stream is stored in a local storage location, and a valid time is set for the live stream; after sending it to the second area management node, the method further includes: when the valid time is reached, deleting the live stream in the local storage location.

[0124] In an optional embodiment, the receiving module 602 is further configured to:

[0125] Submitting an information acquisition request to a target live broadcast center based on a preset time interval, and receiving configuration information fed back by the target live broadcast center in response to the information acquisition request; or, receiving configuration information issued by the target live broadcast center; sending the live broadcast stream to the second regional management node includes: converting the live broadcast stream into a multimedia resource package according to the configuration information, and sending it to the second regional management node.

[0126] In an optional embodiment, the receiving module 602 is further configured to:

[0127] The live stream is transcoded according to the transcoding information corresponding to the resource acquisition request in the configuration information, and the multimedia resource package is created based on the transcoding result.

[0128] In an optional embodiment, the receiving module 602 is further configured to:

[0129] Based on the live broadcast status information, determine whether the target anchor is in the broadcast state; if so, create a live broadcast resource package according to the live broadcast stream, and send the live broadcast resource package as the multimedia resource package to the second area management node; if not, create a recorded broadcast resource package according to the live broadcast stream, and send the recorded broadcast resource package as the multimedia resource package to the second area management node.

[0130] In an optional embodiment, the receiving module 602 is further configured to:

[0131] The live broadcast stream and the live broadcast status information are pushed to the live broadcast center; upon receiving the reception status information fed back by the live broadcast center, the live broadcast stream storage information is generated based on the reception status information and the live broadcast stream; upon receiving the playback request corresponding to the audience submitted by the target resource distribution node for the target anchor, an anchor resource acquisition request is generated based on the live broadcast stream storage information and sent to the live broadcast center; the live broadcast stream fed back by the live broadcast center is received, and sent to the audience through the target resource distribution node.

[0132] In summary, the first regional management node and the second regional management node communicate based on the regional live network. Therefore, any regional management node that receives the live stream in the regional live network can serve as the first regional management node to receive resource acquisition requests from other regional management nodes in the regional live network. Then, the multimedia resource package is pushed, thereby improving the push efficiency of resources and shortening the resource transmission path.

[0133] Corresponding to the above method embodiment, this specification also provides another live stream processing device embodiment, Figure 7FIG. 2 shows a schematic diagram of the structure of another live streaming processing device provided by an embodiment of the present specification. Figure 7 As shown, the device is applied to a second regional management node, and the second regional management node belongs to a regional live broadcast network, including:

[0134] The receiving module 702 is configured to receive an access request submitted by a second resource distribution node associated with the target user to the target anchor, wherein the second resource distribution node is a resource distribution node managed by the second area management node;

[0135] A determination module 704 is configured to determine live broadcast status information corresponding to the target anchor based on the access request;

[0136] The submission module 706 is configured to submit a resource acquisition request to a first regional management node corresponding to the target anchor in the regional live broadcast network based on the live broadcast status information;

[0137] The sending module 708 is configured to receive the multimedia resource package fed back by the first area management node in response to the resource acquisition request, and send it to the target user through the second resource distribution node.

[0138] In an optional embodiment, the submitting module 706 is further configured to:

[0139] When the target anchor is in an off-broadcast state, the abnormal prompt information and the target resource package fed back by the first area management node in response to the resource acquisition request are received, and sent to the target user through the second resource distribution node.

[0140] To summarize, when the second regional management node receives the access request submitted by the target anchor from the second resource distribution node associated with the target user, it submits a resource acquisition request to the first regional management node corresponding to the target live broadcast in the regional live broadcast network based on the live broadcast status information, thereby acquiring the multimedia resource package corresponding to the target anchor based on the regional live broadcast network, thereby improving the resource acquisition efficiency and shortening the resource transmission path.

[0141] The above is a schematic scheme of the live stream processing device of this embodiment. It should be noted that the technical scheme of the live stream processing device and the technical scheme of the live stream processing method described above belong to the same concept, and the details of the technical scheme of the live stream processing device that are not described in detail can all be referred to the description of the technical scheme of the live stream processing method described above.

[0142] Corresponding to the above method embodiment, this specification also provides a live streaming processing system embodiment. Figure 8 FIG. 1 shows a schematic diagram of a live streaming processing system provided by an embodiment of the present specification. Figure 8 As shown, the live streaming processing system 800 includes a first regional management node 810 corresponding to a target anchor and a second regional management node 820 corresponding to a target user, a first resource distribution node 830 managed by the first regional management node, and a second resource distribution node 840 managed by the second regional management node, wherein the first regional management node 810 and the second regional management node 820 belong to a regional live streaming network;

[0143] The first regional management node 810 is used to receive the live broadcast request submitted by the first resource distribution node 830; obtain the live broadcast stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live broadcast stream; and push the live broadcast status information corresponding to the live broadcast stream to the second regional management node 820;

[0144] The second regional management node 820 is configured to receive an access request submitted by the second resource distribution node 840 for the target anchor, determine the live broadcast status information corresponding to the target anchor based on the access request, and submit a resource acquisition request to the first regional management node 810 based on the live broadcast status information;

[0145] The first regional management node 810 is configured to load the live stream and create a multimedia resource package in response to the resource acquisition request, and send the multimedia resource package to the second regional management node 820;

[0146] The second area management node 820 is used to receive the multimedia resource package and send it to the target user through the second resource distribution node 840.

[0147] Based on this, when the first regional management node receives the live broadcast request submitted by the first resource distribution node, the live broadcast stream corresponding to the target anchor is obtained according to the live broadcast request, the live broadcast stream is stored and the live broadcast status information of the live broadcast stream is recorded. And the live broadcast status information corresponding to the live broadcast stream is pushed to the second regional management node and other regional management nodes in the regional live broadcast network. In the case where the second regional management node receives the access request submitted by the second resource distribution node for the target anchor, the live broadcast status information corresponding to the target anchor is determined based on the address information of the target anchor carried in the access request. Based on the live broadcast status information, a resource acquisition request is submitted to the first regional management node to pull the live broadcast stream corresponding to the target anchor. The first regional management node loads the live broadcast stream and creates a multimedia resource package in response to the resource acquisition request, and sends the multimedia resource package to the second regional management node. After receiving the multimedia resource package, the second regional management node sends it to the second resource distribution node, which sends it to the target user and plays it through the client of the target user.

[0148] Furthermore, considering that the regional live broadcast network includes multiple regional management nodes, it is necessary to determine the first regional management node based on the management node scheduling information. In specific implementation, the first resource distribution node 830 is used to determine the first regional management node 810 in the regional live broadcast network according to the management node scheduling information, and send the live broadcast request to the first regional management node 810. The management node scheduling information refers to the distance information between the regional management node and the first resource distribution node, which is used to implement DNS scheduling, that is, nearby scheduling.

[0149] Based on this, when there is a need to pull the stream at the first resource distribution node, the first regional management node is determined nearby in the regional live network according to the management node scheduling information, and a live broadcast request is sent to the first regional management node for direct streaming of the live stream of the target anchor.

[0150] In summary, the first regional management node is determined in the regional live broadcast network according to the management node scheduling information, thereby improving the efficiency of determining the first regional management node.

[0151] Furthermore, considering that the regional management node corresponding to the distribution node scheduling information may or may not exist, a judgment needs to be made before submitting an access request. In specific implementation, the second resource distribution node 840 is used to detect whether there is a regional management node corresponding to the distribution node scheduling information in the regional live broadcast network. If so, the regional management node corresponding to the distribution node scheduling information is used as the second regional management node 820; if not, the second regional management node 820 is selected in the regional live broadcast network based on the distance between the regional management node in the regional live broadcast network. The distribution node scheduling information refers to the distance information between the regional management node and the second resource distribution node, which is used to implement DNS scheduling.

[0152] Based on this, after receiving an access request submitted to the target anchor, it is detected whether there is a regional management node corresponding to the distribution node scheduling information in the regional live broadcast network. If there is a regional management node corresponding to the distribution node scheduling information, it means that there is a local regional management node corresponding to the second resource distribution node in the regional live broadcast network, and the regional management node corresponding to the distribution node scheduling information is used as the second regional management node; if there is no regional management node corresponding to the distribution node scheduling information, it means that there is no local regional management node corresponding to the second resource distribution node in the regional live broadcast network, and based on the distance between the regional management nodes in the regional live broadcast network, a closer second regional management node is selected in the regional live broadcast network, and an access request is sent to the second regional management node.

[0153] In summary, by detecting whether there is a regional management node corresponding to the distribution node scheduling information in the regional live broadcast network, the accuracy of the second regional management determination is improved.

[0154] In the live streaming processing system provided by the present embodiment, the first regional management node and the second regional management node communicate with each other based on the regional live network. Therefore, any regional management node that receives the live streaming in the regional live network can act as the first regional management node to receive resource acquisition requests from other regional management nodes in the regional live network. Then, the multimedia resource package is pushed, thereby improving the efficiency of resource push. When the second regional management node receives the second resource distribution node associated with the target user, in response to the access request submitted by the target anchor, the resource acquisition request is submitted to the first regional management node corresponding to the target live broadcast in the regional live network based on the live status information, thereby obtaining the multimedia resource package corresponding to the target anchor based on the regional live network, thereby improving the efficiency of resource acquisition and shortening the resource transmission path during the push and pull process.

[0155] The above is a schematic scheme of the live stream processing system of this embodiment. It should be noted that the technical scheme of the live stream processing system and the technical scheme of the live stream processing method described above are of the same concept, and the details of the technical scheme of the live stream processing system that are not described in detail can be found in the description of the technical scheme of the live stream processing method described above.

[0156] The following combination Fig. 9 , taking the application of the live stream processing method provided in this specification in live stream processing as an example, the live stream processing method is further described. Fig. 9 A processing flow chart of a live stream processing method provided by an embodiment of the present specification is shown, which specifically includes the following steps.

[0157] Step 902: The first resource distribution node receives a live broadcast request submitted by the anchor, and pushes the live broadcast stream corresponding to the live broadcast request to the first regional management node in the mesh network.

[0158] The first regional management node refers to the regional management node corresponding to the anchor, or the regional management node that is closer to the anchor.

[0159] Step 904: The first regional management node stores the live stream and the status information corresponding to the live stream, synchronizes the status information to the second regional management node in the mesh network, and reports it to the live broadcast center.

[0160] When the first regional management node synchronizes the state information, the state information is synchronized to each regional management node in the mesh network.

[0161] Step 906: The first regional management node obtains configuration information from the live broadcast center based on a preset time period.

[0162] The first regional management node is weakly dependent on the live broadcast center and regularly obtains relatively static configuration information from the live broadcast center. The configuration information includes but is not limited to the center where the domain name is located, domain name transcoding configuration information, etc.

[0163] Step 908: The first area management node deletes the relevant information of the live stream when the expiration time of the live stream is reached.

[0164] The first area management node has the function of deleting expired live stream information.

[0165] Step 910: The second resource distribution node receives a playback request submitted by the viewer to the anchor, determines a second regional management node nearby in the mesh network, and sends the playback request to the second regional management node.

[0166] When determining the second regional management node, it can be implemented by using a DNS scheduling method.

[0167] Step 912: In the event of a failure in the live broadcast center, the second regional management node submits a resource acquisition request to the first regional management node corresponding to the anchor based on the play request and the status information of the live broadcast stream.

[0168] In the event of a live broadcast center failure, the mesh network is switched to provide live broadcast services based on the mesh network. When the second regional management node receives a playback request submitted by the viewer, the second regional management node is determined according to the DNS scheduling information, and the playback request is sent to the second regional management node. The second regional management node submits a resource acquisition request to the first regional management node corresponding to the anchor based on the playback request and the status information of the live stream, so as to pull the live stream.

[0169] Step 914: The first regional management node pushes the live stream to the second regional management node.

[0170] Step 916: The second area management node pushes the live stream to the second resource distribution node.

[0171] Step 918: The second resource distribution node pushes the live stream to the client corresponding to the viewer.

[0172] In summary, a mesh network composed of regional management nodes is constructed to build an autonomous live broadcast network system, providing a more reliable live broadcast distribution service. The live broadcast stream and status information are synchronized between nodes, so that in the event of a live broadcast center failure, the regional management node can temporarily replace the live broadcast center to provide live broadcast services, thereby reducing user losses. When any regional management node in the mesh network fails, its adjacent regional management node can take over and continue to provide services, ensuring that the live broadcast network is not limited by a single service or node, and improving the overall availability of the live broadcast service.

[0173] Fig.10 The block diagram of a computing device 1000 according to an embodiment of the present specification is shown. The components of the computing device 1000 include but are not limited to a memory 1010 and a processor 1020. The processor 1020 is connected to the memory 1010 via a bus 1030, and the database 1050 is used to store data.

[0174] The computing device 1000 also includes an access device 1040 that enables the computing device 1000 to communicate via one or more networks 1060. Examples of these 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 1040 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0175] In one embodiment of the present specification, the above components of the computing device 1000 and Fig.10 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.10The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0176] The computing device 1000 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1000 may also be a mobile or stationary server.

[0177] Among them, the processor 1020 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned live stream processing method.

[0178] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the live stream processing method described above are of the same concept, and the details of the technical scheme of the computing device that are not described in detail can be found in the description of the technical scheme of the live stream processing method described above.

[0179] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned live stream processing method.

[0180] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the live stream processing method described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the live stream processing method described above.

[0181] An embodiment of the present specification also provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned live stream processing method.

[0182] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the live stream processing method described above are of the same concept, and the details not described in detail in the technical scheme of the computer program can be found in the description of the technical scheme of the live stream processing method described above.

[0183] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0184] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0185] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0186] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0187] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A live streaming processing method, applied to a first regional management node, the first regional management node belonging to a regional live streaming network, comprising: Receive a live broadcast request corresponding to a target anchor submitted by the first resource distribution node; Acquire the live stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live stream; Pushing the live broadcast status information corresponding to the live broadcast stream to the second regional management node in the regional live broadcast network; When receiving the resource acquisition request submitted by the second area management node for the live broadcast state information, the live broadcast stream is sent to the second area management node.

2. According to the live stream processing method of claim 1, after obtaining the live stream corresponding to the target anchor according to the live broadcast request and recording the live broadcast status information of the live broadcast stream, it also includes: Storing the live stream to a local storage location and setting a valid time for the live stream; After the sending to the second area management node, the method further includes: When the effective time is reached, the live stream in the local storage location is deleted.

3. According to the live streaming processing method of claim 1, before receiving the live streaming request corresponding to the target anchor submitted by the first resource distribution node, the method further comprises: Submitting an information acquisition request to a target live broadcast center based on a preset time interval, and receiving configuration information fed back by the target live broadcast center in response to the information acquisition request; Alternatively, receiving configuration information sent by the target live broadcast center; The sending the live stream to the second area management node includes: The live stream is converted into a multimedia resource package according to the configuration information and sent to the second area management node.

4. The live stream processing method according to claim 3, wherein converting the live stream into a multimedia resource package according to the configuration information comprises: The live stream is transcoded according to the transcoding information corresponding to the resource acquisition request in the configuration information, and the multimedia resource package is created based on the transcoding result.

5. The live stream processing method according to claim 3, wherein sending the live stream to the second area management node comprises: Determine whether the target anchor is in a live broadcast state based on the live broadcast state information; If yes, create a live broadcast resource package according to the live broadcast stream, and send the live broadcast resource package as the multimedia resource package to the second area management node; If not, create a recording and broadcasting resource package according to the live broadcast stream, and send the recording and broadcasting resource package as the multimedia resource package to the second area management node.

6. The live stream processing method according to claim 1, further comprising: Pushing the live broadcast stream and the live broadcast status information to a live broadcast center; In the case of receiving the reception status information fed back by the live broadcast center, generating live broadcast stream storage information based on the reception status information and the live broadcast stream; Upon receiving a playback request corresponding to an audience member submitted by a target resource distribution node for the target anchor, a anchor resource acquisition request is generated based on the live stream storage information and sent to the live broadcast center; the live stream fed back by the live broadcast center is received and sent to the audience through the target resource distribution node.

7. A live streaming processing method, applied to a second regional management node, the second regional management node belongs to a regional live streaming network, comprising: receiving an access request submitted by a second resource distribution node associated with a target user to a target anchor, wherein the second resource distribution node is a resource distribution node managed by the second area management node; Determine the live broadcast status information corresponding to the target anchor based on the access request; Based on the live broadcast status information, submit a resource acquisition request to a first regional management node corresponding to the target anchor in the regional live broadcast network; The multimedia resource package fed back by the first area management node in response to the resource acquisition request is received, and sent to the target user through the second resource distribution node.

8. The live streaming processing method according to claim 7, after submitting a resource acquisition request to the first regional management node corresponding to the target anchor in the regional live streaming network based on the live streaming status information, further comprising: When the target anchor is in an off-broadcast state, the abnormal prompt information and the target resource package fed back by the first area management node in response to the resource acquisition request are received, and sent to the target user through the second resource distribution node.

9. A live streaming processing system, comprising a first regional management node corresponding to a target anchor and a second regional management node corresponding to a target user, a first resource distribution node managed by the first regional management node, and a second resource distribution node managed by the second regional management node, wherein: The first regional management node and the second regional management node belong to a regional live broadcast network; The first area management node is used to receive the live broadcast request submitted by the first resource distribution node; Acquire the live stream corresponding to the target anchor according to the live broadcast request, and record the live broadcast status information of the live stream; Pushing the live broadcast status information corresponding to the live broadcast stream to the second area management node; The second area management node is configured to receive an access request submitted by the second resource distribution node to the target anchor, and determine live broadcast status information corresponding to the target anchor based on the access request; Based on the live broadcast status information, submit a resource acquisition request to the first area management node; The first regional management node is configured to load the live stream and create a multimedia resource package in response to the resource acquisition request, and send the multimedia resource package to the second regional management node; The second area management node is used to receive the multimedia resource package and send it to the target user through the second resource distribution node.

10. According to the live broadcast stream processing system of claim 9, the first resource distribution node is used to determine the first regional management node in the regional live broadcast network according to the management node scheduling information, and send the live broadcast request to the first regional management node.

11. According to the live stream processing system of claim 9, the second resource distribution node is used to detect whether there is a regional management node corresponding to the distribution node scheduling information in the regional live network. If so, the regional management node corresponding to the distribution node scheduling information is used as the second regional management node; if not, the second regional management node is selected in the regional live network based on the distance between the regional management node and the regional management node in the regional live network.

12. A live stream processing device, applied to a first regional management node corresponding to a target anchor, wherein the first regional management node belongs to a regional live broadcast network, comprising: A receiving module is configured to receive a live broadcast request corresponding to a target anchor submitted by the first resource distribution node; A recording module, configured to obtain a live stream corresponding to the target anchor according to the live broadcast request, and record live broadcast status information of the live broadcast stream; A push module, configured to push the live broadcast status information corresponding to the live broadcast stream to a second regional management node in the regional live broadcast network; The sending module is configured to send the live broadcast stream to the second area management node when receiving the resource acquisition request submitted by the second area management node for the live broadcast state information.

13. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method described in any one of claims 1 to 8 are implemented.

14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 8.