WO2019006939A1 - 弹幕显示方法、装置及电子设备 - Google Patents

弹幕显示方法、装置及电子设备 Download PDF

Info

Publication number
WO2019006939A1
WO2019006939A1 PCT/CN2017/109568 CN2017109568W WO2019006939A1 WO 2019006939 A1 WO2019006939 A1 WO 2019006939A1 CN 2017109568 W CN2017109568 W CN 2017109568W WO 2019006939 A1 WO2019006939 A1 WO 2019006939A1
Authority
WO
WIPO (PCT)
Prior art keywords
barrage
area
user
displayed
designated
Prior art date
Application number
PCT/CN2017/109568
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 WO2019006939A1 publication Critical patent/WO2019006939A1/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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 invention relates to the field of video playback technologies, and in particular, to a barrage display method, device, and electronic device.
  • an object of the embodiments of the present invention is to provide a method, a device, and an electronic device for displaying a barrage, so as to improve the problem that the interactive display of the barrage display needs to be improved in the prior art.
  • a preferred embodiment of the present invention provides a barrage display method, including:
  • a barrage is displayed in the designated barrage area.
  • the step of detecting an area selection operation performed by the user in the video playing area includes:
  • the steps of obtaining the designated barrage area according to the selected operation of the area include:
  • the at least one area selected by the user is obtained as the designated barrage area.
  • the step of obtaining the specified barrage area according to the area selection operation comprises:
  • the barrage is displayed as an area of the designated barrage area in the floating layer that is circled by the user.
  • the method further includes:
  • the step of displaying the barrage in the designated barrage area includes:
  • the barrage is dynamically displayed on the designated barrage area.
  • the step of displaying the barrage in the designated barrage area comprises:
  • the step of displaying the barrage in the designated barrage area comprises:
  • the video playing area is a video live room, and the video live room is divided into multiple types according to a preset rule, and each type of the video live room has a different animation effect;
  • the steps of obtaining the bullet to be displayed and the corresponding animation effect include:
  • the animation effect has corresponding keywords
  • each of the animation effects includes a corresponding operational parameter
  • the operational parameter includes a running path parameter, a running speed parameter, and/or an elasticity coefficient parameter.
  • the method before the step of detecting an area selection operation performed by the user in the video playing area, the method further includes:
  • the step of detecting the area selection operation performed by the user in the video playing area is performed.
  • the barrage effect setting permission includes allowing the number of uses; displaying the barrage in the designated barrage area After the step of the domain, the method further includes:
  • the number of allowed uses is decremented by one.
  • a barrage display device including:
  • the operation detecting module is configured to detect an area selection operation performed by the user in the video playing area
  • a region obtaining module configured to obtain a specified barrage region according to the selected operation of the region
  • a barrage display module configured to display a barrage in the designated barrage area.
  • the operation detection module includes:
  • Displaying a floating layer adding submodule configured to add a barrage display floating layer on the video playing area
  • a region dividing sub-module configured to divide the salvage display floating layer into a plurality of regions
  • Detecting a sub-module configured to detect at least one selected area of the plurality of areas by the user
  • the area obtaining module is configured to obtain the at least one area selected by a user as the designated barrage area.
  • the area obtaining module uses an area circled by the user in the video playing area as the designated barrage area.
  • Another preferred embodiment of the present invention provides an electronic device including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
  • a barrage is displayed in the designated barrage area.
  • Another preferred embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.
  • the barrage display method, device and electronic device provided by the embodiments of the present invention break through the single display mode in which the barrage is scrolled from right to left in the prior art, and the specified bomb is innovatively added.
  • the selection of the curtain area displays the barrage in the designated barrage area designated by the user, which improves the interactive display of the barrage and increases the funness of the barrage transmission.
  • the barrage display method, device and electronic device provided by the embodiments of the present invention innovatively increase the animation effect corresponding to the barrage to be displayed, and combine the barrage with the animation effect to enable the user to send the barrage
  • the ability to add corresponding animation effects further enhances the interactivity of the barrage display and increases the fun of barrage delivery.
  • FIG. 1 is a block diagram of an electronic device 100 according to a preferred embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for displaying a barrage according to a preferred embodiment of the present invention.
  • FIG. 3 is a schematic diagram of sub-steps included in step S210 of FIG. 2 in an embodiment.
  • step S230 of FIG. 2 is a schematic diagram of sub-steps included in step S230 of FIG. 2 in another embodiment.
  • FIG. 5 is a schematic diagram of sub-steps included in step S231 of FIG. 4 in an embodiment.
  • FIG. 6 is a functional block diagram of a barrage display device 200 according to a preferred embodiment of the present invention.
  • FIG. 7 is a structural block diagram of the operation detecting module 210 shown in FIG. 6 in an embodiment.
  • Icon 100-electronic device; 110-memory; 120-processor; 130-network module; 200-bounce display device; 210-operation detection module; 211-display floating layer adding sub-module; 212-area dividing sub-module ; 213 - detection sub-module; 220 - area acquisition module; 230 - barrage display module.
  • the embodiment of the present invention breaks the conventional display mode in which the barrage is laterally moved from right to left in the video playing area in the prior art, and the mode of loading the barrage in the designated area is innovatively increased.
  • a barrage display scheme in which the user specifies the barrage area in the video playback area by selecting the barrage in the specified barrage area, thereby increasing the fun of the barrage display and further enhancing the user interaction. Sex.
  • FIG. 1 is a block schematic diagram of an electronic device 100 according to a preferred embodiment of the present invention.
  • the electronic device 100 in the embodiment of the present invention may be a device having a video playing function and a data processing capability, such as a mobile terminal and a computer.
  • the electronic device 100 includes a memory 110 , a processor 120 , and a network module 130 .
  • the memory 110, the processor 120, and the network module 130 are electrically connected directly or indirectly to each other to implement data transmission or interaction.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • a memory screen display device is stored in the memory 110, and the bar code display device includes at least one software function module stored in the memory 110 in the form of software or firmware, and the processor 120 is stored in the memory by running The software program and the module in the 110, such as the barrage display device in the embodiment of the present invention, thereby performing various function applications and data processing, that is, implementing the barrage display method in the embodiment of the present invention.
  • the memory 110 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the memory 110 is configured to store a program, and the processor 120 executes the program after receiving an execution instruction.
  • the processor 120 may be an integrated circuit chip with data processing capabilities.
  • the processor 120 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), and the like. It can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the methods, steps, and logic blocks disclosed in the embodiments of the present invention may be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the network module 130 is configured to establish a communication connection between the electronic device 100 and the external communication terminal through the network, and implement the transmission and reception operations of the network signal and the data.
  • the above network signal may include a wireless signal or a wired signal.
  • FIG. 1 is merely illustrative, and the electronic device 100 may further include more or less components than those shown in FIG. 1, or have a different configuration from that shown in FIG. 1.
  • the components shown in Figure 1 can be implemented in hardware, software, or a combination thereof.
  • FIG. 2 is a flowchart of a method for displaying a barrage according to a preferred embodiment of the present invention.
  • the method steps defined by the process related to the method may be implemented by the processor 120.
  • the specific flow shown in FIG. 2 will be described in detail below.
  • Step S210 detecting an area selection operation performed by the user in the video playing area.
  • the user can draw the area in the video playing area, such as moving a finger to draw a closed loop area in the video playing area.
  • the detected user is playing the video in the video.
  • the area division data of the video playing area may be pre-stored.
  • the video playing area is divided into multiple sub-areas by default, and the user can click anywhere in the video playing area. Operation, at this time, which sub-region of the plurality of sub-areas is detected for the click of the user.
  • the user can perform area selection in the video playing area through voice control, and at this time, the voice data of the user is detected.
  • Step S210 includes three sub-steps of step S211, step S212, and step S213.
  • Step S211 adding a barrage display floating layer on the video playing area.
  • Step S212 dividing the barrage display floating layer into a plurality of regions.
  • the slider display floating layer can be divided into different regions.
  • the slider display floating layer can be divided into multiple regions of different sizes and shapes.
  • the barrage display floating layer can be divided into a plurality of regions of the same size and shape.
  • Step S213 Detecting at least one selected area of the plurality of areas by the user.
  • the user can select one or more regions from the plurality of regions by clicking, voice control, or the like. For example, a user can select more than two regions from multiple regions by continuously dragging gestures. For another example, the user can increase or decrease the selected area by setting operations such as long press, continuous click, setting gesture, and the like on the basis of the selected area.
  • the plurality of areas that are divided can be respectively identified by a number, and the area is selected by identifying the number in the voice control information.
  • Step S220 Obtain a specified barrage area according to the area selection operation.
  • step S220 includes sub-step S221.
  • Step S221 At least one area selected by the user is used as the designated barrage area.
  • the area in the floating layer that is circled by the user may also be used as the designated barrage area.
  • the user's barrage displays a rectangular or other shaped area circled on the floating layer as the designated barrage area.
  • Step S230 Display the barrage in the designated barrage area.
  • the user can flexibly perform the area selection operation in the video playing area according to his own needs, thereby selecting the specified barrage area, and the position and size of the specified barrage area can be flexibly set, thereby enabling the barrage to be based on User requirements are displayed in the set location and area, significantly improving the interactivity and user experience of the barrage display.
  • the user may also be detected to operate in the specified barrage area to obtain a moving direction of the barrage selected by the user. Then, when the barrage is displayed in the designated barrage area, the barrage is dynamically displayed on the designated barrage area according to the direction of the barrage movement.
  • the user can set the direction of movement of the barrage according to a diagonal line, an arc, or a circle. So that when the barrage is displayed, the barrage can be moved verbatim or word by word according to the direction of movement of the barrage.
  • step S230 may include two sub-steps of step S231 and step S232, please refer to FIG. 4 in combination.
  • Step S231 Obtain a barrage to be displayed and a corresponding animation effect.
  • a corresponding animation effect can be obtained in multiple manners.
  • a plurality of animation effects may be pre-stored, and when the user-inputted to-be-displayed bullet is received, an animation effect is randomly selected from a plurality of pre-stored animation effects as an animation effect corresponding to the to-be-displayed bullet.
  • the video playing area is a video live room, and the video live room is divided into multiple types according to a preset rule, and each type of the video live room has a different animation effect, and the barrage to be displayed is obtained through analysis.
  • the animation effect corresponding to the type of the live video room is used as the animation effect corresponding to the bullet to be displayed.
  • a plurality of animation effects may be stored in advance, and when a user inputs a to-be-displayed barrage, a plurality of pre-stored animation effects are pushed to the user, and the animation effect selected by the user is used as an animation effect corresponding to the to-be-displayed barrage.
  • step S231 the embodiment of the present invention provides another implementation method of step S231.
  • the user when using the barrage display method in the embodiment of the present invention, the user needs to complete registration and login.
  • Step S2311 Obtain a bullet to be displayed, and send an effect usage right of the login user of the to-be-displayed bullet.
  • Step S2312 Obtain an animation effect that satisfies the effect use permission as a corresponding animation effect.
  • the effect usage permission of the login user may include one or more animation effects that are allowed to be used by the login user, and when the animation effect allowed by the login user is multiple, the user may be from various animation effects that are allowed to be used by the user.
  • an animation effect can be randomly selected from a plurality of animation effects that the user is allowed to use as a corresponding animation effect.
  • an animation effect may be automatically selected according to the content of the to-be-displayed bullet.
  • the animation effect has corresponding keywords.
  • the keywords in the to-be-displayed bullet are extracted, and the corresponding animation effects are matched according to the keywords.
  • Step S232 Loading the to-be-displayed barrage and the corresponding animation effect in the specified barrage area, and displaying the to-be-displayed barrage in the specified barrage area with the animation effect.
  • the barrage display floating layer is loaded in the current video playing area.
  • the slider display floating layer can be loaded onto the layer of the currently playing video image and the general barrage layer, so that the barrage having the animation effect is not blocked by other layers. Then, the to-be-displayed barrage is displayed in the designated barrage area with the animation effect.
  • each of the animation effects includes a corresponding running parameter
  • the running parameter includes a running path.
  • each animation effect may include, but is not limited to, the running path of the barrage, such as the horizontal sliding of the barrage in the specified barrage area, the vertical scrolling, the curved scrolling, the irregular shape pulsation, etc.;
  • the screen is in constant speed, accelerated operation, deceleration operation, variable speed operation, etc. in the specified barrage area; the elastic coefficient of the barrage, if the external pattern of the barrage is in contact with the boundary of the specified barrage area, rebounds to the specified barrage according to the elastic coefficient.
  • the area is displayed.
  • the barrage display method in the embodiment of the present invention can be applied to various application scenarios according to actual conditions, and can have various triggers and implementation variants.
  • the barrage display function in the embodiment of the present invention can be started by default.
  • the barrage display function in the embodiment of the present invention may be in a closed state by default, and the user needs to perform the opening operation to start.
  • the method may further include detecting permission of the user to set a barrage effect.
  • the user receives the barrage effect setting trigger sent by the user, and detects whether the user has the right to set the barrage effect.
  • the barrage effect setting authority may include a certain number of allowed uses.
  • the user may obtain a certain number of times of the barrage effect setting permission by paying for purchase or other means.
  • step S210 and subsequent steps in the present example are not continued.
  • step S210 is performed.
  • the video playing area is the live broadcast area in the video live broadcast room.
  • the bullet display function in the embodiment of the present invention is the closed state by default, for example, the bullet in the embodiment of the present invention.
  • the overall application flow of the screen display method is illustrated.
  • the video live broadcast room is divided into multiple types according to preset rules, for example, the homogenized live broadcast is partitioned, for example, according to the content type of the live broadcast video.
  • the video live broadcast room with the same content type is divided into the same area to establish a live broadcast partition corresponding to the video live broadcast, and the partition identifier is added, and the same partition identifier is used for the video live broadcast room with the same broadcast content type. Establish the correspondence between each partition ID and animation effect.
  • the specified barrage area function is off by default. The user needs to perform an open operation to modify the specified barrage area function from the default off state to the enabled state.
  • the front-end service After the user logs in to the live broadcast platform, the front-end service obtains relevant parameters of the user login, such as user account information, ID, room number, etc., and saves the relevant parameters of the user.
  • the specified barrage area function can belong to one of the user animation skills, after the user logs into the platform. First determine whether the skill is included in the skill package of the user. If the user's skill package has the specified barrage area function, step 5 is performed, and the user selects the specified barrage area. If there is no specified button area in the user's skill package Function, no action is taken.
  • the user's skill package includes the specified barrage area function: after the user logs in to the front desk service, accesses the background gift server through the saved user account information, ID, etc., and presents the gift through the user ID at the gift server.
  • the special effect function list is queried, and it is determined whether the gift effect list corresponding to the user ID includes the effect value of the specified barrage area function. If it is included, it is determined that the user's skill package includes the specified barrage area function. If it is not included, it is determined that the user's skill package does not include the specified barrage area function.
  • the user selects the specified barrage area: after determining that the user has the effect value of the specified barrage area, and the user has clicked to enable the special effect skill of the specified barrage area, the user is displayed or prompted to perform the specified barrage display area in the live area.
  • the area is selected for the operation.
  • the front desk service can select the boot indicator in the live area loading area.
  • the flash service is called to add a new barrage display floating layer on the video playing area, and the new barrage display floating layer is divided into different areas according to the pattern of the 9-square grid, and each area is added with a corresponding identifier.
  • the area selected by the user in the 9th grid is used as the designated barrage area, and the designated barrage area selected by the front desk service is recorded.
  • the barrage display method provided by the embodiment of the invention adds a new barrage display floating layer to the original barrage loading technology, thereby increasing the funness of the barrage transmission and improving the user's interaction.
  • the innovation adds a new method of playing the animation of the barrage area, combining the barrage with the animation effect, adding the corresponding barrage animation effect when the user sends the barrage, so that the barrage can be displayed in the specified barrage area with various animation effects. For example, it can be displayed in the form of S-shaped scrolling, skipping scrolling, rebounding, etc., providing users with more barrage display animations and gameplay.
  • the embodiment of the present invention provides a barrage display device 200, which includes an operation detection module 210, a region obtaining module 220, and a barrage display module 230.
  • the operation detection module 210 is configured to detect an area selection operation performed by the user in the video play area.
  • step S210 Since the operation detection module 210 is similar to the implementation principle of step S210 in FIG. 2, no further explanation is provided here.
  • the region obtaining module 220 is configured to obtain a designated barrage region in accordance with the region selection operation.
  • the barrage display module 230 is configured to display a barrage in the designated barrage area.
  • the operation detecting module 210 includes a display floating layer adding submodule 211 and a region dividing submodule 212. And detecting sub-module 213.
  • the display floating layer adding submodule 211 is configured to add a barrage display floating layer on the video playing area.
  • the area dividing sub-module 212 is configured to divide the barrage display floating layer into a plurality of areas.
  • the detection sub-module 213 is configured to detect at least one selected area of the plurality of areas by the user.
  • step S213 Since the detection sub-module 213 is similar to the implementation principle of step S213 in FIG. 3, it will not be further described herein.
  • the region obtaining module 220 is configured to obtain the at least one region selected by the user as the designated barrage region.
  • the barrage display method, device and electronic device in the embodiment of the invention are innovatively added to specify a new gameplay method for the barrage area animation.
  • the user When the user sends the barrage, the user loads the barrage content in the specified barrage area selected by the user, and simultaneously loads the animation effect corresponding to the barrage content, and then displays the barrage with the corresponding animation effect in the specified barrage area, breaking the current Video playback, such as the conventional barrage loading mode in which the barrage moves laterally during the live broadcast process, increases the funness of the barrage transmission and improves the user's interactivity.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or action. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including Several instructions to make a computer device (can be a personal meter)
  • the computer, electronic device 100, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention.
  • 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.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk, and the like.
  • the term “comprises”, “comprising” or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase “comprising a " does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
  • the barrage display method, device and electronic device in the embodiment of the invention are innovatively added to specify a new gameplay method for the barrage area animation.
  • the user When the user sends the barrage, the user loads the barrage content in the specified barrage area selected by the user, and simultaneously loads the animation effect corresponding to the barrage content, and then displays the barrage with the corresponding animation effect in the specified barrage area, breaking the current Video playback, such as the conventional barrage loading mode in which the barrage moves laterally during the live broadcast process, increases the funness of the barrage transmission and improves the user's interactivity.

