Live broadcast interface processing method and device, equipment, medium and program product

By delaying the loading of some components of the live streaming interface, the problem of terminal device load and energy consumption caused by frequent switching of live streaming rooms was solved, thus improving the user experience.

CN121597312APending Publication Date: 2026-03-03BEIJING ZITIAO NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411119554.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing technologies significantly increase the load and energy consumption of terminal devices when frequently switching between live streaming rooms, leading to high device performance requirements and impacting user experience.

Method used

By delaying the loading of certain components of the live streaming interface, and determining whether to delay loading a subset of the second component based on reference information from the terminal device, the live streaming interface is updated only after the predetermined duration has elapsed.

Benefits of technology

It reduced the load and energy consumption of terminal devices, improved live streaming service capabilities, and enhanced the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121597312A_ABST
    Figure CN121597312A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast interface processing method and device, equipment, a medium and a program product. The method comprises: in response to a presentation request for a first live broadcast received by a terminal device, presenting a live broadcast interface corresponding to the first live broadcast at least based on a first component subset in a plurality of components corresponding to the first live broadcast, the first component subset comprising at least one component in the plurality of components; determining whether to delay loading a second component subset of the plurality of components based on reference information associated with live browsing at the terminal device; and in response to determining that the second component subset needs to be loaded in a delayed manner, after the delayed loading duration of the second component subset reaches a preset duration, updating a live broadcast interface corresponding to the first live broadcast based on the second component subset. Therefore, the load and energy consumption of the terminal equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and particularly to methods, apparatus, devices, computer-readable storage media, and computer program products for processing live streaming interfaces. Background Technology

[0002] More and more applications are now offering live streaming functionality. The interface used by an application to present live content is usually called the "live streaming interface." The "live streaming interface" is typically composed of multiple components, using diverse components to achieve diverse functions. Optimizing the configuration of the "live streaming interface" components can improve the viewer's live streaming experience. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for processing a live streaming interface is provided. The method includes: in response to a terminal device receiving a request to present a first live stream, presenting a live streaming interface corresponding to the first live stream, at least based on a first subset of a plurality of components corresponding to the first live stream, the first subset including at least one component among the plurality of components; determining, based on reference information associated with live streaming browsing at the terminal device, whether to delay loading a second subset of the plurality of components; and in response to determining that the second subset should be delayed, updating the live streaming interface corresponding to the first live stream based on the second subset after the delay loading duration of the second subset reaches a predetermined duration.

[0004] In a second aspect of this disclosure, an apparatus for processing a live streaming interface is provided. The apparatus includes: a presentation module configured to, in response to a terminal device receiving a presentation request for a first live stream, present a live streaming interface corresponding to the first live stream, at least based on a first subset of a plurality of components corresponding to the first live stream, the first subset including at least one of the plurality of components; a determination module configured to, based on reference information associated with live streaming browsing at the terminal device, determine whether to delay loading a second subset of the plurality of components; and an update module configured to, in response to determining that the second subset should be delayed, update the live streaming interface corresponding to the first live stream based on the second subset after the delay loading duration of the second subset reaches a predetermined duration.

[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. A computer program is stored on the medium, which, when executed by a processor, implements the method of the first aspect.

[0007] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first aspect.

[0008] It should be understood that the description in this section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0010] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;

[0011] Figure 2 A flowchart of a process for processing a live streaming interface is shown according to some embodiments of the present disclosure;

[0012] Figure 3A A schematic diagram showing an example of a live streaming interface corresponding to a second live stream according to some embodiments of the present disclosure;

[0013] Figure 3B and Figure 3C Schematic diagrams of examples of live streaming interfaces corresponding to a first live stream according to some embodiments of the present disclosure are shown respectively;

[0014] Figure 3D A schematic diagram showing an example of a live streaming interface corresponding to a third live stream according to some embodiments of the present disclosure;

[0015] Figure 4 A flowchart is shown illustrating a process for determining a lazy loading subset of second components according to some embodiments of this disclosure;

[0016] Figure 5 A flowchart is shown illustrating a process for determining a lazy loading subset of second components according to some embodiments of this disclosure;

[0017] Figure 6 A schematic structural block diagram of an apparatus for live streaming interface processing according to some embodiments of the present disclosure is shown; and

[0018] Figure 7 An electronic device in which one or more embodiments of the present disclosure may be implemented is shown. Detailed Implementation

[0019] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0020] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.

[0021] In this document, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.

[0022] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0023] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure through appropriate means in accordance with relevant laws and regulations, and user authorization should be obtained.

