Method for previewing live content, related device and computer program product

By generating preview videos, the problem of audience users having difficulty judging the content of the live broadcast room is solved, the effect of rapid understanding and effective decision-making is achieved, and the decision-making cost of audience users is reduced.

CN120640053APending Publication Date: 2025-09-12SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510768349.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-09
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

It is difficult for viewers to judge the current content through the static live broadcast room cover, especially on platforms that require requesting viewing permissions, it is difficult to decide whether to obtain the live broadcast content, resulting in high decision-making costs.

Method used

Generate a preview video based on the current live content in the live broadcast room. After responding to the audience user's request to enter the live broadcast room, play the preview video according to the viewing permission type to help the audience quickly understand the live content and assist in deciding whether to obtain full viewing permissions.

Benefits of technology

By previewing the video, viewers can quickly and effectively understand the content of the live broadcast room, reduce decision-making costs, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640053A_ABST
    Figure CN120640053A_ABST
Patent Text Reader

Abstract

The invention provides a method for previewing live broadcast content, a related device and a computer program product, and the method comprises the steps: generating a preview video based on the live broadcast content of a live broadcast session which is being live broadcast in a live broadcast room; in response to the audience user request entering the live broadcast room, determining the watching authority of the audience user to the live broadcast room; and in response to the fact that the watching permission is the first permission type, playing the preview video to the audience user by using the live broadcast room by taking the preview video as a replacement of the live broadcast content. Therefore, the'preview video 'generated through the current live broadcast content of the live broadcast room not only can help audience users to quickly and effectively understand the live broadcast content which is currently presented and live broadcast in the live broadcast room, but also can help the audience to more effectively decide whether to obtain complete watching and playing authority for the live broadcast room or not, so that the decision-making cost of the audience users is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for previewing live content, an electronic device, a computer-readable medium, and a computer program product. Background Art

[0002] With the advancement of society and technology, live streaming technology has made significant progress in recent years in internet applications to meet users' needs for real-time interaction. It is widely used in social platforms, online education, e-commerce, and other practical scenarios.

[0003] Through live broadcast room technology, viewers can not only receive high-quality video and audio content instantly, but also interact with the host and other viewers through bullet screens, comments, likes, and other methods, creating an immersive social experience. Therefore, effectively improving the quality of live broadcast rooms and enhancing the user experience of live broadcast rooms is worthy of attention and urgent need. Summary of the Invention

[0004] Multiple aspects of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for previewing live content. The "preview video" generated by the current live content of the live broadcast room can not only help the audience users quickly and effectively understand the live content currently being presented and broadcast in the live broadcast room, but also assist the audience to make more effective decisions on whether to obtain complete viewing and playback permissions for the live broadcast room, thereby reducing the decision-making costs of the audience users.

[0005] In one aspect of the present application, a method for previewing live content is provided, comprising: generating a preview video based on the live content of a live broadcast session currently being broadcast in a live broadcast room; determining the viewing authority that the viewer user has for the live broadcast room in response to a request from a viewer user to enter the live broadcast room; and using the live broadcast room to play the preview video as a substitute for the live content in response to the viewing authority being a first authority type.

[0006] Another aspect of the present application provides an apparatus for previewing live content, comprising: a preview video generation module configured to generate a preview video based on the live content of a live broadcast session currently being broadcast in a live broadcast room; a viewing authority determination module configured to determine the viewing authority that the viewer user has for the live broadcast room in response to a viewer user's request to enter the live broadcast room; and a preview video playback module configured to use the live broadcast room to play the preview video to the viewer user using the preview video as a substitute for the live content in response to the viewing authority being a first authority type.

[0007] Another aspect of the present application provides an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for previewing live content provided above.

[0008] In another aspect of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the method for previewing live content provided above.

[0009] In another aspect of the present application, a computer program product includes a computer program having computer program instructions stored thereon. When the computer program is executed by a processor, the method for previewing live content provided above can be implemented.

[0010] In the solution provided by the embodiment of the present application, a preview video is first generated based on the live content of the live broadcast session currently being broadcast in the live broadcast room. Then, if the audience user requests to enter the live broadcast room, the live broadcast room responds to this and determines the viewing authority that the audience user has for the live broadcast room. Next, if the viewing authority is of the first authority type, the live broadcast room responds to this and uses the preview video as a substitute for the live content, and plays the preview video to the audience user. Thus, the "preview video" generated by the current live content of the live broadcast room can not only help the audience user quickly and effectively understand the live content currently being presented and broadcast in the live broadcast room, but also assist the audience in making more effective decisions on whether to obtain complete viewing and playback authority for the live broadcast room, thereby reducing the decision-making cost of the audience user. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0012] Other features, objects and advantages of the present application will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0013] Figure 1 A flowchart of a process for previewing live content provided in an embodiment of the present application;