Abstract

本发明实施例提供一种弹幕显示方法、装置及电子设备,涉及视频播放技术领域。所述弹幕显示方法包括侦测用户在视频播放区域中执行的区域选定操作;根据所述区域选定操作获得指定弹幕区域;将弹幕显示在所述指定弹幕区域。使用该弹幕显示方法、装置及电子设备,能够有效提高弹幕显示的交互性。

Description

弹幕显示方法、装置及电子设备
相关申请的交叉引用
本申请要求于2017年07月05日提交中国专利局的申请号为2017105415194、名称为“弹幕显示方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及视频播放技术领域,具体而言,涉及一种弹幕显示方法、装置及电子设备。
背景技术
随着视频播放行业,如直播行业的快速发展,直播受众不断扩大。在主播进行直播时,用户的参与度也越来越高。用户与主播之间通过弹幕进行互动已经越来越频繁。现有的弹幕显示形式都是由右至左进行规则的滚动,这种弹幕显示形式已经越来越不能满足现有用户的要求。如何打破传统的弹幕玩法,提高弹幕交互性是直播平台共同面临的问题。
发明内容
有鉴于此,本发明实施例的目的在于提供一种弹幕显示方法、装置及电子设备,以改善现有技术中弹幕显示的交互性有待提高的问题。
本发明较佳实施例提供了一种弹幕显示方法,包括:
侦测用户在视频播放区域中执行的区域选定操作;
根据所述区域选定操作获得指定弹幕区域;
将弹幕显示在所述指定弹幕区域。
可选地,侦测用户在所述视频播放区域中执行的区域选定操作的步骤,包括:
在所述视频播放区域上增加弹幕显示浮层;
将所述弹幕显示浮层划分为多个区域;
侦测用户在所述多个区域中选定的至少一个区域;
根据所述区域选定操作获得指定弹幕区域的步骤包括:
获得用户选定的所述至少一个区域作为所述指定弹幕区域。
可选地,根据所述区域选定操作获得指定弹幕区域的步骤,包括:
在所述视频播放区域上增加弹幕显示浮层:
将所述弹幕显示浮层中被用户圈选的区域作为所述指定弹幕区域。
可选地,在根据所述区域选定操作获得指定弹幕区域的步骤之后,所述方法还包括:
侦测用户在所述指定弹幕区域操作,获取用户选定的弹幕移动方向;
将弹幕显示在所述指定弹幕区域的步骤,包括:
按照所述弹幕移动方向,将弹幕在所述指定弹幕区域上进行动态显示。
可选地,将弹幕显示在所述指定弹幕区域的步骤,包括:
获得待显示弹幕和对应的动画效果;
在所述指定弹幕区域加载所述待显示弹幕和对应的动画效果,将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
可选地,将弹幕显示在所述指定弹幕区域的步骤,包括:
获得待显示弹幕和对应的动画效果;
在当前的视频播放区域加载所述弹幕显示浮层,并将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
可选地,所述视频播放区域为视频直播间,所述视频直播间根据预设规则分为多种类型,各类型的所述视频直播间分别对应有不同的动画效果;
获得待显示弹幕和对应的动画效果的步骤包括:
获得待显示弹幕,以及与所述待显示弹幕所位于的视频直播间的类型所对应的动画效果。
可选地,获得待显示弹幕和对应的动画效果的步骤包括:
获得待显示弹幕,以及发送所述待显示弹幕的登陆用户的效果使用权限;
获得满足所述效果使用权限的动画效果作为对应的动画效果。
可选地,所述动画效果有相应的关键词;
获得待显示弹幕和对应的动画效果的步骤包括:
获得待显示弹幕,提取所述待显示弹幕中的关键词,根据所述关键词匹配相应的动画效果。
可选地,各所述动画效果包括对应的运行参数,所述运行参数包括运行路径参数、运行速度参数和/或弹性系数参数。
可选地,执行侦测用户在视频播放区域中执行的区域选定操作的步骤之前,所述方法还包括:
接收用户发送的弹幕效果设置触发,检测该用户是否具有弹幕效果设置权限;
在检测到所述用户具有所述弹幕效果设置权限时,再执行侦测用户在视频播放区域中执行的区域选定操作的步骤。
可选地,所述弹幕效果设置权限包括允许使用次数;在将弹幕显示在所述指定弹幕区 域的步骤之后,所述方法还包括:
将所述允许使用次数减1。
本发明另一较佳实施例提供了一种弹幕显示装置,包括:
操作侦测模块,配置成侦测用户在视频播放区域中执行的区域选定操作;
区域获得模块,配置成根据所述区域选定操作获得指定弹幕区域;
弹幕显示模块,配置成将弹幕显示在所述指定弹幕区域。
可选地,所述操作侦测模块包括:
显示浮层添加子模块,配置成在所述视频播放区域上增加弹幕显示浮层;
区域划分子模块,配置成将所述弹幕显示浮层划分为多个区域;
侦测子模块,配置成侦测用户在所述多个区域中选定的至少一个区域;
所述区域获得模块配置成获得用户选定的所述至少一个区域作为所述指定弹幕区域。
可选的,所述区域获得模块将所述视频播放区域中被用户圈选的区域作为所述指定弹幕区域。
本发明另一较佳实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:
侦测用户在视频播放区域中执行的区域选定操作;
根据所述区域选定操作获得指定弹幕区域;
将弹幕显示在所述指定弹幕区域。
本发明另一较佳实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。
与现有技术相比,本发明实施例提供的弹幕显示方法、装置及电子设备,突破了现有技术中弹幕由右至左进行规则滚动的单一显示模式,创新地增加了对指定弹幕区域的选择,将弹幕显示在用户指定的指定弹幕区域,提高了弹幕显示的交互性,增加了弹幕发送的乐趣性。
进一步地,本发明实施例提供的弹幕显示方法、装置及电子设备,创新地增加了与待显示弹幕对应的动画效果,通过将弹幕与动画效果相结合,使得用户在发送弹幕时能够添加对应的动画效果,进一步提高了弹幕显示的交互性,增加了弹幕发送的乐趣性。
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范 围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1为本发明较佳实施例提供的一种电子设备100的方框示意图。
图2为本发明较佳实施例提供的一种弹幕显示方法的流程图。
图3为一实施方式中图2所示步骤S210包括的子步骤的示意图。
图4为另一实施方式中图2所示步骤S230包括的子步骤的示意图。
图5为一实施方式中图4所示步骤S231包括的子步骤的示意图。
图6为本发明较佳实施例提供的一种弹幕显示装置200的功能模块框图。
图7为一实施方式中图6所示操作侦测模块210的结构框图。
图标:100-电子设备;110-存储器;120-处理器;130-网络模块;200-弹幕显示装置;210-操作侦测模块;211-显示浮层添加子模块;212-区域划分子模块;213-侦测子模块;220-区域获得模块;230-弹幕显示模块。
具体实施方式
在视频播放领域,发送弹幕并进行显示已成为提高用户交互性和提高视频观看趣味性的重要方式。例如,在视频直播中,主播进行直播时,用户与主播之间通过弹幕进行互动,使得主播与用户、用户与用户之间能够互动,显著提高用户的参与度与直播的趣味性。在目前的视频播放过程中,在用户输入弹幕后,弹幕都是以由右至左进行规则滚动的方式进行显示,显示形式较为单一,缺乏交互性。
针对上述问题,本发明实施例打破了现有技术中弹幕在视频播放区域由右至左横向移动的常规显示模式,创新的增加指定区域加载弹幕的模式。推出了由用户在视频播放区域中通过选定操作指定弹幕区域,将弹幕显示在指定弹幕区域的弹幕显示方案,从而增加了弹幕显示的趣味性,并进一步提高了用户的交互性。
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
如图1所示,是本发明较佳实施例提供的电子设备100的方框示意图。本发明实施例中的电子设备100可以为移动终端、计算机等具备视频播放功能和数据处理能力的设备。 如图1所示,电子设备100包括:存储器110、处理器120及网络模块130。
所述存储器110、处理器120以及网络模块130相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。存储器110中存储有弹幕显示装置,所述弹幕显示装置包括至少一个可以软件或固件(firmware)的形式存储于所述存储器110中的软件功能模块,所述处理器120通过运行存储在存储器110内的软件程序以及模块,如本发明实施例中的弹幕显示装置,从而执行各种功能应用以及数据处理,即实现本发明实施例中的弹幕显示方法。
其中,所述存储器110可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器110用于存储程序,所述处理器120在接收到执行指令后,执行所述程序。
所述处理器120可能是一种集成电路芯片,具有数据的处理能力。上述的处理器120可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等。还可以是数字信号处理器(DSP))、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
网络模块130用于通过网络建立电子设备100与外部通信终端之间的通信连接,实现网络信号及数据的收发操作。上述网络信号可包括无线信号或者有线信号。
可以理解,图1所示的结构仅为示意,电子设备100还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。图1中所示的各组件可以采用硬件、软件或其组合实现。
请参阅图2,是本发明较佳实施例提供的一种弹幕显示方法的流程图。所述方法有关的流程所定义的方法步骤可以由所述处理器120实现。下面将对图2所示的具体流程进行详细阐述。
步骤S210:侦测用户在视频播放区域中执行的区域选定操作。
其中,区域选定操作的执行方式有多种,例如:用户可以在视频播放区域中进行区域绘制,如在视频播放区域中移动手指绘制一闭环区域,此时,侦测的为用户手指在视频播放区域中的移动轨迹。又例如:电子设备中可以预先存储有视频播放区域的区域划分数据,如视频播放区域默认为划分为多个子区域,用户可以在视频播放区域中任意位置进行点击 操作,此时,侦测的为用户的点击操位于多个子区域中的哪个子区域。又例如:用户可以通过语音控制在视频播放区域中进行区域选定,此时,侦测的为用户的语音数据。
如图3所示,本发明实施例提供了步骤S210的其中一种实现方案。步骤S210包括步骤S211、步骤S212和步骤S213三个子步骤。
步骤S211:在所述视频播放区域上增加弹幕显示浮层。
其中,可以调用flash服务(Web Flash Sever)在视频播放区域上新增加弹幕显示浮层(Barrage Layer)。
步骤S212:将所述弹幕显示浮层划分为多个区域。
根据实际需求,弹幕显示浮层可以采用不同的区域划分形式,例如,可以将弹幕显示浮层划分为尺寸、形状不同的多个区域。又例如,可以将弹幕显示浮层划分为尺寸、形状相同的多个区域。
步骤S213:侦测用户在所述多个区域中选定的至少一个区域。
用户可以通过点击、语音控制等形式从上述多个区域中选定一个或多个区域。例如,用户可以通过连续拖动手势,从多个区域中选定两个以上区域。又例如,用户可以在已选定的区域基础上,通过设定的操作如长按、连续点击、设定手势等实现对选定区域的新增或减少。
为了提高通过语音控制选定区域的便捷性和可靠性,实施时可以对划分的多个区域分别进行标识如编号,通过对语音控制信息中编号的识别,完成区域选定。
步骤S220:根据所述区域选定操作获得指定弹幕区域。
将用户通过区域选定操作选定的区域作为显示弹幕的指定弹幕区域。在通过上述步骤S211、步骤S212和步骤S213进行区域选定时,步骤S220包括子步骤S221。
步骤S221:将用户选定的至少一个区域作为指定弹幕区域。
在本实施例的另一种实现方案中,也可以将所述弹幕显示浮层中被用户圈选的区域作为所述指定弹幕区域。例如,将用户所述弹幕显示浮层上圈选的矩形或其他形状的区域作为所述指定弹幕区域。
步骤S230:将弹幕显示在所述指定弹幕区域。
本实施例中,用户可以根据自身需求在视频播放区域中灵活执行区域选定操作,从而选定指定弹幕区域,指定弹幕区域的位置、大小均可灵活设定,进而使得弹幕能够根据用户需求显示在设定位置和区域,显著提高了弹幕显示的交互性和用户体验。
可选地,在本实施例中,在步骤S220之后,还可以侦测用户在所述指定弹幕区域操作,获取用户选定的弹幕移动方向。然后,在将弹幕显示在所述指定弹幕区域时,按照所述弹幕移动方向,将弹幕在所述指定弹幕区域上进行动态显示。
例如,在确定所述指定弹幕区域后,用户可以按照斜线、弧线或圆圈等方式设置所述弹幕移动方向。以使在显示弹幕时,弹幕可以按照所述弹幕移动方向逐字或逐单词移动。
在上述基础上,为了进一步提高弹幕显示的交互性和趣味性,步骤S230可以包括步骤S231和步骤S232两个子步骤,请结合参阅图4。
步骤S231:获得待显示弹幕和对应的动画效果。
可选地,本发明实施例中,可以通过多种方式得到对应的动画效果。例如,可以预先存储有多种动画效果,在接收到用户输入的待显示弹幕时,从预先存储的多种动画效果中随机选择一种动画效果作为与该待显示弹幕对应的动画效果。又例如,视频播放区域为视频直播间,所述视频直播间根据预设规则分为多种类型,各类型的所述视频直播间分别对应有不同的动画效果,通过分析得到与待显示弹幕所位于的视频直播间的类型所对应的动画效果,作为与待显示弹幕对应的动画效果。又例如,可以预先存储有多种动画效果,在用户输入待显示弹幕时,将预先存储的多种动画效果推送至用户,将用户选择的动画效果作为该待显示弹幕对应的动画效果。
可选地,请结合参阅图5,本发明实施例提供了又一种步骤S231的实现方法,可选地,在使用本发明实施例中的弹幕显示方法时,用户需完成注册及登陆,各登陆用户分别对应有效果使用权限,步骤S231包括步骤S2311和步骤S2312两个子步骤。
步骤S2311:获得待显示弹幕,以及发送所述待显示弹幕的登陆用户的效果使用权限。
步骤S2312:获得满足所述效果使用权限的动画效果作为对应的动画效果。
其中,登陆用户的效果使用权限可以包括允许登陆用户使用的一种或多种动画效果,当允许该登陆用户使用的动画效果为多种时,可以将用户从允许其使用的多种动画效果中选择的一种动画效果作为对应的动画效果。在用户未进行选择时,可以从允许用户使用的多种动画效果中随机选择一种动画效果作为对应的动画效果。
可选地,本发明实施例中,还可以根据所述待显示弹幕的内容自动选择动画效果。
例如,所述动画效果有相应的关键词,在获得待显示弹幕后,提取所述待显示弹幕中的关键词,根据所述关键词匹配相应的动画效果。
步骤S232:在所述指定弹幕区域加载所述待显示弹幕和对应的动画效果,将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
在获得待显示弹幕和对应的动画效果后,在当前的视频播放区域加载所述弹幕显示浮层。在本实施例中,可以将所述弹幕显示浮层加载至当前播放视频图像的图层及一般弹幕图层之上,以使具有所述动画效果的弹幕不被其他图层阻挡。然后,将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
本发明实施例中,各所述动画效果包括对应的运行参数,所述运行参数包括运行路径 参数、运行速度参数和/或弹性系数参数等。例如,每个动画效果可以包括、但不限于弹幕的运行路径,如弹幕在指定弹幕区域沿横向滚动、纵向滚动、曲线滚动、不规则形状跃动等;弹幕运行速度,如弹幕在指定弹幕区域匀速运行、加速运行、减速运行、变速运行等;弹幕弹性系数,如弹幕的外接图形与指定弹幕区域的边界接触后,根据弹性系数重新回弹至指定弹幕区域进行显示。
需要说明的是,本发明实施例中的弹幕显示方法根据实际情况可以适用于多种应用场景并可以有多种触发、实施变形。例如,在视频播放过程中,本发明实施例中的弹幕显示功能可以默认启动。又例如,在视频播放过程中,本发明实施例中的弹幕显示功能可以默认为关闭状态,需要用户执行开启操作方启动。
可选地,在本实施例中,在步骤S210之前,所述方法还可以包括检测用户是否设置弹幕效果的权限。
首先,接收用户发送的弹幕效果设置触发,检测该用户是否具有弹幕效果设置权限。其中,所述弹幕效果设置权限可以包括一定的允许使用次数。例如,在本实施例中,用户可以通过付费购买或其他方式获得一定次数的所述弹幕效果设置权限。
在检测到该用户不具有所述弹幕效果设置权限或其弹幕效果设置权限的允许使用次数耗尽时,不再继续执行本实例中的步骤S210及之后步骤。
在检测到该用户具有所述弹幕效果设置权限时,再执行步骤S210。
为了使本发明实施例的方案更为明了,现以视频播放区域为视频直播间中的直播区域,本发明实施例中的弹幕显示功能默认为关闭状态为例,对本发明实施例中的弹幕显示方法的整体应用流程进行举例说明。
一、设定直播区域:在视频直播的后台服务中,根据预设规则将视频直播间分为多种类型,例如,对同质化的直播进行分区,如根据视频直播间的播放内容类型,将播放内容类型相同的视频直播间划分为同区,以建立视频直播间对应的直播分区,并增加分区标识,对播放内容类型相同的视频直播间采用相同分区标识。建立各分区标识与动画效果的对应关系。
二、启用指定弹幕区域:指定弹幕区域功能默认为关闭。用户需执行开启操作以将指定弹幕区域功能从默认的关闭状态修改为启用状态。
三、用户登陆平台:用户登陆直播平台之后,前台服务获取用户登陆的相关参数,例如用户账号信息、ID、房间号等,并将用户的相关参数进行保存。
四、判断用户权限:指定弹幕区域功能可以属于用户动画技能之一,在用户登录平台之后。首先判断该用户的技能包中是否包括该技能。如果该用户的技能包中有指定弹幕区域功能,则执行步骤五、用户选择指定弹幕区域。如果该用户的技能包中无指定弹幕区域 功能,则不进行任何操作。
其中,可以通过以下方式判断用户的技能包中是否包括指定弹幕区域功能:在用户登录前台服务之后,通过保存的用户账号信息、ID等,访问后台礼物服务器,通过用户ID在礼物服务器的礼物特效功能列表中进行查询,判断该用户ID对应的礼物特效列表中是否包含指定弹幕区域功能的特效值。如果包含则判定用户的技能包中包括指定弹幕区域功能,如果不包含则判定用户的技能包中不包括指定弹幕区域功能。
五、用户选择指定弹幕区域:在判定用户已经具备指定弹幕区域的特效值之后,且用户已经点击启用指定弹幕区域的特效技能之后,在直播区域显示或提示用户进行指定弹幕显示区域的区域选定操作。前台服务可以在直播区域加载区域选择引导标示。同时调用flash服务在视频播放区域上增加新的弹幕显示浮层,并将新的弹幕显示浮层按照9宫格的模式划分成不同的区域,每个区域增加相应的标识。将用户在9宫格中选择的区域作为指定弹幕区域,由前台服务将选择的指定弹幕区域进行记录。
六、用户发送弹幕:在用户选择指定弹幕显示区域成功之后,用户可以通过弹幕服务器正常的进行弹幕内容的发送。
七、启动指定弹幕区域动画:弹幕发送成功之后,调用前台的flash服务,将弹幕值传递给flash服务,flash服务在接收弹幕服务器传递的值之后,生成弹幕显示浮层。
八、加载弹幕指定动画:在加载弹幕显示浮层之后,在用户选择的指定弹幕区域同步显示加载弹幕显示浮层和对应的动画效果,将弹幕以该动画效果显示在指定弹幕区域。
本发明实施例提供的弹幕显示方法,在原来的弹幕加载技术上增加一个新的弹幕显示浮层,从而增加了弹幕发送的乐趣性,提高了用户的交互性。创新的增加指定弹幕区域动画新玩法,将弹幕与动画效果进行结合,在用户发送弹幕时添加对应的弹幕动画效果,使得弹幕能够以多种动画效果显示在指定弹幕区域,例如,能够以S形滚动、跳跃滚动、回弹等形式进行显示,为用户提供了更多的弹幕显示动画和玩法。
在上述基础上,如图6所示,本发明实施例提供了一种弹幕显示装置200,包括操作侦测模块210、区域获得模块220和弹幕显示模块230。
其中,操作侦测模块210配置成侦测用户在视频播放区域中执行的区域选定操作。
由于操作侦测模块210和图2中步骤S210的实现原理类似,因而在此不作更多说明。
区域获得模块220配置成根据所述区域选定操作获得指定弹幕区域。
由于区域获得模块220和图2中步骤S220的实现原理类似,因而在此不作更多说明。
弹幕显示模块230配置成将弹幕显示在所述指定弹幕区域。
由于弹幕显示模块230和图2中步骤S230的实现原理类似,因而在此不作更多说明。
可选地,所述操作侦测模块210包括显示浮层添加子模块211、区域划分子模块212 和侦测子模块213。
其中,显示浮层添加子模块211配置成在所述视频播放区域上增加弹幕显示浮层。
由于显示浮层添加子模块211和图3中步骤S211的实现原理类似,因而在此不作更多说明。
区域划分子模块212配置成将所述弹幕显示浮层划分为多个区域。
由于区域划分子模块212和图3中步骤S212的实现原理类似,因而在此不作更多说明。
侦测子模块213配置成侦测用户在所述多个区域中选定的至少一个区域。
由于侦测子模块213和图3中步骤S213的实现原理类似,因而在此不作更多说明。
相应地,所述区域获得模块220配置成获得用户选定的所述至少一个区域作为所述指定弹幕区域。
本发明实施例中的弹幕显示方法、装置及电子设备,创新的增加指定弹幕区域动画新玩法。用户在发送弹幕时,在用户选定的指定弹幕区域加载弹幕内容,同时加载弹幕内容对应的动画效果,进而将弹幕以对应的动画效果显示在指定弹幕区域,打破了目前视频播放,如直播过程中弹幕横向移动的常规弹幕加载模式,增加了弹幕发送的乐趣性,提高了用户的交互性。
在本发明实施例所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置和方法实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计 算机,电子设备100,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例中的弹幕显示方法、装置及电子设备,创新的增加指定弹幕区域动画新玩法。用户在发送弹幕时,在用户选定的指定弹幕区域加载弹幕内容,同时加载弹幕内容对应的动画效果,进而将弹幕以对应的动画效果显示在指定弹幕区域,打破了目前视频播放,如直播过程中弹幕横向移动的常规弹幕加载模式,增加了弹幕发送的乐趣性,提高了用户的交互性。