[0024] For example, in response to receiving a user's active request, a prompt message is sent to the user to clearly inform the user that the requested operation will require the acquisition and use of the user's personal information, thereby enabling the user to choose whether to provide personal information to the software or hardware such as electronic devices, applications, servers or storage media that perform the operation of the technical solution disclosed herein, based on the prompt message.

[0025] As an optional but non-restrictive implementation, in response to a user's active request, a prompt message can be sent to the user, such as a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0026] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0027] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. In environment 100, one or more users 110-1, 110-2, 110-3, ..., 110-N can watch live streams and participate in interactive live stream sessions through their respective associated terminal devices 120-1, 120-2, ..., 120-N. User 110 may also be referred to as a participant, for example. For ease of discussion, users 110-1, 110-2, ..., 110-N may be collectively referred to as user 110 or individually, and terminal devices 120-1, 120-2, ..., 120-N may be collectively referred to as terminal device 120 or individually. Among all users 110, one or more users, such as user 110-1, can establish a live stream session and initiate a live stream through their associated terminal device 120-1.

[0028] In some scenarios, the user 110-1 who initiates the live stream can also be referred to as the host of the live stream session, a host participant, the live streamer, or the live stream administrator. One or more other users 110 may include guest participants 110-N to indicate users participating in the live stream interaction initiated by the host. In addition to guest participants in the live stream interaction, other users 110 may also include viewers, listeners, or viewers of the live stream session.

[0029] In some embodiments, the terminal device 120 may have an application installed that can provide live streaming services, or may have access to a website that can provide live streaming services. The user 110 can operate the terminal device 120 to access the corresponding application or website. Accordingly, the terminal device 120 may present a corresponding live streaming interface, which may provide live streaming content, such as audio live streaming content or video live streaming content.

[0030] In some embodiments, the terminal device 120 can also communicate with the server 130 via the network 132 to provide live streaming services. The server 130 can provide functions such as application or website management, configuration, and maintenance. In some embodiments, the server 130 can store data generated during the live streaming session, including live interaction data generated during live streaming interactions.

[0031] Terminal device 120 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 120 may also support any type of user-facing interface (such as "wearable" circuitry). Server 110 can be any type of computing system / server capable of providing computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, etc.

[0032] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0033] As mentioned earlier, an increasing number of applications now offer live streaming functionality. The interface used by an application to present live content is typically called the "live streaming interface." This interface is usually composed of multiple components, which may include, for example, components that display the streamer's video stream and the video streams of other participants; components that display information about the streamer and participants; components that display leaderboards; components for interaction with the streamer, participants, or other viewers, such as chat and sending bullet comments; and components for control functions such as volume adjustment, screen adjustment, recording, and playback. This diverse range of components enables diverse functionality within the "live streaming interface." Optimizing the configuration of these components can enhance the viewer's live streaming experience.

[0034] Traditionally, applications offering live streaming functionality typically support switching between live streams by swiping the screen, resulting in a highly fluid and instantaneous online viewing experience. While this provides a good user and viewing experience, it also increases the load on the terminal device. Especially in scenarios involving frequent and rapid swiping to switch live streams, each switch requires reloading all components of the live stream interface, significantly increasing the device's load and placing higher demands on its performance.

[0035] According to embodiments of this disclosure, an improved scheme for processing a live streaming interface is provided. According to this scheme, in response to a terminal device receiving a request to present a first live stream, a live streaming interface corresponding to the first live stream is presented, based at least on a first subset of a plurality of components corresponding to the first live stream. The first subset of components includes at least one component from the plurality of components. Based on reference information associated with live streaming browsing at the terminal device, it is determined whether to delay loading a second subset of the plurality of components. Then, in response to determining that the second subset of components should be delayed, the live streaming interface corresponding to the first live stream is updated based on the second subset of components after the delay loading time of the second subset has reached a predetermined duration. Thus, during a user's live stream viewing process, selectively delaying the loading of certain components of the live streaming interface helps reduce the load and energy consumption of the terminal device.

[0036] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0037] Figure 2 A flowchart of a process 200 for live streaming interface processing according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 These embodiments are described using environment 100. Process 200 can be implemented in... Figure 1 There are 120 terminal devices for viewers watching the live stream.

[0038] In block 210 of process 200, in response to receiving a request to present the first live stream, terminal device 120 presents the live stream interface corresponding to the first live stream, based at least on a subset of the first components among the multiple components corresponding to the first live stream.

[0039] In some embodiments, the terminal device 120 may, in response to receiving a switching request from the second live stream to the first live stream, present the live stream interface corresponding to the first live stream based on a subset of the first components. Here, the first live stream and the second live stream can be any live stream session initiated by a broadcaster (also referred to as a "live stream room").

