CN108900885A - Barrage playback method, device and computer readable storage medium - Google Patents

Barrage playback method, device and computer readable storage medium Download PDF

Info

Publication number
CN108900885A
CN108900885A CN201810708599.2A CN201810708599A CN108900885A CN 108900885 A CN108900885 A CN 108900885A CN 201810708599 A CN201810708599 A CN 201810708599A CN 108900885 A CN108900885 A CN 108900885A
Authority
CN
China
Prior art keywords
barrage
video
speed
played
broadcasting
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.)
Pending
Application number
CN201810708599.2A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Publication of CN108900885A publication Critical patent/CN108900885A/en
Pending legal-status Critical Current

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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of barrage playback method, device and computer readable storage mediums.Wherein, which includes obtaining video;Wherein, video includes the first playing duration and the first broadcasting speed;Obtain barrage to be played;Wherein, barrage to be played includes the second playing duration;Second playing duration is less than or equal to the first playing duration;During the broadcasting of video, in target play moment, the first broadcasting speed of video is obtained, and play out using barrage to be played as current barrage and according to the second broadcasting speed;Wherein, the second broadcasting speed is determined according to the first broadcasting speed.Through the embodiment of the present invention, solve the technical problem for how realizing that barrage is synchronous with video, and further improve the experience effect of user.

Description

