WO2019000788A1 - 弹幕信息播放方法、装置、终端设备及存储介质 - Google Patents

弹幕信息播放方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2019000788A1
WO2019000788A1 PCT/CN2017/110934 CN2017110934W WO2019000788A1 WO 2019000788 A1 WO2019000788 A1 WO 2019000788A1 CN 2017110934 W CN2017110934 W CN 2017110934W WO 2019000788 A1 WO2019000788 A1 WO 2019000788A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
barrage
playing
control information
play
Prior art date
Application number
PCT/CN2017/110934
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 WO2019000788A1 publication Critical patent/WO2019000788A1/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
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities

Definitions

  • the present invention relates to the field of barrage information playback control technology, and in particular to a barrage information playing method, device, terminal device and storage medium.
  • barrage information has also been used more and more, such as TV dramas, movie playback and various live broadcast platforms.
  • the broadcast of barrage information has greatly affected the interest of live broadcast.
  • each barrage information is played through unified playback control information, so there is a problem that the trajectory of the barrage information is single.
  • the object of the present invention is to provide a method for playing a bullet-screen information, a device terminal device and a storage medium, so as to solve the problem that the existing barrage information playing technology has a unified playback control for each barrage information.
  • the embodiment of the present invention adopts the following technical solutions:
  • a method for playing a bullet information comprising:
  • the play control information including at least one of a rate parameter, a direction parameter, and an acceleration parameter;
  • the method further includes:
  • Corresponding barrage information is played in the play area according to the new play control information.
  • the playback control information further includes an elasticity coefficient, and the preset boundary of the barrage information is in contact with a boundary of the play area.
  • the steps to generate new playback control information include:
  • the play control information is further included.
  • the friction coefficient is included, and the step of generating new playback control information when the preset boundary of the barrage information is in contact with the boundary of the play area includes:
  • the preset boundary is a bounding box
  • the method further includes: forming a corresponding surrounding by using a bounding box algorithm for each barr information box.
  • the bounding box includes at least one sub-bundle box, and for each barrage information, a bounding box is formed by a bounding box algorithm.
  • the step includes: generating, for each barr information, a corresponding sub-bounding box for each text in the barrage information by using a bounding box algorithm.
  • the method further includes:
  • the text corresponding to each sub-bounding box is played in the playing area according to the playing control information of the barrage information corresponding to the bounding box.
  • the step of generating the playback control information for each barrage information includes:
  • the playback control information is generated according to the identification information.
  • the method further includes: determining whether the received plurality of barrage information has identification information;
  • the step of acquiring the identification information of the barrage information for each piece of barrage information comprises: acquiring identification information of the barrage information for each piece of barrage information having the identification information.
  • the embodiment of the present invention further provides a barrage information playing device, including:
  • control information generating module configured to generate, for each barr information, play control information, where the play control information includes at least one of a rate parameter, a direction parameter, and an acceleration parameter;
  • the barrage information playing module is configured to play corresponding barrage information in the playing area according to the playing control information.
  • the barrage information playing device further includes a control information regeneration module and a barrage information replay module.
  • the control information regeneration module is configured to generate new playback control information when a preset boundary of the barrage information is in contact with a boundary of the play area;
  • the barrage information replay module is configured to play corresponding barrage information in the play area according to the new play control information.
  • the play control information further includes an elasticity coefficient
  • the control information regeneration module is configured to be at a preset boundary of the barrage information.
  • the play control information further includes a friction coefficient
  • the control information regeneration module is configured to be at a preset boundary of the barrage information. When in contact with the boundary of the play area, new play control information is generated in accordance with the friction coefficient.
  • the preset boundary is a bounding box
  • the barrage information playing device further includes a bounding box generating module, for each barrage information, A corresponding bounding box is formed by a bounding box algorithm.
  • the bounding box includes at least one sub-bundle box
  • the device further includes a sub-bundle box generating module configured to be used for each barrage Information, a corresponding sub-box is generated for each text in the barrage information by a bounding box algorithm.
  • the barrage information playing module is configured to each of the bounding boxes having a plurality of sub-bundles, according to the barrage corresponding to the bounding box
  • the play control information of the information plays the characters corresponding to each sub-border box in the play area.
  • the device further includes an identification information acquiring submodule and a control information generating submodule,
  • the identification information obtaining submodule is configured to acquire identification information of the barrage information for each barrage information
  • the control information generating submodule is configured to generate playback control information according to the identification information.
  • the device further includes an identification information determining sub-module configured to determine whether the received barrage information has identification information;
  • the control information generating module is configured to acquire identification information of the barrage information for each piece of barrage information having the identification information.
  • the embodiment of the present invention further provides a terminal device, including: a processor; a memory; and a barrage information playing device, wherein the barrage information playing device is installed in the memory and includes one or more a software function module executed by the processor, the barrage information playing device includes: a control information generating module configured to generate play control information for each barrage information, where the play control information includes a rate parameter and a direction parameter And at least one of the acceleration parameters; the barrage information playing module is configured to play the corresponding barrage information in the playing area according to the playing control information.
  • the embodiment of the present invention further provides a storage medium, where the storage medium includes a set of instructions, when the instruction is executed, causing at least one processor to execute the barrage information playing method provided by the embodiment of the present invention.
  • the method, device, terminal device and storage medium for playing the bullet information of the present invention generate corresponding playing control information for each barrage information, and control the corresponding barrage information to play according to the playing control information,
  • the trajectory of the bullet information is single, which greatly improves the bullet information playback.
  • the fun and visual effects are of great practical value.
  • FIG. 1 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of a method for playing a bullet-screen information according to an embodiment of the present invention.
  • FIG. 3 is another schematic flowchart of a method for playing a bullet screen information according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a bullet-screen information playing device according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a control information generating module according to an embodiment of the present invention.
  • FIG. 6 is a block diagram showing another structure of a bullet-screen information playing device according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a control information re-generation module according to an embodiment of the present invention.
  • FIG. 8 is a block diagram showing another structure of a bullet-screen information playing device according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a bounding box generating module according to an embodiment of the present invention.
  • Icon 100-bounce information playback device; 110-control information generation module; 112-identification information determination sub-module; 114-identification information acquisition sub-module; 116- control information generation sub-module; 130-bounce information playback module; - control information regeneration module; 152 - first control information generation sub-module; 154 - second control information generation sub-module; 170 - bullet information replay module; 190 - bounding box generation module; 191 - sub-border box generation module 200-terminal device; 210-memory; 220-processor; 230-storage controller; 240-interface; 250-audio unit; 260-display unit.
  • the barrage information playing method provided by the embodiment of the invention is applied to a terminal device.
  • the terminal device may be, but not limited to, a personal computer (PC), a smart phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), and the like.
  • PC personal computer
  • PDA personal digital assistant
  • MID mobile internet device
  • the terminal device 200 includes a barrage information playback device 100, a memory 210, a processor 220, a memory controller 230, a peripheral interface 240, an audio unit 250, and a display unit 260.
  • the components of the memory 210, the processor 220, the memory controller 230, the peripheral interface 240, the audio unit 250, and the display unit 260 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.
  • the barrage information playback apparatus 100 includes at least one software function module that can be stored in the memory 210 in the form of software or firmware or that is solidified in an operating system (OS) of the terminal device 100.
  • the processor 220 is configured to execute an executable module stored in the memory 210, such as a software function module, a computer program, and the like included in the barrage information playing device 100.
  • the memory 210 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 210 is used to store a program, and the processor 220 executes the program after receiving the execution instruction. Access to the memory 210 by the processor 220 and other possible components can be performed under the control of the memory controller 230.
  • Processor 220 may be an integrated circuit chip with signal processing capabilities.
  • the processor 220 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., or a digital signal processor (DSP), an application specific integrated circuit ( ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • Peripheral interface 240 couples various input/output devices (eg, audio unit 250, display unit 260) to processor 220 and memory 210.
  • peripheral interface 240, processor 220, and memory controller 230 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
  • the audio unit 250 provides an audio interface to the user, which may include one or more microphones, one or more speakers And audio circuits.
  • the display unit 260 provides an interactive interface (such as a user operation interface) between the terminal device 100 and the user or for displaying image data.
  • the display unit 260 can be a liquid crystal display or a touch display for displaying a play area.
  • a touch display it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense touch operations generated from one or more positions on the touch display, and the touch operation is performed by the processor for calculation. And processing.
  • an embodiment of the present invention provides a method for playing a bullet information.
  • the specific process shown in FIG. 2 will be described in detail below.
  • Step S110 generating playback control information for each piece of barrage information.
  • the specific content of the play control information is not limited, and may include, but is not limited to, parameter information such as a rate parameter, a direction parameter, and an acceleration parameter. It can be either any one of the parameters, or any two parameters, or it can include three parameters, which can be set according to actual needs.
  • the play control information in order to ensure the richness of the play control information and the diversity of the motion information of the barrage information to improve the fun of playing the bullet information, the play control information includes a rate parameter, a direction parameter, and an acceleration parameter.
  • the rule for generating the play control information is not limited, and the corresponding play control information may be randomly generated for each barrage information, or the corresponding play may be generated according to the specific content of each of the barrage information.
  • the barrage information has identification information, and the step of generating the playback control information may be: acquiring identification information of the barrage information for each barrage information; and generating playback control information according to the identifier information.
  • each barrage information has identification information, and corresponding playback control information is generated according to the identifier information, the motion track of the barrage information in the play area is disordered, thereby affecting the video viewing effect. Therefore, in the present embodiment, different playback control information is generated only for part of the barrage information.
  • the specific implementation manner of generating different playback control information only for the partial barrage information is not limited.
  • each barrage information has the identification information
  • only the identification information that meets the preset condition may be corresponding.
  • the barrage information generates different playback information.
  • only part of the barrage information has identification information, and the barrage information with the identification information generates different playback control information. Therefore, before the step of acquiring the identification information, the method further includes: determining that the message is received Whether the multiple barrage information has identification information. And obtaining the identification information by using the following steps: obtaining, for each barr information with the identification information, identification information of the barrage information.
  • the specific representation of the identification information is not limited, and one or more specific words may be used as the identification information.
  • the word “ball” it is determined that the bullet information has identification information.
  • the meaning represented by the barrage information it is also possible to use the meaning represented by the barrage information as the identification information.
  • the barrage information reflects a certain mood, it is determined that the barrage information has the identification information.
  • the slap in the face, the mind is uncertain, and other information such as the barrage that indicates a bad mood.
  • Step S130 Play corresponding barrage information in the play area according to the play control information.
  • the playback control information includes a rate parameter, a direction parameter, and an acceleration parameter.
  • Each of the two pieces of parameter information may be different, or may mean that any two pieces of play control information may have one or two types of parameter information. It is not specifically limited in this embodiment, and may be designed according to the number of the bullet information having the identification information in the actual design process. For example, when the number of the bullet information is large, any two pieces of playback control information may have A parameter information can be different.
  • the play area is a closed area, it is impossible to have an infinitely large characteristic. Therefore, when the play screen information is played in the play area, it is inevitably moved to the boundary of the play area.
  • the barrage information is moved to the boundary of the play area, it may be directly disappeared, or a new play control information may be generated for playing.
  • the original motion track is A to B, according to the new The motion track generated by the playback control information is B to A.
  • the method may further include step S150 and step S170.
  • Step S150 Generate new playback control information when the preset boundary of the barrage information is in contact with the boundary of the play area.
  • the specific shape of the play area is not limited, for example, it may be a relatively common square or rectangle, or may be other regular or irregular shapes.
  • new play control information is generated, which may mean that new play control information is generated when contacting all the boundaries of the play area, or It means that new playback control information is generated only when it contacts the specific one or more boundaries of the play area.
  • the playing area is a rectangle, and the two boundaries in the first direction are the emitting end and the disappearing end of the barrage information respectively, and the two boundaries in the second direction are new play control information when contacting. boundary.
  • the rule for generating the new play control information is not limited, and the new play control information may be randomly generated when the preset boundary of the barrage information is in contact with the boundary of the play area, for example, Keep the rate information and acceleration information unchanged, and randomly generate a new direction information.
  • the play control information may further include an elasticity coefficient, and may generate new play control information by: when the preset boundary of the barrage information is in contact with the boundary of the play area, according to The elasticity coefficient generates new playback control information.
  • the specific setting manner of the elastic coefficient is not limited, and may be randomly generated or set according to the identification information of the barrage information.
  • the The barrage information has identification information, and further obtains identification information of the "ball” word, such as "iron", "foot”, “basket” and the like, and sets the elasticity coefficient according to the identification information, for example
  • the corresponding coefficient of elasticity of "basketball” is 1, the coefficient of elasticity corresponding to "soccer” is 0.5, and the coefficient of elasticity corresponding to "iron ball” is 0.
  • the collision principle is based on the principle of non-elastic collision and the principle of inelastic collision.
  • a new diversity of the play control information is generated to make the collision operation and the collision operation close to the real object.
  • the play control information may further include a friction coefficient, and may generate new play control information by: generating a new according to the friction coefficient when a preset boundary of the barrage information is in contact with a boundary of the play area Playback control information.
  • the specific setting manner of the friction coefficient is not limited, and may be randomly generated or set according to the identification information of the barrage information.
  • the “iron ball” corresponds to a friction coefficient smaller than “glass”. The coefficient of friction of the ball and the plastic ball.
  • Step S170 Play corresponding barrage information in the play area according to the new play control information.
  • the specific representation of the preset boundary is not limited, and may be visible or invisible.
  • the preset boundary is visible.
  • the specific implementation manner of forming the preset boundary is not limited, for example, may be formed by various edge processing algorithms.
  • the preset boundary is a bounding box, and the bounding box is formed by the following steps: for each barrage information, a corresponding bounding box is formed by a bounding box algorithm.
  • the specific implementation manner of forming the bounding box for each piece of barr information is not limited.
  • the barr information may be formed into a bounding box to surround the barrage information, or may be Each of the characters of the barrage information forms a sub-border box, that is, the bounding box includes a plurality of sub-border boxes.
  • each bounding box includes at least one sub bounding box, and the bounding box may be formed by: generating, for each barr information, each text in the barrage information by a bounding box algorithm Corresponding sub bounding box.
  • the rules for generating the sub-bundle are not limited.
  • the sub-bracket is a square, and the principle that the corresponding text can be surrounded can be processed.
  • the step of generating a corresponding sub-bundle box for each text in the barrage information by using a bounding box algorithm includes: following each text in the barrage information by the bounding box algorithm The shape generates a corresponding sub-bounding box.
  • the form of controlling the corresponding text to be played in the playing area is not limited, for example, in the barrage
  • each piece of text included in the barrage information is uniformly played according to the new play control information.
  • the method may further include: for each bounding box having a plurality of sub-bounding boxes, playing control information according to the barrage information corresponding to the bounding box The characters corresponding to each sub-border box are respectively played in the play area.
  • the barrage information playing apparatus 100 may include a control information generating module 110 and a barrage information playing module 130.
  • the control information generating module 110 is configured to generate, according to a preset rule, play control information for each barrage information, where the play control information includes at least one of a rate parameter, a direction parameter, and an acceleration parameter.
  • step S110 may be performed by the control information generating module 110.
  • the barrage information playing module 130 is configured to play corresponding barrage information in the playing area according to the playing control information.
  • step S130 can be performed by the barrage information playing module 130.
  • control information generating module 110 may include an identifier information determining sub-module 112, an identifier information acquiring sub-module 114, and a control information generating sub-module 116.
  • the identifier information determining sub-module 112 is configured to determine whether the received plurality of barrage information has identification information.
  • the identification information obtaining sub-module 114 is configured to obtain identification information of the barrage information for each barrage information having the identification information.
  • the control information generating sub-module 116 is configured to generate play control information according to the identifier information.
  • the barrage information playback apparatus 100 may further include a control information regeneration module 150 and a barrage information replay module 170.
  • the control information re-creation module 150 is configured to generate new play control information when the preset boundary of the barrage information is in contact with the boundary of the play area.
  • step S150 can be performed by the control information re-generation module 150.
  • the barrage information replay module 170 plays corresponding barrage information in the play area according to the new play control information.
  • step S170 can be performed by the barrage information replay module 170.
  • control information may further include an elastic coefficient and a friction coefficient
  • control information regeneration module 150 may include a first control information generation submodule 152 and a second control information generation submodule. 154.
  • the first control information generating sub-module 152 is configured to generate new play control information according to the elastic coefficient when a preset boundary of the barrage information is in contact with a boundary of the play area.
  • the second control information generating sub-module 154 is configured to generate new play control information according to the friction coefficient when a preset boundary of the barrage information is in contact with a boundary of the play area.
  • the barrage information playing device 100 may further include a bounding box generating module 190 .
  • the bounding box generating module 190 is configured to form a corresponding bounding box by using a bounding box algorithm according to a preset rule for each piece of barrage information.
  • the bounding box generating module may include a sub bounding box generating module 191 .
  • the sub bounding box generating module 191 is configured to generate, by using a bounding box algorithm, a corresponding sub bounding box for each text in the barrage information according to a preset rule for each barrage information.
  • the embodiment of the present invention further provides a storage medium, which includes a set of instructions, when executed, causes at least one processor to execute the barrage information playing method provided by the embodiment of the present invention.
  • the method and device for playing the bullet screen information provided by the present invention generates corresponding playback control information for each barrage information, and controls the corresponding barrage information to be played according to the playback control information, which can be played in the playing area.
  • Different motion trajectories are formed, which solves the problem that the existing trajectory of the bullet-screen information has a single trajectory due to the uniform playback control of the information of the various bullet-screen information in the existing bullet-screen information playing technology, which greatly improves the interest of the bullet-screen information playing.
  • Visual effects have great practical value.
  • 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 software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, electronic device, or network device, etc.) to perform 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. .
  • the present invention solves the problem that the existing bullet-screen information playing technology has a single movement of the bullet-screen information due to the unified playback control of each barrage information, and greatly improves the interest and visual effect of the bullet-screen information playing.
  • the practical value of the earth is the value of the earth.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