[0014] Figure 2 A flowchart of a process for generating a preview video provided in an embodiment of the present application;

[0015] Figure 3A schematic diagram of the effect of a live broadcast room interface including a live broadcast progress bar provided in an embodiment of the present application;

[0016] Figure 4 A flowchart illustrating a process for previewing live content in a specific application scenario provided by an embodiment of the present application;

[0017] Figure 5 A schematic diagram of the structure of a device for previewing live content provided in an embodiment of the present application;

[0018] Figure 6 The figure is a schematic diagram of the structure of an electronic device suitable for implementing the solution in the embodiment of the present application.

[0019] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0020] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0021] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPUs), input / output interfaces, network interfaces and memories.

[0022] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0023] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology for information storage. The information can be computer program instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc-read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0024] As discussed above, how to effectively improve the quality of live broadcast rooms and enhance users' experience in live broadcast rooms is worthy of attention and an urgent need.

[0025] In some solutions, a live broadcast room cover is generated based on the content in the live broadcast room or content related to the anchor user (for example, the anchor user's avatar, the anchor user's personal homepage), in the hope of attracting audience users to enter the live broadcast room through such a cover.

[0026] However, based on the analysis of this method, in this method, because such a cover is often the static content of a picture, it is difficult for audience users to use the cover to judge what the current content of the live broadcast room is like, and it is difficult to decide whether to actually enter the live broadcast room to obtain the live content.

[0027] Especially for those live broadcast rooms that may distinguish audience users by viewing permissions (for example, live broadcast platforms that require audience users to make additional requests and obtain viewing permissions for specific live broadcast rooms), users often find it difficult to decide whether to request and obtain the required viewing permissions.

[0028] To this end, an embodiment of the present application provides a method for previewing live content, which first generates a preview video based on the live content of the live broadcast session being broadcast in the live broadcast room. Then, if the audience user requests to enter the live broadcast room, the live broadcast room responds to this and determines the viewing authority that the audience user has for the live broadcast room. Next, if the viewing authority is the first authority type, the live broadcast room responds to this and uses the preview video as a substitute for the live content to play the preview video to the audience user. Thus, the "preview video" generated by the current live content of the live broadcast room can not only help the audience user quickly and effectively understand the live content currently being presented and broadcast in the live broadcast room, but also assist the audience in making more effective decisions on whether to obtain complete viewing and playback authority for the live broadcast room, thereby reducing the decision-making cost of the audience user.

[0029] In practical scenarios, the execution subject of this method can be a user device, or a device formed by integrating a user device and a network device via a network, or an application running on such a device. User devices include but are not limited to computers, mobile phones, tablets, smart watches, wristbands, and other terminal devices. Network devices include but are not limited to network hosts, single network servers, multiple network server clusters, or cloud computing-based computer clusters. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing. Cloud computing is a type of distributed computing, consisting of a group of loosely coupled computers forming a virtual computer.

[0030] When the execution subject is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules, or as a single software or software module, and is not specifically limited here.

[0031] Figure 1 A process 100 for previewing live content provided by an embodiment of the present application is shown. The process 100 includes at least the following processing steps:

[0032] (Step) S101, generating a preview video based on the live broadcast content of the live broadcast session being broadcast in the live broadcast room;

[0033] In an embodiment of the present application, the execution entity of the process of previewing the live content (for example, a server for providing a "live broadcast room") can obtain the live content of the live broadcast session being broadcast in the live broadcast room after the host user starts the current live broadcast session.

[0034] For example, after the anchor user opens a live broadcast room to provide live content, live stream, and video stream, the execution entity can use the live content provided by the anchor user in the current live broadcast session to generate a preview video.

[0035] In some embodiments, the preview video may be determined based on the host user's instructions and selection of live content. For example, in the live studio interface of the live studio, a selection control may be added so that the host user can trigger or select the selection control to request the execution entity to generate a preview video.

[0036] Accordingly, in such a case, if the anchor user in the live broadcast room initiates a preview video generation request, the execution entity can respond to this to present the live broadcast progress bar of the live broadcast content to the anchor user.