[0040] To better understand the switching process from the second live stream to the first live stream, we will refer to... Figure 3A and Figure 3B Describe it. Figure 3A A schematic diagram of an example 300A of a live streaming interface corresponding to a second live stream according to some embodiments of the present disclosure is shown. Figure 3B A schematic diagram of an example 300B of a live streaming interface corresponding to a first live stream according to some embodiments of the present disclosure is shown. Figure 3AAs shown, terminal device 120 can display a live streaming interface 310 corresponding to the second live stream. At this time, user 110 can use finger 320 to slide the touchscreen display of terminal device 120 to the top or bottom. Terminal device 120 can respond to the sliding operation on the touchscreen display and determine that it has received a switching request to switch from the second live stream to the first live stream. Terminal device 120 can switch from displaying the live streaming interface 310 corresponding to the second live stream as shown in example 300A to displaying the live streaming interface 330 corresponding to the first live stream as shown in example 300B.

[0041] Understandably, switching live stream rooms by swiping the touchscreen is just one of several available methods. Users 110 can also input switching requests to terminal device 120 through various methods such as volume control buttons, touch panel, mouse, and joystick while watching the live stream.

[0042] It should also be noted that the terminal device 120 is not limited to presenting the live streaming interface corresponding to the first live stream based on the first component subset when switching from the second live stream to the first live stream. The terminal device 120 can also respond to receiving a launch operation for an application providing live streaming functionality and present the live streaming interface corresponding to the first live stream based on the first component subset. For example, if user 110 clicks an application icon, the terminal device 120 can respond to receiving the click operation on the application icon and present the live streaming interface corresponding to the first live stream based on the first component subset.

[0043] In some embodiments, in response to receiving a request to present the first live stream, the terminal device 120 may obtain a first subset of components from a plurality of components corresponding to the first live stream from the server 130. Then, the terminal device 120 may present the live stream interface corresponding to the first live stream based on the components in the obtained first subset of components.

[0044] Alternatively or additionally, the multiple components corresponding to the first live stream may include all components used to construct the live stream interface corresponding to the first live stream, or may include only some of the components used to construct the live stream interface corresponding to the first live stream. The first subset of components includes at least one of the multiple components. Alternatively or additionally, the first subset of components may include one component or multiple components. For example, the multiple components corresponding to the first live stream may include N components, where N is a positive integer greater than 1. The first subset of components may include K components, where 1 ≤ K < N.

[0045] Alternatively or additionally, the first subset of components may include components for constructing the basic functionality of the live streaming interface corresponding to the first live stream. For example, such as... Figure 3BAs shown, the live streaming interface 330 in Example 300B can be the live streaming interface corresponding to the first live stream presented based on the first component subset. Based on this, the first component subset may include, for example, components 331, 332, 333, 334, 335, and 336. Component 331 may be a component used to present broadcaster information (e.g., broadcaster avatar), component 335 may be a component used to implement search functionality, and component 336 may be a component used to implement, for example, control functions of the live streaming interface.

[0046] It is understood that the first component subset is not limited to the components presented in the live streaming interface 310; it may also include components not presented in the live streaming interface 310. For example, the first component subset may also include components for streaming media data processing, components for API calls, components for backend management services, components for push notifications, and so on. Of course, the components in the first component subset mentioned above are merely exemplary, and the components in the first component subset can be selected and configured according to the actual needs of the live streaming interface presentation.

[0047] Regarding the presentation of the live stream interface corresponding to the first live stream, it can be presented based on a subset of the first component among multiple components corresponding to the first live stream, or it can be presented based on the subset of the first component and at least one other component subset. For example, the live stream interface corresponding to the first live stream can be presented based on a subset of underlying functional components and a subset of the first component. The subset of underlying functional components may include components for implementing underlying functions such as streaming media data processing, interface calls, background management services, and push notifications. The subset of the first component may include, for example, components 311, 312, 313, 314, 315, and 316.

[0048] In box 220 of process 200, terminal device 120 determines, based on reference information associated with live browsing at terminal device 120, whether to delay loading a second subset of multiple components.

[0049] The reference information related to live streaming at terminal device 120 may include information from multiple dimensions related to live streaming. Alternatively or additionally, the reference information may include information indicating device characteristics of terminal device 120, information indicating component characteristics, and data analysis results related to live streaming, etc.

[0050] The second component subset here includes at least one additional component among a plurality of components; that is, the second component subset may include one or more components other than those in the first component subset. For example, the second component subset may include M components, 1 ≤ M < N, and K + M ≤ N.

[0051] Alternatively or additionally, the at least one additional component included in the second component subset may be used to implement additional functions of the live streaming interface corresponding to the first live stream. Even if the at least one additional component is not loaded, it will not affect the basic functions of the live streaming interface corresponding to the first live stream (such as the processing and presentation of streaming media data, the presentation of anchor information, and the basic control functions of the live streaming interface, etc.). However, loading the at least one additional component is beneficial to improving the live streaming service capabilities of the live streaming interface corresponding to the first live stream.