本发明提供了一种弹幕信息播放方法、装置、终端及存储介质,涉及弹幕信息播放控制技术领域。其中,弹幕信息播放方法包括:针对每一条弹幕信息,生成播放控制信息,所述播放控制信息包括速率参数、方向参数和/或加速度参数;根据所述播放控制信息在播放区域播放对应的弹幕信息。通过上述方法,可以解决现有弹幕信息播放技术中因对各弹幕信息进行统一的播放控制而存在弹幕信息运动轨迹单一的问题。

Description

弹幕信息播放方法、装置、终端设备及存储介质
本申请要求于2017年6月30日提交中国专利局的申请号为2017105201180、名称为“弹幕信息播放方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及弹幕信息播放控制技术领域,具体而言,涉及一种弹幕信息播放方法、装置、终端设备及存储介质。
背景技术
随着视频播放行业的快速发展,弹幕信息的播放也得到了越来越多的应用,例如电视剧、电影的播放以及各种直播平台。其中,在直播行业中,弹幕信息的播放已经在很大程度上影响着直播的趣味性。
经发明人研究发现,尽管现有的弹幕信息播放技术中,针对各种弹幕信息也存在着多种播放形式。但是,在这些不同的播种形式中仍然存在着一些共有的问题,例如,各弹幕信息通过统一的播放控制信息进行播放,因而存在弹幕信息运动轨迹单一的问题。
发明内容
有鉴于此,本发明的目的在于提供一种弹幕信息播放方法、装置终端设备及存储介质,以解决现有弹幕信息播放技术中因对各弹幕信息进行统一的播放控制而存在弹幕信息运动轨迹单一的问题。
为实现上述目的,本发明实施例采用如下技术方案:
一种弹幕信息播放方法,包括:
针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;
根据所述播放控制信息在播放区域播放对应的弹幕信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述方法还包括:
在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息;
根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述播放控制信息还包括弹性系数,所述在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息的步骤包括:
在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述播放控制信息还包 括摩擦系数,所述在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息的步骤包括:
在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述预设边界为包围盒,所述方法还包括:针对每一条弹幕信息,通过包围盒算法形成对应的包围盒。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述包围盒包括至少一个子包围盒,所述针对每一条弹幕信息,通过包围盒算法形成对应的包围盒的步骤包括:针对每一条弹幕信息,通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述方法还包括:
针对每一个具有多个子包围盒的包围盒,根据该包围盒对应的弹幕信息的播放控制信息在所述播放区域分别播放各子包围盒对应的文字。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述针对每一条弹幕信息,生成播放控制信息的步骤包括:
针对每一条弹幕信息,获取该弹幕信息的标识信息;
根据所述标识信息生成播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放方法中,所述方法还包括:判断接收到的多条弹幕信息是否具有标识信息;
所述针对每一条弹幕信息,获取该弹幕信息的标识信息的步骤包括:针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。
在上述基础上,本发明实施例还提供了一种弹幕信息播放装置,包括:
控制信息生成模块,被配置为针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;
弹幕信息播放模块,被配置为根据所述播放控制信息在播放区域播放对应的弹幕信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述弹幕信息播放装置还包括控制信息重新生成模块和弹幕信息重新播放模块,
所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述播放区域的边界接触时,生成新的播放控制信息;
所述弹幕信息重新播放模块被配置为根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述播放控制信息还包括弹性系数,所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述 播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述播放控制信息还包括摩擦系数,所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述预设边界为包围盒,所述弹幕信息播放装置还包括包围盒生成模块,针对每一条弹幕信息,通过包围盒算法形成对应的包围盒。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述包围盒包括至少一个子包围盒,所述装置还包括子包围盒生成模块,被配置为针对每一条弹幕信息,通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述弹幕信息播放模块被配置为针对每一个具有多个子包围盒的包围盒,根据该包围盒对应的弹幕信息的播放控制信息在所述播放区域分别播放各子包围盒对应的文字。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述装置还包括标识信息获取子模块和控制信息生成子模块,
所述标识信息获取子模块被配置为针对每一条弹幕信息,获取该弹幕信息的标识信息;
所述控制信息生成子模块被配置为根据所述标识信息生成播放控制信息。
在本发明实施例较佳的选择中,在上述弹幕信息播放装置中,所述装置还包括标识信息判断子模块,被配置为判断接收到的弹幕信息是否具有标识信息;
所述控制信息生成模块被配置为针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。
在上述基础上,本发明实施例还提供了一种终端设备,包括:处理器;存储器;及弹幕信息播放装置,所述弹幕信息播放装置安装于所述存储器中并包括一个或多个由所述处理器执行的软件功能模块,所述弹幕信息播放装置包括:控制信息生成模块,被配置为针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;弹幕信息播放模块,被配置为根据所述播放控制信息在播放区域播放对应的弹幕信息。
在上述基础上,本发明实施例还提供了一种存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行本发明实施例提供的弹幕信息播放方法。
本发明提供的弹幕信息播放方法、装置、终端设备及存储介质,通过针对每一条弹幕信息生成对应的播放控制信息,并根据该播放控制信息控制对应的弹幕信息进行播放,可 以在播放区域形成不同的运动轨迹,从而解决现有弹幕信息播放技术中因对各弹幕信息进行统一的播放控制而存在弹幕信息运动轨迹单一的问题,极大地提高了弹幕信息播放的趣味性和视觉效果,具有极大地实用价值。
进一步地,通过弹性系数的设置,在弹幕信息的边界与播放区域的边界接触时根据该弹性系数生成新的播放控制信息,以控制弹幕信息在播放区域形成新的播放轨迹,从而形成类似于发生弹性碰撞、非弹性碰撞或完全非弹性碰撞的效果,有效地提高了弹幕信息播放的趣味性和视觉效果。
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。
附图说明
图1为本发明实施例提供的终端设备的方框示意图。
图2为本发明实施例提供的弹幕信息播放方法的流程示意图。
图3为本发明实施例提供的弹幕信息播放方法的另一流程示意图。
图4为本发明实施例提供的弹幕信息播放装置的结构框图。
图5为本发明实施例提供的控制信息生成模块的结构框图。
图6为本发明实施例提供的弹幕信息播放装置的另一结构框图。
图7为本发明实施例提供的控制信息重新生成模块的结构框图。
图8为本发明实施例提供的弹幕信息播放装置的另一结构框图。
图9为本发明实施例提供的包围盒生成模块的结构框图。
图标:100-弹幕信息播放装置;110-控制信息生成模块;112-标识信息判断子模块;114-标识信息获取子模块;116-控制信息生成子模块;130-弹幕信息播放模块;150-控制信息重新生成模块;152-第一控制信息生成子模块;154-第二控制信息生成子模块;170-弹幕信息重新播放模块;190-包围盒生成模块;191-子包围盒生成模块;200-终端设备;210-存储器;220-处理器;230-存储控制器;240-接口;250-音频单元;260-显示单元。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明的一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为只是或暗示相对重要性。
本发明实施例提供的弹幕信息播放方法应用于终端设备。该终端设备可以是,但不限于,个人电脑(personal computer,PC)、智能手机、平板电脑、个人数字助理(personal digital assistant,PDA)、移动上网设备(mobile Internet device,MID)等。
如图1所示,是该终端设备200的方框示意图。该终端设备200包括弹幕信息播放装置100、存储器210、处理器220、存储控制器230、外设接口240、音频单元250和显示单元260。
存储器210、处理器220、存储控制器230、外设接口240、音频单元250和显示单元260各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。弹幕信息播放装置100包括至少一个可以软件或固件(firmware)的形式存储于存储器210中或固化在终端设备100的操作系统(operating system,OS)中的软件功能模块。处理器220用于执行所述存储器210中存储的可执行模块,例如弹幕信息播放装置100所包括的软件功能模块及计算机程序等。
其中,存储器210可以是,但不限于,随机存取存储器(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)等。其中,存储器210用于存储程序,处理器220在接收到执行指令后,执行该程序。处理器220以及其他可能的组件对存储器210的访问可在存储控制器230的控制下进行。
处理器220可能是一种集成电路芯片,具有信号的处理能力。上述的处理器220可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DSP))、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
外设接口240将各种输入/输出装置(例如音频单元250、显示单元260)耦合至处理器220以及存储器210。在一些实施例中,外设接口240,处理器220以及存储控制器230可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。
音频单元250向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声 器以及音频电路。
显示单元260在终端设备100与用户之间提供一个交互界面(例如用户操作界面)或用于显示图像数据。在本实施例中,显示单元260可以是液晶显示器或触控显示器,用于展示播放区域。若为触控显示器,其可为支持单点和多点触控操作的电容式触控屏或电阻式触控屏等。支持单点和多点触控操作是指触控显示器能感应到来自该触控显示器上一个或多个位置处产生的触控操作,并将该感应到的触控操作交由处理器进行计算和处理。
如图2所示,本发明实施例提供了一种弹幕信息播放方法,下面将对图2所示的具体流程进行详细阐述。
步骤S110,针对每一条弹幕信息生成播放控制信息。
可选地,所述播放控制信息的具体内容不受限制,可以包括但不限于速率参数、方向参数以及加速度参数等参数信息。既可以是包括其中的任意一种参数,也可以是任意的两种参数,还可以是包括三种参数,根据实际需求进行设置即可。在本实施例中,为保证所述播放控制信息的丰富度和弹幕信息运动轨迹的多样性以提高弹幕信息播放的趣味性,所述播放控制信息包括速率参数、方向参数和加速度参数。
可选地,生成所述播放控制信息的规则不受限制,既可以是针对每一条弹幕信息,随机生成对应的播放控制信息,也可以根据各所述弹幕信息的具体内容,生成对应播放控制信息。在本实施例中,所述弹幕信息具有标识信息,生成播放控制信息的步骤可以是:针对每一条弹幕信息,获取该弹幕信息的标识信息;根据所述标识信息生成播放控制信息。
可选地,考虑到若每一条弹幕信息均具有标识信息,并且根据该标识信息对应生成不同的播放控制信息,会导致弹幕信息在播放区域运动轨迹混乱,进而影响视频的观看效果。因此,在本实施例中,仅对部分弹幕信息生成不同的播放控制信息。
可选地,仅对部分弹幕信息生成不同的播放控制信息的具体实施方式不受限制,例如,在每一条弹幕信息均具有标识信息时,可以仅对符合预设条件的标识信息对应的弹幕信息生成不同的播放信息。在本实施例中,仅有部分弹幕信息具有标识信息,并将具有标识信息的弹幕信息生成不同的播放控制信息,因此,在获取标识信息的步骤前所述方法还包括:判断接收到的多条弹幕信息是否具有标识信息。并通过以下步骤获取所述标识信息:针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。
可选地,所述标识信息的具体表现形式不受限制,既可以是将某一个或多个特定的字作为标识信息,例如只要具有“球”这个字即判定该弹幕信息具有标识信息。也可以是将弹幕信息所代表的含义作为标识信息,例如在该弹幕信息所反应出的是某种心情时,判定该弹幕信息具有标识信息。例如没精打采、心神不定等标识心情不好的弹幕信息。
步骤S130,根据所述播放控制信息在播放区域播放对应的弹幕信息。
可选地,由于所述播放控制信息包括速率参数、方向参数和加速度参数。各所述播放控制信息不同,既可以是指包含的三种参数信息均不同,也可以是指任意两条播放控制信息只要具有一种或两种参数信息不同即可。在本实施例中不做具体的限定,可以根据实际设计过程中具有标识信息的弹幕信息的数量进行设计,例如在具有弹幕信息的数量较大时,可以是任意两条播放控制信息具有一种参数信息不同即可。
在本实施例中,考虑到所述播放区域为一个封闭的区域,不可能具有无限大的特性,因此,所述弹幕信息在所述播放区域播放时,必然会运动至播放区域的边界。可选地,所述弹幕信息运动至所述播放区域的边界时,既可以是直接消失,也可以是生成新的播放控制信息进行播放,例如,原本的运动轨迹为A至B,根据新的播放控制信息生成的运动轨迹为B至A。结合图3,在本实施例中,为进一步地提高所述弹幕信息播放的趣味性,所述方法还可以包括步骤S150和步骤S170。
步骤S150,在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息。
在本实施例中,所述播放区域的具体形状不受限制,例如,既可以是比较常用的正方形或长方形,也可以是其它的规则的或不规则的形状。所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息,既可以是指与所述播放区域的所有边界接触时均会生成新的播放控制信息,也可以是指只有与所述播放区域的特定的一条或多条边界接触时才会生成新的播放控制信息。在本实施例中,所述播放区域为长方形,第一方向上的两条边界分别为弹幕信息的发出端和消失端,第二方向的两条边界为接触时生成新的播放控制信息的边界。
可选地,生成所述新的播放控制信息的规则不受限制,可以是在所述弹幕信息的预设边界与所述播放区域的边界接触时,随机生成新的播放控制信息,例如,保持速率信息和加速度信息不变,随机生成一个新的方向信息。在本实施例中,所述播放控制信息还可以包括弹性系数,并可以通过以下步骤生成新的播放控制信息:在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。
可选地,所述弹性系数的具体设置方式不受限制,既可以是随机生成,也可以是根据所述弹幕信息的标识信息进行设置,例如,在具有“球”字时,即判定该弹幕信息具有标识信息,并进一步获取对“球”字的限定性的标识信息,例如“铁”、“足”、“篮”等标识信息,并根据该标识信息设置弹性系数的大小,例如,“篮球”对应的弹性系数为1,“足球”对应的弹性系数为0.5,“铁球”对应的弹性系数为0。通过所述弹性系数的不同设置,可以保证不同的弹幕信息的预设边界与所述播放区域的边界接触时,发生不同效果的反弹,进一步地提高了弹幕信息播放的趣味性,例如,可以根据弹性系数的不同可以分别根据弹 性碰撞原理、非弹性碰撞原理以及完全非弹性碰撞原理进行碰撞操作。
在本实施例中,为进一步地提高所述弹幕信息在与所述播放区域的边界接触时,生成新的播放控制信息的多样性以使上述的碰撞操作跟贴近真实物件的碰撞操作,所述播放控制信息还可以包括摩擦系数,并可以通过以下步骤生成新的播放控制信息:在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
可选地,所述摩擦系数的具体设置方式不受限制,既可以是随机生成,也可以是根据所述弹幕信息的标识信息进行设置,例如,“铁球”对应的摩擦系数小于“玻璃球”和“塑料球”的摩擦系数。
步骤S170,根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
可选地,所述预设边界的具体表现形式不受限制,既可以是可见的,也可以是不可见的。在本实施例中,为进一步地提高所述弹幕信息播放时的趣味性,所述预设边界为可见的。
可选地,形成所述预设边界的具体实施方式不受限制,例如,可以通过各种边缘处理算法形成。在本实施例中,所述预设边界为包围盒,并通过以下步骤形成所述包围盒:针对每一条弹幕信息,通过包围盒算法形成对应的包围盒。
可选地,针对每一条弹幕信息形成包围盒的具体实施方式不受限制,例如,既可以是对该条弹幕信息形成一个包围盒以包围该条弹幕信息,也可以是针对该条弹幕信息的每一个文字分别形成一个子包围盒,即所述包围盒包括多个子包围盒。在本实施例中,每一个包围盒包括至少一个子包围盒,并可以通过以下步骤形成所述包围盒:针对每一条弹幕信息,通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
可选地,生成子包围盒的规则不受限制,例如,所述子包围为方形,按照刚好可以将对应的文字包围的原则进行处理。在本实施例中,所述通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒的步骤包括:通过包围盒算法对该弹幕信息中的每一个文字按照该文字的形状生成对应的子包围盒。
可以理解,在前文中提到的文字,既可以是指狭义的文字,即记录信息的图像符号,也可以是指各种标点。
进一步地,在本实施例中,在对该弹幕信息中的每一个文字生成对应的子包围盒后,控制对应的文字在播放区域进行播放的形式不受限制,例如,在所述弹幕信息的第一个文字对应的子包围盒与播放区域的边界接触时,将该条弹幕信息包括的每一个文字按照新的播放控制信息进行统一播放。在本实施例中,为进一步地提高弹幕信息播放的趣味性,所述方法还可以包括:针对每一个具有多个子包围盒的包围盒,根据该包围盒对应的弹幕信息的播放控制信息在所述播放区域分别播放各子包围盒对应的文字。即,在该条弹幕信息 的第一个文字对应的子包围与播放区域的边界接触时生成对应的新的播放控制信息并根据该播放控制信息播放第一个文字,在第二个文字对应的子包围盒与播放区域的边界接触时根据该播放控制信息播放第二个文字。
请参照图4,本发明实施例提供的弹幕信息播放装置100可以包括控制信息生成模块110和弹幕信息播放模块130。
所述控制信息生成模块110,用于针对每一条弹幕信息,根据预设规则生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数。本实施例中,步骤S110可以由所述控制信息生成模块110执行。
所述弹幕信息播放模块130,用于根据所述播放控制信息在播放区域播放对应的弹幕信息。本实施例中,步骤S130可以由所述弹幕信息播放模块130执行。
请参照图5,在本实施例中,所述控制信息生成模块110可以包括标识信息判断子模块112、标识信息获取子模块114以及控制信息生成子模块116。
所述标识信息判断子模块112,用于判断接收到的多条弹幕信息是否具有标识信息。所述标识信息获取子模块114,用于针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。所述控制信息生成子模块116,用于根据所述标识信息生成播放控制信息。
请图6,在本实施例中,所述弹幕信息播放装置100还可以包括控制信息重新生成模块150和弹幕信息重新播放模块170。
所述控制信息重新生成模块150,用于在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息。
本实施例中,步骤S150可以由所述控制信息重新生成模块150执行。
所述弹幕信息重新播放模块170,根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
本实施例中,步骤S170可以由所述弹幕信息重新播放模块170执行。
请参照图7,在本实施例中,所述控制信息还可以包括弹性系数和摩擦系数,所述控制信息重新生成模块150可以包括第一控制信息生成子模块152和第二控制信息生成子模块154。
所述第一控制信息生成子模块152,用于在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。所述第二控制信息生成子模块154,用于在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
请参照图8,在本实施例中,在所述预设边界为包围盒时,所述弹幕信息播放装置100还可以包括包围盒生成模块190。
所述包围盒生成模块190,用于针对每一条弹幕信息,按照预设规则通过包围盒算法形成对应的包围盒。
请参照图9,在本实施例中,在所述包围盒包括多个子包围盒时,所述包围盒生成模块可以包括子包围盒生成模块191。
所述子包围盒生成模块191,用于针对每一条弹幕信息,按照预设规则通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
本发明实施例还提供了一种存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行本发明实施例提供的弹幕信息播放方法。
综上所述,本发明提供的弹幕信息播放方法和装置,通过针对每一条弹幕信息生成对应的播放控制信息,并根据该播放控制信息控制对应的弹幕信息进行播放,可以在播放区域形成不同的运动轨迹,从而解决现有弹幕信息播放技术中因对各弹幕信息进行统一的播放控制而存在弹幕信息运动轨迹单一的问题,极大地提高了弹幕信息播放的趣味性和视觉效果,具有极大地实用价值。其次,通过弹性系数的设置,在弹幕信息的边界与播放区域的边界接触时根据该弹性系数生成新的播放控制信息,以控制弹幕信息在播放区域形成新的播放轨迹,从而形成类似于发生弹性碰撞、非弹性碰撞或完全非弹性碰撞的效果,有效地提高了弹幕信息播放的趣味性和视觉效果。
在本发明实施例所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置和方法实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,电子设备,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本申请解决现有弹幕信息播放技术中因对各弹幕信息进行统一的播放控制而存在弹幕信息运动轨迹单一的问题,极大地提高了弹幕信息播放的趣味性和视觉效果,具有极大地实用价值。

