Methods and devices for comment information display and interaction, electronic apparatus, and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsQiheng Tian, Xiaolu Wang
Life of this patent
Estimating the term…
Abstract
A method for comment information display includes steps described below: Comment information of a plurality of target videos in a video collection is acquired; a bullet comment file is generated according to the comment information; and in response to any target video in the video collection being played, the bullet comment file is loaded in segments according to a preset playing rule, and each piece of the comment information is displayed in a form of scrolling display of the bullet comment file.
Claims19
A method for comment information display, comprising:
- acquiring comment information of a plurality of target videos in a video collection;
- generating a bullet comment file according to the comment information;
- and
- in response to any target video in the video collection being played, loading the bullet comment file in segments according to a preset playing rule, and displaying each piece of the comment information in a form of scrolling display of the bullet comment file;
- wherein the step of loading the bullet comment file in segments according to the preset playing rule, and displaying the each piece of the comment information in the form of the scrolling display of the bullet comment file comprises:
- sending a loading request of bullet comment file segments corresponding to the plurality of target videos;
- and
- in response to detecting that the bullet comment file segments are not completely loaded within a response period of the loading request, circularly displaying loaded part of the comment information, and sending a request for loading remaining comment information contained in the bullet comment file segments;
- in response to detecting that the bullet comment file segments are completely loaded within a response period of the loading request, and detecting that a difference between a playing time of the plurality of target videos and a display time of complete comment information in the bullet comment file segments is greater than a preset threshold, circularly displaying loaded comment information.
A method for comment information interaction, comprising:
- displaying comment information according to a method for comment information display;
- receiving an expansion instruction for a comment interface of any piece of the comment information, and displaying the comment interface of any piece of the comment information on a current playing interface in response to the expansion instruction;
- and
- receiving lower-level comment information of any piece of the comment information on the comment interface,
- wherein the method for comment information display comprises:
- acquiring comment information of a plurality of target videos in a video collection;
- generating a bullet comment file according to the comment information;
- and
- in response to any target video in the video collection being played, loading the bullet comment file in segments according to a preset playing rule, and displaying each piece of the comment information in a form of scrolling display of the bullet comment file;
- wherein the step of loading the bullet comment file in segments according to the preset playing rule, and displaying the each piece of the comment information in the form of the scrolling display of the bullet comment file comprises:
- sending a loading request of bullet comment file segments corresponding to the plurality of target videos;
- and
- in response to detecting that the bullet comment file segments are not completely loaded within a response period of the loading request, circularly displaying loaded part of the comment information, and sending a request for loading remaining comment information contained in the bullet comment file segments;
- in response to detecting that the bullet comment file segments are completely loaded within a response period of the loading request, and detecting that a difference between a playing time of the plurality of target videos and a display time of complete comment information in the bullet comment file segments is greater than a preset threshold, circularly displaying loaded comment information.
An electronic device, comprising:
- a memory and a processor;
- wherein
- the memory is configured to store a computer program;
- and
- the processor is configured to execute, when running the computer program, a method for comment information display,
- wherein the method for comment information display comprises:
- acquiring comment information of a plurality of target videos in a video collection;
- generating a bullet comment file according to the comment information;
- and
- in response to any target video in the video collection being played, loading the bullet comment file in segments according to a preset playing rule, and displaying each piece of the comment information in a form of scrolling display of the bullet comment file;
- wherein the step of loading the bullet comment file in segments according to the preset playing rule, and displaying the each piece of the comment information in the form of the scrolling display of the bullet comment file comprises:
- sending a loading request of bullet comment file segments corresponding to the plurality of target videos;
- and
- in response to detecting that the bullet comment file segments are not completely loaded within a response period of the loading request, circularly displaying loaded part of the comment information, and sending a request for loading remaining comment information contained in the bullet comment file segments;
- in response to detecting that the bullet comment file segments are completely loaded within a response period of the loading request, and detecting that a difference between a playing time of the plurality of target videos and a display time of complete comment information in the bullet comment file segments is greater than a preset threshold, circularly displaying loaded comment information.
A non-transitory computer-readable storage medium storing a computer program, wherein the computer program is configured to, when executed by a processor, implement the method for comment information display,
- wherein the method for comment information display comprises:
- acquiring comment information of a plurality of target videos in a video collection;
- generating a bullet comment file according to the comment information;
- and
- in response to any target video in the video collection being played, loading the bullet comment file in segments according to a preset playing rule, and displaying each piece of the comment information in a form of scrolling display of the bullet comment file;
- wherein the step of loading the bullet comment file in segments according to the preset playing rule, and displaying the each piece of the comment information in the form of the scrolling display of the bullet comment file comprises:
- sending a loading request of bullet comment file segments corresponding to the plurality of target videos;
- and
- in response to detecting that the bullet comment file segments are not completely loaded within a response period of the loading request, circularly displaying loaded part of the comment information, and sending a request for loading remaining comment information contained in the bullet comment file segments;
- in response to detecting that the bullet comment file segments are completely loaded within a response period of the loading request, and detecting that a difference between a playing time of the plurality of target videos and a display time of complete comment information in the bullet comment file segments is greater than a preset threshold, circularly displaying loaded comment information.
Dependencies are inferred from the claim text.