[0037] The live broadcast progress bar can correspond to the live broadcast content from the start time of the live broadcast to the current time. Thus, the anchor user can use the live broadcast progress bar to obtain and understand the current progress of the live broadcast content, and use the live broadcast progress bar to select the live broadcast content that is desired to be used as part of the preview video.

[0038] In some embodiments, after the live broadcast progress bar is provided, the anchor user can select and determine the collection time interval by clicking the starting point and the end point in the live broadcast progress bar.

[0039] Then, the anchor user can use the acquisition time interval to instruct the execution entity to generate a preview video using the live content (or live video stream, live stream, etc.) within the acquisition time interval.

[0040] That is, if the live streamer provides a capture time interval using the live stream progress bar, the execution entity can respond by generating a preview video based on the live stream content and the portion of the live stream corresponding to the capture time interval. For example, the execution entity can extract the live stream and video frames within the capture time interval based on the live stream progress bar to form the preview video.

[0041] Therefore, this method allows anchor users to flexibly select preview videos for promotion and quick preview of current live content based on their own needs.

[0042] In some embodiments, in order to facilitate the anchor user to better locate and select the collection time interval, the execution entity can also present the live broadcast room interaction data at each "progress" corresponding moment in the live broadcast progress bar in association with the progress of the live broadcast content.

[0043] For example, for a specific "moment" in the live broadcast progress bar, the executing entity can present and add the live broadcast room interaction data such as the number of barrages and interactive props that appear in the "moment" to the position corresponding to the "moment" in the live broadcast progress bar.

[0044] Thus, by utilizing this associated "live broadcast room interaction data," when selecting components of the collection time interval, the host can utilize the live broadcast room interaction data corresponding to that "moment" to assist the host in making decisions. For example, this can assist the host in determining the audience's enthusiasm for and preference for the live broadcast content corresponding to that "moment," allowing the host to more accurately select live broadcast content that the audience may be interested in to generate preview videos, thereby improving the quality of the preview video generated.

[0045] In some embodiments, the execution entity may also choose to use the live interactive data in the live broadcast room as a reference to actively select and determine the live content for generating the preview video. The execution entity may choose to continuously detect the live interactive data in the live broadcast room. If the live interactive data in the live broadcast room is greater than or equal to the data threshold (for example, the number of barrages that appear is greater than or equal to the barrage threshold, and the number of interactive props that appear is greater than or equal to the prop number threshold) within a target time interval, the execution entity may choose to use the live content within the target time interval to generate the preview video. That is, the execution entity may generate a preview video based on the live video stream of the live content corresponding to the target time interval.

[0046] Therefore, by executing the active detection and generation of preview videos by the execution subject, it is possible to avoid the omission of "highlight content" and "high-heat content" in the live broadcast content, while also reducing the generation and selection costs of preview videos by the anchor user, thereby improving the generation source and generation quality of the preview video.

[0047] Accordingly, after completing the preview video generation operation, the execution entity can compress and store the preview video by encoding it into a format such as MP4 (MPEG-4 Part 14), HLS (HTTP Live Streaming), WebM (WebM Media File), etc. for use in subsequent steps.

[0048] S102, in response to a viewer user's request to enter the live broadcast room, determining the viewer user's viewing authority for the live broadcast room;

[0049] In an embodiment of the present application, after the preview video is generated based on the above S101, if a viewer user requests to enter the live broadcast room, the execution entity can respond thereto and determine the viewing authority that the viewer user has for the live broadcast room.

[0050] In some embodiments, viewing permissions can be divided into a first permission type that only allows audience users to temporarily access and enter the live broadcast room to obtain part of the live broadcast content, and a second permission type that allows audience users to permanently access and enter the live broadcast room to obtain all the live broadcast content.

[0051] In some embodiments, the execution entity may determine and read the permission type of the viewer user's viewing permission for the live broadcast room based on predetermined permission rules.

[0052] For example, the execution entity may determine the permissions of a specific viewer user based on whether the host user of the live broadcast room has granted the viewer user "long-term access to the live broadcast room to obtain all live broadcast content." Accordingly, if the host user has not granted such permission to the viewer user, the viewer user's viewing permission for the live broadcast room can be understood as the first permission type.

[0053] In some embodiments, the host user can also instruct the execution entity on how to determine the corresponding viewing permissions for the viewer user by setting authorization criteria, such as historical behaviors that the viewer user cannot have. For example, if the viewer user has performed historical behaviors not permitted by the host user within a corresponding detection period, the execution entity can accordingly determine that the viewer user's viewing permissions are of the first permission type.