Barrage playback method, device and computer readable storage medium
Technical field
The present invention relates to a kind of field of computer technology, more particularly to a kind of barrage playback method, device and computer Readable storage medium storing program for executing.
Background technique
In existing video playing, barrage is a relatively conventional function, it for enhancing spectators between interaction, The liveness of promotion product plays the role of positive.
In existing video display process, in order to participate in interacting, user usually will start barrage, and also can be to being seen The video seen carries out related operation.For example, the user carries out the video watched such as fast after user starts barrage again Into the operation such as, rewind.
However, barrage can not be with video when the user carries out the operation such as F.F., rewind to the video watched Keep synchronously F.F., rewind etc..
Therefore, it keeps barrage and audio video synchronization is the technical issues of need solving.
Summary of the invention
The technical problem to be solved by the present invention is to provide a kind of barrage playback method, device and computer readable storage medium, To realize that barrage is synchronous with video.
To achieve the goals above, according to the first aspect of the invention, following technical scheme is provided:
A kind of barrage playback method, including:
Obtain video;Wherein, the video includes the first playing duration and the first broadcasting speed;
Obtain barrage to be played;Wherein, the barrage to be played includes the second playing duration;Second playing duration is small In equal to first playing duration;
During the broadcasting of the video, in target play moment, the first broadcasting speed of the video is obtained, and will The barrage to be played is played out as current barrage and according to the second broadcasting speed;Wherein, the second broadcasting speed root It is determined according to first broadcasting speed.
Further, the method also includes:
When receiving video pause instruction, stop playing the current barrage;
Alternatively,
When receiving video fast forward instruction, the fast-forward play speed of the video is obtained;
By the ratio between the fast-forward play speed of the video and first broadcasting speed, it is determined as First Speed ratio;
According to the First Speed ratio and second broadcasting speed, the fast-forward play speed of the current barrage is determined;
According to the fast-forward play speed of the current barrage, the current barrage is played;
Alternatively,
When receiving video rewind command, the fast reverse play speed of the video is obtained;
By the ratio between the fast reverse play speed of the video and second broadcasting speed, it is determined as second speed ratio;
According to the second speed ratio and second broadcasting speed, the fast reverse play speed of the current barrage is determined;
According to the fast reverse play speed of the current barrage, the current barrage is played.
Further, the step of acquisition barrage to be played, specifically includes:
Obtain the barrage that user sends;
Obtain the attribute information of active user;Wherein, the active user is the user for watching the video;
According to the attribute information of the active user, determine that the active user sends from the barrage that the user sends Barrage;
The barrage that the active user is sent is as barrage to be played.
Further, described during the broadcasting of the video, in target play moment, obtain the first of the video Broadcasting speed, and using the barrage to be played as current barrage and the step of played out according to the second broadcasting speed, specifically Including:
During the broadcasting of the video, in target play moment, first broadcasting speed of the video is obtained Direction is played with first;
Direction is played according to described first, determines that the second of the barrage to be played plays direction;
Using the barrage to be played as current barrage, and direction is played according to second broadcasting speed and described second It plays out.
To achieve the goals above, according to the second aspect of the invention, following technical scheme is also provided:
A kind of barrage playing device, including:
First obtains module, for obtaining video;Wherein, the video includes that the first playing duration and first play speed Degree;
Second obtains module, for obtaining barrage to be played;Wherein, the barrage to be played includes the second playing duration; Second playing duration is less than or equal to first playing duration;
First playing module, in target play moment, obtaining the video during broadcasting of the video First broadcasting speed, and played out using the barrage to be played as current barrage and according to the second broadcasting speed;Wherein, institute The second broadcasting speed is stated according to first broadcasting speed to determine.
Further, described device further includes:
Stopping modular, for stopping playing the current barrage when receiving video pause instruction;
Alternatively,
Third obtains module, for obtaining the fast-forward play speed of the video when receiving video fast forward instruction;
First determining module, for determining the ratio between the fast-forward play speed of the video and first broadcasting speed For First Speed ratio;
Second determining module, for determining the current bullet according to the First Speed ratio and second broadcasting speed The fast-forward play speed of curtain;
Second playing module plays the current barrage for the fast-forward play speed according to the current barrage;
Alternatively,
4th obtains module, for when receiving video rewind command, obtaining the fast reverse play speed of the video;
Third determining module, for by the ratio between the fast reverse play speed of the video and second broadcasting speed, It is determined as second speed ratio;
4th determining module, for determining the current bullet according to the second speed ratio and second broadcasting speed The fast reverse play speed of curtain;
Third playing module plays the current barrage for the fast reverse play speed according to the current barrage.
Further, the second acquisition module is specifically used for:
Obtain the barrage that user sends;
Obtain the attribute information of active user;Wherein, the active user is the user for watching the video;
According to the attribute information of the active user, determine that the active user sends from the barrage that the user sends Barrage;
The barrage that the active user is sent is as barrage to be played.
Further, first playing module is specifically used for:
During the broadcasting of the video, in target play moment, first broadcasting speed of the video is obtained Direction is played with first;
Direction is played according to described first, determines that the second of the barrage to be played plays direction;
Using the barrage to be played as current barrage, and direction is played according to second broadcasting speed and described second It plays out.
To achieve the goals above, according to the third aspect of the invention we, following technical scheme is also provided:
A kind of barrage broadcasting hardware device, including:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing when the processor executes such as the present invention the Barrage playback method described in one side.
To achieve the goals above, according to the fourth aspect of the invention, following technical scheme is also provided:
A kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory When computer-readable instruction is executed by computer, so that the computer executes barrage as described in the first aspect of the invention and plays Method.
To achieve the goals above, according to the fifth aspect of the invention, following technical scheme is also provided:
A kind of barrage playback terminal, including a kind of barrage playing device described in aforementioned present invention second aspect.
The embodiment of the present invention provides a kind of barrage playback method, device and computer readable storage medium.Wherein, the barrage Playback method includes obtaining video;Wherein, video includes the first playing duration and the first broadcasting speed;Obtain barrage to be played; Wherein, barrage to be played includes the second playing duration;Second playing duration is less than or equal to the first playing duration;In the broadcasting of video During, in target play moment, obtain the first broadcasting speed of video, and using barrage to be played as current barrage and according to Second broadcasting speed plays out;Wherein, the second broadcasting speed is determined according to the first broadcasting speed.
The embodiment of the present invention is by taking above-mentioned technical proposal,, will in target play moment during the broadcasting of video Barrage to be played is played out according to the second broadcasting speed determined by the first broadcasting speed of video, to realize Barrage is synchronous with video, and then further improves the experience effect of user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand technological means of the invention, and It can be implemented in accordance with the contents of the specification, and to allow above and other objects, features and advantages of the invention can be brighter Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
Fig. 1 is the flow diagram according to the barrage playback method of one embodiment of the invention;
Fig. 2 is the flow diagram according to the barrage playback method of another embodiment of the present invention;
Fig. 3 is the flow diagram according to the barrage playback method of another embodiment of the invention;
Fig. 4 is the structural schematic diagram according to the barrage playing device of one embodiment of the invention;
Fig. 5 is the structural schematic diagram that hardware device is played according to the barrage of one embodiment of the invention;
Fig. 6 is the structural schematic diagram according to the computer readable storage medium of one embodiment of the invention;
Fig. 7 is the structural schematic diagram according to the barrage playback terminal of one embodiment of the invention;
Fig. 8 is the structural schematic diagram according to the barrage playback terminal of another embodiment of the present invention.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.Obviously, described embodiment is only the present invention A part of the embodiment, instead of all the embodiments.The present invention can also be subject to reality by way of a different and different embodiment It applies or applies, the various details in this specification can also be based on different viewpoints and application, without departing from spirit of the invention Lower carry out various modifications or alterations.It should be noted that in the absence of conflict, the feature in following embodiment and embodiment can To be combined with each other.Based on the embodiments of the present invention, those of ordinary skill in the art are without creative efforts Every other embodiment obtained, shall fall within the protection scope of the present invention.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein And/or function is only illustrative.Based on the present invention, it will be understood by one of ordinary skill in the art that one described herein Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways. For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or Practice the method.
It should also be noted that, illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in schema with it is of the invention in related component rather than component count, shape and size when according to actual implementation draw System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields The skilled person will understand that the aspect can be practiced without these specific details.
In order to realize that barrage is synchronous with video, the embodiment of the present invention provides a kind of barrage playback method.As shown in Figure 1, This method mainly includes the following steps S100 to step S104.Wherein:
S100:Obtain video;Wherein, video includes the first playing duration.
Wherein, the first playing duration of the video can be set according to the actual situation, for example, 10 minutes, 30 minutes, 2 hours etc..
S102:Obtain barrage to be played;Wherein, barrage to be played includes the second playing duration;Second playing duration is small In equal to first playing duration.
Wherein, which can be from local (for example, local storage) acquisition, be also possible to long-range (example Such as, database) obtain.
In an alternative embodiment, step S102 is specifically included:
S1021:Obtain the barrage that user sends;
S1022:Obtain the attribute information of active user;Wherein, active user is the user for watching video;
S1023:According to the attribute information of active user, the bullet that active user sends is determined from the barrage that user sends Curtain;
S1024:The barrage that active user is sent is as barrage to be played;
In the present embodiment, the attribute information of user can be the information that can identify the user identity.The present embodiment is logical It crosses the attribute information and establishes corresponding relationship between user and its barrage sent.It is excellent when identifying the identity of active user First send the barrage of the user.Certainly, it will be understood by those skilled in the art that barrage priority rule can also be according to the actual situation It is adjusted.These simple modifications should also be included within protection scope of the present invention.
Through this embodiment, it may be implemented preferentially to send the barrage that user oneself sends, to improve user's body It tests.
S104:During the broadcasting of the video, in target play moment, the first broadcasting speed of the video is obtained, and Using the barrage to be played as current barrage, and played out according to the second broadcasting speed;Wherein, the second broadcasting speed is according to One broadcasting speed determines.
In this step, target play moment for example can be user to arbitrarily operating of carrying out of the video watched when It carves, such as:At the time of forwarding operation, fast reverse operation, slow play etc. operate.
First broadcasting speed of the above-mentioned video can according to actual conditions such as statistical informations to user's viewing experience and Setting, the present invention are not especially limited this.
Above-mentioned second broadcasting speed can be equal with the first broadcasting speed, is also possible to the speed of first broadcasting speed, For example, 2 times, fast 3 times slower than the first broadcasting speed of the second broadcasting speed etc., this is not limited by the present invention.
Step S104 can also specifically include the following steps S1041 to step S1043.Wherein:
S1041:During the broadcasting of the video, in target play moment, obtain the first broadcasting speed for changing video and First plays direction.
Wherein, the first broadcasting direction can be set according to the actual situation, for example, the angle of video is watched at station in user Degree, the first broadcasting direction can be from right to left, be also possible to from left to right, can also be with display area diagonal It plays, the present invention is not especially limited this.
S1042:Direction is played according to first, determines that the second of barrage to be played plays direction.
For example, above-mentioned second wave direction can first to play direction in the same direction with this, be also possible to it is reversed, also or with this One plays direction in any angle.The mode of these obvious variants should all be included in the protection scope of the present invention, herein not It repeats again.
S1043:Using barrage to be played as current barrage, and broadcast according to the second broadcasting speed and the second broadcasting direction It puts.
This step plays barrage according to identified second broadcasting speed and the second broadcasting direction, to realize barrage and view The synchronization of frequency.
In an alternative embodiment, which further includes:When receiving video pause instruction, stop Play current barrage.
The present embodiment also synchronously suspends barrage when receiving pausing operation of the user to video.
In an alternative embodiment, as shown in Fig. 2, on the basis of embodiment shown in Fig. 1, the barrage playback method Can also include:
S106:When receiving video fast forward instruction, the fast-forward play speed of video is obtained;
S108:By the ratio between the fast-forward play speed of video and the first broadcasting speed, it is determined as First Speed ratio;
S110:According to First Speed ratio and the second broadcasting speed, the fast-forward play speed of current barrage is determined;
S112:According to the fast-forward play speed of current barrage, current barrage is played.
Wherein, First Speed is than for the ratio between the speed before the speed and F.F. after video fast forward.
The First Speed ratio that the present embodiment passes through acquisition video;Then, second based on the First Speed ratio and barrage Broadcasting speed, to determine the fast-forward play speed of barrage;That is, the forwarding operation makes video playout speed F.F. How many times, then synchronously, but also how many times of the F.F. of barrage broadcasting speed, to realize that video is synchronous with barrage.
In an alternative embodiment, as shown in figure 3, on the basis of embodiment shown in Fig. 2, the barrage playback method Further include:
S114:When receiving video rewind command, the fast reverse play speed of video is obtained;
S116:By the ratio between the fast reverse play speed of video and the second broadcasting speed, it is determined as second speed ratio;
S118:According to second speed ratio and the second broadcasting speed, the fast reverse play speed of current barrage is determined;
S120:According to the fast reverse play speed of current barrage, current barrage is played.
In the present embodiment, second speed is than for the speed ratio before and after video rewind.
The second speed ratio that the present embodiment passes through acquisition video;Then, second based on the second speed ratio and barrage Broadcasting speed, to determine the fast reverse play speed of barrage;That is, the fast reverse operation makes video playout speed rewind How many times, then synchronously, but also how many times of the rewind of barrage broadcasting speed, to realize that video is synchronous with barrage.
In conclusion the embodiment of the present invention by taking above-mentioned technical proposal, during the broadcasting of video, is broadcast in target The moment is put, barrage to be played is played out according to the second broadcasting speed determined by the first broadcasting speed of video, To realize, barrage is synchronous with video, and then further improves the experience effect of user.
Hereinbefore, although describing each step in barrage playback method embodiment, ability according to above-mentioned sequence Field technique personnel it should be clear that the step in the embodiment of the present invention not necessarily executes in the order described above, can also with inverted order, simultaneously Other sequences such as row, intersection execute, moreover, those skilled in the art can also add other on the basis of above-mentioned steps The mode of step, these obvious variants or equivalent replacement should also be included within protection scope of the present invention, and details are not described herein.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is used to execute embodiment of the present invention method realization Step, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please join According to embodiment of the present invention method.
In order to realize that barrage is synchronous with video, the embodiment of the present invention also provides a kind of barrage playing device.Such as Fig. 4 institute Show, which mainly includes:First, which obtains module 41, second, obtains module 42 and the first playing module 43.Wherein, First acquisition module 41 is for obtaining video;Wherein, video includes the first playing duration and the first broadcasting speed.Second obtains mould Block 42 is for obtaining barrage to be played;Wherein, barrage to be played includes the second playing duration;Second playing duration is less than or equal to the One playing duration.First playing module 43 is used for during the broadcasting of video, in target play moment, obtains the first of video Broadcasting speed, and played out using barrage to be played as current barrage and according to the second broadcasting speed;Wherein, second speed is played Degree is determined according to the first broadcasting speed.
Wherein, the first playing duration of the video can be set according to the actual situation, for example, 10 minutes, 30 minutes, 2 hours etc..
Wherein, which can be from local (for example, local storage) acquisition, be also possible to long-range (example Such as, database) obtain.
At the time of target play moment for example can be any operation that user carries out the video watched, such as:Fastly Into at the time of the operation such as operation, fast reverse operation, slow play.
First broadcasting speed of the above-mentioned video can according to actual conditions such as statistical informations to user's viewing experience and Setting, the present invention are not especially limited this.
Above-mentioned second broadcasting speed can be equal with the first broadcasting speed, is also possible to the speed of first broadcasting speed, For example, 2 times, fast 3 times slower than the first broadcasting speed of the second broadcasting speed etc., this is not limited by the present invention.
In an alternative embodiment, which further includes stopping modular.Wherein, stopping modular is for working as When receiving video pause instruction, stop playing current barrage.
In an alternative embodiment, which further includes:Third obtain module, the first determining module, Second determining module and the second playing module.Wherein, third obtains module and is used to obtain view when receiving video fast forward instruction The fast-forward play speed of frequency.First determining module is used to determine the ratio between the fast-forward play speed of video and the first broadcasting speed For First Speed ratio.Second determining module is used to determine the F.F. of current barrage according to First Speed ratio and the second broadcasting speed Broadcasting speed.Second playing module is used for the fast-forward play speed according to current barrage, plays current barrage.
In an alternative embodiment, which further includes:4th obtain module, third determining module, 4th determining module and third playing module.Wherein, the 4th module is obtained for obtaining view when receiving video rewind command The fast reverse play speed of frequency.Third determining module is used to determine the ratio between the fast reverse play speed of video and the second broadcasting speed For second speed ratio.4th determining module is used to determine the rewind of current barrage according to second speed ratio and the second broadcasting speed Broadcasting speed.Third playing module is used for the fast reverse play speed according to current barrage, plays current barrage.
In an alternative embodiment, the second acquisition module is specifically used for:Obtain the barrage that user sends;It obtains current The attribute information of user;Wherein, active user is the user for watching video;According to the attribute information of active user, sent out from user The barrage that active user sends is determined in the barrage sent;The barrage that active user is sent is as barrage to be played.
In an alternative embodiment, the first playing module is specifically used for:During the broadcasting of video, broadcast in target The moment is put, the first broadcasting speed and first for obtaining video play direction;Direction is played according to first, determines barrage to be played Second plays direction;Using barrage to be played as current barrage, and broadcast according to the second broadcasting speed and the second broadcasting direction It puts.
(it includes but is not limited to that working principle, the technology of solution are asked to related explanation in relation to barrage playing device embodiment Topic and the technical effect realized) can be with reference to the respective description in preceding method embodiment, details are not described herein.
In conclusion the embodiment of the present invention is by taking above-mentioned each technical solution, during the broadcasting of video, in mesh Playing time is marked, barrage to be played is broadcast according to the second broadcasting speed determined by the first broadcasting speed of video It puts, to realize, barrage is synchronous with video, and then further improves the experience effect of user.
Fig. 5 is the hardware block diagram that diagram barrage according to an embodiment of the present disclosure plays hardware device.As shown in figure 5, root Playing hardware device 50 according to the barrage of the embodiment of the present disclosure includes memory 51 and processor 52.
The memory 51 is for storing non-transitory computer-readable instruction.Specifically, memory 51 may include one Or multiple computer program products, the computer program product may include various forms of computer readable storage mediums, example Such as volatile memory and/or nonvolatile memory.The volatile memory for example may include random access memory (RAM) and/or cache memory (cache) etc..The nonvolatile memory for example may include read-only memory (ROM), hard disk, flash memory etc..
The processor 52 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution energy The processing unit of the other forms of power, and it is desired to execute to can control other components that barrage plays in hardware device 50 Function.In one embodiment of the present disclosure, which is used to run this that store in the memory 51 computer-readable Instruction, so that barrage broadcasting hardware device 50 executes whole or the portion of the barrage playback method of each embodiment of the disclosure above-mentioned Step by step.
Those skilled in the art will be understood that solve the technical issues of how obtaining good user experience effect, this It also may include structure well known to communication bus, interface etc. in embodiment, these well known structures should also be included in this hair Within bright protection scope.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
The present embodiment realizes barrage when processor 52 executes the non-transitory computer-readable instruction on memory 51 It is synchronous with video, further improve the experience effect of user.
Fig. 6 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.As shown in fig. 6, root According to the computer readable storage medium 60 of the embodiment of the present disclosure, it is stored thereon with non-transitory computer-readable instruction 61.When this When non-transitory computer-readable instruction 61 is run by processor, the barrage playback method of each embodiment of the disclosure above-mentioned is executed All or part of the steps.
Above-mentioned computer readable storage medium 60 includes but is not limited to:Optical storage media (such as:CD-ROM and DVD), magnetic Optical storage media (such as:MO), magnetic storage medium (such as:Tape or mobile hard disk), with built-in rewritable nonvolatile Memory media (such as:Storage card) and with built-in ROM media (such as:ROM box).
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Computer readable storage medium 60 provided in this embodiment is in non-transitory computer-readable instruction 61 by processor It when operation, realizes that barrage is synchronous with video, further improves the experience effect of user.
Fig. 7 is the hardware structural diagram for illustrating the terminal according to the embodiment of the present disclosure.As shown in fig. 7, the barrage plays Terminal 70 includes above-mentioned barrage playing device 71.
The terminal can be implemented in a variety of manners, and the terminal in the disclosure can include but is not limited to such as move electricity Words, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP are (just Take formula multimedia player), the movement of navigation device, vehicle-mounted terminal equipment, vehicle-mounted display terminal, vehicle electronics rearview mirror etc. The fixed terminal equipment of terminal device and such as number TV, desktop computer etc..
As the embodiment of equivalent replacement, which can also include other assemblies.As shown in figure 8, the barrage plays Terminal 80 may include power supply unit 81, wireless communication unit 82, A/V (audio/video) input unit 83, user input unit 84, sensing unit 85, interface unit 86, controller 87, output unit 88 and memory 89 etc..Fig. 8 is shown with various The terminal of component can also alternatively be implemented more or more it should be understood that be not required for implementing all components shown Few component.
Wherein, wireless communication unit 82 allows the radio communication between terminal 80 and wireless communication system or network.A/V Input unit 83 is for receiving audio or video signal.It is defeated that the order that user input unit 84 can be inputted according to user generates key Enter data with the various operations of controlling terminal equipment.Sensing unit 85 detects the current state of terminal 80, the position of terminal 80, use Family is mobile for the acceleration or deceleration of the orientation of the presence or absence of touch input of terminal 80, terminal 80, terminal 80 and direction etc., and And generate order or the signal for the operation for being used for controlling terminal 80.Interface unit 86 is used as at least one external device (ED) and terminal 80 Connection can by interface.Output unit 88 is configured to provide output signal with vision, audio and/or tactile manner.It deposits Reservoir 89 can store the software program etc. of the processing and control operation that are executed by controller 87, or can temporarily store Oneself is through output or the data that will be exported.Memory 89 may include the storage medium of at least one type.Moreover, terminal 80 can To cooperate with the network storage device for the store function for executing memory 89 by network connection.The usual controlling terminal of controller 87 The overall operation of equipment.In addition, controller 87 may include for reproducing or the multi-media module of multimedia playback data.Control The handwriting input executed on the touchscreen or picture can be drawn input and are identified as word by device 87 with execution pattern identifying processing Symbol or image.Power supply unit 81 receives external power or internal power under the control of controller 87 and provides operation each element With electric power appropriate needed for component.
The disclosure propose barrage playback method various embodiments can with use such as computer software, hardware or The computer-readable medium of any combination thereof is implemented.For hardware implement, the disclosure propose barrage playback method it is various Embodiment can be by using application-specific IC (AS I C), digital signal processor (DSP), Digital Signal Processing Device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, Microprocessor is designed to execute at least one of electronic unit of function described herein to implement, in some cases, The various embodiments for the barrage playback method that the disclosure proposes can be implemented in controller 87.For software implementation, this public affairs Open the barrage playback method of proposition various embodiments can with allow to execute the individual soft of at least one functions or operations Part module is implemented.Software code can be by the software application (or program) write with any programming language appropriate Lai real It applies, software code can store in memory 89 and be executed by controller 87.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Barrage playback terminal provided in this embodiment realizes that barrage is synchronous with video, further improves the experience effect of user Fruit.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and be not intended to It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
In addition, as used herein, the "or" instruction separation used in the enumerating of the item started with "at least one" It enumerates, so that enumerating for such as " at least one of A, B or C " means A or B or C or AB or AC or BC or ABC (i.e. A and B And C).In addition, wording " exemplary " does not mean that the example of description is preferred or more preferable than other examples.
It may also be noted that in the system and method for the disclosure, each component or each step are can to decompose and/or again Combination nova.These decompose and/or reconfigure the equivalent scheme that should be regarded as the disclosure.
The technology instructed defined by the appended claims can not departed from and carried out to the various of technology described herein Change, replace and changes.In addition, the scope of the claims of the disclosure is not limited to process described above, machine, manufacture, thing Composition, means, method and the specific aspect of movement of part.Can use carried out to corresponding aspect described herein it is essentially identical Function or realize essentially identical result there is currently or later to be developed processing, machine, manufacture, event group At, means, method or movement.Thus, appended claims include such processing, machine, manufacture, event within its scope Composition, means, method or movement.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this It is open.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein General Principle can be applied to other aspect without departing from the scope of the present disclosure.Therefore, the disclosure is not intended to be limited to Aspect shown in this, but according to principle disclosed herein and the consistent widest range of novel feature.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to the reality of the disclosure It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.