[0052] For example, the second component subset may include, but is not limited to, a liking component for implementing the liking function, a small window component for implementing the small window display function, a comment component for implementing the comment function, a bullet screen component for implementing the bullet screen function, a voting component for implementing the voting function, a sharing component for implementing the live room sharing function, and so on.

[0053] It should be noted that the components included in the second component subset mentioned above are merely illustrative and should not be construed as the second component subset being limited to the aforementioned components. In practical applications, the first and second component subsets can be flexibly selected and configured according to actual needs, and are not fixed. For the same component, in some cases, this component may belong to the first component subset. In other cases, this component may also belong to the second component subset.

[0054] Regarding the determination of whether to delay loading the second component subset based on reference information, the judgment process of the terminal device 120 may differ depending on the specific information content contained in the reference information. This judgment process will not be elaborated upon here. Further details will follow. Figure 4 and Figure 5 The process of determining whether to delay loading the second component subset is explained exemplarily; see the subsequent explanation for details. Figure 4 and Figure 5 Explanation.

[0055] In block 230 of process 200, terminal device 120 may, in response to determining that the second component subset should be delayed, update the live broadcast interface corresponding to the first live broadcast based on the second component subset after the delayed loading time of the second component subset reaches a predetermined time.

[0056] Delaying the loading of the second component subset may include delaying the acquisition of the second component subset from server 130 and delaying the loading of the second component subset onto the live streaming interface corresponding to the first live stream. Terminal device 120 may also acquire the second component subset from server 130 based on a predetermined time point (e.g., the loading start time point). However, when it is determined that the loading of the second component subset should be delayed, it is determined whether the delay loading duration has reached a predetermined duration. Only if the delay loading duration reaches the predetermined duration will the second component subset be loaded onto the live streaming interface corresponding to the first live stream.

[0057] There are various ways to determine the delayed loading duration. In some embodiments, a loading start time and a predetermined duration can be preset. The loading start time can be the time when the live streaming interface of the first live stream is presented based on the first component subset; for example, the time when the first component subset is loaded can be used as the loading start time. The loading start time can also be after the time when the live streaming interface of the first live stream is presented based on the first component subset. In response to determining that the second component subset should be delayed, the terminal device 120 can determine the delayed loading duration of the second component subset relative to the loading start time. That is, the delay time relative to the loading start time. The terminal device 120 can also compare the loading start time with the predetermined duration. After determining that the delayed loading duration has reached the predetermined duration, the terminal device can update the live streaming interface corresponding to the first live stream based on the second component subset.

[0058] In other embodiments, the terminal device 120 may also calculate the delayed loading duration from the time the request to present the first live stream is received, that is, calculate the delay time relative to the time the request to present the first live stream is received. The terminal device 120 may also calculate the delayed loading duration from the time the first component subset is loaded or from other time points. In response to the delayed loading duration reaching the predetermined duration, the terminal device 120 may update the live stream interface corresponding to the first live stream based on the second component subset.

[0059] To better understand the process of updating the live stream interface corresponding to the first live stream based on the second component subset, we will refer to... Figure 3B and Figure 3C Describe, Figure 3C A schematic diagram of example 300C of a live streaming interface corresponding to a first live stream according to some embodiments of the present disclosure is shown. The live streaming interface 330 in example 300B may be the live streaming interface corresponding to the first live stream presented by terminal device 120 based on a first component subset. After determining that the delayed loading time has reached a predetermined duration, terminal device 120 may update the live streaming interface corresponding to the first live stream based on a second component subset. The updated live streaming interface corresponding to the first live stream may be as shown in live streaming interface 340 in example 300C. Relative to live streaming interface 330, live streaming interface 340 presents components 341, 342, 343, 344, 345, and 346 from the second component subset. Component 341 may be, for example, a comment component for implementing a comment function, component 342 may be, for example, a product display component for implementing a product display function, component 345 may be, for example, a sharing component for implementing a live stream sharing function, and so on.

[0060] It should also be noted that the second component subset is not limited to the components presented in the live streaming interface 340. The second component subset may also include one or more components that are loaded but not presented in the live streaming interface 340. For example, the second component subset may also include a small window component for implementing the small window function. This small window component is typically presented after the application's main interface is exited, and the live streaming interface continues to be presented through the small window component. Of course, the second component subset may also include other components not presented in the live streaming interface, not just the small window component, which will not be listed here.

[0061] In some embodiments, if the delayed loading time of the second component subset does not reach the predetermined time and a switching request to switch from the first live stream to the third live stream is received, the terminal device 120 switches from the live stream interface of the first live stream based on the first component subset to the live stream interface corresponding to the third live stream.