[0054] S103: In response to the viewing permission being the first permission type, using the preview video as a substitute for the live broadcast content, and playing the preview video to the audience user in the live broadcast room.

[0055] In an embodiment of the present application, if the execution entity determines based on the above S102 that the viewing permission of the user requesting to enter the live broadcast room is the first permission type, the execution entity can respond to this by choosing to play a preview video to the viewer user instead of the (complete) live content of the live broadcast room. In this way, the preview video is used to provide a "quick" preview of the live content of the live broadcast room, thereby helping the viewer user to quickly understand the content of the live broadcast room and assisting the viewer user in determining whether to further request the execution entity to change the permission type of its current viewing permission (for example, changing the first permission type to the second permission type).

[0056] Correspondingly, if the viewing permission of the audience user is of the second permission type, the execution entity can correspondingly choose to provide the audience user with all the live content of the live broadcast session currently being broadcast in the live broadcast room (for example, after the audience user enters the live broadcast room, what can be provided is the live content, live stream, and video stream currently generated by the live broadcast room), so that the audience user of the second permission type can watch the live content completely and in real time.

[0057] In some embodiments, in order to improve the timeliness of the preview video, the above-mentioned preview videos can be at least two. For example, the anchor user provides multiple preview videos based on multiple selections, and / or the execution entity actively collects multiple preview videos.

[0058] In other words, as the live broadcast content becomes more in-depth and increases, the host user may select the "collection time interval" multiple times to generate multiple preview videos, and the executing entity may also actively generate multiple preview videos because the live broadcast interaction data is greater than or equal to the data threshold multiple times.

[0059] In this case, during the execution of this step, if the viewing permission is the first permission type and there are at least two preview videos, the execution entity can respond thereto by determining a target preview video from the at least two preview videos based on the generation time sequence.

[0060] For example, the execution entity can select the most recently generated preview video as the target preview video, and accordingly select the target preview video as a replacement for the live content, and play the target preview video to the audience in the live broadcast room. In this way, the timeliness of the preview video presented to the audience is guaranteed.

[0061] In some embodiments, when there are at least two preview videos, the execution entity may further determine the preview video to be presented to the viewer user based on the host user's selection of the preview video. That is, if the viewing permission is of the first permission type and there are at least two preview videos, the execution entity may, in response to this, determine the target preview video based on the host user's selection of the at least two preview videos.

[0062] For example, the execution entity may provide various preview videos to the anchor user and determine the target preview video based on the anchor user's selection result.

[0063] Similarly, the execution entity can use the target preview video as a substitute for the live content and play the target preview video to the audience users in the live broadcast room. In this way, the preview video can be provided and presented to the audience users in accordance with the needs and understanding of different anchor users and meet the expectations of the anchor users.

[0064] In some embodiments, the executing entity may also choose to configure an initial preview video (for example, an initial preview video generated based on the live content in historical live broadcast sessions) so that when there is no preview video or no preview video has been generated, but there is an audience user with the first permission type entering the live broadcast room, the initial preview video will be presented to the audience user first to avoid a black screen or a lack of displayed content.

[0065] For example, the execution entity may generate the initial preview video based on the live content of a historical live broadcast session (e.g., the previous live broadcast session). For example, the execution entity may select the preview video generated most recently from the preview videos corresponding to the previous live broadcast session, or the preview video marked and selected by the host user as the "initial preview video" for the current live broadcast session.

[0066] Accordingly, for the initial preview video, the execution entity may choose to present the initial preview video to the audience user in the absence of or failure to generate a preview video for presentation and provision to the audience user (for example, because the audience user enters the live broadcast room too early, the preview video for the current live broadcast session may not have been generated at this time).

[0067] In some embodiments, the execution entity may also mark the latest preview videos that can be presented to users based on, for example, the chronological order of their creation while maintaining the preview videos. This allows viewers with the first permission type to directly use the marking results to determine the target preview video when they enter the live broadcast room, thereby improving the efficiency of determining the target preview video.

[0068] Accordingly, in such a manner, the subsequent execution entity can also update the "target preview video" by continuously updating the mark to avoid repeatedly comparing all the generation time sequences, thereby improving the efficiency of determining the "target preview video".

[0069] In some embodiments, the preview video can actually be presented in the live room selection page for selecting and entering the live room, corresponding to the live room, to present the live content currently being presented or recently presented in the live room, thereby enhancing the use value of the preview video.

