Summary of the invention
The invention provides a kind of barrage player method, barrage device and barrage system, it is intended to solve existing skillBarrage in art is limited only to word and expression barrage, presentation mode Single-issue.
The invention provides a kind of barrage player method, including:
Detection user selects the operation of barrage type, and described barrage type includes at least two barrage type;
The target barrage type selected from described at least two barrage type according to user, to background serverSend the request message of the barrage data of described target barrage type;
Receive the barrage data of the described target barrage type that described background server sends, play described barrageData.
Further, the described target barrage type selected from described at least two barrage type according to user,Request message to the barrage data of the background server described target barrage type of transmission includes:
If the target barrage type that user selects is word barrage, then send word bullet to described background serverThe request message of curtain data;
If the target barrage type that user selects is voice barrage, then send voice bullet to described background serverThe solicited message of curtain data.
Further, the barrage data of the described target barrage type that the described background server of described reception sends,After playing described barrage data, also include:
Detection user regulates the operation of volume;
If detecting, described user regulates the volume that operation is regulation voice barrage of volume, then according to user'sOperation, the volume of regulation voice barrage;
If detecting, described user regulates the volume that operation is regulation video of volume, then according to the operation of userRegulation video volume.
Further, before described detection user selects the operation of barrage type, also include:
After the operation that described user carries out played in full screen being detected, output selects interface, and described selection interface is wrappedInclude the option for providing described at least two barrage type.
Further, before described detection user selects the operation of barrage type, also include:
Detecting that described user clicks on the operation at video playback interface, output selects interface, described selection interfaceIncluding the option for providing described at least two barrage type.
Present invention also offers a kind of barrage playing device, including:
Operation detector unit, for detect user select the operation of barrage type, described barrage type include toFew two kinds of barrage types;
Request transmitting unit, for the target barrage selected from described at least two barrage type according to userType, sends the request message of the barrage data of described target barrage type to server;
Barrage broadcast unit, for receiving the barrage data of the described target barrage type that described server sends,Play described barrage data.
Further, described request transmitting unit includes:
Word request module, if for unit for user select target barrage type be word barrage, thenThe request message of word barrage data is sent to described background server;
Voice request module, if the target barrage type for user's selection is voice barrage, then after describedStation server sends the solicited message of voice barrage data.
Further, described barrage playing device also includes:
Volume detecting unit, regulates the operation of volume for detecting user;
Sound volume regulation unit, if being regulation voice barrage for detecting that described user regulates the operation of volumeVolume, then according to the operation of user, the volume of regulation voice barrage;If detecting, described user regulates volumeOperation be regulation video volume, then regulate video volume according to the operation of user.
Further, described barrage playing device also includes:
Playing detector unit, after the operation that described user carries out played in full screen being detected, output selects boundaryFace, described selection interface includes the option for providing described at least two barrage type.
Further, described barrage playing device also includes:
Click detection unit, for detecting that described user clicks on the operation at video playback interface, output selectsInterface, described selection interface includes the option for providing described at least two barrage type.
Present invention also offers a kind of barrage Play System, including barrage playing device described above and backstageServer.
Knowable to the invention described above embodiment, the present invention selects the operation of barrage type to carry out by detection userBarrage is play, and barrage type not only includes one or more in word barrage or expression barrage, it is also possible toIncluding voice barrage, it is provided that diversified barrage form.
Further, user is when selecting voice barrage, and corresponding word barrage is first changed by background serverPlaying out to mobile terminal for transmitting after voice barrage, user can obtain barrage by the way of listening toInformation, both ensure that the visual effect of video, had improve again the viewing experience of video.Meanwhile, playingCheng Zhong, user can regulate volume or the volume of video playback of voice barrage according to hobby,Reach more preferable audibility.
Detailed description of the invention
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will knotClose the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely retouchedState, it is clear that described embodiment is only a part of embodiment of the present invention, and not all embodiments.BaseEmbodiment in the present invention, those skilled in the art are obtained under not making creative work premiseEvery other embodiment, broadly falls into the scope of protection of the invention.
Fig. 1 shows the first embodiment that the present invention provides, a kind of barrage player method, including:
S1, detection user selects the operation of barrage type, and described barrage type includes at least two barrage type;
S2, the target barrage type selected from described at least two barrage type according to user, take to backstageBusiness device sends the request message of the barrage data of described target barrage type;
S3, receives the barrage data of the described target barrage type that described background server sends, and plays describedBarrage data.
Specifically, video playback applying detection user selects the operation of barrage type, background server according toFamily selects the barrage data corresponding to operational feedback of barrage type, and the most in actual applications, user selects to broadcastPut word barrage, then, after background server receives the selection of described user, the selection according to user is fed backWord barrage data are applied to video playback, and video playback application directly will present word bullet on broadcast interfaceCurtain;If user selects to play voice barrage, background server will directly read the voice that other users uploadBarrage data also feed back to video playback application, and video playback application will play language barrage in broadcast interface,It is as described above that the barrage of other combinations plays form, does not repeats at this.The barrage type selected for userCan be including, but not limited to one or more in word barrage, voice barrage and expression barrage, Yong HukeWith the hobby according to oneself, barrage type is configured, and arranging barrage type can be to select simultaneouslyWord barrage and expression barrage, it is also possible to be word barrage and voice barrage, it is possible to be word barrage, voiceBarrage adds the combination of expression barrage, and barrage is play combination user and can not limited with independent assortment.This enforcementVoice barrage in example is the voice barrage that other users upload.
Usually, when user uses computer end watching video, can select watch barrage and close barrage, andComputer client because broadcast interface bigger, so user do not carry out full screen video broadcasting time can be easilyUnrestricted choice is play or closes barrage.Mobile terminal is because the limitation of its size, and user is mobile in useDuring client watching video, if not providing the option of user's barrage type under full frame state, then will impactThe convenience of user operation and convenience, therefore, Fig. 2 shows the second embodiment that the present invention provides,Before described detection user selects the operation of barrage type, also include:
S01, after the operation that described user carries out played in full screen being detected, output selects interface, described selectionInterface includes the option for providing described at least two barrage type.
First determine that user exports after carrying out played in full screen again and select interface, it is possible to supply under maximum display effectUser operates.In a second embodiment, it is defaulted as user and selects to export during played in full screen to select interface,User can select barrage type to be play on described selection interface.Described selection interface can includeNo selection is play barrage, is selected the regulation of barrage type, volume adjusting, brightness regulation, sound channel, audio frequency to adjustThe options such as joint, do not limit.User operates on described selection interface, according to the operation of userRealize different results of broadcast.Be defaulted as after user selects played in full screen exporting described selection interface be in order toUser is facilitated to select, the most in actual applications, it is contemplated that mobile terminal size and video playback interfaceSize, it is also possible to be arranged to output in the case of other and select interface, do not limit.
Make use-case that the second embodiment to be illustrated further below by one:
User's watching video or broadcasting video, after the operation that user carries out played in full screen being detected, playInterface output one selection interface, whether described selection interface prompt user opens barrage function.Use detectedAfter family selects to open barrage function, described selection interface is continued prompting user and is selected barrage type, then in inspectionAfter measuring the operation that user selects barrage type, described selection interface disappears, and commences play out video and user instituteThe barrage type selected.
Further, in the playing process of video, user is facilitated to close under played in full screen state or beatOpening barrage function, Fig. 3 shows the 3rd embodiment that the embodiment of the present invention provides, in described detection user's choosingBefore selecting the operation of barrage type, also include:
S02, detects that described user clicks on the operation at video playback interface, and output selects interface, described selectionInterface includes the option for providing described at least two barrage type.
When detecting that user clicks on video playback interface, output selects interface, it is possible to facilitate user according to needClosing or open barrage function, or carry out the selection of barrage type, described selection interface can includeWhether to select to play barrage, select the regulation of barrage type, volume adjusting, brightness regulation, sound channel, audio frequencyThe options such as regulation, then carry out different function switchings according to the operation that selects of user, as beaten opening/closing barrage,Barrage type switching etc..Detect described in the present embodiment that described user clicks on the operation at video playback interfaceDuring concrete implementation, can be user click to be detected or double-click video playback interface, it is also possible toIt is arranged to user in video playback Interface Moving mouse (in the case of computer client terminal playing), broadcasts at videoPut when Surface active component (in the case of mobile terminal playing), export described selection interface, do not doConcrete restriction.
Fig. 4 shows the 4th embodiment that the present invention provides, described according to user from described at least two barrage classThe target barrage type selected in type, sends the barrage data of described target barrage type to background serverRequest message includes:
S21, if the target barrage type that user selects is word barrage, then sends literary composition to described background serverThe request message of word barrage data;
S22, if the target barrage type that user selects is voice barrage, then sends language to described background serverThe solicited message of sound barrage data.
Word barrage Content Transformation can be voice barrage according to personal like by user, and video playback is appliedAfter detecting that the target barrage type that user selects is word barrage, word barrage will be sent to background serverThe solicited message of data, background server will directly feed back word barrage data;Detecting what user selectedAfter target barrage type is voice barrage, the solicited message of voice barrage data will be sent to background server,Background server will directly feed back, according to the solicited message of user, the voice barrage data that other users upload, orWord barrage is extremely converted into the solicited message of voice barrage, the word other users uploaded by person according to userAfter barrage is converted to voice barrage, the voice barrage data that feedback generates.It is direct in embodiment one for being different fromPlay the voice barrage that other users upload, in the present embodiment, detect that user selects the behaviour of barrage typeAs playing voice barrage, it is that the word barrage other users uploaded is converted to voice barrage, and plays instituteState the voice barrage that word barrage is converted into.The process that specifically realizes may is that and detecting that user selects bulletThe operation of curtain-like type is for playing voice barrage, then output one prompting interface, described prompting interface is in order to point out useWhether family selects word barrage is converted into voice barrage, if user confirms word barrage is converted into voice bulletCurtain, by transmission solicited message to background server, then accepts the voice barrage data of background server feedbackAnd play.More specifically, different types of voice barrage can be generated according to described word barrage, including doingLaugh at, seriously, the voice barrage of the various ways such as punish and enchant, do not limit.For ensureing that user is at video observingIntegrity during seeing, the present embodiment acquiescence be all of word barrage is converted to voice barrage after broadcastPut, be so to ensure that user's direct viewing video, listen to voice barrage simultaneously, but, should in realityIn with, it is also possible to be arranged to user and a certain sentence word barrage be converted into after voice barrage and broadcast, non-immediate entirelyPortion changes, and does not repeats.
Further, in order to meet user's regulation to volume in video playback, Fig. 5 also show this5th embodiment of bright offer, the bullet of the described target barrage type that the described background server of described reception sendsCurtain data, after playing described barrage data, also include:
S4, detection user regulates the operation of volume;
S5, if detect described user regulate volume operation for regulation voice barrage volume, then according toThe operation at family, the volume of regulation voice barrage;
S6, if detecting, described user regulates the volume that operation is regulation video of volume, then according to user'sOperation regulation video volume.
In the present embodiment, detection user regulates the operation of volume, regulates the operation of volume according to described userThe volume of regulation voice barrage or video volume.In video display process, user can select oneselfVoice interested zooms in or out, and as during watching video, user feels in a certain bridge sectionVoice barrage after conversion is more interesting, the volume of voice barrage can be tuned up, listen to the language of this bridge sectionSound barrage, or in a certain bridge section, the voice barrage after conversion is turned down, to ensure the visibility of video.In this example, user can arrange different volume according to different viewing demands so that video is with voice barrageVolume in playing process, present different stereovision, promote viewing experience.
In the above-mentioned barrage player method that the embodiment of the present invention provides, play corresponding according to the operation of userBarrage type, meets the viewing demand of user, simultaneously can be according to the conversion requirements of user, by word barragePlay after being converted to voice barrage.Voice barrage in the present embodiment is different from the language that other users directly uploadSound barrage, the present embodiment is word barrage is changed after generate voice barrage, word barrage conversionWhen, different sound effects can be set according to personal like, and regulate volume, reach with thisDifferent viewing effects.
Fig. 6 shows a kind of barrage playing device that the embodiment of the present invention provides, including:
Operation detector unit 1, selects the operation of barrage type, described barrage type to include for detecting userAt least two barrage type;
Request transmitting unit 2, for the target bullet selected from described at least two barrage type according to userCurtain-like type, sends the request message of the barrage data of described target barrage type to server;
Barrage broadcast unit 3, for receiving the barrage data of the described target barrage type that described server sends,Play described barrage data.
Specifically, operation detector unit 1 detects user and selects the operation of barrage type, background server according toFamily selects the barrage data corresponding to operational feedback of barrage type.The barrage type selected for user can includeBut being not limited to one or more in word barrage, voice barrage and expression barrage, user can be according to certainlyBarrage type is configured by oneself hobby, and arranging barrage type can be to select word barrage simultaneouslyWith expression barrage, it is also possible to be word barrage and voice barrage, it is possible to be that word barrage, voice barrage add tableThe combination of feelings barrage, barrage is play combination user and can not limited with independent assortment.Operation detector unit 1Detection user selects the operation of barrage type can divide a variety of situation, during as used computer end to play video,Detect that user clicks on the operation of barrage option in broadcast interface, and select corresponding barrage type, and in profitWhen carrying out video playback with mobile terminal, could be arranged to detect that user's finger touches the choosing of broadcast interface barrageThe operation of item, and select corresponding barrage type, according to different broadcasting forms, different detection modes is set,Being not particularly limited in the present embodiment, the voice barrage simultaneously mentioned in the present embodiment is on other usersThe voice barrage passed.
Usually, when user uses computer end watching video, can select watch barrage and close barrage, andComputer client because broadcast interface bigger, so user do not carry out full screen video broadcasting time can be easilyUnrestricted choice is play or closes barrage.Mobile terminal is because the limitation of its size, and user is mobile in useDuring client watching video, if not providing the option of user's barrage type under full frame state, then will impactThe convenience of user operation and convenience, therefore, Fig. 7 shows the 7th embodiment that the present invention provides, instituteState barrage playing device also to include:
Playing detector unit 4, after the operation that described user carries out played in full screen being detected, output selectsInterface, described selection interface includes the option for providing described at least two barrage type.
In the 7th embodiment, first determine that user carries out after played in full screen output again and selects interface, it is possible toOperate for user under big display effect, play detector unit 3 and be defaulted as when user selects played in full screen defeatedGoing out and select interface, user can select barrage type to be play on described selection interface.Described selection circleFace may include whether to select to play barrage, select barrage type, volume adjusting, brightness regulation, sound channelThe options such as regulation, audio frequency regulation, do not limit.User operates on described selection interface, rootDifferent results of broadcast is realized according to the operation of user.The present embodiment is defaulted as using mobile terminal playing videoTime, detect user to select during the operation of played in full screen and export described selection interface, it is also possible to should according to realityWith adjusting, do not limit.
Make use-case that the 7th embodiment to be illustrated further below by one:
User's watching video or broadcasting video, play detector unit 3 and detect that user carries out the behaviour of played in full screenMaking, output one selection interface, whether described selection interface prompt user opens barrage function.Play detection singleUnit 3 is after detecting that user selects to open barrage function, and described selection interface is continued prompting user and selected barrage classType, then after the operation that user selects barrage type being detected, described selection interface disappears, and commences play outVideo and barrage.
Further, in the playing process of video, user is facilitated to close under played in full screen state or beatOpening barrage function, Fig. 8 shows the 8th embodiment that the embodiment of the present invention provides, described barrage playing deviceAlso include:
Click detection unit 5, for detecting that described user clicks on the operation at video playback interface, output choosingSelecting interface, described selection interface includes the option for providing described at least two barrage type.
In the present embodiment, click detection unit 5 is when detecting that user clicks on video playback interface, and output is selectedSelect interface, it is possible to facilitate user to close as required or open barrage function, or carrying out barrage typeSelect, described selection interface may include whether to select to play barrage, select barrage type, volume adjusting,The options such as the regulation of brightness regulation, sound channel, audio frequency regulation.Then carry out different according to the selection operation of userFunction switches, as beaten opening/closing barrage, and barrage type switching etc..Click detection unit 5 in the present embodimentCan be user click to be detected or double-click video playback interface, it is also possible to be arranged to user and broadcast at videoPut Interface Moving mouse (in the case of computer client terminal playing), at video playback Surface active component (mobile terminalIn the case of broadcasting) when, export described selection interface, be not particularly limited herein.
Fig. 9 shows the 9th embodiment that the present invention provides, and request transmitting unit 2 includes:
Word request module 21, if for unit for user select target barrage type be word barrage,The request message of word barrage data is then sent to described background server;
Voice request module 22, if the target barrage type for user's selection is voice barrage, then to describedBackground server sends the solicited message of voice barrage data.
User can select word barrage Content Transformation to be voice barrage according to personal like, use detectedAfter the target barrage type that family selects is word barrage, word request module 21 will send literary composition to background serverThe solicited message of word barrage data, background server will directly feed back word barrage data to barrage broadcast unit3;Voice request module 22, will backward after detecting that the target barrage type that user selects is voice barrageStation server sends the solicited message of voice barrage data, and background server is by straight for the solicited message according to userConnect and feed back the voice barrage data that other users upload, or to according to user, word barrage being converted into voiceThe solicited message of barrage, after the word barrage other users uploaded is converted to voice barrage, feedback generatesVoice barrage data are to barrage broadcast unit 3.Be different from is directly to play other users in embodiment one to uploadVoice barrage, in the present embodiment, detect user select the operation of barrage type for playing voice barrage,It is that the word barrage other users uploaded is converted to voice barrage, and plays what described word barrage was converted intoVoice barrage.The process that specifically realizes may is that and detecting that user selects the operation of barrage type for playingVoice barrage, then output one prompting interface, described prompting interface is in order to prompt the user whether that selection is by word bulletCurtain is converted into voice barrage, if user confirms word barrage is converted into voice barrage, will send solicited messageTo background server, then accept the voice barrage data of background server feedback and play.More specifically,Different types of voice barrage can be generated according to described word barrage, including making laughs, seriously, punish and enchant etc. manyThe voice barrage of the form of kind, does not limits.For ensureing user's integrity during video-see,The present embodiment acquiescence is that all of word barrage is converted to broadcasting after voice barrage, is so to ensure thatUser's direct viewing video, listens to voice barrage simultaneously, but, in actual applications, it is also possible to be arranged toUser broadcasts after a certain sentence word barrage is converted into voice barrage, and non-immediate whole conversions, it is not in this realityExecute example discuss in the range of, do not repeat.
Further, in order to meet user's regulation to volume in video playback, Figure 10 also show thisTenth embodiment of bright offer, described barrage playing device also includes:
Volume detecting unit 6, regulates the operation of volume for detecting user;
Sound volume regulation unit 7, if being regulation voice barrage for detecting that described user regulates the operation of volumeVolume, then according to the operation of user, regulation voice barrage volume;If detecting, described user regulates soundThe volume that operation is regulation video of amount, then regulate video volume according to the operation of user.
In the present embodiment, volume detecting unit 6 detects user and regulates the operation of volume, sound volume regulation unit 7Volume or the video volume of the operation regulation voice barrage of volume is regulated according to described user.In video playbackDuring, user can select the voice interested of oneself to zoom in or out, as at watching videoDuring, in a certain bridge section, user thinks that the voice barrage after conversion is more interesting, can be by voice barrageVolume tune up, listen to the voice barrage of this bridge section, or in a certain bridge section, the voice barrage after conversion adjustedLittle, to ensure the visibility of video.In this example, user can be arranged not according to different viewing demandsSame volume so that video presents different stereovision with the volume of voice barrage in playing process, deduction is seenSee embodiment.
In the above-mentioned barrage playing device that the embodiment of the present invention provides, play corresponding according to the operation of userBarrage type, meets the viewing demand of user, simultaneously can be according to the conversion requirements of user, by word barragePlay after being converted to voice barrage.Voice barrage in the present embodiment is different from the language that other users directly uploadSound barrage, the present embodiment is word barrage is changed after generate voice barrage, word barrage conversionThe when of becoming voice barrage, different sound effects can be set according to personal like, and regulate volume,Different viewing effects is reached with this.
The present invention also provides for giving a kind of barrage Play System, including barrage playing device described above and afterStation server;
Described background server, for the solicited message according to described barrage playing device, reads corresponding bulletCurtain data, or by barrage data feedback to described barrage playing device after changing accordingly.
In the present embodiment, barrage playing device detection user selects the operation of barrage type, then according to instituteStating user selects the operation of barrage type to send read operation request to background server, and background server is by rootJudging according to described read operation, if judging, described read operation is reading characters barrage, then by word bulletCurtain transmission plays out to described barrage playing device;If judging, described read operation is voice barrage, then firstAnalyzing the request of this voice barrage is directly to play the voice barrage that other users upload, or is turned by word barrageChange voice barrage, the most directly feedback voice barrage data into, or word barrage is identified and changesFor voice barrage, then the transmission of described voice barrage data is played out to described barrage playing device.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, canTo realize by another way.Such as, device embodiment described above is only schematically, exampleSuch as, the division of described module, being only a kind of logic function and divide, actual can have other drawing when realizingPoint mode, the most multiple modules or assembly can in conjunction with or be desirably integrated into another system, or some are specialLevy and can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-couplingOr communication connection can be the INDIRECT COUPLING by some interfaces, device or module or communication connection, Ke YishiElectrically, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, asThe parts that module shows can be or may not be physical module, i.e. may be located at a place, orCan also be distributed on multiple mixed-media network modules mixed-media.Can select therein some or all of according to the actual needsModule realizes the purpose of the present embodiment scheme.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing module,Can also be that modules is individually physically present, it is also possible to two or more modules are integrated in a moduleIn.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software function moduleForm realizes.
If described integrated module realizes using the form of software function module and as independent production marketing orDuring use, can be stored in a computer read/write memory medium.Based on such understanding, the present inventionThe part that the most in other words prior art contributed of technical scheme or this technical scheme whole orPart can embody with the form of software product, and this computer software product is stored in a storage mediumIn, including some instructions with so that computer equipment (can be personal computer, server, orPerson's network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforesaidStorage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various permissibleThe medium of storage program code.
It should be noted that for aforesaid each method embodiment, in order to simplicity describes, therefore it is all statedFor a series of combination of actions, but those skilled in the art should know, the present invention is not by describedThe restriction of sequence of movement, because according to the present invention, some step can use other order or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to be preferable to carry outExample, involved action and module might not be all necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detailThe part stated, may refer to the associated description of other embodiments.
It is more than to barrage player method provided by the present invention, barrage playing device and barrage Play SystemDescribe, for those skilled in the art, according to the thought of the embodiment of the present invention, in detailed description of the invention andAll will change in range of application, to sum up, this specification content should not be construed as limitation of the present invention.