Live broadcast processing method, device and equipment, computer readable storage medium and computer program product
By switching to the second streamer's live stream when the live stream is interrupted and switching back to the first streamer's live stream when it resumes, the problem of high viewer churn during live stream interruptions is solved, achieving the effect of rich display content and low churn rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2026-03-10
AI Technical Summary
When a live stream is interrupted, switching to a static screen using existing technology increases viewer churn and lacks diverse display content.
When the live stream is interrupted, the system switches to the live stream of the second streamer and switches back to the live stream of the first streamer when the live stream resumes. The switching is controlled by the interruption judgment module and the resumption judgment module, and the smoothness of the switching is ensured by network detection and bitrate detection.
It enriched the content displayed during live stream interruptions, reduced viewer churn, and increased the fun and viewer retention of the live stream.
Smart Images

Figure CN121644834A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of Internet, and particularly relates to a live broadcast processing method and device, an electronic device, a storage medium and a program product. BACKGROUND
[0002] With the development of Internet technology, live broadcast has become a very popular new media form, which allows people to share and watch video content in real time through the Internet. This form of content dissemination has been widely disseminated in the fields of social media, video live broadcast platforms and games.
[0003] In the related art, when the anchor interrupts the live broadcast due to various reasons during the live broadcast, the current live broadcast picture is usually switched to a live broadcast cover to display a static picture, and a corresponding script is displayed to inform the audience of the reason for the interruption of the live broadcast. The content displayed by this kind of live broadcast interruption switching is relatively single, which increases the probability of the audience leaving the live broadcast room, and leads to an increase in the audience loss rate during the live broadcast. SUMMARY
[0004] The embodiments of the present application provide a live broadcast processing method and device, an electronic device, a computer readable storage medium and a computer program product, which can reduce the audience loss rate during the interruption of the live broadcast.
[0005] The technical solutions of the embodiments of the present application are as follows:
[0006] The embodiments of the present application provide a live broadcast processing method, which comprises the following steps:
[0007] displaying a first live broadcast picture of a first anchor in a live broadcast interface;
[0008] in response to a live broadcast interruption condition being met, interrupting the live broadcast of the first anchor, and switching the first live broadcast picture to a second live broadcast picture of a second anchor;
[0009] in response to a live broadcast resumption condition being met, resuming the live broadcast of the first anchor, and switching the second live broadcast picture to the first live broadcast picture.
[0010] The embodiments of the present application provide a live broadcast processing device, which comprises the following steps:
[0011] a picture display module, configured to display a first live broadcast picture of a first anchor in a live broadcast interface;
[0012] an interruption processing module, configured to, in response to a live broadcast interruption condition being met, interrupt the live broadcast of the first anchor, and switch the first live broadcast picture to a second live broadcast picture of a second anchor;
[0013] The recovery processing module is configured to, in response to the live broadcast resumption condition being met, resume the live broadcast of the first anchor and switch the second live broadcast picture to the first live broadcast picture.
[0014] In the foregoing solution, before interrupting the live broadcast of the first anchor, the interrupt judgment module is further configured to display a live broadcast interrupt control in the live broadcast interface during display of the first live broadcast picture; and in response to a triggering operation on the live broadcast interrupt control, determine that the live broadcast interrupt condition is met.
[0015] In the foregoing solution, before interrupting the live broadcast of the first anchor, the interrupt judgment module is further configured to display live broadcast interrupt prompt information in the live broadcast interface during display of the first live broadcast picture; wherein the live broadcast interrupt prompt information is live broadcast interrupt advice provided by a live broadcast platform to the first anchor when live broadcast heat corresponding to the first live broadcast picture is lower than a preset heat; and in response to a determination operation on the live broadcast interrupt prompt information, determine that the live broadcast interrupt condition is met.
[0016] In the foregoing solution, the live broadcast interrupt prompt information further suggests switching the first live broadcast picture to a live broadcast picture of a first live broadcast type, the interrupt processing module is further configured to, in response to the first anchor pre-configuring a switching live broadcast type that includes the first live broadcast type, switch the first live broadcast picture to a second live broadcast picture of a second anchor that belongs to the first live broadcast type; and in response to the first anchor pre-configuring a switching live broadcast type that does not include the first live broadcast type, switch the first live broadcast picture to a second live broadcast picture of a second anchor that belongs to a second live broadcast type, the second live broadcast type having a similarity to the first live broadcast type that exceeds a similarity threshold.
[0017] In the foregoing solution, before resuming the live broadcast of the first anchor, the recovery judgment module is further configured to display a live broadcast resumption portal in the live broadcast interface during display of the second live broadcast picture; and in response to a triggering operation on the live broadcast resumption portal, determine that the live broadcast resumption condition is met.
[0018] In the foregoing solution, before interrupting the live broadcast of the first anchor, the interrupt judgment module is further configured to, during display of the first live broadcast picture, perform code rate detection on the live broadcast to obtain a first detection result; in response to the first detection result indicating that uplink video code rate of the live broadcast is lower than a code rate threshold in a target time period, perform content detection on the live broadcast to obtain a second detection result; and in response to the second detection result indicating that no new video frame is received in the target time period, determine that the live broadcast interrupt condition is met.
[0019] In the above scheme, before interrupting the live broadcast of the first broadcaster, the interruption judgment module is further used to detect the network connection status of the first broadcaster side during the display of the first live broadcast screen, and determine that the live broadcast interruption condition is met when the network connection of the first broadcaster side is disconnected; or, during the display of the first live broadcast screen, display an interruption countdown, and determine that the live broadcast interruption condition is met when the interruption countdown reaches zero.
[0020] In the above scheme, the device further includes: an interrupt configuration module, used to display an interrupt configuration entry in the live broadcast interface before displaying the first live broadcast screen, or during the display of the first live broadcast screen; wherein, the interrupt configuration entry is used to configure the video content to be switched to be displayed when the live broadcast of the first broadcaster is interrupted; in response to the configuration operation triggered based on the interrupt configuration entry, the video content to be switched to be displayed when the live broadcast of the first broadcaster is interrupted is configured as the second live broadcast screen of the second broadcaster.
[0021] In the above scheme, the interrupt configuration module is further configured to, in response to a trigger operation on the interrupt configuration entry, display a video type selection interface and a live video configuration entry in the video type selection interface; in response to a trigger operation on the live video configuration entry, display a broadcaster selection interface and display at least one candidate broadcaster in the broadcaster selection interface, the at least one candidate broadcaster including at least the second broadcaster; in response to a selection operation on the second broadcaster, send a live broadcast switching delegation request to the second broadcaster, the live broadcast switching delegation request being used to delegate to the second broadcaster to allow the second broadcaster's second live broadcast screen to be used as the video content switched to be displayed when the first broadcaster's live broadcast is interrupted; in response to the second broadcaster's acceptance operation on the live broadcast switching delegation request, configure the video content switched to be displayed when the first broadcaster's live broadcast is interrupted as the second broadcaster's second live broadcast screen.
[0022] In the above scheme, the interrupt configuration module is further configured to display a commission editing interface in response to the selection operation for the second anchor; in response to the commission editing operation, display the edited commission information in the commission editing interface, the commission information including at least one of the following: commissioned live broadcast content, commissioned live broadcast revenue, and commissioned live broadcast time; in response to the confirmation operation for the commission information, generate a live broadcast switching commission request based on the commission information, and send the live broadcast switching commission request to the second anchor.
[0023] In the above scheme, the interrupt configuration module is further configured to, in response to a trigger operation for the interrupt configuration entry, display a live stream type selection interface and display at least one candidate live stream type in the live stream type selection interface; in response to a selection operation for a target live stream type, send a live stream switching election request to multiple third broadcasters that meet the target live stream type, wherein the multiple third broadcasters include at least the second broadcaster; wherein the live stream switching election request is configured to request each of the third broadcasters to use their respective live stream screen as the video content switched to be displayed when the first broadcaster's live stream is interrupted through an election; in response to the second broadcaster winning the election, configure the video content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen.
[0024] In the above scheme, the interrupt configuration module is further configured to, in response to a trigger operation on the interrupt configuration entry, display at least one fourth anchor waiting to be switched, wherein the at least one fourth anchor includes at least the second anchor; and in response to a selection operation on the second anchor, configure the video content switched to be displayed when the first anchor's live broadcast is interrupted as the second live broadcast screen of the second anchor.
[0025] In the above scheme, the interrupt handling module is further configured to determine the switching priority of each second anchor in response to the pre-configured number of second anchors being multiple; and to switch the first live broadcast screen to the second live broadcast screen of the second anchor whose switching priority exceeds the target priority.
[0026] In the above scheme, the interruption handling module is further configured to obtain influence parameters affecting the switching priority of each second streamer, the influence parameters including at least one of the following: the social relationship between the second streamer and the first streamer, the interaction frequency between the second streamer and the first streamer, the live broadcast popularity of the second streamer, and the virtual resources required to switch to display the live broadcast content of the second streamer; based on the influence parameters, a switching priority prediction process is performed through a neural network model to obtain the switching priority of each second streamer; wherein, the neural network model is trained using streamer samples, influence parameters of streamer samples, and switching priorities labeled on streamer samples.
[0027] In the above scheme, the interrupt handling module is further configured to display options for each of the second broadcasters in response to the pre-configured number of second broadcasters being multiple; and to switch the first live broadcast screen to the second live broadcast screen of the second broadcaster corresponding to the target option in response to the selection operation of the target option.
[0028] In the above scheme, after switching the second live broadcast screen to the first live broadcast screen, the device further includes: a payment processing module, used to obtain switching live broadcast parameters for switching the display of the second live broadcast screen, the switching live broadcast parameters including at least one of the following: switching display duration, switching live broadcast popularity; based on the switching live broadcast parameters, determining the virtual resources to be paid for switching the display of the second live broadcast screen, and paying the virtual resources to the second broadcaster.
[0029] This application provides an electronic device, including:
[0030] Memory is used to store executable instructions or computer programs.
[0031] The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the live streaming processing method provided in the embodiments of this application.
[0032] This application provides a computer-readable storage medium storing computer-executable instructions or computer programs, which, when executed by a processor, implement the live streaming processing method provided in this application.
[0033] This application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, they implement the live streaming processing method provided in this application.
[0034] The embodiments of this application have the following beneficial effects:
[0035] Applying the embodiments of this application, a first live broadcast screen of a first broadcaster is displayed in the live broadcast interface; in response to the live broadcast interruption condition being met, the live broadcast of the first broadcaster is interrupted, and the first live broadcast screen is switched to the second live broadcast screen of a second broadcaster; in response to the live broadcast resumption condition being met, the live broadcast of the first broadcaster is resumed, and the second live broadcast screen is switched back to the first live broadcast screen; thus, during the interruption of the first broadcaster's live broadcast, the second live broadcast screen of the second broadcaster is displayed, which greatly enriches the content displayed during the interruption compared to a static screen, reduces the probability of viewers leaving the first broadcaster's live broadcast room during the interruption, and lowers the viewer churn rate during the interruption. Attached Figure Description
[0036] Figure 1 This is a schematic diagram of the architecture of the live streaming processing system 100 provided in an embodiment of this application;
[0037] Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application;
[0038] Figure 3This is a flowchart illustrating the live streaming processing method provided in an embodiment of this application;
[0039] Figure 4 This is a schematic diagram illustrating the configuration of a live video interruption provided in an embodiment of this application;
[0040] Figure 5 This is a schematic diagram of commissioned live editing provided in an embodiment of this application;
[0041] Figure 6 This is a schematic diagram of accepting live streaming requests provided in an embodiment of this application;
[0042] Figure 7 This is a schematic diagram illustrating the display of live streaming notification information provided in an embodiment of this application;
[0043] Figure 8 This is a schematic diagram illustrating the switching display of the live broadcast screen provided in an embodiment of this application;
[0044] Figure 9 This is a schematic diagram illustrating the switching display of the live broadcast screen provided in an embodiment of this application;
[0045] Figure 10 This is a flowchart illustrating the live streaming processing method provided in an embodiment of this application;
[0046] Figure 11 This is a schematic diagram of live broadcast interruption detection provided in an embodiment of this application;
[0047] Figure 12 This is a flowchart of the live streaming passive interruption detection method provided in the embodiments of this application. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0049] It is understood that in the embodiments of this application, data such as user information are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.
[0050] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0051] In the following description, the terms “first, second…” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second…” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0052] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0054] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0055] 1) Client: An application running on a terminal that provides various services, such as video playback clients, instant messaging clients, game clients, live streaming clients, etc.
[0056] 2) In response, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.
[0057] This application provides a live streaming processing method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can reduce the audience churn rate during live streaming interruptions. The following describes exemplary applications of the electronic device provided in this application. The electronic device provided in this application can be implemented as various types of user terminals such as laptops, tablets, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smartphones, smart speakers, smartwatches, smart TVs, in-vehicle terminals, augmented reality (AR) devices, and virtual reality (VR) devices, or it can be implemented as a server. The following will describe exemplary applications when the device is implemented as a terminal.
[0058] See Figure 1 , Figure 1 This is a schematic diagram of the architecture of the live streaming processing system 100 provided in the embodiments of this application. In order to support an exemplary application, the terminal (terminal 400-1 and terminal 400-2 are shown as examples) connects to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0059] In some embodiments, the terminal is equipped with a client with live streaming functionality, such as a video playback client, instant messaging client, game client, or live streaming client. Server 200 is the backend server corresponding to the client. It can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.
[0060] In practical applications, the terminal displays the first live stream of the first broadcaster on the live streaming interface. During the first broadcast, the server 200 checks whether the interruption condition for the first broadcast is met. If the interruption condition is met, the server identifies the second live stream content of the second broadcaster as the video content that was switched to when the first broadcast was interrupted, and pushes the second live stream of the second broadcaster to the terminals of each viewer watching the first broadcast. Thus, the viewer's terminal, in response to the interruption condition being met, can interrupt the first broadcast and switch the first live stream to the second live stream of the second broadcaster. During the display of the second live stream, the server 200 checks whether the resumption condition for the first broadcast is met. If the resumption condition is met, the server pushes the first live stream of the first broadcast to the terminals of each viewer watching the first broadcast. Thus, the viewer's terminal, in response to the resumption condition being met, can resume the first broadcast and switch the second live stream to the first live stream.
[0061] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the electronic device 500 provided in the embodiments of this application, with the electronic device 500 as an example. Figure 1 Taking the terminal in the middle as an example, Figure 2 The illustrated electronic device 500 includes at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to implement communication between these components. In addition to a data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general labeled all buses as Bus System 540.
[0062] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.
[0063] Memory 550 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in this application embodiment is intended to include any suitable type of memory. Memory 550 may optionally include one or more storage devices physically located away from processor 510.
[0064] In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.
[0065] Operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks; network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.
[0066] In some embodiments, the live streaming processing apparatus provided in this application can be implemented in software. The live streaming processing apparatus provided in this application can be provided in various software embodiments, including various forms such as applications, software, software modules, scripts or code. Figure 2 A live streaming processing device 555 stored in memory 550 is shown. It can be software in the form of programs and plug-ins, and includes a series of modules, including a screen display module 5551, an interrupt handling module 5552, and a recovery handling module 5553. These modules are logically related and can be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.
[0067] In other embodiments, the apparatus provided in this application can be implemented in hardware. As an example, the apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the live streaming processing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0068] In some embodiments, the terminal or server can implement the live streaming processing method provided in this application by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be microprogram-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be native applications (APPs), i.e., programs that need to be installed in the operating system to run, such as instant messaging APPs or live streaming APPs; or they can be applets that can be embedded in any APP, i.e., programs that only need to be downloaded to a browser environment to run. In summary, the aforementioned computer-executable instructions can be any form of instruction, and the aforementioned computer programs can be any form of application, module, or plugin.
[0069] As mentioned above, the live streaming processing method provided in this application embodiment can be implemented by various types of electronic devices, such as... Figure 1 Either the terminal or the server 200 can be executed independently, or it can be... Figure 1 The terminal and server 200 in the process work together. Next, [the process will be carried out by...] Figure 1 The following description uses an example of a terminal executing the live streaming processing method provided in this application embodiment. See also... Figure 3 , Figure 3 This is a flowchart illustrating the live streaming processing method provided in the embodiments of this application, which will be combined with... Figure 3 The steps shown are explained.
[0070] Step 101: The terminal displays the first live broadcast screen of the first anchor in the live broadcast interface.
[0071] In practical applications, once the first broadcaster starts the live stream, both the terminal on the first broadcaster's side and the terminal on the viewer's side that is watching the first broadcaster's live stream can display the first live stream screen in the first broadcaster's live stream room (i.e., the live stream interface).
[0072] The content of live streams by top anchors is diverse, including educational training, game streaming, sports events, concerts, and sharing of personal daily life. The types of live streams by top anchors can be varied, such as live streaming from the scene of an event using cameras, mobile phones, or other terminal devices; studio streaming (live streaming from a fixed studio environment, typically used for news broadcasts and interviews); mobile streaming (live streaming from any location using mobile devices such as smartphones); game streaming (live streaming while playing games, sharing gameplay and experiences); and e-commerce streaming (live streaming to showcase and sell products).
[0073] Step 102: In response to the live broadcast interruption condition being met, interrupt the live broadcast of the first anchor and switch the first live broadcast screen to the second live broadcast screen of the second anchor.
[0074] Here, during the first streamer's live broadcast, if the live broadcast is interrupted for various reasons (i.e., the live broadcast interruption condition is met), the terminal responds by interrupting the first streamer's live broadcast and seamlessly switching the first live broadcast screen to the second streamer's live broadcast screen. That is, when the first streamer's live broadcast is interrupted, the second streamer's live broadcast screen is displayed to avoid the blank screen caused by the live broadcast interruption. This enriches the content displayed in the live broadcast interface during the live broadcast interruption, can improve the live broadcast's interest, reduce the probability of viewers leaving the first streamer's live broadcast room during the first streamer's live broadcast interruption, and thus reduce the viewer churn rate during the live broadcast interruption.
[0075] Step 103: In response to the live broadcast recovery conditions being met, resume the live broadcast of the first anchor and switch the second live broadcast screen to the first live broadcast screen.
[0076] In practical applications, during the interruption of the first broadcaster's live stream, that is, during the process of displaying the second broadcaster's second live stream screen, the terminal detects whether the conditions for the first broadcaster's live stream to resume have been met. When the conditions for the live stream to resume are met, the first broadcaster's live stream is resumed, and the second broadcaster's second live stream screen is switched to the first broadcaster's first live stream screen. In other words, when the first broadcaster's live stream resumes, the first broadcaster's first live stream screen continues to be displayed.
[0077] By using the above method, the first live stream of the first streamer is displayed normally when the first streamer's live stream is not interrupted, and the second live stream of the second streamer is displayed when the first streamer's live stream is interrupted. Compared with static or blank screens, this greatly enriches the content displayed during the live stream interruption, which can reduce the probability of viewers leaving the first streamer's live stream room during the live stream interruption and reduce the viewer churn rate during the live stream interruption.
[0078] The following section will explain the configuration of the video content to be switched when the live stream is interrupted, as well as the conditions for determining the interruption and resumption of the live stream.
[0079] In some embodiments, before or during the display of the first live stream, the terminal may display an interruption configuration entry in the live stream interface; wherein, the interruption configuration entry is used to configure the video content to be switched to when the live stream of the first broadcaster is interrupted; in response to the configuration operation triggered based on the interruption configuration entry, the video content to be switched to when the live stream of the first broadcaster is interrupted is configured as the second live stream of the second broadcaster.
[0080] In practical applications, the first broadcaster can configure the video content to be displayed when the broadcast is interrupted, either before or during the broadcast. For example, after the first broadcaster starts the broadcast, the terminal displays an interruption configuration entry in the broadcast interface. Through the interruption configuration entry, the video content to be displayed when the first broadcaster's broadcast is interrupted can be configured. The type of video content to be displayed can be various, such as the live broadcast content that the second broadcaster is currently broadcasting (i.e., the second broadcaster's second live broadcast screen), the live broadcast content from the past, or non-live video content.
[0081] In this context, "second streamer" refers to all other streamers on the same live streaming platform, distinct from the "first streamer." "Historical live stream content" can be content or segments (such as highlights) from the first streamer's previous live streams (i.e., streams prior to this one), or it can be content or segments from other streamers' previous live streams on the platform. "Non-live stream content" refers to video content in other forms than live streams, such as highlights downloaded from the internet or imported from the first streamer's local storage.
[0082] The first broadcaster can configure the video content displayed when the first broadcast is interrupted to a specific type of video content according to actual needs. For example, the video content displayed when the first broadcast is interrupted can be configured to be the second live broadcast screen of the second broadcaster who is currently broadcasting on the live broadcast platform. The server records the first broadcaster's configuration. In this way, when the first broadcaster's broadcast is interrupted, the server can obtain the second broadcaster's live broadcast content that the first broadcaster has configured and send the second broadcaster's live broadcast content to the terminals of each viewer watching the first broadcaster's live broadcast. The viewer's terminal can then seamlessly switch from the first broadcaster's first live broadcast screen to the second broadcaster's second live broadcast screen (i.e., the playback screen of the second broadcaster's live broadcast content) based on the second broadcaster's live broadcast content.
[0083] The following describes the specific implementation scheme for configuring the video content switched to the second live broadcast screen of the second anchor when the first anchor's live broadcast is interrupted.
[0084] In some embodiments, the terminal may, in response to a configuration operation triggered based on an interruption configuration entry, configure the live content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen as follows: In response to the trigger operation for the interruption configuration entry, display a video type selection interface and display a live video configuration entry in the video type selection interface; In response to the trigger operation for the live video configuration entry, display a broadcaster selection interface and display at least one candidate broadcaster in the broadcaster selection interface, the at least one candidate broadcaster including at least the second broadcaster; In response to the selection operation for the second broadcaster, send a live stream switching delegation request to the second broadcaster, wherein the live stream switching delegation request is used to delegate to the second broadcaster to allow the second broadcaster's second live stream screen to be used as the video content switched to be displayed when the first broadcaster's live stream is interrupted; In response to the second broadcaster's acceptance operation of the live stream switching delegation request, configure the video content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen.
[0085] See Figure 4 , Figure 4This is a schematic diagram of the configuration of a live video interruption provided in an embodiment of this application. The terminal on the first live streaming side displays an interruption configuration entry (such as selecting a live video interruption) 401 in the live streaming interface. When the first streamer triggers the interruption configuration entry 401, the terminal responds to the triggering operation by displaying a video type selection interface 402, and displays a live video configuration entry (such as other live streams) 403 in the video type selection interface 402. When the first streamer triggers the live video configuration entry 403, the terminal responds to the triggering operation by displaying a streamer selection interface 406, and displays at least one candidate streamer, such as streamer A, streamer B, and streamer C, in the streamer selection interface 406. In response to the selection operation for a target streamer (such as streamer A), the selected target streamer is selected. First broadcaster (i.e., broadcaster A) acts as the second broadcaster and sends a live broadcast switching request to the second broadcaster's (i.e., broadcaster A's) terminal. The live broadcast switching request is a request from the first broadcaster to the second broadcaster (i.e., broadcaster A) to allow the second broadcaster's second live broadcast screen to be used as the video content to be displayed when the first broadcaster's live broadcast is interrupted. When the second broadcaster's terminal receives the live broadcast switching request, the second broadcaster triggers an acceptance operation for the live broadcast switching request (i.e., the second broadcaster accepts the first broadcaster's request). The second broadcaster's terminal sends this acceptance operation to the first broadcaster's terminal. In response to the acceptance operation, the first broadcaster's terminal configures the video content to be displayed when the first broadcaster's live broadcast is interrupted as the second broadcaster's (i.e., broadcaster A's) second live broadcast screen.
[0086] The following explains the specific implementation scheme for configuring the video content to be switched to another type of video when the first anchor's live broadcast is interrupted.
[0087] like Figure 4 As shown, the terminal can also display other types of video configuration entries in the video type selection interface 402, such as the configuration entry for live content of historical live broadcasts (e.g., historical highlights) 404, and the configuration entry for non-live video content (e.g., local video) 405. Moreover, when displaying the configuration entry, the terminal can also display the corresponding configuration instructions. For example, the configuration instructions for the live video configuration entry 403 are: select another live broadcast as the interrupted video screen; the configuration instructions for the live content configuration entry for historical live broadcasts (e.g., historical highlights) 404 are: the historical live video will be played when interrupted; and the configuration instructions for the non-live video content configuration entry (e.g., local video) 405 are: the local video will be played automatically when interrupted.
[0088] In practical applications, when the first broadcaster triggers a 404 error in the configuration entry for historical live stream content (such as historical highlights), the terminal responds to this trigger operation by retrieving historical highlights from the first broadcaster's videos. For example, highlights can be extracted from historical live stream videos in ascending order of broadcast time for the first broadcaster to choose from. When the first broadcaster selects a highlight, the terminal responds to this selection operation, configuring the video content that was switched to when the first broadcaster's live stream was interrupted to be the selected historical highlight. The server records the first broadcaster's configuration. Thus, when the first broadcaster's live stream is interrupted, the server can distribute the configured historical highlights to the terminals of all viewers watching the first broadcaster's live stream, allowing the viewers' terminals to seamlessly switch from the first broadcaster's live stream to the historical highlights playback screen.
[0089] When the first broadcaster triggers a configuration entry for non-live video content (such as local video) 405, the terminal responds to this trigger operation by displaying local videos that the first broadcaster can select to import. When the first broadcaster selects a local video, the terminal responds to this selection operation, configuring the video content that was switched to when the first broadcaster's live stream was interrupted as the selected local segment. The server records the first broadcaster's configuration, so that when the first broadcaster's live stream is interrupted, the server can obtain the local video that the first broadcaster has configured and distribute the local video to the terminals of each viewer watching the first broadcaster's live stream. The viewer's terminal can then seamlessly switch from the first broadcaster's live stream screen to the local video playback screen.
[0090] In this way, when the first streamer's live broadcast is interrupted, the terminals of all viewers watching the first streamer's live broadcast will seamlessly switch the first streamer's live broadcast screen to the playback screen of other videos. For example, it can be the second live broadcast screen of another streamer (i.e., the second streamer), the playback screen of the first streamer's past live broadcast highlights, or the playback screen of local videos uploaded by the first streamer. Compared with static screens, this greatly enriches the content displayed during the live broadcast interruption, reduces the probability of viewers leaving the first streamer's live broadcast room during the interruption, and can even attract more viewers to watch the live broadcast room through the switched live broadcast content, thereby reducing the overall viewer churn rate and improving the viewer retention rate during the first streamer's live broadcast interruption.
[0091] In some embodiments, the terminal may send a live broadcast switching request to the second broadcaster in response to a selection operation for the second broadcaster as follows: in response to a selection operation for the second broadcaster, display a request editing interface; in response to a request editing operation, display edited request information in the request editing interface, wherein the request information includes at least one of the following: requested live broadcast content, requested live broadcast revenue, and requested live broadcast time; in response to a confirmation operation for the request information, generate a live broadcast switching request based on the request information and send the live broadcast switching request to the second broadcaster.
[0092] Here, when the first streamer interrupts their live stream and switches to displaying the second streamer's live stream feed, the first streamer can choose not to entrust the second streamer with any content, or they can entrust the second streamer with specific content. Furthermore, they can configure entrustment information such as revenue from the entrusted live stream and the entrusted live stream duration. For example, see [link to relevant documentation]. Figure 5 , Figure 5 This is a schematic diagram of commissioned live streaming editing provided in this application embodiment. When the first streamer selects the second streamer (i.e., the aforementioned target streamer or streamer A) based on the streamer selection interface, the terminal on the first streamer's side responds to the selection operation and can also display the commissioned editing interface 501. The first streamer can edit the corresponding commissioned information in the commissioned editing interface 501, including commissioned live streaming content, commissioned live streaming revenue, and commissioned live streaming time. Among them, the commissioned live streaming content is the specific content (such as singing live) that the first streamer commissions the second streamer to perform when the first streamer's live streaming is interrupted and the second streamer's live streaming content is switched; the commissioned revenue refers to the virtual resources that the first streamer needs to pay for the specific content that the second streamer commissions to perform when the first streamer's live streaming is interrupted and the second streamer's live streaming content is switched, that is, the virtual resources (such as x game coins) that the second streamer can obtain after completing the specific live streaming content commissioned by the first streamer; the commissioned live streaming time refers to the time period during which the first streamer commissions the second streamer to perform the live streaming (such as 18:50 to 19:20 on xxxx year xx month xx day), so that the second streamer can understand the live streaming time and facilitate the preparation for the corresponding live streaming. After the first anchor finishes editing the above-mentioned entrustment information, the first anchor's terminal responds to the confirmation operation on the entrustment information (triggering the confirmation button), generates a live broadcast switching entrustment request based on the entrustment information, and sends the live broadcast switching entrustment request to the second anchor's terminal.
[0093] See Figure 6 , Figure 6This is a schematic diagram of accepting a live streaming commission provided in this application embodiment. The second streamer's terminal can display a received live streaming switching commission request (e.g., "You received a video playback request, click to view") 601 in the second streamer's live streaming interface. When the second terminal clicks the live streaming switching commission request 601, the second streamer's terminal responds to the click operation and displays the playback request interface 602 of the live streaming switching commission request. The commission information of the first streamer is displayed in the details interface 602, such as the live streaming content (e.g., singing live), the live streaming revenue (e.g., you will receive x game coins), and the live streaming time (e.g., 18:50 to 19:20 on xxxx year xx month xx day). When the second streamer accepts the commission from the first streamer, the corresponding accept button can be triggered to trigger the accept operation for the live streaming switching commission request. The second streamer's terminal sends this accept operation to the first streamer's terminal. The first streamer's terminal responds to the accept operation and configures the video content that was switched to be displayed when the first streamer's live streaming was interrupted as the second streamer's second live streaming screen.
[0094] In practical applications, when the first broadcaster interrupts its live stream and switches to displaying a second broadcaster's live stream, if the first broadcaster entrusts the second broadcaster to broadcast specific content and the second broadcaster accepts the entrustment, then when the first broadcaster's live stream is interrupted, the first broadcaster's terminal can send a live stream notification message to the second broadcaster's terminal, as shown in [reference needed]. Figure 7 , Figure 7 This is a schematic diagram of the live broadcast prompt information provided in the embodiment of this application. The terminal on the second broadcaster side receives the live broadcast prompt information, such as "You have accepted the entrustment of the first broadcaster, which will start in 1 minute. Please prepare to sing." In this way, when the first broadcaster's live broadcast is interrupted, the second broadcaster needs to broadcast specific content (such as the above-mentioned live singing) according to the entrustment of the first broadcaster. Only in this way can the first broadcaster's first broadcast screen be switched to the second broadcaster's live broadcast screen of specific content (such as the live singing screen).
[0095] For example, suppose the first streamer has entrusted the second streamer to sing live when switching to the second streamer's second live stream screen. If the second streamer started streaming before the first streamer's stream was interrupted, but the second live stream screen at this time is not showing the singing (i.e., before the first streamer's stream was interrupted, the second streamer was not performing the singing live stream entrusted by the first streamer, but rather other content, such as a simple chat live stream), when the server detects the first streamer's stream interruption, it sends an interruption notification to the second streamer's terminal to prompt the second streamer to start singing live stream as entrusted by the first streamer. The second streamer starts singing live stream based on the interruption notification (different from the previous chat live stream). At this time, the second streamer's second live stream screen is the singing live stream screen. The server sends the second streamer's live stream content to the terminals of each viewer watching the first streamer. In this way, the viewer's terminal can seamlessly switch from the first streamer's first live stream screen displayed on the live stream interface to the second streamer's second live stream screen (i.e., the live stream screen where the second streamer is singing).
[0096] Understandably, if the first streamer did not authorize the second streamer to broadcast specific content, after the server sends an interruption notification to the second streamer's terminal, the second streamer can conduct any form of live broadcast based on the interruption notification. For example, they can continue chatting or conduct other live broadcasts (such as dancing). The server will send the second streamer's live broadcast content to the terminals of each viewer watching the first streamer. In this way, the viewer's terminal can seamlessly switch the first live broadcast screen of the first streamer displayed on the live broadcast interface to the second live broadcast screen of the second streamer (i.e., the live broadcast screen where the second streamer is chatting or the live broadcast screen where the second streamer is dancing).
[0097] In some embodiments, the terminal may, in response to a configuration operation triggered based on an interruption configuration entry, configure the live content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen as follows: in response to the trigger operation for the interruption configuration entry, display a live stream type selection interface and display at least one candidate live stream type in the live stream type selection interface; in response to the selection operation for a target live stream type, send a live stream switching election request to multiple third broadcasters that meet the target live stream type, wherein the multiple third broadcasters include at least the second broadcaster; wherein the live stream switching election request is used to request each third broadcaster to use its own live stream screen as the video content switched to be displayed when the first broadcaster's live stream is interrupted through an election; in response to the second broadcaster winning the election, configure the video content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen.
[0098] In practical applications, when the first streamer triggers the terminal configuration entry, the terminal on the first streamer's side responds to the trigger operation by displaying a live stream type selection interface. This interface displays one or more candidate live stream types, such as singing live stream, dancing live stream, and e-commerce live stream. When the first streamer selects a target live stream type (e.g., singing live stream), the terminal on the first streamer's side responds to this selection operation by determining the streamer's live stream type based on the notes and descriptions of each streamer on the live stream platform. It then filters out third streamers from the live stream platform whose live stream type matches the target live stream type selected by the first streamer and sends a live stream switching election request to multiple third streamers (i.e., singing live streamers) that match the target live stream type. When multiple third streamers agree, based on the live stream switching election request, to use their live stream content as the video content to be displayed when the first streamer's live stream is interrupted, the terminal on the first streamer's side can further filter out the most suitable third streamer from these multiple third streamers as the second streamer (i.e., the third streamer who wins the election becomes the second streamer).
[0099] When further filtering from multiple third-party streamers to select a second streamer, the win rate of each third streamer can be determined based on their live streaming parameters. These parameters include at least one of the following: the third streamer's live streaming level, number of followers, live streaming popularity, frequency of interaction with the first streamer, and the amount of virtual resources the third streamer is allowed to obtain by using their live stream as the video content displayed when the first streamer's live stream is interrupted (i.e., the amount of virtual resources the first streamer needs to pay to the third streamer after the first streamer's live stream resumes if the video content displayed is the third streamer's live stream during the first streamer's interruption). The win rate of a third streamer is positively correlated with their live streaming level, number of followers, live streaming popularity, and frequency of interaction with the first streamer, but negatively correlated with the virtual resources they expect to obtain. Therefore, if a third streamer wants to win the competition, in addition to increasing at least one of their live streaming level, number of followers, or interaction frequency, they can also reduce the amount of virtual resources they expect to obtain. After the third streamer is configured with the desired virtual resources, the terminal on the first streamer's side can select the third streamer who meets at least one of the following criteria: highest streamer level, most fans, highest streamer popularity, highest interaction frequency with the first streamer, and fewest required virtual resources. The server will then configure the video content that was switched to when the first streamer's live stream was interrupted as the second streamer's second live stream screen. The server records the above configuration results. In this way, when the first streamer's live stream is interrupted, the server can obtain the second streamer's live stream content configured by the first streamer and distribute the second streamer's live stream content to the terminals of each viewer watching the first streamer's live stream. The viewer's terminal can then seamlessly switch from the first streamer's first live stream screen to the second streamer's second live stream screen (i.e., the second streamer's live stream content playback screen) based on the second streamer's live stream content.
[0100] In this way, when the first streamer's live stream is interrupted, the terminals of all viewers watching the first streamer's live stream will seamlessly switch from the first streamer's live stream to the second streamer's live stream. This greatly enriches the content displayed during the interruption. This not only reduces the probability of viewers leaving the first streamer's live stream during the interruption, but can also attract more viewers to the first streamer's live stream through the second streamer's live stream content. Overall, this reduces the viewer churn rate during the first streamer's live stream interruption and improves the viewer retention rate.
[0101] In some embodiments, the terminal may, in response to a configuration operation triggered based on an interrupt configuration entry, configure the live content that was switched to be displayed when the first broadcaster's live broadcast was interrupted as the second live broadcast screen of the second broadcaster in the following manner: in response to a trigger operation for the interrupt configuration entry, display at least one fourth broadcaster waiting to be switched, wherein the at least one fourth broadcaster includes at least the second broadcaster; in response to a selection operation for the second broadcaster, configure the video content that was switched to be displayed when the first broadcaster's live broadcast was interrupted as the second live broadcast screen of the second broadcaster.
[0102] In practical applications, before the first broadcaster triggers the interrupt configuration entry, other broadcasters (such as the fourth broadcaster) can initiate a waiting switch request on the live streaming platform (i.e., the fourth broadcaster agrees to use their own live stream as the video content to be displayed when the live stream is interrupted). In this way, when the first broadcaster has a need to switch during a live stream interruption, they can trigger the interrupt configuration entry. The terminal on the first broadcaster's side responds to the first broadcaster's trigger operation for the live stream interrupt configuration entry by displaying at least one fourth broadcaster waiting to switch. When the first broadcaster selects the fourth broadcaster, the selected fourth broadcaster is designated as the second broadcaster, and by default, the second broadcaster agrees to use their own live stream as the video content to be displayed when the first broadcaster's live stream is interrupted. That is, without the second broadcaster's reconfirmation, the video content to be displayed when the first broadcaster's live stream is interrupted can be quickly configured as the second broadcaster's second live stream, improving configuration efficiency.
[0103] In some embodiments, before the terminal interrupts the live broadcast of the first broadcaster, it can determine whether the live broadcast interruption condition has been met by: displaying a live broadcast interruption control in the live broadcast interface during the display of the first live broadcast screen; and determining that the live broadcast interruption condition has been met in response to the triggering operation of the live broadcast interruption control.
[0104] See Figure 8 , Figure 8This is a schematic diagram of the switching display of the live broadcast screen provided in the embodiment of this application. During the live broadcast of the first broadcaster, while the terminal on the first broadcaster side is displaying the first live broadcast screen 801, it can display a live broadcast interruption control (such as an interruption button) 802 in the live broadcast interface. The live broadcast interruption control 802 is provided for the first broadcaster to actively interrupt the live broadcast. That is, when the first broadcaster triggers the live broadcast interruption control, the terminal responds to the triggering operation, determines that the live broadcast interruption condition is met, interrupts the live broadcast of the first broadcaster, and switches the first live broadcast screen to the second live broadcast screen 803 of the second broadcaster.
[0105] In this way, the first streamer can actively interrupt the live stream at any time. For example, if the first streamer has to leave the live stream temporarily due to personal reasons (such as fatigue), they can actively interrupt the live stream by triggering the live stream interruption control. Since the second streamer's live stream screen is displayed during the interruption, the first streamer's fatigue can be alleviated by interrupting the live stream, and the loss of viewers can be reduced by displaying the second live stream screen. For another example, when the first streamer finds that viewers are not interested in their live stream and are losing viewers, they can actively interrupt the live stream by triggering the live stream interruption control to display the second streamer's live stream screen, which enriches the live stream content. This can not only reduce the loss of viewers in the live stream room, but also attract more viewers to watch the live stream room through the second live stream screen.
[0106] In some embodiments, before the terminal interrupts the live broadcast of the first broadcaster, it can determine whether the live broadcast interruption condition has been met by the following method: during the display of the first live broadcast screen, a live broadcast interruption prompt message is displayed in the live broadcast interface; wherein, the live broadcast interruption prompt message is a live broadcast interruption suggestion provided by the live broadcast platform to the first broadcaster when the live broadcast popularity corresponding to the first live broadcast screen is lower than the preset popularity; in response to the confirmation operation of the live broadcast interruption prompt message, it is determined that the live broadcast interruption condition has been met.
[0107] In practical applications, during the first streamer's live broadcast, the live streaming platform can detect the streamer's popularity and, if the popularity falls below a preset level (which can be set according to actual needs), send a live broadcast interruption prompt to the streamer. This suggests that the streamer proactively interrupt the current live broadcast to reduce viewer churn or attract more viewers. Based on this suggestion, the streamer can proactively interrupt the current live broadcast by performing a confirmation action on the interruption prompt (if the interruption prompt is triggerable, the confirmation action can be triggered directly by triggering the interruption prompt; or, if the interruption prompt is associated with a confirmation button, the confirmation action can be triggered by triggering the confirmation button). The terminal responds to the confirmation action on the interruption prompt, thus confirming that the live broadcast interruption condition has been met.
[0108] Live stream popularity can be determined based on the audience traffic, audience interaction level, or activity level of the top streamer. Audience traffic typically refers to the number of viewers entering and browsing the top streamer's live stream during the live stream. Audience traffic reflects the streamer's popularity and the attractiveness of the live stream content. It can be further subdivided into: peak audience count (the maximum number of viewers online at any given time during the live stream), cumulative audience count (the total number of viewers who entered the live stream throughout the entire live stream), and average online audience count (the average number of viewers in the live stream during the live stream). Audience interaction level refers to the frequency of viewers' interactive behaviors during the live stream, such as bullet comments, comments, likes, shares, and donations.
[0109] In this way, the first streamer can proactively interrupt the live stream based on the suggestions in the live stream interruption prompt message, and seamlessly switch the first streamer's live stream screen to the second streamer's live stream screen during the interruption. This enriches the live stream content, which can not only reduce the loss of viewers in the live stream room, but also attract more viewers to watch the live stream room through the second live stream screen.
[0110] In some embodiments, the live broadcast interruption notification message also suggests switching the first live broadcast screen to a live broadcast screen of the first live broadcast type. The terminal can switch the first live broadcast screen to the second live broadcast screen of the second anchor in the following ways: in response to the first anchor's pre-configured switching live broadcast type including the first live broadcast type, the first live broadcast screen is switched to the second live broadcast screen of the second anchor belonging to the first live broadcast type; in response to the first anchor's pre-configured switching live broadcast type not including the first live broadcast type, the first live broadcast screen is switched to the second live broadcast screen of the second anchor belonging to the second live broadcast type, where the similarity between the second live broadcast type and the first live broadcast type exceeds a similarity threshold.
[0111] In practical applications, during the first streamer's live broadcast, when the live streaming platform provides a live broadcast interruption suggestion, it can also provide a live broadcast switching suggestion based on the live broadcast types with high popularity on the platform, or the live broadcast types that viewers leaving the first streamer's live broadcast room like to watch. For example, it may prompt the first streamer to switch the first live broadcast screen to the live broadcast type of the first live broadcast. When the first streamer actively triggers a live broadcast interruption based on the live broadcast interruption prompt information, the terminal responds that the live broadcast interruption condition is met and checks the live broadcast type of the video content that the first streamer has configured to switch to. If the first streamer's configured live broadcast type includes the first live broadcast type suggested by the live streaming platform, or if the first streamer has not pre-configured the video content to be switched to, the first live broadcast screen can be directly switched to the second live broadcast screen of the second streamer, which belongs to the first live broadcast type. If the first streamer's configured live broadcast type does not include the first live broadcast type suggested by the live streaming platform, the system can switch from the first streamer's configured live broadcast type to the second live broadcast screen of the second streamer, which belongs to the first live broadcast type. The system filters out the second live stream type that is most similar to the first live stream type recommended by the live streaming platform. This means the similarity between the second and first live stream types exceeds a similarity threshold. The similarity threshold can be set according to actual needs. For example, if the similarity between the first streamer's configured live stream types and the first live stream type is relatively low (e.g., the first streamer has three configured live stream types with similarities of 50%, 40%, and 30% respectively), a smaller similarity threshold can be set, such as 48%. Conversely, if the similarity between the first streamer's configured live stream types and the first live stream type is relatively high (e.g., the first streamer has three configured live stream types with similarities of 90%, 75%, and 40% respectively), a larger similarity threshold can be set, such as 85%. The first live stream will then be switched to the second live stream of the second streamer, which belongs to the second live stream type.
[0112] Understandably, in practical applications, if the first broadcaster's configured live broadcast type does not include the first live broadcast type suggested in the live broadcast interruption prompt, or if the first broadcaster has not pre-configured the video content to be displayed, the first broadcaster can first configure the video content of the first live broadcast type as the video content to be displayed when the live broadcast is interrupted, according to the suggestion in the live broadcast interruption prompt, and then actively trigger the live broadcast interruption to directly switch the first live broadcast screen to the second live broadcast screen of the second broadcaster, which belongs to the first live broadcast type.
[0113] In this way, the first streamer can proactively interrupt the live stream according to the suggestions in the live stream interruption prompt message. During the interruption, the first streamer's live stream screen can be seamlessly switched to the second streamer's live stream screen of a specific live stream type. This not only enriches the live stream content and improves the targeting of the live stream interruption switch, reducing the loss of viewers in the live stream room, but can also attract more viewers to watch the live stream room through the second live stream screen of a specific live stream type.
[0114] In some embodiments, before the terminal resumes the live broadcast of the first broadcaster, it can determine whether the conditions for resuming the live broadcast have been met by: displaying a live broadcast resumption entry in the live broadcast interface during the display of the second live broadcast screen; and determining that the conditions for resuming the live broadcast have been met in response to a trigger operation on the live broadcast resumption entry.
[0115] In practical applications, if the first broadcaster actively interrupts the live stream, the terminal on the first broadcaster's side can switch from the first live stream screen to the second broadcaster's second live stream screen, or it can continue to display the first live stream screen or other forms of interrupted screen without switching to the second live stream screen. The first broadcaster can actively resume the live stream. For example, if the terminal on the first broadcaster's side displays a live stream resumption entry in the live stream interface while displaying the second live stream screen (or continuing to display the first live stream screen or other forms of interrupted screen), it can be determined that the conditions for resuming the live stream have been met when the first broadcaster triggers the live stream resumption entry.
[0116] In some embodiments, before interrupting the live broadcast of the first broadcaster, the terminal may determine whether the live broadcast interruption condition is met by: performing bitrate detection on the live broadcast during the display of the first live broadcast screen to obtain a first detection result; in response to the first detection result indicating that the uplink video bitrate of the live broadcast is lower than the bitrate threshold within the target time period, performing content detection on the live broadcast to obtain a second detection result; and in response to the second detection result indicating that no new video frames are received within the target time period, determining that the live broadcast interruption condition is met.
[0117] In practical applications, during the first broadcaster's live stream, that is, during the display of the first live stream screen, the live streaming platform or server can perform bitrate detection (i.e., detect the live stream) on the first broadcaster's live stream. The detection parameters include the detection time window (i.e., the target time period, such as N seconds) and the video bitrate. If the first detection result indicates that the uplink video bitrate of the live stream is lower than the bitrate threshold for N consecutive seconds (which can be set according to actual needs), then further content detection is performed on the live stream to detect if no new video frames are received within the target time period (i.e., N seconds) or if the received video frames are black screens (which may be due to network problems or the broadcaster stopping sending video streams). In this case, the live stream interruption is a passive interruption caused by the first broadcaster's live stream disconnection.
[0118] In some embodiments, before interrupting the live broadcast of the first broadcaster, the terminal may determine whether the live broadcast interruption condition has been met in the following ways: during the display of the first live broadcast screen, the network connection status of the first broadcaster side is detected, and when the network connection of the first broadcaster side is disconnected, it is determined that the live broadcast interruption condition has been met; or, during the display of the first live broadcast screen, an interruption countdown is displayed, and when the interruption countdown reaches zero, it is determined that the live broadcast interruption condition has been met.
[0119] In practical applications, during the live broadcast of the first anchor, that is, during the display of the first live broadcast screen, the live broadcast platform or server can also detect the network connection status of the terminal on the first anchor side, and determine that the live broadcast interruption condition is met when the network connection on the first anchor side is disconnected. In this case, the live broadcast interruption of the first anchor is a passive interruption.
[0120] In some embodiments, the first broadcaster may also preset a live broadcast interruption time point, such as setting the live broadcast to be interrupted 100 minutes after the start of the live broadcast. In this way, after the first broadcaster's live broadcast starts, during the display of the first live broadcast screen, an interruption countdown (such as a countdown of 100 minutes) can be displayed in the live broadcast interface of the terminal on the first broadcaster's side. When the countdown reaches zero, it is determined that the live broadcast interruption condition has been met. In this case, the first broadcaster's live broadcast interruption can be regarded as an active interruption.
[0121] It should be noted that, if the first streamer can preset the live stream interruption time, when the countdown is about to reach zero (e.g., 30 seconds), a live stream interruption prompt message can be displayed on the live stream interface. If the first streamer does not want to interrupt the live stream at the preset time, they can cancel the live stream interruption based on the live stream interruption prompt message. In this case, the live stream interruption will not be automatically triggered when the countdown reaches zero, which can avoid interrupting the first streamer or their viewers by constantly interrupting the live stream.
[0122] In practical applications, when the live streaming platform or server determines that the conditions for live streaming interruption have been met, it can interrupt the first streamer's live stream and distribute the second streamer's live stream content to the terminals of each viewer watching the first streamer's live stream. The viewer's terminal can then interrupt the first streamer's live stream and seamlessly switch from the first streamer's first live stream to the second streamer's second live stream. During the display of the second live stream, the live streaming platform or server continues to monitor whether the conditions for the first streamer's live stream recovery have been met. When it is determined that the conditions for the first streamer's live stream recovery have been met (e.g., if the first streamer's live stream interruption was active, the conditions are met when the first streamer actively resumes the live stream; or if the first streamer's live stream interruption was passive, the conditions are met when the live stream or network connection is restored), the second live stream can be interrupted, the first streamer's live stream content can be retrieved, and this content can be distributed to the terminals of each viewer watching the first streamer's live stream. The viewer's terminal can then seamlessly switch from the second streamer's second live stream to the first streamer's first live stream based on the first streamer's live stream content.
[0123] In some embodiments, the terminal may switch the first live broadcast screen to the second live broadcast screen of the second anchor in the following manner: in response to the pre-configured number of second anchors being multiple, determine the switching priority of each second anchor; switch the first live broadcast screen to the second live broadcast screen of the second anchor whose switching priority exceeds the target priority.
[0124] In practical applications, when the first broadcaster pre-configures multiple second broadcasters, the switching priority of the second live broadcast screens for different second broadcasters is different. The live broadcast platform or server can prioritize the second live broadcast screen of the second broadcaster whose switching priority exceeds the target priority (which can be set according to actual needs) as the switching target. For example, if the second broadcasters pre-configured by the first broadcaster are second broadcaster 1, second broadcaster 2, and second broadcaster 3, and the switching priority of the second live broadcast screens corresponding to second broadcaster 1, second broadcaster 2, and second broadcaster 3 decreases in that order, then the second live broadcast screen of the second broadcaster with the highest switching priority (i.e., second broadcaster 1) can be used as the switching target. The live broadcast content of second broadcaster 1 is then sent to the terminals of each viewer watching the first broadcaster's live broadcast. The viewer's terminal can then interrupt the first broadcaster's live broadcast and seamlessly switch the first live broadcast screen of the first broadcaster to the second live broadcast screen of second broadcaster 1. This can improve the targeting of live broadcast switching.
[0125] In some embodiments, the switching priority of each second streamer can be determined as follows: Influence parameters affecting the switching priority of each second streamer are obtained, including at least one of the following: the social relationship between the second streamer and the first streamer, the interaction frequency between the second streamer and the first streamer, the live stream popularity of the second streamer, and the virtual resources required to switch to display the live stream content of the second streamer; based on the influence parameters, a switching priority prediction process is performed using a neural network model to obtain the switching priority of each second streamer; wherein the neural network model is trained using streamer samples, influence parameters of the streamer samples, and switching priorities labeled on the streamer samples.
[0126] The social relationship between the second and first streamers can be determined by whether they have added each other's social connections (e.g., mutual following or adding each other as friends) or their nicknames. Different types of social relationships typically result in different switching priorities for the second streamer. A mapping relationship between social relationships and switching priorities can be established in advance. When a social relationship between the second and first streamers is identified as a target social relationship, this mapping relationship can be further queried to determine the switching priority of the second streamer within that target social relationship. The interaction frequency between the second and first streamers reflects the number of times the second streamer interacts with the first streamer. Generally, the switching priority of the second streamer is positively correlated with the interaction frequency; that is, the higher the interaction frequency, the higher the switching priority of the second streamer. The popularity of the second streamer's live stream reflects the degree to which the second streamer is liked or interacted with by viewers. Generally, the switching priority of the second streamer is positively correlated with the live stream popularity; that is, the higher the live stream popularity, the higher the switching priority of the second streamer. The virtual resources required to switch to displaying the second streamer's live content are the virtual resources that the first streamer should pay to the second streamer when switching from the first streamer's live view to the second streamer's live view. Generally, the higher the virtual resources required by the first streamer, the lower the switching priority of the second streamer. After obtaining the influence parameters that affect the switching priority of each second streamer, the neural network model trained with these parameters is used for prediction processing to obtain the switching priority of each second streamer, which can make the prediction more accurate.
[0127] Before applying the neural network model, an initial neural network model needs to be trained. This trained model is then put into application to combine influence parameters and use artificial intelligence technology to predict the switching priority of a second streamer. The neural network model is trained using streamer samples, their influence parameters, and the switching priorities labeled on those samples. For example, based on streamer samples, the associated live stream popularity, and the labeled switching priorities, the initial neural network model is called for prediction processing to obtain the predicted switching priorities. After determining the value of the loss function of the neural network model using the predicted and labeled switching priorities, it can be determined whether the loss function value exceeds a preset threshold. When the loss function value exceeds the preset threshold, an error signal is determined based on the loss function. This error signal is then backpropagated within the neural network model, updating the model parameters of each layer during the propagation process.
[0128] The embodiments of this application do not limit the model structure of the neural network model. For example, the neural network model can be a convolutional neural network, a deep neural network, etc.; nor are they limited to the form of the loss function. For example, it can be a cross-entropy loss function, an L2 loss function, etc.
[0129] Here, we explain backpropagation. Training sample data is input into the input layer of the neural network model, passes through the hidden layers, and finally reaches the output layer to output the result. This is the forward propagation process of the neural network model. Since there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated and backpropagated from the output layer to the hidden layers until it reaches the input layer. During the backpropagation process, the values of the model parameters are adjusted according to the error. That is, a loss function is constructed based on the error between the output result and the actual value, and the partial derivatives of the loss function with respect to the model parameters are calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error amplification, the gradient of the model parameters is inverted and summed with the original parameters of each layer of the model. The summation result is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters. The above process is iterated until convergence.
[0130] In some embodiments, the terminal may switch the first live broadcast screen to the second live broadcast screen of the second anchor in the following manner: in response to the pre-configured number of second anchors being multiple, displaying options for each second anchor; in response to the selection operation for the target option, switching the first live broadcast screen to the second live broadcast screen of the second anchor corresponding to the target option.
[0131] In practical applications, when the first broadcaster is pre-configured with multiple second broadcasters, when the conditions for interrupting the first broadcaster's live stream are met, the live streaming platform or server can directly and randomly select the live stream content of one of the multiple second broadcasters and send the randomly selected second broadcaster's live stream content to the terminal of the viewer watching the first broadcaster's live stream. That is, when the first broadcaster's live stream is interrupted, the viewer's terminal will randomly and seamlessly switch the first broadcaster's first live stream screen to the second broadcaster's second live stream screen.
[0132] Of course, when the first streamer has pre-configured multiple second streamers, when the first streamer's live broadcast interruption condition is met, the first streamer can also be provided with options for each second streamer. The first streamer can then select a second streamer from these options. The live broadcast platform or server responds to the first streamer's selection operation by obtaining the live broadcast content of the selected second streamer and sending the obtained live broadcast content of the selected second streamer to the terminals of the viewers watching the first streamer's live broadcast. That is, when the first streamer's live broadcast is interrupted, the viewers' terminals will seamlessly switch from the first streamer's first live broadcast screen to the selected second streamer's second live broadcast screen.
[0133] For example, if the number of pre-configured second broadcasters for the first broadcaster is multiple, see [example]. Figure 9 , Figure 9 This is a schematic diagram of the switching display of the live broadcast screen provided in the embodiment of this application. During the live broadcast of the first broadcaster, while the terminal on the first broadcaster side is displaying the first live broadcast screen 901, it can display a live broadcast interruption control (such as an interruption button) 902 in the live broadcast interface. When the first broadcaster triggers the live broadcast interruption control 902, the terminal responds to the triggering operation, determines that the live broadcast interruption condition is met, and displays multiple second broadcasters pre-configured by the first broadcaster, such as second broadcaster 1, second broadcaster 2, and second broadcaster 3. When the first broadcaster selects second broadcaster 3 from them, the terminal responds to the selection operation and switches the first live broadcast screen 901 to the second live broadcast screen 903 of second broadcaster 3.
[0134] Using the above method, the first broadcaster can selectively choose the second broadcaster's second live stream screen to switch to, thus improving the targeting of live stream switching.
[0135] In some embodiments, after the terminal switches the second live stream screen to the first live stream screen, the terminal of the first broadcaster can obtain the switching live stream parameters for switching to display the second live stream screen, wherein the switching live stream parameters include at least one of the following: switching display duration, switching live stream popularity; based on the switching live stream parameters, determine the virtual resources to be paid for switching to display the second live stream screen, and pay the virtual resources to the second broadcaster.
[0136] In practical applications, if the second live stream of a second streamer is displayed after the first streamer's live stream is interrupted and this switching is paid, then after the first streamer's live stream resumes, the virtual resources that the first streamer needs to pay must be determined based on switching parameters such as the duration of the second live stream's display and the popularity of the second live stream. Typically, the virtual resources that the first streamer needs to pay are positively correlated with the duration of the second live stream's display and the popularity of the second live stream. Of course, the virtual resources that the first streamer needs to pay can also be pre-set fixed virtual resources. After the virtual resources that the first streamer needs to pay are determined, they must be paid to the second streamer. In this way, the second streamer can obtain certain benefits, which helps to increase the second streamer's enthusiasm for providing video content during live stream interruptions.
[0137] In this way, when the live stream of the first streamer is interrupted, the terminals of all viewers watching the first streamer's live stream will seamlessly switch to the playback screen of other videos. These videos could be the second live stream of another streamer (i.e., the second streamer), a playback screen of highlights from the first streamer's past live streams, or a playback screen of local videos uploaded by the first streamer. Compared to static screens, this greatly enriches the content displayed during the live stream interruption, reduces the probability of viewers leaving the first streamer's live stream room during the interruption, and can even attract more viewers to the live stream room through the switched live stream content. Overall, this reduces the viewer churn rate during the first streamer's live stream interruption and improves the viewer retention rate.
[0138] The following will describe an exemplary application of the embodiments of this application in a real-world application scenario.
[0139] See Figure 10 , Figure 10 This is a flowchart illustrating the live streaming processing method provided in this application embodiment. The method mainly includes the following processing steps:
[0140] In step 201, interrupted video is pre-configured.
[0141] In practical applications, the first broadcaster can pre-configure interruption videos before and during the live stream. Interruption videos refer to the video content displayed when the broadcast is interrupted. The configuration method for interruption videos is as follows: Figure 4 As shown, the types of interrupted videos can be various, such as live content being broadcast by other broadcasters on the live streaming platform (e.g., the second broadcaster's second live stream), live content from the first broadcaster's past broadcasts (e.g., historical highlights), or non-live video content (e.g., local video).
[0142] When the first broadcaster selects non-live video content (such as local video) as the interrupted video, the terminal uploads the selected local video to the server. The server then configures the video content displayed when the broadcast is interrupted (i.e., the interrupted video) as the local video. When the first broadcaster selects a historical highlight clip, the server records the broadcaster's selection. When the broadcast is interrupted, the server queries the broadcaster's historical highlight clips in chronological order from most recent to oldest, and configures the video content displayed when the broadcast is interrupted (i.e., the interrupted video) as the historical highlight clip.
[0143] When the first streamer selects a live video from another streamer as the interrupt video, the interrupt video can be a live video from another live stream (such as the second streamer's live stream) (e.g., a talent show live video), or a live video from a secondary streamer (or assistant) temporarily taking over the first streamer's broadcast during the first streamer's break. When the first streamer selects the second streamer's live video as the interrupt video, the first streamer can choose a suitable live stream in the live performance square. If the first streamer selects the second streamer's live stream, they can initiate a delegation request (i.e., the aforementioned live stream switching delegation request) to the selected second streamer's terminal. If the second streamer accepts the first streamer's delegation, the video content that was switched to when the first streamer's broadcast was interrupted can be configured as the second streamer's second live stream screen.
[0144] In step 202, the detection is interrupted.
[0145] In practical applications, the terminal and server work together to detect whether the live stream of the first broadcaster has been interrupted. (See [link to relevant documentation]). Figure 11 , Figure 11 This is a schematic diagram of live broadcast interruption detection provided in an embodiment of this application. Live broadcast interruption includes active interruption and passive interruption. Active interruption is an interruption actively triggered by the first broadcaster. When the first broadcaster needs to interrupt the current live broadcast, he can trigger the interruption control displayed in the live broadcast interface. The terminal of the first broadcaster responds to the first broadcaster's trigger operation on the interruption control and sends an interruption command to the server. After receiving the interruption command, the server obtains and selects the interruption video pre-configured by the first broadcaster and replaces the first broadcaster's video stream with the interruption video. That is, the interruption video is sent to the terminal on the viewer's side. The viewer's terminal seamlessly switches the first broadcaster's live broadcast screen to the playback screen of the interruption video, avoiding video interruption in the first broadcaster's live broadcast room. At the same time, the terminal on the first broadcaster's side will also play the same interruption video screen as the terminal on the viewer's side, so that the first broadcaster can understand the interruption video content of his live broadcast room.
[0146] Passive interruption is a forced interruption of live streaming caused by a network disconnection or interruption of the live stream at the first broadcaster's terminal. See also Figure 12 , Figure 12This is a flowchart of a live streaming passive interruption detection method provided in this application embodiment. The method includes: in step 301, detecting the uplink video bitrate of a first live stream; in step 302, determining whether the uplink video frame bitrate is lower than a bitrate threshold; in step 303, if the uplink video bitrate is lower than the bitrate threshold, obtaining the duration of the uplink video bitrate below the bitrate threshold; in step 304, determining whether the duration has reached a target duration; in step 305, when the duration reaches the target duration, performing content detection on the live stream; in step 306, determining whether a new video frame has been received; in step 307, if no new video frame has been received or the received video frame is a black screen (possibly due to network problems or the broadcaster stopping sending video streams), determining that the live stream has been passively interrupted; in step 308, if the uplink video bitrate of the first live stream is not lower than the bitrate threshold, or the duration of the uplink video bitrate below the bitrate threshold has not reached the target duration, or a new video frame has been received, determining that the live stream has not been interrupted.
[0147] In step 203, the interrupted video is played.
[0148] Here, when the first streamer's live broadcast is interrupted, the server obtains the interrupted video pre-configured by the first streamer, uses the interrupted video as the first streamer's uplink video stream, and pushes the obtained interrupted video to the terminals of each viewer watching the first streamer's live broadcast, so that the viewer's terminal can switch the first streamer's live broadcast screen to the interrupted video.
[0149] For example, when the first streamer's pre-configured interrupt video is a local video, when the first streamer's live broadcast is interrupted, the server distributes the local video to the terminals of all viewers watching the first streamer's live broadcast, so that the viewers' terminals can switch from displaying the first streamer's initial live broadcast view to displaying the local video playback interface. When the first streamer's pre-configured interrupt video is historical highlights, the server queries the first streamer's historical live broadcast highlights in chronological order from most recent to oldest, and distributes the retrieved historical live broadcast highlights to the terminals of all viewers watching the first streamer's live broadcast, so that the viewers' terminals can switch from displaying the first streamer's initial live broadcast view to displaying the historical live broadcast highlights. When the first streamer's pre-configured interrupt video is video content being broadcast by another streamer (such as a second streamer), when the first streamer's live broadcast is interrupted, the server retrieves the second streamer's live broadcast content and distributes the second streamer's live broadcast content to the terminals of all viewers watching the first streamer's live broadcast, so that the viewers' terminals can seamlessly switch from displaying the first streamer's initial live broadcast view to displaying the second streamer's second live broadcast view.
[0150] Understandably, in practical applications, if the interruption of the live stream on the viewer's side is due to network issues on the viewer's side, redundant bandwidth can be used to download the pre-configured interruption video of the first broadcaster in advance while the viewer is watching the live stream. When the viewer is unable to watch the live stream, the pre-downloaded interruption video can be played to replace the live stream.
[0151] In step 204, the live stream is restored.
[0152] Here, the restoration of the first live stream of the first broadcaster includes active restoration and passive restoration. If the above-mentioned live stream interruption was initiated by the first broadcaster, the first broadcaster can actively choose to resume playing his own live stream content; if the above-mentioned live stream interruption was a passive interruption, the server will restore the first broadcaster's live stream after detecting that the uplink of the first broadcaster's video stream has stabilized.
[0153] In this way, when the live stream of the first streamer is interrupted, the terminals of all viewers watching the first streamer's live stream will seamlessly switch to the playback screen of other videos. These videos could be the second live stream of another streamer (i.e., the second streamer), a playback screen of highlights from the first streamer's past live streams, or a playback screen of local videos uploaded by the first streamer. Compared to static screens, this greatly enriches the content displayed during the live stream interruption, reduces the probability of viewers leaving the first streamer's live stream during the interruption, and can even attract more viewers to the first streamer's live stream by switching to the new live stream content. Overall, this reduces the viewer churn rate during the first streamer's live stream interruption and improves the viewer retention rate.
[0154] The exemplary application and implementation of the electronic device provided in the embodiments of this application have been used to describe the live streaming processing method provided in the embodiments of this application. The following describes the cooperation of the various modules in the live streaming processing device 555 provided in the embodiments of this application to implement the live streaming processing scheme.
[0155] The screen display module 5551 is used to display the first live broadcast screen of the first anchor in the live broadcast interface; the interruption handling module 5552 is used to interrupt the live broadcast of the first anchor and switch the first live broadcast screen to the second live broadcast screen of the second anchor in response to the live broadcast interruption condition being met; the recovery handling module 5553 is used to restore the live broadcast of the first anchor and switch the second live broadcast screen to the first live broadcast screen in response to the live broadcast recovery condition being met.
[0156] In some embodiments, before interrupting the live stream of the first broadcaster, the device further includes: an interruption determination module, configured to display a live stream interruption control in the live stream interface during the display of the first live stream screen; and to determine that the live stream interruption condition is met in response to a triggering operation of the live stream interruption control.
[0157] In some embodiments, before interrupting the first streamer's live stream, the interruption determination module is further configured to display a live stream interruption prompt message in the live stream interface during the display of the first live stream screen; wherein, the live stream interruption prompt message is a live stream interruption suggestion provided by the live stream platform to the first streamer when the live stream popularity corresponding to the first live stream screen is lower than a preset popularity; in response to the determination operation of the live stream interruption prompt message, it is determined that the live stream interruption condition has been met.
[0158] In some embodiments, the live broadcast interruption notification message further suggests switching the first live broadcast screen to a live broadcast screen of the first live broadcast type. The interruption handling module is further configured to, in response to the first broadcaster's pre-configured switch of live broadcast type including the first live broadcast type, switch the first live broadcast screen to a second live broadcast screen of the second broadcaster belonging to the first live broadcast type; and in response to the first broadcaster's pre-configured switch of live broadcast type not including the first live broadcast type, switch the first live broadcast screen to a second live broadcast screen of the second broadcaster belonging to the second live broadcast type, wherein the similarity between the second live broadcast type and the first live broadcast type exceeds a similarity threshold.
[0159] In some embodiments, before restoring the live stream of the first broadcaster, the device further includes: a recovery determination module, configured to display a live stream recovery entry in the live stream interface during the display of the second live stream screen; and to determine that the live stream recovery conditions are met in response to a trigger operation on the live stream recovery entry.
[0160] In some embodiments, before interrupting the live stream of the first broadcaster, the interruption determination module is further configured to perform bitrate detection on the live stream during the display of the first live stream screen to obtain a first detection result; in response to the first detection result indicating that the uplink video bitrate of the live stream is lower than the bitrate threshold within a target time period, perform content detection on the live stream to obtain a second detection result; and in response to the second detection result indicating that no new video frames are received within the target time period, determine that the live stream interruption condition is met.
[0161] In some embodiments, before interrupting the live stream of the first broadcaster, the interruption determination module is further configured to detect the network connection status of the first broadcaster during the display of the first live stream screen, and determine that the live stream interruption condition is met when the network connection of the first broadcaster is disconnected; or, during the display of the first live stream screen, display an interruption countdown, and determine that the live stream interruption condition is met when the interruption countdown reaches zero.
[0162] In some embodiments, the apparatus further includes: an interrupt configuration module, configured to display an interrupt configuration entry in the live streaming interface before displaying the first live stream screen, or during the display of the first live stream screen; wherein the interrupt configuration entry is configured to configure the video content to be switched to be displayed when the live stream of the first broadcaster is interrupted; in response to a configuration operation triggered based on the interrupt configuration entry, the video content to be switched to be displayed when the live stream of the first broadcaster is interrupted is configured as the second live stream screen of the second broadcaster.
[0163] In some embodiments, the interrupt configuration module is further configured to, in response to a trigger operation on the interrupt configuration entry, display a video type selection interface and a live video configuration entry in the video type selection interface; in response to a trigger operation on the live video configuration entry, display a broadcaster selection interface and display at least one candidate broadcaster in the broadcaster selection interface, the at least one candidate broadcaster including at least the second broadcaster; in response to a selection operation on the second broadcaster, send a live broadcast switching delegation request to the second broadcaster, the live broadcast switching delegation request being used to delegate to the second broadcaster to allow the second broadcaster's second live broadcast screen to be used as the video content switched to be displayed when the first broadcaster's live broadcast is interrupted; and in response to the second broadcaster's acceptance operation on the live broadcast switching delegation request, configure the video content switched to be displayed when the first broadcaster's live broadcast is interrupted as the second broadcaster's second live broadcast screen.
[0164] In some embodiments, the interrupt configuration module is further configured to, in response to a selection operation for the second streamer, display a delegated editing interface; in response to the delegated editing operation, display edited delegated information in the delegated editing interface, the delegated information including at least one of the following: delegated live streaming content, delegated live streaming revenue, and delegated live streaming time; in response to a confirmation operation for the delegated information, generate a live streaming switching delegated request based on the delegated information, and send the live streaming switching delegated request to the second streamer.
[0165] In some embodiments, the interrupt configuration module is further configured to, in response to a trigger operation on the interrupt configuration entry, display a live stream type selection interface and display at least one candidate live stream type in the live stream type selection interface; in response to a selection operation on a target live stream type, send a live stream switching election request to a plurality of third broadcasters that conform to the target live stream type, wherein the plurality of third broadcasters includes at least the second broadcaster; wherein the live stream switching election request is configured to request each of the third broadcasters to use their respective live stream screen as the video content switched to be displayed when the first broadcaster's live stream is interrupted through an election; in response to the second broadcaster winning the election, configure the video content switched to be displayed when the first broadcaster's live stream is interrupted as the second broadcaster's second live stream screen.
[0166] In some embodiments, the interrupt configuration module is further configured to, in response to a trigger operation on the interrupt configuration entry, display at least one fourth broadcaster waiting to be switched, the at least one fourth broadcaster including at least the second broadcaster; and in response to a selection operation on the second broadcaster, configure the video content switched to be displayed when the first broadcaster's live broadcast is interrupted as the second live broadcast screen of the second broadcaster.
[0167] In some embodiments, the interrupt handling module is further configured to, in response to the pre-configured number of second anchors being multiple, determine the switching priority of each second anchor; and switch the first live broadcast screen to the second live broadcast screen of the second anchor whose switching priority exceeds the target priority.
[0168] In some embodiments, the interruption processing module is further configured to obtain influence parameters affecting the switching priority of each second streamer, the influence parameters including at least one of the following: the social relationship between the second streamer and the first streamer, the interaction frequency between the second streamer and the first streamer, the live streaming popularity of the second streamer, and the virtual resources required to switch to display the live streaming content of the second streamer; based on the influence parameters, a switching priority prediction process is performed through a neural network model to obtain the switching priority of each second streamer; wherein, the neural network model is trained using streamer samples, influence parameters of streamer samples, and switching priorities labeled on streamer samples.
[0169] In some embodiments, the interrupt handling module is further configured to, in response to a pre-configured number of second anchors being multiple, display options for each of the second anchors; and, in response to a selection operation for a target option, switch the first live stream screen to the second live stream screen of the second anchor corresponding to the target option.
[0170] In some embodiments, after switching the second live stream screen to the first live stream screen, the device further includes: a payment processing module, configured to obtain switching live stream parameters for switching the display of the second live stream screen, the switching live stream parameters including at least one of the following: switching display duration, switching live stream popularity; based on the switching live stream parameters, determine the virtual resources to be paid for switching the display of the second live stream screen, and pay the virtual resources to the second streamer.
[0171] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the live streaming processing method described above in this application.
[0172] This application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the live streaming processing method provided in this application. For example, ... Figure 3 The live streaming processing method is shown.
[0173] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0174] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0175] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).
[0176] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.
[0177] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A live processing method, characterized by, The method comprises: displaying a first live picture of a first anchor in a live interface; in response to a live interruption condition being met, interrupting the live broadcast of the first anchor and switching the first live picture to a second live picture of a second anchor; in response to a live resumption condition being met, resuming the live broadcast of the first anchor and switching the second live picture to the first live picture.
2. The method of claim 1, wherein, The method further comprises: displaying an interruption configuration entry in the live interface before or during the display of the first live picture; wherein the interruption configuration entry is configured to configure video content to be displayed when the live broadcast of the first anchor is interrupted; in response to a configuration operation triggered based on the interruption configuration entry, configuring the video content to be displayed when the live broadcast of the first anchor is interrupted as the second live picture of the second anchor.
3. The method of claim 2, wherein, The response to the configuration operation triggered based on the interruption configuration entry, configuring the live content to be displayed when the live broadcast of the first anchor is interrupted as the second live picture of the second anchor, comprises: in response to a trigger operation on the interruption configuration entry, displaying a video type selection interface and displaying a live video configuration entry in the video type selection interface; in response to a trigger operation on the live video configuration entry, displaying an anchor selection interface and displaying at least one candidate anchor in the anchor selection interface, the at least one candidate anchor comprising at least the second anchor; in response to a selection operation on the second anchor, sending a live switching delegation request to the second anchor, the live switching delegation request being configured to delegate the second anchor to allow the second live picture of the second anchor to be displayed as the video content to be displayed when the live broadcast of the first anchor is interrupted; in response to an acceptance operation of the second anchor on the live switching delegation request, configuring the video content to be displayed when the live broadcast of the first anchor is interrupted as the second live picture of the second anchor.
4. The method of claim 3, wherein, The response to the selection operation on the second anchor, sending a live switching delegation request to the second anchor, comprises: in response to a selection operation on the second anchor, displaying a delegation editing interface; in response to a delegation editing operation, displaying edited delegation information in the delegation editing interface, the delegation information comprising at least one of the following: delegated live content, delegated live income, and delegated live time; in response to a determination operation on the delegation information, generating a live switching delegation request based on the delegation information and sending the live switching delegation request to the second anchor.
5. The method of claim 2, wherein, The response to the configuration operation triggered based on the interruption configuration entry, configuring the live content to be displayed when the live broadcast of the first anchor is interrupted as the second live picture of the second anchor, comprises: in response to a trigger operation on the interruption configuration entry, displaying a live type selection interface and displaying at least one candidate live type in the live type selection interface; In response to a selection operation for a target live broadcast type, a live broadcast switching bid request is sent to a plurality of third anchors conforming to the target live broadcast type, and the plurality of third anchors at least include the second anchor; The live broadcast switching bid request is used to request each third anchor to bid for a respective live broadcast picture as video content switched and displayed when the first anchor live broadcast is interrupted; In response to the second anchor winning the bid, the video content switched and displayed when the first anchor live broadcast is interrupted is configured as a second live broadcast picture of the second anchor.
6. The method of claim 2, wherein, The configuration operation triggered based on the interruption configuration portal includes: In response to a trigger operation for the interruption configuration portal, at least one fourth anchor waiting for switching is displayed, and the at least one fourth anchor at least includes the second anchor; In response to a selection operation for the second anchor, the video content switched and displayed when the first anchor live broadcast is interrupted is configured as a second live broadcast picture of the second anchor.
7. The method of claim 1, wherein, Before interrupting the live broadcast of the first anchor, the method further includes: During display of the first live broadcast picture, a live broadcast interruption control is displayed in the live broadcast interface; In response to a trigger operation for the live broadcast interruption control, it is determined that the live broadcast interruption condition is met.
8. The method of claim 1, wherein, Before interrupting the live broadcast of the first anchor, the method further includes: During display of the first live broadcast picture, a live broadcast interruption prompt is displayed in the live broadcast interface; The live broadcast interruption prompt is a live broadcast interruption suggestion provided by a live broadcast platform to the first anchor when a live broadcast heat corresponding to the first live broadcast picture is lower than a preset heat; In response to a determination operation for the live broadcast interruption prompt, it is determined that the live broadcast interruption condition is met.
9. The method of claim 8, wherein, The live broadcast interruption prompt further suggests switching the first live broadcast picture to a live broadcast picture of a first live broadcast type, and the switching of the first live broadcast picture to the second live broadcast picture of the second anchor includes: In response to the first anchor pre-configuring a switching live broadcast type including the first live broadcast type, the first live broadcast picture is switched to the second live broadcast picture of the second anchor belonging to the first live broadcast type; In response to the first anchor pre-configuring a switching live broadcast type not including the first live broadcast type, the first live broadcast picture is switched to a second live broadcast picture of a second anchor belonging to a second live broadcast type, and a similarity between the second live broadcast type and the first live broadcast type exceeds a similarity threshold.
10. The method of any one of claims 7 to 8, wherein, Before resuming the live broadcast of the first anchor, the method further includes: During display of the second live broadcast picture, a live broadcast resumption portal is displayed in the live broadcast interface; In response to a trigger operation for the live broadcast resumption portal, it is determined that the live broadcast resumption condition is met.
11. The method of claim 1, wherein, Before interrupting the live broadcast of the first anchor, the method further includes: During display of the first live broadcast picture, a code rate detection is performed on the live broadcast to obtain a first detection result; in response to the first detection result indicating that the uplink video code rate of the live broadcast is lower than a code rate threshold in a target time period, performing content detection on the live broadcast to obtain a second detection result; in response to the second detection result indicating that no new video is received in the target time period, determining that the live broadcast interruption condition is met.
12. The method of claim 1, wherein, Before interrupting the live broadcast of the first anchor, the method further comprises: during the display of the first live broadcast picture, detecting the network connection state of the first anchor side, and determining that the live broadcast interruption condition is met when the network connection of the first anchor side is disconnected; or, during the display of the first live broadcast picture, displaying an interruption countdown, and determining that the live broadcast interruption condition is met when the interruption countdown is zero.
13. The method of claim 1, wherein, The switching of the first live broadcast picture to the second live broadcast picture of the second anchor comprises: in response to pre-configuring the number of second anchors as multiple, determining the switching priority of each second anchor; switching the first live broadcast picture to the second live broadcast picture of the second anchor whose switching priority exceeds a target priority.
14. The method of claim 13, wherein, The determination of the switching priority of each second anchor comprises: obtaining an influence parameter for affecting the switching priority of each second anchor, the influence parameter comprising at least one of the following: a social relationship between the second anchor and the first anchor, an interaction frequency between the second anchor and the first anchor, a live broadcast popularity of the second anchor, and a virtual resource required to be paid for switching to display the live broadcast content of the second anchor; based on the influence parameter, performing switching priority prediction processing through a neural network model to obtain the switching priority of each second anchor; wherein the neural network model is trained through anchor samples, anchor sample influence parameters, and anchor sample labeled switching priorities.
15. The method of claim 1, wherein, The switching of the first live broadcast picture to the second live broadcast picture of the second anchor comprises: in response to pre-configuring the number of second anchors as multiple, displaying options for each second anchor; in response to a selection operation on a target option, switching the first live broadcast picture to the second live broadcast picture of the second anchor corresponding to the target option.
16. The method of claim 1, wherein, After switching the second live broadcast picture to the first live broadcast picture, the method further comprises: obtaining a switching live broadcast parameter for switching to display the second live broadcast picture, the switching live broadcast parameter comprising at least one of the following: switching display duration, switching live broadcast popularity; based on the switching live broadcast parameter, determining the virtual resource required to be paid for switching to display the second live broadcast picture, and paying the virtual resource to the second anchor.
17. A live processing apparatus, comprising: The device comprises: a picture display module configured to display a first live broadcast picture of a first anchor live broadcast in a live broadcast interface; an interruption processing module configured to interrupt the live broadcast of the first anchor and switch the first live broadcast picture to a second live broadcast picture of a second anchor in response to a live broadcast interruption condition being met; a recovery processing module configured to resume the live broadcast of the first anchor and switch the second live broadcast picture to the first live broadcast picture in response to a live broadcast recovery condition being met.
18. An electronic device, comprising: comprises: a memory for storing computer executable instructions or computer programs; a processor for executing the computer executable instructions or computer programs stored in the memory to implement the live processing method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, a memory for storing computer executable instructions or computer programs; 20. A computer program product comprising computer programs or computer executable instructions, characterized in that, the computer executable instructions or computer programs are executed by the processor to implement the live processing method according to any one of claims 1 to 16. the computer executable instructions or computer programs are executed by the processor to implement the live processing method according to any one of claims 1 to 16.