[0062] For example, such as Figures 3B to 3D As shown, Figure 3D A schematic diagram of example 300D, showing a live stream interface corresponding to a third live stream according to some embodiments of the present disclosure, is provided. Terminal device 120 may, in response to a request to present a first live stream, present the live stream interface 330 in example 300B based on a first component subset. If terminal device 120 determines to delay loading a second component subset, terminal device 120 may accumulate a delay loading duration from the loading start time and continuously determine whether the delay loading duration has reached a predetermined duration. If the delay loading duration has not reached the predetermined duration, terminal device 120 receives a switching request to switch from the first live stream to the third live stream. In this case, terminal device 120 does not load the second component subset and does not update the live stream interface corresponding to the first live stream based on the second component subset; terminal device 120 does not present the live stream interface 340 in example 300C. Terminal device 120, in response to the switching request, presents the live stream interface 350 corresponding to the third live stream in example 300D.

[0063] The fact that terminal device 120 does not load the second component subset may include terminal device 120 not receiving the second component subset from server 130, or terminal device 120 receiving the second component subset from server 130 at a predetermined time, but terminal device 120 not loading the second component subset into the live broadcast interface corresponding to the first live broadcast, thus not presenting the live broadcast interface 340 in example 300C. In this way, by omitting the loading of one or more components in the second component subset, the load and energy consumption of terminal device 120 can be reduced.

[0064] In some embodiments, the terminal device 120 may update the live streaming interface corresponding to the first live stream based on the second component subset at the loading start time point in response to determining that the loading of the second component subset will not be delayed. It is understood that the visual effect of the live streaming interface corresponding to the first live stream presented by the terminal device 120 may be different when different time points are selected for the loading start time point.

[0065] For example, such as Figures 3A to 3C As shown, in one example, the time point at which the live stream interface of the first live stream is presented based on the first component subset can be selected as the loading start time point. At this time, the time difference between the terminal device 120 presenting the live stream interface corresponding to the first live stream based on the first component subset and updating the live stream interface corresponding to the first live stream based on the second component subset may be very short. In response to a switching request from the second live stream to the first live stream, the terminal device 120 switches from presenting the live stream interface 310 in example 300A to presenting the live stream interface 330 in example 300B. Afterwards, the terminal device 120 quickly switches to presenting the live stream interface 340 in example 300C. If the loading operation of the second component subset is fast enough, the visual experience for the user 110 is closer to a direct switch from the live stream interface 310 in example 300A to the live stream interface 340 in example 300C.

[0066] In another example, the loading start time can be determined by the point in time after the time when the live stream interface of the first live stream is presented based on the first component subset. If the time difference between the terminal device 120 presenting the live stream interface corresponding to the first live stream based on the first component subset and updating the live stream interface corresponding to the first live stream based on the second component subset may be relatively large, then the user 110 may visually perceive a switching process where the terminal device 120 switches from presenting the live stream interface 310 in example 300A to presenting the live stream interface 330 in example 300B, and then switches to presenting the live stream interface 340 in example 300C.

[0067] In some embodiments, the terminal device 120 may, in response to receiving a request to present the first live stream and determining that it will not delay loading the second component subset, present the live stream interface corresponding to the first live stream based on the first component subset and the second component subset. For example, as... Figure 3A and Figure 3C As shown, when the terminal device 120 presents the live broadcast interface 310 of Example 300A, the terminal device 120 may, in response to a switching request from the second live broadcast to the first live broadcast, obtain the first component subset and the second component subset from the server 130, and then present the live broadcast interface 340 of Example 300C based on the first component subset and the second component subset.

[0068] The following will combine Figure 4 and Figure 5 The process of determining whether to delay loading the second component subset based on reference information in box 220 of the aforementioned process 200 is illustrated by way of example.

[0069] Figure 4 A flowchart of a process 400 for determining a lazy loading subset of second components according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 The environment 100 is used to describe the process 400.

[0070] In box 410, terminal device 120 can determine the predicted viewing duration of the first live stream, and can use the predicted viewing duration of the first live stream by terminal device 120 as a reference message.

[0071] The predicted viewing duration indicates a predicted value for the duration of the live stream viewing. The specific method for determining this predicted viewing duration is not detailed here; those skilled in the art are free to choose various known or unknown methods to determine it. However, any improvement schemes implemented using various known or unknown methods to determine the predicted viewing duration of the first live stream on the terminal device, and to achieve improvements to the embodiments of this disclosure, should be considered within the protection scope of the improvements to the embodiments of this disclosure.