Claims (7)

1. a kind of barrage playback method, which is characterized in that including:
Obtain video;Wherein, the video includes the first playing duration and the first broadcasting speed;
Obtain barrage to be played;Wherein, the barrage to be played includes the second playing duration;Second playing duration be less than etc. In first playing duration;
During the broadcasting of the video, in target play moment, the first broadcasting speed of the video is obtained, and will be described Barrage to be played is played out as current barrage and according to the second broadcasting speed;Wherein, second broadcasting speed is according to institute The first broadcasting speed is stated to determine.
2. the method according to claim 1, wherein the method also includes:
When receiving video pause instruction, stop playing the current barrage;
Alternatively,
When receiving video fast forward instruction, the fast-forward play speed of the video is obtained;
By the ratio between the fast-forward play speed of the video and first broadcasting speed, it is determined as First Speed ratio;
According to the First Speed ratio and second broadcasting speed, the fast-forward play speed of the current barrage is determined;
According to the fast-forward play speed of the current barrage, the current barrage is played;
Alternatively,
When receiving video rewind command, the fast reverse play speed of the video is obtained;
By the ratio between the fast reverse play speed of the video and second broadcasting speed, it is determined as second speed ratio;
According to the second speed ratio and second broadcasting speed, the fast reverse play speed of the current barrage is determined;
According to the fast reverse play speed of the current barrage, the current barrage is played.
3. the method according to claim 1, wherein the step of acquisition barrage to be played, specifically include:
Obtain the barrage that user sends;
Obtain the attribute information of active user;Wherein, the active user is the user for watching the video;
According to the attribute information of the active user, the bullet that the active user sends is determined from the barrage that the user sends Curtain;
The barrage that the active user is sent is as barrage to be played.
4. being broadcast in target the method according to claim 1, wherein described during the broadcasting of the video The moment is put, obtains the first broadcasting speed of the video, and broadcast using the barrage to be played as current barrage and according to second The step of speed plays out is put, is specifically included:
During the broadcasting of the video, in target play moment, first broadcasting speed and of the video is obtained One plays direction;
Direction is played according to described first, determines that the second of the barrage to be played plays direction;
Using the barrage to be played as current barrage, and direction is played according to second broadcasting speed and described second and is carried out It plays.
5. a kind of barrage playing device, which is characterized in that including:
First obtains module, for obtaining video;Wherein, the video includes the first playing duration and the first broadcasting speed;
Second obtains module, for obtaining barrage to be played;Wherein, the barrage to be played includes the second playing duration;It is described Second playing duration is less than or equal to first playing duration;
First playing module, in target play moment, obtaining the first of the video during broadcasting of the video Broadcasting speed, and played out using the barrage to be played as current barrage and according to the second broadcasting speed;Wherein, described Two broadcasting speeds are determined according to first broadcasting speed.
6. a kind of barrage plays hardware device, including:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that being realized when the processor executes as in claim 1-4 Barrage playback method described in any one.
7. a kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory meter When calculation machine readable instruction is executed by computer, so that the computer executes the bullet as described in any one of claim 1-4 Curtain playback method.
CN201810708599.2A 2018-05-15 2018-07-02 Barrage playback method, device and computer readable storage medium Pending CN108900885A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018104638537 2018-05-15
CN201810463853 2018-05-15

