Comment information display and interaction method, device, electronic device, and storage medium
By preloading and segmenting comment information into a barrage file, the method addresses inefficient comment display in video playback systems, enhancing loading speed and interactivity.
Patent Information
- Application Number
- JP2022542419
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-02-07
- Filing Date
- 2021-02-05
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-02-05
AI Technical Summary
Existing video playback systems require a long interaction path to access comment information, leading to increased loading times and inefficient display of comments during short video playback.
A method and device for preloading and segmenting comment information into a barrage file based on playback rules, allowing simultaneous display of video and comments by scrolling the barrage file, with filtering and ranking to enhance display efficiency and interactivity.
The solution reduces comment loading time and improves display efficiency by preloading and ranking comment information, enabling smooth and interactive comment viewing during video playback.
Smart Images

Figure 0007533836000008 
Figure 0007533836000003 
Figure 0007533836000010
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of computer technology, and more particularly to a method, device, electronic device, and storage medium for displaying and interacting with comment information.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This disclosure claims priority to Chinese patent application Ser. No. CN202010082941.X, filed with the China State Intellectual Property Office on Feb. 7, 2020, the entire contents of which are incorporated herein by reference in their entirety. [Background technology]
[0003] With the acceleration of the rhythm of life, more and more users tend to watch short videos to get information. The display interface of the short video on the user side is always provided with a comment area for users to express their thoughts on the video. Because the length of the comment area is not always limited and the comment content is rich and interesting, users choose to browse the comment information while or after watching the video content. However, in order to present more video information on the video navigation page, the comment page is often placed at the next level (interaction path) of the video playback page, that is, when a user wants to access the comments on a certain video, he or she needs to enter the comment area of the comment page from the video playback page to realize browsing the comments and posting the comments. This way of browsing the comments requires a long path, making it difficult for users to quickly browse the corresponding comment content.
[0004] In the prior art, loading comment information requires a long loading time in order to simultaneously display the video content and the comment information, which results in the comment information not being displayed smoothly during the playback of the short video. Summary of the Invention [Problem to be solved by the invention]
[0005] This Summary section is not intended to identify key features or necessary features of the technical solution for which protection is sought, nor is it intended to limit the scope of the technical solution for which protection is sought. [Means for solving the problem]
[0006] In embodiment 1 of the present disclosure, Obtaining comment information for a plurality of target videos in a video set; generating a barrage (comment group) file based on the comment information; When playing any of the target videos in the video set, segmenting and loading the barrage file according to a predetermined playback rule, and displaying each comment information by scrolling the barrage file. A method for displaying comment information is provided.
[0007] In embodiment 2 of the present disclosure, Displaying comment information according to the comment information display method described in any one of the above technical solutions; When receiving a command to open a comment interface for any comment information, displaying the comment interface of the comment information on the current playback interface in response to the command; receiving sub-comment information for the comment information in the comment interface; Provide a comment information interaction method.
[0008] In embodiment 3 of the present disclosure, a comment information obtaining module for obtaining comment information of a plurality of target videos in a video set; a barrage file generation module for generating a barrage file based on the comment information; A display module for segmenting and loading the barrage file according to a predetermined playback rule when playing any target video in the video set, and displaying each comment information by scrolling the barrage file; A comment information display device is provided.
[0009] In embodiment 4 of the present disclosure, A comment information display module for displaying comment information according to the comment information display method described in any one of the above technical solutions; a comment interface display module for displaying a comment interface of any comment information on a current playback interface in response to the comment interface display command when the comment interface display command is received; a sub-comment information module for receiving sub-comment information for the comment information in the comment interface; Provide an interaction device for comment information.
[0010] In embodiment 5 of the present disclosure, A memory and a processor, A computer program is stored in the memory, When the processor executes the computer program, the processor is used to realize the method of embodiment 1 or embodiment 2. Provide electronic devices.
[0011] In a sixth aspect of the present disclosure, A computer program is stored in the When the computer program is executed by a processor, the method of embodiment 1 and embodiment 2 are realized. A non-transitory computer-readable storage medium is provided. Effect of the Invention
[0012] The beneficial effects of the technical solution of the present disclosure are as follows:
[0013] In the display form of comment information according to the present disclosure, the client obtains comment information of multiple target videos, realizes preloading of the comment information, and quickly loads the corresponding comment information when playing the target video, thereby shortening the loading time of the comment information and contributing to smoothly displaying the comment information on the playback interface of the target video.
[0014] In addition, the present disclosure integrates the comment information waiting to be displayed into the form of a barrage file, that is, comment information corresponding to multiple target videos is collected in one barrage file, and when a target video in a video set is played, the corresponding barrage file is loaded, and the comment information in the barrage file is scrolled in order on the playback interface. Compared with the prior art scheme in which one barrage file corresponds to a single video, the present disclosure provides a new barrage display scheme.
[0015] The display form of comment information according to the present disclosure displays each target video and each comment information in association with each other, thereby simultaneously displaying the target video and its comment information. By obtaining the comment information of all target videos and realizing preloading of all comment information, and ranking the comment information according to the playback order of the target videos, it is possible to quickly load the barrage file of the corresponding segment when playing the target video. Preloading and ranking the comment information in the barrage file reduces the loading time of each comment information in the barrage file, contributing to improving the display efficiency of the comment information displayed on the playback interface of the target video.
[0016] Furthermore, the display format of comment information according to the present disclosure can load comment information for all target videos by simply calling up the barrage file once, further improving the efficiency of loading comment information and resolving the problem of comment information not being able to be displayed in barrage format due to the comment information taking too long to load.
[0017] The comment information waiting to be displayed according to the present disclosure is subjected to selection, filtering, and ranking of the comment information, so that the selected comment information waiting to be displayed can be used to display popular comments or typical comments, and by filtering the selected comment information waiting to be displayed, the number of characters and content of the comment information waiting to be displayed conforms to the standard for displaying a barrage of comments in short videos.
[0018] In the comment information interaction form of the present disclosure, when comment information is scroll-displayed on the playback interface of the current target video, upon receiving a command to expand the comment interface for any comment information, sub-comment information of the comment information is formed in the comment interface, and interaction with the comment information is performed, which contributes to improving the popularity of the comment information and enhancing the interactivity between different users. [Brief description of the drawings]
[0019] The above and other features, advantages and aspects of each embodiment of the present disclosure will become more apparent with reference to the drawings and the following specific embodiments. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the materials and elements are not necessarily drawn to scale.
[0020] [Figure 1] 1 is a flowchart of a comment information display method according to an embodiment of the present disclosure. [Diagram 2] 11 is a flowchart illustrating a process for generating barrage information by ranking comment information according to an embodiment of the present disclosure. [Diagram 3] 13 is a flowchart of determining comment information to be displayed in each comment information segment according to an embodiment of the present disclosure; [Figure 4]13 is a flowchart showing a process of segmenting and loading the barrage file according to a predetermined playback rule and displaying each comment information by scrolling the barrage file according to another embodiment of the present disclosure. [Figure 5a] FIG. 2 is a diagram showing an interface display of a target video according to an embodiment of the present disclosure, in which the display interface focuses on video description information of popular videos. [Figure 5b] FIG. 13 is an interface display diagram of popular videos according to an embodiment of the present disclosure. [Figure 6] 1 is a flowchart of a comment information interaction method according to an embodiment of the present disclosure. [Figure 7a] FIG. 13 is a schematic diagram of receiving a command to open a comment interface for any comment information according to an embodiment of the present disclosure. [Figure 7b] FIG. 11 is a schematic diagram of a comment interface of the comment information being displayed on the current playback interface in response to the expansion command according to an embodiment of the present disclosure; [Figure 8] 1 is a structural schematic diagram of a comment information display device according to an embodiment of the present disclosure. [Figure 9] FIG. 2 is a structural schematic diagram of a comment information interaction device according to an embodiment of the present disclosure; [Figure 10] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the drawings show some embodiments of the present disclosure, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein, but on the contrary, these embodiments are provided for a clearer and more complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are merely illustrative and are not intended to limit the scope of protection of the present disclosure.
[0022] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. Also, method embodiments may include additional steps and / or steps that are shown omitted from the execution. The scope of the present disclosure is not limited in this respect.
[0023] As used herein, the term "comprising" and variations thereof are open inclusive, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" refers to "at least one embodiment." The term "another embodiment" refers to "at least one other embodiment." The term "some embodiments" refers to "at least some embodiments." Relevant definitions of other terms are provided below.
[0024] It should be noted that the concepts of "first", "second", etc. used in this disclosure are merely intended to distinguish between devices, modules or units, and are not intended to limit these devices, modules or units to being necessarily different devices, modules or units, nor are they intended to limit the order or interdependence of functions performed by these devices, modules or units.
[0025] It should be understood by those of skill in the art that the modifications "one" and "multiple" referred to in the present disclosure are exemplary and not limiting, and should be understood as "one or more" unless otherwise specified in the specification.
[0026] Hereinafter, the technical solution of the present disclosure and how the technical solution of the present disclosure solves the above technical problems will be described in detail through specific examples. Hereinafter, some specific examples can be combined with each other, and the same or similar concepts or processes may be omitted in some examples. Hereinafter, the embodiments of the present disclosure will be described with reference to the drawings.
[0027] Referring to Fig. 1, the present disclosure provides a comment information display method, and the flowchart of the comment information display method in one embodiment is shown in Fig. 1. The method can be performed by an electronic device, and the electronic device can be a terminal device, and the terminal device can be a computer device including a desktop device or a mobile terminal. The application scenarios of the present disclosure are as follows:
[0028] The client transmits a video playback request to the server side, receives target videos waiting to be played and comment information associated therewith transmitted by the server in response to the request, ranks the comment information corresponding to a plurality of target videos in a video set, generates a barrage file based on the ranked comment information, segments and loads the barrage file according to a predetermined playback rule, and when playing a certain target video, displays the target video and the comment information at the same time by loading the barrage file of the corresponding segment.
[0029] Specifically, the comment information display method according to the embodiment of the present disclosure includes the following steps, as shown in FIG.
[0030] At S110, comment information of multiple target videos in a video set is obtained.
[0031] In S120, a barrage file is generated based on the comment information.
[0032] In S130, when any of the target videos in the video set is played back, the barrage file is segmented and loaded according to a predetermined playback rule, and each comment information is displayed by scrolling the barrage file.
[0033] The target video according to the present disclosure is preferably a short video waiting to be played or an audio file having a related display image, and the multiple target videos in the video set in step S110 may be video files with a related relationship (including the information such as topics, keywords, etc. of the two video files being the same or corresponding) or may be video files without a related relationship. The multiple target videos may be represented in the form of a playlist or a navigation page, and the comment information of the target video may be represented in the form of characters, figures, patterns, codes, etc., and the comment information may be all the comment information for the target video. The comment information may be a part of the comment information selected according to the selection rules, such as selected popular comments, typical comments, etc. The comment information may include lower-level comment information that comments on the comment information, that is, secondary comments (which may also be called second-level comments, re-comments, etc.), tertiary comments, Nth-level comments, etc.
[0034] The client obtains comment information of multiple target videos, realizes preloading of the comment information, and quickly loads the corresponding comment information when playing the target video, thereby shortening the loading time of the comment information and contributing to smoothly displaying the comment information on the playback interface of the target video.
[0035] Alternatively or additionally, when obtaining comment information of a target video, it is necessary to obtain the user ID of the comment user, including information such as user name, user icon, user level, user status, etc., and the user ID clarifies the poster information of the comment information.
[0036] In step S120, a barrage file is generated based on the comment information. In an embodiment according to the present disclosure, preferably, generating a barrage file after ranking the comment information includes the following two cases.
[0037] Case 1: First, the comment information is segmented to form multiple comment information segments, each of which corresponds to a target video; then, the comment information segments are ranked according to the playback order of the target videos to form a barrage file; and the corresponding comment information is loaded and played according to the playback order of the target videos in the video set. In this case, the target videos in the video set can be applied to all videos regardless of whether they are relevant.
[0038] Case 2: The comment information is ranked according to a predetermined ranking rule, a barrage file is formed based on the ranked comment information, and when a target video in the video set is played, the comment information is scrolled and played in the sorted order. In this case, the comment information and the target video do not need to be displayed in correspondence with each other, that is, the comment information of a target video that is played later in the order of playback can be displayed in a target video that is played earlier in the order of playback. In this case, it is only applied to target videos that have an associated relationship in the video set.
[0039] In response to the above two cases, displaying each comment information by scrolling the barrage file in step S130 includes the following two cases.
[0040] For the above case 1, a comment information segment corresponding to each target video is formed, and a barrage file waiting to be scrolled and played is formed based on the comment information segment. When any of the target videos is played in the video playback interface, the comment information corresponding to the currently played target video is displayed in the video playback interface by scrolling the barrage file, thereby realizing that all of the comment information displayed in the target video is related comment information.
[0041] For the above case 2, the mixed comment information is ranked according to a predetermined ranking rule, and when any video is played on the video playback interface, the comment information corresponding to the multiple target videos in the video set is displayed on the video playback interface by scrolling the barrage file. In this display manner, the comment information does not need to be played corresponding to the corresponding target video, and when one target video is played, the comment information corresponding to the multiple target videos can be scrolled on top of it, so that the user can know in advance the content of the subsequent target video waiting to be played based on the comment information displayed on the current playback interface.
[0042] The predetermined playing rule in step S130 includes playing the target videos in the playlist or navigation page in order, or looping one of the target videos.
[0043] The present disclosure determines the ranking result of each comment information based on the playback order of the target video, that is, the playback order of the target video matches the sorting order of the comment information segments, and when the target videos are played in order, the corresponding comment information segments can be loaded in order to display the comment information segments corresponding to the target videos, and there is no need to re-execute the operation of invoking the mapping relationship between the target videos and the comment information segments and determining the corresponding comment information segments based on the target videos waiting to be played, reducing the time to load the corresponding comment information segments and improving the efficiency of loading the barrage file. When any target video in the video set is played in a loop, the played target video is played back. In such a case, the comment information corresponding to the target video is called back based on the playback history record to perform the barrage display, thereby displaying the target video and the corresponding comment information at the same time. In addition, the sorting order of the comment information in the barrage file does not change, and there is no need to load the barrage file again, which contributes to shortening the loading time of the corresponding comment information.
[0044] In addition, in the embodiment according to the present disclosure, when switching and playing the target video, the step of segmenting and loading the barrage file in accordance with the predetermined playback rule can be realized by the following steps.
[0045] A1: When switching any one of the target videos to the next target video in the video set, obtain the loading position of the comment information displayed by the barrage file loaded before the switching.
[0046] A2: When switching to and playing the next target video, the barrage file is segmented and continues to be loaded from the load position according to a predetermined playback rule.
[0047] In a form related to an embodiment of the present disclosure, when switching target videos, subsequent barrage file segments in the barrage file are loaded in sequence; for example, when the barrage file has been loaded up to point S1 when playback of target video 1 ends, when switching to play target video 2, the barrage file is loaded in sequence from point S1, thereby avoiding repeatedly loading the same barrage file segments when playing different target videos, i.e., avoiding repeatedly displaying the same comment information on different target videos.
[0048] The present disclosure displays each target video in association with each comment information by scrolling the barrage file, i.e., while playing a target video, the corresponding comment information is displayed by the barrage, and before that, the playback start point of the barrage file is aligned with a preset time of the target video waiting to be played, so that when the target video waiting to be played is played at the preset time, it is played in sync with the comment information, and the preset time may be set to be the same as the start point of the target video, or may be set to s seconds after playback of the target video begins, where s is a positive integer.
[0049] When playing a target video in a video set, after the playback of one target video is finished, the next target video in the playlist and the barrage file segment corresponding to the target video in the barrage file are loaded, so that the target video and corresponding comment information are associated and displayed. Since the preloading of the barrage file has been realized in step S110, when playing the next target video, the corresponding comment information in the barrage file can be quickly loaded, and the loading speed of the comment information corresponding to the target video can be increased.
[0050] In addition, the present disclosure integrates the comment information waiting to be displayed into the form of a barrage file, that is, comment information corresponding to multiple target videos is collected in one barrage file, and when a target video in a video set is played, the corresponding barrage file is loaded, and the comment information in the barrage file is scrolled in order on the playback interface. Compared with the prior art method in which one barrage file corresponds to a single video, the present disclosure provides a new barrage display method.
[0051] In order to make the display form, interaction form and technical effects of the comment information according to the present disclosure clearer, specific embodiments thereof will be described in detail below through a number of examples.
[0052] For the above-mentioned Case 1, in one embodiment thereof, the step of ranking the comment information to generate the barrage information in step S120 can be realized in the following manner, the flow chart of which is shown in FIG. 2, including the following steps:
[0053] In S121, the comment information is segmented according to a comment topic of the comment information to obtain a plurality of comment information segments.
[0054] At S122, the comment information segments are ranked according to the playing order of the target video.
[0055] In S123, each comment information in each comment information segment is selected according to a predetermined selection rule, and the comment information waiting to be displayed in each comment information segment is determined.
[0056] In S124, a barrage file is generated based on the playback order of the target video and the comment waiting to be displayed information.
[0057] According to a comment topic or comment target of the comment information, the comment topic or comment target is an ID of the target video, and the ID of the comment topic can be added when obtaining the comment information of the target video, so as to segment the comment information based on the subsequent comment ID to obtain multiple comment information segments.
[0058] Divide the comment information according to comment topics or comment targets to form a plurality of comment information segments corresponding to the target video, rank the plurality of comment information segments according to the playback order of the target video, obtain a ranking result of the plurality of comment information segments, and make the sorting order of the comment information segments coincide with the playback order of the target video.
[0059] Each comment information segment includes at least one comment information. In order to clarify the playback order of each comment information in the comment information segment, each comment information needs to be further selected. The standard for selecting the comment information can be according to the popularity value or number of comments, the number of "Like" clicks, etc. of each comment information.
[0060] For each piece of comment information in each comment information segment, a selection rule is used to select each piece of comment information, and the comment information waiting to be displayed in the comment information segment is determined. Since the comment information waiting to be displayed needs to be displayed on the screen by the barrage of comments, comment information waiting to be displayed that matches the barrage of comments is selected from the multiple comment information. For example, multiple pieces of comment information that are ranked high in popularity value can be used as the comment information waiting to be displayed.
[0061] Alternatively or additionally, the method may further include, before step S122, obtaining a playback order of each target video in the playlist, and the playback order may be obtained by ranking according to a predetermined rule. When comment information for each target video is obtained by step S110 and the comment information includes all comment information of each target video, the step of generating a barrage file based on the comment information not only includes ranking the comment information segments corresponding to each target video, but also includes ranking each comment information in each comment information segment, so as to clarify the playback order of each comment information segment and each comment information in the segment.
[0062] Specifically, the corresponding comment information segments are ranked according to the playback order of each target video, and a barrage file is generated based on the ranked comment information, and the generated barrage file includes comment information segments corresponding to each target video, and each comment information segment includes popular comments, typical comments, etc., which are selected according to a predetermined selection rule and / or ranked according to a predetermined ranking rule, and may further include subordinate comment information commented on the popular comment or typical comment, and taking the popular comment as an example, the barrage file folds the subordinate comment information for the popular comment, and displays only the popular comments in the playback interface, and when an expansion command for the popular comment is received, the comment page of the popular comment is expanded to display the subordinate comment information. Since the playback time of a short video is limited and both the number and length of comment information scrolled and played on the playback interface of the target video are limited, the comment information in the barrage file according to the present disclosure is selected, and comment information that matches the display number and display length is selected, thereby increasing the amount of information of the comment information displayed corresponding to the target video and improving the user experience.
[0063] The display form of comment information in an embodiment of the present disclosure displays each target video in association with each piece of comment information, and scrolls the comment information of the target video using a barrage of comments, thereby simultaneously displaying the target video and the corresponding comment information.
[0064] The display form of comment information according to the present disclosure obtains the comment information of all target videos, realizes preloading of all comment information, and ranks the comment information segments according to the playback order of the target videos, so that when the target videos are played, the barrage files of the corresponding segments can be quickly loaded. Preloading and ranking the comment information in the barrage file reduces the loading time of each comment information in the barrage file, and contributes to improving the display efficiency of the comment information displayed on the playback interface of the target videos.
[0065] In addition, the present disclosure enables the loading of comment information for all target videos by simply calling the barrage file once, further improving the efficiency of loading comment information and solving the problem of comment information not being able to be displayed in barrage format due to the comment information taking too long to load.
[0066] Alternatively or additionally, the popularity value ranking can filter multiple previous comment information to form comment information waiting to be displayed whose character count and content meet the barrage display standard, and filter comment information whose content is duplicated.
[0067] Alternatively or additionally, the present disclosure may rank the comment information waiting to be displayed after sorting and filtering, and may rank the comment information waiting to be displayed according to the popularity value of the comment information, where the higher the popularity value, the higher the comment information is in the front of the sort order. The comment information waiting to be displayed may be ranked by the time of reception, where the earlier the comment information is received, the higher the comment information is in the front of the sort order. The comment information waiting to be displayed may be ranked in other customized manners. The above are merely examples and are not intended to limit the ranking method of the present disclosure.
[0068] The comment information waiting to be displayed according to the present disclosure is subjected to selection, filtering, and ranking of the comment information, so that the selected comment information waiting to be displayed can be used to display popular comments or typical comments, and by filtering the selected comment information waiting to be displayed, the number of characters and content of the comment information waiting to be displayed conforms to the standard for displaying a barrage of comments in short videos.
[0069] According to the above method, the barrage file generated after ranking the comment information includes comment information segments whose order is the same as the playback order of the target video, and each comment information in the comment information segment is also selected so that the subsequently loaded comment information waiting to be displayed is directly displayed on the playback interface of the target video, so that the user can easily obtain related comment information directly while viewing the target video, reducing the time for loading comment information and improving loading efficiency.
[0070] Alternatively or additionally, the step of determining the comment information to be displayed in each comment information segment in step S123 can be realized in the following manner, the flow chart of which, as shown in FIG. 3, includes the following steps:
[0071] In S310, video information of a target video is obtained, and video description barrage information is formed based on the video information.
[0072] In S320, the selected comment information is arranged in sequence after the video description barrage information to form comment information waiting to be displayed.
[0073] Here, the video information of the target video includes information such as video title, video content information, related information of the video uploader, video size, video classification, video score, etc., so that the user can know the main information or brief introduction of the video, and the video description barrage includes at least one of the title and video content information of the target video.
[0074] The embodiment of the present disclosure forms a video description barrage based on the video information of a target video, and displays the barrage by ranking the video description barrage first, i.e., when playing a barrage file corresponding to each target video, first the video description barrage of the target video is played, and then selected comment information is displayed, and the comment information is ranked according to a predetermined ranking rule so that the user can know the video information of the target video and the comment information thereof by looking at the comment information waiting to be displayed that is being scrolled and played.
[0075] In a preferred embodiment, the step of segmenting and loading the barrage file according to a predetermined playback rule in step S130 and displaying each comment information by scrolling the barrage file includes the following steps, the flow of which is shown in FIG.
[0076] At S410, a load request for a barrage file segment corresponding to the target video is sent.
[0077] In S420, it is determined whether the barrage file segment is completely loaded within the response time limit of the load request.
[0078] If the result is NO in S430, the part of the comment information that has been loaded is displayed in a loop, and a load request for the remaining comment information included in the barrage file segment is transmitted.
[0079] In S440, if the answer is YES and the difference between the playing time of the target video and the display time of the complete comment information in the barrage file segment exceeds the threshold, loop display the loaded comment information.
[0080] For one target video, send a load request for the barrage file segment corresponding to the target video, and first detect whether the received barrage file segment contains complete comment information within the response deadline of the load request. If YES, detect the difference between the playback time of the target video and the display time when the comment information is completely displayed, and if the playback time of the target video and the display time of the complete comment information do not exceed a preset threshold, display each target video in association with the comment information. If the playback time of the target video and the display time of the complete comment information exceed the preset threshold (here, the difference between the playback time of the target video and the display time of the loaded comment information exceeds the preset threshold, it means that the playback time of the target video exceeds the preset time of the display time of the comment information, that is, the playback time of the comment information is short and more comment information can be displayed before the playback of the target video ends), display the loaded comment information in a loop.
[0081] If the barrage file segment is not completely loaded within the response time limit for the load request, the loaded comment information is displayed in a loop, and a load request for the remaining comment information included in the barrage file segment is sent until the corresponding barrage file segment is completely loaded, and the complete comment information is obtained.
[0082] In an embodiment of the present disclosure, in the case of a weak network, when the comment information is not fully loaded within the response deadline for the load request and there is little comment information in the barrage file, the loaded comment information is displayed in a loop to ensure that the comment information is displayed on the playback interface of the target video.
[0083] In a preferred embodiment, the method further comprises the steps of: before the step of displaying each comment information by scrolling the barrage file in step S130, B1. Obtaining a popularity value of each comment information; B2. Displaying the popularity value at the top of a comment panel of the corresponding comment information; The method further includes:
[0084] The participation count of each comment information is counted, the participation count includes the number of edits and views of the comment information, where the edits of the comment information include operations such as forwarding, commenting, clicking "like" and clicking "favorite", and the popularity value of the comment information is determined based on the participation count, and the participation count of the comment information is proportional to the popularity value. The popularity value of each comment information is displayed at the top so that users can quickly know the popularity value of the comment information.
[0085] The above embodiment is a form in which a target video and its comment information are displayed in a corresponding manner, and when a video set includes multiple target videos that are related to each other, that is, when multiple target videos in a video set are related to each other, and multiple here means two or more, a barrage file can be generated based on comment information in the following form. Specifically, it is as follows.
[0086] C1. According to a predetermined sorting and ranking rule, sort and rank the comment information to determine the comment information to be displayed.
[0087] C2. A barrage file of the video set is generated based on the display-ready comment information.
[0088] Here, the related target videos are target videos that satisfy a predetermined association rule (two videos may have the same keyword, topic, etc.), and may be, for example, a video set formed of target videos that have the same topic. For example, if "person X", "person Y", and "person Z" appear in the keywords of one target video, all videos whose video keywords include any of the above keywords are related videos of the target video, and forming a video set based on the related videos makes it easier to form a video set that matches the user's preferences, improving the user experience.
[0089] In the embodiment of the present disclosure, the acquired comment information may be sorted and ranked according to a predetermined sorting and ranking rule. First, comment information segments corresponding to the target videos in the video set may be acquired, these comment information segments may be mixed, and the mixed comment information may be sorted according to a predetermined sorting rule. Preferably, the comment information is sorted according to the above-mentioned predetermined sorting rule, the comment information is ranked according to the above-mentioned ranking rule, the order of sorting and ranking is not limited, and comment information waiting to be displayed having a sorting order is acquired, and a barrage file is generated based on the comment information waiting to be displayed according to the above-mentioned generation rule.
[0090] According to the embodiment of the present disclosure, when a video set plays the first target video, comment information corresponding to the target video that is last in the playback order in the video set can be displayed, making it easy for a user to know in advance the comment information of the target videos with other playback orders, and it is possible to realize that the most popular comment information among the comment information is displayed in the target video that is played first, thereby increasing the attractiveness of the video set and contributing to increasing the playback probability and playback time of the video set.
[0091] In one preferred embodiment, the method further comprises the steps of: displaying each comment information by scrolling the barrage file in step S130; D1. Obtaining popular videos related to a currently played target video in real time; D2. Obtaining related information between the target video and the popular video, and forming video description information of the popular video according to the related information; D3. Displaying the video description information in a predetermined area of a display interface of the target video; D4. When a display command for the popular video is received in the predetermined area, playing the popular video in response to the display command; The method further includes:
[0092] The video related to the currently played target video is obtained in real time according to a predetermined association rule, and the predetermined association rule may be that the two videos have the same keyword, topic, etc. When there are multiple videos related to the currently played target video, the video that meets the condition is selected and determined based on a predetermined selection condition, for example, a popular video that is the most popular video, and a video that has a higher predetermined priority than the current target video, such as a sudden event video, a critical event report, etc., are selected and determined. The embodiment of the present disclosure obtains the popular video related to the current target video in real time, and obtains the association information between the target video and the related popular video. The association information may be a video topic, a keyword, etc., and the video description information of the popular video is formed based on the association information, thereby contributing to improving the playback amount of the popular video, and the video description information is displayed in a predetermined area of the display interface of the target video. The predetermined area may be any position of the display interface, such as the lower left of the display interface, the upper right of the display interface, the left of the display interface, etc. This allows a user to transmit a display command for a popular video via a predetermined area, and the terminal responds to the display command by playing the popular video, thereby increasing the amount of playback of the popular video and user loyalty.
[0093] The embodiment of the present invention can be explained by the interface display diagram shown in FIG. 5. FIG. 5a is an interface display diagram of a target video, in which a popular video is displayed on the display interface, the target video is played on the interface display diagram, comment information 1, comment information 2, ... comment information N are scrolled on the playback interface of the target video, and the bottom of the playback interface also has video description information of related popular videos A+B. Here, A+B is a keyword in the video description information, and in the diagram, A+B represents the video description information of the popular video. FIG. 5b is an interface display diagram of a popular video, in which corresponding comment information i, comment information ii, ... comment information s, and video description information of other popular videos A+B+C related to the popular video are scrolled on the interface display diagram of the popular video. Here, A+B+C represents the video description information of other popular videos, for example, the content of the target video is that person X is being interviewed, and keywords such as "person X", "concert", and "person Y" appear in the interview video. Keywords can be formed based on video content, and the existence of related popular videos is searched for in real time based on these keywords, and the video description information of the related popular video, such as "Person X's concert, thinking of inviting Person Y", is displayed at the bottom left of the current display interface. When a display command for the popular video, which is formed by clicking, sliding, etc., in the area where the video description information is located, is received, in response to the display command, the video with the video description information "Person X's concert, thinking of inviting Person Y" is played.
[0094] The embodiment of the present disclosure may be applied to displaying a plurality of target videos that are not related to each other, or may be applied to displaying a target video that is related to each other. By displaying the video description information of the related popular video in a predetermined area of the display interface of the target video, a user can transmit a display command for the related popular video by performing an operation such as clicking on an area where the video description area is located, and the terminal displays the related popular video in response to the display command.
[0095] Alternatively or additionally, the present disclosure further provides a comment information interaction method. As shown in FIG. 6, a flowchart of the comment information interaction method according to an embodiment includes the following steps:
[0096] In S610, the comment information is displayed according to the comment information display method described in any of the above technical solutions.
[0097] In S620, when a command to open a comment interface for any comment information is received, the comment interface for the comment information is displayed on the current playback interface in response to the command.
[0098] In S630, the comment interface receives subordinate comment information for the comment information.
[0099] In the comment information interaction method according to the embodiment of the present disclosure, when comment information is scrolled and displayed on the playback interface of the current target video, if the terminal detects that it has received an unfold command (which may be a command formed by an operation such as clicking or touching) for displaying a comment interface for any comment information, the comment interface for the comment information is displayed on the current playback interface. The comment interface includes lower-level comment information and a comment area for the comment information, and the terminal can receive lower-level comment information for the comment information in the comment interface, and the lower-level comment information may be multi-level. Specifically, the lower-level comment information formed for the comment information is received in the comment area of the comment interface, and the lower-level comment information is formed for the comment information, forming an interaction of the comment information, which contributes to improving the popularity of the comment information and enhancing the interactivity between different users.
[0100] A schematic diagram of an interaction process according to one preferred embodiment is shown in FIG. 7. FIG. 7a is a schematic diagram of receiving an expansion command of a comment interface for any comment information, and receiving an expansion command for comment information 2, for example, receiving an expansion command for a comment interface for comment information 2, "Why am I laughing at the screen like an idiot...". FIG. 7b is a schematic diagram of displaying a comment interface for the comment information in the current playback interface in response to the expansion command, and sub-comment information (for example, comment information 21, comment information 22, ... comment information 2N) and a comment area appear in the comment interface. For example, the comment interface displays sub-comment information for the comment information, for example, "Person X thought that his sister's voice was also...", and also displays sub-comment information for the sub-comment information (for example, comment information 211), for example, "Haha, you're right. I think he thinks so". In FIG. 7b, there is a comment area below the sub-comment information, and sub-comment information for the comment information or sub-comment information for any of the sub-comment information can be input through the comment area. An @ mark and emoji are further provided on the right side of the comment area, and comment content can be quickly entered into the comment area and the @ target and emoji can be added, so that the sub-comment information can be shown to the target audience.
[0101] Alternatively or additionally, in order to facilitate a user to input sub-comment information for the comment information, the step of receiving sub-comment information for the comment information in the comment interface in step S630 includes: and positioning the waiting comment information in the expanded comment interface by causing an anchor point having a positioning mark to appear in a comment area of the comment interface.
[0102] In the embodiment of the present disclosure, the expanded comment interface is used by the client to input comment information. The comment area is used to input the waiting comment information. For convenience of explanation, the comment information that is the target of the waiting comment information is called waiting comment information. The waiting comment information may be comment information displayed in a barrage format or subordinate comment information of the comment information.
[0103] An anchor point having a positioning mark is displayed on the current display interface, for example, the location of the current anchor point is marked with high-brightness flashing or a different color, the input position of the waiting comment information and the position of the waiting comment information are made clear, the corresponding relationship between the waiting comment information and the waiting comment information is prevented from being deviated, and the input position of the waiting comment information and the waiting comment information position are realized accurately.
[0104] In a preferred embodiment, the method includes, after displaying a comment interface of the comment information on the current playback interface in response to the expanding command in S620, The method further includes performing a step of stopping scrolling display of a plurality of comment information in a playback interface until a trigger operation for closing the comment interface is detected.
[0105] The comment information is displayed on the playback interface of the target video being played. During this process, when an expansion command for certain comment information is received, the comment interface of the comment information is expanded and displayed in response to the expansion command. In the comment interface, lower level comment information that has been commented on the comment information may be displayed, or an editing interface for commenting on the comment information may be displayed, so that the user can easily comment on the comment information. At the same time, the playback of the multiple comment information being scrolled is paused, and the scrolling playback of the barrage file on the playback interface of the target video is resumed until a trigger operation for closing the comment interface, such as an operation of clicking, sliding, etc., is detected.
[0106] In this form, when a client receives an expansion command for comment information, the client displays the comment information and its subordinate comment information in the current interface, making it easier for the user to view complete information for the comment information; at the same time as expanding the comment interface, playback of the barrage file is paused, preventing the user from overlooking other comment information while viewing the expanded comment information; and the comment information in the barrage file continues to be scrolled until the comment interface is closed.
[0107] 8 shows a comment information display device according to another embodiment of the present disclosure, and as shown in FIG 8, the device according to the embodiment of the present disclosure includes a comment information acquisition module 810, a barrage file generation module 820, and a display module 830. Specifically, it is as follows.
[0108] The comment information obtaining module 810 is used for obtaining comment information of multiple target videos in a video set.
[0109] The barrage file generating module 820 is used to generate a barrage file based on the comment information.
[0110] The display module 830 is used to segment and load the barrage file according to a predetermined playback rule when playing any target video in the video set, and display each comment information by scrolling the barrage file.
[0111] Regarding the comment information display device in the above embodiment, the specific form of the execution operation of each module therein has already been described in detail in the embodiment of the method, and will not be described in detail here.
[0112] 9 is a comment information interaction device according to another embodiment of the present disclosure, the device of the embodiment of the present disclosure includes a comment information display module 910, a comment interface display module 920, and a sub-comment information module 930. Specifically, as follows:
[0113] The comment information display module 910 is used to display comment information according to the comment information display method described in any of the above technical solutions.
[0114] The comment interface display module 920 is used for, when receiving a command to open a comment interface for any comment information, displaying the comment interface of the comment information on the current playback interface in response to the command.
[0115] The sub-comment information module 930 is used for receiving sub-comment information for the comment information in the comment interface.
[0116] Regarding the comment information interaction device in the above embodiment, the specific manner of execution of each module therein has already been described in detail in the embodiment of the method, and will not be described in detail here.
[0117] Hereinafter, referring to FIG. 10, a structural schematic diagram of an electronic device (e.g., a terminal device 600 in FIG. 10) suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 10 is merely an example and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.
[0118] The electronic device includes a memory and a processor. The processor may be referred to as a processing unit 601 below, and the memory may include at least one of a read-only memory (ROM) 602, a random access memory (RAM) 603, and a storage device 608 below. Specifically, they are as follows:
[0119] 10, the electronic device 600 may include a processing unit (e.g., a central processor, a graphic processor, etc.) 601, which can execute various appropriate operations and processes based on a program stored in a read-only memory (ROM) 602 or loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 further stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0120] Typically, input devices 606 including, for example, a touch panel, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 607 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc., storage devices 608 including, for example, a magnetic tape, hard disk, etc., and communication devices 609 can be connected to the I / O interface 605. The communication devices 609 enable the electronic device 600 to communicate wirelessly or via wires with other devices to exchange data. Although FIG. 10 illustrates the electronic device 600 with various devices, it should be understood that it is not necessary to implement or include all the illustrated devices. Instead, more or fewer devices may be implemented or included.
[0121] In particular, according to an embodiment of the present disclosure, the process described with reference to the flowchart above may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network by the communication device 609, or may be installed from the storage device 608, or may be installed from the ROM 602. When the computer program is executed by the processing device 601, it performs the functions described in the method of the embodiment of the present disclosure.
[0122] It should be noted that the computer readable medium described in this disclosure may be a computer readable signal medium, a computer readable storage medium, or any combination of the above. The computer readable storage medium may be, for example, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, an electrical connection with one or more leads, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), an optical fiber, a portable compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program that can be used in or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program for use in or in conjunction with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
[0123] In some embodiments, the clients and servers may communicate using any now known or later developed network protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), a network off a network (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), and any now known or later developed network.
[0124] The non-transitory computer-readable storage medium may be included in the electronic device, or may exist independently and not be attached to the electronic device.
[0125] The non-transitory computer-readable storage medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the following: obtaining comment information of a plurality of target videos in a video set; generating a barrage file based on the comment information; when playing any of the target videos in the video set, segmenting and loading the barrage file according to a predetermined playback rule, and displaying each comment information by scrolling the barrage file; displaying comment information according to a comment information display method described in any of the above technical solutions; when receiving an expansion command of a comment interface for any of the comment information, displaying the comment interface of the comment information in the current playback interface in response to the expansion command, and receiving subordinate comment information for the comment information in the comment interface. Alternatively or additionally, when the one or more programs are executed by the electronic device, the electronic device executes one or more steps of the methods described in various embodiments of the present disclosure, and any combination of these methods.
[0126] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages or combinations thereof. Such programming languages may include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as one separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).
[0127] The flowcharts and block diagrams in the drawings illustrate possible functions and operations of the system, method, and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, program, or part of code, which includes one or more executable instructions for implementing a certain logical function. It should be noted that in some alternative implementations, the functions described in the blocks may occur in a different order than the order described in the drawings. For example, two blocks shown as connected may actually be executed substantially in parallel or in reverse order depending on the related functions. Also, each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart may be implemented in a system based on dedicated hardware that executes a certain function or operation, or may be implemented in a combination of dedicated hardware and computer instructions.
[0128] The modules or units according to the embodiments of the present disclosure may be implemented in a software or hardware manner, and the names of the modules or units, if any, do not limit the modules or units themselves.
[0129] The functionality of the present invention may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0130] In the present specification, a non-transitory computer-readable storage medium may be a tangible medium that can contain or store a program used in or in conjunction with an instruction execution system, apparatus, or device. A non-transitory computer-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of a non-transitory computer-readable storage medium include an electrical connection by one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only disk (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0131] According to one or more embodiments of the present disclosure, Obtaining comment information for a plurality of target videos in a video set; generating a barrage file based on the comment information; When playing any of the target videos in the video set, the barrage file is segmented and loaded according to a predetermined playback rule, and each comment information is displayed by scrolling the barrage file; The present invention provides a comment information display method, including:
[0132] Preferably, the step of displaying each comment information by scrolling the barrage file includes: When any of the target videos is played on a video playback interface, comment information corresponding to the played target video is displayed on the video playback interface by scrolling the barrage file.
[0133] Preferably, the step of displaying each comment information by scrolling the barrage file includes: When any of the target videos is played in a video playback interface, comment information corresponding to the plurality of target videos in the video set is displayed in the video playback interface by scrolling the barrage file.
[0134] When switching and playing the target video, the step of segmenting and loading the barrage file according to the predetermined playback rule includes: When switching any one of the target videos to a next target video in the video set, acquiring a loading position of comment information displayed by the barrage file loaded before switching; When switching to the next target video for playback, continue to segment and load the barrage file from the loading position according to a predetermined playback rule; Includes.
[0135] Preferably, the step of generating a barrage file based on the comment information includes: Segmenting the comment information according to a comment topic of the comment information to obtain a plurality of comment information segments; ranking the comment information segments according to a playing order of the target video; Selecting each comment information in each comment information segment according to a predetermined selection rule, and determining comment information waiting to be displayed in each comment information segment; generating a barrage file based on the playback order of the target video and the comment waiting to be displayed information; Includes.
[0136] Preferably, the step of determining the comment information to be displayed in each comment information segment includes: Obtaining video information of a target video and forming video description barrage information based on the video information; arranging the selected comment information in order after the video description barrage information to form comment information waiting to be displayed; Includes.
[0137] Preferably, the step of segmenting the barrage file in accordance with the predetermined playback rule, loading the barrage file, and displaying each comment information by scrolling the barrage file includes the steps of: Sending a load request for a barrage file segment corresponding to the target video; When it is detected that the barrage file segment has not been completely loaded within the response time limit for the load request, displaying a part of the loaded comment information in a loop, and sending a load request for the remaining comment information included in the barrage file segment; When detecting that the barrage file segment is completely loaded within the response time limit of the load request, and detecting that the difference between the play time of the target video and the display time of the complete comment information in the barrage file segment exceeds a preset threshold, loop-displaying the loaded comment information; Includes.
[0138] Preferably, before the step of displaying each comment information by scrolling the barrage file, Obtaining a popularity value for each comment information; Displaying the popularity value at the top of a comment panel of the corresponding comment information; Further includes.
[0139] Preferably, when a plurality of target videos in the video set are related to each other, the step of generating a barrage file based on the comment information includes: sorting and ranking the mixed comment information according to a predetermined sorting and ranking rule to determine the comment information waiting to be displayed; generating a barrage file of the video set based on the comment information waiting to be displayed; Includes.
[0140] Preferably, after the step of displaying each comment information by scrolling the barrage file, Obtaining popular videos related to the currently played target video in real time; Obtaining related information between the target video and the popular video, and forming video description information of the popular video according to the related information; displaying the video description information in a predetermined area of a display interface of the target video; upon receiving a display command for the popular video in the predetermined area, playing the popular video in response to the display command; Further includes.
[0141] According to one or more embodiments of the present disclosure, Displaying comment information according to the comment information display method described in any one of the above technical solutions; When receiving a command to open a comment interface for any comment information, displaying the comment interface of the comment information on the current playback interface in response to the command; receiving sub-comment information for the comment information through the comment interface; The present invention further provides a comment information interaction method, including:
[0142] Preferably, after the step of displaying a comment interface of the comment information in response to the expansion command, The method further includes stopping the scrolling display of the plurality of comment information in the playback interface until a trigger operation for closing the comment interface is detected.
[0143] Preferably, the step of receiving sub-comment information for the comment information in the comment interface includes: Displaying, in the expanded comment interface, an anchor point having a positioning mark in a comment area of the comment interface; forming subordinate comment information of the comment information based on information entered in the comment area; Includes.
[0144] According to one or more embodiments of the present disclosure, a comment information obtaining module for obtaining comment information of a plurality of target videos in a video set; a barrage file generation module for generating a barrage file based on the comment information; A display module for segmenting and loading the barrage file according to a predetermined playback rule when playing any target video in the video set, and displaying each comment information by scrolling the barrage file; The present invention further provides a comment information display device comprising the above.
[0145] According to one or more embodiments of the present disclosure, A comment information display module for displaying comment information according to the comment information display method; a comment interface display module for displaying a comment interface of any comment information on a current playback interface in response to the comment interface display command when the comment interface display command is received; a sub-comment information module for receiving sub-comment information for the comment information in the comment interface; The present invention further provides a comment information interaction device, comprising:
[0146] Those skilled in the art should understand that the scope of the disclosure of the present disclosure is not limited to the technical solution composed of a specific combination of the above technical features, and should also include other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the spirit of the above disclosure, such as a technical solution formed by mutually replacing the above features with technical features having similar functions (not limited to those disclosed in the present disclosure).
[0147] Also, although operations have been described in a particular order, it should not be understood that these operations need to be performed in the particular order shown, or in a forward order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, the above discussion includes a number of specific implementation details, which should not be understood as limiting the scope of the disclosure. Some features described in the description of a single embodiment may be implemented in combination in a single embodiment. Conversely, various features described in the description of a single embodiment may be implemented in multiple embodiments alone or in any suitable subcombination. Although the subject matter has been described using language specific to structural features and / or methodological operations, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.
Claims
1. A comment information display method, comprising: Obtaining comment information for a plurality of target videos in a video set; generating a barrage file based on the comment information; When playing any of the target videos in the video set, the barrage file is segmented and loaded according to a predetermined playback rule, and each comment information is displayed by scrolling the barrage file; Segmenting and loading the barrage file according to a predetermined playback rule, When switching and playing the target videos, when switching any of the target videos to a next target video in the video set, obtaining a loading position of comment information displayed by the barrage file loaded before switching; and when switching to and playing the next target video, continuing to segment and load the barrage file from the loading position according to a predetermined playback rule. method.
2. The step of displaying each comment information by scrolling the barrage file includes: When playing any target video on a video playback interface, displaying comment information corresponding to the played target video on the video playback interface by scrolling the barrage file; The method of claim 1.
3. The step of displaying each comment information by scrolling the barrage file includes: When playing any one of the target videos on the video playback interface, displaying comment information corresponding to the multiple target videos in the video set on the video playback interface by scrolling the barrage file; The method of claim 1.
4. The step of generating a barrage file based on the comment information includes: Segmenting the comment information according to a comment topic of the comment information to obtain a plurality of comment information segments; ranking the comment information segments according to a playing order of the target video; Selecting each comment information in each comment information segment according to a predetermined selection rule, and determining comment information waiting to be displayed in each comment information segment; generating a barrage file based on the playback order of the target video and the comment waiting to be displayed information; The method of claim 1.
5. The step of determining comment information to be displayed in each comment information segment includes: Obtaining video information of a target video and forming video description barrage information based on the video information; Sequentially arranging the selected comment information after the video description barrage information to form comment information waiting to be displayed. The method according to claim 4.
6. The step of segmenting the barrage file in accordance with a predetermined playback rule, loading the barrage file, and displaying each comment information by scrolling the barrage file, Sending a load request for a barrage file segment corresponding to the target video; When it is detected that the barrage file segment has not been completely loaded within the response time limit for the load request, displaying a part of the loaded comment information in a loop, and sending a load request for the remaining comment information included in the barrage file segment; When detecting that the barrage file segment is completely loaded within a response time limit of the load request, and detecting that a difference between a playback time of the target video and a display time of the complete comment information in the barrage file segment exceeds a preset threshold, loop-displaying the loaded comment information. The method of claim 1.
7. The method further comprises: Before the step of displaying each piece of comment information by scrolling the barrage file, acquiring a popularity value of each piece of comment information; and displaying the popularity value at the top of a comment panel of the corresponding comment information. The method of claim 1.
8. The step of generating a barrage file based on the comment information includes: If multiple target videos in the video set are related to each other, sorting and ranking the comment information according to a predetermined sorting and ranking rule to determine the comment information to be displayed; generating a barrage file of the video set based on the comment waiting to be displayed information; The method of claim 1.
9. The method further comprises: After displaying each comment information by scrolling the barrage file, acquiring popular videos related to the currently played target video in real time; Obtaining association information between the target video and the popular video, and forming video description information of the popular video according to the association information; displaying the video description information in a predetermined area of a display interface of the target video; upon receiving a display command for the popular video in the predetermined area, playing the popular video in response to the display command. The method according to claim 8.
10. A comment information interaction method, comprising: Displaying comment information according to the method of any one of claims 1 to 9; When receiving a command to open a comment interface for any comment information, displaying the comment interface of the comment information on the current playback interface in response to the command; receiving sub-comment information for the comment information in the comment interface; method.
11. The method further comprises: After the step of displaying a comment interface of the comment information in response to the unfolding command, stopping scrolling display of a plurality of comment information in a playback interface until a trigger operation for closing the comment interface is detected. The method of claim 10.
12. The method further comprises: After receiving subordinate comment information for the comment information in the comment interface, displaying an anchor point having a positioning mark in a comment area of the comment interface in the expanded comment interface; forming subordinate comment information of the comment information based on information entered in the comment area. The method of claim 10.
13. A comment information display device, a comment information obtaining module for obtaining comment information of a plurality of target videos in a video set; a barrage file generation module for generating a barrage file based on the comment information; A display module for segmenting and loading the barrage file according to a predetermined playback rule when playing any target video in the video set, and displaying each comment information by scrolling the barrage file; Equipped with The display module further comprises: In the case of switching and playing the target videos, when switching any one of the target videos to a next target video in the video set, obtaining a loading position of comment information displayed by the barrage file loaded before the switching; configured to continue to segment and load the barrage file from the load position according to a predetermined playback rule when switching to and playing the next target video; Device.
14. A comment information interaction device, comprising: A comment information display module for displaying comment information according to the method of any one of claims 1 to 9; a comment interface display module for displaying a comment interface of any comment information on a current playback interface in response to the comment interface display command when the comment interface display command is received; a sub-comment information module for receiving sub-comment information for the comment information in the comment interface; An apparatus comprising:
15. A memory and a processor, A computer program is stored in the memory; The processor, when executing the computer program, causes the computer to carry out the method according to any one of claims 1 to 9. An electronic device comprising:
16. A computer program is stored in the The computer program, when executed by a processor, causes the computer to carry out the method according to any one of claims 1 to 9. A non-transitory computer-readable storage medium comprising:
Citation Information
Patent Citations
Optical disc reproducing device
JP1995244966A
Contents recording medium for karaoke device
JP1998290431A
Contents interlocking type comment display method, comment display system, server apparatus, comment display apparatus, and comment display program
JP2004364184A
Moving picture management system, moving picture managing method, client, and program
JP2007036830A
Content reproduction device and program
JP2009223505A