Claims (17)

  1. 一种弹幕显示方法,其特征在于,包括:
    侦测用户在视频播放区域中执行的区域选定操作;
    根据所述区域选定操作获得指定弹幕区域;
    将弹幕显示在所述指定弹幕区域。
  2. 根据权利要求1所述的弹幕显示方法,其特征在于,侦测用户在所述视频播放区域中执行的区域选定操作的步骤,包括:
    在所述视频播放区域上增加弹幕显示浮层;
    将所述弹幕显示浮层划分为多个区域;
    侦测用户在所述多个区域中选定的至少一个区域;
    根据所述区域选定操作获得指定弹幕区域的步骤,包括:
    获得用户选定的所述至少一个区域作为所述指定弹幕区域。
  3. 根据权利要求1所述的弹幕显示方法,其特征在于,根据所述区域选定操作获得指定弹幕区域的步骤,包括:
    在所述视频播放区域上增加弹幕显示浮层:
    将所述弹幕显示浮层中被用户圈选的区域作为所述指定弹幕区域。
  4. 根据权利要求1-3任意一项所述的弹幕显示方法,其特征在于,在根据所述区域选定操作获得指定弹幕区域的步骤之后,所述方法还包括:
    侦测用户在所述指定弹幕区域操作,获取用户选定的弹幕移动方向;
    将弹幕显示在所述指定弹幕区域的步骤,包括:
    按照所述弹幕移动方向,将弹幕在所述指定弹幕区域上进行动态显示。
  5. 根据权利要求1-4任意一项所述的弹幕显示方法,其特征在于,将弹幕显示在所述指定弹幕区域的步骤,包括:
    获得待显示弹幕和对应的动画效果;
    在所述指定弹幕区域加载所述待显示弹幕和对应的动画效果,将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
  6. 根据权利要求1-4任意一项所述的弹幕显示方法,其特征在于,将弹幕显示在所述指定弹幕区域的步骤,包括:
    获得待显示弹幕和对应的动画效果;
    在当前的视频播放区域加载所述弹幕显示浮层,并将所述待显示弹幕以所述动画效果显示在所述指定弹幕区域。
  7. 根据权利要求5或6所述的弹幕显示方法,其特征在于,所述视频播放区域为视频直播间,所述视频直播间根据预设规则分为多种类型,各类型的所述视频直播间分别对应有不同的动画效果;
    获得待显示弹幕和对应的动画效果的步骤包括:
    获得待显示弹幕,以及与所述待显示弹幕所位于的视频直播间的类型所对应的动画效果。
  8. 根据权利要求5或6所述的弹幕显示方法,其特征在于,获得待显示弹幕和对应的动画效果的步骤包括:
    获得待显示弹幕,以及发送所述待显示弹幕的登陆用户的效果使用权限;
    获得满足所述效果使用权限的动画效果作为对应的动画效果。
  9. 根据权利要求5或6所述的弹幕显示方法,其特征在于,所述动画效果有相应的关键词;
    获得待显示弹幕和对应的动画效果的步骤包括:
    获得待显示弹幕,提取所述待显示弹幕中的关键词,根据所述关键词匹配相应的动画效果。
  10. 根据权利要求7-9中任意一项所述的弹幕显示方法,其特征在于,各所述动画效果包括对应的运行参数,所述运行参数包括运行路径参数、运行速度参数和/或弹性系数参数。
  11. 根据权利要求1所述的弹幕显示方法,其特征在于,执行侦测用户在视频播放区域中执行的区域选定操作的步骤之前,所述方法还包括:
    接收用户发送的弹幕效果设置触发,检测该用户是否具有弹幕效果设置权限;
    在检测到所述用户具有所述弹幕效果设置权限时,再执行侦测用户在视频播放区域中执行的区域选定操作的步骤。
  12. 根据权利要求11所述的弹幕显示方法,其特征在于,所述弹幕效果设置权限包括允许使用次数;在将弹幕显示在所述指定弹幕区域的步骤之后,所述方法还包括:
    将所述允许使用次数减1。
  13. 一种弹幕显示装置,其特征在于,包括:
    操作侦测模块,配置成侦测用户在视频播放区域中执行的区域选定操作;
    区域获得模块,配置成根据所述区域选定操作获得指定弹幕区域;
    弹幕显示模块,配置成将弹幕显示在所述指定弹幕区域。
  14. 根据权利要求13所述的弹幕显示装置,其特征在于,所述操作侦测模块包括:
    显示浮层添加子模块,配置成在所述视频播放区域上增加弹幕显示浮层;
    区域划分子模块,配置成将所述弹幕显示浮层划分为多个区域;
    侦测子模块,配置成侦测用户在所述多个区域中选定的至少一个区域;
    所述区域获得模块配置成获得用户选定的所述至少一个区域作为所述指定弹幕区域。
  15. 根据权利要求13所述的弹幕显示装置,其特征在于,所述区域获得模块将所述视频播放区域中被用户圈选的区域作为所述指定弹幕区域。
  16. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:
    侦测用户在视频播放区域中执行的区域选定操作;
    根据所述区域选定操作获得指定弹幕区域;
    将弹幕显示在所述指定弹幕区域。
  17. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1~12任一项所述方法的步骤。
