WO2017107523A1 - Method of displaying overlay comment and terminal - Google Patents

Method of displaying overlay comment and terminal Download PDF

Info

Publication number
WO2017107523A1
WO2017107523A1 PCT/CN2016/096368 CN2016096368W WO2017107523A1 WO 2017107523 A1 WO2017107523 A1 WO 2017107523A1 CN 2016096368 W CN2016096368 W CN 2016096368W WO 2017107523 A1 WO2017107523 A1 WO 2017107523A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
area
feature image
information
image
Prior art date
Application number
PCT/CN2016/096368
Other languages
French (fr)
Chinese (zh)
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 WO2017107523A1 publication Critical patent/WO2017107523A1/en

Links

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/47End-user applications
    • H04N21/482End-user interface for program selection
    • 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
    • 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/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • 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

Definitions

  • the present invention relates to the field of multimedia technologies, and in particular, to a barrage display method and a terminal.
  • the barrage display is a display mode in which a large number of user comments are displayed on the video screen in the form of scrolling subtitles when the terminal displays the video screen.
  • a common type of barrage display is as follows: each barrage information occupies one line of the video picture, and the barrage information is scrolled from the left side of the line to the right side of the line.
  • the video picture includes a feature image, such as a face, an animal face, etc., the barrage information will be displayed on the feature image, so as to affect the display effect of the video picture.
  • the embodiment of the invention provides a barrage display method and a terminal, which can prevent the barrage information from being displayed on the feature image, so as to improve the display effect of the video screen.
  • a first aspect of the embodiments of the present invention provides a barrage display method, including:
  • the terminal When the terminal displays the video screen, acquiring a scrolling track of the target barrage information, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
  • the target barrage information is scrolled along the scroll track to the area where the feature image is located, the target barr information is hidden, or the target barrage information is Scrolling is displayed on the image displayed in the target area corresponding to the area where the feature image is located.
  • a second aspect of the embodiments of the present invention provides a terminal, including:
  • An acquiring unit configured to acquire a scrolling track of the target barrage information when the terminal displays the video screen, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
  • a first determining unit configured to determine whether a scroll track acquired by the acquiring unit passes through an area where the feature image is located
  • a processing unit configured to: when the determination result of the first determining unit is YES, if the target bullet information is scrolled along the rolling track acquired by the acquiring unit to an area where the feature image is located, the target bomb is hidden Curtain information, or scrolling the target bullet information on the image displayed in the target area corresponding to the area where the feature image is located.
  • the scroll track of the target bullet information is acquired, and the target bullet information is any barr information in the barrage information corresponding to the video screen; determining whether the scroll track passes the feature image
  • the scrolling track passes through the area where the feature image is located, if the target barrage information is scrolled along the scroll track to the area where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the target region corresponding to the region where the feature image is located.
  • the image displayed on the area is above to prevent the barrage information from being displayed on the feature image in order to improve the display effect of the video frame.
  • FIG. 1 is a flowchart of a method for displaying a barrage according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 3 is a structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention.
  • the embodiment of the invention provides a barrage display method and a terminal, which can prevent the barrage information from being displayed on the feature image, so as to improve the display effect of the video screen.
  • the details are described below separately.
  • FIG. 1 is a flowchart of a method for displaying a barrage according to an embodiment of the present invention.
  • the barrage display method is suitable for a mobile phone, a tablet computer, and the like that can play video. As shown in FIG. 1, the barrage display method may include the following steps.
  • the terminal displays the video screen, obtain a rolling track of the target bullet information.
  • a scroll track assigned to the target barrage information is acquired.
  • the target barrage information is any barrage information in the barrage information corresponding to the video screen, and may be real-time barrage information or historical barrage information, which is not limited in this embodiment.
  • the scroll track may be a straight line or a curve from the left side of the video screen to the right side of the video screen, or may be a line or a curve from the right side of the video screen to the left side of the video screen, or may be from the video screen.
  • the straight line or the curve from the lower side to the upper side of the video screen may be a straight line or a curve from the upper side of the video screen to the lower side of the video screen, and may be other forms of straight lines or curved lines, which is not limited in this embodiment.
  • step 102 Determine whether the rolling track of the target barrage information passes through the region where the feature image is located.
  • step 103 is performed, when the rolling track of the target barrage information does not pass through the feature image.
  • step 104 will be performed.
  • step 104 when the scroll track of the target barrage information does not pass through the region where the feature image is located, it indicates that the target barrage information is displayed on the feature image along the scroll track. The above does not affect the display effect of the video screen, and step 104 will be performed.
  • the feature image may be a face image of all characters appearing in the video picture, or may be a face image of a specific person or a certain person appearing in the video picture, or may be an animal appearing in the video picture or All or part of the image of the plant is not limited in this embodiment.
  • the target barrage information is hidden, or the target barr information is scrolled and displayed on the image displayed in the target area corresponding to the region where the feature image is located, when the target bullet is
  • the screen information is scrolled along the scroll track to an area other than the area where the feature image is located in the video picture, the target barrage information is displayed on the video screen along the scroll track.
  • the target barrage information when the rolling track of the target bullet information passes through the area where the feature image is located, and the target barr information scrolls along the rolling track to the area where the feature image is located, the target barrage information may be hidden, or the target barrage may be The information scrolling is displayed on the image displayed on the target area corresponding to the area where the feature image is located, and the area outside the area where the feature image is located can be normally displayed on the video screen according to the scroll track.
  • the target area may be any area of the first area except the area where the feature image is located and no barrage information is displayed.
  • the first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines.
  • the target barrage information may be hidden by scrolling the target barrage information along the scroll track under the feature image, or the target barrage information may be scrolled and displayed on the feature image in a transparent manner along the scroll track.
  • the target barrage information is scrolled and displayed on the feature image in a transparent manner along the rolling track, that is, the color of the target barrage information is adjusted to the display color of the region where the feature image is located and scrolled along the scroll track to be displayed on the feature image.
  • the target bullet information when the scrolling trajectory of the target bullet information does not pass through the region where the feature image is located, the target bullet information is displayed on the video screen along the scroll trajectory in the entire video screen.
  • the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; Whether the trajectory passes through the region where the feature image is located; when the scroll trajectory passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed. Above the image displayed in the target area corresponding to the image area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video picture.
  • the region where the feature image is located occupies the full video image, that is, whether the region where the feature image is located occupies the first region, and the region where the feature image is occupied is occupied.
  • the target bullet screen information is hidden; when the area of the feature image is not occupied by the full video image, and the target bullet information is scrolled to the feature image along the scroll track
  • the target bullet information can be hidden, or the target bullet information can be scrolled and displayed on the image displayed in the target area corresponding to the area where the feature image is located.
  • FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention.
  • the "plot is good” scrolling display on the image displayed in the first area FIG. 4a It is displayed in a straight line on the image displayed in the first area, and FIG. 4b is scrolled along the curve on the image displayed in the first area.
  • FIG. 2 is a structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal is a mobile phone, a tablet computer, etc. that can play video.
  • the terminal 200 can include:
  • the acquiring unit 201 is configured to acquire a rolling track of the target bullet information when the terminal displays the video screen, where the target barr information is any barr information in the barrage information corresponding to the video screen;
  • the first determining unit 202 is configured to determine whether the scroll track acquired by the acquiring unit 201 passes through an area where the feature image is located;
  • the processing unit 203 is configured to: when the determination result of the first determining unit 202 is YES, if the target bullet information is scrolled along the rolling track acquired by the acquiring unit 201 to the area where the feature image is located, the target barr information is hidden, or the target bullet is hidden.
  • the screen information is scrolled and displayed on the image displayed in the target area corresponding to the area where the feature image is located.
  • the acquiring unit 201 acquires the scroll track assigned to the target barrage information.
  • the target barrage information is any barrage information in the barrage information corresponding to the video screen, and may be real-time barrage information or historical barrage information, which is not limited in this embodiment.
  • the scroll track may be a straight line or a curve from the left side of the video screen to the right side of the video screen, or may be a line or a curve from the right side of the video screen to the left side of the video screen, or may be from the video screen.
  • the straight line or the curve from the lower side to the upper side of the video screen may be a straight line or a curve from the upper side of the video screen to the lower side of the video screen, and may be other forms of straight lines or curved lines, which is not limited in this embodiment.
  • the first determining unit 202 determines whether the rolling track of the target barrage information passes through the region where the feature image is located, and when the rolling track of the target barrage information passes the feature. When the image is located, it indicates that the target bullet information is displayed on the feature image to affect the display effect of the video image. If the target bullet information is scrolled along the scroll track acquired by the acquiring unit 201 to the region where the feature image is located, the processing unit 203 is triggered.
  • Hidden target barrage information or scrolling the target barrage information on the image displayed in the target area corresponding to the region where the feature image is located; when the target track information has not passed the region of the feature image, indicating the target barr information information
  • the scroll track display on the feature image does not affect the display effect of the video screen, and the target barrage information is displayed on the video screen along the scroll track in the entire video screen.
  • the feature image may be a face image of all characters appearing in the video picture, or may be a face image of a specific person or a certain person appearing in the video picture, or may be an animal appearing in the video picture or All or part of the image of the plant is not limited in this embodiment.
  • the terminal 200 may further include:
  • the second determining unit 204 is configured to determine whether the area where the feature image is located occupies a full video picture
  • the trigger processing unit 203 executes the hidden target barrage information
  • the trigger processor unit 203 executes the hidden target barrage information, or scrolls the target barrage information on the image displayed in the target area corresponding to the region where the feature image is located.
  • the second determining unit 204 is triggered to determine whether the area where the feature image is located occupies the full video picture.
  • the target area is any area of the first area except the area where the feature image is located, and the first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines.
  • the second determining unit 204 may determine whether the region where the feature image is located occupies the full video image, that is, whether the region where the feature image is located is determined whether When the area of the feature image occupies the full video picture, and the target barrage information scrolls along the scroll track to the area where the feature image is located, the target barr information is hidden; when the area of the feature image does not occupy the full video picture When the target bullet information scrolls along the rolling track to the area where the feature image is located, the target barrage information may be hidden, or the target barrage information may be scrolled and displayed on the image displayed in the target area corresponding to the region where the feature image is located.
  • FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention.
  • the "playing good story” barr information scrolls along the rolling track to the face area of the larger character
  • the "plot is good” scrolling is displayed in the first area
  • FIG. 4a is scrolling along the line. Displayed in the first area
  • Figure 4b is scrolled along the curve in the first area.
  • the manner in which the processing unit 203 hides the target barrage information includes:
  • the target bullet information is scrolled on the feature image in a transparent manner along the scroll track.
  • the manner in which the processing unit 203 scrolls the target bulletscreen information in a transparent manner along the scroll track on the feature image includes:
  • the color of the target bullet information is adjusted to the display color of the area where the feature image is located and scrolled on the feature image along the scroll track.
  • the processing unit 203 hides the target barrage information, which may be that the target barrage information is scrolled and displayed under the feature image along the scroll track, or the target barrage information may be scrolled along the scroll track in a transparent manner. Above the feature image.
  • the processing unit 203 scrolls the target bullet information in a transparent manner on the top of the feature image in a transparent manner, that is, adjusts the color of the target bullet information to the display color of the region where the feature image is located and scrolls the display image along the scroll track.
  • the target barrage information which may be that the target barrage information is scrolled and displayed under the feature image along the scroll track, or the target barrage information may be scrolled along the scroll track in a transparent manner.
  • the processing unit 203 scrolls the target bullet information in a transparent manner on the top of the feature image in a transparent manner, that is, adjusts the color of the target bullet information to the display color of the region where the feature image is located and scrolls the display image along the scroll track.
  • the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; determining whether the scroll track passes Where the feature image is located; when the scroll track passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the region where the feature image is located. Above the image displayed on the corresponding target area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video frame.
  • FIG. 3 is a structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal is a mobile phone, a tablet computer, etc. that can play video.
  • the terminal 300 can include at least one processor 301 such as a CPU, a memory 302, an input device 303 such as a keyboard, a touch screen, etc., a display screen 304, and at least one communication bus 305.
  • the memory 302 can be a high speed RAM memory or a non-volatile memory (non-volatile) Memory), such as at least one disk storage.
  • the memory 302 may also be at least one storage device located remotely from the aforementioned processor 301. among them:
  • a communication bus 305 for implementing connection communication between these components
  • the input device 303 is configured to input the barrage information and send it to the processor 301;
  • the memory 302 stores a set of program codes
  • the processor 301 is configured to call the program code stored in the memory to perform the following operations:
  • the processor 301 acquires a rolling track of the target barrage information, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
  • the processor 301 determines whether the scroll track passes through the area where the feature image is located;
  • the processor 301 When the scrolling track passes through the region where the feature image is located, if the target barrage information scrolls along the scroll track to the region where the feature image is located, the processor 301 hides the target barrage information, or the display screen 304 scrolls the target barrage information to the feature image. The area corresponding to the target area is displayed above the image.
  • the processor 301 is further configured to call the program code stored in the memory to perform the following operations:
  • the processor 31 determines whether the area where the feature image is located occupies a full video picture
  • the processor 301 executes the hidden target barrage information
  • the processor 301 executes the hidden target barrage information, or the display screen 304 performs the scrolling display of the target barrage information on the image displayed in the target area corresponding to the area where the feature image is located.
  • the processor 301 executes the hidden target barrage information, or the display screen 304 performs the scrolling display of the target barrage information on the image displayed in the target area corresponding to the area where the feature image is located.
  • the manner in which the processor 301 hides the target bullet information includes:
  • the display screen 304 scrolls the target bullet information along the scroll track under the feature image
  • the display screen 304 scrolls the target bulletscreen information in a transparent manner along the scroll track on the feature image.
  • the target area is any area of the first area except the area where the feature image is located, and the first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines.
  • the display screen 304 scrolls the target bullet screen information in a transparent manner along the scroll track on the feature image, including:
  • the display screen 304 adjusts the color of the target bullet information to the display color of the area where the feature image is located and scrolls the scroll image along the feature image.
  • the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; determining whether the scroll track passes Where the feature image is located; when the scroll track passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the region where the feature image is located. Above the image displayed on the corresponding target area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video frame.
  • sequence of steps of the method of the embodiment of the present invention may be adjusted, merged, or deleted according to actual needs.
  • the unit of the terminal in the embodiment of the present invention may be integrated, further divided or deleted according to actual needs.
  • the unit of the embodiment of the present invention may be implemented by a general-purpose integrated circuit (such as a central processing unit CPU) or by an application specific integrated circuit (ASIC).
  • a general-purpose integrated circuit such as a central processing unit CPU
  • ASIC application specific integrated circuit
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (Read-Only Memory, ROM), Random Access Memory (RAM), disk or CD.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiments of the invention provide a method of displaying an overlay comment and a terminal. The method comprises: when a terminal displays a video screen, obtaining a motion trace of a target overlay comment information, wherein the target overlay comment information is any overlay comment information corresponding to the video screen; determining whether the motion trace passes through an area where a characteristic image is located; if so, hiding, when the target overlay comment information passes over the characteristic image along the motion trace, the target overlay comment information, or displaying, over an image displayed on a target area corresponding to the area where the characteristic image is located, the target overlay comment information. Adopting the embodiment of the invention can prevent overlay comment information from being shown on a characteristic image, enhancing display performance of a video.