[0070] Then, the method for previewing live content provided by the present application first generates a preview video based on the live content of the live broadcast session currently being broadcast in the live broadcast room. Then, if the audience user requests to enter the live broadcast room, the method responds to this and determines the viewing authority that the audience user has for the live broadcast room. Next, if the viewing authority is of the first authority type, the method responds to this and uses the live broadcast room to play the preview video as a substitute for the live content. Thus, the "preview video" generated by the current live content of the live broadcast room can not only help the audience user quickly and effectively understand the live content currently being presented and broadcast in the live broadcast room, but also assist the audience in making more effective decisions on whether to obtain complete viewing and playback authority for the live broadcast room, thereby reducing the decision-making cost of the audience user.

[0071] In some embodiments, in order to balance the relationship between preview and complete content and facilitate the execution entity to collect live video streams based on live interactive data, the upper limit of the length of the preview video can also be determined in advance so that the length of each preview video is limited to the upper limit.

[0072] In this case, to facilitate the live streamer's selection and generation of preview videos, the execution entity can also choose to present and provide a collection time interval extractor within the live stream progress bar. This collection time interval extractor has an upper limit that matches the upper limit of the preview video's collection length. This allows the live streamer to select and provide a "collection time interval" using this collection time interval extractor.

[0073] For this, please refer to Figure 2 , Figure 2 A flowchart of a process 200 for generating a preview video according to an embodiment of the present application is shown. For example, the process 200 can be implemented as an alternative or substitute for the above-mentioned S101.

[0074] Process 200 includes at least the following processing steps:

[0075] S201, in response to a live broadcast user in the live broadcast room initiating a preview video generation request, presenting a live broadcast progress bar of the live broadcast content to the live broadcast user;

[0076] Specifically, as discussed above, if the host user in the live broadcast room initiates a preview video generation request, a live broadcast progress bar of the live broadcast content is presented to the host user, which will not be repeated here.

[0077] But for easier understanding, you can also refer to Figure 3 . Figure 3 A schematic diagram of the effect of a live broadcast room interface 300 including a live broadcast progress bar provided in an embodiment of the present application is shown.

[0078] In the live broadcast room interface 300, a live broadcast progress bar 310 may be included. The starting point of the live broadcast progress bar 310 is the "start time of the live broadcast content", and the end point of the live broadcast progress bar 310 is the current time.

[0079] S202, presenting a capture time interval extractor whose upper limit is equal to the capture length upper limit of the preview video in the live broadcast progress bar;

[0080] Specifically, in order to facilitate the host user to understand the length of the "capture time interval" that can be captured, and to facilitate the host user to select the "capture time interval", the execution entity can present a capture time interval extractor with an upper limit of length equivalent to the upper limit of the capture length of the preview video in the live broadcast progress bar.

[0081] Accordingly, the anchor user can determine the center position of the "collection time interval" by dragging the collection time interval extractor, and adjust the length of the "collection time interval" by moving the two ends of the collection time interval extractor.

[0082] For example, you can continue to refer to Figure 3 In the live studio interface 300 shown in FIG, in the live studio interface 300, the execution body may also present an acquisition time interval extractor 320 in association with the live progress bar. The initial length of the acquisition time interval extractor 320 may be comparable to the upper limit of the acquisition length of the preview video.

[0083] Accordingly, the host user (not shown) can adjust the "length" of the collection time interval extractor 320 (i.e., the length of the corresponding collection time interval) by adjusting edges 321 and 322. Furthermore, the host user can adjust the position of the collection time interval extractor 320 by, for example, dragging the collection time interval extractor 320 to determine its corresponding "collection time interval."

[0084] S203 : In response to the host user providing a collection time interval using the collection time interval extractor, a preview video is generated based on the live content and the live video stream of a portion corresponding to the collection time interval.

[0085] Specifically, the host user can indicate and confirm to the execution entity that the length and placement of the "acquisition time interval extractor" have been determined, for example, by using the extractor position determination control or performing a preset interaction with the acquisition time interval extractor (for example, continuously right-clicking the acquisition time interval extractor). Accordingly, if the host user has determined the "length and placement", the execution entity can respond to this by determining the "acquisition time interval" based on the length of the "acquisition time interval extractor" and its placement in the live broadcast progress bar, and generating a preview video based on the live video stream of the live broadcast content and the corresponding portion of the acquisition time interval.