[0072] In box 420, terminal device 120 can determine whether the predicted browsing duration exceeds a duration threshold. Alternatively or additionally, the duration threshold can be predetermined based on data analysis. After determining the predicted browsing duration, terminal device 120 can compare the determined predicted browsing duration with the duration threshold.

[0073] In box 430, if terminal device 120 determines that the predicted browsing duration does not exceed the duration threshold, it can determine to delay loading the second component subset.

[0074] In box 440, if terminal device 120 determines that the predicted value exceeds the duration threshold, it determines not to delay loading the second component subset.

[0075] Thus, when the predicted viewing time of the first live stream is short, the components in the second component subset are loaded with delayed loading to reduce the load and energy consumption of the terminal device 120. When the predicted viewing time of the first live stream is long, the components in the second component subset are not loaded with delayed loading to improve the live streaming service capabilities.

[0076] Figure 5 A flowchart of a process 500 for determining a lazy loading subset of second components according to some embodiments of the present disclosure is shown. For ease of discussion, reference will be made to... Figure 1 The environment 100 is used to describe the process 500.

[0077] In box 510, terminal device 120 determines the performance value during the live streaming process, and the performance value of terminal device 120 during the live streaming process can be used as a reference message.

[0078] The performance values ​​here can be used to indicate the data processing performance, power consumption performance, or motion sensing performance of the terminal device 120 during live streaming. These performance values ​​can also be used to indicate the overall performance of the terminal device 120 during live streaming; for example, the performance value can be a comprehensive performance value determined based on multiple dimensions such as processing performance, power consumption performance, and motion sensing performance.

[0079] In some embodiments, the performance value may be determined based on multiple performance metrics of the terminal device 120 during live streaming. The terminal device 120 may determine the performance value by: determining the respective metric values ​​and weights of the multiple performance metrics during live streaming; and determining the performance value of the terminal device 120 based on the respective metric values ​​and weights of the multiple performance metrics.

[0080] The various performance metrics here can include those indicating the data processing performance, power consumption performance, and motion-sensing performance of the terminal device during live streaming. Data processing performance metrics can include, for example, those indicating processor (e.g., CPU, GPU, Tensor Processing Unit, Neural Network Processing Unit), disk read / write capabilities, and network communication capabilities. Power consumption performance metrics can include, but are not limited to, Thermal Design Power (TDP), average power consumption, peak power consumption, and dynamic power consumption. Motion-sensing performance metrics can include, but are not limited to, frame rate (FPS) and perceived temperature.

[0081] Alternatively or additionally, the terminal device can determine the corresponding index value and / or weight of each performance index among multiple performance indicators based on the degree of correlation between each performance index and the target live-stream interactive operation. The target live-stream interactive operation may include, but is not limited to, liking, adding items to cart, following the streamer, commenting, sending bullet comments, voting, sharing, etc. The degree of correlation between each performance index of the terminal device and the aforementioned target live-stream interactive operation can be pre-calculated.

[0082] For example, by statistically analyzing the correlation between performance metrics such as processor performance, power consumption, frame rate, and perceived temperature, and browsing time, a function can be constructed to calculate the value of each performance metric. The following shows an exemplary multi-segment function formula for calculating metric values.

[0083]

[0084] Among them, si (x) represents the value of the i-th performance indicator; b represents the base value of the indicator; x represents the i-th performance indicator; p m p represents the value of x corresponding to the m-th sub-function; m-1 The value of x corresponding to the sub-function of the (m-1)th segment; f m This represents the correspondence rule for the sub-functions of the m-th segment; p n-1 The value of x corresponding to the sub-function of the (n-1)th segment; f n and f n-1 These represent the correspondence rules for the sub-functions of the nth segment and the (n-1)th segment, respectively.

[0085] It is understood that the above calculation formula is only an example. In actual application, the calculation function of each performance indicator can be selected and configured according to the actual data statistics results and needs, and the calculation function of each performance indicator can be different.

[0086] Alternatively or additionally, when the individual values ​​and weights of multiple performance indicators are determined, the terminal device 120 may determine its performance value based on the individual values ​​and weights of the multiple performance indicators. An exemplary formula for calculating the performance value of the terminal device 120 is shown below.

[0087]

[0088] Among them, S T Indicates the performance value of the terminal device; ω i The weight of the i-th performance metric is represented by s; i (x) represents the value of the i-th performance metric.

[0089] It is understood that the above performance value calculation method is merely exemplary. In practical applications, the performance value calculation method can be selected based on the actual data analysis results and actual needs.