Description

一种弹幕显示方法及终端  Barrage display method and terminal
本申请要求于2015年12月24日提交中国专利局,申请号为201510988382.8、发明名称为“一种弹幕显示方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510988382.8, entitled "A Barrage Display Method and Terminal", filed on December 24, 2015, the entire contents of which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及多媒体技术领域,具体涉及一种弹幕显示方法及终端。The present invention relates to the field of multimedia technologies, and in particular, to a barrage display method and a terminal.
背景技术Background technique
弹幕显示是在终端显示视频画面时,将大量的用户评论以滚动字幕形式显示在视频画面上面的一种显示方式。目前,常见的一种弹幕显示方式为:每条弹幕信息占据视频画面的一行,并且弹幕信息从该行的左侧滚动显示至该行的右侧。在实践中发现,当视频画面包括特征图像时,如人脸、动物脸等,这些弹幕信息将显示在特征图像上面,以致影响视频画面的显示效果。The barrage display is a display mode in which a large number of user comments are displayed on the video screen in the form of scrolling subtitles when the terminal displays the video screen. At present, a common type of barrage display is as follows: each barrage information occupies one line of the video picture, and the barrage information is scrolled from the left side of the line to the right side of the line. In practice, it is found that when the video picture includes a feature image, such as a face, an animal face, etc., the barrage information will be displayed on the feature image, so as to affect the display effect of the video picture.
发明内容Summary of the invention
本发明实施例提供一种弹幕显示方法及终端,能够防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。The embodiment of the invention provides a barrage display method and a terminal, which can prevent the barrage information from being displayed on the feature image, so as to improve the display effect of the video screen.
本发明实施例第一方面提供一种弹幕显示方法,包括:A first aspect of the embodiments of the present invention provides a barrage display method, including:
当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,所述目标弹幕信息是所述视频画面对应的弹幕信息中的任一弹幕信息;When the terminal displays the video screen, acquiring a scrolling track of the target barrage information, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
判断所述滚动轨迹是否经过特征图像所在区域;Determining whether the scroll track passes through an area where the feature image is located;
当所述滚动轨迹经过特征图像所在区域时,若所述目标弹幕信息沿所述滚动轨迹滚动到所述特征图像所在区域,则隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。When the scroll trajectory passes through the area where the feature image is located, if the target barrage information is scrolled along the scroll track to the area where the feature image is located, the target barr information is hidden, or the target barrage information is Scrolling is displayed on the image displayed in the target area corresponding to the area where the feature image is located.
本发明实施例第二方面提供一种终端,包括:A second aspect of the embodiments of the present invention provides a terminal, including:
获取单元,用于当所述终端显示视频画面时,获取目标弹幕信息的滚动轨迹,所述目标弹幕信息是所述视频画面对应的弹幕信息中的任一弹幕信息;An acquiring unit, configured to acquire a scrolling track of the target barrage information when the terminal displays the video screen, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
第一判断单元,用于判断所述获取单元获取的滚动轨迹是否经过特征图像所在区域;a first determining unit, configured to determine whether a scroll track acquired by the acquiring unit passes through an area where the feature image is located;
处理单元,用于当所述第一判断单元的判断结果为是时,若所述目标弹幕信息沿所述获取单元获取的滚动轨迹滚动到所述特征图像所在区域,则隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。a processing unit, configured to: when the determination result of the first determining unit is YES, if the target bullet information is scrolled along the rolling track acquired by the acquiring unit to an area where the feature image is located, the target bomb is hidden Curtain information, or scrolling the target bullet information on the image displayed in the target area corresponding to the area where the feature image is located.
本发明实施例中,当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;判断滚动轨迹是否经过特征图像所在区域;当滚动轨迹经过特征图像所在区域时,若目标弹幕信息沿滚动轨迹滚动到特征图像所在区域,则隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,以防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。In the embodiment of the present invention, when the terminal displays the video screen, the scroll track of the target bullet information is acquired, and the target bullet information is any barr information in the barrage information corresponding to the video screen; determining whether the scroll track passes the feature image When the scrolling track passes through the area where the feature image is located, if the target barrage information is scrolled along the scroll track to the area where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the target region corresponding to the region where the feature image is located. The image displayed on the area is above to prevent the barrage information from being displayed on the feature image in order to improve the display effect of the video frame.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种弹幕显示方法的流程图;1 is a flowchart of a method for displaying a barrage according to an embodiment of the present invention;
图2是本发明实施例提供的一种终端的结构图;2 is a structural diagram of a terminal according to an embodiment of the present invention;
图3是本发明实施例提供的另一种终端的结构图;3 is a structural diagram of another terminal according to an embodiment of the present invention;
图4是本发明实施例提供的一种将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面的示意图。FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种弹幕显示方法及终端,能够防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。以下分别进行详细说明。The embodiment of the invention provides a barrage display method and a terminal, which can prevent the barrage information from being displayed on the feature image, so as to improve the display effect of the video screen. The details are described below separately.
请参阅图1,图1是本发明实施例提供的一种弹幕显示方法的流程图。其中,该弹幕显示方法适用于可以播放视频的手机、平板电脑等终端。如图1所示,该弹幕显示方法可以包括以下步骤。Please refer to FIG. 1. FIG. 1 is a flowchart of a method for displaying a barrage according to an embodiment of the present invention. The barrage display method is suitable for a mobile phone, a tablet computer, and the like that can play video. As shown in FIG. 1, the barrage display method may include the following steps.
101、当终端显示视频画面时,获取目标弹幕信息的滚动轨迹。101. When the terminal displays the video screen, obtain a rolling track of the target bullet information.
本实施例中,当终端显示视频画面时,如果存在与视频画面对应的目标弹幕信息,将获取为目标弹幕信息分配的滚动轨迹。其中,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息,可以是实时的弹幕信息,也可以是历史的弹幕信息,本实施例不作限定。其中,滚动轨迹可以是从视频画面的左侧到视频画面的右侧的直线或曲线,也可以是从视频画面的右侧到视频画面的左侧的直线或曲线,还可以是从视频画面的下侧到视频画面的上侧的直线或曲线,还可以是从视频画面的上侧到视频画面的下侧的直线或曲线,还可以是其它形式的直线或曲线,本实施例不作限定。In this embodiment, when the terminal displays the video screen, if there is target barrage information corresponding to the video screen, a scroll track assigned to the target barrage information is acquired. The target barrage information is any barrage information in the barrage information corresponding to the video screen, and may be real-time barrage information or historical barrage information, which is not limited in this embodiment. The scroll track may be a straight line or a curve from the left side of the video screen to the right side of the video screen, or may be a line or a curve from the right side of the video screen to the left side of the video screen, or may be from the video screen. The straight line or the curve from the lower side to the upper side of the video screen may be a straight line or a curve from the upper side of the video screen to the lower side of the video screen, and may be other forms of straight lines or curved lines, which is not limited in this embodiment.
102、判断目标弹幕信息的滚动轨迹是否经过特征图像所在区域,当目标弹幕信息的滚动轨迹经过特征图像所在区域时,将执行步骤103,当目标弹幕信息的滚动轨迹未经过特征图像所在区域时,将执行步骤104。102. Determine whether the rolling track of the target barrage information passes through the region where the feature image is located. When the rolling track of the target barrage information passes through the region where the feature image is located, step 103 is performed, when the rolling track of the target barrage information does not pass through the feature image. In the case of the zone, step 104 will be performed.
本实施例中,获取到目标弹幕信息的滚动轨迹之后,将判断目标弹幕信息的滚动轨迹是否经过特征图像所在区域,当目标弹幕信息的滚动轨迹经过特征图像所在区域时,表明目标弹幕信息沿滚动轨迹显示在特征图像上面影响视频画面的显示效果,将执行步骤103;当目标弹幕信息的滚动轨迹未经过特征图像所在区域时,表明目标弹幕信息沿滚动轨迹显示在特征图像上面不影响视频画面的显示效果,将执行步骤104。其中,特征图像可以是视频画面中出现的所有人物的人脸图像,也可以是视频画面中出现的某个特定人物或某些特定人物的人脸图像,还可以是视频画面中出现的动物或植物的全部或部分图像,本实施例不作限定。In this embodiment, after the rolling track of the target bullet information is acquired, it is determined whether the rolling track of the target barrage information passes through the region where the feature image is located, and when the rolling track of the target barrage information passes through the region where the feature image is located, the target bullet is indicated. The screen information is displayed along the scroll track on the feature image to affect the display effect of the video screen, and step 103 is performed; when the scroll track of the target barrage information does not pass through the region where the feature image is located, it indicates that the target barrage information is displayed on the feature image along the scroll track. The above does not affect the display effect of the video screen, and step 104 will be performed. The feature image may be a face image of all characters appearing in the video picture, or may be a face image of a specific person or a certain person appearing in the video picture, or may be an animal appearing in the video picture or All or part of the image of the plant is not limited in this embodiment.
103、当目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,将隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,当目标弹幕信息沿滚动轨迹滚动到视频画面中除特征图像所在区域之外的区域时,将目标弹幕信息沿滚动轨迹显示在视频画面上面。103. When the target bullet information scrolls along the rolling track to the area where the feature image is located, the target barrage information is hidden, or the target barr information is scrolled and displayed on the image displayed in the target area corresponding to the region where the feature image is located, when the target bullet is When the screen information is scrolled along the scroll track to an area other than the area where the feature image is located in the video picture, the target barrage information is displayed on the video screen along the scroll track.
本实施例中,当目标弹幕信息的滚动轨迹经过特征图像所在区域,且目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,可以将目标弹幕信息隐藏起来,也可以将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,而在特征图像所在区域之外的区域,可以按照滚动轨迹正常显示在视频画面上。其中,目标区域可以是第一区域中除特征图像所在区域之外且未显示弹幕信息的任一区域,第一区域是位于经过滚动轨迹与特征图像所在区域的两个交点且垂直于滚动轨迹的两条直线间的区域。其中,将目标弹幕信息隐藏起来,可以是将目标弹幕信息沿滚动轨迹滚动显示在特征图像的下面,也可以是将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像的上面。其中,将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像的上面,即将目标弹幕信息的颜色调整为特征图像所在区域的显示颜色并沿滚动轨迹滚动显示在特征图像的上面。In this embodiment, when the rolling track of the target bullet information passes through the area where the feature image is located, and the target barr information scrolls along the rolling track to the area where the feature image is located, the target barrage information may be hidden, or the target barrage may be The information scrolling is displayed on the image displayed on the target area corresponding to the area where the feature image is located, and the area outside the area where the feature image is located can be normally displayed on the video screen according to the scroll track. The target area may be any area of the first area except the area where the feature image is located and no barrage information is displayed. The first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines. The target barrage information may be hidden by scrolling the target barrage information along the scroll track under the feature image, or the target barrage information may be scrolled and displayed on the feature image in a transparent manner along the scroll track. The target barrage information is scrolled and displayed on the feature image in a transparent manner along the rolling track, that is, the color of the target barrage information is adjusted to the display color of the region where the feature image is located and scrolled along the scroll track to be displayed on the feature image.
104、在整个视频画面中将目标弹幕信息沿滚动轨迹显示在视频画面上面。104. Display the target bullet information on the video screen along the scroll track in the entire video screen.
本实施例中,当目标弹幕信息的滚动轨迹未经过特征图像所在区域时,在整个视频画面中将目标弹幕信息沿滚动轨迹显示在视频画面上面。In this embodiment, when the scrolling trajectory of the target bullet information does not pass through the region where the feature image is located, the target bullet information is displayed on the video screen along the scroll trajectory in the entire video screen.
在图1所描述的弹幕显示方法中,当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;判断滚动轨迹是否经过特征图像所在区域;当滚动轨迹经过特征图像所在区域时,若目标弹幕信息沿滚动轨迹滚动到特征图像所在区域,则隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,可以防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。In the barrage display method described in FIG. 1, when the terminal displays the video screen, the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; Whether the trajectory passes through the region where the feature image is located; when the scroll trajectory passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed. Above the image displayed in the target area corresponding to the image area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video picture.
在一个实施例中,当判断出滚动轨迹经过特征图像所在区域时,将判断特征图像所在区域是否占据满视频画面,即判断特征图像所在区域是否占据满第一区域,当特征图像所在区域占据满视频画面,且目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,将目标弹幕信息隐藏起来;当特征图像所在区域未占据满视频画面,且目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,可以将目标弹幕信息隐藏起来,也可以将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。请参阅图4,图4是本发明实施例提供的一种将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面的示意图。如图4所示,当“剧情很好”的弹幕信息沿滚动轨迹滚动到较大的人物的人脸区域时,将“剧情很好”滚动显示在第一区域所显示图像上面,图4a是沿直线滚动显示在第一区域所显示图像上面,图4b是沿曲线滚动显示在第一区域所显示图像上面。In an embodiment, when it is determined that the scroll trajectory passes through the region where the feature image is located, it is determined whether the region where the feature image is located occupies the full video image, that is, whether the region where the feature image is located occupies the first region, and the region where the feature image is occupied is occupied. When the video screen is scrolled to the area where the feature image is located, the target bullet screen information is hidden; when the area of the feature image is not occupied by the full video image, and the target bullet information is scrolled to the feature image along the scroll track When the area is located, the target bullet information can be hidden, or the target bullet information can be scrolled and displayed on the image displayed in the target area corresponding to the area where the feature image is located. Referring to FIG. 4, FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention. As shown in FIG. 4, when the "playing good story" barr information scrolls along the scroll track to the face area of the larger character, the "plot is good" scrolling display on the image displayed in the first area, FIG. 4a It is displayed in a straight line on the image displayed in the first area, and FIG. 4b is scrolled along the curve on the image displayed in the first area.
请参阅图2,图2是本发明实施例提供的一种终端的结构图。其中,该终端是可以播放视频的手机、平板电脑等。如图2所示,该终端200可以包括:Referring to FIG. 2, FIG. 2 is a structural diagram of a terminal according to an embodiment of the present invention. Among them, the terminal is a mobile phone, a tablet computer, etc. that can play video. As shown in FIG. 2, the terminal 200 can include:
获取单元201,用于当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;The acquiring unit 201 is configured to acquire a rolling track of the target bullet information when the terminal displays the video screen, where the target barr information is any barr information in the barrage information corresponding to the video screen;
第一判断单元202,用于判断获取单元201获取的滚动轨迹是否经过特征图像所在区域;The first determining unit 202 is configured to determine whether the scroll track acquired by the acquiring unit 201 passes through an area where the feature image is located;
处理单元203,用于当第一判断单元202的判断结果为是时,若目标弹幕信息沿获取单元201获取的滚动轨迹滚动到特征图像所在区域,则隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。The processing unit 203 is configured to: when the determination result of the first determining unit 202 is YES, if the target bullet information is scrolled along the rolling track acquired by the acquiring unit 201 to the area where the feature image is located, the target barr information is hidden, or the target bullet is hidden. The screen information is scrolled and displayed on the image displayed in the target area corresponding to the area where the feature image is located.
本实施例中,当终端显示视频画面时,如果存在与视频画面对应的目标弹幕信息,获取单元201将获取为目标弹幕信息分配的滚动轨迹。其中,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息,可以是实时的弹幕信息,也可以是历史的弹幕信息,本实施例不作限定。其中,滚动轨迹可以是从视频画面的左侧到视频画面的右侧的直线或曲线,也可以是从视频画面的右侧到视频画面的左侧的直线或曲线,还可以是从视频画面的下侧到视频画面的上侧的直线或曲线,还可以是从视频画面的上侧到视频画面的下侧的直线或曲线,还可以是其它形式的直线或曲线,本实施例不作限定。In this embodiment, when the terminal displays the video screen, if there is target barrage information corresponding to the video screen, the acquiring unit 201 acquires the scroll track assigned to the target barrage information. The target barrage information is any barrage information in the barrage information corresponding to the video screen, and may be real-time barrage information or historical barrage information, which is not limited in this embodiment. The scroll track may be a straight line or a curve from the left side of the video screen to the right side of the video screen, or may be a line or a curve from the right side of the video screen to the left side of the video screen, or may be from the video screen. The straight line or the curve from the lower side to the upper side of the video screen may be a straight line or a curve from the upper side of the video screen to the lower side of the video screen, and may be other forms of straight lines or curved lines, which is not limited in this embodiment.
本实施例中,获取单元201获取到目标弹幕信息的滚动轨迹之后,第一判断单元202将判断目标弹幕信息的滚动轨迹是否经过特征图像所在区域,当目标弹幕信息的滚动轨迹经过特征图像所在区域时,表明目标弹幕信息沿滚动轨迹显示在特征图像上面影响视频画面的显示效果,若目标弹幕信息沿获取单元201获取的滚动轨迹滚动到特征图像所在区域,将触发处理单元203隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面;当目标弹幕信息的滚动轨迹未经过特征图像所在区域时,表明目标弹幕信息沿滚动轨迹显示在特征图像上面不影响视频画面的显示效果,将在整个视频画面中将目标弹幕信息沿滚动轨迹显示在视频画面上面。其中,特征图像可以是视频画面中出现的所有人物的人脸图像,也可以是视频画面中出现的某个特定人物或某些特定人物的人脸图像,还可以是视频画面中出现的动物或植物的全部或部分图像,本实施例不作限定。In this embodiment, after the acquiring unit 201 acquires the rolling track of the target barrage information, the first determining unit 202 determines whether the rolling track of the target barrage information passes through the region where the feature image is located, and when the rolling track of the target barrage information passes the feature. When the image is located, it indicates that the target bullet information is displayed on the feature image to affect the display effect of the video image. If the target bullet information is scrolled along the scroll track acquired by the acquiring unit 201 to the region where the feature image is located, the processing unit 203 is triggered. Hidden target barrage information, or scrolling the target barrage information on the image displayed in the target area corresponding to the region where the feature image is located; when the target track information has not passed the region of the feature image, indicating the target barr information information The scroll track display on the feature image does not affect the display effect of the video screen, and the target barrage information is displayed on the video screen along the scroll track in the entire video screen. The feature image may be a face image of all characters appearing in the video picture, or may be a face image of a specific person or a certain person appearing in the video picture, or may be an animal appearing in the video picture or All or part of the image of the plant is not limited in this embodiment.
作为一种可能的实施方式,该终端200还可以包括:As a possible implementation, the terminal 200 may further include:
第二判断单元204,用于判断特征图像所在区域是否占据满视频画面;The second determining unit 204 is configured to determine whether the area where the feature image is located occupies a full video picture;
当第二判断单元204的判断结果为是时,触发处理单元203执行所述隐藏目标弹幕信息;When the determination result of the second judging unit 204 is YES, the trigger processing unit 203 executes the hidden target barrage information;
当第二判断单元204的判断结果为否时,触发处理器单元203执行所述隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。When the determination result of the second judging unit 204 is no, the trigger processor unit 203 executes the hidden target barrage information, or scrolls the target barrage information on the image displayed in the target area corresponding to the region where the feature image is located.
具体地,当第一判断单元202的判断结果为是时,将触发第二判断单元204判断特征图像所在区域是否占据满视频画面。Specifically, when the determination result of the first determining unit 202 is YES, the second determining unit 204 is triggered to determine whether the area where the feature image is located occupies the full video picture.
作为一种可能的实施方式,目标区域是第一区域中除特征图像所在区域之外的任一区域,第一区域是位于经过滚动轨迹与特征图像所在区域的两个交点且垂直于滚动轨迹的两条直线间的区域。As a possible implementation manner, the target area is any area of the first area except the area where the feature image is located, and the first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines.
本实施例中,当第一判断单元202的判断结果为判断出滚动轨迹经过特征图像所在区域时,第二判断单元204可以判断特征图像所在区域是否占据满视频画面,即判断特征图像所在区域是否占据满第一区域,当特征图像所在区域占据满视频画面,且目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,将目标弹幕信息隐藏起来;当特征图像所在区域未占据满视频画面,且目标弹幕信息沿滚动轨迹滚动到特征图像所在区域时,可以将目标弹幕信息隐藏起来,也可以将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。请参阅图4,图4是本发明实施例提供的一种将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面的示意图。如图4所示,当“剧情很好”的弹幕信息沿滚动轨迹滚动到较大的人物的人脸区域时,将“剧情很好”滚动显示在第一区域,图4a是沿直线滚动显示在第一区域,图4b是沿曲线滚动显示在第一区域。In this embodiment, when the determination result of the first determining unit 202 is that the rolling track passes through the region where the feature image is located, the second determining unit 204 may determine whether the region where the feature image is located occupies the full video image, that is, whether the region where the feature image is located is determined whether When the area of the feature image occupies the full video picture, and the target barrage information scrolls along the scroll track to the area where the feature image is located, the target barr information is hidden; when the area of the feature image does not occupy the full video picture When the target bullet information scrolls along the rolling track to the area where the feature image is located, the target barrage information may be hidden, or the target barrage information may be scrolled and displayed on the image displayed in the target area corresponding to the region where the feature image is located. Referring to FIG. 4, FIG. 4 is a schematic diagram of scrolling and displaying target salvage information on an image displayed in a target area corresponding to a region where a feature image is located according to an embodiment of the present invention. As shown in FIG. 4, when the "playing good story" barr information scrolls along the rolling track to the face area of the larger character, the "plot is good" scrolling is displayed in the first area, and FIG. 4a is scrolling along the line. Displayed in the first area, Figure 4b is scrolled along the curve in the first area.
作为一种可能的实施方式,处理单元203隐藏目标弹幕信息的方式具包括:As a possible implementation manner, the manner in which the processing unit 203 hides the target barrage information includes:
将目标弹幕信息沿滚动轨迹滚动显示在特征图像下面;或者Scrolling the target bullet information along the scroll track below the feature image; or
将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像上面。The target bullet information is scrolled on the feature image in a transparent manner along the scroll track.
作为一种可能的实施方式,处理单元203将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像上面的方式包括:As a possible implementation manner, the manner in which the processing unit 203 scrolls the target bulletscreen information in a transparent manner along the scroll track on the feature image includes:
将目标弹幕信息的颜色调整为特征图像所在区域的显示颜色并沿滚动轨迹滚动显示在特征图像上面。The color of the target bullet information is adjusted to the display color of the area where the feature image is located and scrolled on the feature image along the scroll track.
本实施例中,处理单元203将目标弹幕信息隐藏起来,可以是将目标弹幕信息沿滚动轨迹滚动显示在特征图像的下面,也可以是将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像的上面。其中,处理单元203将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像的上面,即将目标弹幕信息的颜色调整为特征图像所在区域的显示颜色并沿滚动轨迹滚动显示在特征图像的上面。In this embodiment, the processing unit 203 hides the target barrage information, which may be that the target barrage information is scrolled and displayed under the feature image along the scroll track, or the target barrage information may be scrolled along the scroll track in a transparent manner. Above the feature image. The processing unit 203 scrolls the target bullet information in a transparent manner on the top of the feature image in a transparent manner, that is, adjusts the color of the target bullet information to the display color of the region where the feature image is located and scrolls the display image along the scroll track. Above.
在图2所描述的终端中,当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;判断滚动轨迹是否经过特征图像所在区域;当滚动轨迹经过特征图像所在区域时,若目标弹幕信息沿滚动轨迹滚动到特征图像所在区域,则隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,可以防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。In the terminal described in FIG. 2, when the terminal displays the video picture, the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; determining whether the scroll track passes Where the feature image is located; when the scroll track passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the region where the feature image is located. Above the image displayed on the corresponding target area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video frame.
请参阅图3,图3是本发明实施例提供的另一种终端的结构图。其中,该终端是可以播放视频的手机、平板电脑等。如图3所示,该终端300可以包括:至少一个处理器301,如CPU,存储器302,输入装置303,如键盘、触摸屏等,显示屏304以及至少一个通信总线305。存储器302可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。可选地,存储器302还可以是至少一个位于远离前述处理器301的存储装置。其中:Referring to FIG. 3, FIG. 3 is a structural diagram of another terminal according to an embodiment of the present invention. Among them, the terminal is a mobile phone, a tablet computer, etc. that can play video. As shown in FIG. 3, the terminal 300 can include at least one processor 301 such as a CPU, a memory 302, an input device 303 such as a keyboard, a touch screen, etc., a display screen 304, and at least one communication bus 305. The memory 302 can be a high speed RAM memory or a non-volatile memory (non-volatile) Memory), such as at least one disk storage. Alternatively, the memory 302 may also be at least one storage device located remotely from the aforementioned processor 301. among them:
通信总线305,用于实现这些组件之间的连接通信;a communication bus 305 for implementing connection communication between these components;
输入装置303,用于输入弹幕信息并发送至处理器301;The input device 303 is configured to input the barrage information and send it to the processor 301;
显示屏304,用于显示视频画面;a display screen 304 for displaying a video screen;
存储器302中存储有一组程序代码,处理器301用于调用存储器中存储的程序代码执行以下操作:The memory 302 stores a set of program codes, and the processor 301 is configured to call the program code stored in the memory to perform the following operations:
处理器301获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;The processor 301 acquires a rolling track of the target barrage information, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
处理器301判断滚动轨迹是否经过特征图像所在区域;The processor 301 determines whether the scroll track passes through the area where the feature image is located;
当滚动轨迹经过特征图像所在区域时,若目标弹幕信息沿滚动轨迹滚动到特征图像所在区域,则处理器301隐藏目标弹幕信息,或显示屏304将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。When the scrolling track passes through the region where the feature image is located, if the target barrage information scrolls along the scroll track to the region where the feature image is located, the processor 301 hides the target barrage information, or the display screen 304 scrolls the target barrage information to the feature image. The area corresponding to the target area is displayed above the image.
作为一种可能的实施方式,处理器301还用于调用存储器中存储的程序代码执行以下操作:As a possible implementation manner, the processor 301 is further configured to call the program code stored in the memory to perform the following operations:
处理器31判断特征图像所在区域是否占据满视频画面;The processor 31 determines whether the area where the feature image is located occupies a full video picture;
当特征图像所在区域占据满视频画面时,处理器301执行所述隐藏目标弹幕信息;When the area where the feature image is located occupies the full video picture, the processor 301 executes the hidden target barrage information;
当特征图像所在区域未占据满视频画面时,处理器301执行所述隐藏目标弹幕信息,或显示屏304执行所述将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面。When the area where the feature image is located does not occupy the full video picture, the processor 301 executes the hidden target barrage information, or the display screen 304 performs the scrolling display of the target barrage information on the image displayed in the target area corresponding to the area where the feature image is located. Above.
作为一种可能的实施方式,处理器301隐藏目标弹幕信息的方式包括:As a possible implementation manner, the manner in which the processor 301 hides the target bullet information includes:
显示屏304将目标弹幕信息沿滚动轨迹滚动显示在特征图像下面;或者The display screen 304 scrolls the target bullet information along the scroll track under the feature image; or
显示屏304将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像上面。The display screen 304 scrolls the target bulletscreen information in a transparent manner along the scroll track on the feature image.
作为一种可能的实施方式,目标区域是第一区域中除特征图像所在区域之外的任一区域,第一区域是位于经过滚动轨迹与特征图像所在区域的两个交点且垂直于滚动轨迹的两条直线间的区域。As a possible implementation manner, the target area is any area of the first area except the area where the feature image is located, and the first area is located at two intersections of the area where the scroll track and the feature image are located and perpendicular to the scroll track. The area between the two lines.
作为一种可能的实施方式,显示屏304将目标弹幕信息以透明方式沿滚动轨迹滚动显示在特征图像上面的方式包括:As a possible implementation manner, the display screen 304 scrolls the target bullet screen information in a transparent manner along the scroll track on the feature image, including:
显示屏304将目标弹幕信息的颜色调整为特征图像所在区域的显示颜色并沿滚动轨迹滚动显示在特征图像上面。The display screen 304 adjusts the color of the target bullet information to the display color of the area where the feature image is located and scrolls the scroll image along the feature image.
在图3所描述的终端中,当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,目标弹幕信息是视频画面对应的弹幕信息中的任一弹幕信息;判断滚动轨迹是否经过特征图像所在区域;当滚动轨迹经过特征图像所在区域时,若目标弹幕信息沿滚动轨迹滚动到特征图像所在区域,则隐藏目标弹幕信息,或将目标弹幕信息滚动显示在特征图像所在区域对应的目标区域所显示图像上面,可以防止弹幕信息显示在特征图像上面,以便提高视频画面的显示效果。In the terminal described in FIG. 3, when the terminal displays the video picture, the scroll track of the target barrage information is acquired, and the target barrage information is any barrage information in the barrage information corresponding to the video screen; determining whether the scroll track passes Where the feature image is located; when the scroll track passes through the region where the feature image is located, if the target barrage information is scrolled along the scroll track to the region where the feature image is located, the target barrage information is hidden, or the target barrage information is scrolled and displayed in the region where the feature image is located. Above the image displayed on the corresponding target area, the barrage information can be prevented from being displayed on the feature image, so as to improve the display effect of the video frame.
本发明实施例的方法的步骤顺序可以根据实际需要进行调整、合并或删减。本发明实施例的终端的单元可以根据实际需要进行整合、进一步划分或删减。The sequence of steps of the method of the embodiment of the present invention may be adjusted, merged, or deleted according to actual needs. The unit of the terminal in the embodiment of the present invention may be integrated, further divided or deleted according to actual needs.
本发明实施例的单元,可以以通用集成电路(如中央处理器CPU),或以专用集成电路(ASIC)来实现。The unit of the embodiment of the present invention may be implemented by a general-purpose integrated circuit (such as a central processing unit CPU) or by an application specific integrated circuit (ASIC).
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory ,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash drive, read-only memory (Read-Only Memory, ROM), Random Access Memory (RAM), disk or CD.
以上对本发明实施例提供的弹幕显示方法及终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The barrage display method and the terminal provided by the embodiments of the present invention are described in detail above. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only for helping to understand the method of the present invention. And the core idea of the present invention; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scope. In summary, the content of the present specification should not be construed as the present invention. limits.