Claims (20)

  1. 一种弹幕信息播放方法,其特征在于,所述方法包括:
    针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;
    根据所述播放控制信息在播放区域播放对应的弹幕信息。
  2. 根据权利要求1所述的弹幕信息播放方法,其特征在于,所述方法还包括:
    在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息;
    根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
  3. 根据权利要求2所述的弹幕信息播放方法,其特征在于,所述播放控制信息还包括弹性系数,所述在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息的步骤包括:
    在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。
  4. 根据权利要求2所述的弹幕信息播放方法,其特征在于,所述播放控制信息还包括摩擦系数,所述在所述弹幕信息的预设边界与所述播放区域的边界接触时生成新的播放控制信息的步骤包括:
    在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
  5. 根据权利要求2-4任意一项所述的弹幕信息播放方法,其特征在于,所述预设边界为包围盒,所述方法还包括:针对每一条弹幕信息,通过包围盒算法形成对应的包围盒。
  6. 根据权利要求5所述的弹幕信息播放方法,其特征在于,所述包围盒包括至少一个子包围盒,所述针对每一条弹幕信息,通过包围盒算法形成对应的包围盒的步骤包括:针对每一条弹幕信息,通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
  7. 根据权利要求6所述的弹幕信息播放方法,其特征在于,所述方法还包括:
    针对每一个具有多个子包围盒的包围盒,根据该包围盒对应的弹幕信息的播放控制信息在所述播放区域分别播放各子包围盒对应的文字。
  8. 根据权利要求1所述的弹幕信息播放方法,其特征在于,所述针对每一条弹幕信息,生成播放控制信息的步骤包括:
    针对每一条弹幕信息,获取该弹幕信息的标识信息;
    根据所述标识信息生成播放控制信息。
  9. 根据权利要求8所述的弹幕信息播放方法,其特征在于,所述方法还包括:判断接收到的弹幕信息是否具有标识信息;
    所述针对每一条弹幕信息,获取该弹幕信息的标识信息的步骤包括:针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。
  10. 一种弹幕信息播放装置,其特征在于,包括:
    控制信息生成模块,被配置为针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;
    弹幕信息播放模块,被配置为根据所述播放控制信息在播放区域播放对应的弹幕信息。
  11. 根据权利要求10所述的弹幕信息播放装置,其特征在于,所述弹幕信息播放装置还包括控制信息重新生成模块和弹幕信息重新播放模块,
    所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述播放区域的边界接触时,生成新的播放控制信息;
    所述弹幕信息重新播放模块被配置为根据所述新的播放控制信息在所述播放区域播放对应的弹幕信息。
  12. 根据权利要求11所述的弹幕信息播放装置,其特征在于,所述播放控制信息还包括弹性系数,所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述弹性系数生成新的播放控制信息。
  13. 根据权利要求11所述的弹幕信息播放装置,其特征在于,所述播放控制信息还包括摩擦系数,所述控制信息重新生成模块被配置为在所述弹幕信息的预设边界与所述播放区域的边界接触时,按照所述摩擦系数生成新的播放控制信息。
  14. 根据权利要求11-13中任一项所述的弹幕信息播放装置,其特征在于,所述预设边界为包围盒,所述弹幕信息播放装置还包括包围盒生成模块,针对每一条弹幕信息,通过包围盒算法形成对应的包围盒。
  15. 根据权利要求14所述的弹幕信息播放装置,其特征在于,所述包围盒包括至少一个子包围盒,所述装置还包括子包围盒生成模块,被配置为针对每一条弹幕信息,通过包围盒算法对该弹幕信息中的每一个文字生成对应的子包围盒。
  16. 根据权利要求15所述的弹幕信息播放装置,其特征在于,所述弹幕信息播放模块被配置为针对每一个具有多个子包围盒的包围盒,根据该包围盒对应的弹幕信息的播放控制信息在所述播放区域分别播放各子包围盒对应的文字。
  17. 根据权利要求10所述的弹幕信息播放装置,其特征在于,所述装置还包括标识信息获取子模块和控制信息生成子模块,
    所述标识信息获取子模块被配置为针对每一条弹幕信息,获取该弹幕信息的标识信息;
    所述控制信息生成子模块被配置为根据所述标识信息生成播放控制信息。
  18. 根据权利要求17所述的弹幕信息播放装置,其特征在于,所述装置还包括标识信息判断子模块,被配置为判断接收到的弹幕信息是否具有标识信息;
    所述控制信息生成模块被配置为针对具有标识信息的每一条弹幕信息,获取该弹幕信息的标识信息。
  19. 一种终端设备,其特征在于,包括:
    处理器;
    存储器;及
    弹幕信息播放装置,所述弹幕信息播放装置安装于所述存储器中并包括一个或多个由所述处理器执行的软件功能模块,所述弹幕信息播放装置包括:
    控制信息生成模块,被配置为针对每一条弹幕信息生成播放控制信息,所述播放控制信息包括速率参数、方向参数和加速度参数中的至少一种参数;
    弹幕信息播放模块,被配置为根据所述播放控制信息在播放区域播放对应的弹幕信息。
  20. 一种存储介质,该存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行权利要求1-9任一项所述的方法。