[0086] Based on any of the above embodiments, as discussed above, in order to facilitate the viewer user to adjust his or her viewing permissions, the execution entity can respond after completing the playback of the preview video and present the viewer user with an access entry for obtaining the second permission type.

[0087] For example, the access portal can point to a permission request page for obtaining viewing permissions from the anchor user, or to a permission request page of the live broadcast room management platform, etc. As a result, when the audience user finishes watching the preview video and wants to adjust their viewing permissions to enter the live broadcast room and obtain the full live content, they can initiate the adjustment request more efficiently through the access portal, thereby improving the user experience.

[0088] Based on any of the above embodiments, in order to more effectively promote the live broadcast room to audience users and enhance the usability of the preview video, the execution entity may also choose to use the preview video to generate recommendation information for recommending the live broadcast room to target audience users. The target audience users may be audience users whose viewing permission for the live broadcast room is of the first permission type.

[0089] Then, the execution entity can provide these target audience users with preview videos of the live broadcast room by sending recommendation information to these target audience users, so that the audience users can "promote the live broadcast room" by previewing the live content in the live broadcast room.

[0090] In order to deepen the understanding, this application also combines a specific application scenario. Figure 4 A flowchart of the process of previewing live content in this specific application scenario is given. Figure 4 Process 400 is shown.

[0091] In process 400, for live broadcast room 410, (the executing entity) may first generate preview videos 421, 422 to 42N (where N is a positive integer) based on the live broadcast content of the live broadcast session currently being broadcasted by the live broadcast room through S401. For example, preview videos 421, 422 to 42N may be generated based on the selection of the anchor user in live broadcast room 410, and / or, in response to the live broadcast interaction data being greater than or equal to a data threshold, by a server (not shown) providing live broadcast room 410, based on the live broadcast content and the live video stream corresponding to the target time interval.

[0092] For ease of understanding, the "server" can also be exemplarily used as the "executor" in process 400 to respond to the viewer's request to enter the live broadcast room, determine the viewer's viewing permissions, and determine the specific content provided to the viewer (for example, whether to provide live content or preview video).

[0093] Then, if the viewer user 415 requests the execution entity to enter the live broadcast room 410 by executing S402, the execution entity can respond to this and execute S403 to determine the viewing authority of the viewer user 415.

[0094] Next, exemplarily in process 400, the viewing permission of viewer user 415 is the above-mentioned "first permission type". In such a case, the execution entity can determine the target preview video from preview videos 421, 422 to 42N by executing S404 (exemplarily, the "target preview video" can be preview video 422).

[0095] Finally, for the audience user 415 belonging to the "first permission type", S405 can be executed to use the preview video 422 as a substitute and use the live broadcast room 410 to play the preview video 422 to the audience user 415.

[0096] The embodiment of the present application also provides a device for previewing live content, the structure of which is as follows: Figure 5 The device 500 for previewing live content is shown. The device 500 includes: a preview video generation module 510, configured to generate a preview video based on the live content of the live broadcast session being broadcasted in the live broadcast room; a viewing permission determination module 520, configured to determine the viewing permission of the viewer user for the live broadcast room in response to a viewer user requesting to enter the live broadcast room; and a preview video playback module 530, configured to play the preview video as a substitute for the live content to the viewer user using the live broadcast room in response to the viewing permission being a first permission type.

[0097] In some embodiments, the preview video generation module 510 includes: a progress bar presentation submodule, which is configured to respond to a preview video generation request initiated by the anchor user in the live broadcast room, and present a live progress bar of the live content to the anchor user; a first preview video generation submodule, which is configured to respond to the anchor user providing a collection time interval using the live progress bar, and generate a preview video based on the live video stream of the live content and the corresponding part of the collection time interval.

[0098] In some embodiments, the preview video generation module 510 also includes: an interactive data presentation submodule, which is configured to present the live broadcast room interactive data at the corresponding moment of the playback progress in the live broadcast progress bar in association with the playback progress of the live broadcast content.

[0099] In some embodiments, the preview video generation module 510 also includes: an extractor presentation submodule, configured to present a capture time interval extractor whose upper limit of length is equivalent to the upper limit of the capture length of the preview video in the live broadcast progress bar; and the first preview video generation submodule is further configured to generate a preview video based on the live video stream of the live broadcast content and the corresponding part of the capture time interval in response to the host user providing a capture time interval using the capture time interval extractor.