Claims (10)

  1. 一种弹幕显示方法,其特征在于,包括: A barrage display method, comprising:
    当终端显示视频画面时,获取目标弹幕信息的滚动轨迹,所述目标弹幕信息是所述视频画面对应的弹幕信息中的任一弹幕信息;When the terminal displays the video screen, acquiring a scrolling track of the target barrage information, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
    判断所述滚动轨迹是否经过特征图像所在区域;Determining whether the scroll track passes through an area where the feature image is located;
    当所述滚动轨迹经过特征图像所在区域时,若所述目标弹幕信息沿所述滚动轨迹滚动到所述特征图像所在区域,则隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。 When the scroll trajectory passes through the area where the feature image is located, if the target barrage information is scrolled along the scroll track to the area where the feature image is located, the target barr information is hidden, or the target barrage information is Scrolling is displayed on the image displayed in the target area corresponding to the area where the feature image is located.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    判断所述特征图像所在区域是否占据满所述视频画面;Determining whether the area where the feature image is located occupies the video picture;
    当所述特征图像所在区域占据满所述视频画面时,执行所述隐藏所述目标弹幕信息;When the area where the feature image is located occupies the video picture, performing the hiding the target barrage information;
    当所述特征图像所在区域未占据满所述视频画面时,执行所述隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。When the image of the feature image is not occupied by the video image, performing the hiding of the target barrage information, or scrolling the target barrage information to be displayed in a target area corresponding to the region where the feature image is located Above the image.
  3. 根据权利要求1所述的方法,其特征在于,所述隐藏所述目标弹幕信息包括:The method according to claim 1, wherein the hiding the target bullet information comprises:
    将所述目标弹幕信息沿所述滚动轨迹滚动显示在所述特征图像下面;或者Scrolling the target bullet information along the scroll track below the feature image; or
    将所述目标弹幕信息以透明方式沿所述滚动轨迹滚动显示在所述特征图像上面。The target barrage information is scroll displayed on the scroll image along the scroll track in a transparent manner.
  4. 根据权利要求3所述的方法,其特征在于,所述将所述目标弹幕信息以透明方式沿所述滚动轨迹滚动显示在所述特征图像上面包括:The method according to claim 3, wherein the scrolling the target bulletscreen information in a transparent manner along the scroll track on the feature image comprises:
    将所述目标弹幕信息的颜色调整为所述特征图像的显示颜色并沿所述滚动轨迹滚动显示在所述特征图像上面。The color of the target bullet information is adjusted to the display color of the feature image and scrolled over the feature image along the scroll track.
  5. 根据权利要求1所述的方法,其特征在于,所述目标区域是第一区域中除所述特征图像所在区域之外的任一区域,所述第一区域是位于经过所述滚动轨迹与所述特征图像所在区域的两个交点且垂直于所述滚动轨迹的两条直线间的区域。The method according to claim 1, wherein the target area is any area of the first area other than the area where the feature image is located, and the first area is located through the scroll track and the The two intersections of the region where the feature image is located and perpendicular to the region between the two straight lines of the scroll track.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    获取单元,用于当所述终端显示视频画面时,获取目标弹幕信息的滚动轨迹,所述目标弹幕信息是所述视频画面对应的弹幕信息中的任一弹幕信息;An acquiring unit, configured to acquire a scrolling track of the target barrage information when the terminal displays the video screen, where the target barrage information is any barrage information in the barrage information corresponding to the video screen;
    第一判断单元,用于判断所述获取单元获取的滚动轨迹是否经过特征图像所在区域;a first determining unit, configured to determine whether a scroll track acquired by the acquiring unit passes through an area where the feature image is located;
    处理单元,用于当所述第一判断单元的判断结果为是时,若所述目标弹幕信息沿所述获取单元获取的滚动轨迹滚动到所述特征图像所在区域,则隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。a processing unit, configured to: when the determination result of the first determining unit is YES, if the target bullet information is scrolled along the rolling track acquired by the acquiring unit to an area where the feature image is located, the target bomb is hidden Curtain information, or scrolling the target bullet information on the image displayed in the target area corresponding to the area where the feature image is located.
  7. 根据权利要求6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 6, wherein the terminal further comprises:
    第二判断单元,用于判断所述特征图像所在区域是否占据满所述视频画面;a second determining unit, configured to determine whether an area where the feature image is located is occupied by the video image;
    当所述第二判断单元的判断结果为是时,触发所述处理单元执行所述隐藏所述目标弹幕信息;When the determination result of the second determining unit is YES, triggering the processing unit to perform the hiding the target bullet information;
    当所述第二判断单元的判断结果为否时,触发所述处理器单元执行所述隐藏所述目标弹幕信息,或将所述目标弹幕信息滚动显示在所述特征图像所在区域对应的目标区域所显示图像上面。When the determination result of the second determining unit is no, the processor unit is triggered to perform the hiding of the target bullet information, or the target bullet information is scrolled and displayed in a region where the feature image is located. Above the image displayed in the target area.
  8. 根据权利要求6所述的终端,其特征在于,所述处理单元隐藏所述目标弹幕信息的方式包括:The terminal according to claim 6, wherein the manner in which the processing unit hides the target barrage information comprises:
    将所述目标弹幕信息沿所述滚动轨迹滚动显示在所述特征图像下面;或者Scrolling the target bullet information along the scroll track below the feature image; or
    将所述目标弹幕信息以透明方式沿所述滚动轨迹滚动显示在所述特征图像上面。The target barrage information is scroll displayed on the scroll image along the scroll track in a transparent manner.
  9. 根据权利要求8所述的终端,其特征在于,所述处理单元将所述目标弹幕信息以透明方式沿所述滚动轨迹滚动显示在所述特征图像上面的方式包括:The terminal according to claim 8, wherein the manner in which the processing unit scrolls the target bulletscreen information in a transparent manner along the scroll track on the feature image comprises:
    将所述目标弹幕信息的颜色调整为所述特征图像的显示颜色并沿所述滚动轨迹滚动显示在所述特征图像上面。The color of the target bullet information is adjusted to the display color of the feature image and scrolled over the feature image along the scroll track.
  10. 根据权利要求6所述的终端,其特征在于,所述目标区域是第一区域中除所述特征图像所在区域之外的任一区域,所述第一区域是位于经过所述滚动轨迹与所述特征图像所在区域的两个交点且垂直于所述滚动轨迹的两条直线间的区域。The terminal according to claim 6, wherein the target area is any area of the first area other than the area where the feature image is located, and the first area is located after the scroll track and the location The two intersections of the region where the feature image is located and perpendicular to the region between the two straight lines of the scroll track.