PCT/CN2017/109568 2017-07-05 2017-11-06 弹幕显示方法、装置及电子设备 WO2019006939A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710541519.4 2017-07-05
CN201710541519.4A CN107257507A (zh) 2017-07-05 2017-07-05 弹幕显示方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2019006939A1 true WO2019006939A1 (zh) 2019-01-10

Family

ID=60024971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109568 WO2019006939A1 (zh) 2017-07-05 2017-11-06 弹幕显示方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN107257507A (zh)
WO (1) WO2019006939A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919213A (zh) * 2019-02-27 2019-06-21 上海六界信息技术有限公司 直播类型的确定方法、装置、设备及存储介质
CN110392293A (zh) * 2019-06-21 2019-10-29 平安普惠企业管理有限公司 基于canvas的弹幕控制方法、装置、设备及存储介质
CN112954380A (zh) * 2021-02-10 2021-06-11 北京达佳互联信息技术有限公司 视频播放处理方法及装置
CN113766336A (zh) * 2020-06-04 2021-12-07 腾讯科技(深圳)有限公司 一种视频播放控制方法及装置
CN114245148A (zh) * 2020-09-09 2022-03-25 腾讯科技(深圳)有限公司 直播互动方法、装置、终端、服务器及存储介质
CN114666648A (zh) * 2022-03-30 2022-06-24 阿里巴巴(中国)有限公司 视频播放方法及电子设备
CN115396700A (zh) * 2021-05-24 2022-11-25 上海哔哩哔哩科技有限公司 数据处理方法及装置
CN115484504A (zh) * 2022-09-14 2022-12-16 北京奇艺世纪科技有限公司 图像显示方法、装置、电子设备及存储介质
WO2023082613A1 (zh) * 2021-11-11 2023-05-19 北京达佳互联信息技术有限公司 显示图层的方法及装置

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257507A (zh) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 弹幕显示方法、装置及电子设备
CN108366286A (zh) * 2018-01-30 2018-08-03 河南职业技术学院 弹幕显示方法及弹幕显示装置
CN108174278A (zh) * 2018-01-30 2018-06-15 河南职业技术学院 弹幕显示方法及弹幕显示装置
CN108804184B (zh) * 2018-05-29 2021-10-01 维沃移动通信有限公司 一种显示控制方法及终端设备
CN110881138B (zh) * 2018-09-05 2021-07-23 武汉斗鱼网络科技有限公司 一种弹幕显示方法、装置及电子设备
CN109361961B (zh) * 2018-09-05 2021-01-01 武汉斗鱼网络科技有限公司 一种弹幕显示方法、装置及电子设备
CN110881145B (zh) * 2018-09-05 2021-11-09 武汉斗鱼网络科技有限公司 一种弹幕显示方法、装置及电子设备
CN111225264A (zh) * 2018-11-23 2020-06-02 上海哔哩哔哩科技有限公司 一种基于增强现实的弹幕显示方法和系统
CN110062254A (zh) * 2019-04-19 2019-07-26 上海连尚网络科技有限公司 一种弹幕发布的方法及设备
CN110324697B (zh) * 2019-07-17 2021-12-07 咪咕视讯科技有限公司 一种弹幕显示方法、终端设备及计算机可读存储介质
CN114390358A (zh) * 2020-10-21 2022-04-22 上海哔哩哔哩科技有限公司 弹幕输入方法以及装置
CN112256176B (zh) * 2020-10-23 2022-04-05 北京字节跳动网络技术有限公司 文字显示方法、装置、电子设备以及计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100927A (zh) * 2015-08-07 2015-11-25 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN105760101A (zh) * 2016-02-02 2016-07-13 广东欧珀移动通信有限公司 视频播放的控制方法及电子设备
CN105898522A (zh) * 2016-05-11 2016-08-24 乐视控股(北京)有限公司 一种弹幕信息处理方法和装置、系统
CN105959817A (zh) * 2016-06-27 2016-09-21 武汉斗鱼网络科技有限公司 一种视频弹幕发送方法及装置
CN106101805A (zh) * 2016-06-28 2016-11-09 武汉斗鱼网络科技有限公司 一种个性化弹幕发送方法及装置
CN106331877A (zh) * 2016-09-22 2017-01-11 广州华多网络科技有限公司 弹幕播放方法及装置
CN107257507A (zh) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 弹幕显示方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6566698B2 (ja) * 2015-04-13 2019-08-28 キヤノン株式会社 表示制御装置および表示制御方法
CN106101851B (zh) * 2016-07-01 2019-04-23 上海幻电信息科技有限公司 一种弹幕服务的整体实现方法及系统
CN106412711B (zh) * 2016-09-22 2019-09-17 广州华多网络科技有限公司 弹幕控制方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100927A (zh) * 2015-08-07 2015-11-25 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN105760101A (zh) * 2016-02-02 2016-07-13 广东欧珀移动通信有限公司 视频播放的控制方法及电子设备
CN105898522A (zh) * 2016-05-11 2016-08-24 乐视控股(北京)有限公司 一种弹幕信息处理方法和装置、系统
CN105959817A (zh) * 2016-06-27 2016-09-21 武汉斗鱼网络科技有限公司 一种视频弹幕发送方法及装置
CN106101805A (zh) * 2016-06-28 2016-11-09 武汉斗鱼网络科技有限公司 一种个性化弹幕发送方法及装置
CN106331877A (zh) * 2016-09-22 2017-01-11 广州华多网络科技有限公司 弹幕播放方法及装置
CN107257507A (zh) * 2017-07-05 2017-10-17 武汉斗鱼网络科技有限公司 弹幕显示方法、装置及电子设备

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919213A (zh) * 2019-02-27 2019-06-21 上海六界信息技术有限公司 直播类型的确定方法、装置、设备及存储介质
CN110392293A (zh) * 2019-06-21 2019-10-29 平安普惠企业管理有限公司 基于canvas的弹幕控制方法、装置、设备及存储介质
CN110392293B (zh) * 2019-06-21 2023-04-07 平安普惠企业管理有限公司 基于canvas的弹幕控制方法、装置、设备及存储介质
CN113766336A (zh) * 2020-06-04 2021-12-07 腾讯科技(深圳)有限公司 一种视频播放控制方法及装置
CN113766336B (zh) * 2020-06-04 2023-09-22 腾讯科技(深圳)有限公司 一种视频播放控制方法、装置、计算机设备及存储介质
CN114245148A (zh) * 2020-09-09 2022-03-25 腾讯科技(深圳)有限公司 直播互动方法、装置、终端、服务器及存储介质
CN114245148B (zh) * 2020-09-09 2023-10-27 腾讯科技(深圳)有限公司 直播互动方法、装置、终端、服务器及存储介质
CN112954380B (zh) * 2021-02-10 2023-03-21 北京达佳互联信息技术有限公司 视频播放处理方法及装置
CN112954380A (zh) * 2021-02-10 2021-06-11 北京达佳互联信息技术有限公司 视频播放处理方法及装置
CN115396700A (zh) * 2021-05-24 2022-11-25 上海哔哩哔哩科技有限公司 数据处理方法及装置
CN115396700B (zh) * 2021-05-24 2024-03-12 上海哔哩哔哩科技有限公司 数据处理方法及装置、计算设备和存储介质
WO2023082613A1 (zh) * 2021-11-11 2023-05-19 北京达佳互联信息技术有限公司 显示图层的方法及装置
CN114666648A (zh) * 2022-03-30 2022-06-24 阿里巴巴(中国)有限公司 视频播放方法及电子设备
CN115484504A (zh) * 2022-09-14 2022-12-16 北京奇艺世纪科技有限公司 图像显示方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN107257507A (zh) 2017-10-17