PCT/CN2017/110934 2017-06-30 2017-11-14 弹幕信息播放方法、装置、终端设备及存储介质 WO2019000788A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710520118.0A CN107302717B (zh) 2017-06-30 2017-06-30 弹幕信息播放方法和装置
CN201710520118.0 2017-06-30

Publications (1)

Publication Number Publication Date
WO2019000788A1 true WO2019000788A1 (zh) 2019-01-03

Family

ID=60135255

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/110934 WO2019000788A1 (zh) 2017-06-30 2017-11-14 弹幕信息播放方法、装置、终端设备及存储介质

Country Status (2)

Country Link
CN (1) CN107302717B (zh)
WO (1) WO2019000788A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302717B (zh) * 2017-06-30 2019-04-05 武汉斗鱼网络科技有限公司 弹幕信息播放方法和装置
CN107295389B (zh) * 2017-06-30 2020-05-08 武汉斗鱼网络科技有限公司 弹幕信息处理方法和装置
CN108055552B (zh) * 2017-12-13 2019-11-05 广州虎牙信息科技有限公司 直播间弹幕展示方法、装置及相应的终端
CN111372140A (zh) * 2020-03-04 2020-07-03 网易(杭州)网络有限公司 弹幕调整方法及装置、计算机可读存储介质和电子设备
CN112689190B (zh) * 2021-03-22 2022-07-01 游艺星际(北京)科技有限公司 弹幕显示方法、装置、终端及存储介质
CN114025225B (zh) * 2021-10-29 2023-08-29 北京字跳网络技术有限公司 弹幕的控制方法、装置、电子设备和存储介质
CN114520924A (zh) * 2022-02-22 2022-05-20 上海哔哩哔哩科技有限公司 弹幕展示方法及装置
CN117676223A (zh) * 2022-08-22 2024-03-08 北京字跳网络技术有限公司 弹幕显示方法及装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117934A (zh) * 2015-08-05 2015-12-02 北京奇艺世纪科技有限公司 一种商品评论信息的展示方法及装置
CN105554581A (zh) * 2015-12-11 2016-05-04 小米科技有限责任公司 弹幕显示方法及装置
US20160261927A1 (en) * 2013-10-09 2016-09-08 Disney Enterprises, Inc. Method and System for Providing and Displaying Optional Overlays
CN105939493A (zh) * 2016-03-30 2016-09-14 广州华多网络科技有限公司 一种视频弹幕的显示方法及显示装置
CN106021279A (zh) * 2016-04-28 2016-10-12 百度在线网络技术(北京)有限公司 信息显示方法和装置
CN106454434A (zh) * 2016-11-15 2017-02-22 广州华多网络科技有限公司 一种弹幕播放方法及装置
CN107302717A (zh) * 2017-06-30 2017-10-27 武汉斗鱼网络科技有限公司 弹幕信息播放方法和装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668131B (zh) * 2008-09-04 2013-01-02 新奥特(北京)视频技术有限公司 一种基于虚拟容器的电视字幕编辑和播出方法
CN101867733A (zh) * 2009-04-14 2010-10-20 联发科技(新加坡)私人有限公司 视频节目的字幕数据流的处理方法及视频显示系统
CN105323704A (zh) * 2014-07-07 2016-02-10 中兴通讯股份有限公司 一种用户评论分享方法、装置及系统
CN106550277A (zh) * 2015-09-23 2017-03-29 天津三星电子有限公司 一种加载弹幕的方法及显示设备
CN106412711B (zh) * 2016-09-22 2019-09-17 广州华多网络科技有限公司 弹幕控制方法及装置
CN106658221A (zh) * 2016-12-06 2017-05-10 广州华多网络科技有限公司 弹幕控制方法及装置
CN106792087A (zh) * 2016-12-14 2017-05-31 上海青声网络科技有限公司 一种弹幕显示的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160261927A1 (en) * 2013-10-09 2016-09-08 Disney Enterprises, Inc. Method and System for Providing and Displaying Optional Overlays
CN105117934A (zh) * 2015-08-05 2015-12-02 北京奇艺世纪科技有限公司 一种商品评论信息的展示方法及装置
CN105554581A (zh) * 2015-12-11 2016-05-04 小米科技有限责任公司 弹幕显示方法及装置
CN105939493A (zh) * 2016-03-30 2016-09-14 广州华多网络科技有限公司 一种视频弹幕的显示方法及显示装置
CN106021279A (zh) * 2016-04-28 2016-10-12 百度在线网络技术(北京)有限公司 信息显示方法和装置
CN106454434A (zh) * 2016-11-15 2017-02-22 广州华多网络科技有限公司 一种弹幕播放方法及装置
CN107302717A (zh) * 2017-06-30 2017-10-27 武汉斗鱼网络科技有限公司 弹幕信息播放方法和装置