[0100] In some embodiments, the preview video generation module 510 is further configured to generate a preview video based on the live video stream of the live content corresponding to the target time interval in response to the live interaction data in the live broadcast room in the target time interval being greater than or equal to a data threshold, wherein the live interaction data includes the number of barrages and the number of interactive props, and the data threshold includes a barrage number threshold corresponding to the number of barrages and a prop number threshold corresponding to the number of interactive props.

[0101] In some embodiments, the preview video playback module 530 includes: a first target video determination submodule, configured to determine a target preview video from at least two preview videos based on a generation time sequence in response to the viewing permission being a first permission type and the presence of at least two preview videos; a first preview video playback submodule, configured to use the target preview video as a substitute for the live broadcast content and use the live broadcast room to play the target preview video to the audience user.

[0102] In some embodiments, the preview video playback module 530 includes: a second target video determination submodule, which, in response to the viewing permission being the first permission type and the presence of at least two preview videos, determines the target preview video based on the selection results of the host user in the live broadcast room for at least two preview videos; a second preview video playback submodule, which is configured to use the target preview video as a substitute for the live broadcast content and use the live broadcast room to play the target preview video to the audience user.

[0103] In some embodiments, the apparatus 500 further includes: an access entry presentation module configured to present an access entry for obtaining the second permission type to the viewer user in response to completing the playback of the preview video.

[0104] In some embodiments, the device 500 also includes: a recommendation information generation module, configured to use the preview video to generate recommendation information for recommending the live broadcast room to the target audience users, wherein the viewing permissions that the target audience users have for the live broadcast room are all of the first permission type; a recommendation information sending module, configured to send the recommendation information to the target audience users.

[0105] The embodiment of this device corresponds to the method embodiment shown in the above figures. First, in response to the data size of the data to be stored being greater than the management threshold, the data to be stored is split into multiple file blocks. Then, based on the original complete file of the data to be stored, the data to be stored is written to the first storage, and based on the multiple file blocks, the data to be stored is written to the second storage, wherein the first storage is provided based on a mechanical hard disk and the second storage is provided based on a solid-state drive. Finally, in response to receiving a request from the target device for the data to be stored during the process of writing the data to be stored to the first storage, and the second storage has completely stored the data to be stored, the second storage is used to provide the data to be stored to the target device. In this way, the storage and reading performance of the data can be improved.

[0106] Based on the same inventive concept, an electronic device, a readable storage medium, and a computer program product are also provided in an embodiment of the present application. The method corresponding to the electronic device can be the method for previewing live content in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method. The electronic device provided in an embodiment of the present application includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.

[0107] An electronic device can be a user device, or a device formed by integrating a user device and a network device via a network, or an application running on any of the above devices. User devices include, but are not limited to, computers, mobile phones, tablets, smart watches, wristbands, and other terminal devices. Network devices include, but are not limited to, network hosts, single network servers, multiple network server clusters, or cloud computing-based computer clusters, and can be used to implement some of the processing functions required for setting an alarm. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing. Cloud computing is a type of distributed computing, consisting of a virtual computer composed of a group of loosely coupled computers.

[0108] Figure 6 The structure of an electronic device suitable for implementing the method and / or technical solution in the embodiment of the present application is shown. The electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 into the random access memory (RAM) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other through bus 606. Input / output (I / O) interface 604 is also connected to bus 606.

[0109] The following components are connected to the I / O interface 604: an input section 606 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, etc.; an output section 607 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), an LED display, an OLED display, etc., and a speaker; a storage section 608 including one or more computer-readable media such as a hard disk, an optical disk, a magnetic disk, a semiconductor memory, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet.

[0110] In particular, the methods and / or embodiments in the embodiments of the present application can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the method of the present application are performed.

[0111] Another embodiment of the present application further provides a computer-readable storage medium and a computer program product, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application.

[0112] Specifically, the present embodiment can adopt any combination of one or more computer-readable media.Computer-readable media can be computer-readable signal media or computer-readable storage media.Computer-readable storage media can be, for example, systems, devices or components including but not limited to electricity, magnetism, light, electromagnetic, infrared, or semiconductors, or any combination thereof.More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof.In this document, computer-readable storage media can be any tangible medium containing or storing a program that can be used by an instruction execution system, device or device or used in combination with it.

[0113] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0114] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0115] The computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0116] The flow chart or block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the equipment, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code include one or more executable instructions for realizing the logical function of the specification. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs the function or operation of the specification, or can be implemented with a combination of dedicated hardware and computer instructions.

