WO2017166719A1 - 弹幕信息的显示方法及装置 - Google Patents

弹幕信息的显示方法及装置 Download PDF

Info

Publication number
WO2017166719A1
WO2017166719A1 PCT/CN2016/097955 CN2016097955W WO2017166719A1 WO 2017166719 A1 WO2017166719 A1 WO 2017166719A1 CN 2016097955 W CN2016097955 W CN 2016097955W WO 2017166719 A1 WO2017166719 A1 WO 2017166719A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
barrage information
trajectory
meets
buffer queue
Prior art date
Application number
PCT/CN2016/097955
Other languages
English (en)
French (fr)
Inventor
尚彬
田卓
Original Assignee
乐视控股(北京)有限公司
乐视体育文化产业发展(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视体育文化产业发展(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166719A1 publication Critical patent/WO2017166719A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the present application relates to the field of video technology, for example, to a method and apparatus for displaying barrage information.
  • the so-called barrage information refers to the comment information directly displayed on the video playback screen.
  • the comment can be floated from one end to the other on the screen.
  • the effect is similar to the barrage in the flying shooting game, and the user is commented by using the barrage. Displaying information can increase real-time interaction between users.
  • the client after receiving the barrage information sent by the server, the client displays the barrage information in real time.
  • the client will receive a large amount of barrage information in a short period of time, and displaying the barrage information by means of all real-time display will cause the barrage information to be displayed in an overlapping manner, thereby causing poor display of the barrage information, and the user cannot Seeing the contents of the barrage information affects the user's viewing experience.
  • the present invention provides a method and a device for displaying a barrage information, which are used to solve the problem that the display effect of the barrage information is poor in the related art and affects the user's viewing experience.
  • the embodiment of the present application provides a method for displaying barrage information, including:
  • the received barrage information is stored in the preset buffer queue
  • Extracting a bullet from the preset buffer queue when there is a preset trajectory that meets the preset condition The screen information is configured and displayed on the preset trajectory that meets the preset condition.
  • the embodiment of the present application provides a display device for barrage information, including:
  • the detecting unit is configured to detect whether the barrage information exists in the current preset buffer queue when receiving the barrage information sent by the server;
  • a storage unit configured to: when the detecting unit detects that there is a barrage information in the current preset buffer queue, storing the received barr information in the preset buffer queue;
  • the detecting unit is further configured to detect, according to a preset time interval, whether there is a preset ballistic that meets a preset condition;
  • the extracting unit is configured to: when the detecting unit detects that there is a preset trajectory that meets the preset condition, extract a barrage information from the preset buffer queue; and
  • the display unit is configured to display a piece of the barrage information extracted by the extracting unit on the preset ballistics that meets the preset condition for display.
  • the embodiment of the present application further provides an electronic device, including:
  • At least one processor and,
  • the memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform display of any of the barrographic information in the embodiments of the present application method.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions for causing the computer to perform any of the embodiments of the present application.
  • a display method of barrage information is provided.
  • the embodiment of the present application further provides a computer program product, wherein the computer program product comprises a calculation program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is used by a computer When executed, the computer is caused to execute a display method of any of the barrage information in the embodiment of the present application.
  • the computer program product comprises a calculation program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is used by a computer When executed, the computer is caused to execute a display method of any of the barrage information in the embodiment of the present application.
  • the method and device for displaying the barrage information provided by the embodiment of the present invention, when receiving the barrage information sent by the server, first detecting whether there is a barrage information in the current preset buffer queue; when the current preset buffer queue exists The barrage information is stored in the preset buffer queue; the preset time interval is detected according to a preset time interval; when there is a preset that meets the preset condition, In the trajectory, a barrage information is extracted from the preset buffer queue and configured to be displayed on the preset trajectory that meets the preset condition.
  • the present application can realize the display of the barrage information in batches after receiving a large amount of barrage information, which does not cause overlapping display of the barrage information, and can improve the display effect of the barrage information. It can make the user see the content in the barrage information and enhance the user's viewing experience.
  • FIG. 1 is a schematic flowchart of a method for displaying a barrage information according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another method for displaying barrage information according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a display device for displaying bullet information according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another display device for displaying bullet information according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a physical structure of a display device for displaying bullet information according to an embodiment of the present disclosure.
  • the technical solutions in the embodiments of the present application are described in conjunction with the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments.
  • the application in the application can be arbitrarily combined with each other without conflict.
  • the embodiment of the present application provides a method for displaying barrage information. As shown in FIG. 1, the method includes:
  • the preset buffer queue is configured to temporarily store the barrage information that cannot be displayed on the preset ballistics.
  • the preset trajectory is used to carry the information of the barrage, and only one barrage information can be displayed on each preset trajectory at the same time. For example, there are 6 preset trajectories, that is, only 6 barrage information can be displayed at the same time. .
  • Each preset trajectory can be arranged in the display window from top to bottom, and the parameters such as the number of preset trajectories and the display size can be configured according to actual needs.
  • the current preset buffer queue when the barrage information sent by the server is received, it is detected whether there is a barrage information in the current preset buffer queue, and when there is a barrage information in the current preset buffer queue, the current preset buffer queue may be determined. There is a barrage information to be displayed, and the newly received barrage information needs to be stored in a preset buffer queue for processing. When there is no barrage information in the current preset buffer queue, it can detect whether there is a preset trajectory that meets the preset condition. For example, the preset trajectory that does not currently have the barrage information can be determined as a pre-predetermined condition.
  • the newly received barrage information can be configured to be displayed on the preset trajectory that meets the preset condition; when it does not exist.
  • the preset trajectory that meets the preset condition indicates that there is no preset trajectory available, and all the preset trajectories are occupied.
  • the newly received barrage information can be stored in the preset buffer queue for processing.
  • the preset time interval may be configured according to actual requirements.
  • the preset time interval may be configured to be 0.1 seconds.
  • the preset condition can be configured according to actual needs.
  • the timer is started to detect whether there is a preset trajectory that meets the preset condition every 0.1 seconds.
  • each preset trajectory is detected every 0.1 seconds.
  • the barrage information on the display is complete, the barrage information is displayed as a complete preset trajectory, and the preset trajectory is determined to meet the preset condition.
  • the preset trajectory is determined to meet the preset condition.
  • a barrage information is extracted from the preset buffer queue and configured to be displayed on a preset trajectory that meets the preset condition.
  • the received bullet information can be scrolled on each preset trajectory.
  • barrage information in the preset buffer queue it is detected whether there is a preset condition every 0.1 seconds.
  • the preset trajectory is to detect whether there is a preset trajectory available.
  • a barrage information is extracted from the preset buffer queue and configured to be displayed on the available preset trajectory.
  • the display size of the barrage information displayed on the preset trajectory is adjusted according to the display size of the preset trajectory. For example, when the preset trajectory is configured to be wider, the font of the bullet information displayed on the preset trajectory is larger; when the preset display track is configured to be narrower, the font of the comment information displayed on the preset display track is Smaller.
  • a method for displaying the barrage information when receiving the barrage information sent by the server, first detecting whether there is a barrage information in the current preset buffer queue; when there is a barrage in the current preset buffer queue The information is stored in the preset buffer queue; the preset time interval is detected according to a preset time interval; when there is a preset ballistic that meets the preset condition, And extracting a barrage information from the preset buffer queue and configuring the display on the preset ballistics that meet the preset condition.
  • the present application can realize the batch display of the barrage information in batches after receiving a large amount of barrage information, and does not cause the barrage information to be displayed in an overlapping manner. Enhancing the display effect of the barrage information allows the user to see the contents of the barrage information and enhance the user's viewing experience.
  • An embodiment of the present application provides another method for displaying barrage information. As shown in FIG. 2, the method includes:
  • the barrage information sent by the server when there is a barrage information in the preset buffer queue, it indicates that the barrage information received in the previous or previous times has not been processed yet, and continues to wait for display. Therefore, the received bullet information needs to be processed in the preset buffer queue, that is, S230a is executed. When there is no barrage information in the preset buffer queue, it indicates that there is currently no barrage information waiting for processing, and the corresponding processing of the S230b may be performed on the received barrage information.
  • the current preset buffer queue when the barrage information sent by the server is received, it is detected whether there is a barrage information in the current preset buffer queue, and when there is a barrage information in the current preset buffer queue, the current preset buffer queue may be determined. There is a barrage information to be displayed, and the newly received barrage information needs to be stored in a preset buffer queue for processing.
  • the preset condition may be configured according to actual requirements.
  • the preset trajectory that does not currently have the barrage information may be determined as a preset trajectory that meets the preset condition.
  • the newly received barrage information can be configured to be displayed on the preset trajectory that meets the preset condition for real-time display.
  • the preset time interval may be configured according to actual requirements.
  • the preset time interval may be configured to be 0.1, 0.2 seconds, and the like.
  • the S250 may include: detecting whether the barrage information on each preset trajectory is displayed completely according to a preset time interval; displaying the full preset trajectory of the barrage information to determine that the preset condition is met Preset ballistics.
  • the barrage information on each preset trajectory is detected to be complete, and the barrage information is displayed as a complete preset trajectory, and is determined as a preset trajectory that meets the preset condition, when there is a preset condition.
  • the preset trajectory can determine that there is a preset trajectory available. Conversely, when there is no preset trajectory that meets the preset condition, it can be determined that there is no available preset trajectory.
  • the S250 may further include: detecting whether there is a barrage information on each preset trajectory according to a preset time interval; and determining a preset trajectory without the barrage information as a pre-predetermined condition Set the ballistics.
  • the preset trajectory without the barrage information is determined as a preset trajectory that meets the preset condition, and when there is a preset that meets the preset condition, The ballistics can determine that there is a preset trajectory available. Conversely, when there is no preset trajectory that meets the preset condition, it can be determined that there is no available preset trajectory.
  • a barrage information is extracted from the preset buffer queue and configured to be displayed on a preset trajectory that meets the preset condition.
  • the preset buffer queue stores the storage time corresponding to each of the stored barr information.
  • the S260 may include: when there is a preset trajectory that meets the preset condition, extracting, from the preset buffer queue, one piece of the barrage information with the earliest storage time and matching Displayed on the preset trajectory that meets the preset condition.
  • the method further includes: receiving an adjustment instruction corresponding to the preset ballistic in the process of displaying the barrage information; and adjusting the preset ballistic according to the adjustment instruction.
  • the display size of the preset trajectory may be adjusted, such as zooming in or out, or the display position of the preset trajectory in the display window may be adjusted; The number is adjusted and so on. It should be noted that, according to the adjustment instruction, the preset trajectory is adjusted accordingly, so that the display effect of the bullet information can be adjusted according to the actual needs of the user, and the user experience can be enhanced.
  • Another method for displaying the barrage information when receiving the barrage information sent by the server, first detects whether there is a barrage information in the current preset buffer queue; when there is a bullet in the current preset buffer queue The curtain information is stored in the preset buffer queue; the preset time interval is detected to detect whether there is a preset trajectory that meets the preset condition; when there is a preset trajectory that meets the preset condition And extracting a barrage information from the preset buffer queue and configuring the display on the preset ballistics that meet the preset condition.
  • the present application can realize the batch display of the barrage information in batches after receiving a large amount of barrage information, and does not cause the barrage information to be displayed in an overlapping manner. Enhancing the display effect of the barrage information allows the user to see the contents of the barrage information and enhance the user's viewing experience.
  • the embodiment of the present application provides a display device for the barrage information.
  • the device includes: a detecting unit 31 , a storage unit 32 , and an extracting unit 33 . , display unit 34.
  • the detecting unit 31 may be configured to detect whether the barrage information exists in the current preset buffer queue when receiving the barrage information sent by the server.
  • the detecting unit 31 is a main functional module for performing condition detection in the device.
  • the storage unit 32 may be configured to store the received barr information in the preset buffer queue when the detecting unit 31 detects that the barrage information exists in the current preset buffer queue.
  • the storage unit 32 is a main functional module for controlling whether the barrage information is stored in the device.
  • the detecting unit 31 may be further configured to detect whether there is a compliance pre-determination according to a preset time interval. Conditional preset trajectory.
  • the extracting unit 33 may be configured to extract a barrage information from the preset buffer queue when the detecting unit 31 detects that there is a preset ballistic that meets a preset condition.
  • the extracting unit 33 is a main functional module for extracting the bullet information from the device.
  • the display unit 34 can display a piece of barrage information extracted by the extracting unit 33 on the preset ballistics that meets the preset condition for display.
  • the display unit 34 is a main functional module for displaying the barrage information in the device.
  • a related functional module can be implemented by a hardware processor.
  • the display device of the barrage information provided by the embodiment of the present invention firstly detects whether there is a barrage information in the current preset buffer queue when receiving the barrage information sent by the server; when there is a barrage in the current preset buffer queue The information is stored in the preset buffer queue; the preset time interval is detected according to a preset time interval; when there is a preset ballistic that meets the preset condition, And extracting a barrage information from the preset buffer queue and configuring the display on the preset ballistics that meet the preset condition.
  • the present application can realize the batch display of the barrage information in batches after receiving a large amount of barrage information, and does not cause the barrage information to be displayed in an overlapping manner. Enhancing the display effect of the barrage information allows the user to see the contents of the barrage information and enhance the user's viewing experience.
  • the embodiment of the present application provides another display device for the barrage information.
  • the device includes: a detecting unit 41, a storage unit 42, and an extracting unit. 43. Display unit 44.
  • the detecting unit 41 may be configured to detect whether the barrage information exists in the current preset buffer queue when receiving the barrage information sent by the server.
  • the detecting unit 41 is a main functional module for performing condition detection in the device.
  • the storage unit 42 may be configured to store the received barr information in the preset buffer queue when the detecting unit 41 detects that the barrage information exists in the current preset buffer queue.
  • the storage unit 42 is a main functional module for controlling whether or not the barrage information is stored in the device.
  • the detecting unit 41 may be further configured to detect whether there is a compliance pre-determination according to a preset time interval. Conditional preset trajectory.
  • the extracting unit 43 may be configured to extract a barrage information from the preset buffer queue when the detecting unit 41 detects that there is a preset ballistic that meets a preset condition.
  • the extracting unit 43 is a main functional module for extracting the bullet information from the device.
  • the display unit 44 can display a piece of barrage information extracted by the extracting unit 43 on the preset ballistics that meets the preset condition for display.
  • the display unit 44 is a main functional module for displaying the barrage information in the device.
  • the detecting unit 41 is configured to detect whether the barrage information on each preset trajectory is displayed completely according to a preset time interval.
  • the detecting unit 41 is further configured to display the full-preset trajectory of the barrage information as a preset trajectory that meets the preset condition.
  • the detecting unit 41 is configured to detect whether there is barrage information on each preset trajectory according to a preset time interval.
  • the detecting unit 41 is further configured to determine a preset trajectory that does not have the barrage information as a preset trajectory that meets the preset condition.
  • the detecting unit 41 may be further configured to detect whether there is a preset trajectory that meets a preset condition when there is no barrage information in the current preset buffer queue.
  • the display unit 44 may be further configured to: when the detecting unit 41 detects that a preset trajectory that meets a preset condition exists, configure the received barrage information to a preset trajectory that currently meets a preset condition. Displayed on.
  • the storage unit 42 may be further configured to store the received barr information in the preset buffer queue when the detecting unit 41 detects that there is no preset ballistic that meets the preset condition.
  • the preset buffer queue stores a storage time corresponding to each of the stored barr information.
  • the extracting unit 43 is configured to: when the detecting unit 41 detects that there is a preset trajectory that meets the preset condition, extract one piece of the barrage information with the earliest storage time from the preset buffer queue.
  • the display unit 44 is configured to display a piece of the barrage information with the earliest storage time extracted by the extracting unit 43 on the preset ballistics that meets the preset condition for display.
  • the device further includes: a receiving unit 45 and an adjusting unit 46.
  • the receiving unit 45 may be configured to receive an adjustment instruction corresponding to the preset ballistic in the process of displaying the barrage information.
  • the adjusting unit 46 may be configured to adjust the preset ballistic according to the adjusting instruction.
  • FIG. 5 is a schematic diagram showing the physical structure of a display device for displaying barrage information provided by an embodiment of the present application.
  • the device may include a processor 51 and a communication interface (Communications).
  • Communication interface 52 can be used for information transfer between the server and the client.
  • the processor 51 can call the logic instruction in the memory 53 to perform the following method: when receiving the barrage information sent by the server, detecting whether there is a barrage information in the current preset buffer queue; when there is a bullet in the current preset buffer queue The curtain information is stored in the preset buffer queue; the preset time interval is detected to detect whether there is a preset trajectory that meets the preset condition; when there is a preset trajectory that meets the preset condition And extracting a barrage information from the preset buffer queue and configuring the display on the preset ballistics that meet the preset condition.
  • the logic instructions in the memory 53 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • a portion of the technical solution of the present application that contributes to the related art or a portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for making A computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the display device of the barrage information provided by the embodiment of the present invention firstly detects whether there is a barrage information in the current preset buffer queue when receiving the barrage information sent by the server; when there is a bullet in the current preset buffer queue
  • the curtain information is stored in the preset buffer queue; the preset time interval is detected to detect whether there is a preset trajectory that meets the preset condition; when there is a preset trajectory that meets the preset condition , extracting a barrage information from the preset buffer queue and
  • the display is performed on the preset trajectory that meets the preset condition.
  • the present application can realize the batch display of the barrage information in batches after receiving a large amount of barrage information, and does not cause the barrage information to be displayed in an overlapping manner. Enhancing the display effect of the barrage information allows the user to see the contents of the barrage information and enhance the user's viewing experience.
  • the embodiment of the present application further provides a non-transitory computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the display method of the barrage information in any of the foregoing method embodiments.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the portion of the above technical solution contributing to the related art may be embodied in the form of a software product, which may be stored in a computer readable storage medium such as a ROM/RAM, a magnetic disk, an optical disk, or the like.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
  • the above technical solutions provided by the embodiments of the present application can realize the sequential display of the barrage information in batches, without causing overlapping display of the barrage information, and can improve the display effect of the barrage information, and can enable the user to see the contents of the barrage information. Can enhance the user's viewing experience.

Abstract

一种弹幕信息的显示方法及装置,所述方法包括:当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。

Description

弹幕信息的显示方法及装置
本申请要求在2016年3月30日提交中国专利局、申请号为2016101944584、发明名称为“一种弹幕信息的显示方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频技术领域,例如涉及一种弹幕信息的显示方法及装置。
背景技术
近些年来,随着网络多媒体技术的飞速发展,弹幕技术被广泛应用于视频网站中。所谓弹幕信息,是指直接显示在视频播放画面上的评论信息。在播放视频的时候,可以使评论在屏幕上从一端飘向另一端,当大量评论信息从屏幕飘过时,画面效果类似于飞行射击游戏中的弹幕,通过采用弹幕的方式对用户的评论信息进行显示,可以增加用户间的实时互动性。
在相关技术中,客户端在接收到服务器发送的弹幕信息后,会对该弹幕信息进行实时显示。然而,有时客户端会在短时间内接收到大量的弹幕信息,通过全部实时显示的方式显示这些弹幕信息,会造成弹幕信息重叠显示,进而造成弹幕信息的显示效果差,用户无法看清弹幕信息中的内容,影响了用户的观看体验。
发明内容
本申请提供了一种弹幕信息的显示方法及装置,用以解决相关技术中会造成弹幕信息的显示效果差,影响用户观看体验的问题。
相关技术本申请实施例提供了一种弹幕信息的显示方法,包括:
当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息;
当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;
按照预设时间间隔检测是否存在符合预设条件的预设弹道;以及,
当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹 幕信息并配置在所述符合预设条件的预设弹道上进行显示。
本申请实施例提供了一种弹幕信息的显示装置,包括:
检测单元,设置为当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息;
存储单元,设置为当所述检测单元检测出当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;
所述检测单元,还设置为按照预设时间间隔检测是否存在符合预设条件的预设弹道;
提取单元,设置为当所述检测单元检测出存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息;以及,
显示单元,设置为将所述提取单元提取的一条弹幕信息配置在所述符合预设条件的预设弹道上进行显示。
本申请实施例还提供一种电子设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请实施例中任一弹幕信息的显示方法。
本申请实施例还提供一种非暂态计算机可读存储介质,其中,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行本申请实施例中任一弹幕信息的显示方法。
本申请实施例还提供一种计算机程序产品,其中,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请实施例中任一弹幕信息的显示方法。
本申请实施例提供的一种弹幕信息的显示方法及装置,当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。与相关技术中的将弹 幕信息全部实时显示的方式相比,本申请在接收到大量的弹幕信息后,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。
附图说明
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作一简单地介绍,下面描述中的附图是本申请的一些实施例。
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本申请实施例提供的一种弹幕信息的显示方法流程示意图;
图2为本申请实施例提供的另一种弹幕信息的显示方法流程示意图;
图3为本申请实施例提供的一种弹幕信息的显示装置结构示意图;
图4为本申请实施例提供的另一种弹幕信息的显示装置结构示意图;
图5为本申请实施例提供的一种弹幕信息的显示装置的实体结构示意图。
具体实施方式
申请下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。申请申请在不冲突的情况下,实施例中的特征可以相互任意组合。本申请实施例提供了一种弹幕信息的显示方法,如图1所示,所述方法包括:
在S110中,当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息。
其中,所述预设缓冲队列用于暂时存储不能在预设弹道上显示的弹幕信息。所述预设弹道用于承载弹幕信息进行显示,在相同时刻每条预设弹道上只能显示一条弹幕信息,例如,存在6条预设弹道,即同时只能显示6条弹幕信息。每条预设弹道可以在显示窗口中从上至下依次排列配置,所述预设弹道的数量以及显示尺寸等参数可以根据实际需求进行配置。
在S120中,当当前预设缓冲队列中存在弹幕信息,则将接收到的弹幕信息存储在预设缓冲队列中。
对于本申请实施例,当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息,当当前预设缓冲队列中存在弹幕信息,可以确定当前预设缓冲队列中存在待显示的弹幕信息,需要将新接收到的弹幕信息存储在预设缓冲队列中等待处理。当当前预设缓冲队列中不存在弹幕信息,可以检测当前是否存在符合预设条件的预设弹道,例如,可以将当前不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道;当存在符合预设条件的预设弹道,说明当前存在可用的预设弹道,可以将新接收到的弹幕信息配置在该符合预设条件的预设弹道上进行显示;当不存在符合预设条件的预设弹道,说明当前不存在可用的预设弹道,所有的预设弹道都被占用,可以将新接收到的弹幕信息存储在预设缓冲队列中等待处理。
在S130中,按照预设时间间隔检测是否存在符合预设条件的预设弹道。
其中,所述预设时间间隔可以根据实际需求进行配置,例如,可以将预设时间间隔配置为0.1秒。所述预设条件可以根据实际需求进行配置。
例如,当预设缓冲队列中存在弹幕信息时,启动定时器进行检测,每隔0.1秒检测是否存在符合预设条件的预设弹道,可选的,每隔0.1秒检测每条预设弹道上的弹幕信息是否显示完整,将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道,当存在符合预设条件的预设弹道,可以确定存在可用的预设弹道,反之,当不存在符合预设条件的预设弹道,可以确定不存在可用的预设弹道。
在S140中,当存在符合预设条件的预设弹道,则从预设缓冲队列中提取一条弹幕信息并配置在符合预设条件的预设弹道上进行显示。
例如,存在6条预设弹道,每条预设弹道上都可以滚动显示接收到的弹幕信息,当预设缓冲队列中存在弹幕信息时,当每隔0.1秒检测是否存在符合预设条件的预设弹道,即检测是否存在可用的预设弹道,当存在,则从预设缓冲队列中提取一条弹幕信息并配置在该可用的预设弹道上进行显示。
可选的,对于预设弹道上显示的弹幕信息的显示大小,会根据预设弹道的显示尺寸进行相应调整。例如,当预设弹道配置得较宽时,在预设弹道上显示的弹幕信息的字体较大;当预设显示轨道配置得较窄时,在预设显示轨道上显示的评论信息的字体较小。
本申请实施例提供的一种弹幕信息的显示方法,当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。与相关技术中的将弹幕信息全部实时显示的方式相比,本申请在接收到大量的弹幕信息后,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。
本申请实施例提供了另一种弹幕信息的显示方法,如图2所示,所述方法包括:
在S210中,接收服务器发送的弹幕信息。
在S220中,检测当前预设缓冲队列中是否存在弹幕信息。
其中,所述预设缓冲队列的概念解释可以参考步骤101中相应描述,在此不再赘述。
需要说明的是,当接收到服务器发送的弹幕信息时,当预设缓冲队列中存在弹幕信息,说明前一次或前几次接收到的弹幕信息还没有处理完,还在继续等候显示,所以这次接收到的弹幕信息需要进预设缓冲队列中等候处理,即执行S230a。当预设缓冲队列中不存在弹幕信息,说明当前不存在等候处理的弹幕信息,可以对这次接收到的弹幕信息执行所述S230b的相应处理。
在S230a中,当当前预设缓冲队列中存在弹幕信息,则将接收到的弹幕信息存储在预设缓冲队列中。
对于本申请实施例,当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息,当当前预设缓冲队列中存在弹幕信息,可以确定当前预设缓冲队列中存在待显示的弹幕信息,需要将新接收到的弹幕信息存储在预设缓冲队列中等待处理。
与S230a并列的S230b、当当前预设缓冲队列中不存在弹幕信息,则检测当前是否存在符合预设条件的预设弹道。
其中,所述预设条件可以根据实际需求进行配置,例如,可以将当前不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道。
在S240ba中,当当前存在符合预设条件的预设弹道,则将接收到的弹幕 信息配置在当前符合预设条件的预设弹道上进行显示。
需要说明的是,当当前存在符合预设条件的预设弹道,说明当前存在可用的预设弹道,可以将新接收到的弹幕信息配置在该符合预设条件的预设弹道上进行实时显示。
与S240ba并列的S240bb、当当前不存在符合预设条件的预设弹道,则将接收到的弹幕信息存储在预设缓冲队列中。
需要说明的是,当当前不存在符合预设条件的预设弹道,说明当前不存在可用的预设弹道,所有的预设弹道都被占用,可以将新接收到的弹幕信息存储在预设缓冲队列中等待处理。
在S250中,按照预设时间间隔检测是否存在符合预设条件的预设弹道。
其中,所述预设时间间隔可以根据实际需求进行配置,例如,可以将预设时间间隔配置为0.1、0.2秒等。
对于本申请实施例,所述S250可以包括:按照预设时间间隔检测每条预设弹道上的弹幕信息是否显示完整;将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道。
例如,每隔0.1秒检测每条预设弹道上的弹幕信息是否显示完整,将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道,当存在符合预设条件的预设弹道,可以确定存在可用的预设弹道,反之,当不存在符合预设条件的预设弹道,可以确定不存在可用的预设弹道。
对于本申请实施例,所述S250还可以包括:按照预设时间间隔检测每条预设弹道上是否存在弹幕信息;将不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道。
例如,每隔0.1秒检测每条预设弹道上是否存在弹幕信息,将不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道,当存在符合预设条件的预设弹道,可以确定存在可用的预设弹道,反之,当不存在符合预设条件的预设弹道,可以确定不存在可用的预设弹道。
在S260中,当存在符合预设条件的预设弹道,则从预设缓冲队列中提取一条弹幕信息并配置在符合预设条件的预设弹道上进行显示。
其中,所述预设缓冲队列中保存有存入的每条弹幕信息对应的存储时间。
对于本申请实施例,所述S260可以包括:当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条所述存储时间最早的弹幕信息并配 置在所述符合预设条件的预设弹道上进行显示。
需要说明的是,通过从预设缓冲队列中提取一条存储时间最早的评论信息并配置在符合预设条件的预设弹道上进行显示,可以实现按用户评论时间的先后顺序显示每条弹幕信息,可以增强用户观看体验。
可选的,所述方法还包括:在显示所述弹幕信息的过程中,接收所述预设弹道对应的调整指令;根据所述调整指令,对所述预设弹道进行调整。
对于本申请实施例,根据调整指令,可以对预设弹道的显示尺寸进行调整,如放大或缩小等;或者对预设弹道在显示窗口中的显示位置进行调整;还可以对预设弹道的条数进行调整等。需要说明的是,根据调整指令,对预设弹道进行相应调整,可以实现根据用户的实际需求,调整弹幕信息的显示效果,可以增强用户的体验。
本申请实施例提供的另一种弹幕信息的显示方法,当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。与相关技术中的将弹幕信息全部实时显示的方式相比,本申请在接收到大量的弹幕信息后,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。
可选的,作为图1所述方法的实现,本申请实施例提供了一种弹幕信息的显示装置,如图3所示,所述装置包括:检测单元31、存储单元32、提取单元33、显示单元34。
所述检测单元31,可以设置为当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息。所述检测单元31为本装置中进行条件检测的主要功能模块。
所述存储单元32,可以设置为当所述检测单元31检测出当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中。所述存储单元32为本装置中控制弹幕信息是否进行存储的主要功能模块。
所述检测单元31,还可以设置为按照预设时间间隔检测是否存在符合预 设条件的预设弹道。
所述提取单元33,可以设置为当所述检测单元31检测出存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息。所述提取单元33为本装置中提取弹幕信息的主要功能模块。
所述显示单元34,可以将所述提取单元33提取的一条弹幕信息配置在所述符合预设条件的预设弹道上进行显示。所述显示单元34为本装置中显示弹幕信息的主要功能模块。
需要说明的是,本申请实施例提供的一种弹幕信息的显示装置所涉及各功能单元的其他相应描述,可以参考图1中的对应描述,在此不再赘述。本申请实施例中可以通过硬件处理器(hardware processor)来实现相关功能模块。
本申请实施例提供的一种弹幕信息的显示装置,当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。与相关技术中的将弹幕信息全部实时显示的方式相比,本申请在接收到大量的弹幕信息后,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。
可选的,作为图2所述方法的实现,本申请实施例提供了另一种弹幕信息的显示装置,如图4所示,所述装置包括:检测单元41、存储单元42、提取单元43、显示单元44。
所述检测单元41,可以设置为当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息。所述检测单元41为本装置中进行条件检测的主要功能模块。
所述存储单元42,可以设置为当所述检测单元41检测出当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中。所述存储单元42为本装置中控制弹幕信息是否进行存储的主要功能模块。
所述检测单元41,还可以设置为按照预设时间间隔检测是否存在符合预 设条件的预设弹道。
所述提取单元43,可以设置为当所述检测单元41检测出存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息。所述提取单元43为本装置中提取弹幕信息的主要功能模块。
所述显示单元44,可以将所述提取单元43提取的一条弹幕信息配置在所述符合预设条件的预设弹道上进行显示。所述显示单元44为本装置中显示弹幕信息的主要功能模块。
所述检测单元41,是设置为按照预设时间间隔检测每条预设弹道上的弹幕信息是否显示完整。
所述检测单元41,还设置为将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道。
所述检测单元41,是设置为按照预设时间间隔检测每条预设弹道上是否存在弹幕信息。
所述检测单元41,还设置为将不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道。
所述检测单元41,还可以设置为当当前预设缓冲队列中不存在弹幕信息,则检测当前是否存在符合预设条件的预设弹道。
所述显示单元44,还可以设置为当所述检测单元41检测出当前存在符合预设条件的预设弹道,则将接收到的所述弹幕信息配置在当前符合预设条件的预设弹道上进行显示。
所述存储单元42,还可以设置为当所述检测单元41检测出当前不存在符合预设条件的预设弹道,则将接收到的所述弹幕信息存储在所述预设缓冲队列中。
可选地,所述预设缓冲队列中保存有存入的每条弹幕信息对应的存储时间。
所述提取单元43,是设置为当所述检测单元41检测出存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条所述存储时间最早的弹幕信息。
所述显示单元44,是设置为将所述提取单元43提取的一条所述存储时间最早的弹幕信息配置在所述符合预设条件的预设弹道上进行显示。
可选的,所述装置还包括:接收单元45和调整单元46。
所述接收单元45,可以设置为在显示所述弹幕信息的过程中,接收所述预设弹道对应的调整指令。
所述调整单元46,可以设置为根据所述调整指令,对所述预设弹道进行调整。
需要说明的是,本申请实施例提供的另一种弹幕信息的显示装置所涉及各功能单元的其他相应描述,可以参考图2中的对应描述,在此不再赘述。本申请实施例中可以通过硬件处理器来实现相关功能模块。
示例性的,如图5所示,图5示出了本申请实施例提供的一种弹幕信息的显示装置的实体结构示意图,该装置可以包括:处理器(processor)51、通信接口(Communications Interface)52、存储器(memory)53和总线54,其中,处理器51、通信接口52、存储器53通过总线54完成相互间的通信。通信接口52可以用于服务器与客户端之间的信息传输。处理器51可以调用存储器53中的逻辑指令,以执行如下方法:当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。此外,上述的存储器53中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本申请实施例提供的另一种弹幕信息的显示装置,当接收到服务器发送的弹幕信息时,首先检测当前预设缓冲队列中是否存在弹幕信息;当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;按照预设时间间隔检测是否存在符合预设条件的预设弹道;当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并 配置在所述符合预设条件的预设弹道上进行显示。与相关技术中的将弹幕信息全部实时显示的方式相比,本申请在接收到大量的弹幕信息后,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。
本申请实施例还提供了一种非暂态计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的弹幕信息的显示方法。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换申请不会脱离本申请的保护范围。
工业实用性
本申请实施例提供的以上技术方案,可以实现分批顺次展示弹幕信息,不会造成弹幕信息重叠显示,可以提升弹幕信息的显示效果,可以使用户看清弹幕信息中的内容,可以增强用户的观看体验。

Claims (13)

  1. 一种弹幕信息的显示方法,应用于电子设备,包括:
    当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息;
    当当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;
    按照预设时间间隔检测是否存在符合预设条件的预设弹道;以及,
    当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。
  2. 根据权利要求1所述的弹幕信息的显示方法,其中,所述按照预设时间间隔检测是否存在符合预设条件的预设弹道包括:
    按照预设时间间隔检测每条预设弹道上的弹幕信息是否显示完整;以及,
    将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道。
  3. 根据权利要求1所述的弹幕信息的显示方法,其中,所述按照预设时间间隔检测是否存在符合预设条件的预设弹道包括:
    按照预设时间间隔检测每条预设弹道上是否存在弹幕信息;以及,
    将不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道。
  4. 根据权利要求2或3所述的弹幕信息的显示方法,所述方法还包括:
    当当前预设缓冲队列中不存在弹幕信息,则检测当前是否存在符合预设条件的预设弹道;
    当当前存在符合预设条件的预设弹道,则将接收到的所述弹幕信息配置在当前符合预设条件的预设弹道上进行显示;以及,
    当当前不存在符合预设条件的预设弹道,则将接收到的所述弹幕信息存储在所述预设缓冲队列中。
  5. 根据权利要求1所述的弹幕信息的显示方法,其中,所述预设缓冲队列中保存有存入的每条弹幕信息对应的存储时间,所述当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息并配置在所述符合预设条件的预设弹道上进行显示包括:
    当存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条所述存储时间最早的弹幕信息并配置在所述符合预设条件的预设弹道上进行显示。
  6. 根据权利要求1所述的弹幕信息的显示方法,所述方法还包括:
    在显示所述弹幕信息的过程中,接收所述预设弹道对应的调整指令;以及,
    根据所述调整指令,对所述预设弹道进行调整。
  7. 一种弹幕信息的显示装置,包括:
    检测单元,设置为当接收到服务器发送的弹幕信息时,检测当前预设缓冲队列中是否存在弹幕信息;
    存储单元,设置为当所述检测单元检测出当前预设缓冲队列中存在弹幕信息,则将接收到的所述弹幕信息存储在所述预设缓冲队列中;
    所述检测单元,还设置为按照预设时间间隔检测是否存在符合预设条件的预设弹道;
    提取单元,设置为当所述检测单元检测出存在符合预设条件的预设弹道,则从所述预设缓冲队列中提取一条弹幕信息;以及,
    显示单元,设置为将所述提取单元提取的一条弹幕信息配置在所述符合预设条件的预设弹道上进行显示。
  8. 根据权利要求7所述的弹幕信息的显示装置,其中,
    所述检测单元,是设置为按照预设时间间隔检测每条预设弹道上的弹幕信息是否显示完整;以及,
    所述检测单元,还设置为将弹幕信息显示完整的预设弹道,确定为符合预设条件的预设弹道。
  9. 根据权利要求7所述的弹幕信息的显示装置,其中,
    所述检测单元,是设置为按照预设时间间隔检测每条预设弹道上是否存在弹幕信息;以及,
    所述检测单元,还设置为将不存在弹幕信息的预设弹道,确定为符合预设条件的预设弹道。
  10. 根据权利要求8或9所述的弹幕信息的显示装置,其中,
    所述检测单元,还设置为当当前预设缓冲队列中不存在弹幕信息,则检测当前是否存在符合预设条件的预设弹道;
    所述显示单元,还设置为当所述检测单元检测出当前存在符合预设条件的预设弹道,则将接收到的所述弹幕信息配置在当前符合预设条件的预设弹道上进行显示;以及,
    所述存储单元,还设置为当所述检测单元检测出当前不存在符合预设条件的预设弹道,则将接收到的所述弹幕信息存储在所述预设缓冲队列中。
  11. 一种电子设备,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5任一项的弹幕信息的显示方法。
  12. 一种非暂态计算机可读存储介质,其中,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-5任一项的弹幕信息的显示方法。
  13. 一种计算机程序产品,其中,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5任一项的弹幕信息的显示方法。
PCT/CN2016/097955 2016-03-30 2016-09-02 弹幕信息的显示方法及装置 WO2017166719A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610194458.4A CN105872709A (zh) 2016-03-30 2016-03-30 弹幕信息的显示方法及装置
CN201610194458.4 2016-03-30

Publications (1)

Publication Number Publication Date
WO2017166719A1 true WO2017166719A1 (zh) 2017-10-05

Family

ID=56626563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097955 WO2017166719A1 (zh) 2016-03-30 2016-09-02 弹幕信息的显示方法及装置

Country Status (2)

Country Link
CN (1) CN105872709A (zh)
WO (1) WO2017166719A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696766A (zh) * 2018-05-15 2018-10-23 北京字节跳动网络技术有限公司 弹幕显示方法、装置和计算机可读存储介质
CN111031399A (zh) * 2019-11-25 2020-04-17 上海哔哩哔哩科技有限公司 弹幕处理方法和系统
CN115297355A (zh) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872709A (zh) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 弹幕信息的显示方法及装置
CN106488296B (zh) * 2016-10-18 2019-06-11 广州酷狗计算机科技有限公司 一种显示视频弹幕的方法和装置
CN106454485B (zh) * 2016-10-25 2018-04-10 华中科技大学 一种速度可变弹幕的弹道分配方法
CN107295387B (zh) * 2017-06-16 2020-03-17 北京潘达互娱科技有限公司 弹幕显示方法及装置
CN107360459B (zh) 2017-07-07 2021-02-02 腾讯科技(深圳)有限公司 一种弹幕的处理方法、装置和存储介质
CN107371056A (zh) * 2017-07-18 2017-11-21 北京蜜莱坞网络科技有限公司 一种加载弹幕的方法和装置
CN108307244B (zh) * 2018-01-09 2020-06-16 武汉斗鱼网络科技有限公司 弹幕发言时间控制方法、存储介质、电子设备及系统
CN110072153A (zh) * 2018-01-24 2019-07-30 优酷网络技术(北京)有限公司 弹幕的展示控制方法及装置
CN109379604B (zh) * 2018-08-15 2021-04-09 深圳点猫科技有限公司 一种基于教育云平台的视频弹幕制作方法及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130080224A1 (en) * 2011-09-23 2013-03-28 Scott Thomas O'Brien Method and apparatus for an online story sharing service
CN103533442A (zh) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 视频弹幕的加载方法及装置
CN103914464A (zh) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 基于流媒体播放的伴随式评论的互动展示方法和系统
WO2015075850A1 (ja) * 2013-11-19 2015-05-28 株式会社ソニー・コンピュータエンタテインメント 情報処理装置
CN105373554A (zh) * 2014-08-25 2016-03-02 北京爱声声科技有限公司 基于移动设备网页的弹幕方法及系统
CN105430471A (zh) * 2015-11-26 2016-03-23 无锡天脉聚源传媒科技有限公司 一种视频中弹幕的显示方法及装置
CN105872709A (zh) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 弹幕信息的显示方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012029064A (ja) * 2010-07-23 2012-02-09 Funai Electric Co Ltd 映像装置
CN104661096B (zh) * 2013-11-21 2018-06-19 深圳市快播科技有限公司 视频弹幕添加方法及装置和视频播放方法及视频播放器
CN105245960A (zh) * 2014-07-07 2016-01-13 乐视网信息技术(北京)股份有限公司 视频的弹幕显示方法及装置
CN104967876B (zh) * 2014-09-30 2019-01-08 腾讯科技(深圳)有限公司 弹幕信息处理方法和装置、弹幕信息展示方法和装置
CN104618813B (zh) * 2015-01-20 2018-02-13 腾讯科技(北京)有限公司 弹幕信息处理方法、客户端及服务平台
CN104980500B (zh) * 2015-06-08 2019-01-04 腾讯科技(北京)有限公司 一种信息显示方法及终端
CN105100869B (zh) * 2015-07-13 2018-09-04 腾讯科技(深圳)有限公司 弹幕显示方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130080224A1 (en) * 2011-09-23 2013-03-28 Scott Thomas O'Brien Method and apparatus for an online story sharing service
CN103914464A (zh) * 2012-12-31 2014-07-09 上海证大喜马拉雅网络科技有限公司 基于流媒体播放的伴随式评论的互动展示方法和系统
CN103533442A (zh) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 视频弹幕的加载方法及装置
WO2015075850A1 (ja) * 2013-11-19 2015-05-28 株式会社ソニー・コンピュータエンタテインメント 情報処理装置
CN105373554A (zh) * 2014-08-25 2016-03-02 北京爱声声科技有限公司 基于移动设备网页的弹幕方法及系统
CN105430471A (zh) * 2015-11-26 2016-03-23 无锡天脉聚源传媒科技有限公司 一种视频中弹幕的显示方法及装置
CN105872709A (zh) * 2016-03-30 2016-08-17 乐视控股(北京)有限公司 弹幕信息的显示方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696766A (zh) * 2018-05-15 2018-10-23 北京字节跳动网络技术有限公司 弹幕显示方法、装置和计算机可读存储介质
CN111031399A (zh) * 2019-11-25 2020-04-17 上海哔哩哔哩科技有限公司 弹幕处理方法和系统
CN111031399B (zh) * 2019-11-25 2020-10-02 上海哔哩哔哩科技有限公司 弹幕处理方法和系统
CN115297355A (zh) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质
CN115297355B (zh) * 2022-08-02 2024-01-23 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN105872709A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017166719A1 (zh) 弹幕信息的显示方法及装置
US10210845B2 (en) Method and apparatus for compensating for variable refresh rate display range limitations
WO2015039553A1 (en) Method and system for identifying fraudulent websites priority claim and related application
WO2016187888A1 (zh) 基于字符识别的关键词通知方法及设备、计算机程序产品
US10129467B2 (en) Video photographing processing method and apparatus
US9893974B2 (en) Synchronization of data for colliding bodies
US10701301B2 (en) Video playing method and device
CN108521583A (zh) 一种基于云计算的大量弹幕信息并发处理方法及云计算服务器
CN107295387B (zh) 弹幕显示方法及装置
WO2014187108A1 (zh) 服务器、客户端及视频处理方法
US20170195710A1 (en) Method and electronic device for preview play
WO2019127922A1 (zh) 一种数据搬运方法、计算装置及计算机可读存储介质
US20170169062A1 (en) Method and electronic device for recommending video
WO2017113708A1 (zh) 视频播放方法及装置
WO2017166712A1 (zh) 评价信息的显示方法及装置
CN106648513B (zh) 图片显示控制方法和装置、微控制器和电子烟
US11895424B2 (en) Video shooting method and apparatus, electronic device and storage medium
US11513937B2 (en) Method and device of displaying video comments, computing device, and readable storage medium
US20170171462A1 (en) Image Collection Method, Information Push Method and Electronic Device, and Mobile Phone
TW201608898A (zh) 視訊會議處理方法及系統
CN108681531B (zh) 文档输入的控制方法及装置
CN111143007A (zh) 一种页面控制方法、装置、设备及介质
CN104125487A (zh) 一种上传图像数据的方法和装置
US20140240247A1 (en) Method for presenting a photo gallery and terminal device thereof
CN115278107A (zh) 视频处理方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896489

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896489

Country of ref document: EP

Kind code of ref document: A1