Also Published As

Publication number Publication date
CN107302717B (zh) 2019-04-05
CN107302717A (zh) 2017-10-27

Similar Documents

Publication Publication Date Title
WO2019000788A1 (zh) 弹幕信息播放方法、装置、终端设备及存储介质
AU2017339440B2 (en) Techniques for incorporating a text-containing image into a digital image
US10042420B2 (en) Gaze-aware control of multi-screen experience
JP7175957B2 (ja) 繰り返しの再生を回避するための、メディアタイトルの以前にストリーミングされた部分の特定
CN103986962B (zh) 显示悬浮式播放窗口的方法和系统
CN108282686B (zh) 视频画面处理方法、装置及电子设备
KR20140025493A (ko) 에지 제스처 기법
KR20140025494A (ko) 에지 제스처 기법
US20240127546A1 (en) Overlay Placement For Virtual Reality And Augmented Reality
RU2600544C2 (ru) Навигационный пользовательский интерфейс с поддержкой сосредоточенного на странице восприятия просмотра на основе распознавания прикосновений или жестов
AU2019371451B2 (en) Video playback in an online streaming environment
US11209902B2 (en) Controlling input focus based on eye gaze
WO2019001081A1 (zh) 弹幕信息处理方法、装置、电子设备和存储介质
CN103744577A (zh) 一种浮动显示多媒体文件的系统及其显示方法
US11409419B2 (en) Sound-directed graphic accessibility
CN105828126A (zh) 一种信息处理方法及电子设备
CN108200467A (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: 17916389

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

Country of ref document: EP

Kind code of ref document: A1