CN106454434A - Barrage playing method and device - Google Patents

Barrage playing method and device Download PDF

Info

Publication number
CN106454434A
CN106454434A CN201611035692.9A CN201611035692A CN106454434A CN 106454434 A CN106454434 A CN 106454434A CN 201611035692 A CN201611035692 A CN 201611035692A CN 106454434 A CN106454434 A CN 106454434A
Authority
CN
China
Prior art keywords
barrage
barrage information
information
translational speed
played
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201611035692.9A
Other languages
Chinese (zh)
Other versions
CN106454434B (en
Inventor
曾衍
孟令东
彭康佳
李德贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201611035692.9A priority Critical patent/CN106454434B/en
Publication of CN106454434A publication Critical patent/CN106454434A/en
Application granted granted Critical
Publication of CN106454434B publication Critical patent/CN106454434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a barrage playing method and a barrage playing device. The barrage playing method comprises the following steps: acquiring a first position corresponding to a first display frame to which played first barrage information belongs, and a second position of a second display frame to which played second barrage information belongs; when the distance between the first position and the second position is detected to be 0, acquiring a first moving speed of the first barrage information and a second moving speed of the second barrage information; updating the first moving speed and/or the second moving speed, wherein the updated first moving speed is higher than the first moving speed before being updated and/or the updated second moving speed is lower than the first moving speed before being updated; according to the updated first moving speed and/or the updated second moving speed, playing the first barrage information and the second barrage information. The embodiment of the invention further discloses the corresponding barrage playing device. Through the barrage playing method and the barrage playing device, avoidance from overlapping display of the barrage information and improvement on a watching effect for a user are facilitated.

Description

A kind of barrage player method and device
Technical field
The present invention relates to multimedia display technology field, and in particular to a kind of barrage player method and device.
Background technology
With development and the rise of video website, increasing people selects viewing film, TV play etc. on computers to regard Frequency moral integrity mesh, " barrage " this video interactive mode is arisen at the historic moment.Barrage be play video when, by for video comment with Rolling form shows the phenomenon on video pictures.Specifically, in client terminal playing video, user end to server sends bullet Curtain information request, server obtains all barrage information that the video is delivered according to barrage information request, and all barrages are believed Breath is sent to client, barrage content of the client in video playback interface in all barrage information of roll display,
But, when the big situation of barrage amount, the barrage content in all barrage information that client shows can produce weight Folded, cause user that barrage content is not seen, significantly reduce the participation of live middle user.
Content of the invention
A kind of barrage player method and device is embodiments provided, is conducive to avoiding barrage information overlap from showing, Be conducive to lifting user's viewing effect.
In a first aspect, the embodiment of the present invention provides a kind of barrage player method, including:
Obtain the corresponding primary importance of the first display box that the first barrage information that plays is located, and the second bullet that plays The second position of the second display box that curtain information is located, wherein, the first barrage information is position with the second barrage information In the same barrage information for playing the adjacent reproduction time on rail, the reproduction time of the first barrage information is early than second bullet The reproduction time of curtain information, the primary importance and the second position are in the first abscissa set and the second abscissa set Two most short abscissas of distance, and the abscissa set difference belonging to described two abscissas, first display box is corresponded to First abscissa set of the current coordinate system, second display box corresponds to the second abscissa collection of the current coordinate system Close, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, and the original position of the bullet rail is worked as described The initial point of front coordinate system;
When detecting the distance between the primary importance and the second position and being zero, the first barrage letter is obtained Second translational speed of first translational speed and the second barrage information of breath;
Update first translational speed and/or second translational speed is updated, wherein, the first movement after renewal is fast Degree is less than the first more front translational speed more than the second translational speed after the first more front translational speed and/or renewal;
According to the first translational speed after described renewal and/or the second translational speed after the renewal, described the is played One barrage information and the second barrage information.
Optionally, the corresponding primary importance of first display box for obtaining the first barrage information place that plays, and Before the second position of the second display box that the second barrage information that plays is located, methods described also includes:
The barrage information of to be played at least one is received, wherein, at least one barrage information includes described first Barrage information and the second barrage information;
Determine the barrage attribute of each barrage information, wherein, the barrage attribute include barrage information movement bullet rail with And the translational speed of barrage information;
Based on the barrage attribute of each barrage information, each barrage information described is played.
Optionally, the barrage attribute for determining each barrage information, including:
Extract the corresponding at least one barrage content of at least one barrage information;
Determine the corresponding barrage number of words of at least one barrage content;
Determine the bullet rail of barrage information movement, and according to the barrage number of words for determining and the barrage number of words for prestoring and barrage Mapping relations between translational speed, determine the translational speed of each barrage information.
Optionally, the source client of at least one barrage information includes:Local terminal and/or other visitors in addition to local terminal Family end;The barrage information for receiving to be played at least one, including:
When the source client of barrage information is local terminal, the barrage information of local terminal transmission is received;When the barrage information Source client when being other clients in addition to local terminal, receive the barrage that the server for setting up communication connection with local terminal sends Information.
Optionally, the barrage attribute also includes barrage presentation of information color and barrage presentation of information texture;
Each barrage information described in the broadcasting, including:
Barrage presentation of information color and barrage presentation of information texture according to the determination plays each barrage letter described Breath.
Optionally, the barrage attribute also includes barrage priority;
Before the barrage information for receiving to be played at least one, methods described also includes:
Factor being determined according to barrage information priorities, determining the priority of barrage information, wherein, the barrage information is preferential Level determination factor includes:Barrage content and/or barrage source;
Each barrage information described in the broadcasting, including:
The barrage content of each barrage information is obtained, and recognizes the source client of each barrage information;
Source client based on each barrage information and barrage content, and the barrage information priorities for prestoring determine because Mapping relations between element and the broadcasting priority of barrage information, determine the broadcasting priority of each barrage information;
When detecting the presence of the corresponding reproduction time of at least two barrage information to be played and being identical, according to the determination The broadcasting priority of barrage information play at least two barrage information to be played.
Optionally, before the barrage information for receiving to be played at least one, methods described also includes:
The drafting speed of barrage is set, is played rail quantity n, the height h of the display box that barrage information is located and play rail and bullet Spacing distance l before rail, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
Optionally, before the barrage information for receiving to be played at least one, methods described also includes:
Determine the spatial cache of the barrage message buffer of the client;
The barrage information for receiving to be played at least one, including:
Spatial cache according to the barrage relief area receives the barrage information of to be played at least one.
Second aspect, the embodiment of the present invention provides a kind of barrage playing device, and described device includes:
Acquiring unit, the corresponding primary importance of the first display box for obtaining the first barrage information that plays place, with And the second position of the second display box that the second barrage information that plays is located, wherein, the first barrage information and described the Two barrage information are the barrage information of the adjacent reproduction time on same bullet rail, the reproduction time of the first barrage information Early than the reproduction time of the second barrage information, the primary importance and the second position are the first abscissa set and Two most short abscissas of distance in two abscissa set, and the abscissa set difference belonging to described two abscissas, described First display box corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to the current coordinate system The second abscissa set, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, the bullet rail rise Beginning position is the initial point of the current coordinate system;
The acquiring unit, it is zero to be additionally operable to the distance between the primary importance and the second position is detected When, obtain the first translational speed of the first barrage information and the second translational speed of the second barrage information;
Updating block, for updating first translational speed and/or updating second translational speed, wherein, updates The first translational speed afterwards is less than more front first more than the second translational speed after the first more front translational speed and/or renewal Translational speed;
Broadcast unit, for according to the second movement speed after the first translational speed after described renewal and/or the renewal Degree, plays the first barrage information and the second barrage information.
Optionally, described device also includes:
Receiving unit, obtains, in the acquiring unit, the first display box corresponding that the first barrage information for playing is located Before one position, and the second position of second display box at the second barrage information place that plays, to be played for receiving At least one barrage information, wherein, at least one barrage information includes the first barrage information and second bullet Curtain information;
Determining unit, for determining the barrage attribute of each barrage information, wherein, the barrage attribute includes barrage information The mobile translational speed for playing rail and barrage information;
The broadcast unit, the barrage attribute being additionally operable to based on each barrage information, play each barrage letter described Breath.
Optionally, the determining unit, in the barrage attribute for being used for determining each barrage information, specifically for extracting institute State the corresponding at least one barrage content of at least one barrage information;Determine the corresponding barrage word of at least one barrage content Number;Determine the bullet rail of barrage information movement, and the movement according to the barrage number of words for determining and the barrage number of words that prestores and barrage Mapping relations between speed, determine the translational speed of each barrage information.
Optionally, the source client of at least one barrage information includes:Local terminal and/or other visitors in addition to local terminal Family end;The receiving unit, specifically for when the source client of barrage information is local terminal, receiving the barrage letter of local terminal transmission Breath;When the source client of the barrage information is other clients in addition to local terminal, receive and communication connection is set up with local terminal Server send barrage information.
Optionally, the barrage attribute also includes barrage presentation of information color and barrage presentation of information texture;
The broadcast unit, when for playing each barrage information described, specifically for the barrage according to the determination Presentation of information color and barrage presentation of information texture play each barrage information described.
Optionally, the barrage attribute also includes barrage priority;
The determining unit, before the receiving unit receives the barrage information of to be played at least one, is additionally operable to Determine factor according to barrage information priorities, determine the priority of barrage information, wherein, the barrage information priorities determine because Element includes:Barrage content and/or barrage source;
The broadcast unit, when for playing each barrage information described, specifically for obtaining each barrage letter described The barrage content of breath, and recognize the source client of each barrage information;Source client based on each barrage information And barrage content, and the barrage information priorities for prestoring determine that mapping between factor and the broadcasting priority of barrage information is closed System, determines the broadcasting priority of each barrage information;Correspond to when at least two barrage information to be played are detected the presence of Reproduction time identical when, play at least two bullet to be played according to the broadcasting priority of the barrage information of the determination Curtain information.
Optionally, described device also includes:
First initialization unit, before the receiving unit receives the barrage information of to be played at least one, is used for Arrange barrage draftings speed, play rail quantity n, barrage information be located display box height h and play rail with bullet rail before Spacing distance l, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
Optionally, described device also includes:
Second initialization unit, before the receiving unit receives the barrage information of to be played at least one, is used for Determine the spatial cache of the barrage message buffer of the client;
The receiving unit, receives to be played at least one specifically for the spatial cache according to the barrage relief area Barrage information.
The third aspect, the embodiment of the present invention provides a kind of barrage playing device, including:
Processor, memorizer, communication interface and communication bus, the processor, the memorizer and the communication interface Connect and complete mutual communication by the communication bus;
The memory storage has executable program code, and the communication interface is used for radio communication;
The processor is used for calling the executable program code in the memorizer, executes the embodiment of the present invention the Part or all of step described in one side either method.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for technology description is had to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of network architecture disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of barrage player method disclosed in the embodiment of the present invention;
Fig. 2-1 is the effect diagram of barrage information broadcast interface;
Fig. 3 is the schematic flow sheet of another kind of barrage player method disclosed in the embodiment of the present invention;
Fig. 4 is a kind of unit composition frame chart of barrage playing device disclosed in the embodiment of the present invention;
Fig. 5 is a kind of unit composition frame chart of barrage playing device disclosed in the embodiment of the present invention;
Fig. 6 is a kind of structural representation of barrage playing device disclosed in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment for being obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. be for distinguishing Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformation, it is intended that It is to cover non-exclusive including.Process, method, system, product or the equipment for for example containing series of steps or unit does not have The step of listing or unit is defined in, but alternatively also includes the step of not listing or unit, or alternatively also wrap Include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
The embodiment of the invention discloses a kind of barrage player method and device, are conducive to avoiding barrage information overlap from showing, Be conducive to lifting user's viewing effect.It is described in detail individually below.
In order to be best understood from a kind of barrage player method, device and mobile terminal disclosed in the embodiment of the present invention, below first The network architecture is suitable for by the embodiment of the present invention is described.It is a kind of net disclosed in the embodiment of the present invention to refer to Fig. 1, Fig. 1 The structural representation of network framework.As shown in figure 1, the network architecture schematic diagram can include service equipment and mobile terminal, wherein, Service equipment can include server, service host, service system and service platform etc., and mobile terminal can include barrage Playing device, the barrage playing device is to include to gather group chat, net cast, channel K song, game on line, online video display etc. The client that function is integrated.In the network architecture shown in Fig. 1, the mobile terminal can include but is not limited to mobile phone, Removable computer, panel computer, personal digital assistant (Personal Digital Assistant, PDA), media player, intelligence Can the user equipment such as TV, intelligent watch, intelligent glasses, Intelligent bracelet.Wherein, service equipment can pass through the Internet and movement Terminal is communicatively coupled.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses a kind of barrage player method.Refer to Fig. 2, Fig. 2 is a kind of schematic flow sheet of barrage player method disclosed in the embodiment of the present invention.As shown in Fig. 2 the barrage player method May comprise steps of.
S201, the corresponding primary importance of the first display box that the first barrage information that plays is located is obtained, and play The second position of the second display box that the second barrage information is located.
Wherein, as shown in Fig. 2-1, Fig. 2-1 is the effect diagram of barrage information broadcast interface, the first barrage information 1 with the second barrage information 2 be positioned at same play rail on adjacent reproduction time barrage information, the first barrage information Reproduction time early than the second barrage information reproduction time, the primary importance and the second position are the first horizontal seats Two most short abscissas of distance in mark set and the second abscissa set, and the abscissa set belonging to described two abscissas Difference, first display box corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to described Second abscissa set of current coordinate system, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, institute The original position for stating bullet rail is the initial point of the current coordinate system.
Specifically, each the barrage information in the embodiment of the present invention can be abstracted into a component, and the component is lower coupling , i.e., separate between component and component, oneself function can be independently completed.Each component can correspond to coming for barrage information Source mark, barrage content, barrage presentation of information color and barrage presentation of information texture etc..Meanwhile, barrage information assembly can be related to And to two main process, one is the barrage content for obtaining barrage information and process, the i.e. processing data for arranging barrage content Process;One process for being to be plotted to barrage content display screen, that is, process user interface (User Interface, UI) Process, in the code logic that barrage information is set up, the process of processing data is separate two with the process of process UI Process.
Wherein, the corresponding primary importance of first display box for obtaining the first barrage information place that plays, Yi Jibo Before the second position of the second display box that the second barrage information that puts is located, barrage playing device can also carry out following behaviour Make:
The barrage information of to be played at least one is received, wherein, at least one barrage information includes described first Barrage information and the second barrage information;
Determine the barrage attribute of each barrage information, wherein, the barrage attribute include barrage information movement bullet rail with And the translational speed of barrage information;
Based on the barrage attribute of each barrage information, each barrage information described is played.
Optionally, the specific implementation of the barrage attribute for determining each barrage information can be:
Extract the corresponding at least one barrage content of at least one barrage information;
Determine the corresponding barrage number of words of at least one barrage content;
Determine the bullet rail of barrage information movement, and according to the barrage number of words for determining and the barrage number of words for prestoring and barrage Mapping relations between translational speed, determine the translational speed of each barrage information.
S202, when detecting the distance between the primary importance and the second position and being zero, obtain described first First translational speed of barrage information and the second translational speed of the second barrage information.
S203, update first translational speed and/or update second translational speed, wherein, after renewal first Translational speed is more than the second translational speed after the first more front translational speed and/or renewal less than the first more front movement speed Degree.
S204, the second translational speed according to the first translational speed after described renewal and/or after the renewal, play institute State the first barrage information and the second barrage information.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
Optionally, the source client of at least one barrage information includes:Local terminal and/or other visitors in addition to local terminal Family end;The specific implementation of the barrage information for receiving to be played at least one can be:
When the source client of barrage information is local terminal, the barrage information of local terminal transmission is received;When the barrage information Source client when being other clients in addition to local terminal, receive the barrage that the server for setting up communication connection with local terminal sends Information.
Optionally, the barrage attribute also includes barrage presentation of information color and barrage presentation of information texture;
Described in the broadcasting, the specific implementation of each barrage information can be:
Barrage presentation of information color and barrage presentation of information texture according to the determination plays each barrage letter described Breath.
Optionally, the barrage attribute also includes barrage priority;
Before the barrage information for receiving to be played at least one, the barrage playing device can also carry out following Operation:
Factor being determined according to barrage information priorities, determining the priority of barrage information, wherein, the barrage information is preferential Level determination factor includes:Barrage content and/or barrage source;
Each barrage information described in the broadcasting, including:
The barrage content of each barrage information is obtained, and recognizes the source client of each barrage information;
Source client based on each barrage information and barrage content, and the barrage information priorities for prestoring determine because Mapping relations between element and the broadcasting priority of barrage information, determine the broadcasting priority of each barrage information;
When detecting the presence of the corresponding reproduction time of at least two barrage information to be played and being identical, according to the determination The broadcasting priority of barrage information play at least two barrage information to be played.
Optionally, before the barrage information for receiving to be played at least one, the barrage playing device is acceptable Execute following operation:
The drafting speed of barrage is set, is played rail quantity n, the height h of the display box that barrage information is located and play rail and bullet Spacing distance l before rail, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
Optionally, before the barrage information for receiving to be played at least one, the barrage playing device is acceptable Execute following operation:
Determine the spatial cache of the barrage message buffer of the client;
The barrage information for receiving to be played at least one, including:
Spatial cache according to the barrage relief area receives the barrage information of to be played at least one.
Consistent with the embodiment shown in above-mentioned Fig. 2, it is another kind bullet provided in an embodiment of the present invention to refer to Fig. 3, Fig. 3 The schematic flow sheet of curtain player method.As shown in figure 3, this barrage player method is comprised the following steps:
S301, factor being determined according to barrage information priorities, determines the priority of barrage information, wherein, the barrage letter Breath priority determines that factor includes:Barrage content and/or barrage source.
The height h of the display box that S302, the drafting speed for arranging barrage, bullet rail quantity n, barrage information are located and bullet rail With the spacing distance l for playing before rail, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
S303, determine the client barrage message buffer spatial cache.
That is, the process of step S301 to S303, is the initialized process of barrage playing device.According to barrage content and/or Barrage is originated, and determines barrage information priorities.For example, the priority that can arrange the barrage information of local terminal transmission is higher than to remove The priority of the barrage information that local terminal other clients outer send;The corresponding client identification of the source client of barrage information is During member's client identification, corresponding priority is higher;When the corresponding barrage content of barrage information is to give a present thing, corresponding bullet The priority of curtain information is higher.The higher barrage information of priority can preferentially be put into queue and realize preferential broadcasting.
Wherein, the drafting speed of barrage is the frame number that draws in the unit time.In prior art, the drafting speed of barrage is 34 milliseconds of one frames of drafting, the drafting of barrage information is processed by drawing thread.
In theory, play rail more, same amount of barrage more uniformly can divide less than each bullet rail on, so, In same time, the probability of barrage collision is less.But, the size of the live display page of client is limited, if playing rail Quantity excessive, the live display for showing other contents in the page, by taking mobile phone YY client as an example, mobile phone YY client can be affected 3 bullet rails are set.
Client can also arrange the spatial cache of barrage message buffer, by taking mobile phone YY client as an example, when drafting bullet When the amount of curtain is excessive, direct broadcasting room interim card can be caused, the performance consumption problem such as power consumption, need this when to barrage information Buffering quantity is controlled, and when the quantity of the barrage information for receiving exceedes the spatial cache of barrage message buffer, directly enters Row is given up.Or given up according to the priority of barrage information.
S304, receive according to the spatial cache of the barrage relief area to be played at least one barrage information, wherein, At least one barrage information includes the first barrage information and the second barrage information.
Wherein, the source client of at least one barrage information includes:Local terminal and/or other clients in addition to local terminal End;The barrage information for receiving to be played at least one, including:
When the source client of barrage information is local terminal, the barrage information of local terminal transmission is received;When the barrage information Source client when being other clients in addition to local terminal, receive the barrage that the server for setting up communication connection with local terminal sends Information.
Specifically, client can receive the barrage information that sends from different paths, send out including user oneself client Send, and the barrage information that the extraneous client in addition to the client of user oneself is sent.
S305, the corresponding at least one barrage content of the extraction at least one barrage information, determine described at least one The corresponding barrage number of words of barrage content.
S306, determine the bullet rail of barrage information movement, and according to the barrage number of words for determining and the barrage number of words that prestores with Mapping relations between the translational speed of barrage, determine the translational speed of each barrage information.
Wherein it is determined that the specific implementation of the bullet rail of barrage information movement can be:Can be corresponded to according to barrage information Barrage content or source client determine the mobile bullet rail of barrage letter, for example, if in the corresponding barrage of barrage information Appearance is with regard to giving a present thing to live personnel, it is possible to specify the barrage information is displaced into the first bullet rail;If barrage information is corresponding Barrage content viewing user is commented on regard to live or video content, it is possible to specify the barrage information is displaced into second Play rail;If the source client of barrage information is the corresponding client of at least one user of this end subscriber concern, can refer to The fixed barrage information is displaced into the 3rd bullet rail etc., and the embodiment of the present invention is for the concrete reality of the bullet rail for determining the movement of barrage information The mode of applying is not intended to be limited in any.
Determine the movement of barrage information plays rail to determine the Y-axis coordinate of barrage information, so the different barrage letters for playing on rail Breath would not produce the drafting of Y-axis and overlap.
S307, determine that barrage presentation of information color and barrage presentation of information texture play each barrage information described.
S308, the bullet rail based on each barrage information movement and translational speed, believe according to the barrage of the determination Breath Show Color and barrage presentation of information texture play each barrage information described.
Wherein, after the first translational speed and/or the renewal of the barrage playing device after according to described renewal Second translational speed, before playing the first barrage information and the second barrage information, can also obtain each bullet described The barrage content of curtain information, and recognize the source client of each barrage information;Source visitor based on each barrage information Family end and barrage content, and the barrage information priorities for prestoring determine reflecting between factor and the broadcasting priority of barrage information Relation is penetrated, determines the broadcasting priority of each barrage information;When detecting the presence of at least two barrage information to be played When corresponding reproduction time is identical, described at least two are played according to the broadcasting priority of the barrage information of the determination to be played Barrage information.
S309, the corresponding primary importance of the first display box that the first barrage information that plays is located is obtained, and play The second position of the second display box that the second barrage information is located, wherein, the first barrage information is believed with second barrage Breath is that the reproduction time of the first barrage information is early than described positioned at the same barrage information for playing the adjacent reproduction time on rail The reproduction time of the second barrage information, the primary importance and the second position are the first abscissa set and the second abscissa Two most short abscissas of distance in set, and the abscissa set difference belonging to described two abscissas, described first shows Frame corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to the second horizontal stroke of the current coordinate system Coordinate set, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, and the original position of the bullet rail is The initial point of the current coordinate system.
S310, when detecting the distance between the primary importance and the second position and being zero, obtain described first First translational speed of barrage information and the second translational speed of the second barrage information.
S311, update first translational speed and/or update second translational speed, wherein, after renewal first Translational speed is more than the second translational speed after the first more front translational speed and/or renewal less than the first more front movement speed Degree.
Specifically, first translational speed can be updated, and the first translational speed after renewal is more than the first more front shifting Dynamic speed;Or, second translational speed is updated, the second translational speed after renewal is less than the first more front translational speed; Or, update first translational speed and second translational speed is updated, wherein, the first translational speed after renewal is more than The first more front translational speed, the second translational speed after renewal is less than the first more front translational speed.
S312, the second translational speed according to the first translational speed after described renewal and/or after the renewal, play institute State the first barrage information and the second barrage information.
Wherein, when the primary importance of the first barrage information that detects exceeds the live display page of client, it will The drafting queue of first barrage information removing, and the content-data of this barrage information is removed, remove its internal memory in systems and account for With the barrage information played by the internal memory in anti-locking system is taken always.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is realized for executing the inventive method embodiment Method.As shown in figure 4, barrage playing device can include acquiring unit 401, updating block 402 and broadcast unit 403, its In:
The acquiring unit 401, for obtaining the first display box corresponding first that the first barrage information that plays is located Position, and play the second barrage information be located the second display box the second position, wherein, the first barrage information with The second barrage information be positioned at the same barrage information for playing the adjacent reproduction time on rail, the broadcasting of the first barrage information Reproduction time of the time early than the second barrage information is put, the primary importance and the second position are the first abscissa collection Close and two most short abscissas of distance in the second abscissa set, and the abscissa set belonging to described two abscissas is not With first display box corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to described working as Second abscissa set of front coordinate system, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, described The original position for playing rail is the initial point of the current coordinate system;
The acquiring unit 401, be additionally operable to detecting the distance between the primary importance and the second position be When zero, the first translational speed of the first barrage information and the second translational speed of the second barrage information is obtained;
The updating block 402, for updating first translational speed and/or updating second translational speed, its In, the first translational speed after renewal is more than the second translational speed after the first more front translational speed and/or renewal less than more The first front translational speed;
The broadcast unit 403, for according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
The unit composition frame chart that Fig. 5, Fig. 5 are another kind barrage playing devices provided in an embodiment of the present invention is referred to, such as Shown in Fig. 5, barrage playing device can include Fig. 4 corresponding to embodiment in acquiring unit 401, updating block 402 and Broadcast unit 403.
Optionally, described device also includes:
Receiving unit 404, obtains first display box pair at the first barrage information place that plays in the acquiring unit 401 Before the primary importance that answers, and the second position of second display box at the second barrage information place that plays, treat for receiving The barrage information of at least one for playing, wherein, at least one barrage information includes the first barrage information and described Second barrage information;
Determining unit 405, for determining the barrage attribute of each barrage information, wherein, the barrage attribute includes barrage The translational speed for playing rail and barrage information of information movement;
The broadcast unit 403, the barrage attribute being additionally operable to based on each barrage information, play each barrage described Information.
Optionally, the determining unit 405, in the barrage attribute for being used for determining each barrage information, specifically for carrying Take the corresponding at least one barrage content of at least one barrage information;Determine the corresponding bullet of at least one barrage content Curtain number of words;Determine the bullet rail of barrage information movement, and according to the barrage number of words for determining and the barrage number of words for prestoring and barrage Mapping relations between translational speed, determine the translational speed of each barrage information.
Optionally, the source client of at least one barrage information includes:Local terminal and/or other visitors in addition to local terminal Family end;The receiving unit 404, specifically for when the source client of barrage information is local terminal, receiving the bullet of local terminal transmission Curtain information;When the source client of the barrage information is other clients in addition to local terminal, receives and communicate with local terminal foundation The barrage information that the server of connection sends.
Optionally, the barrage attribute also includes barrage presentation of information color and barrage presentation of information texture;
The broadcast unit 403, when for playing each barrage information described, specifically for the bullet according to the determination Curtain presentation of information color and barrage presentation of information texture play each barrage information described.
Optionally, the barrage attribute also includes barrage priority;
The determining unit 405, before the receiving unit 404 receives the barrage information of to be played at least one, Being additionally operable to factor be determined according to barrage information priorities, determines the priority of barrage information, wherein, the barrage information priorities Determine that factor includes:Barrage content and/or barrage source;
The broadcast unit 403, when for playing each barrage information described, specifically for obtaining each barrage described The barrage content of information, and recognize the source client of each barrage information;Source client based on each barrage information Hold and barrage content, and the barrage information priorities for prestoring determine the mapping between factor and the broadcasting priority of barrage information Relation, determines the broadcasting priority of each barrage information;When detecting the presence of at least two barrage information pair to be played When the reproduction time answered is identical, described at least two are played according to the broadcasting priority of the barrage information of the determination to be played Barrage information.
Optionally, described device also includes:
First initialization unit 406, the receiving unit 404 receive to be played at least one barrage information it Before, for arranging the drafting speed of barrage, playing rail quantity n, the height h of the display box that barrage information is located and playing rail and play rail Spacing distance l before, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
Optionally, described device also includes:
Second initialization unit 407, the receiving unit 404 receive to be played at least one barrage information it Before, for determining the spatial cache of the barrage message buffer of the client;
The receiving unit 404, specifically for according to the barrage relief area spatial cache receive to be played at least The barrage information of one.
It should be noted that the mobile terminal described by apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood to implication as most wide as possible, for realizing each function described by " unit " Object can be for example integrated circuit ASIC, single circuit, for executing the process of one or more softwares or firmware program Device (shared, special or chipset) and memorizer, combinational logic circuit, and/or other conjunctions for realizing above-mentioned functions are provided Suitable component.
For example, above-mentioned instruction acquiring unit 401 obtains the first display box pair that the first barrage information that plays is located The primary importance that answers, and the function of the second position of second display box at the second barrage information place that plays can be by Fig. 6 Shown barrage playing device can pass through processor 101 by calling the executable program in memorizer 102 realizing, specifically Code, the corresponding primary importance of the first display box that the first barrage information that acquisition is played is located, and the second barrage that plays The second position of the second display box that information is located.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
The embodiment of the present invention additionally provides another kind of barrage playing device, as shown in fig. 6, including:Processor 101, storage Device 102, communication interface 103 and communication bus 104;Wherein, processor 101, memorizer 102 and communication interface 103 are by communication Bus 104 connects and completes mutual communication;Processor 101 is controlled wireless with External cell net by communication interface 103 Communication;Communication interface 103 includes but is not limited to antenna, amplifier, transceiver, bonder, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Memorizer 102 includes following at least one:Random access memory (RAM), non- Volatile memory and external memory storage, be stored with memorizer 102 executable program code, the executable program code energy Enough bootstrap processor 101 execute the concrete barrage player method for disclosing in the inventive method embodiment, comprise the following steps:
The processor 101 obtains the corresponding primary importance of the first display box that the first barrage information that plays is located, with And the second position of the second display box that the second barrage information that plays is located, wherein, the first barrage information and described the Two barrage information are the barrage information of the adjacent reproduction time on same bullet rail, the reproduction time of the first barrage information Early than the reproduction time of the second barrage information, the primary importance and the second position are the first abscissa set and Two most short abscissas of distance in two abscissa set, and the abscissa set difference belonging to described two abscissas, described First display box corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to the current coordinate system The second abscissa set, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, the bullet rail rise Beginning position is the initial point of the current coordinate system;
The processor 101 is obtained when detecting the distance between the primary importance and the second position and being zero First translational speed of the first barrage information and the second translational speed of the second barrage information;
The processor 101 updates first translational speed and/or updates second translational speed, wherein, updates The first translational speed afterwards is less than more front first more than the second translational speed after the first more front translational speed and/or renewal Translational speed;
The processor 101 is according to the second movement speed after the first translational speed after described renewal and/or the renewal Degree, plays the first barrage information and the second barrage information.
Optionally, the processor 101 is being corresponded to for obtaining the first display box that the first barrage information that plays is located Primary importance, and play the second barrage information be located the second display box the second position before, can be also used for connecing Receive to be played at least one barrage information, wherein, at least one barrage information include the first barrage information and The second barrage information;Determine the barrage attribute of each barrage information, wherein, the barrage attribute includes that barrage information is moved The translational speed for playing rail and barrage information;Based on the barrage attribute of each barrage information, each barrage described is played Information.
Optionally, the processor 101 for determine each barrage information barrage attribute when, specifically for extract institute State the corresponding at least one barrage content of at least one barrage information;Determine the corresponding barrage word of at least one barrage content Number;Determine the bullet rail of barrage information movement, and the movement according to the barrage number of words for determining and the barrage number of words that prestores and barrage Mapping relations between speed, determine the translational speed of each barrage information.
Optionally, the source client of at least one barrage information includes:Local terminal and/or other visitors in addition to local terminal Family end;The processor 101 for receive to be played at least one barrage information when, specifically for when barrage information When source client is local terminal, the barrage information of local terminal transmission is received;When the source client of the barrage information be except local terminal During other outer client, receive the barrage information that the server for communication connection being set up with local terminal sends.
Optionally, the barrage attribute also includes barrage presentation of information color and barrage presentation of information texture;
The processor 101 when for playing each barrage information described, specifically for:
Barrage presentation of information color and barrage presentation of information texture according to the determination plays each barrage letter described Breath.
Optionally, the barrage attribute also includes barrage priority;
The processor 101 can be also used for executing before the barrage information for receiving to be played at least one Hereinafter operate:
Factor being determined according to barrage information priorities, determining the priority of barrage information, wherein, the barrage information is preferential Level determination factor includes:Barrage content and/or barrage source;
Each barrage information described in the broadcasting, including:
The barrage content of each barrage information is obtained, and recognizes the source client of each barrage information;
Source client based on each barrage information and barrage content, and the barrage information priorities for prestoring determine because Mapping relations between element and the broadcasting priority of barrage information, determine the broadcasting priority of each barrage information;
When detecting the presence of the corresponding reproduction time of at least two barrage information to be played and being identical, according to the determination The broadcasting priority of barrage information play at least two barrage information to be played.
Optionally, the processor 101 can also be used before the barrage information for receiving to be played at least one Operate below executing:
The drafting speed of barrage is set, is played rail quantity n, the height h of the display box that barrage information is located and play rail and bullet Spacing distance l before rail, wherein, the height of the live display page of n*h+ (n-1) * l≤client.
Optionally, before the processor 101 receives the barrage information of to be played at least one, can be also used for executing Hereinafter operate:
Determine the spatial cache of the barrage message buffer of the client;
The barrage information for receiving to be played at least one, including:
Spatial cache according to the barrage relief area receives the barrage information of to be played at least one.
As can be seen that barrage player method provided in an embodiment of the present invention, obtains what the first barrage information that plays was located The corresponding primary importance of first display box, and the second position of second display box at the second barrage information place that plays, When to detect the distance between the primary importance and described second position be zero, the first shifting of the first barrage information is obtained Dynamic speed and the second translational speed of the second barrage information, update first translational speed and/or update described second Translational speed, wherein, the first translational speed after renewal is more than the second movement after the first more front translational speed and/or renewal Speed is less than the first more front translational speed, according to the first translational speed after described renewal and/or second after the renewal Translational speed, plays the first barrage information and the second barrage information.It can be seen that, mobile terminal being capable of real-time update barrage The translational speed of information so as to avoid barrage information from colliding, so as to the user for avoiding barrage information from causing because blocking mutually Viewing effect decline the occurrence of.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, the computer-readable storage medium can be stored with journey Sequence, includes the part or all of step of any barrage player method described in said method embodiment during the program performing Suddenly.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion that describes in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only the schematically such as division of the unit, is only one kind Division of logic function, can have other dividing mode when actually realizing, such as multiple units or component can in conjunction with or can To be integrated into another system, or some features can be ignored, or not execute.Another, shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, Can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person says that all or part of the part or technical scheme contributed by prior art can be with body in the form of software product Reveal and, the computer software product is stored in a memorizer, use so that a computer equipment including some instructions (can be personal computer, server or the network equipment etc.) executes all or part of each embodiment methods described of the present invention Step.And aforesaid memorizer includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable memory, memorizer Can include:Flash disk, read only memory (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all can in specific embodiments and applications There is change part, in sum, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of barrage player method, it is characterised in that methods described includes:
Obtain the corresponding primary importance of the first display box that the first barrage information that plays is located, and the second barrage letter that plays The second position of the second display box that breath is located, wherein, the first barrage information and the second barrage information be positioned at The one barrage information for playing the adjacent reproduction time on rail, the reproduction time of the first barrage information is believed early than second barrage The reproduction time of breath, the primary importance and the second position are distances in the first abscissa set and the second abscissa set Two most short abscissas, and the abscissa set difference belonging to described two abscissas, first display box corresponds to described First abscissa set of current coordinate system, second display box corresponds to the second abscissa set of the current coordinate system, The orbital direction of the bullet rail is the abscissa direction of the current coordinate system, and the original position of the bullet rail is the current seat The initial point of mark system;
When detecting the distance between the primary importance and the second position and being zero, the first barrage information is obtained First translational speed and the second translational speed of the second barrage information;
Update first translational speed and/or second translational speed is updated, wherein, the first translational speed after renewal is big The second translational speed after first translational speed of Yu Gengqian and/or renewal is less than the first more front translational speed;
The second translational speed according to the first translational speed after described renewal and/or after the renewal, plays first bullet Curtain information and the second barrage information.
2. the method for claim 1, it is characterised in that what the first barrage information that the acquisition is played was located first shows Before showing the corresponding primary importance of frame, and the second position of second display box at the second barrage information place that plays, described Method also includes:
The barrage information of to be played at least one is received, wherein, at least one barrage information includes first barrage Information and the second barrage information;
Determine the barrage attribute of each barrage information, wherein, the barrage attribute includes the bullet rail of barrage information movement and bullet The translational speed of curtain information;
Based on the barrage attribute of each barrage information, each barrage information described is played.
3. method as claimed in claim 2, it is characterised in that the barrage attribute of each barrage information of the determination, including:
Extract the corresponding at least one barrage content of at least one barrage information;
Determine the corresponding barrage number of words of at least one barrage content;
Determine the bullet rail of barrage information movement, and the movement according to the barrage number of words for determining and the barrage number of words that prestores and barrage Mapping relations between speed, determine the translational speed of each barrage information.
4. method as claimed in claim 2, it is characterised in that
The source client of at least one barrage information includes:Local terminal and/or other clients in addition to local terminal;Described connect The barrage information of to be played at least one is received, including:
When the source client of barrage information is local terminal, the barrage information of local terminal transmission is received;When coming for the barrage information When source client is other clients in addition to local terminal, receive the barrage letter that the server for communication connection being set up with local terminal sends Breath.
5. method as claimed in claim 2, it is characterised in that the barrage attribute also includes barrage priority;
Before the barrage information for receiving to be played at least one, methods described also includes:
Factor being determined according to barrage information priorities, determining the priority of barrage information, wherein, the barrage information priorities are true Determining factor includes:Barrage content and/or barrage source;
Each barrage information described in the broadcasting, including:
The barrage content of each barrage information is obtained, and recognizes the source client of each barrage information;
Source client based on each barrage information and barrage content, and the barrage information priorities for prestoring determine factor with Mapping relations between the broadcasting priority of barrage information, determine the broadcasting priority of each barrage information;
When detecting the presence of the corresponding reproduction time of at least two barrage information to be played and being identical, according to the bullet of the determination The broadcasting priority of curtain information plays at least two barrage information to be played.
6. a kind of barrage playing device, it is characterised in that described device includes:
Acquiring unit, the corresponding primary importance of the first display box for obtaining the first barrage information that plays place, Yi Jibo The second position of the second display box that the second barrage information for putting is located, wherein, the first barrage information and second bullet Curtain information be positioned at the same barrage information for playing the adjacent reproduction time on rail, the reproduction time of the first barrage information early than The reproduction time of the second barrage information, the primary importance and the second position are that the first abscissa set and second are horizontal Two most short abscissas of distance in coordinate set, and the abscissa set difference belonging to described two abscissas, described first Display box corresponds to the first abscissa set of the current coordinate system, and second display box corresponds to the of the current coordinate system Two abscissa set, the orbital direction of the bullet rail is the abscissa direction of the current coordinate system, the start bit of the bullet rail It is set to the initial point of the current coordinate system;
The acquiring unit, is additionally operable to, when detecting the distance between the primary importance and the second position and being zero, obtain Take the first translational speed of the first barrage information and the second translational speed of the second barrage information;
Updating block, for updating first translational speed and/or updating second translational speed, wherein, after renewal First translational speed is more than the second translational speed after the first more front translational speed and/or renewal less than the first more front movement Speed;
Broadcast unit, for the second translational speed according to the first translational speed after described renewal and/or after the renewal, broadcasts Put the first barrage information and the second barrage information.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Receiving unit, the first display box for obtaining the first barrage information place that plays in the acquiring unit is corresponding first Put, and play the second barrage information be located the second display box the second position before, for receive to be played at least The barrage information of one, wherein, at least one barrage information includes the first barrage information and second barrage letter Breath;
Determining unit, for determining the barrage attribute of each barrage information, wherein, the barrage attribute includes that barrage information is moved The translational speed for playing rail and barrage information;
The broadcast unit, the barrage attribute being additionally operable to based on each barrage information, play each barrage information described.
8. device as claimed in claim 7, it is characterised in that
The determining unit, in the barrage attribute for being used for determining each barrage information, specifically for extracting described at least one The corresponding at least one barrage content of barrage information;Determine the corresponding barrage number of words of at least one barrage content;Determine bullet The bullet rail of curtain information movement, and according between the translational speed of the barrage number of words for determining and the barrage number of words for prestoring with barrage Mapping relations, determine the translational speed of each barrage information.
9. device as claimed in claim 7, it is characterised in that
The source client of at least one barrage information includes:Local terminal and/or other clients in addition to local terminal;Described connect Unit is received, specifically for when the source client of barrage information is local terminal, receiving the barrage information of local terminal transmission;When the bullet When the source client of curtain information is other clients in addition to local terminal, receive the server for communication connection being set up with local terminal and send Barrage information.
10. device as claimed in claim 7, it is characterised in that
The barrage attribute also includes barrage priority;
The determining unit, before the receiving unit receives the barrage information of to be played at least one, is additionally operable to basis Barrage information priorities determine factor, determine the priority of barrage information, and wherein, the barrage information priorities determine factor bag Include:Barrage content and/or barrage source;
The broadcast unit, when for playing each barrage information described, specifically for obtaining each barrage information Barrage content, and recognize the source client of each barrage information;Source client and bullet based on each barrage information Curtain content, and the barrage information priorities for prestoring determine the mapping relations between factor and the broadcasting priority of barrage information, Determine the broadcasting priority of each barrage information;When detecting the presence of, at least two barrage information to be played are corresponding to be broadcast Put the time identical when, play described at least two barrages letters to be played according to the broadcasting priority of the barrage information of the determination Breath.
CN201611035692.9A 2016-11-15 2016-11-15 Bullet screen playing method and device Active CN106454434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611035692.9A CN106454434B (en) 2016-11-15 2016-11-15 Bullet screen playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611035692.9A CN106454434B (en) 2016-11-15 2016-11-15 Bullet screen playing method and device

Publications (2)

Publication Number Publication Date
CN106454434A true CN106454434A (en) 2017-02-22
CN106454434B CN106454434B (en) 2020-04-03

Family

ID=58221140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611035692.9A Active CN106454434B (en) 2016-11-15 2016-11-15 Bullet screen playing method and device

Country Status (1)

Country Link
CN (1) CN106454434B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990891A (en) * 2017-03-02 2017-07-28 合网络技术(北京)有限公司 The display control method and device of barrage
CN106998492A (en) * 2017-03-02 2017-08-01 合网络技术(北京)有限公司 The display control method and device of barrage
CN107197355A (en) * 2017-06-02 2017-09-22 北京潘达互娱科技有限公司 Barrage display methods and device
CN107371056A (en) * 2017-07-18 2017-11-21 北京蜜莱坞网络科技有限公司 A kind of method and apparatus for loading barrage
CN107750007A (en) * 2017-12-06 2018-03-02 北京搜狐新动力信息技术有限公司 A kind of processing method and processing device of video barrage
CN108540850A (en) * 2018-03-27 2018-09-14 优酷网络技术(北京)有限公司 Barrage display methods and device
CN108810598A (en) * 2017-04-26 2018-11-13 武汉斗鱼网络科技有限公司 The drift of the barrage of live streaming or video playing renders the method and system of display
WO2019000788A1 (en) * 2017-06-30 2019-01-03 武汉斗鱼网络科技有限公司 Method, device, terminal, and storage medium for playing bullet subtitle information
CN109982127A (en) * 2017-12-28 2019-07-05 优酷网络技术(北京)有限公司 The control method and device of barrage speed
CN110781343A (en) * 2019-10-25 2020-02-11 广州酷狗计算机科技有限公司 Method, device and equipment for displaying comment information of music and storage medium
CN110891194A (en) * 2019-12-06 2020-03-17 北京小米移动软件有限公司 Comment information display method and device, terminal and storage medium
CN107241635B (en) * 2017-04-21 2020-09-08 武汉斗鱼网络科技有限公司 Bullet screen position switching method and device
CN112291580A (en) * 2020-10-27 2021-01-29 珠海格力电器股份有限公司 Bullet screen information control method and device
CN112689190A (en) * 2021-03-22 2021-04-20 游艺星际(北京)科技有限公司 Barrage display method and device, terminal and storage medium
CN113573134A (en) * 2021-07-07 2021-10-29 网易(杭州)网络有限公司 Bullet screen data processing method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244103A (en) * 2014-08-22 2014-12-24 苏州乐聚一堂电子科技有限公司 Mobile phone screen playing system for virtual concert
CN104935997A (en) * 2015-06-01 2015-09-23 上海幻电信息科技有限公司 Method and device for customizing high-level barrage for a viewer
CN105245960A (en) * 2014-07-07 2016-01-13 乐视网信息技术(北京)股份有限公司 Live comment display method and device for videos
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105847718A (en) * 2016-06-01 2016-08-10 上海幻电信息科技有限公司 Scene recognition-based live video bullet screen display method and display device thereof
CN105848006A (en) * 2016-03-30 2016-08-10 苏州合欣美电子科技有限公司 Adaptive subtitle adjustment method for video player
CN105939493A (en) * 2016-03-30 2016-09-14 广州华多网络科技有限公司 Video barrage display method and video barrage display device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245960A (en) * 2014-07-07 2016-01-13 乐视网信息技术(北京)股份有限公司 Live comment display method and device for videos
CN104244103A (en) * 2014-08-22 2014-12-24 苏州乐聚一堂电子科技有限公司 Mobile phone screen playing system for virtual concert
CN104935997A (en) * 2015-06-01 2015-09-23 上海幻电信息科技有限公司 Method and device for customizing high-level barrage for a viewer
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105848006A (en) * 2016-03-30 2016-08-10 苏州合欣美电子科技有限公司 Adaptive subtitle adjustment method for video player
CN105939493A (en) * 2016-03-30 2016-09-14 广州华多网络科技有限公司 Video barrage display method and video barrage display device
CN105847718A (en) * 2016-06-01 2016-08-10 上海幻电信息科技有限公司 Scene recognition-based live video bullet screen display method and display device thereof

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106998492A (en) * 2017-03-02 2017-08-01 合网络技术(北京)有限公司 The display control method and device of barrage
CN106990891A (en) * 2017-03-02 2017-07-28 合网络技术(北京)有限公司 The display control method and device of barrage
CN107241635B (en) * 2017-04-21 2020-09-08 武汉斗鱼网络科技有限公司 Bullet screen position switching method and device
CN108810598A (en) * 2017-04-26 2018-11-13 武汉斗鱼网络科技有限公司 The drift of the barrage of live streaming or video playing renders the method and system of display
CN107197355B (en) * 2017-06-02 2020-02-21 北京潘达互娱科技有限公司 Bullet screen display method and device
CN107197355A (en) * 2017-06-02 2017-09-22 北京潘达互娱科技有限公司 Barrage display methods and device
WO2019000788A1 (en) * 2017-06-30 2019-01-03 武汉斗鱼网络科技有限公司 Method, device, terminal, and storage medium for playing bullet subtitle information
CN107371056A (en) * 2017-07-18 2017-11-21 北京蜜莱坞网络科技有限公司 A kind of method and apparatus for loading barrage
CN107750007A (en) * 2017-12-06 2018-03-02 北京搜狐新动力信息技术有限公司 A kind of processing method and processing device of video barrage
CN109982127A (en) * 2017-12-28 2019-07-05 优酷网络技术(北京)有限公司 The control method and device of barrage speed
CN109982127B (en) * 2017-12-28 2022-01-07 阿里巴巴(中国)有限公司 Bullet screen speed control method and device
CN108540850A (en) * 2018-03-27 2018-09-14 优酷网络技术(北京)有限公司 Barrage display methods and device
CN110781343A (en) * 2019-10-25 2020-02-11 广州酷狗计算机科技有限公司 Method, device and equipment for displaying comment information of music and storage medium
CN110781343B (en) * 2019-10-25 2024-03-08 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for displaying comment information of music
CN110891194A (en) * 2019-12-06 2020-03-17 北京小米移动软件有限公司 Comment information display method and device, terminal and storage medium
CN112291580A (en) * 2020-10-27 2021-01-29 珠海格力电器股份有限公司 Bullet screen information control method and device
CN112689190A (en) * 2021-03-22 2021-04-20 游艺星际(北京)科技有限公司 Barrage display method and device, terminal and storage medium
CN112689190B (en) * 2021-03-22 2022-07-01 游艺星际(北京)科技有限公司 Barrage display method, device, terminal and storage medium
CN113573134A (en) * 2021-07-07 2021-10-29 网易(杭州)网络有限公司 Bullet screen data processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106454434B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN106454434A (en) Barrage playing method and device
CN108322788B (en) Advertisement display method and device in live video
CN107507160B (en) Image fusion method, terminal and computer readable storage medium
CN110189246B (en) Image stylization generation method and device and electronic equipment
CN108989869B (en) Video picture playing method, device, equipment and computer readable storage medium
CN105740029A (en) Content presentation method, user equipment and system
CN105635848A (en) Bullet-screen display method and terminal
EP3902267A1 (en) Media processing method and media server
CN108965977B (en) Method, device, storage medium, terminal and system for displaying live gift
US20230343056A1 (en) Media resource display method and apparatus, device, and storage medium
CN108984590B (en) Page data display method, terminal and computer readable storage medium
CN111491208A (en) Video processing method and device, electronic equipment and computer readable medium
CN105280203B (en) A kind of audio frequency playing method and user equipment
CN116719598A (en) Tree data virtual rolling processing method and device
CN106886549A (en) A kind of loading method of network picture, device and system
CN105678688B (en) Picture processing method and device
CN115690664A (en) Image processing method and device, electronic equipment and storage medium
CN115604500A (en) Method and device for displaying pages in live broadcast room, electronic equipment and storage medium
CN107209916A (en) Caricature data presentation device and method
CN110197459B (en) Image stylization generation method and device and electronic equipment
CN104834728B (en) A kind of method for pushing and device for subscribing to video
CN109803153B (en) Live video whiteboard drawing method and device
CN113852776B (en) Frame inserting method and electronic equipment
CN112418942A (en) Advertisement display method and device and electronic equipment
CN112423062B (en) Video character information display method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210120

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511449 28th floor, block B1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.