[0090] It should also be noted that terminal device 120 may determine its own performance value in response to receiving a request to present the first live stream. Terminal device 120 may also determine its own performance value periodically or in advance. For example, terminal device 120 may periodically determine its own performance value in response to the operation of the application providing the live stream. Subsequently, the terminal device may obtain the most recently calculated performance value in response to receiving a request to present the first live stream. Based on this, the performance value determined by terminal device 120 may include real-time calculated performance values ​​or may include obtaining the most recently calculated performance value.

[0091] In box 520, terminal device 120 can determine whether the performance value exceeds the performance threshold.

[0092] Alternatively or additionally, based on a predetermined method for calculating performance values, a performance threshold corresponding to that method can be preset. When a performance value is determined, the terminal device 120 can compare the performance value with the performance threshold to determine whether the performance value exceeds the performance threshold.

[0093] In box 530, if terminal device 120 determines that the performance value does not exceed the performance threshold, it can determine to delay loading the second component subset.

[0094] In box 540, if the performance value exceeds the performance threshold, it can be determined that the second component subset will not be delayed.

[0095] In this way, when the performance of terminal device 120 is relatively poor during live streaming, the second component subset can be loaded late to reduce the load on terminal device 120, thereby maintaining smooth operation of terminal device 120 and avoiding phenomena such as lag or overheating that affect the user's intuitive experience. When the performance of terminal device 120 is relatively good during live streaming, the second component subset can be loaded without delay to improve the live streaming service capabilities.

[0096] It should be understood that the above-described process for determining whether to delay loading the second component subset is merely exemplary. In specific implementations, the process for determining the delayed loading of the second component subset can be selected and configured according to actual needs.

[0097] In summary, according to the embodiments of this disclosure, during the user's live streaming, selectively delaying the loading of some components of the live streaming interface is beneficial to reducing the load and energy consumption of the terminal device.

[0098] Figure 6 A schematic structural block diagram of an apparatus for live streaming interface processing according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in a terminal device 120 of a viewer. The various modules / components in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0099] like Figure 6As shown, the apparatus 600 includes a presentation module 610, a determination module 620, and an update module 630. The presentation module 610 is configured to, in response to a terminal device receiving a presentation request for a first live stream, present a live stream interface corresponding to the first live stream, based at least on a first subset of a plurality of components corresponding to the first live stream. The first subset of components includes at least one component from the plurality of components. The determination module 620 is configured to, based on reference information associated with live stream browsing at the terminal device, determine whether to delay loading a second subset of the plurality of components. The update module 630 is configured to, in response to determining that the second subset of components should be delayed, update the live stream interface corresponding to the first live stream based on the second subset of components after the delay loading time of the second subset has reached a predetermined duration.

[0100] In some embodiments, the reference information includes the predicted viewing duration of the first live stream at the terminal device, and the determination module 620 is further configured to: determine to delay loading the second component subset if the predicted viewing duration does not exceed the duration threshold; and determine not to delay loading the second component subset if the predicted value exceeds the duration threshold.

[0101] In some embodiments, the reference information includes the performance value of the terminal device during live streaming. The determination module 620 is further configured to: determine to delay loading the second component subset if the performance value does not exceed the performance threshold; and determine not to delay loading the second component subset if the performance value exceeds the performance threshold.

[0102] In some embodiments, the performance value is determined based on multiple performance indicators of the terminal device during live streaming. The apparatus 600 may further include a performance value determination module configured to determine the performance value by: determining the respective index values ​​and weights of multiple performance indicators during live streaming; and determining the performance value of the terminal device based on the respective index values ​​and weights of the multiple performance indicators.

[0103] In some embodiments, the performance value determination module is further configured to: determine the index value and / or weight of each performance index among the multiple performance indicators based on the degree of correlation between each performance index among the multiple performance indicators and the target live interactive operation.

[0104] In some embodiments, the presentation module 610 is further configured to: in response to the terminal device receiving a switching request from the second live stream to the first live stream, present the live stream interface corresponding to the first live stream based on the first component subset.

[0105] In some embodiments, the update module 630 is further configured to: in response to determining that the second component subset should be loaded late, determine the late loading duration of the second component subset relative to the loading start time; and after the late loading duration reaches a predetermined duration, update the live broadcast interface corresponding to the first live broadcast based on the second component subset, wherein the loading start time is the time when the live broadcast interface of the first live broadcast is presented based on the first component subset, or the loading start time is after the time when the live broadcast interface of the first live broadcast is presented based on the first component subset.

[0106] In some embodiments, the update module 630 is further configured to: in response to determining that the second component subset is not delayed in loading, update the live streaming interface corresponding to the first live stream based on the second component subset at the loading start time.

[0107] In some embodiments, the presentation module 610 is further configured to: in response to the terminal device receiving a presentation request for the first live stream and determining that the second component subset is not delayed in loading, present the live stream interface corresponding to the first live stream based on the first component subset and the second component subset.