PCT/CN2016/096368 2015-12-24 2016-08-23 Method of displaying overlay comment and terminal WO2017107523A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510988382.8 2015-12-24
CN201510988382.8A CN105635848A (en) 2015-12-24 2015-12-24 Bullet-screen display method and terminal

Publications (1)

Publication Number Publication Date
WO2017107523A1 true WO2017107523A1 (en) 2017-06-29

Family

ID=56050265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096368 WO2017107523A1 (en) 2015-12-24 2016-08-23 Method of displaying overlay comment and terminal

Country Status (2)

Country Link
CN (1) CN105635848A (en)
WO (1) WO2017107523A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752110A (en) * 2020-08-14 2021-05-04 腾讯科技(深圳)有限公司 Video presentation method and device, computing equipment and storage medium

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635848A (en) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 Bullet-screen display method and terminal
CN106303731A (en) * 2016-08-01 2017-01-04 北京奇虎科技有限公司 The display packing of barrage and device
CN108124185B (en) * 2016-11-28 2019-06-21 广州华多网络科技有限公司 A kind of barrage display methods, device and terminal
CN107181976B (en) * 2017-04-28 2021-01-29 华为技术有限公司 Bullet screen display method and electronic equipment
CN107147941A (en) * 2017-05-27 2017-09-08 努比亚技术有限公司 Barrage display methods, device and the computer-readable recording medium of video playback
CN108989870A (en) * 2017-06-02 2018-12-11 中国电信股份有限公司 Control the method and system in barrage region
CN107728905B (en) * 2017-10-12 2020-05-12 咪咕动漫有限公司 Bullet screen display method and device and storage medium
CN107809658A (en) * 2017-10-18 2018-03-16 维沃移动通信有限公司 A kind of barrage content display method and terminal
CN108401177B (en) * 2018-02-27 2021-04-27 上海哔哩哔哩科技有限公司 Video playing method, server and video playing system
CN109218800A (en) * 2018-06-29 2019-01-15 努比亚技术有限公司 A kind of barrage information display method, terminal and computer readable storage medium
CN110868623A (en) * 2018-08-27 2020-03-06 上海哔哩哔哩科技有限公司 Bullet screen hiding method and processing device for visual focus area
CN109120984B (en) * 2018-09-30 2021-10-08 重庆小雨点小额贷款有限公司 Barrage display method and device, terminal and server
CN109361960A (en) * 2018-11-30 2019-02-19 努比亚技术有限公司 Barrage display methods, device, mobile terminal and readable storage medium storing program for executing
CN111683259B (en) * 2019-03-11 2022-09-27 百度在线网络技术(北京)有限公司 Display control method and device of video barrage, storage medium and electronic equipment
CN114339360B (en) * 2021-09-09 2023-05-02 腾讯科技(深圳)有限公司 Video processing method, related device and equipment
CN114205635B (en) * 2021-12-10 2024-05-28 北京字跳网络技术有限公司 Live comment display method, device, equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device
US20150071608A1 (en) * 2013-09-06 2015-03-12 Kabushiki Kaisha Toshiba Receiving device, transmitting device and transmitting/receiving system
CN104684622A (en) * 2012-09-27 2015-06-03 科乐美数码娱乐株式会社 Comment display-capable game system and comment display control method
CN104936035A (en) * 2015-06-19 2015-09-23 腾讯科技(北京)有限公司 Barrage processing method and system
CN104967922A (en) * 2015-06-30 2015-10-07 北京奇艺世纪科技有限公司 Subtitle adding position determining method and device
CN105430512A (en) * 2015-11-06 2016-03-23 腾讯科技(北京)有限公司 Method and device for displaying information on video image
CN105635848A (en) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 Bullet-screen display method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5427919B2 (en) * 2012-05-31 2014-02-26 株式会社コナミデジタルエンタテインメント Game system capable of displaying comments, display control method thereof, and computer program
CN104618813B (en) * 2015-01-20 2018-02-13 腾讯科技(北京)有限公司 Barrage information processing method, client and service platform
CN105005430B (en) * 2015-07-17 2019-05-14 深圳市金立通信设备有限公司 A kind of window display method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN104684622A (en) * 2012-09-27 2015-06-03 科乐美数码娱乐株式会社 Comment display-capable game system and comment display control method
US20150071608A1 (en) * 2013-09-06 2015-03-12 Kabushiki Kaisha Toshiba Receiving device, transmitting device and transmitting/receiving system
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device
CN104936035A (en) * 2015-06-19 2015-09-23 腾讯科技(北京)有限公司 Barrage processing method and system
CN104967922A (en) * 2015-06-30 2015-10-07 北京奇艺世纪科技有限公司 Subtitle adding position determining method and device
CN105430512A (en) * 2015-11-06 2016-03-23 腾讯科技(北京)有限公司 Method and device for displaying information on video image
CN105635848A (en) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 Bullet-screen display method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112752110A (en) * 2020-08-14 2021-05-04 腾讯科技(深圳)有限公司 Video presentation method and device, computing equipment and storage medium