[0117] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0118] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules and units is only a logical function division. There may be other division methods in actual implementation. For example, with units as an example, for example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0119] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0120] In addition, the functional modules and units in the various embodiments of the present application may be integrated into a single processing module or unit, or each module or unit may exist physically separately, or two or more units may be integrated into a single module or unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional modules or units.

[0121] The above-mentioned integrated modules and units implemented in the form of software functional modules and units can be stored in a computer-readable storage medium. The above-mentioned software functional modules and units are stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program code.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

[0123] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in a device claim may also be implemented by a single unit or device through software or hardware. Terms such as "first" and "second" are used to indicate names and do not imply any particular order.

Claims

1. A method for previewing live content, comprising: Generate a preview video based on the live broadcast content of the live broadcast room; In response to a request from a viewer user to enter a live broadcast room, determining the viewing authority of the viewer user for the live broadcast room; In response to the viewing permission being the first permission type, the preview video is used as a substitute for the live content, and the preview video is played to the audience user using the live broadcast room.

2. The method according to claim 1, wherein The method of generating a preview video based on the live broadcast content of the live broadcast session being broadcast in the live broadcast room includes: In response to a host user in the live broadcast room initiating a preview video generation request, presenting a live broadcast progress bar of the live broadcast content to the host user; In response to the anchor user providing a collection time interval using the live broadcast progress bar, the preview video is generated based on the live broadcast content and the live broadcast video stream of the portion corresponding to the collection time interval.

3. The method according to claim 2, further comprising: The live broadcast progress bar is associated with the playback progress of the live broadcast content and presents the live broadcast room interaction data at the time corresponding to the playback progress.

4. The method according to claim 2, further comprising: Presenting a capture time interval extractor whose upper limit of length is equivalent to the upper limit of capture length of the preview video in the live broadcast progress bar; as well as In response to the host user providing a capture time interval using the live broadcast progress bar, generating the preview video based on the live broadcast content and the live video stream corresponding to the capture time interval includes: In response to the anchor user providing a collection time interval using the collection time interval extractor, the preview video is generated based on the live video stream of the live content and the portion corresponding to the collection time interval.

5. The method according to claim 1, wherein The method of generating a preview video based on the live broadcast content of the live broadcast session being broadcast in the live broadcast room includes: In response to the live interactive data in the live broadcast room being greater than or equal to a data threshold during the target time interval, the preview video is generated based on the live video stream of the live content corresponding to the target time interval, wherein the live interactive data includes the number of barrages and the number of interactive props, and the data threshold includes a barrage number threshold corresponding to the number of barrages and a prop number threshold corresponding to the number of interactive props.

6. The method according to claim 1, wherein In response to the viewing permission being the first permission type, using the preview video as a substitute for the live content, and playing the preview video to the viewer user in the live broadcast room, includes: In response to the viewing permission being a first permission type and there being at least two preview videos, determining a target preview video from the at least two preview videos based on a generation time sequence; The target preview video is used as a substitute for the live broadcast content, and the target preview video is played to the audience user using the live broadcast room.

7. The method according to claim 1, wherein In response to the viewing permission being the first permission type, using the preview video as a substitute for the live content, and playing the preview video to the viewer user in the live broadcast room, includes: In response to the viewing permission being of the first permission type and there being at least two preview videos, determining a target preview video based on selection results of the at least two preview videos by the anchor user in the live broadcast room; The target preview video is used as a substitute for the live broadcast content, and the target preview video is played to the audience user using the live broadcast room.

8. The method according to claim 1, further comprising: In response to completing the playback of the preview video, an access entry for obtaining a second permission type is presented to the viewer user.

9. The method according to claim 1, further comprising: Generating recommendation information for recommending the live broadcast room to target audience users using the preview video, wherein the viewing permissions of the target audience users for the live broadcast room are all of the first permission type; The recommendation information is sent to the target audience user.

10. A device for previewing live content, comprising: A preview video generation module is configured to generate a preview video based on the live broadcast content of the live broadcast session being broadcasted in the live broadcast room; A viewing authority determination module is configured to determine the viewing authority of the viewer user for the live broadcast room in response to a viewer user requesting to enter the live broadcast room; The preview video playback module is configured to, in response to the viewing permission being the first permission type, use the preview video as a substitute for the live content and play the preview video to the audience user using the live broadcast room.

11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.

12. A computer-readable medium, characterized in that Computer program instructions are stored thereon, and the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9.