[0108] In some embodiments, the presentation module 610 is further configured to: if the delayed loading time of the second component subset does not reach the predetermined time and a switching request to switch from the first live stream to the third live stream is received, switch from the live stream interface of the first live stream based on the first component subset to the live stream interface corresponding to the third live stream.

[0109] The units and / or modules included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units and / or modules in device 600 can be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0110] Figure 7 A block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 1 Terminal equipment 120 or Figure 6 The device 600 can be implemented as or included in one or more electronic devices 700.

[0111] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose computing device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.

[0112] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 700.

[0113] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0114] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0115] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0116] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0117] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0118] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0119] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0120] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0121] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for processing a live streaming interface, comprising: In response to the terminal device receiving a request to present the first live stream, the live stream interface corresponding to the first live stream is presented based on at least a subset of the first components among the plurality of components corresponding to the first live stream, wherein the first subset of components includes at least one of the plurality of components. Based on reference information associated with live streaming at the terminal device, determine whether to delay loading of the second subset of the plurality of components; as well as In response to determining that the second component subset should be delayed, after the delay loading time of the second component subset reaches a predetermined time, the live broadcast interface corresponding to the first live broadcast is updated based on the second component subset.

2. The method of claim 1, wherein the reference information includes a predicted viewing duration of the first live stream at the terminal device, and wherein determining whether to delay loading the second component subset includes: If the predicted browsing time does not exceed the time threshold, it is determined that the loading of the second component subset should be delayed; as well as If the predicted value exceeds the duration threshold, it is determined that the second component subset will not be delayed in loading.

3. The method according to claim 1, wherein the reference information includes the performance value of the terminal device during live streaming, and determining whether to delay loading the second component subset includes: If the performance value does not exceed the performance threshold, it is determined that the loading of the second component subset should be delayed; as well as If the performance value exceeds the performance threshold, it is determined that the second component subset will not be delayed in loading.

4. The method of claim 3, wherein the performance value is determined based on multiple performance indicators of the terminal device during the live streaming process, and the method further comprises: The performance value is determined by the following methods: Determine the respective index values ​​and weights of the multiple performance indicators during the live streaming process; and The performance value of the terminal device is determined based on the respective index values ​​and weights of the plurality of performance indicators.

5. The method according to claim 4, wherein determining the index values ​​and weights of the plurality of performance indices comprises: Based on the degree of correlation between each of the multiple performance indicators and the target live interactive operation, the indicator value and / or the weight corresponding to each of the multiple performance indicators are determined.

6. The method according to claim 1, wherein presenting the live streaming interface corresponding to the first live stream includes: In response to the terminal device receiving a switching request from the second live stream to the first live stream, the live stream interface corresponding to the first live stream is presented based on the first component subset.

7. The method according to claim 1, wherein updating the live stream interface corresponding to the first live stream based on the second component subset comprises: In response to determining that the second component subset should be loaded late, the loading late loading duration of the second component subset relative to the loading start time is determined; as well as After the delayed loading time reaches the predetermined time, the live streaming interface corresponding to the first live stream is updated based on the second component subset. The loading start time point is either the time point at which the live streaming interface of the first live stream is presented based on the first component subset, or the loading start time point is after the time point at which the live streaming interface of the first live stream is presented based on the first component subset.

8. The method according to claim 7, further comprising: In response to determining that the second component subset will not be delayed in loading, the live streaming interface corresponding to the first live stream is updated based on the second component subset at the loading start time.

9. The method according to claim 1, further comprising: In response to the terminal device receiving the presentation request for the first live stream and determining that the second component subset will not be delayed in loading, the live stream interface corresponding to the first live stream is presented based on the first component subset and the second component subset.

10. The method according to claim 1, further comprising: If the delayed loading time of the second component subset does not reach the predetermined time, and a switching request to switch from the first live stream to the third live stream is received, the live stream interface presented by the first live stream based on the first component subset is switched to the live stream interface corresponding to the third live stream.

11. An apparatus for processing a live streaming interface, comprising: The presentation module is configured to, in response to a terminal device receiving a presentation request for a first live stream, present a live stream interface corresponding to the first live stream based at least on a first subset of a plurality of components corresponding to the first live stream, wherein the first subset of components includes at least one of the plurality of components. The determining module is configured to determine, based on reference information associated with live streaming at the terminal device, whether to delay loading a second subset of the plurality of components; as well as The update module is configured to update the live streaming interface corresponding to the first live stream based on the second component subset after the delay loading time of the second component subset reaches a predetermined time, in response to determining that the second component subset should be delayed.

12. An electronic device, comprising: At least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 10 when executed by the at least one processing unit.

13. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method according to any one of claims 1 to 10.

14. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 10.