Publications (1)

Publication Number Publication Date
CN108900885A true CN108900885A (en) 2018-11-27

Family

ID=64347428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810708599.2A Pending CN108900885A (en) 2018-05-15 2018-07-02 Barrage playback method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108900885A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781343A (en) * 2019-10-25 2020-02-11 广州酷狗计算机科技有限公司 Method, device and equipment for displaying comment information of music and storage medium
CN112040295A (en) * 2020-08-28 2020-12-04 苏州日煊数字科技有限公司 Video bullet screen loading system based on cloud computing and working method thereof
CN114697721A (en) * 2022-03-30 2022-07-01 阿里巴巴(中国)有限公司 Bullet screen display method and electronic equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632069A (en) * 2007-02-26 2010-01-20 思科技术公司 Be used to present the method and system of the information relevant with recorded content
CN102469309A (en) * 2010-11-16 2012-05-23 扬智科技股份有限公司 Image processing method
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN104777912A (en) * 2015-04-29 2015-07-15 北京奇艺世纪科技有限公司 Method and device for displaying pop screen
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105142031A (en) * 2015-08-17 2015-12-09 北京奇虎科技有限公司 Method and device for displaying character information in barrage during video play
CN105723724A (en) * 2013-11-19 2016-06-29 索尼互动娱乐公司 Information processing device
CN105763949A (en) * 2014-12-18 2016-07-13 乐视移动智能信息技术(北京)有限公司 Audio video file playing method and device
CN105828164A (en) * 2016-04-28 2016-08-03 武汉斗鱼网络科技有限公司 Method and system for avoiding overlapped display of bullet screen
CN105898600A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Processing method of bullet screen data and terminal equipment
CN106412622A (en) * 2016-11-14 2017-02-15 百度在线网络技术(北京)有限公司 Method and apparatus for displaying barrage information during video content playing process
CN106792087A (en) * 2016-12-14 2017-05-31 上海青声网络科技有限公司 The method and device that a kind of barrage shows
JP2017112442A (en) * 2015-12-15 2017-06-22 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
CN106982377A (en) * 2017-03-29 2017-07-25 武汉斗鱼网络科技有限公司 barrage management method and device
CN107147949A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 The playing progress rate control method and system of a kind of direct broadcast time-shift

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101632069A (en) * 2007-02-26 2010-01-20 思科技术公司 Be used to present the method and system of the information relevant with recorded content
CN102469309A (en) * 2010-11-16 2012-05-23 扬智科技股份有限公司 Image processing method
CN103533442A (en) * 2013-09-27 2014-01-22 北京奇虎科技有限公司 Method and device for loading video popped screen
CN105723724A (en) * 2013-11-19 2016-06-29 索尼互动娱乐公司 Information processing device
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105763949A (en) * 2014-12-18 2016-07-13 乐视移动智能信息技术(北京)有限公司 Audio video file playing method and device
CN104777912A (en) * 2015-04-29 2015-07-15 北京奇艺世纪科技有限公司 Method and device for displaying pop screen
CN105142031A (en) * 2015-08-17 2015-12-09 北京奇虎科技有限公司 Method and device for displaying character information in barrage during video play
CN105898600A (en) * 2015-12-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Processing method of bullet screen data and terminal equipment
JP2017112442A (en) * 2015-12-15 2017-06-22 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
CN105828164A (en) * 2016-04-28 2016-08-03 武汉斗鱼网络科技有限公司 Method and system for avoiding overlapped display of bullet screen
CN106412622A (en) * 2016-11-14 2017-02-15 百度在线网络技术(北京)有限公司 Method and apparatus for displaying barrage information during video content playing process
CN106792087A (en) * 2016-12-14 2017-05-31 上海青声网络科技有限公司 The method and device that a kind of barrage shows
CN106982377A (en) * 2017-03-29 2017-07-25 武汉斗鱼网络科技有限公司 barrage management method and device
CN107147949A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 The playing progress rate control method and system of a kind of direct broadcast time-shift

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UNASH: "《一个iOS上的开源弹幕渲染库》", 《GITHUB》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN112040295A (en) * 2020-08-28 2020-12-04 苏州日煊数字科技有限公司 Video bullet screen loading system based on cloud computing and working method thereof
CN114697721A (en) * 2022-03-30 2022-07-01 阿里巴巴(中国)有限公司 Bullet screen display method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108696767A (en) Barrage playback method, device, computer readable storage medium and terminal
CN108900885A (en) Barrage playback method, device and computer readable storage medium
CN104156408A (en) Contact information provision method, system and device
US20180292956A1 (en) Methods, systems, and media for creating and updating a group of media content items
CN106201430A (en) A kind of method of volume adjusting and electronic equipment
CN105635519B (en) Method for processing video frequency, apparatus and system
US11329942B2 (en) Methods, systems, and media for presenting messages related to notifications
CN110362225B (en) Touch screen sampling frequency control method and device, medium and electronic equipment
US20230132567A1 (en) Video playback control method and apparatus, electronic device and storage medium
CN108696766B (en) Barrage display method and device and computer readable storage medium
CN109032446B (en) Method, device, equipment and storage medium for generating node relation of thinking guide graph
CN104184904A (en) Mobile phone screen recording method allowing user to define recording region
CN106027942A (en) Frame rate control method and device
CN112367561B (en) Barrage display method and device, electronic equipment and storage medium
WO2017113851A1 (en) Client playback data distribution method and client
CN109275012A (en) A kind of live streaming barrage display methods and device
EP3473010A1 (en) Methods, systems, and media for facilitating interaction between viewers of a stream of content
US20190306262A1 (en) Information push method and apparatus, information sending method and apparatus, system, and storage medium
CN111752426A (en) Chat thread display method, recording medium, and computer device
US9699291B2 (en) Phonepad
CN107784090B (en) File sharing method and device and computer readable medium
CN108763391A (en) Questionnaire page surface treatment method and apparatus
CN108769771B (en) Barrage display method and device and computer readable storage medium
CN106060634A (en) Method and device for displaying rolling subtitles
CN105679213A (en) Split-screen displaying and playing method of display screen and player

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication