Live streaming room display method, server and live streaming client
Patent Information
- Application Number
- CN202311332005.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-02-15
AI Technical Summary
本申请同时涉及一种服务端、一种直播客户端,一种计算设备,以及一种计算机可读存储介质,以解决现有技术中存在的需要保存大量直播视频以使用户观看错过的视频,占用内存大且效率低,导致用户体验感极差的问题
[0024]本申请提供的直播间显示方法,应用于服务端,接收配置端发送的配置信息,其中,所述配置信息包括直播间的房间信息;根据所述房间信息确定开启时移功能的目标直播间,获取针对所述目标直播间中指定内容对应的目标时刻的展示信息;向访问所述目标直播间的直播客户端发送所述展示信息,以使所述直播客户端根据所述展示信息对所述目标直播间进行渲染。
Smart Images

Figure CN117255211B_ABST
Abstract
Description
[0001] This application is a divisional application of application number 202210138838.1, filed on February 15, 2022, entitled "Live Streaming Room Display Method, Server and Live Streaming Client". Technical Field
[0002] This application relates to the field of computer technology, and in particular to a method for displaying live streaming content. This application also relates to a server, a live streaming client, a computing device, and a computer-readable storage medium. Background Technology
[0003] In recent years, with the rapid development and iteration of the internet industry, network infrastructure, and terminal devices, users' demands for watching live streams have also been constantly upgrading. Due to the real-time nature of live streams, users cannot rewatch videos they have missed.
[0004] Currently, the common approach to address this issue is live stream replay: the live stream is recorded during its execution, and then provided to users after the stream ends so they can watch the parts they missed. However, this method requires storing a large amount of live stream footage, consuming significant memory and resulting in low efficiency and a poor user experience. Summary of the Invention
[0005] In view of this, embodiments of this application provide a method for displaying live streaming content. This application also relates to a server, a live streaming client, a computing device, and a computer-readable storage medium, to solve the problems in the prior art where a large amount of live streaming video needs to be stored so that users can watch missed videos, resulting in high memory consumption, low efficiency, and a poor user experience.
[0006] According to a first aspect of the embodiments of this application, a live streaming room display method is provided, applied to a server, including:
[0007] Receive configuration information sent by the configuration terminal, wherein the configuration information includes room information of the live broadcast room;
[0008] Based on the room information, determine the target live room where the time-shift function is enabled, and obtain the display information for the target time corresponding to the specified content in the target live room;
[0009] The display information is sent to the live streaming client accessing the target live streaming room, so that the live streaming client renders the target live streaming room according to the display information.
[0010] According to a second aspect of the embodiments of this application, a live streaming room display method is provided, applied to a live streaming client, including:
[0011] Upon first entering the target live stream room, an access request for the target live stream room is sent to the server to obtain the room information of the target live stream room;
[0012] If it is determined from the room information that the target live room has the time-shift function enabled, historical display information of the target time corresponding to the specified content in the target live room is obtained from the server.
[0013] Receive the historical display information sent by the server, and render the target live room according to the historical display information.
[0014] According to a third aspect of the embodiments of this application, a server is provided, comprising:
[0015] The receiving module is configured to receive configuration information sent by the configuration terminal, wherein the configuration information includes room information of the live broadcast room;
[0016] The first acquisition module is configured to determine the target live room with the time-shift function enabled based on the room information, and acquire the display information of the target time corresponding to the specified content in the target live room.
[0017] The sending module is configured to send the display information to the live streaming client accessing the target live streaming room, so that the live streaming client renders the target live streaming room according to the display information.
[0018] According to a fourth aspect of the embodiments of this application, a live streaming client is provided, including:
[0019] The second acquisition module is configured to send an access request to the target live room to the server when entering the target live room for the first time, and obtain the room information of the target live room.
[0020] The third acquisition module is configured to, when it is determined from the room information that the target live room has enabled the time-shift function, acquire historical display information of the target time corresponding to the specified content in the target live room from the server.
[0021] The first rendering module is configured to receive the historical display information sent by the server and render the target live room according to the historical display information.
[0022] According to a fifth aspect of the present application, a computing device is provided, including a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor executes the computer instructions to implement the steps of the method provided in the first or second aspect of the present application.
[0023] According to a sixth aspect of the embodiments of this application, a computer-readable storage medium is provided that stores computer instructions, which, when executed by a processor, implement the steps of the method provided in the first or second aspect of the embodiments of this application.
[0024] The live streaming room display method provided in this application is applied to a server, which receives configuration information sent by a configuration terminal, wherein the configuration information includes room information of the live streaming room; determines the target live streaming room with time-shift function enabled based on the room information, obtains display information for a target time corresponding to specified content in the target live streaming room; and sends the display information to the live streaming client accessing the target live streaming room, so that the live streaming client renders the target live streaming room based on the display information.
[0025] One embodiment of this application obtains the display information of the target time corresponding to the specified content in the target live room through configuration information, realizing flexible management of the live room, and sending display information to the live client accessing the target live room so that the live client can render the target live room according to the display information, thereby improving the content richness of the target live room display interface. Users can make selections based on the content of the live room display interface, further improving the user experience. Attached Figure Description
[0026] Figure 1 This is a flowchart of a live streaming room display method applied to a server, provided in one embodiment of this application.
[0027] Figure 2 This is a flowchart illustrating a live room display method applied to a live streaming client, provided by an embodiment of this application.
[0028] Figure 3 This is a diagram of a live streaming room display interface provided in one embodiment of this application.
[0029] Figure 4 This is a flowchart illustrating another live streaming room display method provided in an embodiment of this application.
[0030] Figure 5 This paper illustrates a schematic diagram of the server structure corresponding to a live streaming room display method provided in an embodiment of this application.
[0031] Figure 6 The diagram shows a structural schematic of a live streaming client corresponding to a live streaming room display method provided in an embodiment of this application.
[0032] Figure 7 A structural block diagram of a computing device according to an embodiment of this application is shown. Detailed Implementation
[0033] Many specific details are set forth in the following description to provide a full understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this application; therefore, this application is not limited to the specific embodiments disclosed below.
[0034] The terminology used in one or more embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this application. The singular forms “a,” “the,” and “the” used in one or more embodiments of this application and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” used in one or more embodiments of this application refers to and includes any or all possible combinations of one or more associated listed items.
[0035] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this application, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this application, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0036] First, the terms and concepts involved in one or more embodiments of this application will be explained.
[0037] Time-shift: This refers to the ability for viewers to rewind live stream content from past times. Time-shift is a new service that combines live streaming and on-demand viewing, serving as a supplement to live streaming services.
[0038] ID: ID (Identity Document) is an abbreviation for various proprietary terms such as identity card number, account number, unique code, exclusive number, industrial design, country abbreviation, legal term, general account, decoder, software company, etc.
[0039] This application provides a method for displaying a live streaming room. This application also relates to a server, a live streaming client, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.
[0040] Figure 1 This application provides a flowchart of a live streaming room display method applied to a server, according to an embodiment of the present application. The method, applied to a server, specifically includes the following steps:
[0041] Step 102: Receive configuration information sent by the configuration terminal, wherein the configuration information includes the room information of the live broadcast room.
[0042] Among them, the configuration information is used by the configuration terminal to configure the live room so that the live room has the time-shift function, and the room information is the information that uniquely identifies the live room function.
[0043] In this embodiment, the configuration terminal can find the live room that needs to be configured based on the live room attribute information, perform relevant configurations on the live room that needs to be configured, generate configuration information and send it to the server. The attribute information includes the live room ID, the ID of the live room host, the level, etc., and the specific selection is made according to the actual situation. This embodiment does not impose any restrictions on this.
[0044] In one possible implementation, operators can input configuration information for the live stream room in a pop-up window to configure it. In another possible implementation, the configuration client can also configure the live stream room via a scheduled task, such as periodically setting the live stream room to a time-shifted live stream room. After successful configuration, the configuration client can send the configuration information, including the live stream room information, to the server. The server receives the configuration information from the configuration client and performs subsequent processing.
[0045] Step 104: Determine the target live room with the time-shift function enabled based on the room information, and obtain the display information for the target time corresponding to the specified content in the target live room.
[0046] In this embodiment, the types of live streaming rooms include time-shifted live streaming rooms that support time-shift functionality and non-time-shifted live streaming rooms that do not support time-shift functionality. Furthermore, the configuration terminal can control the time-shift functionality of time-shifted live streaming rooms, choosing to enable or disable it. To obtain the display information of the target content at the target time in the target live streaming room, it is necessary to determine the type of the live streaming room. That is, after receiving the configuration information sent by the configuration terminal, the server determines the live streaming room based on the room information included in the configuration information and selects the live streaming room with the time-shift functionality enabled as the target live streaming room.
[0047] In an optional implementation of this embodiment, the room information includes a room identifier indicating whether the live stream is a time-shifted live stream and a time-shift identifier indicating whether the time-shift function of the time-shifted live stream is enabled. The step of determining the target live stream with the time-shift function enabled based on the room information includes:
[0048] Identify the room identifier and time-shift identifier carried in the room information;
[0049] The live stream room whose time-shift identifier corresponds to the room identifier with the time-shift function enabled is selected as the target live stream room.
[0050] In this embodiment, the server can identify the room identifier and time-shift identifier carried in the room information to determine the live broadcast room.
[0051] In one possible implementation, the server can first identify the room identifier of the live broadcast room to determine whether the live broadcast room is a time-shifted live broadcast room. If the live broadcast room is a time-shifted live broadcast room, the server can identify the time-shift identifier. If the time-shift identifier indicates that the time-shift function is enabled, the server can use the live broadcast room as the target live broadcast room.
[0052] For example, a room identifier of "0" indicates that the live stream is a non-time-shifted live stream, and a room identifier of "1" indicates that the live stream is a time-shifted live stream. A time-shift identifier of "on" indicates that the time-shift function of the live stream is enabled, and a time-shift identifier of "off" indicates that the time-shift function of the live stream is disabled. The relationship table of live stream identifiers is shown in Table 1 below:
[0053] Table 1. Live Stream Room Identification Relationship Table
[0054] 01 S001 0 02 S002 1 on 03 S003 1 off
[0055] The server identifies room 01 as a non-time-shifted live stream room, as it does not carry a time-shift identifier; room 02 is a time-shifted live stream room, and the time-shift function is enabled in this room; room 03 is a time-shifted live stream room, and the time-shift function is disabled in this room. Therefore, the server can determine room 02 as the target live stream room based on the time-shift identifier and the room identifier.
[0056] In another possible implementation, the server can identify the time-shift identifier of the live stream. When the time-shift identifier is identified, it means that the corresponding live stream has the time-shift function enabled. If the time-shift identifier indicates that the time-shift function is enabled, the live stream can be directly used as the target live stream.
[0057] By applying the embodiments of this application, the server identifies the room identifier and time-shift identifier carried in the room information, and determines the live room with the time-shift identifier corresponding to the room identifier that has enabled the time-shift function as the target live room. This improves the accuracy of judging the live room type, increases the efficiency of live room display, and further enhances the user experience.
[0058] In practical applications, after the server determines the target live stream room, it analyzes the live video data in the target live stream room to generate display information corresponding to the target time for each specified content. This step of obtaining the display information corresponding to the target time for the specified content in the target live stream room includes:
[0059] Acquire the live video data of the target live room, analyze the live video data, and determine the target time corresponding to multiple specified contents in the live video data;
[0060] Generate the display information corresponding to the target time for each specified content.
[0061] In this embodiment of the application, after the server determines the target live room, it analyzes the live video data of the target live room, determines the target time corresponding to multiple specified contents in the live video data, and generates display information corresponding to the target time of each specified content. By generating the corresponding display information according to the target time of each specified content, the user's experience of watching the live broadcast is improved.
[0062] It should be noted that the target time corresponding to the specified content refers to the time when the user specifies the time when they want to watch the content, such as when a streamer appears, when a streamer starts singing a certain song, or when there is an exciting operation in a certain game. The display information corresponding to the target time of the specified content includes, but is not limited to, the icon and name of the target time of the specified content. This application embodiment does not impose any restrictions on this, and the specific selection should be based on the actual situation.
[0063] In the first possible implementation, the live video data is analyzed manually. That is, during the live broadcast in the target live room, the operators watch the live broadcast and generate the display information corresponding to the target time of the specified content when the specified content appears.
[0064] In the second possible implementation, the server obtains the live video data of the target live room, analyzes the live video data, and determines the target time corresponding to multiple specified contents through calculation. That is, the step of analyzing the live video data and determining the target time corresponding to multiple specified contents in the live video data includes:
[0065] The live video data is analyzed to obtain the interaction parameters at each moment in the live video data;
[0066] Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively;
[0067] The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content.
[0068] In this application, after the server obtains the live video data of the target live room, it can analyze the live video data to obtain the interaction parameters at each moment in the live video data, weight the interaction parameters to obtain the attention at each moment, and determine the moment with the attention greater than the preset threshold as the target moment corresponding to the specified content.
[0069] It should be noted that the larger the value of the interaction parameters at each moment in the live video data, the more users are interested in the content at that moment. Therefore, the target moment corresponding to the specified content can be determined based on the interaction parameters at each moment. This takes into account the preferences of a large number of users and achieves an objective selection of the target moment corresponding to the specified content.
[0070] It should be noted that the interaction parameters obtained from analyzing the live video data at each moment can be the number of bullet comments in the live room at that moment, the number of gifts at that moment, or the number of likes, favorites, and reposts. This application embodiment does not impose any restrictions on this, and the specific selection can be made according to the actual situation.
[0071] For example, the weight of the number of gifts is pre-set to 0.7, the weight of the number of bullet comments is 0.3, and the preset threshold is 50. If the server analyzes the live video data of the target live room and finds that the number of bullet comments is 70 and the number of gifts is 22 at the first moment, the number of bullet comments is 100 and the number of gifts is 17 at the second moment, and the number of bullet comments is 144 and the number of gifts is 33 at the third moment, the server calculates that the first attention score for the first moment is 36.4, the second attention score for the second moment is 41.9, and the third attention score for the third moment is 66.3. Comparing the first, second, and third attention scores, only the third attention score for the third moment is greater than the preset threshold. Therefore, the third moment is determined as the target moment corresponding to the specified content.
[0072] By applying the embodiments of this application, the attention level at each moment is calculated based on the interaction parameters at each moment in the live video data, and the target moment corresponding to the specified content is further determined. The preferences of multiple users are taken into account, and the objective selection of the target moment corresponding to the specified content is realized. This avoids the personal preference of the target moment corresponding to the specified content caused by manual selection, saves a lot of manpower, and further improves the accuracy of the live broadcast room display.
[0073] In the third possible implementation, after the server obtains the live video data of the target live room, it can perform image recognition on each video frame in the live video. When a preset image is recognized, the time corresponding to the preset image is directly used as the target time corresponding to the specified content.
[0074] It should be noted that the preset image refers to a pre-set image that is of interest to most users. For example, the preset image may be the appearance of a certain streamer, or it may be an image of a team battle. This application embodiment does not impose any restrictions on this, and the specific selection is based on the actual situation.
[0075] For example, in a game competition, the moment when all characters appear in a team battle can be considered a highlight moment, or the moment when a character defeats other characters can also be considered a highlight moment. This application does not impose any restrictions on this; the specific choice can be made based on the actual situation.
[0076] By applying the embodiments of this application, image recognition is performed on video frames in live video data to directly determine the target time corresponding to specified content, thereby improving the efficiency of determining the target time corresponding to specified content.
[0077] In practical applications, after the server determines the target time corresponding to the specified content, it can generate the display information corresponding to the target time of the specified content based on the video frame data of the target time. That is, the step of generating the display information corresponding to the target time for each specified content includes:
[0078] Obtain video frame data at the target time corresponding to each specified content;
[0079] For any given content at a target time, generate display information corresponding to that target time based on the video frame data of that content at the target time.
[0080] In this embodiment, the server can obtain video frame data corresponding to the target time for each specified content, and generate display information corresponding to the target time for the specified content based on the video frame data. The display information may include the name, time, icon, etc., of the target time corresponding to the specified content; this embodiment does not impose any restrictions on this, and the specific selection can be made according to the actual situation.
[0081] For example, the displayed information could be the name of the target time corresponding to the specified content. For instance, if character XX defeated character YY at the target time corresponding to the specified content, the displayed information could be "Character YY was defeated." The displayed information could also be an icon representing the target time corresponding to the specified content. For example, if character XX defeated character YY at the target time corresponding to the specified content, the displayed information could be a "weapon icon."
[0082] By applying the embodiments of this application, for any target time corresponding to a specified content, display information corresponding to the target time corresponding to the specified content is generated based on the video frame data corresponding to the target time corresponding to the specified content. This improves the matching degree between the display information and the target time corresponding to the specified content, enabling users watching the live broadcast to clearly and easily select the target time corresponding to the specified content, and further improving the user experience.
[0083] Step 106: Send the display information to the live streaming client accessing the target live streaming room, so that the live streaming client renders the target live streaming room according to the display information.
[0084] In this embodiment of the application, the types of live streaming clients include live streaming clients that are entering the target live streaming room for the first time and live streaming clients that have already entered the target live streaming room. The server sends display information to the live streaming clients that access the target live streaming room according to the type of live streaming client, so that the live streaming clients can render the target live streaming room according to the display information.
[0085] In one possible implementation, the live streaming client is the first time entering the target live streaming room. When the server receives an access request from the first live streaming client entering the target live streaming room, it sends display information to the client. Since this is the first time the live streaming client has entered the target live streaming room, the server can send the client historical display information that the client missed. That is, the step of obtaining display information for the target time corresponding to specified content in the target live streaming room includes:
[0086] Obtain historical display information for a specific time period corresponding to a specified content in the target live stream;
[0087] The step of sending the display information to the live streaming client accessing the target live streaming room includes:
[0088] Send the historical display information to the live streaming client.
[0089] In this embodiment of the application, when the server receives an access request sent by a live streaming client that enters the target live streaming room for the first time, it can send the historical display information of the target time corresponding to the specified content in the target live streaming room to the live streaming client that enters the target live streaming room for the first time, so that the live streaming client can render according to the historical display information and improve the user experience.
[0090] In practical applications, when the server receives an access request from the live streaming client for the first time during the live streaming process, it can take the moment when the access request is received as the current moment, obtain all historical display information before the current moment, and send the obtained historical display information to the live streaming client.
[0091] For example, when the server receives an access request from a live streaming client that is entering the target live streaming room for the first time, the server takes the time when it receives the access request as the current time, and obtains three display information generated before the current time: the first display information, the second display information, and the third display information. Then, the server can send the first display information, the second display information, and the third display information together to the live streaming client.
[0092] In another possible implementation, the live streaming client is a live streaming client that has already entered the target live streaming room. Since the live streaming client has already entered the target live streaming room, the server only needs to obtain the real-time display information corresponding to the target time for the specified content in the target live streaming room. That is, the step of obtaining the display information corresponding to the target time for the specified content in the target live streaming room includes:
[0093] Obtain real-time display information for the target moment corresponding to the specified content in the target live stream room;
[0094] The step of sending the display information to the live streaming client accessing the target live streaming room includes:
[0095] The real-time display information is broadcast to each live streaming client that has entered the target live streaming room.
[0096] It should be noted that real-time display information refers to the display information obtained by the server for a specific content within the target live stream at a specific time after the live stream client enters the target live stream room. The server can broadcast the real-time display information to all live stream clients that have entered the live stream room, allowing each live stream client to render the received real-time display information on a progress bar and display it to the user for interaction.
[0097] Continuing with the previous example, live streaming client 1 and live streaming client 2 are live streaming clients that have already entered the target live streaming room, while live streaming client 3 is the live streaming client that enters the target live streaming room for the first time after the server obtains the third display information. After the server sends the first display information, the second display information, and the third display information to live streaming client 3, while each live streaming client continues to watch the live stream, the server obtains the target time corresponding to the fourth specified content, and then generates the fourth display information. After generating the fourth display information, the server sends the fourth display information as real-time display information to live streaming client 1, live streaming client 2, and live streaming client 3.
[0098] By applying the embodiments of this application, the server will broadcast the information in real time to all live streaming clients that have entered the live streaming room, thereby improving the processing efficiency of the server and further improving the efficiency of the live streaming room display.
[0099] Furthermore, the server can pre-configure a public screen notification function for the target live stream room. This public screen notification function refers to rendering real-time modified messages on the screen of the target live stream room.
[0100] In one possible implementation, the server can enable public screen notifications to send real-time modification messages of the displayed information in the target live stream to the live streaming client. These real-time modification messages include, but are not limited to, adding, deleting, or modifying specified displayed information. The live streaming client receives these real-time modification messages and renders them on the screen of the target live stream to notify the user of the changes to the displayed information.
[0101] In another possible implementation, the server can also disable the public screen notification function. In this case, the server sends a real-time modification message to the live streaming client to modify the information displayed in the target live streaming room. After receiving the real-time modification message, the live streaming client directly modifies the information displayed on the progress bar of the target live streaming room without having to render the real-time modification message separately in the target live streaming room.
[0102] By applying the embodiments of this application, display information corresponding to the target time of specified content in the target live room is obtained through configuration information, which realizes flexible management of the live room. Display information is sent to the live client accessing the target live room so that the live client renders the target live room according to the display information, thereby improving the content richness of the target live room display interface. Users can make selections based on the content of the live room display interface, further improving the user experience.
[0103] The following is in conjunction with the appendix Figure 2 Taking the application of the live streaming room display method provided in this application in a live streaming client as an example, the live streaming room display method will be further explained. Among them, Figure 2 The present application provides a flowchart of a live streaming room display method for a live streaming client, which includes the following steps:
[0104] Step 202: Upon first entering the target live stream room, send an access request to the server for the target live stream room to obtain the room information of the target live stream room.
[0105] In this embodiment, when a live streaming client enters a target live streaming room for the first time, it sends an access request for the target live streaming room to the server. This access request includes attribute information of the target live streaming room. When the server receives the access request, it can obtain the room information of the target live streaming room based on the attribute information carried in the access request, and send the room information of the target live streaming room to the live streaming client, so that the live streaming client can obtain the room information of the target live streaming room.
[0106] Among them, attribute information refers to the information carried by the live streaming room itself, which can distinguish each live streaming room. This includes the live streaming room ID, the ID of the streamer in the live streaming room, the level, etc. The specific selection is based on the actual situation, and this application embodiment does not impose any restrictions on this. Room information is information that uniquely identifies the live streaming room function. This includes a room identifier indicating whether the live streaming room is a time-shifted live streaming room and a time-shift identifier indicating whether the time-shift function of the time-shifted live streaming room is enabled.
[0107] In practical applications, after obtaining the room information of the target live streaming room, the live streaming client can also display the room information of the target live streaming room so that users can understand the changes in the room information of the target live streaming room in real time, further improving the user experience.
[0108] Step 204: If it is determined from the room information that the target live room has the time-shift function enabled, obtain the historical display information of the target time corresponding to the specified content in the target live room from the server.
[0109] In this embodiment, the live streaming client can determine whether the target live streaming room is a time-shifted live streaming room with time-shifting enabled based on the room information of the target live streaming room. If the target live streaming room has time-shifting enabled, the live streaming client sends a request to the server to obtain historical display information. When the server receives the request, it sends the historical display information to the live streaming client.
[0110] In one possible implementation, the step of determining whether the target live stream room has the time-shift function enabled based on the room information includes:
[0111] Based on the time-shift identifier carried in the room information, determine whether the target live streaming room has the time-shift function enabled.
[0112] In this embodiment of the application, after the live streaming client obtains the room information of the target live streaming room, since the room live streaming information includes a room identifier indicating whether the live streaming room is a time-shifted live streaming room and a time-shift identifier indicating whether the time-shift function of the time-shifted live streaming room is enabled, the live streaming client can determine whether the target live streaming room has enabled the time-shift function based on the time-shift identifier carried by the room information.
[0113] By applying the embodiments of this application, the live streaming client can determine whether the target live streaming room has enabled time-shift function by using the identifier carried in the room information, which improves the efficiency of live streaming room display and further enhances the user experience.
[0114] Step 206: Receive the historical display information sent by the server, and render the target live room according to the historical display information.
[0115] In this embodiment, the live streaming client receives historical display information sent by the server and renders the target live streaming room based on the historical display information.
[0116] In an embodiment of this application, when a live streaming client enters a target live streaming room for the first time, it sends an access request for the target live streaming room to the server to obtain the room information of the target live streaming room. If it is determined that the target live streaming room has the time-shift function enabled based on the room information, the client obtains historical display information of the target time corresponding to the specified content in the target live streaming room from the server, receives the historical display information sent by the server, and renders the target live streaming room according to the historical display information, so that the live streaming room display is more in line with user needs and further improves the user experience.
[0117] In one possible implementation, the step of rendering the target live stream room based on the historical display information includes:
[0118] Based on the live video data of the target live room, the target live room is rendered, and a time-shift progress bar is rendered in the target live room;
[0119] Based on the historical display information, the display and rendering are performed on the time-shifting progress bar.
[0120] In this embodiment, the live streaming client generates a time-shift progress bar corresponding to the live streaming video data of the target live streaming room, finds the time corresponding to each piece of display information on the generated time-shift progress bar based on historical display information, and displays and renders the time corresponding to each piece of display information on the time-shift progress bar based on historical display information.
[0121] It should be noted that display rendering refers to the live streaming client adding display information to the time-shift progress bar at the target time corresponding to the specified content. The display information includes, but is not limited to, the name, time, and icon of the target time corresponding to the specified content. This application embodiment does not impose any restrictions on this, and the specific selection is made according to the actual situation.
[0122] For example, such as Figure 3 As shown, Figure 3This diagram illustrates a live stream display interface according to an embodiment of this application. The live stream display interface shows a live video, which includes comments such as "So cute," "XXX program," "Flying," "Great," "XXXX," "Funny," and "Gift +1." The live stream client obtains historical display information as follows: a "weapon" icon indicates that character XX was defeated at the 20-minute mark of the live stream; a "character" icon indicates that character YY appeared at the 40-minute mark of the live stream. The live stream client renders a time-shift progress bar in the target live stream room, finds the position corresponding to the 20-minute mark on the time-shift progress bar, adds the "weapon" icon to the time-shift progress bar, and finds the position corresponding to the 40-minute mark, adds the "character" icon to the time-shift progress bar.
[0123] According to the embodiments of this application, the live streaming client displays and renders information on the time-shifting progress bar based on historical display information, making the live streaming room display more in line with user needs and further improving the user experience.
[0124] Furthermore, the live streaming client can add an information list to the target live streaming room display interface. This information list includes the target time display information corresponding to multiple specified contents, so that users can have a complete and intuitive understanding of all the displayed information.
[0125] In another possible implementation, the live streaming client can also receive real-time display information broadcast by the server during the live streaming process of the target live streaming room;
[0126] The target live stream room is rendered based on the real-time display information.
[0127] In this embodiment, during the live broadcast of the target live room, the live streaming client can also receive real-time display information broadcast by the server and render the target live room according to the real-time display information. For example, the real-time display information can be displayed in a scrolling manner at the top of the target live room display interface. This embodiment does not impose any restrictions on this, and the specific choice can be made according to the actual situation.
[0128] In practical applications, the live streaming client can receive real-time modification messages of the information displayed in the target live streaming room, render the time-shift progress bar of the target live streaming room based on the real-time modification messages, and also render the real-time modification messages in the screen of the target live streaming room to notify the user of the changes in the displayed information.
[0129] By applying the embodiments of this application, the live streaming client can dynamically manage the information displayed on the time-shift progress bar based on the modification message, thereby realizing flexible adjustment of the live streaming room display and further improving the user experience.
[0130] Figure 4This application illustrates a flowchart of another live streaming room display method according to an embodiment, which specifically includes the following steps:
[0131] Time-shift configuration: The configuration client adds configuration information to the live stream room via a pop-up input method, configuring the live stream room as a time-shift live stream room. Upon successful time-shift configuration, the server is notified, and the server sends the notification to the live stream client, allowing users in the live stream room to be aware of the changes in the live stream room's status in real time.
[0132] One possible implementation is to set the live stream as a time-shifted live stream via a scheduled task. For example, if there is an important live match in 4 hours, the configuration can be set to enable the time-shift function in the specified live stream after 4 hours.
[0133] Display Configuration: The server receives configuration information, including room information for the live stream, from the configuration client. It identifies the room identifier and time-shift identifier carried in the room information and determines the live stream room whose time-shift identifier corresponds to the room with the time-shift function enabled as the target live stream room. It acquires the live video data of the target live stream room, analyzes the data to obtain interaction parameters at each moment, calculates the attention level for each moment based on these parameters, and identifies moments with attention levels exceeding a preset threshold as the target moments for the specified content. It acquires the video frame data for each target moment corresponding to the specified content, and for any given target moment, generates the display information corresponding to that target moment based on the video frame data.
[0134] In one possible implementation, the server receives an access request from a newly entered live streaming client, obtains historical display information for a specific time corresponding to a specified content in the target live streaming room, and sends the historical display information to the live streaming client.
[0135] In another possible implementation, the server obtains the real-time display information corresponding to the target content at the target time in the target live room and broadcasts the real-time display information to each live streaming client that has entered the target live room.
[0136] When a live streaming client first enters a target live streaming room, it sends an access request to the server to obtain the room information. Based on the time-shift identifier carried in the room information, it determines whether the target live streaming room has time-shift functionality enabled. If time-shift functionality is enabled, the client retrieves historical display information for a specified time point from the server, receives this historical display information from the server, renders the target live streaming room based on its live video data, and displays a time-shift progress bar within the target live streaming room. Furthermore, the client can also receive real-time display information broadcast by the server during the live stream of the target live streaming room and render the target live streaming room accordingly.
[0137] By applying the embodiments of this application, display information corresponding to the target time of specified content in the target live room is obtained through configuration information, which realizes flexible management of the live room. Display information is sent to the live client accessing the target live room so that the live client renders the target live room according to the display information, thereby improving the content richness of the target live room display interface. Users can make selections based on the content of the live room display interface, further improving the user experience.
[0138] Corresponding to the above method embodiments, this application also provides server-side embodiments. Figure 5 This illustration shows a schematic diagram of the server structure corresponding to a live streaming room display method provided in an embodiment of this application. For example... Figure 5 As shown, the server includes:
[0139] The receiving module 502 is configured to receive configuration information sent by the configuration terminal, wherein the configuration information includes room information of the live broadcast room;
[0140] The first acquisition module 504 is configured to determine the target live room with the time-shift function enabled based on the room information, and acquire the display information of the target time corresponding to the specified content in the target live room.
[0141] The sending module 506 is configured to send the display information to the live streaming client accessing the target live streaming room, so that the live streaming client renders the target live streaming room according to the display information.
[0142] Optionally, the first acquisition module 504 is further configured to identify the room identifier and time-shift identifier carried in the room information;
[0143] The live stream room whose time-shift identifier corresponds to the room identifier with the time-shift function enabled is selected as the target live stream room.
[0144] Optionally, the sending module 506 is further configured to acquire the live video data of the target live room, analyze the live video data, and determine the target time corresponding to multiple specified contents in the live video data;
[0145] Generate the display information corresponding to the target time for each specified content.
[0146] Optionally, the sending module 506 is further configured to analyze the live video data to obtain the interaction parameters at each moment in the live video data;
[0147] Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively;
[0148] The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content.
[0149] Optionally, the sending module 506 is further configured to acquire video frame data at the target time corresponding to each specified content;
[0150] For any given content at a target time, generate display information corresponding to that target time based on the video frame data of that content at the target time.
[0151] Optionally, the server may further include:
[0152] The request receiving module is configured to receive access requests sent by newly entered live streaming clients in the target live streaming room;
[0153] The first acquisition module 504 is further configured to acquire historical display information of a target time corresponding to specified content in the target live broadcast room;
[0154] The sending module 506 is further configured to send the historical display information to the live streaming client.
[0155] Optionally, the first acquisition module is further configured to acquire real-time display information for a target moment corresponding to specified content in the target live stream room;
[0156] The sending module 506 is further configured to broadcast the real-time display information to each live streaming client that has entered the target live streaming room.
[0157] In the embodiments of this application, the server obtains the display information of the target time corresponding to the specified content in the target live room through configuration information, thereby realizing flexible management of the live room. The server sends the display information to the live client accessing the target live room, so that the live client renders the target live room according to the display information, thereby improving the content richness of the target live room display interface. Users can make selections based on the content of the live room display interface, further improving the user experience.
[0158] The above is an illustrative scheme of the server side in this embodiment. It should be noted that the technical solution of this server side and the technical solution of the above-described live room display method belong to the same concept. For details not described in detail in the technical solution of the server side, please refer to the description of the technical solution of the above-described live room display method.
[0159] Corresponding to the above method embodiments, this application also provides live streaming client embodiments. Figure 6 This illustration shows a schematic diagram of the structure of a live streaming client corresponding to a live streaming room display method provided in an embodiment of this application. For example... Figure 6 As shown, the live streaming client includes:
[0160] The second acquisition module 602 is configured to send an access request for the target live room to the server when entering the target live room for the first time, and obtain the room information of the target live room.
[0161] The third acquisition module 604 is configured to, when it is determined from the room information that the target live room has enabled the time-shift function, acquire historical display information of the target time corresponding to the specified content in the target live room from the server.
[0162] The first rendering module 606 is configured to receive the historical display information sent by the server and render the target live room according to the historical display information.
[0163] Optionally, the third acquisition module 604 is further configured to determine whether the target live room has the time-shift function enabled based on the time-shift identifier carried in the room information.
[0164] Optionally, the first rendering module 606 is further configured to render the target live room based on the live video data of the target live room, and render a time-shift progress bar in the target live room;
[0165] Based on the historical display information, the display and rendering are performed on the time-shifting progress bar.
[0166] Optionally, the live streaming client further includes:
[0167] The second rendering module is further configured to receive real-time display information broadcast by the server during the live broadcast process in the target live broadcast room;
[0168] The target live stream room is rendered based on the real-time display information.
[0169] In an embodiment of this application, when a live streaming client enters a target live streaming room for the first time, it sends an access request for the target live streaming room to the server to obtain the room information of the target live streaming room. If it is determined that the target live streaming room has the time-shift function enabled based on the room information, the client obtains historical display information of the target time corresponding to the specified content in the target live streaming room from the server, receives the historical display information sent by the server, and renders the target live streaming room according to the historical display information, so that the live streaming room display is more in line with user needs and further improves the user experience.
[0170] The above is an illustrative scheme of a live streaming client according to this embodiment. It should be noted that the technical solution of this live streaming client and the technical solution of the live streaming room display method described above belong to the same concept. For details not described in detail in the technical solution of the live streaming client, please refer to the description of the technical solution of the live streaming room display method described above.
[0171] Figure 7 A structural block diagram of a computing device 700 according to an embodiment of this application is shown. The components of the computing device 700 include, but are not limited to, a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and a database 750 is used to store data.
[0172] The computing device 700 also includes an access device 740, which enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 740 may include one or more of any type of wired or wireless network interface (e.g., Network Interface Card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (World Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0173] In one embodiment of this application, the aforementioned components of the computing device 700 and Figure 7 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 7 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this application. Those skilled in the art can add or replace other components as needed.
[0174] The computing device 700 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 700 can also be a mobile or stationary server.
[0175] Specifically, when the processor 720 executes the computer instructions, it implements the steps of the live room display method applied to the server or the live room display method applied to the live client.
[0176] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device belongs to the same concept as the above-described live room display method applied to the server or the live room display method applied to the live client. For details not described in detail in the technical solution of the computing device, please refer to the description of the above-described live room display method applied to the server or the live room display method applied to the live client.
[0177] An embodiment of this application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the live room display method applied to a server or the live room display method applied to a live client as described above.
[0178] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium belongs to the same concept as the technical solution of the live room display method applied to the server or the live room display method applied to the live room client described above. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the live room display method applied to the server or the live room display method applied to the live room client described above.
[0179] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0180] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0181] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0182] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0183] The preferred embodiments disclosed above are merely illustrative of this application. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this application. These embodiments are selected and specifically described in this application to better explain the principles and practical applications of this application, thereby enabling those skilled in the art to better understand and utilize this application. This application is limited only by the claims and their full scope and equivalents.
Claims
1. A method for displaying a live streaming room, characterized in that, Applied to the server side, the method includes: Retrieve display information for a specific content within a target live stream at a specific time. Based on the type of live streaming client accessing the target live streaming room, the display information is sent to the live streaming client so that the live streaming client renders the time-shift progress bar of the target live streaming room according to the display information. The type of live streaming client includes at least one of first-time access to the target live streaming room and already accessed the target live streaming room. The display information corresponding to the live streaming client first-time access to the target live streaming room is historical display information, and the display information corresponding to the live streaming client already accessed the target live streaming room is real-time display information. The step of obtaining the display information for a specific time corresponding to a specified content in the target live stream includes: Obtain the live video data of the target live stream room; The live video data is analyzed to obtain the interaction parameters at each moment in the live video data; Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively; The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content; Generate the display information corresponding to the target time for each specified content.
2. The method according to claim 1, characterized in that, The step of generating the display information corresponding to the target time for each specified content includes: Obtain video frame data at the target time corresponding to each specified content; For any given content at a target time, generate display information corresponding to that target time based on the video frame data of that content at the target time.
3. The method according to claim 1, characterized in that, The method further includes: Receive access requests sent by live streaming clients that are entering the target live streaming room for the first time; The step of obtaining the display information for a specific time corresponding to a specified content in the target live stream includes: Retrieve historical display information for a specific content within a target live stream at a target time. The step of sending the display information to the live streaming client based on the type of live streaming client accessing the target live streaming room includes: Send the historical display information to the live streaming client.
4. The method according to claim 1, characterized in that, The step of obtaining the display information for a specific time corresponding to a specified content in the target live stream includes: Obtain real-time display information for a specified content in a target live stream at a target time. The step of sending the display information to the live streaming client based on the type of live streaming client accessing the target live streaming room includes: The real-time display information is broadcast to each live streaming client that has entered the target live streaming room.
5. A method for displaying a live streaming room, characterized in that, Applied to a live streaming client, the method includes: When the type of the live streaming client is entering the target live streaming room for the first time, the server sends historical display information of the target time corresponding to the specified content in the target live streaming room. The time-shift progress bar of the target live streaming room is rendered according to the historical display information. The type of the live streaming client includes at least one of entering the target live streaming room for the first time and entering the target live streaming room. The display information corresponding to the live streaming client entering the target live streaming room for the first time is historical display information, and the display information corresponding to the live streaming client entering the target live streaming room is real-time display information. The server is used for: Obtain the live video data of the target live stream room; The live video data is analyzed to obtain the interaction parameters at each moment in the live video data; Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively; The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content; Generate the display information corresponding to the target time for each specified content.
6. The method according to claim 5, characterized in that, The method further includes: During the live broadcast in the target live room, receive real-time display information broadcast by the server; The time-shift progress bar of the target live stream is rendered based on the real-time display information.
7. A server-side component, characterized in that, include: The first acquisition module is configured to acquire display information for a specific content in the target live stream at a target time. The sending module is configured to send the display information to the live streaming client according to the type of the live streaming client accessing the target live streaming room, so that the live streaming client renders the time-shift progress bar of the target live streaming room according to the display information. The type of the live streaming client includes at least one of the following: first entry into the target live streaming room and already entered the target live streaming room. The display information corresponding to the live streaming client that first enters the target live streaming room is historical display information, and the display information corresponding to the live streaming client that has already entered the target live streaming room is real-time display information. The first acquisition module is also used for: Obtain the live video data of the target live stream room; The live video data is analyzed to obtain the interaction parameters at each moment in the live video data; Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively; The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content; Generate the display information corresponding to the target time for each specified content.
8. A live streaming client, characterized in that, include: The first rendering module is configured to, when the type of the live streaming client is entering the target live streaming room for the first time, receive historical display information of the target time corresponding to the specified content in the target live streaming room sent by the server, and render the time-shift progress bar of the target live streaming room according to the historical display information. The type of the live streaming client includes at least one of entering the target live streaming room for the first time and already entering the target live streaming room. The display information corresponding to the live streaming client entering the target live streaming room for the first time is historical display information, and the display information corresponding to the live streaming client already entering the target live streaming room is real-time display information. The server includes a first acquisition module, used for: Obtain the live video data of the target live stream room; The live video data is analyzed to obtain the interaction parameters at each moment in the live video data; Based on the interaction parameters at each time point, the attention level at each time point is calculated respectively; The moment when the attention level exceeds a preset threshold is determined as the target moment for the specified content; Generate the display information corresponding to the target time for each specified content.
9. A computing device, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that, When the processor executes the computer instructions, it implements the steps of the method according to any one of claims 1 to 4 or any one of claims 5 to 6.
10. A computer-readable storage medium storing computer instructions, characterized in that, When executed by a processor, the computer instructions implement the steps of the method described in any one of claims 1 to 4 or any one of claims 5 to 6.
11. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 4 or any one of claims 5 to 6.
Citation Information
Patent Citations
Event display method in live broadcast, playing terminal, video system and storage medium
CN109922375A