Similar Documents

Publication Publication Date Title
WO2019006939A1 (zh) 弹幕显示方法、装置及电子设备
US10499109B2 (en) Method and apparatus for providing combined barrage information
EP4087258A1 (en) Method and apparatus for displaying live broadcast data, and device and storage medium
US20190138201A1 (en) Control method of terminal device, terminal device, and storage medium
US20190121537A1 (en) Information displaying method and device, and electronic device
WO2017181598A1 (zh) 视频播放方法及装置
WO2018000661A1 (zh) 弹幕显示方法及装置
US10271105B2 (en) Method for playing video, client, and computer storage medium
KR101989732B1 (ko) 정보 처리 방법, 단말기 및 컴퓨터 저장 매체
US11924485B2 (en) Method and system of displaying a video
CN108170342B (zh) 应用程序界面显示方法及装置、终端、可读存储介质
US20230161471A1 (en) Video-based interaction and video processing methods, apparatus, device, and storage medium
WO2019047728A1 (zh) 开启快捷功能的方法、装置、移动终端及存储介质
US20150271094A1 (en) Restricting Network Applications
US20170195710A1 (en) Method and electronic device for preview play
CN110740373A (zh) 一种音/视频文件的缓冲方法及相关装置
WO2016112791A1 (zh) 移动终端应用程序页面的展现方法和装置
CN106878825B (zh) 基于直播的声效展示方法和装置
WO2017140226A1 (zh) 视频处理方法及其设备
CN113556568A (zh) 一种云应用程序运行方法、系统、装置与存储介质
CN113220179A (zh) 侧边栏的显示方法、装置、终端及存储介质
CN110716782B (zh) 一种信息展示方法、装置及电子设备
WO2016078528A1 (zh) 展现对象信息的方法和装置
CN114640876B (zh) 多媒体业务视频显示方法、装置、计算机设备及存储介质
WO2021098419A1 (zh) 动画显示方法和装置、存储介质及电子设备

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: 17916727

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: 17916727

Country of ref document: EP

Kind code of ref document: A1