Also Published As

Publication number Publication date
CN105635848A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2017107523A1 (en) Method of displaying overlay comment and terminal
WO2018120622A1 (en) Method and device for displaying multiple images
WO2017206456A1 (en) Method and apparatus for presenting video image in video call
WO2014058144A1 (en) Method and system for displaying fast-scrolling content and scroll bar
WO2017119664A1 (en) Display apparatus and control methods thereof
WO2017069396A1 (en) Data processing method for reactive augmented reality card game and reactive augmented reality card game play device, by checking collision between virtual objects
US9706179B2 (en) Projection method and electronic device
WO2018155824A1 (en) Display apparatus and control method thereof
WO2017096924A1 (en) Method of capturing continuous screenshot of pages on basis of mobile terminal, system and mobile terminal
WO2015110053A1 (en) Method and apparatus for controlling portable intelligent terminal
WO2012119494A1 (en) Method, system and computer storage medium for dynamically adjusting desktop layout
WO2016047898A1 (en) Device and method of controlling the device
WO2021056766A1 (en) Video screen capture method, terminal, and computer-readable storage medium
WO2019139367A1 (en) Display device and method for touch interface
WO2017016264A1 (en) Crown of smart watch and operation method for smart watch
CN113282262A (en) Control method and device for screen projection display picture, mobile terminal and storage medium
WO2015012607A1 (en) Method for displaying and an electronic device thereof
WO2019242086A1 (en) Interactive method, system, device and storage medium for three-dimensional model
WO2020244085A1 (en) Screen scrolling method for mobile terminal, screen scrolling device and mobile terminal
WO2020059914A1 (en) Terminal, method for controlling same, and recording medium in which program for implementing the method is recorded
WO2016107228A1 (en) Method, display terminal and system for carrying hidden information in display picture
WO2016093653A1 (en) User terminal device and method for controlling the same
WO2019041183A1 (en) Anti-screen spying method for mobile terminal, mobile terminal and storage medium
WO2020111387A1 (en) Image processing device and image processing method of same
WO2024080593A1 (en) Screen display method, device, electronic apparatus and storage medium

Legal Events

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

Ref document number: 16877335

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877335

Country of ref document: EP

Kind code of ref document: A1